From amoran at apple.com Tue Jul 1 02:39:37 2008 From: amoran at apple.com (Andy Moran) Date: Mon, 30 Jun 2008 17:39:37 -0700 Subject: check_disk question Message-ID: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> My check_disk seems to be returning negative values for monitoring a netapp filer from a Leopard machine: [amoran_local at nenc035] ~$ /opt/local/libexec/nagios/check_disk --version check_disk v1793 (nagios-plugins 1.4.10) [amoran_local at nenc035] ~$ df -h /opt/itms_f40v6 Filesystem Size Used Avail Capacity Mounted on nwk-its-filer40:/vol/vol6 11Ti 9.9Ti 906Gi 92% /opt/itms_f40v6 [amoran_local at nenc035] ~$ df -k /opt/itms_f40v6 Filesystem 1024-blocks Used Available Capacity Mounted on nwk-its-filer40:/vol/vol6 11597043876 10646964152 950079724 92% / opt/itms_f40v6 [amoran_local at nenc035] ~$ /opt/local/libexec/nagios/check_disk -w 20% - c 10% /opt/itms_f40v6 DISK OK - free space: /opt/itms_f40v6 927812 MB (-1072952184025% inode=99%);| /opt/itms_f40v6=-2147483648MB;671582;755530;0;839478 If there some obvious flag I'm missing? I haven't tried updating my plugins to the latest, but I suppose that is in order. --Andy -------------- 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://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christopher.kucera at nsighttel.com Tue Jul 1 03:45:52 2008 From: christopher.kucera at nsighttel.com (CJ Kucera) Date: Mon, 30 Jun 2008 20:45:52 -0500 Subject: Different notification periods for different events? In-Reply-To: <48692942.7070305@vanderkooij.org> References: <20080630164857.GD18029@cj.nbill.cellcom.com> <48692942.7070305@vanderkooij.org> Message-ID: <20080701014552.GI18029@cj.nbill.cellcom.com> Hugo van der Kooij wrote: > How about using 2 contacts? One for the warnings in the daytime and 1 > for critical events on 24x7? > > If the number of your contacts are significant less then your servers > this is the lesser of two jobs. Yeah, that does sound much easier to manage. I suppose we'll probably just do it that way from now on. Ideally I'd like some kind of extended syntax to Just Do It, though I'm not sure what that would look like in the config file. Thanks for the idea, though, I think that'll work out all right for now. -CJ ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 04:13:41 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 30 Jun 2008 22:13:41 -0400 Subject: check_disk question In-Reply-To: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> References: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> Message-ID: <486992D5.5020702@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/06/08 08:39 PM, Andy Moran wrote: > > My check_disk seems to be returning negative values for monitoring a > netapp filer from a Leopard machine: This should be fixed in nagios-plugins v1.4.12 Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIaZLV6dZ+Kt5BchYRAkrMAJ93agZLSC2bt49EgnwtiFLtdfu3mQCgtEW1 ejTr1WwkLVv03SbWBeFap5U= =uqKw -----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://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 1 06:20:14 2008 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 01 Jul 2008 06:20:14 +0200 Subject: PNP Nagios php-gd error In-Reply-To: <2dfcbd1b0806301457h41ab7f2asef274410863963fa@mail.gmail.com> References: <19531.84294.qm@web62411.mail.re1.yahoo.com> <2dfcbd1b0806301457h41ab7f2asef274410863963fa@mail.gmail.com> Message-ID: <4869B07E.6050003@ederdrom.de> Marcel schrieb: > Yeah, man, i'm in a situation like yours... Trying to test pnp, > nagiosgrapher, and so on... > > PNP seems to me to be the most scalable solution, as it implements batch > mode updates... But I'm still trying to tweak configurations and stuff... > > The major problem to me is that the documentation I've found googleing, > is all in german... :) > > i've translated with translate.google.com > but it's still confusing to me... > > At least, my host graph is plotting correctly, but the hostname is > showing _HOST_, instead of localhost as I would expect... > > Well, I'm still trying to understand the templates and such... Nope, dokumentation is available in english http://www.pnp4nagios.org/pnp/start Regards Joerg ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Tue Jul 1 07:42:31 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Tue, 1 Jul 2008 11:12:31 +0530 Subject: Fwd: CHECK_NRPE: Socket timeout after 10 seconds. In-Reply-To: <20080630151503.762ed5b0@tclmmw.in.tiger-computing.com> References: <25251aec0806100716m5d7be886oa302b6fc9952ad19@mail.gmail.com> <25251aec0806300606y66cae831tff10b97ab1146258@mail.gmail.com> <20080630151503.762ed5b0@tclmmw.in.tiger-computing.com> Message-ID: <25251aec0806302242i452b5c70o42bacfc273a5e07b@mail.gmail.com> Sure, The problem was SSL handshake. what I did, on the remote solaris machine I recompiled nrpe without the ssl support (./configure --help will tell you how to do that). Once this is done, I executed the following command from the nagios server /home/nagios/nagios/libexec/check_nrpe -H 10.192.2.60 -c check_users -n USERS OK - 2 users currently logged in |users=2;5;10;0 So, If the remote system was built and configured without ssl, you can define a separate entry in commands.cfg on the nagios server as in the following example: define command{ command_name check_nrpe_no_ssl command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ -n } (note the -n qualifier in the command_line) modify your service check (in services.cfg) to use check_nrpe_no_ssl and restart the nagios server ex: check_nrpe_no_ssl!check_users!-n Hope this helps Regards -Shankar On Mon, Jun 30, 2008 at 7:45 PM, Matthew Macdonald-Wallace < lists at truthisfreedom.org.uk> wrote: > On Mon, 30 Jun 2008 18:36:52 +0530 > asam30 at gmail.com wrote: > > > I was able to fix this myself. > > Can you tell us how so that people who have a similar problem in future > know what to do? > > Thanks, > > Matt > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Shankar Asam -------------- 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://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 07:51:04 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Tue, 01 Jul 2008 07:51:04 +0200 Subject: PNP Nagios php-gd error In-Reply-To: <4869B07E.6050003@ederdrom.de> References: <19531.84294.qm@web62411.mail.re1.yahoo.com> <2dfcbd1b0806301457h41ab7f2asef274410863963fa@mail.gmail.com> <4869B07E.6050003@ederdrom.de> Message-ID: <4869C5C8.5000704@process-zero.de> Joerg Linge schrieb: > Nope, dokumentation is available in english > > http://www.pnp4nagios.org/pnp/start > > Regards > Joerg > And guess what - they have their own mailinglists specially for PNP. I would guess they read them more frequently than the nagios-users ;) http://sourceforge.net/mail/?group_id=191615 Regards, Hendrik ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marty at supine.com Tue Jul 1 09:34:10 2008 From: marty at supine.com (Martin Barry) Date: Tue, 1 Jul 2008 09:34:10 +0200 Subject: Different notification periods for different events? In-Reply-To: <20080630164857.GD18029@cj.nbill.cellcom.com> References: <20080630164857.GD18029@cj.nbill.cellcom.com> Message-ID: <20080701073410.GC2720@sprocket.mamista.net> $quoted_author = "CJ Kucera" ; > > Is there a way to configure a service so that notifications for (for > instance) WARNINGs are sent out for one time period, but notifications > for CRITICAL events are sent out for a different time period? Use a custom notification script. We needed something similar so I hacked up a perl script that does different things based on the state and notification number: - WARNINGS = SMS once, email exponentially - CRITICALS = SMS exponentially, email constantly - HOST DOWN = SMS and email constantly cheers Marty ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Tue Jul 1 09:46:10 2008 From: niall at makalumedia.com (Niall O Broin) Date: Tue, 1 Jul 2008 08:46:10 +0100 Subject: Sidebar disappearing in Firefox Message-ID: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> I'm running 3.0 on Debian Etch via backports. I occasionally see a presentation problem with Firefox (was 2, now 3) on OS-X such that the front page loads correctly but when I select any monitoring page from the sidebar, that page also loads correctly but without the navigation sidebar. The only way I have found to restore normal behaviour is to restart Firefox, which is of course a bit tedious. Do any of you have any suggestions? Kindest regards, Niall O Broin ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 11:30:31 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 1 Jul 2008 11:30:31 +0200 Subject: add hosts to running nagios through API? Message-ID: <200807011130.32328.cschneemann@suse.de> Hi, is it possible to add hosts to a running nagios server through an AP (commands in command file)? I want to monitor some kind of special service, hosts starting doing some work in their sparetime and if they do this, they should be monitored if anything goes wrong. I can't know which hosts here at work will have the software installed, but when they have it insalled they has to be monitored. It doesn't matter if the hosts are gone after a restart of the nagios server. Any ideas? thanks, 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://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 11:33:03 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 01 Jul 2008 11:33:03 +0200 Subject: Sidebar disappearing in Firefox In-Reply-To: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> Message-ID: <4869F9CF.7050708@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Niall O Broin wrote: | I'm running 3.0 on Debian Etch via backports. I occasionally see a | presentation problem with Firefox (was 2, now 3) on OS-X such that the | front page loads correctly but when I select any monitoring page from | the sidebar, that page also loads correctly but without the navigation | sidebar. | | The only way I have found to restore normal behaviour is to restart | Firefox, which is of course a bit tedious. Do any of you have any | suggestions? It sounds like a bug in the browser. Do you have any odd settings in there? 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) iD8DBQFIafnNBvzDRVjxmYERAnKRAJ9oWTQ/JDujnKisgQ/1LZc09IK2DQCeOZJr m1TMj6IL3P9CsqcQ9MX8pK4= =3bos -----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://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Tue Jul 1 11:38:42 2008 From: niall at makalumedia.com (Niall O Broin) Date: Tue, 1 Jul 2008 10:38:42 +0100 Subject: Sidebar disappearing in Firefox In-Reply-To: <4869F9CF.7050708@vanderkooij.org> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> Message-ID: <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> On 1 Jul 2008, at 10:33, Hugo van der Kooij wrote: > | I'm running 3.0 on Debian Etch via backports. I occasionally see a > | presentation problem with Firefox (was 2, now 3) on OS-X such that > the > | front page loads correctly but when I select any monitoring page > from > | the sidebar, that page also loads correctly but without the > navigation > | sidebar. > | > | The only way I have found to restore normal behaviour is to restart > | Firefox, which is of course a bit tedious. Do any of you have any > | suggestions? > > It sounds like a bug in the browser. Do you have any odd settings in > there? Not that I know of, no. If a browser setting were causing it, surely I should see it all the time, and I don't - it's only an occasional visitor, and I've only seen it in Firefox, not Safari (though I do look at Nagios more with FF than Safari). I'm quite prepared to believe it's a browser issue, but I'm wondering if anybody else has seen it. Kindest regards, Niall O Broin ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 1 11:49:23 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Tue, 1 Jul 2008 11:49:23 +0200 Subject: Sidebar disappearing in Firefox In-Reply-To: <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> Message-ID: <200807011149.23598.dani@tydnet.org> > Not that I know of, no. If a browser setting were causing it, surely I > should see it all the time, and I don't - it's only an occasional > visitor, and I've only seen it in Firefox, not Safari (though I do > look at Nagios more with FF than Safari). I'm quite prepared to > believe it's a browser issue, but I'm wondering if anybody else has > seen it. it seems to me that the side bar is rolled up... did you press Av Pag o Re Pag keybord keys?? at least i happens to me all the time. dani ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Tue Jul 1 11:55:19 2008 From: niall at makalumedia.com (Niall O Broin) Date: Tue, 1 Jul 2008 10:55:19 +0100 Subject: Sidebar disappearing in Firefox In-Reply-To: <200807011149.23598.dani@tydnet.org> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> <200807011149.23598.dani@tydnet.org> Message-ID: <858D9E58-DEEA-49BA-A147-92E37A681710@makalumedia.com> On 1 Jul 2008, at 10:49, Daniel L?pez wrote: >> Not that I know of, no. If a browser setting were causing it, >> surely I >> should see it all the time, and I don't - it's only an occasional >> visitor, and I've only seen it in Firefox, not Safari (though I do >> look at Nagios more with FF than Safari). I'm quite prepared to >> believe it's a browser issue, but I'm wondering if anybody else has >> seen it. > > it seems to me that the side bar is rolled up... > > did you press Av Pag o Re Pag keybord keys?? Not that I know of. I've just tried pressing PageUp and PageDown (I hope that's what Av Pag o Re Pag are) and they had no effect whatsoever. Kindest regards, Niall O Broin ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristiano.ness at opservices.com.br Tue Jul 1 13:27:31 2008 From: cristiano.ness at opservices.com.br (Cristiano Ness) Date: Tue, 1 Jul 2008 08:27:31 -0300 (BRT) Subject: check_disk question In-Reply-To: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> References: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> Message-ID: <24818350.176931214911651374.JavaMail.root@mail.opservices.com.br> Try put the path, this option -p, see below /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p /opt/itms_f40v6 and check help command for more options []?s --- Cristiano Ness cristiano.ness at opservices.com.br OpServices www.opservices.com.br Tel: 51-3275-3588 Cel: 51-8151-8214 ----- "Andy Moran" wrote: > > My check_disk seems to be returning negative values for monitoring a netapp filer from a Leopard machine: > [amoran_local at nenc035] ~$ /opt/local/libexec/nagios/check_disk --version check_disk v1793 (nagios-plugins 1.4.10) [amoran_local at nenc035] ~$ df -h /opt/itms_f40v6 Filesystem Size Used Avail Capacity Mounted on nwk-its-filer40:/vol/vol6 11Ti 9.9Ti 906Gi 92% /opt/itms_f40v6 [amoran_local at nenc035] ~$ df -k /opt/itms_f40v6 Filesystem 1024-blocks Used Available Capacity Mounted on nwk-its-filer40:/vol/vol6 11597043876 10646964152 950079724 92% /opt/itms_f40v6 [amoran_local at nenc035] ~$ /opt/local/libexec/nagios/check_disk -w 20% -c 10% /opt/itms_f40v6 DISK OK - free space: /opt/itms_f40v6 927812 MB (- 1072952184025 % inode=99%);| /opt/itms_f40v6=-2147483648MB;671582;755530;0;839478 > > > > If there some obvious flag I'm missing? I haven't tried updating my plugins to the latest, but I suppose that is in order. > --Andy > ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 14:21:07 2008 From: marc at ena.com (Marc Powell) Date: Tue, 1 Jul 2008 07:21:07 -0500 Subject: add hosts to running nagios through API? In-Reply-To: <200807011130.32328.cschneemann@suse.de> References: <200807011130.32328.cschneemann@suse.de> Message-ID: <2882694F-AB56-49B4-88D5-5221761EA0E1@ena.com> On Jul 1, 2008, at 4:30 AM, Christian Schneemann wrote: > Hi, > is it possible to add hosts to a running nagios server through an AP > (commands > in command file)? Not currently... Interpret as you will -- checks.c: /* TODO - add new service definition automatically */ checks.c: /* TODO - add new host definition automatically */ I also believe this might be something the event broker could do in the future. > I can't know which hosts here at work will have the software > installed, but > when they have it insalled they has to be monitored. How would nagios know about them then? My suggestion would be to create your own plugin that knows this information and checks them all at once. Assign it to a host that always runs the software or a dummy host created for this purpose. Alternately, have the service check assigned to all possible hosts but exit as OK if the software isn't supposed to be running on it at that time. -- 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://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jolivan at sertec-si.com Tue Jul 1 12:52:46 2008 From: jolivan at sertec-si.com (=?ISO-8859-1?Q?Jes=FAs?=) Date: Tue, 01 Jul 2008 12:52:46 +0200 Subject: Two or more service extended info Message-ID: <1214909566.9888.6.camel@kloaca> Hi! i need to insert two server extended info icons in a Nagios service. Is it possible? Thanks in advance! ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Tue Jul 1 19:40:58 2008 From: amoran at apple.com (Andy Moran) Date: Tue, 1 Jul 2008 10:40:58 -0700 Subject: check_disk question In-Reply-To: <486992D5.5020702@aei.ca> References: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> <486992D5.5020702@aei.ca> Message-ID: <6B41B617-1172-48B5-9465-8BF4442D28DF@apple.com> Thanks for the response. I updated to the latest plugins (1.4.12), but still seeing negative numbers: nenc001:~ root# /opt/local/libexec/nagios/check_disk --version check_disk v1991 (nagios-plugins 1.4.12) nenc001:~ root# df -h /opt/itms_f40v6 Filesystem Size Used Avail Capacity Mounted on nwk-its-filer40:/vol/vol6 11Ti 9.9Ti 900Gi 92% /opt/itms_f40v6 nenc001:~ root# /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p / opt/itms_f40v6 DISK OK - free space: /opt/itms_f40v6 921477 MB (-1072952184026% inode=99%);| /opt/itms_f40v6=-2147483648MB;671582;755530;0;839478 nenc001:~ root# Is there a workaround? --Andy On Jun 30, 2008, at 7:13 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 30/06/08 08:39 PM, Andy Moran wrote: >> >> My check_disk seems to be returning negative values for monitoring a >> netapp filer from a Leopard machine: > > This should be fixed in nagios-plugins v1.4.12 > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIaZLV6dZ+Kt5BchYRAkrMAJ93agZLSC2bt49EgnwtiFLtdfu3mQCgtEW1 > ejTr1WwkLVv03SbWBeFap5U= > =uqKw > -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 1 21:54:56 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 1 Jul 2008 16:54:56 -0300 Subject: PNP Nagios php-gd error In-Reply-To: <4869B07E.6050003@ederdrom.de> References: <19531.84294.qm@web62411.mail.re1.yahoo.com> <2dfcbd1b0806301457h41ab7f2asef274410863963fa@mail.gmail.com> <4869B07E.6050003@ederdrom.de> Message-ID: <2dfcbd1b0807011254x3c4a2173w62562f6765070764@mail.gmail.com> On Tue, Jul 1, 2008 at 1:20 AM, Joerg Linge wrote: > Marcel schrieb: > > Yeah, man, i'm in a situation like yours... Trying to test pnp, > > nagiosgrapher, and so on... > > > > PNP seems to me to be the most scalable solution, as it implements batch > > mode updates... But I'm still trying to tweak configurations and stuff... > > > > The major problem to me is that the documentation I've found googleing, > > is all in german... :) > > > > i've translated with translate.google.com > > but it's still confusing to me... > > > > At least, my host graph is plotting correctly, but the hostname is > > showing _HOST_, instead of localhost as I would expect... > > > > Well, I'm still trying to understand the templates and such... > > Nope, dokumentation is available in english > > http://www.pnp4nagios.org/pnp/start Ok, there is *some* documentation there. I was looking for some documentation regarding how the /path/to/nagios/etc/pnp/check_commands/check-host-alive.cfg behaves or changes the bahavior of pnp. Isn't quite clear to me what the files in that especific folder does, or where is the file that tells pnp that the rrd template should change _HOST_ to the actuall hostname. Well, I'm signin up for the pnp mailling list, will try to get better results there. TFYR, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at matthewjwhite.co.uk Tue Jul 1 22:28:54 2008 From: lists at matthewjwhite.co.uk (Matt White) Date: Tue, 1 Jul 2008 21:28:54 +0100 Subject: Multiple inheritance settings Message-ID: <6D4C6E386E282F478465FA779D37A88F2E57@home-dc.home.bisnet> Hi guys, I am building a nagios setup that is going to be monitoring a number of different clients who have varying levels of support (all have 9am-6pm and then others have 8am as well, then there are 4 time periods that include the evenings and weekends which can be purchased separately. I am centralising my Nagios setup as much as possible and currently each type of service (exchange 2003, IIS, Active Directory, SQL etc) are all assigned to a hostgroup and then the hosts are made a member of the hostgroup and any extra checks are added into the client config files as necessary. What I am trying to work out is the best way to assign the relevant time periods to each host. Am I right in understanding that if I create a template host and service for each timeperiod that I can't assign these two templates to the same host/service as one will overwrite the other? Is the best way to approach this to define a template for hosts/servers for each client and setup the notifications in here? Is it also possible to have the notification do more than just email/sms - I would potentially like the notification to log a call in our CMS the first time it notices the host is down and then after this just send notifications. All thoughts/comments appreciated. Regards, Matt White [ matt at matthewjwhite.co.uk ] [ http://www.matthewjwhite.co.uk ] WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. Matt White accepts no liability for any damage caused by any virus transmitted by this email. 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.Matt White 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. Warning: Although Matt White has taken reasonable precautions to ensure no viruses are present in this email, Matt White cannot accept responsibility for any loss or damage arising from the use of this email or attachments. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrangi at automotive.com Wed Jul 2 00:19:24 2008 From: jrangi at automotive.com (Jai Rangi) Date: Tue, 1 Jul 2008 15:19:24 -0700 Subject: Running Command on Remote hosts Message-ID: Hello, We have Nagios setup with Groundworks, doing all sort of checks on our servers at datacenter. We get the emails for warning and critical alerts. Everything seems to running pretty good. What I want to achieve is build a script/system that can fix problems by itself. For example for our Windows IIS servers the scripts should restart the application pool if it finds any problem with http port. Cause that's what we do manually to get it fixed. It seems to be working when I run from the command line, like this, ./check_nrpe -H server -n -p PORTNUMBE -t 30 -c restartapppool. restartapppool is the command defined in the NRPE Client. Now I need to understand is what I need to do to run this command as soon as the nagios find a problem with the http service. Has anyone done something like this? I will appreciate if you can share some thoughts. Thank you, Jai Rangi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmies at itnovum.de Wed Jul 2 00:45:53 2008 From: cmies at itnovum.de (Mies, Christian) Date: Wed, 2 Jul 2008 00:45:53 +0200 Subject: Running Command on Remote hosts References: Message-ID: Hi Jai, have a look at Nagios Documentation - Eventhandling. This is the solution you are looking for. http://nagios.sourceforge.net/docs/3_0/eventhandlers.html Regards Christian it-novum GmbH Ein Unternehmen der Mehler AG Christian Mies Consultant Systemmanagement Edelzeller Stra?e 44 36043 Fulda FON: +49 (661) 103-874 (-333) FAX: +49 (661) 103-17874 (-334) MAIL: cmies at itnovum.de WEB: http://www.itnovum.de Handelsregister: Amtsgericht Fulda, HRB 1934 Geschaftsfuhrer: Michael Kienle Sitz der Gesellschaft: Fulda, Deutschland/Germany UstID-Nr: DE813211784 Steuernr.: 018/225/03095 Der Inhalt dieser E-Mail ist vertraulich. Wenn Sie nicht der eigentliche Empfanger sein sollten, informieren Sie bitte sofort den Absender oder vernichten umgehend diese Mail. Jegliche unerlaubte Vervielfaltigung oder Weiterleitung dieser Mail ist strengstens verboten. This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorised copying, disclosure or distribution of material in this e-mail is strictly forbidden. ________________________________ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Jai Rangi Gesendet: Mittwoch, 2. Juli 2008 00:19 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Running Command on Remote hosts Hello, We have Nagios setup with Groundworks, doing all sort of checks on our servers at datacenter. We get the emails for warning and critical alerts. Everything seems to running pretty good. What I want to achieve is build a script/system that can fix problems by itself. For example for our Windows IIS servers the scripts should restart the application pool if it finds any problem with http port. Cause that's what we do manually to get it fixed. It seems to be working when I run from the command line, like this, ./check_nrpe -H server -n -p PORTNUMBE -t 30 -c restartapppool. restartapppool is the command defined in the NRPE Client. Now I need to understand is what I need to do to run this command as soon as the nagios find a problem with the http service. Has anyone done something like this? I will appreciate if you can share some thoughts. Thank you, Jai Rangi -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markus.kornprobst at netways.de Wed Jul 2 12:40:16 2008 From: markus.kornprobst at netways.de (Markus Kornprobst) Date: Wed, 02 Jul 2008 12:40:16 +0200 Subject: Checking CPU temperature and fan speed In-Reply-To: <48688DB7.5060206@in-put.de> References: <48688DB7.5060206@in-put.de> Message-ID: <1214995216.6224.6.camel@nb-kornprobst> hello stefan -- take a look to SNMP4Nagios http://snmp4nagios.sourceforge.net/features.html i think this is the answer at your question BR markus -----Original Message----- From: Stefan-Michael Guenther Reply-To: nagios01 at in-put.de To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checking CPU temperature and fan speed Date: Mon, 30 Jun 2008 09:39:35 +0200 Checking CPU temperature and fan speed ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 15:08:28 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 02 Jul 2008 09:08:28 -0400 Subject: check_disk question In-Reply-To: <6B41B617-1172-48B5-9465-8BF4442D28DF@apple.com> References: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> <486992D5.5020702@aei.ca> <6B41B617-1172-48B5-9465-8BF4442D28DF@apple.com> Message-ID: <486B7DCC.3040703@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/07/08 01:40 PM, Andy Moran wrote: > > Thanks for the response. I updated to the latest plugins (1.4.12), but > still seeing negative numbers: > > nenc001:~ root# /opt/local/libexec/nagios/check_disk --version > check_disk v1991 (nagios-plugins *1.4.12*) > nenc001:~ root# df -h /opt/itms_f40v6 > Filesystem Size Used Avail Capacity Mounted on > nwk-its-filer40:/vol/vol6 11Ti 9.9Ti 900Gi 92% /opt/itms_f40v6 > nenc001:~ root# /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p > /opt/itms_f40v6 > DISK OK - free space: /opt/itms_f40v6 921477 MB (*-1072952184026%* > inode=99%);| /opt/itms_f40v6=-2147483648MB;671582;755530;0;839478 > nenc001:~ root# > > Is there a workaround? Please post the full debug output (-vvv) so I can see what's going on here. Thanks Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIa33M6dZ+Kt5BchYRAl0AAKC2EjDNJ5NHd8xv9reglwBab1bupgCgtp54 NqYNq9KDsBUrXV8JnlIx7pg= =ijrK -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.miller74 at yahoo.com Wed Jul 2 15:50:53 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Wed, 2 Jul 2008 06:50:53 -0700 (PDT) Subject: Hardware specs Message-ID: <40901.67866.qm@web45802.mail.sp1.yahoo.com> Is there an offical "minimum hardware requirements" document for nagios? If not, can someone tell me if nagios can run effectively on a beefed up desktop or do I need to run it on a server? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jim.miller74 at yahoo.com Wed Jul 2 15:55:21 2008 From: jim.miller74 at yahoo.com (Jim Miller) Date: Wed, 2 Jul 2008 06:55:21 -0700 (PDT) Subject: Hardware specs Message-ID: <320671.84700.qm@web45813.mail.sp1.yahoo.com> Never mind... I am a bone head. It's in the documentation. RTFM eh? ----- Original Message ---- From: Jim Miller To: nagios-users at lists.sourceforge.net Sent: Wednesday, July 2, 2008 9:50:53 AM Subject: [Nagios-users] Hardware specs Is there an offical "minimum hardware requirements" document for nagios? If not, can someone tell me if nagios can run effectively on a beefed up desktop or do I need to run it on a server? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 15:59:26 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 02 Jul 2008 07:59:26 -0600 Subject: Hardware specs In-Reply-To: <320671.84700.qm@web45813.mail.sp1.yahoo.com> References: <320671.84700.qm@web45813.mail.sp1.yahoo.com> Message-ID: <1215007166.10569.28.camel@localhost> If you haven't yet, you probably should RTFM... The answer to your question isn't that easy. If you only want to monitor one system with one service, you could probably get away with an old 386/25Mhz just fine. If you want to monitor a large server farm with tons of services, you'd do well to spend some money on some decent hardware. There's no real hard-and-fast rule about what you need, though, AFAIK. On Wed, 2008-07-02 at 06:55 -0700, Jim Miller wrote: > Never mind... I am a bone head. It's in the documentation. RTFM eh? > > > ----- Original Message ---- > From: Jim Miller > To: nagios-users at lists.sourceforge.net > Sent: Wednesday, July 2, 2008 9:50:53 AM > Subject: [Nagios-users] Hardware specs > > Is there an offical "minimum hardware requirements" document for > nagios? If not, can someone tell me if nagios can run effectively on a > beefed up desktop or do I need to run it on a server? > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 2 16:52:59 2008 From: dani at tydnet.org (Daniel =?iso-8859-1?q?L=F3pez?=) Date: Wed, 2 Jul 2008 16:52:59 +0200 Subject: solaris 10 zones check_procs Message-ID: <200807021652.59503.dani@tydnet.org> Hi everybody, we are having problems using check_procs in solaris 10 boxes (virtual zones), works very well in the global zone. We are using pst3 and check_procs from nagios-plugins-1.4.12. i have found a thread from early 2007: http://forum.java.sun.com/thread.jspa?threadID=5112366&messageID=9879024 and says: Also keep in mind to not run the plugins in a Solaris Zone. The reason being is that the check_procs plugin requires access to /dev/kmem which is not allowed in a non global Solaris zone. Is there a way to make work check_procs from inside the virtual zones? thanks in advance, dani ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrewd at webzone.net.au Wed Jul 2 16:55:08 2008 From: andrewd at webzone.net.au (Andrew D) Date: Thu, 03 Jul 2008 00:25:08 +0930 Subject: FreeBSD Nagios 2.12 In-Reply-To: <04F3233F47E2714CB7431AE913E57E7702CDB777@IAD-WPRD-XCHB02.corp.verio.net> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au><52719510-015F-49E3-B5E5-99243FB60C99@ena.com><485BE5EA.9020004@webzone.net.au> <8E0766C1-DEC5-4664-A7A3-0EA241791072@ena.com> <04F3233F47E2714CB7431AE913E57E7702CDB777@IAD-WPRD-XCHB02.corp.verio.net> Message-ID: <486B96CC.4030402@webzone.net.au> Just thought I'd let the list know. Jonathan Call wrote: --snip-- > > There was a change made to the Nagios port in February where it opted > for libthr instead of libpthread when available. That was supposed to > make permanent/official a workaround that used /etc/libmap.conf to link > them instead: > > [nagios] > libpthread.so.2 libthr.so.2 > libpthread.so libthr.so > > You could try using this libmap config or possibly reversing it. It may > be that FreeBSD 5 behaves better with libpthread? I've never used > FreeBSD 5 in any production environment so I'm just guessing. > I tried that as well as trying to compile using linuxthreads port. no help. So thinking that the change made to the port hadn't been tested on a 5.x box I upgraded to 6.3 (on my todo list anyway) and bingo away it went. Cheers cya Andrew > Jonathan > > > This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 17:26:19 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Wed, 2 Jul 2008 17:26:19 +0200 Subject: add hosts to running nagios through API? In-Reply-To: <2882694F-AB56-49B4-88D5-5221761EA0E1@ena.com> References: <200807011130.32328.cschneemann@suse.de> <2882694F-AB56-49B4-88D5-5221761EA0E1@ena.com> Message-ID: <200807021726.20297.cschneemann@suse.de> On Tuesday July 1 2008 02:21:07 pm Marc Powell wrote: > On Jul 1, 2008, at 4:30 AM, Christian Schneemann wrote: > > Hi, > > is it possible to add hosts to a running nagios server through an AP > > (commands > > in command file)? > > Not currently... Interpret as you will -- > > checks.c: /* TODO - add new service definition automatically */ > checks.c: /* TODO - add new host definition automatically */ I interpret it, that it is on the TODO list that a service/host definition should be created automatically if a service/host result comes in which is not defined? It it is so, it would be that what I want/need. > > I also believe this might be something the event broker could do in > the future. > > > I can't know which hosts here at work will have the software > > installed, but > > when they have it insalled they has to be monitored. > > How would nagios know about them then? The hosts register at the service when they will do jobs for it, from this service I could get the information about hosts I have to add to nagios. (service here is not a service in nagios, it is meant as a service on a server) > My suggestion would be to > create your own plugin that knows this information and checks them all > at once. Assign it to a host that always runs the software or a dummy > host created for this purpose. We would like to do it in a clean way ;) > Alternately, have the service check > assigned to all possible hosts but exit as OK if the software isn't > supposed to be running on it at that time. Thats not possible, I don't want to monitor every workstation we have here at the company. We just want to monitor the hosts having this service enabled and for the time it is enabled. > > -- > 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://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blynch at ameliaschools.com Wed Jul 2 19:00:57 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Wed, 2 Jul 2008 13:00:57 -0400 (EDT) Subject: Question about setup Message-ID: <58005.65.161.127.93.1215018057.squirrel@ameliaschools.com> Hello everyone. I am new to nagios but have heard great thing about it and would like to implement this at the school district that I work for. We have about 15 internal linux servers, 2 windows 2003, and 2 linux servers on public IP's that do email and apache. I'm just looking for some suggestions on how I should set this up. Is it possible to have one web interface monitor all servers? Thanks in advance for any advice. -- Bo Lynch ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 19:20:51 2008 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 02 Jul 2008 11:20:51 -0600 Subject: Question about setup In-Reply-To: <58005.65.161.127.93.1215018057.squirrel@ameliaschools.com> References: <58005.65.161.127.93.1215018057.squirrel@ameliaschools.com> Message-ID: <1215019251.3512.21.camel@localhost> First, start here: http://nagios.sourceforge.net/docs/3_0/toc.html What you are asking is quite simple, and you should be able to handle it with minimal effort, assuming you first understand the documentation. On Wed, 2008-07-02 at 13:00 -0400, Bo Lynch wrote: > Hello everyone. I am new to nagios but have heard great thing about it and > would like to implement this at the school district that I work for. We > have about 15 internal linux servers, 2 windows 2003, and 2 linux servers > on public IP's that do email and apache. I'm just looking for some > suggestions on how I should set this up. Is it possible to have one web > interface monitor all servers? Thanks in advance for any advice. > -- > Bo Lynch > > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Wed Jul 2 19:52:01 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Wed, 2 Jul 2008 13:52:01 -0400 Subject: Spopen problem Message-ID: Does anyone know what the checking for redhat spopen problem is really checking when doing the ./configure of Nagios? It's been running for an hour so far. I am installing it on a server that is running Oracle in a clustered environment. Is it looking at all the files on the system? If so is it also looking at the SAN? Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Jul 2 19:53:02 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 02 Jul 2008 18:53:02 +0100 Subject: Sidebar disappearing in Firefox In-Reply-To: <858D9E58-DEEA-49BA-A147-92E37A681710@makalumedia.com> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> <200807011149.23598.dani@tydnet.org> <858D9E58-DEEA-49BA-A147-92E37A681710@makalumedia.com> Message-ID: <486BC07E.2030507@mailnetwork.co.uk> Hi Niall, Are you talking about Nagios' sidebar (e.g. the navigation links) or Firefox's sidebar (e.g. Bookmarks/History?) I have seen this issue in other multi-frame websites in Firefox, so it's not just specific to Nagios. My website CMS uses frames, and it happens occasionally with it as well. I've only been running Firefox 3 since it was released a couple of weeks ago, but I haven't seen it happen in FF3 yet. Andy Niall O Broin wrote: > On 1 Jul 2008, at 10:49, Daniel L?pez wrote: > > >>> Not that I know of, no. If a browser setting were causing it, >>> surely I >>> should see it all the time, and I don't - it's only an occasional >>> visitor, and I've only seen it in Firefox, not Safari (though I do >>> look at Nagios more with FF than Safari). I'm quite prepared to >>> believe it's a browser issue, but I'm wondering if anybody else has >>> seen it. >>> >> it seems to me that the side bar is rolled up... >> >> did you press Av Pag o Re Pag keybord keys?? >> > > Not that I know of. I've just tried pressing PageUp and PageDown (I > hope that's what Av Pag o Re Pag are) and they had no effect whatsoever. > > > > > > Kindest regards, > > > > Niall O Broin > > > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 2 20:14:20 2008 From: marc at ena.com (Marc Powell) Date: Wed, 2 Jul 2008 13:14:20 -0500 Subject: Spopen problem In-Reply-To: References: Message-ID: <30B9DDD6-21FB-44E0-B705-8E73999B2B60@ena.com> On Jul 2, 2008, at 12:52 PM, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Does anyone know what the checking for redhat spopen problem is really > checking when doing the ./configure of Nagios? It's been running for > an > hour so far. I see no reference to spopen in the nagios source -- [nagios-3.0.1]# grep -ir spopen * [nagios-3.0.1]# -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Wed Jul 2 20:17:10 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Wed, 2 Jul 2008 14:17:10 -0400 Subject: Spopen problem In-Reply-To: References: Message-ID: Never mind! I found a workaround on Google. ./configure --enable-redhat-pthread-workaround Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Sent: Wednesday, July 02, 2008 1:52 PM To: nagios Mailinglist Subject: [Nagios-users] Spopen problem Does anyone know what the checking for redhat spopen problem is really checking when doing the ./configure of Nagios? It's been running for an hour so far. I am installing it on a server that is running Oracle in a clustered environment. Is it looking at all the files on the system? If so is it also looking at the SAN? Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Wed Jul 2 20:17:38 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Wed, 2 Jul 2008 14:17:38 -0400 Subject: Spopen problem In-Reply-To: <30B9DDD6-21FB-44E0-B705-8E73999B2B60@ena.com> References: <30B9DDD6-21FB-44E0-B705-8E73999B2B60@ena.com> Message-ID: Thanks...See my latest post. Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----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, July 02, 2008 2:14 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Spopen problem On Jul 2, 2008, at 12:52 PM, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Does anyone know what the checking for redhat spopen problem is really > checking when doing the ./configure of Nagios? It's been running for > an hour so far. I see no reference to spopen in the nagios source -- [nagios-3.0.1]# grep -ir spopen * [nagios-3.0.1]# -- Marc ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Wed Jul 2 20:19:10 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Wed, 2 Jul 2008 14:19:10 -0400 Subject: Spopen problem In-Reply-To: References: Message-ID: http://nagiosplugins.org/faq/compile/configure_appears_to_hang Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Sent: Wednesday, July 02, 2008 2:17 PM To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I; nagios Mailinglist Subject: RE: [Nagios-users] Spopen problem Never mind! I found a workaround on Google. ./configure --enable-redhat-pthread-workaround Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Sent: Wednesday, July 02, 2008 1:52 PM To: nagios Mailinglist Subject: [Nagios-users] Spopen problem Does anyone know what the checking for redhat spopen problem is really checking when doing the ./configure of Nagios? It's been running for an hour so far. I am installing it on a server that is running Oracle in a clustered environment. Is it looking at all the files on the system? If so is it also looking at the SAN? Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Wed Jul 2 20:23:57 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Wed, 2 Jul 2008 14:23:57 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> I've been beating on this for a while now and I can't get around this particular error in the NRPE configuration stage: checking for type of socket size... size_t checking for SSL headers... SSL headers found in /usr/local/ssl/ checking for SSL libraries... configure: error: Cannot find ssl libraries I've installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither of them apparently contain the correct libs. This is ESX, so it's a very stripped down Linux and I don't have RPM abilities so I can't install the libopenssl RPM package. Any suggestions? Thanks <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Jul 2 20:38:42 2008 From: jpratt at norwich.edu (James Pratt) Date: Wed, 2 Jul 2008 14:38:42 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> Message-ID: <3CB18FFE1CDC71449BCCEC0FFD983110B9C38B@NUMAIL.norwich.edu> Hi. have you tried Dag's RHEL3 rpm's? ... Personally, I would just use SNMP, as ESX doesn't like 3rd party agents/software, and neither does vmware support... :\ Regards, jamie From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lorand S. D'Caltan Sent: Wednesday, July 02, 2008 2:24 PM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 I've been beating on this for a while now and I can't get around this particular error in the NRPE configuration stage: checking for type of socket size... size_t checking for SSL headers... SSL headers found in /usr/local/ssl/ checking for SSL libraries... configure: error: Cannot find ssl libraries I've installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither of them apparently contain the correct libs. This is ESX, so it's a very stripped down Linux and I don't have RPM abilities so I can't install the libopenssl RPM package. Any suggestions? Thanks <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jedrzej at man.poznan.pl Wed Jul 2 20:59:38 2008 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Wed, 02 Jul 2008 20:59:38 +0200 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> Message-ID: <486BD01A.8010603@man.poznan.pl> Hi Loran, Lorand S. D'Caltan wrote: > I?ve been beating on this for a while now and I can?t get around this > particular error in the NRPE configuration stage: > > checking for type of socket size... size_t > checking for SSL headers... SSL headers found in /usr/local/ssl/ > checking for SSL libraries... configure: error: Cannot find ssl libraries > > I?ve installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither of > them apparently contain the correct libs. > > This is ESX, so it?s a very stripped down Linux and I don?t have RPM > abilities so I can?t install the libopenssl RPM package. > > Any suggestions? Try setting environment variables CFLAGS="-L /path/to/ssl/libs" and LD_FLAGS="-L /path/to/ssl/libs -R /path/to/ssl/libs". Eg. (all in single line) env CFLAGS="-L /usr/local/ssl/lib" LD_FLAGS="-L /usr/local/ssl/lib -R /usr/local/ssl/lib" ./configure (other configure parameters) You can find the path to openssl libs by searching for libssl.so or libcrypto.so (find /usr -name libssl.so) -- Regards, Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Wed Jul 2 21:21:19 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Wed, 2 Jul 2008 15:21:19 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <486BD01A.8010603@man.poznan.pl> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <486BD01A.8010603@man.poznan.pl> Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB9CC@email.isystems.lan> Thanks for the suggestion, I get the same error though. And here's something even more strange, even though I've installed OpenSSL, those two files were not present in /usr anywhere. I copied them from another server to /usr/local/ssl/lib but it still errors find /usr -name libcrypto.so /usr/local/ssl/lib/libcrypto.so find /usr -name libssl.so /usr/local/ssl/lib/libssl.so env CFLAGS="-L /usr/local/ssl/lib" LD_FLAGS="-L /usr/local/ssl/lib -R /usr/local/ssl/lib" ./configure 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 type of socket size... size_t checking for SSL headers... SSL headers found in /usr/local/ssl checking for SSL libraries... configure: error: Cannot find ssl libraries ll /usr/local/ssl/lib total 8956 drwxr-xr-x 2 root root 4096 Jul 1 15:32 engines -rwxr-xr-x 1 root root 14456 Jul 2 15:08 lib4758cca.so -rwxr-xr-x 1 root root 14604 Jul 2 15:08 libaep.so -rwxr-xr-x 1 root root 10424 Jul 2 15:08 libatalla.so -rwxr-xr-x 1 root root 18900 Jul 2 15:08 libchil.so -rw-r--r-- 1 root root 22504 Jul 2 15:09 libcrypt.a -rw-r--r-- 1 root root 2040060 Jul 2 15:19 libcrypto.a -rw-r--r-- 1 root root 2098814 Jul 2 15:09 libcrypto.dll.a -rwxr-xr-x 1 root root 1240428 Jul 2 15:13 libcrypto.so -rwxr-xr-x 1 root root 1240428 Jul 2 15:08 libcrypto.so.0.9.8b -rwxr-xr-x 1 root root 1240428 Jul 2 15:08 libcrypto.so.6 -rwxr-xr-x 1 root root 23332 Jul 2 15:09 libcrypt.so -rwxr-xr-x 1 root root 16064 Jul 2 15:08 libcswift.so -rwxr-xr-x 1 root root 2476 Jul 2 15:08 libgmp.so -rwxr-xr-x 1 root root 8648 Jul 2 15:08 libnuron.so -rwxr-xr-x 1 root root 174072 Jul 2 15:11 libssl3.so -rw-r--r-- 1 root root 335272 Jul 2 15:19 libssl.a -rw-r--r-- 1 root root 275832 Jul 2 14:07 libssl.dll.a -rwxr-xr-x 1 root root 279308 Jul 2 15:11 libssl.so -rwxr-xr-x 1 root root 18748 Jul 2 15:08 libsureware.so -rwxr-xr-x 1 root root 14624 Jul 2 15:08 libubsec.so drwxr-xr-x 2 root root 4096 Jul 1 15:32 pkgconfig Am I missing anything? <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -----Original Message----- From: Jedrzej Jajor [mailto:jedrzej at man.poznan.pl] Sent: Wednesday, July 02, 2008 3:00 PM To: 'nagios-users at lists.sourceforge.net' Cc: Lorand S. D'Caltan Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 Hi Loran, Lorand S. D'Caltan wrote: > I've been beating on this for a while now and I can't get around this > particular error in the NRPE configuration stage: > > checking for type of socket size... size_t > checking for SSL headers... SSL headers found in /usr/local/ssl/ > checking for SSL libraries... configure: error: Cannot find ssl libraries > > I've installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither of > them apparently contain the correct libs. > > This is ESX, so it's a very stripped down Linux and I don't have RPM > abilities so I can't install the libopenssl RPM package. > > Any suggestions? Try setting environment variables CFLAGS="-L /path/to/ssl/libs" and LD_FLAGS="-L /path/to/ssl/libs -R /path/to/ssl/libs". Eg. (all in single line) env CFLAGS="-L /usr/local/ssl/lib" LD_FLAGS="-L /usr/local/ssl/lib -R /usr/local/ssl/lib" ./configure (other configure parameters) You can find the path to openssl libs by searching for libssl.so or libcrypto.so (find /usr -name libssl.so) -- Regards, Andy ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jean-paul.baillon at safecom.co.nz Wed Jul 2 23:19:20 2008 From: jean-paul.baillon at safecom.co.nz (Jean-Paul Baillon) Date: Thu, 3 Jul 2008 09:19:20 +1200 Subject: Nagios Newb http://nagios.manubulon.com Message-ID: Hi All I am new to Nagios and want to monitor the UP/DOWN status of interfaces on my Nokia firewall. I have had a look at the site http://nagios.manubulon.com where there is a perl script to perform this task. I am able to run the script manually and it returns data- OK My question is how do I incorporate this script into Nagios? Progress is as such Nagios 3.0.2 Not sure how to add command "check_snmp_int_v1" from http://nagios.manubulon.com/index_commands.html#interface I have added the "define command" at http://nagios.manubulon.com/index_commands.html#interface Not sure how to add service "check_int_1_6" from above page I have added "define service" from above page What else am I missing to get this working TIA JP ##################################################################################### Important: This electronic message and attachments (if any) are confidential and may be legally privileged. If you are not the intended recipient do not copy, disclose or use the contents in any way. Please let us know by return e-mail immediately and then destroy this message. ##################################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Thu Jul 3 00:43:47 2008 From: niall at makalumedia.com (Niall O Broin) Date: Wed, 2 Jul 2008 23:43:47 +0100 Subject: Sidebar disappearing in Firefox In-Reply-To: <486BC07E.2030507@mailnetwork.co.uk> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> <200807011149.23598.dani@tydnet.org> <858D9E58-DEEA-49BA-A147-92E37A681710@makalumedia.com> <486BC07E.2030507@mailnetwork.co.uk> Message-ID: On 2 Jul 2008, at 18:53, Andy Shellam wrote: > Are you talking about Nagios' sidebar (e.g. the navigation links) or > Firefox's sidebar (e.g. Bookmarks/History?) > I have seen this issue in other multi-frame websites in Firefox, so > it's not just specific to Nagios. My website CMS uses frames, and > it happens occasionally with it as well. > > I've only been running Firefox 3 since it was released a couple of > weeks ago, but I haven't seen it happen in FF3 yet. I'm talking about the Nagios navigation sidebar, and I've seen it happen with FF2 and FF3 Niall ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 02:38:46 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 2 Jul 2008 20:38:46 -0400 Subject: New Version NC_Net (Windows Plugin) Message-ID: Hi Everyone, There is finally a new version of NC_Net released on Sourceforge: V4.4.x http://sourceforge.net/projects/nc-net NOTE: Official Releases of NC_Net are only Hosted through SourceForge. all users are advised to test the newest version for compatibility before upgrading This is the last Dot NEt 2.x release, NC_Net will be upgraded to the newest version of Dot NEt for the next release. OVERVIEW:: NC_Net is a Windows Plug in that uses Check_nt. NC_Net also offers Many other Functions built into it including (most require compiling Check_nc_net.c instead of using check_nt.c) Remote NC_Net Configuration (via Check_nc_net) (Can be disabled in Config) Enumeration of Many Windows objects (via Check_nc_net) Running local Scripts/executable on the Windows Host (via Check_nc_net) (Similar to NRPE) Submitting Checks to nagios via NSCA (Can configure via check_nc_net or manually via config files on windows host) Submitting Passive Host Checks Disabling Accepting Active checks (For use when only passive checks are allowed) Compatible with Telnet, Check_nt, Check_nc_net, and other Test consols Consolidation of Check results through single Active Check with Performance data - (Requires Configuring Passive checks) Output Concatenation (Requires configuring Command Files) Easy Install via msi file (Uses Windows Installer and allows for Standard Installer options for Quiet install and Path location) BASIC COMMANDS: besides the standard Check_nt commands (CPU,Fileage, Memory, Disk, Uptime, services, processes, Counters, Version) Checks for Windows Event Logs Checks WMI Checks Windows TIme Echo see Commands.txt for a full list of commands. UPDATES: include several Minor Bug fixes (Mostly in the Passive Check Output fixes) Fix to allow for Extended Character like umlauten Added FILEAGE_NEW - for Min/MAX of all Files in a Directory (The older FileAge checked the Directories Properties instead of each file) Removed older files -THis package Does not need Dot net 1.1 but Does need 2.0 or Higher Modified Event Log Message for when Performance Counters are Corrupted (Log message points to MS KnowlegeBase article for fix) update to Check_nc_net.c to allow for the new commands Other Documentation Cleanup. SUPPORT: please use the NC_NEt forum First: http://sourceforge.net/projects/nc-net for more involved issues: nc_net at montitech.com Thanks Tony (Author of NC_NET) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 02:57:26 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 2 Jul 2008 21:57:26 -0300 Subject: New Version NC_Net (Windows Plugin) In-Reply-To: References: Message-ID: <2dfcbd1b0807021757j6d7b46a9kb88afbb4236daf4f@mail.gmail.com> Hi Tony, I'm in debt with you. Sorry to postpone my feedback of the version of NC_Net that you've sent to me for testing. Well, after a painless but full of workload setup of my company's Exchange2007 platform, NC_Net was deployed gracefully, a drop-in replacement for the already configured checks of this class of hosts, and we're at the road to implement new monitoring solutions with your advanced WMI queries interface. Not a thing to complain about it, running perfectly stable so far. Thank you very much for NC_Net, I'll send you a postcard if you'd like, unfortunatelly, that is the only way I could spend of my own to thank you (I do not have the power to send you donations in behalf of the company I work for, nor on my own behalf as a Jr. sysadmin in Brazil ;). Well, I'll send updates on list informing the development of the new checks that will come up using WMI. Thank you again. Marcel On Wed, Jul 2, 2008 at 9:38 PM, Anthony Montibello wrote: > Hi Everyone, > > There is finally a new version of NC_Net released on Sourceforge: V4.4.x > http://sourceforge.net/projects/nc-net > > NOTE: > Official Releases of NC_Net are only Hosted through SourceForge. > all users are advised to test the newest version for compatibility before > upgrading > This is the last Dot NEt 2.x release, > NC_Net will be upgraded to the newest version of Dot NEt for the next > release. > > OVERVIEW:: > NC_Net is a Windows Plug in that uses Check_nt. > NC_Net also offers Many other Functions built into it including (most > require compiling Check_nc_net.c instead of using check_nt.c) > Remote NC_Net Configuration (via Check_nc_net) (Can be disabled in Config) > Enumeration of Many Windows objects (via Check_nc_net) > Running local Scripts/executable on the Windows Host (via Check_nc_net) > (Similar to NRPE) > Submitting Checks to nagios via NSCA (Can configure via check_nc_net or > manually via config files on windows host) > Submitting Passive Host Checks > Disabling Accepting Active checks (For use when only passive checks are > allowed) > Compatible with Telnet, Check_nt, Check_nc_net, and other Test consols > Consolidation of Check results through single Active Check with Performance > data - (Requires Configuring Passive checks) > Output Concatenation (Requires configuring Command Files) > Easy Install via msi file (Uses Windows Installer and allows for Standard > Installer options for Quiet install and Path location) > > > BASIC COMMANDS: > besides the standard Check_nt commands > (CPU,Fileage, Memory, Disk, Uptime, services, processes, Counters, > Version) > Checks for Windows Event Logs > Checks WMI > Checks Windows TIme > Echo > see Commands.txt for a full list of commands. > > > UPDATES: > include several Minor Bug fixes > (Mostly in the Passive Check Output fixes) > Fix to allow for Extended Character like umlauten > Added FILEAGE_NEW - for Min/MAX of all Files in a Directory (The older > FileAge checked the Directories Properties instead of each file) > Removed older files -THis package Does not need Dot net 1.1 but Does need > 2.0 or Higher > Modified Event Log Message for when Performance Counters are Corrupted (Log > message points to MS KnowlegeBase article for fix) > update to Check_nc_net.c to allow for the new commands > Other Documentation Cleanup. > > > SUPPORT: > please use the NC_NEt forum First: > http://sourceforge.net/projects/nc-net > for more involved issues: > nc_net at montitech.com > > Thanks > Tony (Author of NC_NET) > > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 03:22:10 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 2 Jul 2008 21:22:10 -0400 Subject: New Version NC_Net (Windows Plugin) In-Reply-To: <2dfcbd1b0807021757j6d7b46a9kb88afbb4236daf4f@mail.gmail.com> References: <2dfcbd1b0807021757j6d7b46a9kb88afbb4236daf4f@mail.gmail.com> Message-ID: Thanks for the feedback, It is good to hear the deployment is going well. For many standard setups, some scripts and Copy/paste to config files works well. Even for Passive checks provided the Nagios Host name matches the Windows Server name, NC_NEt will auto Set the passive check Host name to the Windows Host name By the way, Donations are optional, otherwise it really would not be a donation. Currently I would really be happy if anyone donated some hardware. since I currently do not have anything that supports Vista. However a post card would also be nice to add to my portfolio. Best Luck, TOny On Wed, Jul 2, 2008 at 8:57 PM, Marcel wrote: > Hi Tony, > > I'm in debt with you. Sorry to postpone my feedback of the version of > NC_Net that you've sent to me for testing. > > Well, after a painless but full of workload setup of my company's > Exchange2007 platform, NC_Net was deployed gracefully, a drop-in replacement > for the already configured checks of this class of hosts, and we're at the > road to implement new monitoring solutions with your advanced WMI queries > interface. Not a thing to complain about it, running perfectly stable so > far. > > Thank you very much for NC_Net, I'll send you a postcard if you'd like, > unfortunatelly, that is the only way I could spend of my own to thank you (I > do not have the power to send you donations in behalf of the company I work > for, nor on my own behalf as a Jr. sysadmin in Brazil ;). > > Well, I'll send updates on list informing the development of the new checks > that will come up using WMI. > > Thank you again. > Marcel > > On Wed, Jul 2, 2008 at 9:38 PM, Anthony Montibello < > amontibello at gmail.com> wrote: > >> Hi Everyone, >> >> There is finally a new version of NC_Net released on Sourceforge: V4.4.x >> http://sourceforge.net/projects/nc-net >> >> NOTE: >> Official Releases of NC_Net are only Hosted through SourceForge. >> all users are advised to test the newest version for compatibility before >> upgrading >> This is the last Dot NEt 2.x release, >> NC_Net will be upgraded to the newest version of Dot NEt for the next >> release. >> >> OVERVIEW:: >> NC_Net is a Windows Plug in that uses Check_nt. >> NC_Net also offers Many other Functions built into it including (most >> require compiling Check_nc_net.c instead of using check_nt.c) >> Remote NC_Net Configuration (via Check_nc_net) (Can be disabled in Config) >> Enumeration of Many Windows objects (via Check_nc_net) >> Running local Scripts/executable on the Windows Host (via Check_nc_net) >> (Similar to NRPE) >> Submitting Checks to nagios via NSCA (Can configure via check_nc_net or >> manually via config files on windows host) >> Submitting Passive Host Checks >> Disabling Accepting Active checks (For use when only passive checks are >> allowed) >> Compatible with Telnet, Check_nt, Check_nc_net, and other Test consols >> Consolidation of Check results through single Active Check with >> Performance data - (Requires Configuring Passive checks) >> Output Concatenation (Requires configuring Command Files) >> Easy Install via msi file (Uses Windows Installer and allows for Standard >> Installer options for Quiet install and Path location) >> >> >> BASIC COMMANDS: >> besides the standard Check_nt commands >> (CPU,Fileage, Memory, Disk, Uptime, services, processes, Counters, >> Version) >> Checks for Windows Event Logs >> Checks WMI >> Checks Windows TIme >> Echo >> see Commands.txt for a full list of commands. >> >> >> UPDATES: >> include several Minor Bug fixes >> (Mostly in the Passive Check Output fixes) >> Fix to allow for Extended Character like umlauten >> Added FILEAGE_NEW - for Min/MAX of all Files in a Directory (The older >> FileAge checked the Directories Properties instead of each file) >> Removed older files -THis package Does not need Dot net 1.1 but Does need >> 2.0 or Higher >> Modified Event Log Message for when Performance Counters are Corrupted >> (Log message points to MS KnowlegeBase article for fix) >> update to Check_nc_net.c to allow for the new commands >> Other Documentation Cleanup. >> >> >> SUPPORT: >> please use the NC_NEt forum First: >> http://sourceforge.net/projects/nc-net >> for more involved issues: >> nc_net at montitech.com >> >> Thanks >> Tony (Author of NC_NET) >> >> >> >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cjones at exelixis.com Thu Jul 3 03:34:03 2008 From: cjones at exelixis.com (Clyde Jones) Date: Wed, 2 Jul 2008 18:34:03 -0700 Subject: Easily building service dependencies on Nagios 2? Message-ID: <4CAF5E6682A9AE4C992F5ED5082704250AA2F22D@EXCL01.exelixis.com> Hello everyone, I am trying to build up a large number of service dependencies for some checks (e.g. all the NRPE checks are dependent on a check of NRPE so that I get the correct error notification) However, I have ~500 checks using NRPE. Is there an easier way of building the dependencies than writing all 500 into a config file? I am using service and host groups to assign most of these service checks (e.g. the nrpe_nt service groups assigns the basic checks for my 50 or so windows servers) I have looked through the documentation but I don't see anything about using wildcards or groups to assign dependencies. I was hoping I could use groups to create service dependencies, since it will be the same for every server in the hostgroup. I do realize I can script the config file creation, but maintenance will be so much easier with host groups. Thanks! -- Clyde Jones R&D Informatics Senior Operations Developer cjones at exelixis.com Exelixis Inc 650 837 7085 Office 650 228 4699 Cell This email (including any attachments) may contain material that is confidential and privileged and is for the sole use of the intended recipient. Any review, reliance or distribution by others or forwarding without express permission is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies. Exelixis, Inc. reserves the right, to the extent and under circumstances permitted by applicable law, to retain, monitor and intercept e-mail messages to and from its systems. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 03:44:27 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 2 Jul 2008 22:44:27 -0300 Subject: add hosts to running nagios through API? In-Reply-To: <2882694F-AB56-49B4-88D5-5221761EA0E1@ena.com> References: <200807011130.32328.cschneemann@suse.de> <2882694F-AB56-49B4-88D5-5221761EA0E1@ena.com> Message-ID: <2dfcbd1b0807021844v70980977x3e0f46e3cc7c0b41@mail.gmail.com> On Tue, Jul 1, 2008 at 9:21 AM, Marc Powell wrote: > > On Jul 1, 2008, at 4:30 AM, Christian Schneemann wrote: > > > Hi, > > is it possible to add hosts to a running nagios server through an AP > > (commands > > in command file)? > > Not currently... Interpret as you will -- > > checks.c: /* TODO - add new service > definition automatically */ > checks.c: /* TODO - add new host definition > automatically */ > > I also believe this might be something the event broker could do in > the future. Or, could be something like: I have this lines on my passive central nagios instance: [1215007259] Warning: Passive check result was received for service 'Boot Check' on host 'mamute1', but the service could not be found! As passive checks could get in without even been configured, and it already has the threshold logic done, Nagios would only configure the new service, replicate it to the ndo database, and when restarting/reloading, generating the correct entry in the config files for persistency. So, it would be possible to have dinamic zero-configuration installs for extrictely passive nagios instances. As we move to a passively monitoring platform, all monitored hosts within our datacenter have the plugins to check_server, check_procs, check_if, and so on, and the sysadmin have the hability to configure de thresholds and checks without the need of tweaking nagios configs. All is needed to be done is configuring cron, thresholds, etc, and Nagios would take care of everything else. > I can't know which hosts here at work will have the software > > installed, but > > when they have it insalled they has to be monitored. > > How would nagios know about them then? My suggestion would be to > create your own plugin that knows this information and checks them all > at once. Assign it to a host that always runs the software or a dummy > host created for this purpose. Alternately, have the service check > assigned to all possible hosts but exit as OK if the software isn't > supposed to be running on it at that time. > > -- > Marc Cheers, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 3 05:05:07 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 02 Jul 2008 23:05:07 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110B9C38B@NUMAIL.norwich.edu> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <3CB18FFE1CDC71449BCCEC0FFD983110B9C38B@NUMAIL.norwich.edu> Message-ID: <1215054307.9810.72.camel@localhost.localdomain> On Wed, 2008-07-02 at 14:38 -0400, James Pratt wrote: > > > Hi. have you tried Dag?s RHEL3 rpm?s? ? Personally, I would just use > SNMP, as ESX doesn?t like 3rd party agents/software, and neither does Its just one binary and an RC script -- you can probably safely cross build it. ~BAS > vmware support? :\ > > > > Regards, > > jamie > > > > From:nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Lorand S. D'Caltan > Sent: Wednesday, July 02, 2008 2:24 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > > > > I?ve been beating on this for a while now and I can?t get around this > particular error in the NRPE configuration stage: > > > > > > checking for type of socket size... size_t > > > checking for SSL headers... SSL headers found in /usr/local/ssl/ > > > checking for SSL libraries... configure: error: Cannot find ssl > libraries > > > > > > I?ve installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither > of them apparently contain the correct libs. > > > > > > This is ESX, so it?s a very stripped down Linux and I don?t have RPM > abilities so I can?t install the libopenssl RPM package. > > > > > > Any suggestions? > > > > > > Thanks > > > > > > <><><><><><><><> > > > Lorand S. D'Caltan > > > Systems Engineer > > > iSystems LLC > > > (802) 655-8347 x157 > <><><><><><><><> > > > CONFIDENTIALITY: The information contained in this message may be > privileged and confidential and protected from disclosure. No > confidentiality or privilege is waived or lost by any mistransmission. > If the reader of this message is not the intended recipient, or an > employee or agent responsible for delivering this message to the > intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. > Please immediately delete it and all copies of it from your system, > destroy any hard copies of it and notify the sender. Thank you. > > > > > > > > > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 3 05:08:34 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Wed, 02 Jul 2008 23:08:34 -0400 Subject: FreeBSD Nagios 2.12 In-Reply-To: <486B96CC.4030402@webzone.net.au> References: <4859E37F.5090907@webzone.net.au> <485B3290.6020908@webzone.net.au> <52719510-015F-49E3-B5E5-99243FB60C99@ena.com> <485BE5EA.9020004@webzone.net.au> <8E0766C1-DEC5-4664-A7A3-0EA241791072@ena.com> <04F3233F47E2714CB7431AE913E57E7702CDB777@IAD-WPRD-XCHB02.corp.verio.net> <486B96CC.4030402@webzone.net.au> Message-ID: <1215054514.9810.76.camel@localhost.localdomain> On Thu, 2008-07-03 at 00:25 +0930, Andrew D wrote: > a 5.x box I upgraded to 6.3 (on my todo list anyway) and bingo away > it 5.x is EOL anyway. This is one of those outstanding bugs that would be prime Wiki/FAQ material. ~BAS ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Thu Jul 3 09:59:05 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Thu, 3 Jul 2008 08:59:05 +0100 Subject: Question about setup In-Reply-To: <1215019251.3512.21.camel@localhost> References: <58005.65.161.127.93.1215018057.squirrel@ameliaschools.com> <1215019251.3512.21.camel@localhost> Message-ID: <20080703085905.3575ded4@tclmmw.in.tiger-computing.com> On Wed, 02 Jul 2008 11:20:51 -0600 "Aaron M. Segura" wrote: > First, start here: > http://nagios.sourceforge.net/docs/3_0/toc.html > > What you are asking is quite simple, and you should be able to handle > it with minimal effort, assuming you first understand the > documentation. > > On Wed, 2008-07-02 at 13:00 -0400, Bo Lynch wrote: > > Hello everyone. I am new to nagios but have heard great thing about > > it and would like to implement this at the school district that I > > work for. We have about 15 internal linux servers, 2 windows 2003, > > and 2 linux servers on public IP's that do email and apache. I'm > > just looking for some suggestions on how I should set this up. Is > > it possible to have one web interface monitor all servers? Thanks > > in advance for any advice. -- > > Bo Lynch If the are all on separate subnets/networks and it is not hugely easy to route between them, you can either setup NAgios to monitor on a number of different ports and just use NATing on your router, or use something like OpenVPN from the "clients" (any machine running NRPE/NSCA) to the Nagios server. We do both here and it works like a charm! :o) M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jedrzej at man.poznan.pl Thu Jul 3 12:47:16 2008 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Thu, 03 Jul 2008 12:47:16 +0200 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB9CC@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <486BD01A.8010603@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9CC@email.isystems.lan> Message-ID: <486CAE34.6040508@man.poznan.pl> Lorand S. D'Caltan wrote: > Thanks for the suggestion, I get the same error though. > > And here's something even more strange, even though I've installed OpenSSL, those two files were not present in /usr anywhere. > > I copied them from another server to /usr/local/ssl/lib but it still errors > > find /usr -name libcrypto.so > /usr/local/ssl/lib/libcrypto.so > find /usr -name libssl.so > /usr/local/ssl/lib/libssl.so If you took them from another server (I assume it's the same architecture, but to be sure check at least with 'file' whether copied files are of the same type as other .so libs that you have on your system), check whether they have all dependencies: ldd /usr/local/ssl/lib/libcrypto.so ldd /usr/local/ssl/lib/libssl.so (check for any unresolved dependencies). Also, if you installed the OpenSSL-devel-0.8.9h-1 from rpm (or other package) you can check if it contains these libs (rpm -ql OpenSSL-devel-0.8.9h-1). > env CFLAGS="-L /usr/local/ssl/lib" LD_FLAGS="-L /usr/local/ssl/lib -R /usr/local/ssl/lib" ./configure > 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 type of socket size... size_t > checking for SSL headers... SSL headers found in /usr/local/ssl > checking for SSL libraries... configure: error: Cannot find ssl libraries Try ./configure --with-ssl-lib=/usr/local/ssl/lib -- Regards, Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Thu Jul 3 15:05:14 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Thu, 3 Jul 2008 09:05:14 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <1215054307.9810.72.camel@localhost.localdomain> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <3CB18FFE1CDC71449BCCEC0FFD983110B9C38B@NUMAIL.norwich.edu> <1215054307.9810.72.camel@localhost.localdomain> Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB9D0@email.isystems.lan> At this point it's much more about the unending chain of dependencies that I'm running into trying to use RPMs rpm -ivh nagios-nrpe-2.12-2.i586.rpm warning: only V3 signatures can be verified, skipping V4 signature error: Failed dependencies: libwrap-libs is needed by nagios-nrpe-2.12-2 nagios-common is needed by nagios-nrpe-2.12-2 rc-scripts is needed by nagios-nrpe-2.12-2 rpm -ivh libwrap-libs-7.6-43.i686.rpm error: Failed dependencies: rtld(GNU_HASH) is needed by libwrap-libs-7.6-43 rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by libwrap-libs-7.6-43 rpm -ivh nagios-common-3.0.3-2.i586.rpm error: Failed dependencies: /bin/id is needed by nagios-common-3.0.3-2 /usr/bin/getgid is needed by nagios-common-3.0.3-2 rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by nagios-common-3.0.3-2 rpm-5.0-0.2.0.el5.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 1aa78495 error: Failed dependencies: beecrypt >= 4.1.2 is needed by rpm-5.0-0.2.0.el5.rf getconf(GNU_LIBPTHREAD_VERSION) = NPTL is needed by rpm-5.0-0.2.0.el5.rf libc.so.6(GLIBC_2.3.4) is needed by rpm-5.0-0.2.0.el5.rf libc.so.6(GLIBC_2.4) is needed by rpm-5.0-0.2.0.el5.rf libcrypto.so.6 is needed by rpm-5.0-0.2.0.el5.rf libneon.so.25 is needed by rpm-5.0-0.2.0.el5.rf librpm-5.0.so is needed by rpm-5.0-0.2.0.el5.rf librpm-5.0.so(LIBRPM_0) is needed by rpm-5.0-0.2.0.el5.rf librpmdb-5.0.so is needed by rpm-5.0-0.2.0.el5.rf librpmdb-5.0.so(LIBRPMDB_0) is needed by rpm-5.0-0.2.0.el5.rf librpmio-5.0.so is needed by rpm-5.0-0.2.0.el5.rf librpmio-5.0.so(LIBRPMIO_0) is needed by rpm-5.0-0.2.0.el5.rf libselinux.so.1 is needed by rpm-5.0-0.2.0.el5.rf libssl.so.6 is needed by rpm-5.0-0.2.0.el5.rf rtld(GNU_HASH) is needed by rpm-5.0-0.2.0.el5.rf You see it gets a little bit irritating after a while. I'd really love to just be able to compile the NRPE from source, but then we're back at the original error which I was trying to correct. -----Original Message----- From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] Sent: Wednesday, July 02, 2008 11:05 PM To: James Pratt Cc: Lorand S. D'Caltan; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 On Wed, 2008-07-02 at 14:38 -0400, James Pratt wrote: > > > Hi. have you tried Dag?s RHEL3 rpm?s? ? Personally, I would just use > SNMP, as ESX doesn?t like 3rd party agents/software, and neither does Its just one binary and an RC script -- you can probably safely cross build it. ~BAS > vmware support? :\ > > > > Regards, > > jamie > > > > From:nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > Lorand S. D'Caltan > Sent: Wednesday, July 02, 2008 2:24 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > > > > I?ve been beating on this for a while now and I can?t get around this > particular error in the NRPE configuration stage: > > > > > > checking for type of socket size... size_t > > > checking for SSL headers... SSL headers found in /usr/local/ssl/ > > > checking for SSL libraries... configure: error: Cannot find ssl > libraries > > > > > > I?ve installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither > of them apparently contain the correct libs. > > > > > > This is ESX, so it?s a very stripped down Linux and I don?t have RPM > abilities so I can?t install the libopenssl RPM package. > > > > > > Any suggestions? > > > > > > Thanks > > > > > > <><><><><><><><> > > > Lorand S. D'Caltan > > > Systems Engineer > > > iSystems LLC > > > (802) 655-8347 x157 > <><><><><><><><> > > > CONFIDENTIALITY: The information contained in this message may be > privileged and confidential and protected from disclosure. No > confidentiality or privilege is waived or lost by any mistransmission. > If the reader of this message is not the intended recipient, or an > employee or agent responsible for delivering this message to the > intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. > Please immediately delete it and all copies of it from your system, > destroy any hard copies of it and notify the sender. Thank you. > > > > > > > > > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Thu Jul 3 15:06:26 2008 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Thu, 3 Jul 2008 14:06:26 +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: 03/07/2008. End Date: 07/07/2008. Thank you for your mail. I am currently away from the office, returning on 7th July 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 ********************************************************************** ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Jul 3 15:25:44 2008 From: jpratt at norwich.edu (James Pratt) Date: Thu, 3 Jul 2008 09:25:44 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB9D0@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan><3CB18FFE1CDC71449BCCEC0FFD983110B9C38B@NUMAIL.norwich.edu><1215054307.9810.72.camel@localhost.localdomain> <842A387C705B2546B8483DAD6148BDF621926BB9D0@email.isystems.lan> Message-ID: <3CB18FFE1CDC71449BCCEC0FFD983110B9C4AF@NUMAIL.norwich.edu> Yes, very messy indeed... :( Not to be nosy, but what exactly are you trying to monitor via nrpe on esx? ... There are many ways to skin the same cat in nagios-world, so perhaps if we knew what you were ultimately trying to do, we could suggest other ways to do the same thing? :) Regards, jamie > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lorand S. D'Caltan > Sent: Thursday, July 03, 2008 9:05 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > At this point it's much more about the unending chain of dependencies that I'm > running into trying to use RPMs > > rpm -ivh nagios-nrpe-2.12-2.i586.rpm > warning: only V3 signatures can be verified, skipping V4 signature > error: Failed dependencies: > libwrap-libs is needed by nagios-nrpe-2.12-2 > nagios-common is needed by nagios-nrpe-2.12-2 > rc-scripts is needed by nagios-nrpe-2.12-2 > > rpm -ivh libwrap-libs-7.6-43.i686.rpm > error: Failed dependencies: > rtld(GNU_HASH) is needed by libwrap-libs-7.6-43 > rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by libwrap-libs-7.6-43 > > rpm -ivh nagios-common-3.0.3-2.i586.rpm > error: Failed dependencies: > /bin/id is needed by nagios-common-3.0.3-2 > /usr/bin/getgid is needed by nagios-common-3.0.3-2 > rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by nagios-common-3.0.3-2 > > rpm-5.0-0.2.0.el5.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 1aa78495 > error: Failed dependencies: > beecrypt >= 4.1.2 is needed by rpm-5.0-0.2.0.el5.rf > getconf(GNU_LIBPTHREAD_VERSION) = NPTL is needed by rpm-5.0- > 0.2.0.el5.rf > libc.so.6(GLIBC_2.3.4) is needed by rpm-5.0-0.2.0.el5.rf > libc.so.6(GLIBC_2.4) is needed by rpm-5.0-0.2.0.el5.rf > libcrypto.so.6 is needed by rpm-5.0-0.2.0.el5.rf > libneon.so.25 is needed by rpm-5.0-0.2.0.el5.rf > librpm-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > librpm-5.0.so(LIBRPM_0) is needed by rpm-5.0-0.2.0.el5.rf > librpmdb-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > librpmdb-5.0.so(LIBRPMDB_0) is needed by rpm-5.0-0.2.0.el5.rf > librpmio-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > librpmio-5.0.so(LIBRPMIO_0) is needed by rpm-5.0-0.2.0.el5.rf > libselinux.so.1 is needed by rpm-5.0-0.2.0.el5.rf > libssl.so.6 is needed by rpm-5.0-0.2.0.el5.rf > rtld(GNU_HASH) is needed by rpm-5.0-0.2.0.el5.rf > > You see it gets a little bit irritating after a while. I'd really love to just be able to > compile the NRPE from source, but then we're back at the original error which I was > trying to correct. > > -----Original Message----- > From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] > Sent: Wednesday, July 02, 2008 11:05 PM > To: James Pratt > Cc: Lorand S. D'Caltan; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > On Wed, 2008-07-02 at 14:38 -0400, James Pratt wrote: > > > > > > Hi. have you tried Dag?s RHEL3 rpm?s? ? Personally, I would just use > > SNMP, as ESX doesn?t like 3rd party agents/software, and neither does > > > Its just one binary and an RC script -- you can probably safely cross > build it. > > ~BAS > > > vmware support? :\ > > > > > > > > Regards, > > > > jamie > > > > > > > > From:nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > > Lorand S. D'Caltan > > Sent: Wednesday, July 02, 2008 2:24 PM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > > > > > > > > > I?ve been beating on this for a while now and I can?t get around this > > particular error in the NRPE configuration stage: > > > > > > > > > > > > checking for type of socket size... size_t > > > > > > checking for SSL headers... SSL headers found in /usr/local/ssl/ > > > > > > checking for SSL libraries... configure: error: Cannot find ssl > > libraries > > > > > > > > > > > > I?ve installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither > > of them apparently contain the correct libs. > > > > > > > > > > > > This is ESX, so it?s a very stripped down Linux and I don?t have RPM > > abilities so I can?t install the libopenssl RPM package. > > > > > > > > > > > > Any suggestions? > > > > > > > > > > > > Thanks > > > > > > > > > > > > <><><><><><><><> > > > > > > Lorand S. D'Caltan > > > > > > Systems Engineer > > > > > > iSystems LLC > > > > > > (802) 655-8347 x157 > > <><><><><><><><> > > > > > > CONFIDENTIALITY: The information contained in this message may be > > privileged and confidential and protected from disclosure. No > > confidentiality or privilege is waived or lost by any mistransmission. > > If the reader of this message is not the intended recipient, or an > > employee or agent responsible for delivering this message to the > > intended recipient, you are hereby notified that any dissemination, > > distribution or copying of this communication is strictly prohibited. > > Please immediately delete it and all copies of it from your system, > > destroy any hard copies of it and notify the sender. Thank you. > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ Nagios-users > mailing list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios > version, plugin version (-v) and OS when reporting any issue. ::: Messages without > supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Thu Jul 3 15:31:50 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Thu, 3 Jul 2008 09:31:50 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <486CAE34.6040508@man.poznan.pl> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <486BD01A.8010603@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9CC@email.isystems.lan> <486CAE34.6040508@man.poznan.pl> Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB9D1@email.isystems.lan> You know, I swear I tried the ./configure --with-ssl-lib=/usr/local/ssl/lib before and it didn't work, this time it did. Confusing. But then this: make all cd ./src/; make ; cd .. make[1]: Entering directory `/root/nrpe-2.12/src' gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lnsl -lwrap /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_init_context at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_resolve at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_free at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_default at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_sname_to_principal at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `__memcpy_chk at GLIBC_2.3.4' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_free_entry at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_default at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_initialize at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `valid_cksumtype at k5crypto_3_MIT' /usr/local/ssl/lib/libcrypto.so: undefined reference to `__memset_chk at GLIBC_2.3.4' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_cc_default at krb5_3_MIT' /usr/local/ssl/lib/libcrypto.so: undefined reference to `__vfprintf_chk at GLIBC_2.3.4' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_cc_get_principal at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_mk_req_extended at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `__fprintf_chk at GLIBC_2.3.4' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_close at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_context at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_getrcache at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_get_server_rcache at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_timeofday at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_destroy at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_principal_compare at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_ticket at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_decrypt_tkt_part at krb5_3_MIT' /usr/local/ssl/lib/libcrypto.so: undefined reference to `__strcat_chk at GLIBC_2.3.4' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_principal at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_setrcache at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_checksum_size at k5crypto_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_rc_get_lifespan at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `__stack_chk_fail at GLIBC_2.4' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_free_data_contents at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_auth_con_init at krb5_3_MIT' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_get_entry at krb5_3_MIT' /usr/local/ssl/lib/libcrypto.so: undefined reference to `__syslog_chk at GLIBC_2.4' /usr/local/ssl/lib/libssl.so: undefined reference to `__printf_chk at GLIBC_2.3.4' /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_get_credentials at krb5_3_MIT' /usr/local/ssl/lib/libcrypto.so: undefined reference to `__sprintf_chk at GLIBC_2.3.4' collect2: ld returned 1 exit status make[1]: *** [nrpe] Error 1 make[1]: Leaving directory `/root/nrpe-2.12/src' *** Compile finished *** If the NRPE daemon and client compiled without any errors, you can continue with the installation or upgrade process. Read the PDF documentation (NRPE.pdf) for information on the next steps you should take to complete the installation or upgrade. <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -----Original Message----- From: Jedrzej Jajor [mailto:jedrzej at man.poznan.pl] Sent: Thursday, July 03, 2008 6:47 AM To: 'nagios-users at lists.sourceforge.net' Cc: Lorand S. D'Caltan Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 Lorand S. D'Caltan wrote: > Thanks for the suggestion, I get the same error though. > > And here's something even more strange, even though I've installed OpenSSL, those two files were not present in /usr anywhere. > > I copied them from another server to /usr/local/ssl/lib but it still errors > > find /usr -name libcrypto.so > /usr/local/ssl/lib/libcrypto.so > find /usr -name libssl.so > /usr/local/ssl/lib/libssl.so If you took them from another server (I assume it's the same architecture, but to be sure check at least with 'file' whether copied files are of the same type as other .so libs that you have on your system), check whether they have all dependencies: ldd /usr/local/ssl/lib/libcrypto.so ldd /usr/local/ssl/lib/libssl.so (check for any unresolved dependencies). Also, if you installed the OpenSSL-devel-0.8.9h-1 from rpm (or other package) you can check if it contains these libs (rpm -ql OpenSSL-devel-0.8.9h-1). > env CFLAGS="-L /usr/local/ssl/lib" LD_FLAGS="-L /usr/local/ssl/lib -R /usr/local/ssl/lib" ./configure > 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 type of socket size... size_t > checking for SSL headers... SSL headers found in /usr/local/ssl > checking for SSL libraries... configure: error: Cannot find ssl libraries Try ./configure --with-ssl-lib=/usr/local/ssl/lib -- Regards, Andy ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Thu Jul 3 15:33:39 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Thu, 3 Jul 2008 09:33:39 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110B9C4AF@NUMAIL.norwich.edu> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan><3CB18FFE1CDC71449BCCEC0FFD983110B9C38B@NUMAIL.norwich.edu><1215054307.9810.72.camel@localhost.localdomain> <842A387C705B2546B8483DAD6148BDF621926BB9D0@email.isystems.lan> <3CB18FFE1CDC71449BCCEC0FFD983110B9C4AF@NUMAIL.norwich.edu> Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB9D2@email.isystems.lan> Everything really. Upstate, ping, Disk space, load, status of VMs, resource use by each VM, disk space free on each datastore, etc. <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Pratt Sent: Thursday, July 03, 2008 9:26 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 Yes, very messy indeed... :( Not to be nosy, but what exactly are you trying to monitor via nrpe on esx? ... There are many ways to skin the same cat in nagios-world, so perhaps if we knew what you were ultimately trying to do, we could suggest other ways to do the same thing? :) Regards, jamie > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lorand S. D'Caltan > Sent: Thursday, July 03, 2008 9:05 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > At this point it's much more about the unending chain of dependencies that I'm > running into trying to use RPMs > > rpm -ivh nagios-nrpe-2.12-2.i586.rpm > warning: only V3 signatures can be verified, skipping V4 signature > error: Failed dependencies: > libwrap-libs is needed by nagios-nrpe-2.12-2 > nagios-common is needed by nagios-nrpe-2.12-2 > rc-scripts is needed by nagios-nrpe-2.12-2 > > rpm -ivh libwrap-libs-7.6-43.i686.rpm > error: Failed dependencies: > rtld(GNU_HASH) is needed by libwrap-libs-7.6-43 > rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by libwrap-libs-7.6-43 > > rpm -ivh nagios-common-3.0.3-2.i586.rpm > error: Failed dependencies: > /bin/id is needed by nagios-common-3.0.3-2 > /usr/bin/getgid is needed by nagios-common-3.0.3-2 > rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by nagios-common-3.0.3-2 > > rpm-5.0-0.2.0.el5.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 1aa78495 > error: Failed dependencies: > beecrypt >= 4.1.2 is needed by rpm-5.0-0.2.0.el5.rf > getconf(GNU_LIBPTHREAD_VERSION) = NPTL is needed by rpm-5.0- > 0.2.0.el5.rf > libc.so.6(GLIBC_2.3.4) is needed by rpm-5.0-0.2.0.el5.rf > libc.so.6(GLIBC_2.4) is needed by rpm-5.0-0.2.0.el5.rf > libcrypto.so.6 is needed by rpm-5.0-0.2.0.el5.rf > libneon.so.25 is needed by rpm-5.0-0.2.0.el5.rf > librpm-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > librpm-5.0.so(LIBRPM_0) is needed by rpm-5.0-0.2.0.el5.rf > librpmdb-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > librpmdb-5.0.so(LIBRPMDB_0) is needed by rpm-5.0-0.2.0.el5.rf > librpmio-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > librpmio-5.0.so(LIBRPMIO_0) is needed by rpm-5.0-0.2.0.el5.rf > libselinux.so.1 is needed by rpm-5.0-0.2.0.el5.rf > libssl.so.6 is needed by rpm-5.0-0.2.0.el5.rf > rtld(GNU_HASH) is needed by rpm-5.0-0.2.0.el5.rf > > You see it gets a little bit irritating after a while. I'd really love to just be able to > compile the NRPE from source, but then we're back at the original error which I was > trying to correct. > > -----Original Message----- > From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] > Sent: Wednesday, July 02, 2008 11:05 PM > To: James Pratt > Cc: Lorand S. D'Caltan; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > On Wed, 2008-07-02 at 14:38 -0400, James Pratt wrote: > > > > > > Hi. have you tried Dag?s RHEL3 rpm?s? ? Personally, I would just use > > SNMP, as ESX doesn?t like 3rd party agents/software, and neither does > > > Its just one binary and an RC script -- you can probably safely cross > build it. > > ~BAS > > > vmware support? :\ > > > > > > > > Regards, > > > > jamie > > > > > > > > From:nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > > Lorand S. D'Caltan > > Sent: Wednesday, July 02, 2008 2:24 PM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > > > > > > > > > I?ve been beating on this for a while now and I can?t get around this > > particular error in the NRPE configuration stage: > > > > > > > > > > > > checking for type of socket size... size_t > > > > > > checking for SSL headers... SSL headers found in /usr/local/ssl/ > > > > > > checking for SSL libraries... configure: error: Cannot find ssl > > libraries > > > > > > > > > > > > I?ve installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither > > of them apparently contain the correct libs. > > > > > > > > > > > > This is ESX, so it?s a very stripped down Linux and I don?t have RPM > > abilities so I can?t install the libopenssl RPM package. > > > > > > > > > > > > Any suggestions? > > > > > > > > > > > > Thanks > > > > > > > > > > > > <><><><><><><><> > > > > > > Lorand S. D'Caltan > > > > > > Systems Engineer > > > > > > iSystems LLC > > > > > > (802) 655-8347 x157 > > <><><><><><><><> > > > > > > CONFIDENTIALITY: The information contained in this message may be > > privileged and confidential and protected from disclosure. No > > confidentiality or privilege is waived or lost by any mistransmission. > > If the reader of this message is not the intended recipient, or an > > employee or agent responsible for delivering this message to the > > intended recipient, you are hereby notified that any dissemination, > > distribution or copying of this communication is strictly prohibited. > > Please immediately delete it and all copies of it from your system, > > destroy any hard copies of it and notify the sender. Thank you. > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ Nagios-users > mailing list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios > version, plugin version (-v) and OS when reporting any issue. ::: Messages without > supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trice at cisco.com Thu Jul 3 15:33:06 2008 From: trice at cisco.com (Tony Rice (trice)) Date: Thu, 3 Jul 2008 09:33:06 -0400 Subject: Sidebar disappearing in Firefox In-Reply-To: References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> <200807011149.23598.dani@tydnet.org><858D9E58-DEEA-49BA-A147-92E37A681710@makalumedia.com><486BC07E.2030507@mailnetwork.co.uk> Message-ID: I've noticed the same thing over the last day or two as well. It's odd because the Nagios frames aren't anything special and I've not noticed it happening on any other websites that use frames. Have you tried disabling any add-ons in FireFox to see if that makes any difference. -Tony > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Niall O Broin > Sent: Wednesday, July 02, 2008 6:44 PM > To: Andy Shellam > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Sidebar disappearing in Firefox > > On 2 Jul 2008, at 18:53, Andy Shellam wrote: > > > Are you talking about Nagios' sidebar (e.g. the navigation > links) or > > Firefox's sidebar (e.g. Bookmarks/History?) I have seen > this issue in > > other multi-frame websites in Firefox, so it's not just specific to > > Nagios. My website CMS uses frames, and it happens > occasionally with > > it as well. > > > > I've only been running Firefox 3 since it was released a couple of > > weeks ago, but I haven't seen it happen in FF3 yet. > > I'm talking about the Nagios navigation sidebar, and I've > seen it happen with FF2 and FF3 > > > Niall > > > -------------------------------------------------------------- > ----------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source > project, along with a healthy diet, reduces your potential > for chronic lameness and boredom. Vote Now at > http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Thu Jul 3 15:42:17 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Thu, 3 Jul 2008 09:42:17 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110B9C4BF@NUMAIL.norwich.edu> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan><3CB18FFE1CDC71449BCCEC0FFD983110B9C38B@NUMAIL.norwich.edu><1215054307.9810.72.camel@localhost.localdomain><842A387C705B2546B8483DAD6148BDF621926BB9D0@email.isystems.lan> <3CB18FFE1CDC71449BCCEC0FFD983110B9C4AF@NUMAIL.norwich.edu> <842A387C705B2546B8483DAD6148BDF621926BB9D2@email.isystems.lan> <3CB18FFE1CDC71449BCCEC0FFD983110B9C4BF@NUMAIL.norwich.edu> Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB9D4@email.isystems.lan> I was trying that, but it's not certified to work with 3.5 and VMW changed a few things between 3.0 and 3.5. <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -----Original Message----- From: James Pratt [mailto:jpratt at norwich.edu] Sent: Thursday, July 03, 2008 9:40 AM To: Lorand S. D'Caltan Subject: RE: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 Ah, ok ... I was in the same boat a year or so ago, but gave up on nrpe for the same reasons you are having... anyhow, using snmp, we can do everything but the vmfs free, and we monitor the individual vm's separately via snmp as well since vmotion and such changes things so often... Are you attempting to use these? http://nagiosexchange.altinity.org/nagiosexchange/check_esx/ I see they finally have a 3.x version, so maybe I'll give it a try and let you know how it works for me as well on a test host... Thanks, jamie > -----Original Message----- > From: Lorand S. D'Caltan [mailto:ldcaltan at isystemsllc.com] > Sent: Thursday, July 03, 2008 9:34 AM > To: James Pratt; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > Everything really. > > Upstate, ping, Disk space, load, status of VMs, resource use by each VM, disk space > free on each datastore, etc. > > <><><><><><><><> > Lorand S. D'Caltan > Systems Engineer > iSystems LLC > (802) 655-8347 x157 > <><><><><><><><> > CONFIDENTIALITY: The information contained in this message may be privileged > and confidential and protected from disclosure. No confidentiality or privilege is > waived or lost by any mistransmission. If the reader of this message is not the > intended recipient, or an employee or agent responsible for delivering this message > to the intended recipient, you are hereby notified that any dissemination, > distribution or copying of this communication is strictly prohibited. Please > immediately delete it and all copies of it from your system, destroy any hard copies > of it and notify the sender. Thank you. > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of James Pratt > Sent: Thursday, July 03, 2008 9:26 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > Yes, very messy indeed... :( > > Not to be nosy, but what exactly are you trying to monitor via nrpe on esx? ... > There are many ways to skin the same cat in nagios-world, so perhaps if we knew > what you were ultimately trying to do, we could suggest other ways to do the same > thing? :) > > Regards, > jamie > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Lorand S. D'Caltan > > Sent: Thursday, July 03, 2008 9:05 AM > > To: 'nagios-users at lists.sourceforge.net' > > Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > > > At this point it's much more about the unending chain of dependencies that I'm > > running into trying to use RPMs > > > > rpm -ivh nagios-nrpe-2.12-2.i586.rpm > > warning: only V3 signatures can be verified, skipping V4 signature > > error: Failed dependencies: > > libwrap-libs is needed by nagios-nrpe-2.12-2 > > nagios-common is needed by nagios-nrpe-2.12-2 > > rc-scripts is needed by nagios-nrpe-2.12-2 > > > > rpm -ivh libwrap-libs-7.6-43.i686.rpm > > error: Failed dependencies: > > rtld(GNU_HASH) is needed by libwrap-libs-7.6-43 > > rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by libwrap-libs-7.6-43 > > > > rpm -ivh nagios-common-3.0.3-2.i586.rpm > > error: Failed dependencies: > > /bin/id is needed by nagios-common-3.0.3-2 > > /usr/bin/getgid is needed by nagios-common-3.0.3-2 > > rpmlib(PayloadIsLzma) <= 4.4.6-1 is needed by nagios-common-3.0.3-2 > > > > rpm-5.0-0.2.0.el5.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 1aa78495 > > error: Failed dependencies: > > beecrypt >= 4.1.2 is needed by rpm-5.0-0.2.0.el5.rf > > getconf(GNU_LIBPTHREAD_VERSION) = NPTL is needed by rpm-5.0- > > 0.2.0.el5.rf > > libc.so.6(GLIBC_2.3.4) is needed by rpm-5.0-0.2.0.el5.rf > > libc.so.6(GLIBC_2.4) is needed by rpm-5.0-0.2.0.el5.rf > > libcrypto.so.6 is needed by rpm-5.0-0.2.0.el5.rf > > libneon.so.25 is needed by rpm-5.0-0.2.0.el5.rf > > librpm-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > > librpm-5.0.so(LIBRPM_0) is needed by rpm-5.0-0.2.0.el5.rf > > librpmdb-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > > librpmdb-5.0.so(LIBRPMDB_0) is needed by rpm-5.0-0.2.0.el5.rf > > librpmio-5.0.so is needed by rpm-5.0-0.2.0.el5.rf > > librpmio-5.0.so(LIBRPMIO_0) is needed by rpm-5.0-0.2.0.el5.rf > > libselinux.so.1 is needed by rpm-5.0-0.2.0.el5.rf > > libssl.so.6 is needed by rpm-5.0-0.2.0.el5.rf > > rtld(GNU_HASH) is needed by rpm-5.0-0.2.0.el5.rf > > > > You see it gets a little bit irritating after a while. I'd really love to just be able to > > compile the NRPE from source, but then we're back at the original error which I > was > > trying to correct. > > > > -----Original Message----- > > From: Brian A. Seklecki [mailto:lavalamp at spiritual-machines.org] > > Sent: Wednesday, July 02, 2008 11:05 PM > > To: James Pratt > > Cc: Lorand S. D'Caltan; nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > > > On Wed, 2008-07-02 at 14:38 -0400, James Pratt wrote: > > > > > > > > > Hi. have you tried Dag?s RHEL3 rpm?s? ? Personally, I would just use > > > SNMP, as ESX doesn?t like 3rd party agents/software, and neither does > > > > > > Its just one binary and an RC script -- you can probably safely cross > > build it. > > > > ~BAS > > > > > vmware support? :\ > > > > > > > > > > > > Regards, > > > > > > jamie > > > > > > > > > > > > From:nagios-users-bounces at lists.sourceforge.net > > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > > > Lorand S. D'Caltan > > > Sent: Wednesday, July 02, 2008 2:24 PM > > > To: 'nagios-users at lists.sourceforge.net' > > > Subject: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 > > > > > > > > > > > > > > > I?ve been beating on this for a while now and I can?t get around this > > > particular error in the NRPE configuration stage: > > > > > > > > > > > > > > > > > > checking for type of socket size... size_t > > > > > > > > > checking for SSL headers... SSL headers found in /usr/local/ssl/ > > > > > > > > > checking for SSL libraries... configure: error: Cannot find ssl > > > libraries > > > > > > > > > > > > > > > > > > I?ve installed OpenSSL-0.9.8h and OpenSSL-devel-0.8.9h-1 and neither > > > of them apparently contain the correct libs. > > > > > > > > > > > > > > > > > > This is ESX, so it?s a very stripped down Linux and I don?t have RPM > > > abilities so I can?t install the libopenssl RPM package. > > > > > > > > > > > > > > > > > > Any suggestions? > > > > > > > > > > > > > > > > > > Thanks > > > > > > > > > > > > > > > > > > <><><><><><><><> > > > > > > > > > Lorand S. D'Caltan > > > > > > > > > Systems Engineer > > > > > > > > > iSystems LLC > > > > > > > > > (802) 655-8347 x157 > > > <><><><><><><><> > > > > > > > > > CONFIDENTIALITY: The information contained in this message may be > > > privileged and confidential and protected from disclosure. No > > > confidentiality or privilege is waived or lost by any mistransmission. > > > If the reader of this message is not the intended recipient, or an > > > employee or agent responsible for delivering this message to the > > > intended recipient, you are hereby notified that any dissemination, > > > distribution or copying of this communication is strictly prohibited. > > > Please immediately delete it and all copies of it from your system, > > > destroy any hard copies of it and notify the sender. Thank you. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------------------------- > > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ Nagios-users > > mailing list Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios > > version, plugin version (-v) and OS when reporting any issue. ::: Messages > without > > supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > > issue. > > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jedrzej at man.poznan.pl Thu Jul 3 15:48:34 2008 From: jedrzej at man.poznan.pl (Jedrzej Jajor) Date: Thu, 03 Jul 2008 15:48:34 +0200 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB9D1@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <486BD01A.8010603@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9CC@email.isystems.lan> <486CAE34.6040508@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9D1@email.isystems.lan> Message-ID: <486CD8B2.8060000@man.poznan.pl> Lorand S. D'Caltan pisze: > You know, I swear I tried the ./configure --with-ssl-lib=/usr/local/ssl/lib before and it didn't work, this time it did. Confusing. Maybe it was before you copied the libraries from the other machine? > But then this: > > make all > cd ./src/; make ; cd .. > make[1]: Entering directory `/root/nrpe-2.12/src' > gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lnsl -lwrap > /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_init_context at krb5_3_MIT' > /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_resolve at krb5_3_MIT' I suppose the other machine from which you copied libssl.so and libcrypto.so is slightly different and has Kerberos libraries installed. Try "ldd /usr/local/ssl/lib/libssl.so" and "ldd /usr/local/ssl/lib/libcrypto.so" on the NRPE machine and see which dependencies are missing. You can copy missing .so libs from the other machine (you should also repeat dependency check with ldd for all libs that you copy) or compile your own openssl on the NRPE host. -- Regards, Andy -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/x-pkcs7-signature Size: 3253 bytes Desc: S/MIME Cryptographic Signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From blynch at ameliaschools.com Thu Jul 3 16:16:53 2008 From: blynch at ameliaschools.com (Bo Lynch) Date: Thu, 3 Jul 2008 10:16:53 -0400 (EDT) Subject: Question about setup In-Reply-To: <20080703085905.3575ded4@tclmmw.in.tiger-computing.com> References: <58005.65.161.127.93.1215018057.squirrel@ameliaschools.com> <1215019251.3512.21.camel@localhost> <20080703085905.3575ded4@tclmmw.in.tiger-computing.com> Message-ID: <1379.66.222.109.251.1215094613.squirrel@ameliaschools.com> On Thu, July 3, 2008 3:59 am, Matthew Macdonald-Wallace wrote: > On Wed, 02 Jul 2008 11:20:51 -0600 > "Aaron M. Segura" wrote: > >> First, start here: >> http://nagios.sourceforge.net/docs/3_0/toc.html >> >> What you are asking is quite simple, and you should be able to handle >> it with minimal effort, assuming you first understand the >> documentation. >> >> On Wed, 2008-07-02 at 13:00 -0400, Bo Lynch wrote: >> > Hello everyone. I am new to nagios but have heard great thing about >> > it and would like to implement this at the school district that I >> > work for. We have about 15 internal linux servers, 2 windows 2003, >> > and 2 linux servers on public IP's that do email and apache. I'm >> > just looking for some suggestions on how I should set this up. Is >> > it possible to have one web interface monitor all servers? Thanks >> > in advance for any advice. -- >> > Bo Lynch > > If the are all on separate subnets/networks and it is not hugely easy > to route between them, you can either setup NAgios to monitor on a > number of different ports and just use NATing on your router, or use > something like OpenVPN from the "clients" (any machine running > NRPE/NSCA) to the Nagios server. > > We do both here and it works like a charm! :o) > > M. > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Thanks for all the great info. We are all on the same subnet so I think this won't be to bad to configure. Thanks again. Bo ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Thu Jul 3 16:58:04 2008 From: niall at makalumedia.com (Niall O Broin) Date: Thu, 3 Jul 2008 15:58:04 +0100 Subject: Sidebar disappearing in Firefox In-Reply-To: References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> <200807011149.23598.dani@tydnet.org><858D9E58-DEEA-49BA-A147-92E37A681710@makalumedia.com><486BC07E.2030507@mailnetwork.co.uk> Message-ID: <19A19178-7890-43D7-935A-982A57F3FC8A@makalumedia.com> On 3 Jul 2008, at 14:33, Tony Rice (trice) wrote: > I've noticed the same thing over the last day or two as well. It's > odd > because the Nagios frames aren't anything special and I've not noticed > it happening on any other websites that use frames. Have you tried > disabling any add-ons in FireFox to see if that makes any difference. No, I haven't because it happens rather rarely, and the fix is to restart FF (which I don't like to do as I usually have a metric shitload of open sites). Disabling an extension would require the same restart cycle, and then the problem would be gone - but I'd have no idea if the extension caused it or not. Niall ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 17:22:12 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 03 Jul 2008 17:22:12 +0200 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. In-Reply-To: References: Message-ID: <486CEEA4.9020307@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jason Ellmers wrote: | I will be Out of the Office | Start Date: 03/07/2008. | End Date: 07/07/2008. Great. Can the list administrator remove the person. This is the 5th away message this person is sending to the mailinglist. 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) iD8DBQFIbO6iBvzDRVjxmYERAsSEAKCDNR+rvYxAPBBwFgJ9x3j0GajoMwCdEyh2 UMMGYom/cZNdZQ7KWSY7usI= =DABI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 3 17:46:48 2008 From: marc at ena.com (Marc Powell) Date: Thu, 3 Jul 2008 10:46:48 -0500 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. In-Reply-To: <486CEEA4.9020307@vanderkooij.org> References: <486CEEA4.9020307@vanderkooij.org> Message-ID: <4AFA6CB0-6266-4911-B9C0-A2A32F20244B@ena.com> On Jul 3, 2008, at 10:22 AM, Hugo van der Kooij wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Jason Ellmers wrote: > | I will be Out of the Office > | Start Date: 03/07/2008. > | End Date: 07/07/2008. > > Great. Can the list administrator remove the person. This is the 5th > away message this person is sending to the mailinglist. There's no list admin listening here. If you want him to see it, send it to the -owner address. -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Thu Jul 3 19:22:01 2008 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Thu, 3 Jul 2008 13:22:01 -0400 Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <486CD8B2.8060000@man.poznan.pl> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <486BD01A.8010603@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9CC@email.isystems.lan> <486CAE34.6040508@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9D1@email.isystems.lan> <486CD8B2.8060000@man.poznan.pl> Message-ID: <842A387C705B2546B8483DAD6148BDF621926BB9DF@email.isystems.lan> I did the ldd and copied the files but the missing stuff still shows as missing, it's stuff from the GLIBC package so I suspect it was deliberately left out of ESX. I may just go over to SNMP, this is getting way too crazy. <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -----Original Message----- From: Jedrzej Jajor [mailto:jedrzej at man.poznan.pl] Sent: Thursday, July 03, 2008 9:49 AM To: 'nagios-users at lists.sourceforge.net' Cc: Lorand S. D'Caltan Subject: Re: [Nagios-users] NRPE-2.12 on VMWare ESX Server 3.5 Lorand S. D'Caltan pisze: > You know, I swear I tried the ./configure --with-ssl-lib=/usr/local/ssl/lib before and it didn't work, this time it did. Confusing. Maybe it was before you copied the libraries from the other machine? > But then this: > > make all > cd ./src/; make ; cd .. > make[1]: Entering directory `/root/nrpe-2.12/src' > gcc -g -O2 -I/usr/local/ssl/include/openssl -I/usr/local/ssl/include -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -L/usr/local/ssl/lib -lssl -lcrypto -lnsl -lwrap > /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_init_context at krb5_3_MIT' > /usr/local/ssl/lib/libssl.so: undefined reference to `krb5_kt_resolve at krb5_3_MIT' I suppose the other machine from which you copied libssl.so and libcrypto.so is slightly different and has Kerberos libraries installed. Try "ldd /usr/local/ssl/lib/libssl.so" and "ldd /usr/local/ssl/lib/libcrypto.so" on the NRPE machine and see which dependencies are missing. You can copy missing .so libs from the other machine (you should also repeat dependency check with ldd for all libs that you copy) or compile your own openssl on the NRPE host. -- Regards, Andy ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 3 20:41:12 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 3 Jul 2008 14:41:12 -0400 (EDT) Subject: NRPE-2.12 on VMWare ESX Server 3.5 In-Reply-To: <842A387C705B2546B8483DAD6148BDF621926BB9DF@email.isystems.lan> References: <842A387C705B2546B8483DAD6148BDF621926BB9CA@email.isystems.lan> <486BD01A.8010603@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9CC@email.isystems.lan> <486CAE34.6040508@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9D1@email.isystems.lan> <486CD8B2.8060000@man.poznan.pl> <842A387C705B2546B8483DAD6148BDF621926BB9DF@email.isystems.lan> Message-ID: <20080703141438.I16926@arbitor.digitalfreaks.org> On Thu, 3 Jul 2008, Lorand S. D'Caltan wrote: > I did the ldd and copied the files but the missing stuff still shows as > missing, it's stuff from the GLIBC package so I suspect it was > deliberately left out of ESX. Jesus ! -- how bad could it be? trust:$ ldd /usr/local/sbin/nrpe2 /usr/local/sbin/nrpe2: libssl.so.4 => /usr/lib/libssl.so.4 (0x800638000) libcrypto.so.4 => /lib/libcrypto.so.4 (0x800770000) libwrap.so.4 => /usr/lib/libwrap.so.4 (0x8009b7000) libc.so.6 => /lib/libc.so.6 (0x800abf000) Well, you paid for it -- you need to crawl up VMWare's ass and stay there until they fix this. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Fri Jul 4 03:26:41 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Fri, 04 Jul 2008 11:26:41 +1000 Subject: How do I receive alerts for only some of services I am a contact for? Message-ID: <486D7C51.4080601@edcint.co.nz> I'm wondering if anyone can think of a better way to configure the following scenario: Assume I have 2 services being monitored, service1 and service2. User1 wants to be able to see both services through the CGI interface and hence is defined as a contact for both of them. User1 wants notifications for service1 but NEVER for service2. The only way I can think of setting this up is as follows: 1. Turn off all notifications for User1. This is the username/password the person logs into the CGI with. 2. Create another user called User1_notifications. No one ever logs in as this user but it has the same contact details eg email etc as User1. User1_notifications has notifications enabled. 3. Setup User1_notifications as a contact for service1 only. Hence when service1 alerts User1 will never get alerted (notifications are off), User1_notifications will get alerted (and its really the same person as User1). When service2 alerts, User1 will never get alerted (notifications are off) and User1_notifications will also not get alerted (as they are not even a contact). Its a little bit ugly having to declare the contact twice, but at the moment its the only way I can think of achieving this. Any ideas appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at blue-labs.org Fri Jul 4 07:40:25 2008 From: david at blue-labs.org (David Ford) Date: Fri, 04 Jul 2008 01:40:25 -0400 Subject: problems with nagios spinning on notification Message-ID: <486DB7C9.6000103@blue-labs.org> When a service goes offline, nagios is supposed to tell nagios ircbot about it. The message gets to nagircbot but nagios is stuck in a dead heat run at 100% cpu on read() [1215140088.267404] [256.1] [pid=12801] Running command '/bin/echo "PROBLEM DispatchBuddy Internal_PING_WAP_Dayroom CRITICAL $OUTPUT$ $DATETIME$" > /etc/nagios/nagiosbot.pipe &'... [1215140088.274510] [064.1] [pid=12801] Making callbacks (type 10)... [1215140088.284985] [001.0] [pid=20014] process_macros() [1215140088.285654] [001.0] [pid=20014] process_macros() [1215140088.285925] [001.0] [pid=20014] process_macros() [1215140088.286113] [001.0] [pid=20014] process_macros() [1215140088.286279] [001.0] [pid=20014] process_macros() [1215140088.286455] [001.0] [pid=20014] process_macros() [1215140088.290542] [001.0] [pid=20014] process_macros() [1215140088.290890] [001.0] [pid=20014] process_macros() [1215140088.291084] [001.0] [pid=20014] process_macros() This was about 2.5 hours ago, the time now is +9400 seconds (2h36m) nagios is doing nothing else but: [...] read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) read(7, 0xbfa75b1c, 1023) = -1 EAGAIN (Resource temporarily unavailable) [...] Ranger data # ls -l /proc/12801/fd/7 lr-x------+ 1 root root 64 Jul 4 01:32 /proc/12801/fd/7 -> pipe:[65450357] Ranger data # lsof|grep 65450357 nagios 12801 nagios 7r FIFO 0,5 65450357 pipe sh 20016 nagios 8w FIFO 0,5 65450357 pipe Ranger data # ps auxww|grep 20016 nagios 20016 0.0 0.0 2816 560 ? S Jul03 0:00 sh -c /bin/echo "PROBLEM DispatchBuddy Internal_PING_WAP_Dayroom CRITICAL $OUTPUT$ $DATETIME$" > /etc/nagios/nagiosbot.pipe & nagios won't do anything further. I have to restart it. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Fri Jul 4 09:49:57 2008 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Fri, 4 Jul 2008 09:49:57 +0200 Subject: How do I receive alerts for only some of services I am a contact for? In-Reply-To: <486D7C51.4080601@edcint.co.nz> References: <486D7C51.4080601@edcint.co.nz> Message-ID: <20080704074957.GA9672@eric.schwarzvogel.de> Hi! On Fri, 04 Jul 2008, Matthew Jurgens wrote: > I'm wondering if anyone can think of a better way to configure the > following scenario: > > Assume I have 2 services being monitored, service1 and service2. > User1 wants to be able to see both services through the CGI interface and > hence is defined as a contact for both of them. > User1 wants notifications for service1 but NEVER for service2. > > The only way I can think of setting this up is as follows: > > 1. Turn off all notifications for User1. This is the > username/password the person logs into the CGI with. > 2. Create another user called User1_notifications. No one ever logs > in as this user but it has the same contact details eg email etc > as User1. User1_notifications has notifications enabled. > 3. Setup User1_notifications as a contact for service1 only. > > Hence when service1 alerts User1 will never get alerted (notifications are > off), User1_notifications will get alerted (and its really the same person > as User1). > When service2 alerts, User1 will never get alerted (notifications are off) > and User1_notifications will also not get alerted (as they are not even a > contact). > > Its a little bit ugly having to declare the contact twice, but at the > moment its the only way I can think of achieving this. > > Any ideas appreciated. We have solved this in the following way: - Every user gets a normal account for the web interface (usually named firstname.lastname). This has a non-delivering notification script and notification_options is set to "n". - For every delivery method (mail, sms, phone calli, ...) desired, a user gets an appropriate contact (firstname.lastname-mail etc) which is added to the relevant services, naturally with the corresponding notification scripts and options. This works surprisingly well. Factor in inheritance (i.e. re-use the normal contact everyone has in the notification contacts) and the configuration even stays manageable with a larger number of users. We currently have 253 users and 189 contact groups and this system works well for us. Regards, Tobias -- HARDFAIL("Not enough magic."); linux-2.4.0-test2/drivers/block/nbd.c ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Fri Jul 4 12:23:37 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Fri, 4 Jul 2008 06:23:37 -0400 Subject: unknown option in nrpe.cfg Message-ID: <13F36D2926AD444697093282F20041B707516009@buf-ex01.cymfony.com> I have a strange problem here. I have a box where an error is constantly being reported by syslog. The actual nagios checks are running fine. This is what shows during every service check: nrpe[18038]: Unknown option specified in config file '/usr/local/nagios/etc/nrpe.cfg' - Line 17 On line 17 it states: log_facility=daemon It's exactly the same as the other systems and I'm not getting this error there. It's running nrpe 2.12. The only thing unique about this box is that it's the only one running red hat 5 so not sure if that makes any sort of difference or if anyone else has seen this. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Fri Jul 4 15:29:08 2008 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 4 Jul 2008 06:29:08 -0700 (PDT) Subject: personalize notification commands Message-ID: <585218.90568.qm@web62404.mail.re1.yahoo.com> I want to set nagios to send a txt message if there is a down or critical status. I setup a nagios for testing to another box instead of playing in the stable nagios that was runnin. I already have email notification but sometimes I don't open my email in midnight so I need an alert ans I choose sms. I have an officemate who have a linux box and setup a url where if I visit the url it will send a txt message. Here is the sample url: http://x.x.x.x/testserver?page=sms_sendsmsmessage&multi_recipients=+123456789&smsmessage=testing&username=nagios&NOEXPIRE 123456789 = sms contact number testing = message of the sms Now, I have setup in commands.cfg the ff: define command{ command_name notify-by-txt command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nInfo: $SERVICE OUTPUT$\nDate: $LONGDATETIME$" |/usr/bin/links "http://x.x.x.x/testserver?page=sms_sendsmsmessage&multi_recipients=+123456789&smsmessage=$HOSTNAME&&username=nagios&NOEXPIRE &" } Then I set my contacts.cfg define contact{ contact_name nagios-admin alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-txt host_notification_commands notify-by-txt pager http://x.x.x.x/testserver?page=sms_sendsmsmessage&multi_recipients=+123456789&smsmessage=testing&username=nagios&NOEXPIRE } I see the logs in nagios the notify-by-txt but I don't receive a sms message. But when I command it via shell, I receive a sms message. Could someone direct me to right commands in notification commands? Can I set a sample script just to test notification commands? Yahoo! Toolbar is now powered with Search Assist.Download it now! http://ph.toolbar.yahoo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 4 15:58:49 2008 From: nagios at pgmail.net (Philipp Geschke) Date: Fri, 04 Jul 2008 15:58:49 +0200 Subject: personalize notification commands In-Reply-To: <585218.90568.qm@web62404.mail.re1.yahoo.com> References: <585218.90568.qm@web62404.mail.re1.yahoo.com> Message-ID: <486E2C99.1020607@pgmail.net> Hello, Nelson Serafica schrieb: > I want to set nagios to send a txt message if there is a down or > critical status. I setup a nagios for testing to another box instead of > playing in the stable nagios that was runnin. I already have email > notification but sometimes I don't open my email in midnight so I need > an alert ans I choose sms. I have an officemate who have a linux box and > setup a url where if I visit the url it will send a txt message. Here is > the sample url: > > http://x.x.x.x/testserver?page=sms_sendsmsmessage&multi_recipients=+123456789&smsmessage=testing&username=nagios&NOEXPIRE > > 123456789 = sms contact number > testing = message of the sms > > Now, I have setup in commands.cfg the ff: > > define command{ > command_name notify-by-txt > command_line /usr/bin/printf "%b" "Service: > $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\nInfo: $SERVICE > OUTPUT$\nDate: $LONGDATETIME$" |/usr/bin/links > "http://x.x.x.x/testserver?page=sms_sendsmsmessage&multi_recipients=+123456789&smsmessage=$HOSTNAME&&username=nagios&NOEXPIRE > &" > } > > Then I set my contacts.cfg > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-txt > host_notification_commands notify-by-txt > pager > http://x.x.x.x/testserver?page=sms_sendsmsmessage&multi_recipients=+123456789&smsmessage=testing&username=nagios&NOEXPIRE > } > > I see the logs in nagios the notify-by-txt but I don't receive a sms > message. But when I command it via shell, I receive a sms message. > > Could someone direct me to right commands in notification commands? Can > I set a sample script just to test notification commands? You could try to use a debug wrapper script, that will log, what nagios actually executes. Something close to this should do: #!/bin/sh echo `date` >> /tmp/plugin_debugger echo $* >> /tmp/plugin_debugger Not sure this will work, please try yourself. By executing this as the notification command it should log what actually was executed by nagios. That way you can see, if nagios fills your macros with the correct information. Also make sure that you run your shell tests as the nagios user, not as root. Regards, Philipp ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 4 18:14:30 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 04 Jul 2008 17:14:30 +0100 Subject: Checking multiple different procs in one service check Message-ID: <486E4C66.60104@googlemail.com> Hi, I have a need to test a collection of procs and their arguments in one service, I was going to post to the list to ask for suggestions, but then I thought to check NagiosExchange and found a couple of plugins, but nothing that suited my need, specifically they were orientated to testing if a process name is running, and the number of processes of a given name running, but they did not allow me to specify arguments that those processes must be running. I found this to be severely limiting when checking on collections of interdependent scripts (I don't want to just check how many "bash"s or "python"s are running...) So I've quickly written my own plugin in Bash to do this and I've posted it to NagiosExchange in case anyone else has this same requirement. The script is basically a wrapper around the standard check_procs allowing you to test several detailed services in one service check which gives a lot more intelligence that the traditional check if a single process is running, especially if you have any stack of programs/scripts/operations that all need to be running but you don't want to monitor them individually or you have too many of them to practically monitor individually. It currently takes a really nice and simple config file so it's easy to have a stack of specific things to test. Feedback is welcome and improvements will be made as needed/requested. I was considering adding support for process states and process metrics other than just the number of processes, but I don't (yet) use these options in check_procs and so I decided to keep the config file very very simple and clean, rather than bloat it with options nobody is using. I'll revise the plugin as I get requests from people doing specific things. You can find the plugin here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2649.html;d=1 So there you go, a question answered and a new plugin that will hopefully be generally useful for specific multi process checking. -h -- Hari Sekhon ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Jul 5 12:14:51 2008 From: Matthias.Flacke at gmx.de (Matthias Flacke) Date: Sat, 05 Jul 2008 12:14:51 +0200 Subject: Checking multiple different procs in one service check In-Reply-To: <486E4C66.60104@googlemail.com> References: <486E4C66.60104@googlemail.com> Message-ID: <486F499B.7010806@gmx.de> Hi Hari, please have a look at http://my-plugin.de/check_multi. It wraps arbitrary calls of plugins, commands, whatever you need and is not limited to process checks. Just as a more generic approach, while the basic idea is very similar ;-) -Matthias Hari Sekhon wrote: > Hi, > > I have a need to test a collection of procs and their arguments in > one service, I was going to post to the list to ask for suggestions, but > then I thought to check NagiosExchange and found a couple of plugins, > but nothing that suited my need, specifically they were orientated to > testing if a process name is running, and the number of processes of a > given name running, but they did not allow me to specify arguments that > those processes must be running. > > I found this to be severely limiting when checking on collections of > interdependent scripts (I don't want to just check how many "bash"s or > "python"s are running...) > > So I've quickly written my own plugin in Bash to do this and I've posted > it to NagiosExchange in case anyone else has this same requirement. > > The script is basically a wrapper around the standard check_procs > allowing you to test several detailed services in one service check > which gives a lot more intelligence that the traditional check if a > single process is running, especially if you have any stack of > programs/scripts/operations that all need to be running but you don't > want to monitor them individually or you have too many of them to > practically monitor individually. > > It currently takes a really nice and simple config file so it's easy to > have a stack of specific things to test. > > Feedback is welcome and improvements will be made as needed/requested. I > was considering adding support for process states and process metrics > other than just the number of processes, but I don't (yet) use these > options in check_procs and so I decided to keep the config file very > very simple and clean, rather than bloat it with options nobody is > using. I'll revise the plugin as I get requests from people doing > specific things. > > > You can find the plugin here: > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2649.html;d=1 > > So there you go, a question answered and a new plugin that will > hopefully be generally useful for specific multi process checking. > > -h > -- http://my-plugin.de/check_multi ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nolan.rumble at gmail.com Sun Jul 6 09:01:37 2008 From: nolan.rumble at gmail.com (Nolan Rumble) Date: Sun, 6 Jul 2008 09:01:37 +0200 Subject: Nagios 2.12 author format In-Reply-To: <4868D0C9.3040203@uvm.edu> References: <4863A1DC.5060807@uvm.edu> <1214689710.6202.61.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> <4868D0C9.3040203@uvm.edu> Message-ID: <9309d6380807060001n3596af7dv86152a09210e839e@mail.gmail.com> The series of events were this. > > 1. It's working. > 2. Build and install 2.12. > 3. It's broken. > > Seems pretty clear to me it's either a code bug, or the new code doesn't > like something about my config files that the older version didn't care > about. > I have had the same problem with my Nagios installation, only I've installed it from a pre-packaged version of Nagios for CentOS 4 and 5. I noticed the problem when having to view the availability reports. My quick fix solution was to find another avail.cgi script that was from the previous installation and put it in the current avail.cgi's place. I also noticed that if I change my servicegroup/hostgroup names to not include spaces, then the reports were generated as expected. I also think it could be a code bug, or an undocumented feature :P Regards, Nolan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Jul 6 10:54:43 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 06 Jul 2008 09:54:43 +0100 Subject: [Nagiosplug-help] plugin help In-Reply-To: <3195D0BDB3A7404A98BF27418FCE3E1E@mcalauttPC> References: <486E5F59.2060607@mailnetwork.co.uk> <3195D0BDB3A7404A98BF27418FCE3E1E@mcalauttPC> Message-ID: <48708853.2030706@mailnetwork.co.uk> Hi Mike, Firstly don't forget to CC in the list so others can benefit from answers. Secondly, the config file you've given doesn't contain the definition for the service "Current Http" which is what Nagios is complaining about. Therefore it's either defined in a different config file, or you haven't given us the complete localhost.cfg (which would be better if you attached it or only paste the relevant section of it.) Nagios isn't complaining that the "check_http" command isn't defined (which as you've identified, it is) - it's complaining that a command called "check_http -H 192.168.0.5" isn't defined, which means you've got an incorrect syntax in the service definition for "Current Http" on "localhost." I think you need to read up more about how to define services, and using macros such as $HOSTADDRESS$ to your advantage. Andy mcalautt wrote: > ya the check_http entry was already in my commands.cfg by default I > assume ? > > grep http commands.cfg > # 'check_http' command definition > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > > the check_http plugin was not in the plugins directory with the > standard install. > btw, i did this with YUM in fedora. > then I install the base plugin pkg with YUM as well and that gave me > the check_http script in the plugins > dir. > so when I didnt see it on the web gui I assumed I had to make an entry > in the localhost.cfg > I copied the check_load entry and made changes to use the check_http > and thats when I get the error. > > I pasted the localhost.cfg below. > > > > ############################################################################### > > # LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE > # > # Last Modified: 11-27-2006 > # > # NOTE: This config file is intended to servce as an *extremely* simple > # example of how you can create your object configuration file(s). > # > ############################################################################### > > > > > ############################################################################### > > ############################################################################### > > # > # TIME PERIODS > # > ############################################################################### > > ############################################################################### > > > # This defines a timeperiod where all times are valid for checks, > # notifications, etc. The classic "24x7" support nightmare. :-) > > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > > # 'workhours' timeperiod definition > define timeperiod{ > timeperiod_name workhours > alias "Normal" Working Hours > monday 09:00-17:00 > tuesday 09:00-17:00 > wednesday 09:00-17:00 > thursday 09:00-17:00 > friday 09:00-17:00 > } > > > # 'nonworkhours' timeperiod definition > define timeperiod{ > timeperiod_name nonworkhours > alias Non-Work Hours > sunday 00:00-24:00 > monday 00:00-09:00,17:00-24:00 > tuesday 00:00-09:00,17:00-24:00 > wednesday 00:00-09:00,17:00-24:00 > thursday 00:00-09:00,17:00-24:00 > friday 00:00-09:00,17:00-24:00 > saturday 00:00-24:00 > } > > > # 'none' timeperiod definition > define timeperiod{ > timeperiod_name none > alias No Time Is A Good Time > } > > > > ############################################################################### > > ############################################################################### > > # > # COMMANDS > # > ############################################################################### > > ############################################################################### > > > # NOTE: Sample command definitions can now be found in the sample > commands.cfg > # file > > > > > ############################################################################### > > ############################################################################### > > # > # CONTACTS > # > ############################################################################### > > ############################################################################### > > > # In this simple config file, a single contact will receive all alerts. > # This assumes that you have an account (or email alias) called > # "nagios-admin" on the local host. > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email mcalautt at gmail.com > } > > > > ############################################################################### > > ############################################################################### > > # > # 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 nagios-admin > } > > > > ############################################################################### > > ############################################################################### > > # > # HOSTS > # > ############################################################################### > > ############################################################################### > > > # Generic host definition template - This is NOT a real host, just a > template! > > define host{ > name generic-host ; The name of > this host template > notifications_enabled 1 ; Host notifications > are enabled > event_handler_enabled 1 ; Host event handler > is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > notification_period 24x7 ; Send host notifications at any time > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > # Linux host definition template - This is NOT a real host, just a > template! > > define host{ > name linux-server ; The name of this host template > use generic-host ; This template inherits other values from the > generic-host template > check_period 24x7 ; By default, Linux hosts are checked round the > clock > max_check_attempts 10 ; Check each Linux host 10 times (max) > check_command check-host-alive ; Default command to > check Linux hosts > notification_period workhours ; Linux admins hate to be woken up, so > we only notify during the day > ; Note that the notification_period variable is being overridden > from > ; the value that is inherited from the generic-host template! > notification_interval 120 ; Resend notification every 2 hours > notification_options d,u,r ; Only send notifications for specific > host states > contact_groups admins ; Notifications get sent to the admins by > default > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, > JUST A TEMPLATE! > } > > > # Since this is a simple configuration file, we only monitor one host > - the > # local host (this machine). > > define host{ > use linux-server ; Name of host > template to use > ; This host definition will inherit all variables that are defined > ; in (or inherited by) the linux-server host template definition. > host_name localhost > alias localhost > address 127.0.0.1 > } > > > > ############################################################################### > > ############################################################################### > > # > # HOST GROUPS > # > ############################################################################### > > ############################################################################### > > > # We only have one host in our simple config file, so there is no need to > # create more than one hostgroup. > > define hostgroup{ > hostgroup_name test > alias Test Servers > members localhost > } > > > > ############################################################################### > > ############################################################################### > > # > # SERVICES > # > ############################################################################### > > ############################################################################### > > > # Generic service definition template - This is NOT a real service, > just a template! > > define service{ > name generic-service ; The 'name' > of this service template > active_checks_enabled 1 ; Active service > checks are enabled > passive_checks_enabled 1 ; Passive service > checks are enabled/accepted > parallelize_check 1 ; Active service > checks should be parallelized (disabling this can lead to major > performance problems) > obsess_over_service 1 ; We should obsess > over this service (if necessary) > check_freshness 0 ; Default is to NOT > check service 'freshness' > notifications_enabled 1 ; Service > notifications are enabled > event_handler_enabled 1 ; Service event > handler is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > is_volatile 0 ; The service is not > volatile > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > # Local service definition template - This is NOT a real service, just > a template! > > define service{ > name local-service ; The name of this service template > use generic-service ; Inherit default values from the > generic-service definition > check_period 24x7 ; The service can be > checked at any time of the day > max_check_attempts 4 ; Re-check the service up > to 4 times in order to determine its final (hard) state > normal_check_interval 5 ; Check the service every 5 > minutes under normal conditions > retry_check_interval 1 ; Re-check the service > every minute until a hard state can be determined > contact_groups admins ; Notifications get > sent out to everyone in the 'admins' group > notification_options w,u,c,r ; Send notifications about warning, > unknown, critical, and recovery events > notification_interval 60 ; Re-notify about service > problems every hour > notification_period 24x7 ; Notifications can be > sent out at any time > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > # Define a service to "ping" the local machine > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > > # Define a service to check the disk space of the root partition > # on the local machine. Warning if < 20% free, critical if > # < 10% free space on partition. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Root Partition > check_command check_local_disk!20%!10%!/ > } > > > > # Define a service to check the number of currently logged in > # users on the local machine. Warning if > 20 users, critical > # if > 50 users. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Current Users > check_command check_local_users!20!50 > } > > > # Define a service to check the number of currently running procs > # on the local machine. Warning if > 250 processes, critical if > # > 400 users. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Total Processes > check_command check_local_procs!250!400!RSZDT > } > > > > # Define a service to check the load on the local machine. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Current Load > check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > } > > > > THANKS > MIKE > > ----- Original Message ----- From: "Andy Shellam" > > To: "mcalautt" > Cc: > Sent: Friday, July 04, 2008 1:35 PM > Subject: Re: [Nagiosplug-help] plugin help > > >> Hi Mike, >> >> It looks Nagios is trying to find a command called "check_http -H >> 192.168.0.5." >> >> What is your service definition for the "localhost" host (in >> localhost.cfg) ? >> The relevant line should be: >> >> service { >> ... >> check_command check_http >> ... >> } >> >> I'm guessing at the minute it says something like >> >> service { >> ... >> host localhost >> ... >> check_command check_http -H $HOSTADDRESS$ >> ... >> } >> >> which is incorrect. Your command definition looks fine. >> >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command >> >> Andy >> >> mcalautt wrote: >>> trying to implement the check_http plugin. >>> when ever I add the entry to the localhost.cfg and run a sanity >>> check I get. >>> Checking services... >>> Error: Service check command 'check_http -H 192.168.0.5' specified >>> in service 'Current Http' for host 'localhost' not defined anywhere! >>> I cant find any docs on how to add the plugin. >>> there is reference to it in commands.cfg but it is not displayed on >>> the webpage under service details. >>> everything else listed in >>> pwd >>> /etc/nagios >>> grep check_http *|grep -vi sampl >>> commands.cfg:# 'check_http' command definition >>> commands.cfg: command_name check_http >>> commands.cfg: command_line $USER1$/check_http -H >>> $HOSTADDRESS$ >>> thanks >>> mike >>> ------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------- >>> >>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>> Studies have shown that voting for your favorite open source project, >>> along with a healthy diet, reduces your potential for chronic lameness >>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> 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 >>> > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mrk at aadhee.com Sun Jul 6 12:19:10 2008 From: mrk at aadhee.com (ADMIN AADHEE) Date: Sun, 6 Jul 2008 03:19:10 -0700 Subject: [Nagiosplug-help] plugin help In-Reply-To: <48708853.2030706@mailnetwork.co.uk> References: <48708853.2030706@mailnetwork.co.uk> Message-ID: Hello Friends, I have a different problem with Nagios plugins.I am using current version 1.4.12.The problem is I was trying to issue command ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql=/usr/bin/mysql_config It is skipping mysql_check compilation and giving warning like install mysql client libraries. Even I installed Mysql client libraries problem remains same. I am using 32bit Fedora8,mysql is 5.0.45,nagios3 plug-in 1.3.12. And I have seen plugins directory there was mysql_check.c file exists. Can any one help Rama Krishna Email : mrk at dbatimes.com -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy Shellam Sent: Sunday, July 06, 2008 1:55 AM To: mcalautt Cc: nagios-user Mailinglist Subject: Re: [Nagios-users] [Nagiosplug-help] plugin help Hi Mike, Firstly don't forget to CC in the list so others can benefit from answers. Secondly, the config file you've given doesn't contain the definition for the service "Current Http" which is what Nagios is complaining about. Therefore it's either defined in a different config file, or you haven't given us the complete localhost.cfg (which would be better if you attached it or only paste the relevant section of it.) Nagios isn't complaining that the "check_http" command isn't defined (which as you've identified, it is) - it's complaining that a command called "check_http -H 192.168.0.5" isn't defined, which means you've got an incorrect syntax in the service definition for "Current Http" on "localhost." I think you need to read up more about how to define services, and using macros such as $HOSTADDRESS$ to your advantage. Andy mcalautt wrote: > ya the check_http entry was already in my commands.cfg by default I > assume ? > > grep http commands.cfg > # 'check_http' command definition > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ > > the check_http plugin was not in the plugins directory with the > standard install. > btw, i did this with YUM in fedora. > then I install the base plugin pkg with YUM as well and that gave me > the check_http script in the plugins > dir. > so when I didnt see it on the web gui I assumed I had to make an entry > in the localhost.cfg > I copied the check_load entry and made changes to use the check_http > and thats when I get the error. > > I pasted the localhost.cfg below. > > > > ############################################################################ ### > > # LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE > # > # Last Modified: 11-27-2006 > # > # NOTE: This config file is intended to servce as an *extremely* simple > # example of how you can create your object configuration file(s). > # > ############################################################################ ### > > > > > ############################################################################ ### > > ############################################################################ ### > > # > # TIME PERIODS > # > ############################################################################ ### > > ############################################################################ ### > > > # This defines a timeperiod where all times are valid for checks, > # notifications, etc. The classic "24x7" support nightmare. :-) > > define timeperiod{ > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > > # 'workhours' timeperiod definition > define timeperiod{ > timeperiod_name workhours > alias "Normal" Working Hours > monday 09:00-17:00 > tuesday 09:00-17:00 > wednesday 09:00-17:00 > thursday 09:00-17:00 > friday 09:00-17:00 > } > > > # 'nonworkhours' timeperiod definition > define timeperiod{ > timeperiod_name nonworkhours > alias Non-Work Hours > sunday 00:00-24:00 > monday 00:00-09:00,17:00-24:00 > tuesday 00:00-09:00,17:00-24:00 > wednesday 00:00-09:00,17:00-24:00 > thursday 00:00-09:00,17:00-24:00 > friday 00:00-09:00,17:00-24:00 > saturday 00:00-24:00 > } > > > # 'none' timeperiod definition > define timeperiod{ > timeperiod_name none > alias No Time Is A Good Time > } > > > > ############################################################################ ### > > ############################################################################ ### > > # > # COMMANDS > # > ############################################################################ ### > > ############################################################################ ### > > > # NOTE: Sample command definitions can now be found in the sample > commands.cfg > # file > > > > > ############################################################################ ### > > ############################################################################ ### > > # > # CONTACTS > # > ############################################################################ ### > > ############################################################################ ### > > > # In this simple config file, a single contact will receive all alerts. > # This assumes that you have an account (or email alias) called > # "nagios-admin" on the local host. > > define contact{ > contact_name nagios-admin > alias Nagios Admin > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email mcalautt at gmail.com > } > > > > ############################################################################ ### > > ############################################################################ ### > > # > # 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 nagios-admin > } > > > > ############################################################################ ### > > ############################################################################ ### > > # > # HOSTS > # > ############################################################################ ### > > ############################################################################ ### > > > # Generic host definition template - This is NOT a real host, just a > template! > > define host{ > name generic-host ; The name of > this host template > notifications_enabled 1 ; Host notifications > are enabled > event_handler_enabled 1 ; Host event handler > is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > notification_period 24x7 ; Send host notifications at any time > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > } > > > # Linux host definition template - This is NOT a real host, just a > template! > > define host{ > name linux-server ; The name of this host template > use generic-host ; This template inherits other values from the > generic-host template > check_period 24x7 ; By default, Linux hosts are checked round the > clock > max_check_attempts 10 ; Check each Linux host 10 times (max) > check_command check-host-alive ; Default command to > check Linux hosts > notification_period workhours ; Linux admins hate to be woken up, so > we only notify during the day > ; Note that the notification_period variable is being overridden > from > ; the value that is inherited from the generic-host template! > notification_interval 120 ; Resend notification every 2 hours > notification_options d,u,r ; Only send notifications for specific > host states > contact_groups admins ; Notifications get sent to the admins by > default > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, > JUST A TEMPLATE! > } > > > # Since this is a simple configuration file, we only monitor one host > - the > # local host (this machine). > > define host{ > use linux-server ; Name of host > template to use > ; This host definition will inherit all variables that are defined > ; in (or inherited by) the linux-server host template definition. > host_name localhost > alias localhost > address 127.0.0.1 > } > > > > ############################################################################ ### > > ############################################################################ ### > > # > # HOST GROUPS > # > ############################################################################ ### > > ############################################################################ ### > > > # We only have one host in our simple config file, so there is no need to > # create more than one hostgroup. > > define hostgroup{ > hostgroup_name test > alias Test Servers > members localhost > } > > > > ############################################################################ ### > > ############################################################################ ### > > # > # SERVICES > # > ############################################################################ ### > > ############################################################################ ### > > > # Generic service definition template - This is NOT a real service, > just a template! > > define service{ > name generic-service ; The 'name' > of this service template > active_checks_enabled 1 ; Active service > checks are enabled > passive_checks_enabled 1 ; Passive service > checks are enabled/accepted > parallelize_check 1 ; Active service > checks should be parallelized (disabling this can lead to major > performance problems) > obsess_over_service 1 ; We should obsess > over this service (if necessary) > check_freshness 0 ; Default is to NOT > check service 'freshness' > notifications_enabled 1 ; Service > notifications are enabled > event_handler_enabled 1 ; Service event > handler is enabled > flap_detection_enabled 1 ; Flap detection is > enabled > failure_prediction_enabled 1 ; Failure prediction > is enabled > process_perf_data 1 ; Process performance > data > retain_status_information 1 ; Retain status > information across program restarts > retain_nonstatus_information 1 ; Retain non-status > information across program restarts > is_volatile 0 ; The service is not > volatile > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > # Local service definition template - This is NOT a real service, just > a template! > > define service{ > name local-service ; The name of this service template > use generic-service ; Inherit default values from the > generic-service definition > check_period 24x7 ; The service can be > checked at any time of the day > max_check_attempts 4 ; Re-check the service up > to 4 times in order to determine its final (hard) state > normal_check_interval 5 ; Check the service every 5 > minutes under normal conditions > retry_check_interval 1 ; Re-check the service > every minute until a hard state can be determined > contact_groups admins ; Notifications get > sent out to everyone in the 'admins' group > notification_options w,u,c,r ; Send notifications about warning, > unknown, critical, and recovery events > notification_interval 60 ; Re-notify about service > problems every hour > notification_period 24x7 ; Notifications can be > sent out at any time > register 0 ; DONT REGISTER THIS > DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! > } > > > # Define a service to "ping" the local machine > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > > # Define a service to check the disk space of the root partition > # on the local machine. Warning if < 20% free, critical if > # < 10% free space on partition. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Root Partition > check_command check_local_disk!20%!10%!/ > } > > > > # Define a service to check the number of currently logged in > # users on the local machine. Warning if > 20 users, critical > # if > 50 users. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Current Users > check_command check_local_users!20!50 > } > > > # Define a service to check the number of currently running procs > # on the local machine. Warning if > 250 processes, critical if > # > 400 users. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Total Processes > check_command check_local_procs!250!400!RSZDT > } > > > > # Define a service to check the load on the local machine. > > define service{ > use local-service ; Name of > service template to use > host_name localhost > service_description Current Load > check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 > } > > > > THANKS > MIKE > > ----- Original Message ----- From: "Andy Shellam" > > To: "mcalautt" > Cc: > Sent: Friday, July 04, 2008 1:35 PM > Subject: Re: [Nagiosplug-help] plugin help > > >> Hi Mike, >> >> It looks Nagios is trying to find a command called "check_http -H >> 192.168.0.5." >> >> What is your service definition for the "localhost" host (in >> localhost.cfg) ? >> The relevant line should be: >> >> service { >> ... >> check_command check_http >> ... >> } >> >> I'm guessing at the minute it says something like >> >> service { >> ... >> host localhost >> ... >> check_command check_http -H $HOSTADDRESS$ >> ... >> } >> >> which is incorrect. Your command definition looks fine. >> >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service >> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command >> >> Andy >> >> mcalautt wrote: >>> trying to implement the check_http plugin. >>> when ever I add the entry to the localhost.cfg and run a sanity >>> check I get. >>> Checking services... >>> Error: Service check command 'check_http -H 192.168.0.5' specified >>> in service 'Current Http' for host 'localhost' not defined anywhere! >>> I cant find any docs on how to add the plugin. >>> there is reference to it in commands.cfg but it is not displayed on >>> the webpage under service details. >>> everything else listed in >>> pwd >>> /etc/nagios >>> grep check_http *|grep -vi sampl >>> commands.cfg:# 'check_http' command definition >>> commands.cfg: command_name check_http >>> commands.cfg: command_line $USER1$/check_http -H >>> $HOSTADDRESS$ >>> thanks >>> mike >>> ------------------------------------------------------------------------ >>> >>> >>> ------------------------------------------------------------------------- >>> >>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>> Studies have shown that voting for your favorite open source project, >>> along with a healthy diet, reduces your potential for chronic lameness >>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> 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 >>> > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jul 6 14:48:01 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 06 Jul 2008 14:48:01 +0200 Subject: [Nagiosplug-help] plugin help In-Reply-To: References: Message-ID: <4870BF01.5020502@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 ADMIN AADHEE wrote: | Hello Friends, | I have a different problem with Nagios plugins.I am using current version | 1.4.12.The problem is I was trying to issue command | ./configure --with-nagios-user=nagios --with-nagios-group=nagios | --with-mysql=/usr/bin/mysql_config | It is skipping mysql_check compilation and giving warning like install mysql | client libraries. Even I installed Mysql client libraries problem remains | same. | | I am using 32bit Fedora8,mysql is 5.0.45,nagios3 plug-in 1.3.12. | And I have seen plugins directory there was mysql_check.c file exists. | Can any one help The first obvious question: Do you have mysql-devel installed? And while we are at the subject. Why not install nagios-plugins with yum and be done with it? (There is a good set on rpmforge.) Hugo. PS: It is not considered nice to hijack another thread and leave all ( > 100 lines) of the irrelevant stuff in place to post another question. - -- 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) iD8DBQFIcL7/BvzDRVjxmYERAohPAJ9C1I2N2fsQwu+RxNzbr/o9rKU7QQCfdNB9 FzLQbwNoZUs/Opas8mrm32k= =m4AM -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Jul 6 14:50:01 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 06 Jul 2008 13:50:01 +0100 Subject: [Nagiosplug-help] plugin help Message-ID: <4870BF79.30702@mailnetwork.co.uk> Hi Rama, Please do not hijack another user's thread - please start a new one. Additionally, this question would be best suited on the nagiosplug-help list (cc'd.) I think this is because you're giving the full path to the mysql_config binary. --with-mysql requires the installation folder as an argument, it will locate mysql_config itself. e.g. ./configure --with-nagios-user=nagios --with-nagios-group=nagios --with-mysql=/usr Andy ADMIN AADHEE wrote: > Hello Friends, > I have a different problem with Nagios plugins.I am using current version > 1.4.12.The problem is I was trying to issue command > ./configure --with-nagios-user=nagios --with-nagios-group=nagios > --with-mysql=/usr/bin/mysql_config > It is skipping mysql_check compilation and giving warning like install mysql > client libraries. Even I installed Mysql client libraries problem remains > same. > > I am using 32bit Fedora8,mysql is 5.0.45,nagios3 plug-in 1.3.12. > And I have seen plugins directory there was mysql_check.c file exists. > Can any one help > > > Rama Krishna > Email : mrk at dbatimes.com > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Andy > Shellam > Sent: Sunday, July 06, 2008 1:55 AM > To: mcalautt > Cc: nagios-user Mailinglist > Subject: Re: [Nagios-users] [Nagiosplug-help] plugin help > > Hi Mike, > > Firstly don't forget to CC in the list so others can benefit from answers. > Secondly, the config file you've given doesn't contain the definition > for the service "Current Http" which is what Nagios is complaining about. > > Therefore it's either defined in a different config file, or you haven't > given us the complete localhost.cfg (which would be better if you > attached it or only paste the relevant section of it.) > > Nagios isn't complaining that the "check_http" command isn't defined > (which as you've identified, it is) - it's complaining that a command > called "check_http -H 192.168.0.5" isn't defined, which means you've got > an incorrect syntax in the service definition for "Current Http" on > "localhost." > > I think you need to read up more about how to define services, and using > macros such as $HOSTADDRESS$ to your advantage. > > Andy > > mcalautt wrote: > >> ya the check_http entry was already in my commands.cfg by default I >> assume ? >> >> grep http commands.cfg >> # 'check_http' command definition >> command_name check_http >> command_line $USER1$/check_http -H $HOSTADDRESS$ >> >> the check_http plugin was not in the plugins directory with the >> standard install. >> btw, i did this with YUM in fedora. >> then I install the base plugin pkg with YUM as well and that gave me >> the check_http script in the plugins >> dir. >> so when I didnt see it on the web gui I assumed I had to make an entry >> in the localhost.cfg >> I copied the check_load entry and made changes to use the check_http >> and thats when I get the error. >> >> I pasted the localhost.cfg below. >> >> >> >> >> > ############################################################################ > ### > >> # LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE >> # >> # Last Modified: 11-27-2006 >> # >> # NOTE: This config file is intended to servce as an *extremely* simple >> # example of how you can create your object configuration file(s). >> # >> >> > ############################################################################ > ### > >> >> >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # >> # TIME PERIODS >> # >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # This defines a timeperiod where all times are valid for checks, >> # notifications, etc. The classic "24x7" support nightmare. :-) >> >> define timeperiod{ >> timeperiod_name 24x7 >> alias 24 Hours A Day, 7 Days A Week >> sunday 00:00-24:00 >> monday 00:00-24:00 >> tuesday 00:00-24:00 >> wednesday 00:00-24:00 >> thursday 00:00-24:00 >> friday 00:00-24:00 >> saturday 00:00-24:00 >> } >> >> >> # 'workhours' timeperiod definition >> define timeperiod{ >> timeperiod_name workhours >> alias "Normal" Working Hours >> monday 09:00-17:00 >> tuesday 09:00-17:00 >> wednesday 09:00-17:00 >> thursday 09:00-17:00 >> friday 09:00-17:00 >> } >> >> >> # 'nonworkhours' timeperiod definition >> define timeperiod{ >> timeperiod_name nonworkhours >> alias Non-Work Hours >> sunday 00:00-24:00 >> monday 00:00-09:00,17:00-24:00 >> tuesday 00:00-09:00,17:00-24:00 >> wednesday 00:00-09:00,17:00-24:00 >> thursday 00:00-09:00,17:00-24:00 >> friday 00:00-09:00,17:00-24:00 >> saturday 00:00-24:00 >> } >> >> >> # 'none' timeperiod definition >> define timeperiod{ >> timeperiod_name none >> alias No Time Is A Good Time >> } >> >> >> >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # >> # COMMANDS >> # >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # NOTE: Sample command definitions can now be found in the sample >> commands.cfg >> # file >> >> >> >> >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # >> # CONTACTS >> # >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # In this simple config file, a single contact will receive all alerts. >> # This assumes that you have an account (or email alias) called >> # "nagios-admin" on the local host. >> >> define contact{ >> contact_name nagios-admin >> alias Nagios Admin >> service_notification_period 24x7 >> host_notification_period 24x7 >> service_notification_options w,u,c,r >> host_notification_options d,r >> service_notification_commands notify-by-email >> host_notification_commands host-notify-by-email >> email mcalautt at gmail.com >> } >> >> >> >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # >> # 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 nagios-admin >> } >> >> >> >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # >> # HOSTS >> # >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # Generic host definition template - This is NOT a real host, just a >> template! >> >> define host{ >> name generic-host ; The name of >> this host template >> notifications_enabled 1 ; Host notifications >> are enabled >> event_handler_enabled 1 ; Host event handler >> is enabled >> flap_detection_enabled 1 ; Flap detection is >> enabled >> failure_prediction_enabled 1 ; Failure prediction >> is enabled >> process_perf_data 1 ; Process performance >> data >> retain_status_information 1 ; Retain status >> information across program restarts >> retain_nonstatus_information 1 ; Retain non-status >> information across program restarts >> notification_period 24x7 ; Send host notifications at any time >> register 0 ; DONT REGISTER THIS >> DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! >> } >> >> >> # Linux host definition template - This is NOT a real host, just a >> template! >> >> define host{ >> name linux-server ; The name of this host template >> use generic-host ; This template inherits other values from the >> generic-host template >> check_period 24x7 ; By default, Linux hosts are checked round the >> clock >> max_check_attempts 10 ; Check each Linux host 10 times (max) >> check_command check-host-alive ; Default command to >> check Linux hosts >> notification_period workhours ; Linux admins hate to be woken up, so >> we only notify during the day >> ; Note that the notification_period variable is being overridden >> from >> ; the value that is inherited from the generic-host template! >> notification_interval 120 ; Resend notification every 2 hours >> notification_options d,u,r ; Only send notifications for specific >> host states >> contact_groups admins ; Notifications get sent to the admins by >> default >> register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, >> JUST A TEMPLATE! >> } >> >> >> # Since this is a simple configuration file, we only monitor one host >> - the >> # local host (this machine). >> >> define host{ >> use linux-server ; Name of host >> template to use >> ; This host definition will inherit all variables that are defined >> ; in (or inherited by) the linux-server host template definition. >> host_name localhost >> alias localhost >> address 127.0.0.1 >> } >> >> >> >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # >> # HOST GROUPS >> # >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # We only have one host in our simple config file, so there is no need to >> # create more than one hostgroup. >> >> define hostgroup{ >> hostgroup_name test >> alias Test Servers >> members localhost >> } >> >> >> >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # >> # SERVICES >> # >> >> > ############################################################################ > ### > >> > ############################################################################ > ### > >> # Generic service definition template - This is NOT a real service, >> just a template! >> >> define service{ >> name generic-service ; The 'name' >> of this service template >> active_checks_enabled 1 ; Active service >> checks are enabled >> passive_checks_enabled 1 ; Passive service >> checks are enabled/accepted >> parallelize_check 1 ; Active service >> checks should be parallelized (disabling this can lead to major >> performance problems) >> obsess_over_service 1 ; We should obsess >> over this service (if necessary) >> check_freshness 0 ; Default is to NOT >> check service 'freshness' >> notifications_enabled 1 ; Service >> notifications are enabled >> event_handler_enabled 1 ; Service event >> handler is enabled >> flap_detection_enabled 1 ; Flap detection is >> enabled >> failure_prediction_enabled 1 ; Failure prediction >> is enabled >> process_perf_data 1 ; Process performance >> data >> retain_status_information 1 ; Retain status >> information across program restarts >> retain_nonstatus_information 1 ; Retain non-status >> information across program restarts >> is_volatile 0 ; The service is not >> volatile >> register 0 ; DONT REGISTER THIS >> DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! >> } >> >> >> # Local service definition template - This is NOT a real service, just >> a template! >> >> define service{ >> name local-service ; The name of this service template >> use generic-service ; Inherit default values from the >> generic-service definition >> check_period 24x7 ; The service can be >> checked at any time of the day >> max_check_attempts 4 ; Re-check the service up >> to 4 times in order to determine its final (hard) state >> normal_check_interval 5 ; Check the service every 5 >> minutes under normal conditions >> retry_check_interval 1 ; Re-check the service >> every minute until a hard state can be determined >> contact_groups admins ; Notifications get >> sent out to everyone in the 'admins' group >> notification_options w,u,c,r ; Send notifications about warning, >> unknown, critical, and recovery events >> notification_interval 60 ; Re-notify about service >> problems every hour >> notification_period 24x7 ; Notifications can be >> sent out at any time >> register 0 ; DONT REGISTER THIS >> DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! >> } >> >> >> # Define a service to "ping" the local machine >> >> define service{ >> use local-service ; Name of >> service template to use >> host_name localhost >> service_description PING >> check_command check_ping!100.0,20%!500.0,60% >> } >> >> >> # Define a service to check the disk space of the root partition >> # on the local machine. Warning if < 20% free, critical if >> # < 10% free space on partition. >> >> define service{ >> use local-service ; Name of >> service template to use >> host_name localhost >> service_description Root Partition >> check_command check_local_disk!20%!10%!/ >> } >> >> >> >> # Define a service to check the number of currently logged in >> # users on the local machine. Warning if > 20 users, critical >> # if > 50 users. >> >> define service{ >> use local-service ; Name of >> service template to use >> host_name localhost >> service_description Current Users >> check_command check_local_users!20!50 >> } >> >> >> # Define a service to check the number of currently running procs >> # on the local machine. Warning if > 250 processes, critical if >> # > 400 users. >> >> define service{ >> use local-service ; Name of >> service template to use >> host_name localhost >> service_description Total Processes >> check_command check_local_procs!250!400!RSZDT >> } >> >> >> >> # Define a service to check the load on the local machine. >> >> define service{ >> use local-service ; Name of >> service template to use >> host_name localhost >> service_description Current Load >> check_command check_local_load!5.0,4.0,3.0!10.0,6.0,4.0 >> } >> >> >> >> THANKS >> MIKE >> >> ----- Original Message ----- From: "Andy Shellam" >> >> To: "mcalautt" >> Cc: >> Sent: Friday, July 04, 2008 1:35 PM >> Subject: Re: [Nagiosplug-help] plugin help >> >> >> >>> Hi Mike, >>> >>> It looks Nagios is trying to find a command called "check_http -H >>> 192.168.0.5." >>> >>> What is your service definition for the "localhost" host (in >>> localhost.cfg) ? >>> The relevant line should be: >>> >>> service { >>> ... >>> check_command check_http >>> ... >>> } >>> >>> I'm guessing at the minute it says something like >>> >>> service { >>> ... >>> host localhost >>> ... >>> check_command check_http -H $HOSTADDRESS$ >>> ... >>> } >>> >>> which is incorrect. Your command definition looks fine. >>> >>> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service >>> http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#command >>> >>> Andy >>> >>> mcalautt wrote: >>> >>>> trying to implement the check_http plugin. >>>> when ever I add the entry to the localhost.cfg and run a sanity >>>> check I get. >>>> Checking services... >>>> Error: Service check command 'check_http -H 192.168.0.5' specified >>>> in service 'Current Http' for host 'localhost' not defined anywhere! >>>> I cant find any docs on how to add the plugin. >>>> there is reference to it in commands.cfg but it is not displayed on >>>> the webpage under service details. >>>> everything else listed in >>>> pwd >>>> /etc/nagios >>>> grep check_http *|grep -vi sampl >>>> commands.cfg:# 'check_http' command definition >>>> commands.cfg: command_name check_http >>>> commands.cfg: command_line $USER1$/check_http -H >>>> $HOSTADDRESS$ >>>> thanks >>>> mike >>>> >>>> > ------------------------------------------------------------------------ > >>>> >>>> > ------------------------------------------------------------------------- > >>>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>>> Studies have shown that voting for your favorite open source project, >>>> along with a healthy diet, reduces your potential for chronic lameness >>>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>>> ------------------------------------------------------------------------ >>>> > > >>>> _______________________________________________ >>>> 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 >>>> >>>> >> > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dj_lien at hotmail.com Sun Jul 6 18:26:35 2008 From: dj_lien at hotmail.com (Dj Lien) Date: Sun, 6 Jul 2008 16:26:35 +0000 Subject: SMS Alerts Via Gammu Message-ID: I've got Nagios 3.0.2 working on Ubuntu 8.04 & the email alerting part is working fine.I've decided to add SmS functionality, so installed Gammu & have got this working. If I run :-/usr/bin/printf "This is a test" | /usr/bin/gammu --sendsms TEXT 1234567890from the terminal (replace 1234567890 with a correct number) I can send TxT messages fine.I added these lines to the COMMANDS.CFG# 'notify-host-by-sms' command definitiondefine command{command_name notify-host-by-smscommand_line /usr/bin/printf "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/gammu --sendsms TEXT $CONTACTPAGER$}# 'notify-service-by-sms' command definitiondefine command{command_name notify-service-by-smscommand_line /usr/bin/printf "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/gammu --sendsms TEXT $CONTACTPAGER$} & this line to the CONTACTS.CFGdefine contact{contact_name Lienalias Lienservice_notification_period 24x7host_notification_period 24x7service_notification_options w,u,c,r,f,shost_notification_options d,u,r,f,sservice_notification_commands notify-host-by-smshost_notification_commands notify-service-by-smsemail *******@***********pager 1234567890}I get the email alerts fine & if I look in the NAGIOS.LOG file it has tried to run the SmS command[1214991948] SERVICE NOTIFICATION: Lien;Server;Drive Space C;WARNING;notify-host-by-sms;c:\ - total: 5.82 Gb - used: 5.13 Gb (88%) - free 0.69 Gb (12%)But I get no text message. I've enabled login on Gammu & there is nothing in the log, so I'm wondering if it's something to do with Nagios & the way I've set it up. Can anyone point me in the right direction of where I should be looking next. I did logon as the 'Nagios' account & test the printf | gammu command works without SUDO. I've also shortened the command line, just in case Gammu did not like the way it was formulated, to command_line /usr/bin/printf "***** Nagios *****" | /usr/bin/gammu --sendsms TEXT 0123456789 & still no message. Is there another log I can look at/enable so I can see any errors. _________________________________________________________________ Find the best and worst places on the planet http://clk.atdmt.com/UKM/go/101719807/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 6 18:40:49 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sun, 6 Jul 2008 12:40:49 -0400 Subject: Sidebar disappearing in Firefox In-Reply-To: <19A19178-7890-43D7-935A-982A57F3FC8A@makalumedia.com> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> <19A19178-7890-43D7-935A-982A57F3FC8A@makalumedia.com> Message-ID: <20080706164049.GE16153@cgi.jachomes.com> On Thu, Jul 03, 2008 at 03:58:04PM +0100, Niall O Broin wrote: > No, I haven't because it happens rather rarely, and the fix is to > restart FF (which I don't like to do as I usually have a metric > shitload of open sites). Tip: if you Ctrl-Alt-Esc (assuming that's FF/Linux), and kill the process, that's the easiest way to restart it and be prompted to reopen your tabs. 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 6 18:42:56 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Sun, 6 Jul 2008 12:42:56 -0400 Subject: unknown option in nrpe.cfg In-Reply-To: <13F36D2926AD444697093282F20041B707516009@buf-ex01.cymfony.com> References: <13F36D2926AD444697093282F20041B707516009@buf-ex01.cymfony.com> Message-ID: <20080706164256.GF16153@cgi.jachomes.com> On Fri, Jul 04, 2008 at 06:23:37AM -0400, Seth Simmons wrote: > nrpe[18038]: Unknown option specified in config file > '/usr/local/nagios/etc/nrpe.cfg' - Line 17 > > On line 17 it states: > > log_facility=daemon > > It???s exactly the same as the other systems and I???m not getting this error > there. > > It???s running nrpe 2.12. The only thing unique about this box is that it???s > the only one running red hat 5 so not sure if that makes any sort of > difference or if anyone else has seen this. I'll assume you mean RHEL 5, not Red Hat Linux 5... :-) Did they switch syslogs in RHEL5? 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Jul 6 22:33:34 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Sun, 6 Jul 2008 16:33:34 -0400 Subject: unknown option in nrpe.cfg In-Reply-To: <20080706164256.GF16153@cgi.jachomes.com> References: <13F36D2926AD444697093282F20041B707516009@buf-ex01.cymfony.com> <20080706164256.GF16153@cgi.jachomes.com> Message-ID: <13F36D2926AD444697093282F20041B70751601E@buf-ex01.cymfony.com> lol...yeah RHEL 5 I'm not aware of any syslog changes in 5 I compared syslog.conf with an RHEL AS 4 system and there is no difference. -----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: Sunday, July 6, 2008 12:43 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] unknown option in nrpe.cfg On Fri, Jul 04, 2008 at 06:23:37AM -0400, Seth Simmons wrote: > nrpe[18038]: Unknown option specified in config file > '/usr/local/nagios/etc/nrpe.cfg' - Line 17 > > On line 17 it states: > > log_facility=daemon > > It???s exactly the same as the other systems and I???m not getting this error > there. > > It???s running nrpe 2.12. The only thing unique about this box is that it???s > the only one running red hat 5 so not sure if that makes any sort of > difference or if anyone else has seen this. I'll assume you mean RHEL 5, not Red Hat Linux 5... :-) Did they switch syslogs in RHEL5? 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike at cmsweb.com Mon Jul 7 06:57:19 2008 From: mike at cmsweb.com (Michael Fung) Date: Mon, 7 Jul 2008 12:57:19 +0800 Subject: How to make host depends on service? Message-ID: <003d01c8dfed$efbb6ca0$da3340ca@mikexppro> Dear all, Host X is connected to interface B of a router R with 2 interfaces. If the router's interface B is down, I want to receive notification of interface B of router R is down, and not notification of host X is down. How can that be done? There is no way to make host X depends on router R's interface B(service check running check_ifoperstatus)! TIA, Michael ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 7 10:55:28 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 07 Jul 2008 09:55:28 +0100 Subject: Checking multiple different procs in one service check In-Reply-To: <486F499B.7010806@gmx.de> References: <486E4C66.60104@googlemail.com> <486F499B.7010806@gmx.de> Message-ID: <4871DA00.2020008@googlemail.com> Ah, that looks great, I was thinking about having a generic multi check, and you seem to have done a very good job of it from first impressions, I'll try it out and see if I can switch to using this. Thanks -h Matthias Flacke wrote: > > Hi Hari, > > please have a look at http://my-plugin.de/check_multi. > > It wraps arbitrary calls of plugins, commands, whatever you need and > is not limited to process checks. > > Just as a more generic approach, while the basic idea is very similar ;-) > > -Matthias > > > Hari Sekhon wrote: >> Hi, >> >> I have a need to test a collection of procs and their arguments in >> one service, I was going to post to the list to ask for suggestions, >> but then I thought to check NagiosExchange and found a couple of >> plugins, but nothing that suited my need, specifically they were >> orientated to testing if a process name is running, and the number of >> processes of a given name running, but they did not allow me to >> specify arguments that those processes must be running. >> >> I found this to be severely limiting when checking on collections of >> interdependent scripts (I don't want to just check how many "bash"s >> or "python"s are running...) >> >> So I've quickly written my own plugin in Bash to do this and I've >> posted it to NagiosExchange in case anyone else has this same >> requirement. >> >> The script is basically a wrapper around the standard check_procs >> allowing you to test several detailed services in one service check >> which gives a lot more intelligence that the traditional check if a >> single process is running, especially if you have any stack of >> programs/scripts/operations that all need to be running but you don't >> want to monitor them individually or you have too many of them to >> practically monitor individually. >> >> It currently takes a really nice and simple config file so it's easy >> to have a stack of specific things to test. >> >> Feedback is welcome and improvements will be made as >> needed/requested. I was considering adding support for process states >> and process metrics other than just the number of processes, but I >> don't (yet) use these options in check_procs and so I decided to keep >> the config file very very simple and clean, rather than bloat it with >> options nobody is using. I'll revise the plugin as I get requests >> from people doing specific things. >> >> >> You can find the plugin here: >> >> http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2649.html;d=1 >> >> >> So there you go, a question answered and a new plugin that will >> hopefully be generally useful for specific multi process checking. >> >> -h >> > -- Hari Sekhon ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Mon Jul 7 12:01:46 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 07 Jul 2008 06:01:46 -0400 Subject: How to make host depends on service? In-Reply-To: <003d01c8dfed$efbb6ca0$da3340ca@mikexppro> References: <003d01c8dfed$efbb6ca0$da3340ca@mikexppro> Message-ID: <4871E98A.4000605@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 07/07/08 12:57 AM, Michael Fung wrote: > Dear all, > > > Host X is connected to interface B of a router R with 2 interfaces. If the router's interface B is down, I want to receive notification of interface B of router R is down, and not notification of host X is down. > > How can that be done? There is no way to make host X depends on router R's interface B(service check running check_ifoperstatus)! You could monitor the interface as a host itself. If you don't have any service to go with it just add a ping check. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIcemK6dZ+Kt5BchYRAlvqAKD9eJK4wNyaKlxjAfKZ1u1SAZNxbwCgigms mqrMzDGGksXqiGzIndWSYq8= =vCa1 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Mon Jul 7 13:39:44 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 07 Jul 2008 07:39:44 -0400 Subject: Sidebar disappearing in Firefox In-Reply-To: <20080706164049.GE16153@cgi.jachomes.com> References: <5654A036-722F-4B58-BD67-DCEE5D3A0E96@makalumedia.com> <4869F9CF.7050708@vanderkooij.org> <241D687A-5E64-47C4-B4A8-BC7739482C9D@makalumedia.com> <19A19178-7890-43D7-935A-982A57F3FC8A@makalumedia.com> <20080706164049.GE16153@cgi.jachomes.com> Message-ID: <48720080.2060109@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 06/07/08 12:40 PM, Jay R. Ashworth wrote: > On Thu, Jul 03, 2008 at 03:58:04PM +0100, Niall O Broin wrote: >> No, I haven't because it happens rather rarely, and the fix is to >> restart FF (which I don't like to do as I usually have a metric >> shitload of open sites). > > Tip: if you Ctrl-Alt-Esc (assuming that's FF/Linux), and kill the > process, that's the easiest way to restart it and be prompted to reopen > your tabs. Or use tab mix plus to save and restore your sessions. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIcgCA6dZ+Kt5BchYRAtSZAKCXJ9ZMlF4+QYbxpAkfS80/KKdkQQCcDBrA fYNn2+ZSZh6/sioLCunwjMM= =NYS0 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Mon Jul 7 15:35:45 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Mon, 07 Jul 2008 09:35:45 -0400 Subject: SMS Alerts Via Gammu In-Reply-To: References: Message-ID: <48721BB1.50808@collaborativefusion.com> Gammu's site is down now, but can it take the message's contents as the final argument? I had something similar happen to me using SMS Server Tools 3. Using the printf from within Nagios resulted in the sendsms utility hanging and waiting for an EOF, never actually sending the message. By adding the notification as an argument (instead of relying on piping), it began to send: define command{ command_name notify-service-by-sms command_line /usr/local/bin/sendsms $CONTACTPAGER$ "** $NOTIFICATIONTYPE$ Service Alert: $SERVICEDESC$ is $SERVICESTATE$ **" } Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** Dj Lien wrote: > I've got Nagios 3.0.2 working on Ubuntu 8.04 & the email alerting part > is working fine. > > I've decided to add SmS functionality, so installed Gammu & have got > this working. If I run :- > > /usr/bin/printf "This is a test" | /usr/bin/gammu --sendsms TEXT > 1234567890 > > from the terminal (replace 1234567890 with a correct number) I can > send TxT messages fine. > > I added these lines to the COMMANDS.CFG > > # 'notify-host-by-sms' command definition > define command{ > command_name notify-host-by-sms > command_line /usr/bin/printf "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: > $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | > /usr/bin/gammu --sendsms TEXT $CONTACTPAGER$ > } > > > # 'notify-service-by-sms' command definition > define command{ > command_name notify-service-by-sms > command_line /usr/bin/printf "***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional > Info:\n\n$SERVICEOUTPUT$" | /usr/bin/gammu --sendsms TEXT $CONTACTPAGER$ > } > > & this line to the CONTACTS.CFG > > define contact{ > contact_name Lien > alias Lien > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r,f,s > host_notification_options d,u,r,f,s > service_notification_commands notify-host-by-sms > host_notification_commands notify-service-by-sms > email *******@*********** > pager 1234567890 > } > > I get the email alerts fine & if I look in the NAGIOS.LOG file it has > tried to run the SmS command > > [1214991948] SERVICE NOTIFICATION: Lien;Server;Drive Space > C;WARNING;notify-host-by-sms;c:\ - total: 5.82 Gb - used: 5.13 Gb > (88%) - free 0.69 Gb (12%) > > But I get no text message. I've enabled login on Gammu & there is > nothing in the log, so I'm wondering if it's something to do with > Nagios & the way I've set it up. Can anyone point me in the right > direction of where I should be looking next. I did logon as the > 'Nagios' account & test the printf | gammu command works without SUDO. > I've also shortened the command line, just in case Gammu did not like > the way it was formulated, to > > command_line /usr/bin/printf "***** Nagios *****" | /usr/bin/gammu > --sendsms TEXT 0123456789 > > & still no message. Is there another log I can look at/enable so I can > see any errors. > > ------------------------------------------------------------------------ > Find out how to make Messenger your very own TV! Try it Now! > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Whittington at vc3.com Mon Jul 7 20:14:55 2008 From: James.Whittington at vc3.com (James Whittington) Date: Mon, 7 Jul 2008 14:14:55 -0400 Subject: Quick Question About Nagiostats Utility Message-ID: <525450AD493E1E44B6B00A4A752D7DE50671CBBD@courier.vc3.com> I'm wanting to graph service latency using the Nagiostats utility but I didn't see clear documentation as to what interval the min/max/average uses. I do see the MRTG Integration definition example uses a label of Max 5 Minute Latency so I'm assuming min/max/average values are past five minutes and not since the last restart of nagios or some other interval. In this particular case the version of nagios would be 2.12. Does anyone know a definitive answer to this one or did I just overlook the answer? Thanks, James Whittington VC3, Inc. 803-978-2723 direct line 803-978-1160 main office 800-422-5941 toll free help desk ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Whittington at vc3.com Mon Jul 7 21:56:16 2008 From: James.Whittington at vc3.com (James Whittington) Date: Mon, 7 Jul 2008 15:56:16 -0400 Subject: Quick Question About Nagiostats Utility In-Reply-To: References: Message-ID: <525450AD493E1E44B6B00A4A752D7DE50671CC73@courier.vc3.com> To answer your question, we dump perfdata using perfparse to a central mysql database for trending and analysis. As you mentioned there are several good graphical trending tools out there but having the data in a relational database gives us a good bit of flexibility about how that data is used and presented. I can make quick work of creating a perl wrapper script to format the output I just was wanting to find out if the max service latency returned by nagiostats was based on a 5 minute average or not. Thanks for your input however, I'll have to evaluate some of the other tools sometime. James Whittington VC3, Inc. -----Original Message----- From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Monday, July 07, 2008 2:16 PM To: James Whittington; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Quick Question About Nagiostats Utility Why waste time developing something when you can use something like NagiosGrapher or PNP, which is quite good in my opinion? Just my two cents, I hate programming though. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com -----Original Message----- From: James Whittington [mailto:James.Whittington at vc3.com] Sent: Monday, July 07, 2008 2:15 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Quick Question About Nagiostats Utility I'm wanting to graph service latency using the Nagiostats utility but I didn't see clear documentation as to what interval the min/max/average uses. I do see the MRTG Integration definition example uses a label of Max 5 Minute Latency so I'm assuming min/max/average values are past five minutes and not since the last restart of nagios or some other interval. In this particular case the version of nagios would be 2.12. Does anyone know a definitive answer to this one or did I just overlook the answer? Thanks, James Whittington VC3, Inc. 803-978-2723 direct line 803-978-1160 main office 800-422-5941 toll free help desk ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 09:18:39 2008 From: gimenez at cict.fr (Carole Gimenez) Date: Tue, 08 Jul 2008 09:18:39 +0200 Subject: Web administration interface Message-ID: <487314CF.10002@cict.fr> Hi all, I am going to upgrade the nagios version (1.4.2 to 3.0.x) and i begin to look the administration tools. Actually, i use Nagmin but it seems absolete. I saw centreon and nareto. Is there someone that can tell me what is the best for nagios 3.0.x? Thanks for advance for your responses. Carole Gimenez. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 12:59:23 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 06:59:23 -0400 Subject: Monitor oracle resources Message-ID: Hello all I want to monitor oracle resources on remote servers. I found a couple text files (one written by Ricardo Alves dos Reis) that looks like they might do it on the local machine but I am not a programmer and don't know how to get them to monitor remote crs services. Does anyone know how I can do this? TIA Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 13:17:16 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 8 Jul 2008 13:17:16 +0200 Subject: Monitor oracle resources In-Reply-To: References: Message-ID: <200807081317.17125.cschneemann@suse.de> On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hello all Hi, > > I want to monitor oracle resources on remote servers. I found a couple > text files (one written by Ricardo Alves dos Reis) that looks like they > might do it on the local machine but I am not a programmer and don't > know how to get them to monitor remote crs services. Does anyone know > how I can do this? You can do local tests on a remote machine with nrpe, nagios remote plugin executor. Greetings, Christian > > TIA > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 13:21:14 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 07:21:14 -0400 Subject: Monitor oracle resources In-Reply-To: <200807081317.17125.cschneemann@suse.de> References: <200807081317.17125.cschneemann@suse.de> Message-ID: I know that part. I don't know how to get the txt files to work. As I said, I'm not a programmer. Thanks anyway Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Tuesday, July 08, 2008 7:17 AM To: nagios-users at lists.sourceforge.net Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Subject: Re: [Nagios-users] Monitor oracle resources On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hello all Hi, > > I want to monitor oracle resources on remote servers. I found a couple > text files (one written by Ricardo Alves dos Reis) that looks like > they might do it on the local machine but I am not a programmer and > don't know how to get them to monitor remote crs services. Does anyone > know how I can do this? You can do local tests on a remote machine with nrpe, nagios remote plugin executor. Greetings, Christian > > TIA > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > > > ---------------------------------------------------------------------- > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 13:27:54 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 8 Jul 2008 13:27:54 +0200 Subject: Monitor oracle resources In-Reply-To: References: <200807081317.17125.cschneemann@suse.de> Message-ID: <200807081327.55449.cschneemann@suse.de> On Tuesday July 8 2008 01:21:14 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > I know that part. I don't know how to get the txt files to work. As I said, > I'm not a programmer. Hm, maybe you should show us what txt file you mean? Why not simple search on nagiosexchange.net for a plugin that fits your needs? Sorry, I don't understand what you mean with txt files? Why are you handling with textfiles? Is there a discription in how to set up a test for nagios? Christian > > Thanks anyway > > > Harry M. Hart Systems integrator > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: Tuesday, July 08, 2008 7:17 AM > To: nagios-users at lists.sourceforge.net > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Subject: Re: [Nagios-users] Monitor oracle resources > > On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > Hello all > > Hi, > > > I want to monitor oracle resources on remote servers. I found a couple > > text files (one written by Ricardo Alves dos Reis) that looks like > > they might do it on the local machine but I am not a programmer and > > don't know how to get them to monitor remote crs services. Does anyone > > know how I can do this? > > You can do local tests on a remote machine with nrpe, nagios remote plugin > executor. > > Greetings, > Christian > > > TIA > > Harry > > > > Harry M. Hart Systems integrator > > SAIC > > USJFCOM JIOC DCGS-A > > (757) 203-7422 > > DSN 668-7422 > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > Harry.Hart at jwfc.ic.gov > > > > > > > > ---------------------------------------------------------------------- > > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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) > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 13:33:03 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 07:33:03 -0400 Subject: Monitor oracle resources In-Reply-To: <200807081327.55449.cschneemann@suse.de> References: <200807081317.17125.cschneemann@suse.de> <200807081327.55449.cschneemann@suse.de> Message-ID: I downloaded files from a web page that are txt files but they don't explain what I need to do to make them useful for my requirement. I took off the .txt extension and I seem to be making some progress. I can get the check_oracle_cluster one to at least read the crs_stat parameters. I just need to play with them a little bit more. Thanks again Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Tuesday, July 08, 2008 7:28 AM To: nagios-users at lists.sourceforge.net Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Subject: Re: [Nagios-users] Monitor oracle resources On Tuesday July 8 2008 01:21:14 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > I know that part. I don't know how to get the txt files to work. As I > said, I'm not a programmer. Hm, maybe you should show us what txt file you mean? Why not simple search on nagiosexchange.net for a plugin that fits your needs? Sorry, I don't understand what you mean with txt files? Why are you handling with textfiles? Is there a discription in how to set up a test for nagios? Christian > > Thanks anyway > > > Harry M. Hart Systems integrator > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: Tuesday, July 08, 2008 7:17 AM > To: nagios-users at lists.sourceforge.net > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Subject: Re: [Nagios-users] Monitor oracle resources > > On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > Hello all > > Hi, > > > I want to monitor oracle resources on remote servers. I found a couple > > text files (one written by Ricardo Alves dos Reis) that looks like > > they might do it on the local machine but I am not a programmer and > > don't know how to get them to monitor remote crs services. Does anyone > > know how I can do this? > > You can do local tests on a remote machine with nrpe, nagios remote plugin > executor. > > Greetings, > Christian > > > TIA > > Harry > > > > Harry M. Hart Systems integrator > > SAIC > > USJFCOM JIOC DCGS-A > > (757) 203-7422 > > DSN 668-7422 > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > Harry.Hart at jwfc.ic.gov > > > > > > > > ---------------------------------------------------------------------- > > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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) > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 13:38:11 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 8 Jul 2008 13:38:11 +0200 Subject: Monitor oracle resources In-Reply-To: References: <200807081327.55449.cschneemann@suse.de> Message-ID: <200807081338.11815.cschneemann@suse.de> On Tuesday July 8 2008 01:33:03 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: Hi, so your text files are the needed plugins? Christian > I downloaded files from a web page that are txt files but they don't > explain what I need to do to make them useful for my requirement. I took > off the .txt extension and I seem to be making some progress. I can get the > check_oracle_cluster one to at least read the crs_stat parameters. I just > need to play with them a little bit more. > > Thanks again > > > Harry M. Hart Systems integrator > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: Tuesday, July 08, 2008 7:28 AM > To: nagios-users at lists.sourceforge.net > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Subject: Re: [Nagios-users] Monitor oracle resources > > On Tuesday July 8 2008 01:21:14 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > I know that part. I don't know how to get the txt files to work. As I > > said, I'm not a programmer. > > Hm, maybe you should show us what txt file you mean? Why not simple search > on nagiosexchange.net for a plugin that fits your needs? > > Sorry, I don't understand what you mean with txt files? Why are you > handling with textfiles? Is there a discription in how to set up a test for > nagios? > > > Christian > > > Thanks anyway > > > > > > Harry M. Hart Systems integrator > > (757) 203-7422 > > DSN 668-7422 > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > Harry.Hart at jwfc.ic.gov > > > > -----Original Message----- > > From: Christian Schneemann [mailto:cschneemann at suse.de] > > Sent: Tuesday, July 08, 2008 7:17 AM > > To: nagios-users at lists.sourceforge.net > > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > > Subject: Re: [Nagios-users] Monitor oracle resources > > > > On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM > > SUPPORT.SUPPORT JTC-I wrote: > > > Hello all > > > > Hi, > > > > > I want to monitor oracle resources on remote servers. I found a couple > > > text files (one written by Ricardo Alves dos Reis) that looks like > > > they might do it on the local machine but I am not a programmer and > > > don't know how to get them to monitor remote crs services. Does anyone > > > know how I can do this? > > > > You can do local tests on a remote machine with nrpe, nagios remote > > plugin executor. > > > > Greetings, > > Christian > > > > > TIA > > > Harry > > > > > > Harry M. Hart Systems integrator > > > SAIC > > > USJFCOM JIOC DCGS-A > > > (757) 203-7422 > > > DSN 668-7422 > > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > > Harry.Hart at jwfc.ic.gov > > > > > > > > > > > > ---------------------------------------------------------------------- > > > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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) > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 13:40:43 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 07:40:43 -0400 Subject: Monitor oracle resources In-Reply-To: <200807081338.11815.cschneemann@suse.de> References: <200807081327.55449.cschneemann@suse.de> <200807081338.11815.cschneemann@suse.de> Message-ID: Looks like! Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Tuesday, July 08, 2008 7:38 AM To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitor oracle resources On Tuesday July 8 2008 01:33:03 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: Hi, so your text files are the needed plugins? Christian > I downloaded files from a web page that are txt files but they don't > explain what I need to do to make them useful for my requirement. I took > off the .txt extension and I seem to be making some progress. I can get the > check_oracle_cluster one to at least read the crs_stat parameters. I just > need to play with them a little bit more. > > Thanks again > > > Harry M. Hart Systems integrator > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: Tuesday, July 08, 2008 7:28 AM > To: nagios-users at lists.sourceforge.net > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Subject: Re: [Nagios-users] Monitor oracle resources > > On Tuesday July 8 2008 01:21:14 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > I know that part. I don't know how to get the txt files to work. As I > > said, I'm not a programmer. > > Hm, maybe you should show us what txt file you mean? Why not simple search > on nagiosexchange.net for a plugin that fits your needs? > > Sorry, I don't understand what you mean with txt files? Why are you > handling with textfiles? Is there a discription in how to set up a test for > nagios? > > > Christian > > > Thanks anyway > > > > > > Harry M. Hart Systems integrator > > (757) 203-7422 > > DSN 668-7422 > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > Harry.Hart at jwfc.ic.gov > > > > -----Original Message----- > > From: Christian Schneemann [mailto:cschneemann at suse.de] > > Sent: Tuesday, July 08, 2008 7:17 AM > > To: nagios-users at lists.sourceforge.net > > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > > Subject: Re: [Nagios-users] Monitor oracle resources > > > > On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM > > SUPPORT.SUPPORT JTC-I wrote: > > > Hello all > > > > Hi, > > > > > I want to monitor oracle resources on remote servers. I found a couple > > > text files (one written by Ricardo Alves dos Reis) that looks like > > > they might do it on the local machine but I am not a programmer and > > > don't know how to get them to monitor remote crs services. Does anyone > > > know how I can do this? > > > > You can do local tests on a remote machine with nrpe, nagios remote > > plugin executor. > > > > Greetings, > > Christian > > > > > TIA > > > Harry > > > > > > Harry M. Hart Systems integrator > > > SAIC > > > USJFCOM JIOC DCGS-A > > > (757) 203-7422 > > > DSN 668-7422 > > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > > Harry.Hart at jwfc.ic.gov > > > > > > > > > > > > ---------------------------------------------------------------------- > > > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > > Studies have shown that voting for your favorite open source project, > > > along with a healthy diet, reduces your potential for chronic lameness > > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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) > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreoandre at gmail.com Tue Jul 8 13:57:57 2008 From: andreoandre at gmail.com (=?ISO-8859-1?Q?Andr=E9_Moura?=) Date: Tue, 8 Jul 2008 08:57:57 -0300 Subject: problem in scheduling Message-ID: Hi, I'm using Nagios 3.0.3 in Red Hat AS 5 with 7.000 services checking. But, where rotation log the midnight, this problem occurs: display status.cgi service1 CRITICAL 08-07-2008 08:42:56 1d 4h 10m 13s 1/1 return to plugin service2 CRITICAL 07-07-2008 23:58:00 0d 9h 19m 49s 1/1 return to plugin The service2 stopped to check at 23:58, this occurs every day at midnight. Someone has the same problem? why this occurs? -- Andr? O Moura http://andrem.wordpress.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 15:29:13 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 09:29:13 -0400 Subject: Oracle remote monitoring Message-ID: Hi, I am trying to monitor oracle services on a remote cluster. When I run ./check_asm on the remote host it returns ORACLE_CLUSTER_asm OK: 0 problem(s). This is good! However, when I run ./check_nrpe -H 192.168.0.23 -c check_asm it returns CHECK_NRPE: Socket timeout after 10 seconds. Any help on this? Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 15:33:20 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 8 Jul 2008 15:33:20 +0200 Subject: Oracle remote monitoring In-Reply-To: References: Message-ID: <200807081533.20666.cschneemann@suse.de> On Tuesday July 8 2008 03:29:13 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hi, Hi > > I am trying to monitor oracle services on a remote cluster. When I run > ./check_asm on the remote host it returns ORACLE_CLUSTER_asm OK: 0 > problem(s). This is good! > > However, when I run ./check_nrpe -H 192.168.0.23 -c check_asm it returns > CHECK_NRPE: Socket timeout after 10 seconds. Do you have nrpe configured correctly on both hosts? Nrpe has a debug mode, activate it and have a look in the logs. Is a firewall running? Some more input would be nice. > > Any help on this? > > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 15:35:20 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 8 Jul 2008 09:35:20 -0400 Subject: question about first_notification_delay Message-ID: Hello. I'm considering using the first_notification_delay parameter for some host checking. One thing that's not clear to me from the docs is if the state of the host/service returns from a non-down state *before* the delayed first notification is set to be sent, will that notification be suppressed? That is, let's say host A goes down and gets to hard/critical and it wants to send an alert. That first is then delayed, say 10 minutes by setting this parameter. Within that 10 minutes, the host comes back up again. Will Nagios skip sending that alert at all considering that by the time it was going to send it, the condition has cleared? Thanks Mark ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 15:48:06 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 09:48:06 -0400 Subject: Oracle remote monitoring In-Reply-To: <200807081533.20666.cschneemann@suse.de> References: <200807081533.20666.cschneemann@suse.de> Message-ID: I believe NRPE is configured correctly on both because I can run other nrpe checks like users and disk space from the monitoring host and get good return values. There are no firewalls. What is the debug mode? Thanks Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Tuesday, July 08, 2008 9:33 AM To: nagios-users at lists.sourceforge.net Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Subject: Re: [Nagios-users] Oracle remote monitoring On Tuesday July 8 2008 03:29:13 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hi, Hi > > I am trying to monitor oracle services on a remote cluster. When I run > ./check_asm on the remote host it returns ORACLE_CLUSTER_asm OK: 0 > problem(s). This is good! > > However, when I run ./check_nrpe -H 192.168.0.23 -c check_asm it > returns > CHECK_NRPE: Socket timeout after 10 seconds. Do you have nrpe configured correctly on both hosts? Nrpe has a debug mode, activate it and have a look in the logs. Is a firewall running? Some more input would be nice. > > Any help on this? > > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > > > ---------------------------------------------------------------------- > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 15:49:36 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 09:49:36 -0400 Subject: Oracle remote monitoring In-Reply-To: <200807081533.20666.cschneemann@suse.de> References: <200807081533.20666.cschneemann@suse.de> Message-ID: The attached files are the ones I downloaded and am using. Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Tuesday, July 08, 2008 9:33 AM To: nagios-users at lists.sourceforge.net Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Subject: Re: [Nagios-users] Oracle remote monitoring On Tuesday July 8 2008 03:29:13 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hi, Hi > > I am trying to monitor oracle services on a remote cluster. When I run > ./check_asm on the remote host it returns ORACLE_CLUSTER_asm OK: 0 > problem(s). This is good! > > However, when I run ./check_nrpe -H 192.168.0.23 -c check_asm it > returns > CHECK_NRPE: Socket timeout after 10 seconds. Do you have nrpe configured correctly on both hosts? Nrpe has a debug mode, activate it and have a look in the logs. Is a firewall running? Some more input would be nice. > > Any help on this? > > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > > > ---------------------------------------------------------------------- > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: check_oracle_cluster.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: crsstat.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 8 15:48:43 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Tue, 8 Jul 2008 09:48:43 -0400 Subject: Oracle remote monitoring Message-ID: Sounds like a permissions problem to me. Try using the command from the terminal with the --help flag. It should tell you what switch to use for verbosity/debugging information. Can you run the plugin as the Nagios user or as the NRPE/Nagios user on the other machine? Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com -----Original Message----- From: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I [mailto:harry.hart.ctr at jfcom.mil] Sent: Tuesday, July 08, 2008 9:48 AM To: Christian Schneemann; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle remote monitoring I believe NRPE is configured correctly on both because I can run other nrpe checks like users and disk space from the monitoring host and get good return values. There are no firewalls. What is the debug mode? Thanks Harry Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Tuesday, July 08, 2008 9:33 AM To: nagios-users at lists.sourceforge.net Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Subject: Re: [Nagios-users] Oracle remote monitoring On Tuesday July 8 2008 03:29:13 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hi, Hi > > I am trying to monitor oracle services on a remote cluster. When I run > ./check_asm on the remote host it returns ORACLE_CLUSTER_asm OK: 0 > problem(s). This is good! > > However, when I run ./check_nrpe -H 192.168.0.23 -c check_asm it > returns > CHECK_NRPE: Socket timeout after 10 seconds. Do you have nrpe configured correctly on both hosts? Nrpe has a debug mode, activate it and have a look in the logs. Is a firewall running? Some more input would be nice. > > Any help on this? > > Harry > > Harry M. Hart Systems integrator > SAIC > USJFCOM JIOC DCGS-A > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > > > ---------------------------------------------------------------------- > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jul 8 15:50:15 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 08 Jul 2008 15:50:15 +0200 Subject: question about first_notification_delay In-Reply-To: References: Message-ID: <48737097.9020103@op5.se> Frost, Mark {PBG} wrote: > Hello. I'm considering using the first_notification_delay parameter for > some host checking. One thing that's not clear to me from the docs is > if the state of the host/service returns from a non-down state *before* > the delayed first notification is set to be sent, will that notification > be suppressed? > Yes, it will be suppressed. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 15:54:49 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 8 Jul 2008 15:54:49 +0200 Subject: Oracle remote monitoring In-Reply-To: References: <200807081533.20666.cschneemann@suse.de> Message-ID: <200807081554.50281.cschneemann@suse.de> On Tuesday July 8 2008 03:49:36 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > The attached files are the ones I downloaded and am using. the Script check_oracle_cluster uses sudo, is sudo configured for the nagios user that it can be used without a password? maybe it is waiting for the password and so nrpe times out.. The debug mode can be configured in /etc/nagios/nrpe.cfg, have a search for debug= or DEBUGGING OPTION. Christian > > > Harry M. Hart Systems integrator > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: Tuesday, July 08, 2008 9:33 AM > To: nagios-users at lists.sourceforge.net > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Subject: Re: [Nagios-users] Oracle remote monitoring > > On Tuesday July 8 2008 03:29:13 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > Hi, > > Hi > > > I am trying to monitor oracle services on a remote cluster. When I run > > ./check_asm on the remote host it returns ORACLE_CLUSTER_asm OK: 0 > > problem(s). This is good! > > > > However, when I run ./check_nrpe -H 192.168.0.23 -c check_asm it > > returns > > CHECK_NRPE: Socket timeout after 10 seconds. > > Do you have nrpe configured correctly on both hosts? Nrpe has a debug mode, > activate it and have a look in the logs. Is a firewall running? > > Some more input would be nice. > > > Any help on this? > > > > Harry > > > > Harry M. Hart Systems integrator > > SAIC > > USJFCOM JIOC DCGS-A > > (757) 203-7422 > > DSN 668-7422 > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > Harry.Hart at jwfc.ic.gov > > > > > > > > ---------------------------------------------------------------------- > > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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) -- 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 16:03:59 2008 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 8 Jul 2008 10:03:59 -0400 Subject: question about first_notification_delay In-Reply-To: <48737097.9020103@op5.se> References: <48737097.9020103@op5.se> Message-ID: Thanks, Andreas. Mark >-----Original Message----- >From: nagios-users-bounces at lists.sourceforge.net >[mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf >Of Andreas Ericsson >Sent: Tuesday, July 08, 2008 9:50 AM >To: Frost, Mark {PBG} >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] question about first_notification_delay > >Frost, Mark {PBG} wrote: >> Hello. I'm considering using the first_notification_delay >parameter for >> some host checking. One thing that's not clear to me from >the docs is >> if the state of the host/service returns from a non-down >state *before* >> the delayed first notification is set to be sent, will that >notification >> be suppressed? >> > >Yes, it will be suppressed. > >-- >Andreas Ericsson andreas.ericsson at op5.se >OP5 AB www.op5.se >Tel: +46 8-230225 Fax: +46 8-230231 > >--------------------------------------------------------------- >---------- >Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >Studies have shown that voting for your favorite open source project, >along with a healthy diet, reduces your potential for chronic lameness >and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS >when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Tue Jul 8 16:45:20 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Tue, 8 Jul 2008 10:45:20 -0400 Subject: Oracle remote monitoring In-Reply-To: <200807081554.50281.cschneemann@suse.de> References: <200807081533.20666.cschneemann@suse.de> <200807081554.50281.cschneemann@suse.de> Message-ID: I guess the login is the problem! When I run the command from the monitoring system I get the timeout. The remote system log shows: Jul 8 14:30:11 Oracle_client sudo(pam_unix)[31119]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=nagios I tried putting oracle and nagios in the line /usr/bin/sudo but received the same error. How does one configure sudo so that it will run? Thanks Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Tuesday, July 08, 2008 9:55 AM To: nagios-users at lists.sourceforge.net Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I Subject: Re: [Nagios-users] Oracle remote monitoring On Tuesday July 8 2008 03:49:36 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > The attached files are the ones I downloaded and am using. the Script check_oracle_cluster uses sudo, is sudo configured for the nagios user that it can be used without a password? maybe it is waiting for the password and so nrpe times out.. The debug mode can be configured in /etc/nagios/nrpe.cfg, have a search for debug= or DEBUGGING OPTION. Christian > > > Harry M. Hart Systems integrator > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: Tuesday, July 08, 2008 9:33 AM > To: nagios-users at lists.sourceforge.net > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Subject: Re: [Nagios-users] Oracle remote monitoring > > On Tuesday July 8 2008 03:29:13 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > > Hi, > > Hi > > > I am trying to monitor oracle services on a remote cluster. When I run > > ./check_asm on the remote host it returns ORACLE_CLUSTER_asm OK: 0 > > problem(s). This is good! > > > > However, when I run ./check_nrpe -H 192.168.0.23 -c check_asm it > > returns > > CHECK_NRPE: Socket timeout after 10 seconds. > > Do you have nrpe configured correctly on both hosts? Nrpe has a debug mode, > activate it and have a look in the logs. Is a firewall running? > > Some more input would be nice. > > > Any help on this? > > > > Harry > > > > Harry M. Hart Systems integrator > > SAIC > > USJFCOM JIOC DCGS-A > > (757) 203-7422 > > DSN 668-7422 > > Harry.Hart at intel.jwfc.jfcom.smil.mil > > Harry.Hart at jwfc.ic.gov > > > > > > > > ---------------------------------------------------------------------- > > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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) -- 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) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 17:09:32 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 08 Jul 2008 11:09:32 -0400 Subject: Oracle remote monitoring In-Reply-To: References: <200807081533.20666.cschneemann@suse.de> <200807081554.50281.cschneemann@suse.de> Message-ID: <4873832C.7030502@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/07/08 10:45 AM, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > I guess the login is the problem! > > When I run the command from the monitoring system I get the timeout. The remote system log shows: > Jul 8 14:30:11 Oracle_client sudo(pam_unix)[31119]: authentication failure; logname= uid=0 euid=0 tty= ruser= rhost= user=nagios > > I tried putting oracle and nagios in the line /usr/bin/sudo but received the same error. Undo this change... > How does one configure sudo so that it will run? Edit the sudoers file (the recommended way is using the "visudo" command which will launch vim on it) Wou will have to add nagios with no password AND no tty. "man sudoers" for more details. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIc4Ms6dZ+Kt5BchYRAtPCAJ9ZnW0firnAuvWV64e/PIIvGx/dqQCfbI2D szOh7HSUsiSOwNq9tg3TvFQ= =Q1oP -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 17:24:11 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 08 Jul 2008 11:24:11 -0400 Subject: Notification by e-mail In-Reply-To: References: <200807081533.20666.cschneemann@suse.de> <200807081554.50281.cschneemann@suse.de> <4873832C.7030502@aei.ca> Message-ID: <4873869B.5020409@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/07/08 11:18 AM, Net net wrote: > Hello, Please start a new thread (replying to one that exists already breaks threading in mail clients). This is done by using the "New" or "Write" button in your mail client. More importantly, please to not send emails directly to list posters. Thanks, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIc4ab6dZ+Kt5BchYRAhhdAKCLq7ieppmlAZG4ExWdE7LhIGYKCgCbB11m acBP0LWECw2yqGcc+GaFwhI= =VWN6 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Jul 8 17:28:05 2008 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Tue, 8 Jul 2008 12:28:05 -0300 Subject: Monitor oracle resources In-Reply-To: References: <200807081327.55449.cschneemann@suse.de> <200807081338.11815.cschneemann@suse.de> Message-ID: Here we have made an shell script that returns the stats of all cluster services, and made it apeend the results to an OID using NET-SNMP snmpd... On the Nagios server host, we've created an shell script to make an walk and verify if the services are working properly... I think it's better then using NRPE... snmpwalk example output(I know that the format is not the ideal yet...): # snmpwalk -v1 -c public 127.0.1 .1.3.6.1.4.1.2021.51 UCD-SNMP-MIB::ucdavis.51.1.1 = INTEGER: 1 UCD-SNMP-MIB::ucdavis.51.2.1 = STRING: "oracle" UCD-SNMP-MIB::ucdavis.51.3.1 = STRING: "/usr/local/bin/snmp_test.sh" UCD-SNMP-MIB::ucdavis.51.100.1 = INTEGER: 0 UCD-SNMP-MIB::ucdavis.51.101.1 = STRING: "ora.server0.ASM1.asm ONLINE ONLINE on server0" UCD-SNMP-MIB::ucdavis.51.101.2 = STRING: "ora.server0.LISTENER_server0.lsnr ONLINE ONLINE on server0" UCD-SNMP-MIB::ucdavis.51.101.3 = STRING: "ora.server0.gsd ONLINE ONLINE on server0" UCD-SNMP-MIB::ucdavis.51.101.4 = STRING: "ora.server0.ons ONLINE ONLINE on server0" UCD-SNMP-MIB::ucdavis.51.101.5 = STRING: "ora.server0.vip ONLINE ONLINE on server0" UCD-SNMP-MIB::ucdavis.51.101.6 = STRING: "ora.server1.ASM2.asm ONLINE ONLINE on server1" UCD-SNMP-MIB::ucdavis.51.101.7 = STRING: "ora.server1.LISTENER_server1.lsnr ONLINE ONLINE on server1" UCD-SNMP-MIB::ucdavis.51.101.8 = STRING: "ora.server1.gsd ONLINE ONLINE on server1" UCD-SNMP-MIB::ucdavis.51.101.9 = STRING: "ora.server1.ons ONLINE ONLINE on server1" UCD-SNMP-MIB::ucdavis.51.101.10 = STRING: "ora.server1.vip ONLINE ONLINE on server1" UCD-SNMP-MIB::ucdavis.51.101.11 = STRING: "ora.oracle.db ONLINE ONLINE on server0" UCD-SNMP-MIB::ucdavis.51.101.12 = STRING: "ora.oracle.oracle.cs ONLINE ONLINE on server1" UCD-SNMP-MIB::ucdavis.51.101.13 = STRING: "ora.oracle.oracle.oracle1.srv ONLINE ONLINE on server0" UCD-SNMP-MIB::ucdavis.51.101.14 = STRING: "ora.oracle.oracle.oracle2.srv" UCD-SNMP-MIB::ucdavis.51.102.1 = INTEGER: 0 UCD-SNMP-MIB::ucdavis.51.103.1 = "" 2008/7/8 Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I : > Looks like! > > > Harry M. Hart Systems integrator > (757) 203-7422 > DSN 668-7422 > Harry.Hart at intel.jwfc.jfcom.smil.mil > Harry.Hart at jwfc.ic.gov > > -----Original Message----- > From: Christian Schneemann [mailto:cschneemann at suse.de] > Sent: Tuesday, July 08, 2008 7:38 AM > To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitor oracle resources > > On Tuesday July 8 2008 01:33:03 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Hi, > so your text files are the needed plugins? > > > Christian > >> I downloaded files from a web page that are txt files but they don't >> explain what I need to do to make them useful for my requirement. I took >> off the .txt extension and I seem to be making some progress. I can get the >> check_oracle_cluster one to at least read the crs_stat parameters. I just >> need to play with them a little bit more. >> >> Thanks again >> >> >> Harry M. Hart Systems integrator >> (757) 203-7422 >> DSN 668-7422 >> Harry.Hart at intel.jwfc.jfcom.smil.mil >> Harry.Hart at jwfc.ic.gov >> >> -----Original Message----- >> From: Christian Schneemann [mailto:cschneemann at suse.de] >> Sent: Tuesday, July 08, 2008 7:28 AM >> To: nagios-users at lists.sourceforge.net >> Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I >> Subject: Re: [Nagios-users] Monitor oracle resources >> >> On Tuesday July 8 2008 01:21:14 pm Hart, Harry M. CTR USJFCOM > SUPPORT.SUPPORT JTC-I wrote: >> > I know that part. I don't know how to get the txt files to work. As I >> > said, I'm not a programmer. >> >> Hm, maybe you should show us what txt file you mean? Why not simple search >> on nagiosexchange.net for a plugin that fits your needs? >> >> Sorry, I don't understand what you mean with txt files? Why are you >> handling with textfiles? Is there a discription in how to set up a test for >> nagios? >> >> >> Christian >> >> > Thanks anyway >> > >> > >> > Harry M. Hart Systems integrator >> > (757) 203-7422 >> > DSN 668-7422 >> > Harry.Hart at intel.jwfc.jfcom.smil.mil >> > Harry.Hart at jwfc.ic.gov >> > >> > -----Original Message----- >> > From: Christian Schneemann [mailto:cschneemann at suse.de] >> > Sent: Tuesday, July 08, 2008 7:17 AM >> > To: nagios-users at lists.sourceforge.net >> > Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I >> > Subject: Re: [Nagios-users] Monitor oracle resources >> > >> > On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM >> >> SUPPORT.SUPPORT JTC-I wrote: >> > > Hello all >> > >> > Hi, >> > >> > > I want to monitor oracle resources on remote servers. I found a couple >> > > text files (one written by Ricardo Alves dos Reis) that looks like >> > > they might do it on the local machine but I am not a programmer and >> > > don't know how to get them to monitor remote crs services. Does anyone >> > > know how I can do this? >> > >> > You can do local tests on a remote machine with nrpe, nagios remote >> > plugin executor. >> > >> > Greetings, >> > Christian >> > >> > > TIA >> > > Harry >> > > >> > > Harry M. Hart Systems integrator >> > > SAIC >> > > USJFCOM JIOC DCGS-A >> > > (757) 203-7422 >> > > DSN 668-7422 >> > > Harry.Hart at intel.jwfc.jfcom.smil.mil >> > > Harry.Hart at jwfc.ic.gov >> > > >> > > >> > > >> > > ---------------------------------------------------------------------- >> > > --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> > > Studies have shown that voting for your favorite open source project, >> > > along with a healthy diet, reduces your potential for chronic lameness >> > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> > > _______________________________________________ >> > > Nagios-users mailing list >> > > Nagios-users at lists.sourceforge.net >> > > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > > >> > > ::: 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) >> > >> > ------------------------------------------------------------------------- >> > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> > Studies have shown that voting for your favorite open source project, >> > along with a healthy diet, reduces your potential for chronic lameness >> > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > >> > ::: 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) > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- []'s L?vio Zanol Puppim ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kgs at uvm.edu Tue Jul 8 17:38:34 2008 From: kgs at uvm.edu (Kent Saunders) Date: Tue, 08 Jul 2008 11:38:34 -0400 Subject: Monitor oracle resources In-Reply-To: References: <200807081327.55449.cschneemann@suse.de> <200807081338.11815.cschneemann@suse.de> Message-ID: <487389FA.2060908@uvm.edu> Can you post that script? Looks interesting. Livio Zanol Puppim wrote: > Here we have made an shell script that returns the stats of all > cluster services, and made it apeend the results to an OID using > NET-SNMP snmpd... > > On the Nagios server host, we've created an shell script to make an > walk and verify if the services are working properly... I think it's > better then using NRPE... > > snmpwalk example output(I know that the format is not the ideal yet...): > > # snmpwalk -v1 -c public 127.0.1 .1.3.6.1.4.1.2021.51 > UCD-SNMP-MIB::ucdavis.51.1.1 = INTEGER: 1 > UCD-SNMP-MIB::ucdavis.51.2.1 = STRING: "oracle" > UCD-SNMP-MIB::ucdavis.51.3.1 = STRING: "/usr/local/bin/snmp_test.sh" > UCD-SNMP-MIB::ucdavis.51.100.1 = INTEGER: 0 > UCD-SNMP-MIB::ucdavis.51.101.1 = STRING: "ora.server0.ASM1.asm ONLINE > ONLINE on server0" > UCD-SNMP-MIB::ucdavis.51.101.2 = STRING: > "ora.server0.LISTENER_server0.lsnr ONLINE ONLINE on server0" > UCD-SNMP-MIB::ucdavis.51.101.3 = STRING: "ora.server0.gsd ONLINE > ONLINE on server0" > UCD-SNMP-MIB::ucdavis.51.101.4 = STRING: "ora.server0.ons ONLINE > ONLINE on server0" > UCD-SNMP-MIB::ucdavis.51.101.5 = STRING: "ora.server0.vip ONLINE > ONLINE on server0" > UCD-SNMP-MIB::ucdavis.51.101.6 = STRING: "ora.server1.ASM2.asm ONLINE > ONLINE on server1" > UCD-SNMP-MIB::ucdavis.51.101.7 = STRING: > "ora.server1.LISTENER_server1.lsnr ONLINE ONLINE on server1" > UCD-SNMP-MIB::ucdavis.51.101.8 = STRING: "ora.server1.gsd ONLINE > ONLINE on server1" > UCD-SNMP-MIB::ucdavis.51.101.9 = STRING: "ora.server1.ons ONLINE > ONLINE on server1" > UCD-SNMP-MIB::ucdavis.51.101.10 = STRING: "ora.server1.vip ONLINE > ONLINE on server1" > UCD-SNMP-MIB::ucdavis.51.101.11 = STRING: "ora.oracle.db ONLINE > ONLINE on server0" > UCD-SNMP-MIB::ucdavis.51.101.12 = STRING: "ora.oracle.oracle.cs ONLINE > ONLINE on server1" > UCD-SNMP-MIB::ucdavis.51.101.13 = STRING: > "ora.oracle.oracle.oracle1.srv ONLINE ONLINE on server0" > UCD-SNMP-MIB::ucdavis.51.101.14 = STRING: "ora.oracle.oracle.oracle2.srv" > UCD-SNMP-MIB::ucdavis.51.102.1 = INTEGER: 0 > UCD-SNMP-MIB::ucdavis.51.103.1 = "" > > 2008/7/8 Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I > : > >> Looks like! >> >> >> Harry M. Hart Systems integrator >> (757) 203-7422 >> DSN 668-7422 >> Harry.Hart at intel.jwfc.jfcom.smil.mil >> Harry.Hart at jwfc.ic.gov >> >> -----Original Message----- >> From: Christian Schneemann [mailto:cschneemann at suse.de] >> Sent: Tuesday, July 08, 2008 7:38 AM >> To: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Monitor oracle resources >> >> On Tuesday July 8 2008 01:33:03 pm Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: >> Hi, >> so your text files are the needed plugins? >> >> >> Christian >> >> >>> I downloaded files from a web page that are txt files but they don't >>> explain what I need to do to make them useful for my requirement. I took >>> off the .txt extension and I seem to be making some progress. I can get the >>> check_oracle_cluster one to at least read the crs_stat parameters. I just >>> need to play with them a little bit more. >>> >>> Thanks again >>> >>> >>> Harry M. Hart Systems integrator >>> (757) 203-7422 >>> DSN 668-7422 >>> Harry.Hart at intel.jwfc.jfcom.smil.mil >>> Harry.Hart at jwfc.ic.gov >>> >>> -----Original Message----- >>> From: Christian Schneemann [mailto:cschneemann at suse.de] >>> Sent: Tuesday, July 08, 2008 7:28 AM >>> To: nagios-users at lists.sourceforge.net >>> Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I >>> Subject: Re: [Nagios-users] Monitor oracle resources >>> >>> On Tuesday July 8 2008 01:21:14 pm Hart, Harry M. CTR USJFCOM >>> >> SUPPORT.SUPPORT JTC-I wrote: >> >>>> I know that part. I don't know how to get the txt files to work. As I >>>> said, I'm not a programmer. >>>> >>> Hm, maybe you should show us what txt file you mean? Why not simple search >>> on nagiosexchange.net for a plugin that fits your needs? >>> >>> Sorry, I don't understand what you mean with txt files? Why are you >>> handling with textfiles? Is there a discription in how to set up a test for >>> nagios? >>> >>> >>> Christian >>> >>> >>>> Thanks anyway >>>> >>>> >>>> Harry M. Hart Systems integrator >>>> (757) 203-7422 >>>> DSN 668-7422 >>>> Harry.Hart at intel.jwfc.jfcom.smil.mil >>>> Harry.Hart at jwfc.ic.gov >>>> >>>> -----Original Message----- >>>> From: Christian Schneemann [mailto:cschneemann at suse.de] >>>> Sent: Tuesday, July 08, 2008 7:17 AM >>>> To: nagios-users at lists.sourceforge.net >>>> Cc: Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I >>>> Subject: Re: [Nagios-users] Monitor oracle resources >>>> >>>> On Tuesday July 8 2008 12:59:23 pm Hart, Harry M. CTR USJFCOM >>>> >>> SUPPORT.SUPPORT JTC-I wrote: >>> >>>>> Hello all >>>>> >>>> Hi, >>>> >>>> >>>>> I want to monitor oracle resources on remote servers. I found a couple >>>>> text files (one written by Ricardo Alves dos Reis) that looks like >>>>> they might do it on the local machine but I am not a programmer and >>>>> don't know how to get them to monitor remote crs services. Does anyone >>>>> know how I can do this? >>>>> >>>> You can do local tests on a remote machine with nrpe, nagios remote >>>> plugin executor. >>>> >>>> Greetings, >>>> Christian >>>> >>>> >>>>> TIA >>>>> Harry >>>>> >>>>> Harry M. Hart Systems integrator >>>>> SAIC >>>>> USJFCOM JIOC DCGS-A >>>>> (757) 203-7422 >>>>> DSN 668-7422 >>>>> Harry.Hart at intel.jwfc.jfcom.smil.mil >>>>> Harry.Hart at jwfc.ic.gov >>>>> >>>>> >>>>> >>>>> ---------------------------------------------------------------------- >>>>> --- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>>>> Studies have shown that voting for your favorite open source project, >>>>> along with a healthy diet, reduces your potential for chronic lameness >>>>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>>>> _______________________________________________ >>>>> Nagios-users mailing list >>>>> Nagios-users at lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>> >>>>> ::: 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) >>>> >>>> ------------------------------------------------------------------------- >>>> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >>>> Studies have shown that voting for your favorite open source project, >>>> along with a healthy diet, reduces your potential for chronic lameness >>>> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >>>> _______________________________________________ >>>> Nagios-users mailing list >>>> Nagios-users at lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> >>>> ::: 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) >> >> ------------------------------------------------------------------------- >> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >> Studies have shown that voting for your favorite open source project, >> along with a healthy diet, reduces your potential for chronic lameness >> and boredom. Vote Now at http://www.sourceforge.net/community/cca08 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 8 17:21:39 2008 From: michael.streb at netways.de (Michael Streb) Date: Tue, 08 Jul 2008 17:21:39 +0200 Subject: NagiosForge announcement Message-ID: Hi List, we are proud to announce you a new Nagios related addon repository called NagiosForge. In addition to NagiosExchange where your plugins can be shared with the rest of the Nagios users, NagiosForge is a full featured development platform with subversion/mailinglists/forums/reports and an wiki based documentation system. It gives you the ability to develop your addons without taking care of the development system itself. In summary its like sourceforge especially for Nagios related projects. Some projects like the "Nagios Business Process AddOn" or the NagiosGrapher are already hosted on NagiosForge but we would be happy to see your Nagios addons on http://www.nagiosforge.org. Best Regards, Michael Streb -- Michael Streb Managing 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 ** ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 9 02:16:04 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 8 Jul 2008 21:16:04 -0300 Subject: problem in scheduling In-Reply-To: References: Message-ID: <2dfcbd1b0807081716r30cd678fhe5be5ca740327d9@mail.gmail.com> On Tue, Jul 8, 2008 at 8:57 AM, Andr? Moura wrote: > I'm using Nagios 3.0.3 in Red Hat AS 5 with 7.000 services checking. But, > where rotation log the midnight, this problem occurs: > > service1 CRITICAL 08-07-2008 08:42:56 1d 4h 10m 13s 1/1 > return to plugin > > service2 CRITICAL 07-07-2008 23:58:00 0d 9h 19m 49s 1/1 > return to plugin The duration of 0d 9h 19m 49s means that the service2 is critical for that long. It is not related to log rotation at all. What makes you think that nagios log rotation is causing this? The service2 stopped to check at 23:58, this occurs every day at midnight. > > Someone has the same problem? why this occurs? > Never had this problem before. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Acousins at networkten.com.au Wed Jul 9 03:31:18 2008 From: Acousins at networkten.com.au (Alastair Cousins) Date: Wed, 09 Jul 2008 11:31:18 +1000 Subject: Multiple instances of broker_module ndomod not working Message-ID: <4874A185.4C26.00A9.0@networkten.com.au> Hi, I've tried to do a fair bit of searching of the various mailing lists and messageboards and not come across anyone reporting a similar error (or trying such a thing!).. Nagios Version: 3.0.3 ndoutils: 1.4b7 I am trying to use both 'nagvis' and the NPC addon for cacti with the same Nagios installation. NPC implements the ndo database tables itself within the Cacti database, and as such, the 'best' way to run these two addons side-by-side appears to be to run two separate instances of the broker_module ndomod This appears to be supported by the comments in the ndomod sample cfg files by simply adding a second entry in nagios.cfg eg: broker_module=/data01/nagios/bin/ndomod-3x.o config_file=/data01/nagios/etc/ndomod_npc.cfg broker_module=/data01/nagios/bin/ndomod-3x.o config_file=/data01/nagios/etc/ndomod.cfg I have then configured the two ndomod processes to bind to separate sockets and use distinct filenames in all instances (config below). The outcome of this is both ndomod objects are initialized by Nagios (as seen in the nagios.log file), however, the first broker_module entry is the only one to actually start outputting data from Nagios to it's socket/TCP port. The second module outputs some startup information and then just sits there with no Nagios data being output. I've tried using both TCP and unix sockets, and also set both ndomod processes to dump to a file to debug further, and the behaviour is consistent. If i reverse the broker_module lines, the first module (and thus, the first application) is the one that works, so i'm confident my configurations are correct. I'm suspecting this could be a Nagios bug in how it feeds data to the modules. I havent tried this on earlier versions, but I do have a v3.0.1 installation on an older server that I will try to test on to see it it's somehow a regression. I have also tried adding a 3rd instance of broker_module and still only the first instance is the one that processes any Nagios data.. Has anyone tried this or does anyone have any input as to how to proceed? Happy to do further debugging.. ndomod.cfg: instance_name=nagiostest output_type=unixsocket output=/data01/nagios/var/ndo.sock output_buffer_items=5000 buffer_file=/data01/nagios/var/ndomod.tmp file_rotation_interval=14400 file_rotation_command=rotate_ndo_log file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 ndomod_npc.cfg: instance_name=npc output_type=unixsocket output=/data01/nagios/var/ndo_npc.sock output_buffer_items=5000 buffer_file=/data01/nagios/var/ndomod_npc.tmp file_rotation_interval=14400 file_rotation_command=rotate_ndo_log file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=2 Cheers Alastair Cousins Broadcast IT Systems Engineer Network Ten Pty Ltd Main: +61-2-9650-1010 Direct: +61-2-9650-1151 Network Ten Pty Ltd ABN 91 052 515 250 Network Ten Disclaimer. This e-mail (including all attachments) is intended solely for the named addressee. If you receive it in error, please let us know by reply e-mail, delete it from your system and destroy the copies. This e-mail is also subject to copyright. No part of it should be reproduced, adapted or transmitted without the written consent of the copyright owner. E-mails may be interfered with, may contain computer viruses or other defects and may not be successfully replicated on other systems. We give no warranties in relation to these matters. If you have any doubts about the authenticity of an e-mail purportedly sent by us, please contact us immediately. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 9 12:04:01 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 9 Jul 2008 12:04:01 +0200 Subject: Strange empty entries with utime 0 in showlog.cgi Message-ID: Greetings, after debugging some retry problems, I stumbled over strange entries in the showlog.cgi (see attached screenshot). This is the daily log. At 00:00 it rotates and logs all initial states of the machines/services - even though I disabled it in the nagios.cfg. Though I do not really mind that. The strange thing are the empty entries of 01.01.1970 _after_ the initial states, then some current entries, then again 01.01.1970, then again current states, and then nagios logs ALL the initial states _again_. Not that it's causing any obvious problems, but it looks kinda strange in my opinion. Does anyone have an idea what may cause this behaviour? Thanks in advance, Sascha -- 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 -------------- A non-text attachment was scrubbed... Name: nagios_eventlog.jpg Type: image/jpeg Size: 128043 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Jevos at oriflame.com Wed Jul 9 13:02:47 2008 From: Peter.Jevos at oriflame.com (Jevos, Peter) Date: Wed, 9 Jul 2008 13:02:47 +0200 Subject: Nagios and any tracking system ( or how to export nagios logs ) Message-ID: <6639BA20B265594590E97DD72A8EE0359DA83A@exosw.osw.ori.local> Hi , I'd like to ask you if you have some experiences with nagios integration into som tracking systems. Or dou you have some system how to export nagios logs into excel or other formats ? I'd like to create somehing like tracking systems with user interaction Thanks pet ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Wed Jul 9 13:08:33 2008 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 9 Jul 2008 12:08:33 +0100 Subject: Nagios with Cfengine/Puppet Message-ID: <3A4EBDA1-B4FF-4153-AD2D-474290719458@co.sapo.pt> Hi! Does anyone have experience automating Nagios with Cfengine or Puppet? How do you accomplish that? Do you integrate Nagios with your System Inventory? TIA, Marco Ramos ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 9 14:10:05 2008 From: marc at ena.com (Marc Powell) Date: Wed, 9 Jul 2008 07:10:05 -0500 Subject: Strange empty entries with utime 0 in showlog.cgi In-Reply-To: References: Message-ID: <22FB3BA0-E7D0-49FB-9628-1D6996D0435B@ena.com> On Jul 9, 2008, at 5:04 AM, Sascha.Runschke at gfkl.com wrote: > > Greetings, > > after debugging some retry problems, I stumbled over strange entries > in the showlog.cgi (see attached > screenshot). This is the daily log. At 00:00 it rotates and logs all > initial states of the machines/services - > even though I disabled it in the nagios.cfg. Though I do not really > mind that. The strange thing are the > empty entries of 01.01.1970 _after_ the initial states, then some > current entries, then again 01.01.1970, then > again current states, and then nagios logs ALL the initial states > _again_. > > Not that it's causing any obvious problems, but it looks kinda > strange in my opinion. > Does anyone have an idea what may cause this behaviour? Seems most likely to be multiple nagios daemons running at the same time, some from when you had configured nagios to log those initial states. -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 9 15:19:34 2008 From: ssimmons at cymfony.com (Seth Simmons) Date: Wed, 9 Jul 2008 09:19:34 -0400 Subject: strange problem with service check rescheduling Message-ID: <13F36D2926AD444697093282F20041B70758CB4E@buf-ex01.cymfony.com> I have a strange problem with some service checks. We have a number of customer sites that are being monitored. There is a group in asia that often will recycle sites during the night (US) and so the monitoring schedule of these checks is 24x7 with exclusion of 4am-5:30am. Here is the problem. Last 3 days I get up in the morning and Nagios shows a number of service checks in a critical state. The last 2 days it was only a few, but today is 42 (all customer sites). The last check of the service is showing 3:55am which is right before the exclusion period starts. However, it never started again at 5:30am. In addition, the next scheduled check is midnight tomorrow. I know they are not doing this (manual reschedule) because I have user authentication enabled and the apache log shows no access the last several hours. I've had this exclusion in place for over a month and this just started on Monday. I did not make any changes over the weekend. Very strange... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 9 15:36:50 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 9 Jul 2008 15:36:50 +0200 Subject: Antwort: Re: Strange empty entries with utime 0 in showlog.cgi In-Reply-To: <22FB3BA0-E7D0-49FB-9628-1D6996D0435B@ena.com> References: <22FB3BA0-E7D0-49FB-9628-1D6996D0435B@ena.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 09.07.2008 14:10:05: > Seems most likely to be multiple nagios daemons running at the same > time, some from when you had configured nagios to log those initial > states. There are no two nagios instances running at this timefor sure, despite those that the root nagios process forked by itself... But as already said, I do not care that much for the initial state logging, but for the strange empty entries from 01.01.1970. 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryan.dooley at gmail.com Wed Jul 9 16:41:46 2008 From: ryan.dooley at gmail.com (Ryan Dooley) Date: Wed, 9 Jul 2008 07:41:46 -0700 Subject: Nagios with Cfengine/Puppet In-Reply-To: <3A4EBDA1-B4FF-4153-AD2D-474290719458@co.sapo.pt> References: <3A4EBDA1-B4FF-4153-AD2D-474290719458@co.sapo.pt> Message-ID: Sure do. We (Powerset) generate our nagios configurations from a database of our inventory and services. This system allows our users opt in for systems that should be monitored (and in the short term what they should be monitored for). The nagios monitors pull our configuration from puppet (or rather puppet ensures that our configuration is kept in a consistent state). Cheers, Ryan On Wed, Jul 9, 2008 at 4:08 AM, Marco Ramos wrote: > > Hi! > > Does anyone have experience automating Nagios with Cfengine or Puppet? > How do you accomplish that? Do you integrate Nagios with your System > Inventory? > > TIA, > Marco Ramos > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rich+nagios at quintinz.com Wed Jul 9 18:49:12 2008 From: rich+nagios at quintinz.com (Richard Quintin) Date: Wed, 9 Jul 2008 12:49:12 -0400 Subject: Dependency checking for services in downtime Message-ID: <822f14060807090949k5d63f72r4065a8cf38f92337@mail.gmail.com> I have a test configuration like so: define service{ use prod-nagios-service-template host_name localhost service_description test-master check_command tcp!9898 } define service{ use prod-nagios-service-template host_name localhost service_description test-child check_command tcp!9897 } define servicedependency{ host_name localhost service_description test-master dependent_host_name localhost dependent_service_description test-child execution_failure_criteria c ; Don't bother checking logins if the listener is critical notification_failure_criteria w,c ; Don't bother notifying about logins if the listener is critical or warning } When test-master is in a period of scheduled downtime, I expect that test-child will be down. Nagios does not notify me about test-master (because it's in a scheduled downtime) but it does notify me about test-child. Is it possible to configure this so that I don't have to schedule downtime for all of the child dependencies? Thanks for your help! -- Richard Quintin, DBA Database & Application Administration Virginia Tech -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbilder at csstars.com Wed Jul 9 19:23:19 2008 From: jbilder at csstars.com (Bilder, Jeff) Date: Wed, 9 Jul 2008 12:23:19 -0500 Subject: Notify by service email In-Reply-To: <822f14060807090949k5d63f72r4065a8cf38f92337@mail.gmail.com> References: <822f14060807090949k5d63f72r4065a8cf38f92337@mail.gmail.com> Message-ID: I am having an issue where nagios is not sending the $SERVICENOTES$ variable in emails when a service goes down. Please see the following test example: define serviceextinfo{ host_name Router service_description Check_eth1/2 notes "this is the Ethernet interface" } # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nService Notes:\n\n$SERVICENOTES$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Email: ***** Nagios ***** Notification Type: RECOVERY Service: Check_eth1/2 Host: Router Address: State: OK Date/Time: Wed Jul 9 12:32:55 CDT 2008 Additional Info: Ethernet1/2:UP:1 UP: OK Service Notes: Any help is much appreciated. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Wed Jul 9 19:49:37 2008 From: myoung at nagios.org (Mark Young) Date: Wed, 9 Jul 2008 12:49:37 -0500 Subject: Notify by service email In-Reply-To: References: <822f14060807090949k5d63f72r4065a8cf38f92337@mail.gmail.com> Message-ID: <2FC4EE67-8CB2-4043-A174-FA280EFAE2C3@nagios.org> Hi Jeff, You should post the version of Nagios you have questions about. > I am having an issue where nagios is not sending the $SERVICENOTES$ > variable in emails when a service goes down. You should not be using quotes in your definition. These are normally defined as illegal macro characters (along with `~$^&"|'<> ) in your main config. This may fix your problem. Check out the docs on "understanding macros" for your specific version of nagios. For 3.x http://nagios.sourceforge.net/docs/3_0/macros.html . define serviceextinfo{ host_name Router service_description Check_eth1/2 notes this is the Ethernet interface } Mark Young ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Wed Jul 9 20:21:22 2008 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 9 Jul 2008 20:21:22 +0200 Subject: NagVis Screenshot or Read-Only Maps Message-ID: Hi All! We would like to provide a NagVis map to our customers of the current state of their services. We have created an httpd-user and give that user read-only access to the map. The problem is that we do not want this user to be able to access the services in Nagios because (as far as I can tell) there is no way to prevent them from running the Service Commands. I have found a couple of tools like khtml2png. However, khtml2png seems to have trouble with Java script, which actually get displayed in the screenshot. I was wondering if any anyone had ideas how to get a read-only NagVis map that updates, but you cannot click the services. Regards, Jim Mohr ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbilder at csstars.com Wed Jul 9 20:42:23 2008 From: jbilder at csstars.com (Bilder, Jeff) Date: Wed, 9 Jul 2008 13:42:23 -0500 Subject: Notify by service email In-Reply-To: <2FC4EE67-8CB2-4043-A174-FA280EFAE2C3@nagios.org> References: <822f14060807090949k5d63f72r4065a8cf38f92337@mail.gmail.com> <2FC4EE67-8CB2-4043-A174-FA280EFAE2C3@nagios.org> Message-ID: Thanks for the reply. I tried it with and without quotes and still get the same results. I am running version 3.0.3. Thanks! -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: Wednesday, July 09, 2008 12:50 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Notify by service email Hi Jeff, You should post the version of Nagios you have questions about. > I am having an issue where nagios is not sending the $SERVICENOTES$ > variable in emails when a service goes down. You should not be using quotes in your definition. These are normally defined as illegal macro characters (along with `~$^&"|'<> ) in your main config. This may fix your problem. Check out the docs on "understanding macros" for your specific version of nagios. For 3.x http://nagios.sourceforge.net/docs/3_0/macros.html . define serviceextinfo{ host_name Router service_description Check_eth1/2 notes this is the Ethernet interface } Mark Young ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoran at apple.com Wed Jul 9 20:44:12 2008 From: amoran at apple.com (Andy Moran) Date: Wed, 9 Jul 2008 11:44:12 -0700 Subject: check_disk question In-Reply-To: <486B7DCC.3040703@aei.ca> References: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> <486992D5.5020702@aei.ca> <6B41B617-1172-48B5-9465-8BF4442D28DF@apple.com> <486B7DCC.3040703@aei.ca> Message-ID: Sure: nenc001:~ root# df -h /opt/itms_f39v4/ Filesystem Size Used Avail Capacity Mounted on nwk-its-filer39:/vol/vol4 9.6Ti 7.7Ti 1.9Ti 80% /opt/itms_f39v4 nenc001:~ root# /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p / opt/itms_f39v4/ DISK CRITICAL - free space: /opt/itms_f39v4 0 MB (0% inode=99%);| /opt/ itms_f39v4=-2147483648MB;1342616;1510443;0;1678270 nenc001:~ root# /opt/local/libexec/nagios/check_disk -vvv -w 20% -c 10% -p /opt/itms_f39v4/ For /opt/itms_f39v4, total=3437097704, available=0, available_to_root=4164680672, used=18446744072981968648, fsp.fsu_files=31876689, fsp.fsu_ffree=31863221 For /opt/itms_f39v4, used_pct=100 free_pct=0 used_units=1.75922e+13 free_units=0 total_units=1.67827e+06 used_inodes_pct=1 free_inodes_pct=99 fsp.fsu_blocksize=512 mult=1048576 Freespace_units result=0 Freespace% result=2 Usedspace_units result=0 Usedspace_percent result=0 Usedinodes_percent result=0 Freeinodes_percent result=0 DISK CRITICAL - free space: /opt/itms_f39v4 0 MB (0% inode=99%);| /opt/ itms_f39v4=-2147483648MB;1342616;1510443;0;1678270 nenc001:~ root# --Andy On Jul 2, 2008, at 6:08 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 01/07/08 01:40 PM, Andy Moran wrote: >> >> Thanks for the response. I updated to the latest plugins (1.4.12), >> but >> still seeing negative numbers: >> >> nenc001:~ root# /opt/local/libexec/nagios/check_disk --version >> check_disk v1991 (nagios-plugins *1.4.12*) >> nenc001:~ root# df -h /opt/itms_f40v6 >> Filesystem Size Used Avail Capacity Mounted on >> nwk-its-filer40:/vol/vol6 11Ti 9.9Ti 900Gi 92% /opt/ >> itms_f40v6 >> nenc001:~ root# /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p >> /opt/itms_f40v6 >> DISK OK - free space: /opt/itms_f40v6 921477 MB (*-1072952184026%* >> inode=99%);| /opt/itms_f40v6=-2147483648MB;671582;755530;0;839478 >> nenc001:~ root# >> >> Is there a workaround? > > Please post the full debug output (-vvv) so I can see what's going > on here. > > Thanks > > Thomas > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIa33M6dZ+Kt5BchYRAl0AAKC2EjDNJ5NHd8xv9reglwBab1bupgCgtp54 > NqYNq9KDsBUrXV8JnlIx7pg= > =ijrK > -----END PGP SIGNATURE----- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Jul 9 21:17:26 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 10 Jul 2008 00:47:26 +0530 Subject: unable to connect to data sink Message-ID: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> Hi I get [1215630364] ndomod: Still unable to connect to data sink. 1019216 items lost, 5000 queued items to flush. in nagios.log file I can see the ndo2db has been started. nagios 14086 19676 0 11:24 ? 00:00:02 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 15964 19676 0 11:25 ? 00:00:02 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 19676 1 0 07:44 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 23622 19676 0 08:38 ? 00:00:10 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg My NDO2DB DAEMON CONFIG FILE is mentioned here -> http://www.pastebin.org/50006 My NDOMOD CONFIG FILE is mentioned here -> http://www.pastebin.org/50007 Any clue as what is going wrong Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boph at tdchosting.dk Wed Jul 9 21:52:19 2008 From: boph at tdchosting.dk (Bo Philip Larsen) Date: Wed, 9 Jul 2008 21:52:19 +0200 Subject: Nagios with Cfengine/Puppet In-Reply-To: References: <3A4EBDA1-B4FF-4153-AD2D-474290719458@co.sapo.pt>, Message-ID: <02EAC0960BFECB4F9EAEC26B4972EE4471C7C7F33C@TDCHEXBE01.int.tdch.dk> Hi, Yes, we do you can take a look at the nagconf on http://naguser.dk it is a config tool for nagios i a distributed environment with all from nrpe client cfg's to a number of nagios servers. Regards Bo Larsen ________________________________ Fra: nagios-users-bounces at lists.sourceforge.net [nagios-users-bounces at lists.sourceforge.net] P? vegne af Ryan Dooley [ryan.dooley at gmail.com] Sendt: 9. juli 2008 16:41 Til: Marco Ramos Cc: nagios-users at lists.sourceforge.net Emne: Re: [Nagios-users] Nagios with Cfengine/Puppet Sure do. We (Powerset) generate our nagios configurations from a database of our inventory and services. This system allows our users opt in for systems that should be monitored (and in the short term what they should be monitored for). The nagios monitors pull our configuration from puppet (or rather puppet ensures that our configuration is kept in a consistent state). Cheers, Ryan On Wed, Jul 9, 2008 at 4:08 AM, Marco Ramos > wrote: Hi! Does anyone have experience automating Nagios with Cfengine or Puppet? How do you accomplish that? Do you integrate Nagios with your System Inventory? TIA, Marco Ramos ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From finchs at stgeorge.com.au Thu Jul 10 02:19:13 2008 From: finchs at stgeorge.com.au (Simon Finch) Date: Thu, 10 Jul 2008 10:19:13 +1000 Subject: unable to connect to data sink In-Reply-To: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> Message-ID: <4875E22C.B47D.0048.0@stgeorge.com.au> Hi Kaushal, The db_user, db_pass and db_name in your ndo2db.cfg file are still set to the defaults of db_user=ndouser db_pass=ndopassword db_name=nagios Did you create the MySql database "nagios" and can you connect to it from the console on your host ? mysql -u ndouser -p nagios should prompt you for a password, ie, "ndopassword" and then give you a mysql prompt. "\s" should then show you a status screen with the database and connection details. Hope this helps. Simon Finch ESM Team Leader St.George Bank Australia >>> "Kaushal Shriyan" 10/07/2008 5:17 am >>> Hi I get [1215630364] ndomod: Still unable to connect to data sink. 1019216 items lost, 5000 queued items to flush. in nagios.log file I can see the ndo2db has been started. nagios 14086 19676 0 11:24 ? 00:00:02 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 15964 19676 0 11:25 ? 00:00:02 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 19676 1 0 07:44 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 23622 19676 0 08:38 ? 00:00:10 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg My NDO2DB DAEMON CONFIG FILE is mentioned here -> http://www.pastebin.org/50006 My NDOMOD CONFIG FILE is mentioned here -> http://www.pastebin.org/50007 Any clue as what is going wrong Thanks and Regards Kaushal *** This is an automatically appended message from St. George ITP. If this email is SPAM please register it with WebSense MailControl by clicking here ( https://www.mailcontrol.com/sr/kDWEHkhQGD!TndxI!oX7UnUYIb7wfOFWhagr5azsOIFSj1TnkEgu!X53ALSpTnhEATAgmcYJRWld8GUOJKJHvw== ). *** ********************************************************************** ***** IMPORTANT INFORMATION ***** This document should be read only by those persons to whom it is addressed and its content is not intended for use by any other persons. If you have received this message in error, please notify us immediately. Please also destroy and delete the message from your computer. Any unauthorised form of reproduction of this message is strictly prohibited. St George Bank Limited AFSL 240997, Advance Asset Management Limited AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management Limited AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable for the proper and complete transmission of the information contained in this communication, nor for any delay in its receipt. ********************************************************************** ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 10 07:34:59 2008 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 10 Jul 2008 07:34:59 +0200 Subject: NagVis Screenshot or Read-Only Maps In-Reply-To: References: Message-ID: > -----Urspr?ngliche Nachricht----- > Von: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] > Gesendet: Mittwoch, 9. Juli 2008 20:27 > An: Mohr James; nagios-users at lists.sourceforge.net > Betreff: Re: [Nagios-users] NagVis Screenshot or Read-Only Maps > > We do this by giving the user a login to nagvis. They can > click the services to view them in the web interface but in > cgi.cfg we have given them no rights to manipulate them, so > the get the loely oopsy! My boss is not too happy with that solution (I assume you mean not listing them as contacts for the respective services) Everything has to absolutely 100% clean and giving them an error message for is not "clean". I have been considering a feature request for an upcoming version. As more and more companies are using Nagios in general as well as the various add-ons, there is a growing need for dealing with multiple customers within a single Nagios instance. I would like to see finer control over who can do what. Something as "simple" as a new option "is_admin" for the contact objects that would activate/deactive the Host/Server Commands would be useful. Things like SLA reporting are needed, as well. There are a couple of companies working on products (commercial as far as I know). However, I am not aware of any that are ready for prime time. Regards, Jim Mohr ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 10 07:56:55 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 10 Jul 2008 11:26:55 +0530 Subject: unable to connect to data sink In-Reply-To: <4875E22C.B47D.0048.0@stgeorge.com.au> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> Message-ID: <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> Hi Simon It works perfectly fine when i do the below steps $ mysql -u ndouser -p nagios Enter password: Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 135 Server version: 5.0.54-log Gentoo Linux mysql-5.0.54 Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> \s -------------- mysql Ver 14.12 Distrib 5.0.54, for pc-linux-gnu (x86_64) using readline 5.2 Connection id: 135 Current database: nagios Current user: ndouser at localhost SSL: Not in use Current pager: /usr/bin/less Using outfile: '' Using delimiter: ; Server version: 5.0.54-log Gentoo Linux mysql-5.0.54 Protocol version: 10 Connection: Localhost via UNIX socket Server characterset: utf8 Db characterset: utf8 Client characterset: utf8 Conn. characterset: utf8 UNIX socket: /var/run/mysqld/mysqld.sock Uptime: 16 hours 36 min 21 sec Threads: 4 Questions: 1905637 Slow queries: 0 Opens: 150 Flush tables: 1 Open tables: 64 Queries per second avg: 31.877 -------------- mysql> quit Any further clue Awaiting your earnest reply. Thanks and Regards Kaushal On Thu, Jul 10, 2008 at 5:49 AM, Simon Finch wrote: > Hi Kaushal, > > The db_user, db_pass and db_name in your ndo2db.cfg file are still set to > the defaults of > > db_user=ndouser > db_pass=ndopassword > db_name=nagios > > Did you create the MySql database "nagios" and can you connect to it from > the console on your host ? > > mysql -u ndouser -p nagios > > should prompt you for a password, ie, "ndopassword" > > and then give you a mysql prompt. > > "\s" should then show you a status screen with the database and connection > details. > > Hope this helps. > > Simon Finch > ESM Team Leader > St.George Bank > Australia > > > >>> "Kaushal Shriyan" 10/07/2008 5:17 am >>> > Hi > > I get [1215630364] ndomod: Still unable to connect to data sink. 1019216 > items lost, 5000 queued items to flush. in nagios.log file > I can see the ndo2db has been started. > > nagios 14086 19676 0 11:24 ? 00:00:02 /usr/nagios/bin/ndo2db-2x > -c /etc/nagios/ndo2db.cfg > nagios 15964 19676 0 11:25 ? 00:00:02 /usr/nagios/bin/ndo2db-2x > -c /etc/nagios/ndo2db.cfg > nagios 19676 1 0 07:44 ? 00:00:00 /usr/nagios/bin/ndo2db-2x > -c /etc/nagios/ndo2db.cfg > nagios 23622 19676 0 08:38 ? 00:00:10 /usr/nagios/bin/ndo2db-2x > -c /etc/nagios/ndo2db.cfg > > My NDO2DB DAEMON CONFIG FILE is mentioned here -> > http://www.pastebin.org/50006 > My NDOMOD CONFIG FILE is mentioned here -> http://www.pastebin.org/50007 > > Any clue as what is going wrong > > Thanks and Regards > > Kaushal > > > > *** This is an automatically appended message from St. George ITP. If this > email is SPAM please register it with WebSense MailControl by clicking here > ( > https://www.mailcontrol.com/sr/kDWEHkhQGD!TndxI!oX7UnUYIb7wfOFWhagr5azsOIFSj1TnkEgu!X53ALSpTnhEATAgmcYJRWld8GUOJKJHvw==). *** > > > ********************************************************************** > ***** IMPORTANT INFORMATION ***** > This document should be read only by those persons to whom it is > addressed and its content is not intended for use by any other > persons. If you have received this message in error, please notify > us immediately. Please also destroy and delete the message from > your computer. Any unauthorised form of reproduction of this message > is strictly prohibited. > > St George Bank Limited AFSL 240997, Advance Asset Management Limited > AFSL 240902, St George Life Limited AFSL 240900, ASGARD Capital Management > Limited > AFSL 240695 and Securitor Financial Group Limited AFSL 240687 is not liable > for > the proper and complete transmission of the information contained in > this communication, nor for any delay in its receipt. > ********************************************************************** > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Jul 10 11:36:21 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 10 Jul 2008 05:36:21 -0400 Subject: unable to connect to data sink In-Reply-To: <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> Message-ID: <4875D815.7000407@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/07/08 01:56 AM, Kaushal Shriyan wrote: > Hi Simon > > It works perfectly fine when i do the below steps Do you have the ndodb daemon (or something similar) running? You should have a socket in /var/nagios/ndo.sock if you type (as root): fuser /var/nagios/ndo.sock It should return you the pid of the daemon. P.S.: I never user or even looked at ndodb, but this is obvious by looking at your config files. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIddgV6dZ+Kt5BchYRAtVDAKDM/5HyLvhFA+BW4t6h9yEi90YfzwCfaGt1 qI97BXOG+i3Rf9dCBgsH3xE= =c1r1 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 10 11:46:17 2008 From: marc at ena.com (Marc Powell) Date: Thu, 10 Jul 2008 04:46:17 -0500 Subject: NagVis Screenshot or Read-Only Maps In-Reply-To: References: Message-ID: <441EEB51-1020-4C04-BDB0-BA768F48B1EC@ena.com> On Jul 10, 2008, at 12:34 AM, Mohr James wrote: > > I have been considering a feature request for an upcoming version. > As more and more companies are using Nagios in general as well as > the various add-ons, there is a growing need for dealing with > multiple customers within a single Nagios instance. I would like to > see finer control over who can do what. Something as "simple" as a > new option "is_admin" for the contact objects that would activate/ > deactive the Host/Server Commands would be useful. I don't use this but it seems to be the feature you're looking for in the place you expect it to be... http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#contact can_submit_commands: This directive is used to determine whether or not the contact can submit external commands to Nagios from the CGIs. Values: 0 = don't allow contact to submit commands, 1 = allow contact to submit commands. -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 10 12:11:32 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 10 Jul 2008 15:41:32 +0530 Subject: unable to connect to data sink In-Reply-To: <4875D815.7000407@aei.ca> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> <4875D815.7000407@aei.ca> Message-ID: <6b16fb4c0807100311v21ccd957y8125391eb8c154e0@mail.gmail.com> On Thu, Jul 10, 2008 at 3:06 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/07/08 01:56 AM, Kaushal Shriyan wrote: > > Hi Simon > > > > It works perfectly fine when i do the below steps > > Do you have the ndodb daemon (or something similar) running? > > You should have a socket in /var/nagios/ndo.sock > > if you type (as root): > fuser /var/nagios/ndo.sock > > It should return you the pid of the daemon. > > > P.S.: I never user or even looked at ndodb, but this is obvious by > looking at your config files. > > Thomas > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIddgV6dZ+Kt5BchYRAtVDAKDM/5HyLvhFA+BW4t6h9yEi90YfzwCfaGt1 > qI97BXOG+i3Rf9dCBgsH3xE= > =c1r1 > -----END PGP SIGNATURE----- > Hi Thomas Its running fine. $ sudo fuser /var/nagios/ndo.sock /var/nagios/ndo.sock: 7592 7639 7640 7711 7833 19676 $ ps -aef | grep ndo2db nagios 7592 19676 0 03:06 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 7639 19676 0 03:06 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 7640 19676 0 03:06 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 7711 19676 0 03:06 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg nagios 7833 19676 0 03:07 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg kaushal 14691 24061 0 03:10 pts/0 00:00:00 grep --colour=auto ndo2db nagios 19676 1 0 Jul09 ? 00:00:00 /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg $ Any further ideas Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Jul 10 12:28:29 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 10 Jul 2008 06:28:29 -0400 Subject: check_disk question In-Reply-To: References: <7BFD009B-A8AE-4718-8A28-C2ED95B3B228@apple.com> <486992D5.5020702@aei.ca> <6B41B617-1172-48B5-9465-8BF4442D28DF@apple.com> <486B7DCC.3040703@aei.ca> Message-ID: <4875E44D.4030507@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 09/07/08 02:44 PM, Andy Moran wrote: > > Sure: > > nenc001:~ root# df -h /opt/itms_f39v4/ > Filesystem Size Used Avail Capacity Mounted on > nwk-its-filer39:/vol/vol4 9.6Ti 7.7Ti 1.9Ti 80% /opt/itms_f39v4 > > nenc001:~ root# /opt/local/libexec/nagios/check_disk -w 20% -c 10% -p > /opt/itms_f39v4/ > DISK CRITICAL - free space: /opt/itms_f39v4 0 MB (0% inode=99%);| > /opt/itms_f39v4=*-2147483648MB*;1342616;1510443;0;1678270 > > nenc001:~ root# /opt/local/libexec/nagios/check_disk -vvv -w 20% -c 10% > -p /opt/itms_f39v4/ > For /opt/itms_f39v4, total=3437097704, available=0, > available_to_root=4164680672, used=18446744072981968648, > fsp.fsu_files=31876689, fsp.fsu_ffree=31863221 > For /opt/itms_f39v4, used_pct=100 free_pct=0 used_units=1.75922e+13 > free_units=0 total_units=1.67827e+06 used_inodes_pct=1 > free_inodes_pct=99 fsp.fsu_blocksize=512 mult=1048576 > Freespace_units result=0 > Freespace% result=2 > Usedspace_units result=0 > Usedspace_percent result=0 > Usedinodes_percent result=0 > Freeinodes_percent result=0 > DISK CRITICAL - free space: /opt/itms_f39v4 0 MB (0% inode=99%);| > /opt/itms_f39v4=*-2147483648MB*;1342616;1510443;0;1678270 > nenc001:~ root# Thanks for the details... It looks like the Gnulib fsusage module is not using the 64-bit API to get file usage data. This part should be pretty much automatic so I'm not sure what's going on (I don't have much knowledge in that part of the build system)... I'm not sure if it will help but ig you have automake/autoconf you could try the following (commands below start with the prompt character '$'; beware of line wraps...): 1. Export from SVN: $ svn export http://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk/ nagiosplug $ cd nagiosplug 2. Run the autoconf/automake stuff $ tools/setup 3. Configure and build as usual (then to test you can run the plugin straight from plugins/check_disk). Also, if you can manage to grab the syscalls used by df and check_disk, I could possibly make you a patch. I'm not sure how this is done on OS-X, but on Linux it's "strace" and on Solaris it's "truss". I.e. $ strace df Hope this helps... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIdeRN6dZ+Kt5BchYRAu/XAJ0deRXEuQIHji9amUQg04NcmB1IdwCgj26z XvvJ5ii2RN0NjSoEO+GoB1I= =tGYA -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Jul 10 12:33:47 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 10 Jul 2008 06:33:47 -0400 Subject: unable to connect to data sink In-Reply-To: <6b16fb4c0807100311v21ccd957y8125391eb8c154e0@mail.gmail.com> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> <4875D815.7000407@aei.ca> <6b16fb4c0807100311v21ccd957y8125391eb8c154e0@mail.gmail.com> Message-ID: <4875E58B.5060000@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/07/08 06:11 AM, Kaushal Shriyan wrote: > Hi Thomas > Its running fine. > $ sudo fuser /var/nagios/ndo.sock > /var/nagios/ndo.sock: 7592 7639 7640 7711 7833 19676 > $ ps -aef | grep ndo2db > nagios 7592 19676 0 03:06 ? 00:00:00 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > nagios 7639 19676 0 03:06 ? 00:00:00 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > nagios 7640 19676 0 03:06 ? 00:00:00 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > nagios 7711 19676 0 03:06 ? 00:00:00 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > nagios 7833 19676 0 03:07 ? 00:00:00 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > kaushal 14691 24061 0 03:10 pts/0 00:00:00 grep --colour=auto ndo2db > nagios 19676 1 0 Jul09 ? 00:00:00 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > $ > Any further ideas Maybe a permission problem on the socket file? One of your ndodb processes is much older than the others... are you sure you don't have a stale ndo2db-2x running? You can try shutting down the daemon, doing a "killall -9 ndo2db-2x" as root and starting it again... NDODB users might have a better idea what could go wrong... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIdeWL6dZ+Kt5BchYRAua0AKCyWSoSg/LM6tymaa1HIUJj0VDrigCfWGa+ ygNRwm8VYD4ElSPDUp6rhuk= =7mCy -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 10 12:52:01 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 10 Jul 2008 16:22:01 +0530 Subject: unable to connect to data sink In-Reply-To: <4875E58B.5060000@aei.ca> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> <4875D815.7000407@aei.ca> <6b16fb4c0807100311v21ccd957y8125391eb8c154e0@mail.gmail.com> <4875E58B.5060000@aei.ca> Message-ID: <6b16fb4c0807100352k19480b5aye3fcdbe1f0a444a0@mail.gmail.com> On Thu, Jul 10, 2008 at 4:03 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/07/08 06:11 AM, Kaushal Shriyan wrote: > > > Hi Thomas > > > Its running fine. > > > $ sudo fuser /var/nagios/ndo.sock > > /var/nagios/ndo.sock: 7592 7639 7640 7711 7833 19676 > > $ ps -aef | grep ndo2db > > nagios 7592 19676 0 03:06 ? 00:00:00 > > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > > nagios 7639 19676 0 03:06 ? 00:00:00 > > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > > nagios 7640 19676 0 03:06 ? 00:00:00 > > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > > nagios 7711 19676 0 03:06 ? 00:00:00 > > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > > nagios 7833 19676 0 03:07 ? 00:00:00 > > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > > kaushal 14691 24061 0 03:10 pts/0 00:00:00 grep --colour=auto ndo2db > > nagios 19676 1 0 Jul09 ? 00:00:00 > > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > > $ > > > Any further ideas > > Maybe a permission problem on the socket file? > > One of your ndodb processes is much older than the others... are you > sure you don't have a stale ndo2db-2x running? You can try shutting down > the daemon, doing a "killall -9 ndo2db-2x" as root and starting it again... > > NDODB users might have a better idea what could go wrong... > > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIdeWL6dZ+Kt5BchYRAua0AKCyWSoSg/LM6tymaa1HIUJj0VDrigCfWGa+ > ygNRwm8VYD4ElSPDUp6rhuk= > =7mCy > -----END PGP SIGNATURE----- > Hi Thomas The permissions on nagios.lock are as below $ ls -l /var/nagios/nagios.lock -rw-r--r-- 1 nagios nagios 6 Jul 9 07:45 /var/nagios/nagios.lock $ Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sruiz at experienceis.com Thu Jul 10 13:29:49 2008 From: sruiz at experienceis.com (Sergio Ruiz) Date: Thu, 10 Jul 2008 13:29:49 +0200 Subject: command check_nrpe Message-ID: <20080710132949.0b61b7f7@sergi-tid.hi.inet> Hi!! i have nagios 2.11 and nrpe 2.8.1 in ubuntu In my nagios server, i have for services.cfg: define service { hostgroup_name debian-servers service_description check_load1 check_command check_nrpe!check_load!3,4,5!6,7,9 use generic-service } but, i have a problem in the remote server: Jul 10 15:13:51 uvbrain1 nrpe[16634]: Connection from xxx.xxx.xxx.xxx port 6546 Jul 10 15:13:51 uvbrain1 nrpe[16634]: Host address is in allowed_hosts Jul 10 15:13:51 uvbrain1 nrpe[16634]: Handling the connection... Jul 10 15:13:51 uvbrain1 nrpe[16634]: Host is asking for command 'check_load' to be run... Jul 10 15:13:51 uvbrain1 nrpe[16634]: Running command: /usr/lib/nagios/plugins/check_load -w 3,4,5 -c Jul 10 15:13:51 uvbrain1 nrpe[16634]: Command completed with return code 3 and output: Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 Jul 10 15:13:51 uvbrain1 nrpe[16634]: Return Code: 3, Output: Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 Jul 10 15:13:51 uvbrain1 nrpe[16634]: Connection from xxx.xxx.xxx.xxxclosed. problem is that "-c" valour don't are send. By terminal: v at v:/usr/share/doc/nagios2-doc/html$ /usr/lib/nagios/plugins/check_nrpe -H uvbrain1 -c check_load -a -w 1,2,3 -a -c 2,3,4 WARNING - load average: 1.09, 1.23, 1.12|load1=1.090;1.000;2.000;0; load5=1.230;2.000;3.000;0; load15=1.120;3.000;4.000;0; Any solution? Thanks!! ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Thu Jul 10 13:36:15 2008 From: mark.elsen at gmail.com (Mark Elsen) Date: Thu, 10 Jul 2008 13:36:15 +0200 Subject: Windows mscs cluster services monitoring with NAGIOS Message-ID: Hello, Can I monitor mscs-windows-cluster services with NAGIOS ? Best plugins and or solutions ? Idea's and other suggestions welcomed. Tx, Marc. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sruiz at experienceis.com Thu Jul 10 13:48:13 2008 From: sruiz at experienceis.com (Sergio Ruiz) Date: Thu, 10 Jul 2008 13:48:13 +0200 Subject: command check_nrpe In-Reply-To: <20080710132949.0b61b7f7@sergi-tid.hi.inet> References: <20080710132949.0b61b7f7@sergi-tid.hi.inet> Message-ID: <20080710134813.08bc28fc@sergi-tid.hi.inet> Sorry, it's OK... solution is very trivial.... change check_command check_nrpe!check_load!3,4,5!6,7,9 to check_command check_nrpe!check_load!3,4,5 6,7,9 and OK!! thanks!! On Thu, 10 Jul 2008 13:29:49 +0200 Sergio Ruiz wrote: > Hi!! > > i have nagios 2.11 and nrpe 2.8.1 in ubuntu > In my nagios server, i have for services.cfg: > > define service { > hostgroup_name debian-servers > service_description check_load1 > check_command check_nrpe!check_load!3,4,5!6,7,9 > use generic-service > } > > but, i have a problem in the remote server: > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Connection from xxx.xxx.xxx.xxx port 6546 > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Host address is in allowed_hosts > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Handling the connection... > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Host is asking for command 'check_load' to be > run... > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Running > command: /usr/lib/nagios/plugins/check_load -w 3,4,5 -c > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Command completed with return code 3 and > output: Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Return Code: 3, Output: Usage:check_load [-r] > -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 > Jul 10 15:13:51 uvbrain1 nrpe[16634]: Connection from > xxx.xxx.xxx.xxxclosed. > > > problem is that "-c" valour don't are send. > > > By terminal: > v at v:/usr/share/doc/nagios2-doc/html$ /usr/lib/nagios/plugins/check_nrpe -H > uvbrain1 -c check_load -a -w 1,2,3 -a -c 2,3,4 WARNING - load average: 1.09, 1.23, > 1.12|load1=1.090;1.000;2.000;0; load5=1.230;2.000;3.000;0; > load15=1.120;3.000;4.000;0; > > Any solution? > > Thanks!! > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Jul 10 14:49:24 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 10 Jul 2008 08:49:24 -0400 Subject: unable to connect to data sink In-Reply-To: <6b16fb4c0807100352k19480b5aye3fcdbe1f0a444a0@mail.gmail.com> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> <4875D815.7000407@aei.ca> <6b16fb4c0807100311v21ccd957y8125391eb8c154e0@mail.gmail.com> <4875E58B.5060000@aei.ca> <6b16fb4c0807100352k19480b5aye3fcdbe1f0a444a0@mail.gmail.com> Message-ID: <48760554.6060007@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/07/08 06:52 AM, Kaushal Shriyan wrote: > Hi Thomas > The permissions on nagios.lock are as below > $ ls -l /var/nagios/nagios.lock > -rw-r--r-- 1 nagios nagios 6 Jul 9 07:45 /var/nagios/nagios.lock > $ I said the perms of the socket file. You should also check if there's no stale process as I suggested in my earlier mail. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIdgVU6dZ+Kt5BchYRAjkHAKDgdVLckZXpOzINBabrC9utNPzeXgCfVz/x xuzPrzbOGiVRBVojwos8kvE= =hIrr -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 10 15:02:47 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Thu, 10 Jul 2008 18:32:47 +0530 Subject: unable to connect to data sink In-Reply-To: <48760554.6060007@aei.ca> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> <4875D815.7000407@aei.ca> <6b16fb4c0807100311v21ccd957y8125391eb8c154e0@mail.gmail.com> <4875E58B.5060000@aei.ca> <6b16fb4c0807100352k19480b5aye3fcdbe1f0a444a0@mail.gmail.com> <48760554.6060007@aei.ca> Message-ID: <6b16fb4c0807100602g53e61b86v74e4404b20731857@mail.gmail.com> On Thu, Jul 10, 2008 at 6:19 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/07/08 06:52 AM, Kaushal Shriyan wrote: > > > Hi Thomas > > > The permissions on nagios.lock are as below > > > $ ls -l /var/nagios/nagios.lock > > -rw-r--r-- 1 nagios nagios 6 Jul 9 07:45 /var/nagios/nagios.lock > > $ > > I said the perms of the socket file. You should also check if there's no > stale process as I suggested in my earlier mail. > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIdgVU6dZ+Kt5BchYRAjkHAKDgdVLckZXpOzINBabrC9utNPzeXgCfVz/x > xuzPrzbOGiVRBVojwos8kvE= > =hIrr > -----END PGP SIGNATURE----- > Hi Thomas The permission of the ndo.sock file are as below srwxr-xr-x 1 nagios nagios 0 Jul 9 07:44 ndo.sock The error seems to have gone now, But I have still this below error in the /var/log/nagios/nagios.log [1215694636] ndomod: Error writing to data sink! Some output may get lost... Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Jul 10 16:27:46 2008 From: perldork at webwizarddesign.com (Max) Date: Thu, 10 Jul 2008 10:27:46 -0400 Subject: NagVis Screenshot or Read-Only Maps In-Reply-To: References: Message-ID: Hi, You might also want to check out Nagios Looking Glass, the whole focus of that project is a read-only view of status hosted on a server that is isolated from the nagios server ... http://www.andyshellam.eu/nlg/ - Max ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Thu Jul 10 18:33:00 2008 From: vmanojv at rediffmail.com (Nair) Date: 10 Jul 2008 16:33:00 -0000 Subject: popen timeout received, but no child process Message-ID: <20080710163300.8798.qmail@f5mail-236-230.rediffmail.com> Hi Friends, Any clue on below meesage: ------------------------------------ Node : host.domain.com Node type : External Node Severity : critical Message : host.domain.com popen timeout received, but no child process Msg Group : Messaging Application : nagios Object : nagios Instruction : No Customer not found in ESL ------------------------------------ Thank you, Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 10 20:16:30 2008 From: marc at ena.com (Marc Powell) Date: Thu, 10 Jul 2008 13:16:30 -0500 Subject: popen timeout received, but no child process {Spam?} In-Reply-To: <20080710163300.8798.qmail@f5mail-236-230.rediffmail.com> References: <20080710163300.8798.qmail@f5mail-236-230.rediffmail.com> Message-ID: <07BCDF84-1259-4D5F-9909-6E6F58F4DE81@ena.com> On Jul 10, 2008, at 11:33 AM, Nair wrote: > Hi Friends, > Any clue on below meesage: > ------------------------------------ > Node : host.domain.com > Node type : External Node > Severity : critical > Message : host.domain.com popen timeout received, but no child > process > Msg Group : Messaging > Application : nagios > Object : nagios > Instruction : No > Customer not found in ESL > ------------------------------------ You haven't provided useful information outside an apparent error message from some unknown plugin that is easily found in google -- http://www.google.com/search?q=popen+timeout+received,+but+no+child+process -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tarak.Patel at ec.gc.ca Thu Jul 10 21:25:44 2008 From: Tarak.Patel at ec.gc.ca (Tarak Patel) Date: Thu, 10 Jul 2008 19:25:44 +0000 Subject: Nagios 3.0.1 Web UI Question - Refreshing a page In-Reply-To: References: Message-ID: <48766238.1040404@ec.gc.ca> I'm having same issue with Nagios 3.0.2 and while doing the upgrade I scrapped my working apache config for nagios 2.9. If you find the solution it would be appriciated. Thanks, Tarak. Frost, Mark {PBG} wrote: > 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 > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbilder at csstars.com Thu Jul 10 22:27:37 2008 From: jbilder at csstars.com (Bilder, Jeff) Date: Thu, 10 Jul 2008 15:27:37 -0500 Subject: Notify by service email In-Reply-To: References: <822f14060807090949k5d63f72r4065a8cf38f92337@mail.gmail.com><2FC4EE67-8CB2-4043-A174-FA280EFAE2C3@nagios.org> Message-ID: Is anyone else successfully performing this type of operation? Or is this a bug in Nagios 3.0.3. Thanks, JB -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Bilder, Jeff Sent: Wednesday, July 09, 2008 1:42 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Notify by service email Thanks for the reply. I tried it with and without quotes and still get the same results. I am running version 3.0.3. Thanks! -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mark Young Sent: Wednesday, July 09, 2008 12:50 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Notify by service email Hi Jeff, You should post the version of Nagios you have questions about. > I am having an issue where nagios is not sending the $SERVICENOTES$ > variable in emails when a service goes down. You should not be using quotes in your definition. These are normally defined as illegal macro characters (along with `~$^&"|'<> ) in your main config. This may fix your problem. Check out the docs on "understanding macros" for your specific version of nagios. For 3.x http://nagios.sourceforge.net/docs/3_0/macros.html . define serviceextinfo{ host_name Router service_description Check_eth1/2 notes this is the Ethernet interface } Mark Young ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 11 09:35:00 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Fri, 11 Jul 2008 13:05:00 +0530 Subject: unable to connect to data sink In-Reply-To: <6b16fb4c0807100602g53e61b86v74e4404b20731857@mail.gmail.com> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> <4875E22C.B47D.0048.0@stgeorge.com.au> <6b16fb4c0807092256n33ab4acex186d594340b6701f@mail.gmail.com> <4875D815.7000407@aei.ca> <6b16fb4c0807100311v21ccd957y8125391eb8c154e0@mail.gmail.com> <4875E58B.5060000@aei.ca> <6b16fb4c0807100352k19480b5aye3fcdbe1f0a444a0@mail.gmail.com> <48760554.6060007@aei.ca> <6b16fb4c0807100602g53e61b86v74e4404b20731857@mail.gmail.com> Message-ID: <6b16fb4c0807110035g60402bcesb80baebeea61a10d@mail.gmail.com> On Thu, Jul 10, 2008 at 6:32 PM, Kaushal Shriyan wrote: > On Thu, Jul 10, 2008 at 6:19 PM, Thomas Guyot-Sionnest > wrote: > >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> On 10/07/08 06:52 AM, Kaushal Shriyan wrote: >> >> > Hi Thomas >> >> > The permissions on nagios.lock are as below >> >> > $ ls -l /var/nagios/nagios.lock >> > -rw-r--r-- 1 nagios nagios 6 Jul 9 07:45 /var/nagios/nagios.lock >> > $ >> >> I said the perms of the socket file. You should also check if there's no >> stale process as I suggested in my earlier mail. >> >> Thomas >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.6 (GNU/Linux) >> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org >> >> iD8DBQFIdgVU6dZ+Kt5BchYRAjkHAKDgdVLckZXpOzINBabrC9utNPzeXgCfVz/x >> xuzPrzbOGiVRBVojwos8kvE= >> =hIrr >> -----END PGP SIGNATURE----- >> > > Hi Thomas > > The permission of the ndo.sock file are as below > > srwxr-xr-x 1 nagios nagios 0 Jul 9 07:44 ndo.sock > > The error seems to have gone now, But I have still this below error in the > /var/log/nagios/nagios.log > [1215694636] ndomod: Error writing to data sink! Some output may get > lost... > > Thanks and Regards > > Kaushal > > > > Hi Thomas Any updates regarding "[1215761427] ndomod: Error writing to data sink! Some output may get lost..." in /var/log/nagios/nagios.log Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Fri Jul 11 09:59:59 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Fri, 11 Jul 2008 08:59:59 +0100 Subject: Nagios 3.0.1 Web UI Question - Refreshing a page In-Reply-To: <48766238.1040404@ec.gc.ca> References: <48766238.1040404@ec.gc.ca> Message-ID: <20080711085959.3906fbff@tclmmw.in.tiger-computing.com> On Thu, 10 Jul 2008 19:25:44 +0000 Tarak Patel wrote: > I'm having same issue with Nagios 3.0.2 and while doing the upgrade I > scrapped my working apache config for nagios 2.9. If you find the > solution it would be appriciated. I've got the same issue with Nagios 2 here so it's not just a Nagios 3 issue. M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frontin at irit.fr Fri Jul 11 11:13:38 2008 From: frontin at irit.fr (Jean Frontin) Date: Fri, 11 Jul 2008 11:13:38 +0200 Subject: check_dhcp doesn't return results Message-ID: <48772442.4090300@irit.fr> Hello, I run the command : check_dhcp -s 1.2.3.4 I Know that dhcpd is running on this host ! What does it happend ? I appreciate some ideas -- Jean Frontin System team I R I T Universit? Paul-Sabatier 118, rte de Narbonne 31062 Toulouse cedex 9 France tel (33)(0)5 61 55 63 03 mail frontin at irit.fr ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 11 11:18:19 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 11 Jul 2008 10:18:19 +0100 Subject: check_dhcp doesn't return results In-Reply-To: <48772442.4090300@irit.fr> References: <48772442.4090300@irit.fr> Message-ID: <4877255B.9020201@googlemail.com> Jean Frontin wrote: > Hello, > > I run the command : > > check_dhcp -s 1.2.3.4 > > I Know that dhcpd is running on this host ! > > What does it happend ? I appreciate some ideas > > The Dhcp server has enough intelligence to not respond to itself for a dhcp lease. Check it from another machine using nrpe or whatever remote execution mechanism you prefer. -h -- Hari Sekhon ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 11 11:19:33 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 11 Jul 2008 10:19:33 +0100 Subject: check_dhcp doesn't return results In-Reply-To: <4877255B.9020201@googlemail.com> References: <48772442.4090300@irit.fr> <4877255B.9020201@googlemail.com> Message-ID: <487725A5.7060407@googlemail.com> Hari Sekhon wrote: > Jean Frontin wrote: >> Hello, >> >> I run the command : >> >> check_dhcp -s 1.2.3.4 >> >> I Know that dhcpd is running on this host ! >> >> What does it happend ? I appreciate some ideas >> >> > The Dhcp server has enough intelligence to not respond to itself for a > dhcp lease. > > Check it from another machine using nrpe or whatever remote execution > mechanism you prefer. > > -h > Alternatively if you're not running check_dhcp on the same host as you are running the dhcp server software, then perhaps check for firewalls, that you have some leases left, logs the usual things.... -h -- Hari Sekhon ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Fri Jul 11 11:29:53 2008 From: angeolivier2003 at yahoo.fr (Ange AMBEMOU) Date: Fri, 11 Jul 2008 09:29:53 +0000 (GMT) Subject: OSPF Message-ID: <296431.99560.qm@web26101.mail.ukl.yahoo.com> helo all, i want to know if is possible to nagios to check the OSPF on router thanks _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Fri Jul 11 11:31:09 2008 From: angeolivier2003 at yahoo.fr (Ange AMBEMOU) Date: Fri, 11 Jul 2008 09:31:09 +0000 (GMT) Subject: Carte OSA Message-ID: <731597.47630.qm@web26105.mail.ukl.yahoo.com> hello, is possible to nagios to check again a OSA MAinfraime _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 11 11:32:05 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 11 Jul 2008 10:32:05 +0100 Subject: OSPF In-Reply-To: <296431.99560.qm@web26101.mail.ukl.yahoo.com> References: <296431.99560.qm@web26101.mail.ukl.yahoo.com> Message-ID: <4b008f7d0807110232y34bf6ed5o8f92e1ddee5f1156@mail.gmail.com> Yes it is. Check the nagiosexchange site for this plugin. Lex On Fri, Jul 11, 2008 at 10:29 AM, Ange AMBEMOU wrote: > helo all, > > i want to know if is possible to nagios to check the OSPF on router thanks > > > > > ------------------------------ > Envoy? avec Yahoo! Mail > . > Une boite mail plus intelligente. > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Team - www.konolabs.com Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 11 11:34:23 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Fri, 11 Jul 2008 10:34:23 +0100 Subject: Carte OSA In-Reply-To: <731597.47630.qm@web26105.mail.ukl.yahoo.com> References: <731597.47630.qm@web26105.mail.ukl.yahoo.com> Message-ID: <4b008f7d0807110234q558def18v4537f28eb49a15c6@mail.gmail.com> it depends what service you want to check on the mainframe. nagios uses snmp and plugins to get info from devices. So if your OSA mainframe understands and speaks snmp, nagios can read from it. Lex 2008/7/11 Ange AMBEMOU : > > > hello, > is possible to nagios to check again a OSA MAinfraime > > > ------------------------------ > Envoy? avec Yahoo! Mail > . > Une boite mail plus intelligente. > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Team - www.konolabs.com Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SchwartzkopffD at Alte-Leipziger.de Fri Jul 11 11:36:42 2008 From: SchwartzkopffD at Alte-Leipziger.de (Schwartzkopff,Dirk HG-Dir itb-zs) Date: Fri, 11 Jul 2008 11:36:42 +0200 Subject: Carte OSA In-Reply-To: <731597.47630.qm@web26105.mail.ukl.yahoo.com> References: <731597.47630.qm@web26105.mail.ukl.yahoo.com> Message-ID: <4079DC77DC69AD409102F8ADEB91E39C135ACE@HGF-VB-CL-601.int.alte-leipziger.de> Yes, but what do you want to check? We are using a ported nrpe (running on z/OS 1.8) and a self made REXX to access the nagios web interface for setting service status. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Ange AMBEMOU Sent: Friday, 11. July 2008 11:31 To: nagios nagios Subject: [Nagios-users] Carte OSA hello, is possible to nagios to check again a OSA MAinfraime ________________________________ Envoy? avec Yahoo! Mail . Une boite mail plus intelligente. ALTE LEIPZIGER Lebensversicherung auf Gegenseitigkeit Die Lebensversicherung im Verbund ALTE LEIPZIGER - HALLESCHE Vorsitzender des Aufsichtsrats: Prof. Dr. Uwe H. Schneider Vorstand: Wolfgang Stertenbrink (Vorsitzender), Otmar Abel (stv. Vorsitzender), Christoph Bohn, Dr. Walter Botermann, Reinhard Kunz, Wiltrud Pekarek, Frank Kettnaker (stv.) Sitz Oberursel (Taunus) . Rechtsform Versicherungsverein auf Gegenseitigkeit . Amtsgericht Bad Homburg v. d. H. HRB 1583 . St.-Nr. 045 223 0042 1 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Fri Jul 11 12:24:47 2008 From: angeolivier2003 at yahoo.fr (Ange AMBEMOU) Date: Fri, 11 Jul 2008 10:24:47 +0000 (GMT) Subject: a reboot switch or router Message-ID: <820433.82888.qm@web26108.mail.ukl.yahoo.com> helo, how know switch or router are reboot and send notifiction. i explain if in config of my router check period is 10mn and between to check the router be down after up the next check see only the router is up. how make alert to say the router down immediatly sorry for my bad english :) thanks. _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 11 12:45:17 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 11 Jul 2008 06:45:17 -0400 (EDT) Subject: a reboot switch or router In-Reply-To: <820433.82888.qm@web26108.mail.ukl.yahoo.com> References: <820433.82888.qm@web26108.mail.ukl.yahoo.com> Message-ID: On Fri, 11 Jul 2008, Ange AMBEMOU wrote: > > ?helo, > > how know switch or router are reboot and? send notifiction. > Use the check_snmp check on DISMAN-EVENT-MIB::sysUpTimeInstance $ snmpwalk -v2c -c foo hv00 |more SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32732343) 3 days, 18:55:23.43 ~BAS > i explain? if? in config of my router check period is 10mn? and between to check the router be? down after up the next check see only the router is up. how make alert to say the > router down immediatly > > sorry for my bad english :) > > thanks.? > > > > _____________________________________________________________________________________________________________________________________________________________________________________________ > Envoy? avec Yahoo! Mail. > Une boite mail plus intelligente. > -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Fri Jul 11 13:00:37 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Fri, 11 Jul 2008 13:00:37 +0200 Subject: New user with nagios 3.0.3 hanging. In-Reply-To: <3a69bc5a0807100530o37c0c15bmec65552fd8114aa@mail.gmail.com> References: <3a69bc5a0807100530o37c0c15bmec65552fd8114aa@mail.gmail.com> Message-ID: <3a69bc5a0807110400o53f0afact9fe9fde0594faee4@mail.gmail.com> > Hello, > > My name is Jose Luis and I'm wrinting from Spain. > > I have recently installed Nagios in a Solaris 9 box. > > While I was in version 3.0.1, 1 month or so, everything has been working > smoothly, but now, with version 3.0.3 Nagios has "hanged" twice (once a week > more or less). > > Nagios daemon is running but neither checks are performed nor external > commands processed. So I have to restart it. > > Anyone else have experienced this behaviour? > > Any suggestions? We are thinking of setting up a cron check to detect this > situation (no entries in nagios.log), but perhaps we are experiencing some > kind of bug that should be solved in new releases. > > Thank you very much indded > > Jose Luis > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Fri Jul 11 13:58:03 2008 From: angeolivier2003 at yahoo.fr (Ange AMBEMOU) Date: Fri, 11 Jul 2008 11:58:03 +0000 (GMT) Subject: checkpoint HA Message-ID: <451633.28210.qm@web26104.mail.ukl.yahoo.com> Helo, i have 2 checkpoint one actif and one passif i want to know if nagios can tell me when i change checkpoint firewall (first dow the 2 comes first) thanks _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Jul 11 14:58:19 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 11 Jul 2008 14:58:19 +0200 Subject: Bug in process_macros() (most likely) (was: Antwort: Strange empty entries with utime 0 in showlog.cgi) In-Reply-To: References: Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 09.07.2008 12:04:01: > after debugging some retry problems, I stumbled over strange entries > in the showlog.cgi (see attached > screenshot). This is the daily log. At 00:00 it rotates and logs all > initial states of the machines/services - > even though I disabled it in the nagios.cfg. Though I do not really > mind that. The strange thing are the > empty entries of 01.01.1970 _after_ the initial states, then some > current entries, then again 01.01.1970, then > again current states, and then nagios logs ALL the initial states _again_. > > Not that it's causing any obvious problems, but it looks kinda > strange in my opinion. > Does anyone have an idea what may cause this behaviour? Self-replies rock. ;) I'll CC this to nagios-devel since it's a bug. I'm not yet sure where it actually comes from, but I guess it's inside process_macros(). Still trying to pin it down exactly... Back to my initial problem (see above). After some debugging I found the culprit. It's my service definitions containing quoted $ signs. Nagios stumbles over them and logs nonsense in the current state logging after log rotating and everytime else when it processes macros for this server (see below). This is an excerpt from nagios.log (notice the lines with single $ on them): [1215727200] CURRENT SERVICE STATE: esskhk01;MSSQLSERVER;OK;HARD;1;OK: MSSQLSERVER: started [1215727200] CURRENT SERVICE STATE: esskhk01;MSSQL_PERBIT;OK;HARD;1;OK: MSSQL$PERBIT: started $ [1215727200] CURRENT SERVICE STATE: esskhk01;MSSQL_PERSONAL;OK;HARD;1;OK: MSSQL$PERSONAL: started $ [1215727200] CURRENT SERVICE STATE: esskhk01;NSClient_Version;OK;HARD;1;I (0.3.0.4 2007-12-04) seem to be doing fine... [1215727200] CURRENT SERVICE STATE: esskhk01;SQLAgent_PERBIT;OK;HARD;1;OK: SQLAgent$PERBIT: started $ [1215727200] CURRENT SERVICE STATE: esskhk01;SQLAgent_PERSONAL;OK;HARD;1;OK: SQLAgent$PERSONAL: started $ [1215727200] CURRENT SERVICE STATE: esskhk01;SQLSERVERAGENT;OK;HARD;1;OK: SQLSERVERAGENT: started Those "$" lines show up as "[01-01-1970 01:00:00] " with empty info on them in the showlog.cgi (see below). My service definition for example: define service { service_description MSSQL_PERBIT use generic-service-noperf host_name esskhk01 check_command check_nrpe_services!MSSQL"$$"PERBIT } Debugging shows (debug_level=-1, debug_verbosity=2): Check gets scheduled and nagios parses the returnvalue. Obviously there is a \n that does not belong there. Not yet sure why it shows up there... [1215777431.127292] [001.0] [pid=3539] handle_async_service_check_result() [1215777431.127299] [016.0] [pid=3539] ** Handling check result for service 'MSSQL_PERBIT' on host 'esskhk01'... [1215777431.127305] [016.1] [pid=3539] HOST: esskhk01, SERVICE: MSSQL_PERBIT, CHECK TYPE: Active, OPTIONS: 0, SCHEDULED: Yes, RESCHE DULE: Yes, EXITED OK: Yes, RETURN CODE: 3, OUTPUT: Service: MSSQL$PERBI caused: GetServiceKeyName: Could not translate service name( 997)\n [1215777431.127320] [016.1] [pid=3539] Service is in a non-OK state! - Shortly afterwards the macros for the alert get processed. - The fprintf parses the \n and the log shows a newline now. - Afterwards process_macros() parses the string and tries to resolve everything after the $ in the service definition. - It fails to do so for obvious reasons, but then it seems to add an extra $ at the end of the buffer, maybe while trying to fix up a "broken macro"? - Because the input buffer does not seem to be stripped yet, it adds an extra $ _after_ the \n - strip(buffer) doesn't work anymore, as it only strips \n and " " when trailing and heading. That's why I see single "$" entries in my logfile - which the showlog.cgi wrong parses as "[01-01-1970 01:00:00] " Notice the buffer before processing (no $ at the end) and after processing (with $ at the end - after the \n). [1215777431.129970] [2048.1] [pid=3539] **** BEGIN MACRO PROCESSING *********** [1215777431.129978] [2048.1] [pid=3539] Processing: 'SERVICE ALERT: esskhk01;MSSQL_PERBIT;$SERVICESTATE$;$SERVICESTATETYPE$;$SERVICE ATTEMPT$;Service: MSSQL$PERBI caused: GetServiceKeyName: Could not translate service name(997) ' [1215777431.130001] [2048.0] [pid=3539] WARNING: Could not find a macro matching 'PERBI caused'! [1215777431.130010] [2048.0] [pid=3539] WARNING: An error occurred processing macro 'PERBI caused: GetServiceKeyName: Could not tra nslate service name(997) '! [1215777431.130018] [2048.1] [pid=3539] Done. Final output: 'SERVICE ALERT: esskhk01;MSSQL_PERBIT;UNKNOWN;SOFT;1;Service: MSSQL$P ERBI caused: GetServiceKeyName: Could not translate service name(997) $' [1215777431.130025] [2048.1] [pid=3539] **** END MACRO PROCESSING ************* Sadly process_macros() is really ... uhm ... ugly ;) I haven't been able to find the problem yet. Maybe someone with more insight in common/macros.c can have a look? I'm more then happy to assist though. Regards Sascha PS: Nagios 3.0.3 of course. -- 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tarak.Patel at ec.gc.ca Fri Jul 11 17:21:19 2008 From: Tarak.Patel at ec.gc.ca (Tarak Patel) Date: Fri, 11 Jul 2008 15:21:19 +0000 Subject: Nagios 3.0.1 Web UI Question - Refreshing a page In-Reply-To: <20080711085959.3906fbff@tclmmw.in.tiger-computing.com> References: <48766238.1040404@ec.gc.ca> <20080711085959.3906fbff@tclmmw.in.tiger-computing.com> Message-ID: <48777A6F.1040900@ec.gc.ca> This seems to be browser issue. I tried IE and IceApe and they work fine. I even tried firefox with a different user and works well. Something in my firefox profile seems to have gone skew. TP Matthew Macdonald-Wallace wrote: > On Thu, 10 Jul 2008 19:25:44 +0000 > Tarak Patel wrote: > > >> I'm having same issue with Nagios 3.0.2 and while doing the upgrade I >> scrapped my working apache config for nagios 2.9. If you find the >> solution it would be appriciated. >> > > I've got the same issue with Nagios 2 here so it's not just a Nagios 3 > issue. > > M. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.williams at us.g4s.com Fri Jul 11 20:39:37 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 11 Jul 2008 11:39:37 -0700 Subject: Help - I am unable to get the NSClient++ to restart services Message-ID: Hello everyone, I am new to Nagios and am looking for some help. I already posted this in the forum as well. I can successful get Nagios to monitor any service I need, but I can't get it to restart. Here is my situation up to date: (from the forums) I did make sure event handler was enabled, but the documentation refers to scripting the start up of linux services, not Windows. I figured I can create a .bat file to do a simple net start, but how does Nagios run it? Is it something like this? (example of the server service) define service{ host_name somehost service_description Server Service max_check_attempts 4 event_handler restart_server } Than for the handler command: define command{ command_name restart-httpd (This is where I am unsure. Do I give it a path to the .bat file?) Is nagios able to run this file from the host PC. In these linux script examples I am unsure if the script is on the Nagios server of the host server. Any help would be awesome. Hopefully I'm close to accurate here. I got a reply: You can use NRPE/NSClient++ and instead of using it to run remote scripts to check something, use it to restart your services. See http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html http://trac.nakednuns.org/nscp/ However still cant get NSClient to start the service. The links provided detail how to set up monitor host services. This works great. However I cannot get the NSCLient++ to actually restart the service. I edited the NSC.INI file to comment out the "check_all_services" section and have the values set to "started" however it still shows the service as stopped and it will not restart it. I am assuming there is a step I am missing in this in some config file somewhere. Any help would be greatly appreciated as I am under a deadline to have this up by this weekend. Management thought this would be easier than it is and gave me two days. Any help on what I am missing would be greatly appreciated. Jonathan Williams Sr. Systems Administrator G4S Justice Services, Inc. Tel: 800.589.6003 ext 1308 jonathan.williams at us.g4s.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paulo.ribas at opservices.com.br Fri Jul 11 20:54:02 2008 From: paulo.ribas at opservices.com.br (Paulo Ribas) Date: Fri, 11 Jul 2008 15:54:02 -0300 (BRT) Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: References: Message-ID: <10463165.46151215802442135.JavaMail.root@mail.opservices.com.br> if you need to restart a service in the windows, you can install the OpMon Agent downloaded from the following URL https://www.opservices.com.br/agentes . After installing the agent, create the command: check_nrpe -H $HOSTADDRESS$ 5666 -n -c service_control -a "NAME_OF_SERVICE" stop or start. []'s -- Paulo Ribas www.opservices.com.br ----- "Jonathan Williams" wrote: > Hello everyone, I am new to Nagios and am looking for some help. I already posted this in the forum as well. I can successful get Nagios to monitor any service I need, but I can?t get it to restart. Here is my situation up to date: (from the forums) I did make sure event handler was enabled, but the documentation refers to scripting the start up of linux services, not Windows. I figured I can create a .bat file to do a simple net start, but how does Nagios run it? Is it something like this? (example of the server service) > > define service{ > host_name somehost > service_description Server Service > max_check_attempts 4 > event_handler restart_server > } > > Than for the handler command: > define command{ > command_name restart-httpd > (This is where I am unsure. Do I give it a path to the .bat file?) > > Is nagios able to run this file from the host PC. In these linux script examples I am unsure if the script is on the Nagios server of the host server. Any help would be awesome. Hopefully I'm close to accurate here. I got a reply: You can use NRPE/NSClient++ and instead of using it to run remote scripts to check something, use it to restart your services. See > > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > http://trac.nakednuns.org/nscp/ However still cant get NSClient to start the service. The links provided detail how to set up monitor host services. This works great. However I cannot get the NSCLient++ to actually restart the service. I edited the NSC.INI file to comment out the "check_all_services" section and have the values set to "started" however it still shows the service as stopped and it will not restart it. I am assuming there is a step I am missing in this in some config file somewhere. Any help would be greatly appreciated as I am under a deadline to have this up by this weekend. Management thought this would be easier than it is and gave me two days. Any help on what I am missing would be greatly appreciated. Jonathan Williams Sr. Systems Administrator G4S Justice Services, Inc. Tel: 800.589.6003 ext 1308 jonathan.williams at us.g4s.com > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.williams at us.g4s.com Fri Jul 11 21:02:41 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 11 Jul 2008 12:02:41 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <10463165.46151215802442135.JavaMail.root@mail.opservices.com.br> References: <10463165.46151215802442135.JavaMail.root@mail.opservices.com.br> Message-ID: https://www.opservices.com.br/agentes I get a page not found. I can look around for it. Is this agent installed on the host along with the NSClient? Also is the command created in the windows.cfg like my example below where I define the command in the config and than under the service definition I use an event handler to call that command? Thanks again, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 11:54 AM To: Jonathan Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services if you need to restart a service in the windows, you can install the OpMon Agent downloaded from the following URL https://www.opservices.com.br/agentes . After installing the agent, create the command: check_nrpe -H $HOSTADDRESS$ 5666 -n -c service_control -a "NAME_OF_SERVICE" stop or start. []'s -- Paulo Ribas www.opservices.com.br ----- "Jonathan Williams" wrote: > Hello everyone, I am new to Nagios and am looking for some help. I already posted this in the forum as well. I can successful get Nagios to monitor any service I need, but I can't get it to restart. Here is my situation up to date: (from the forums) I did make sure event handler was enabled, but the documentation refers to scripting the start up of linux services, not Windows. I figured I can create a .bat file to do a simple net start, but how does Nagios run it? Is it something like this? (example of the server service) > > define service{ > host_name somehost > service_description Server Service > max_check_attempts 4 > event_handler restart_server > } > > Than for the handler command: > define command{ > command_name restart-httpd > (This is where I am unsure. Do I give it a path to the .bat file?) > > Is nagios able to run this file from the host PC. In these linux script examples I am unsure if the script is on the Nagios server of the host server. Any help would be awesome. Hopefully I'm close to accurate here. I got a reply: You can use NRPE/NSClient++ and instead of using it to run remote scripts to check something, use it to restart your services. See > > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > http://trac.nakednuns.org/nscp/ However still cant get NSClient to start the service. The links provided detail how to set up monitor host services. This works great. However I cannot get the NSCLient++ to actually restart the service. I edited the NSC.INI file to comment out the "check_all_services" section and have the values set to "started" however it still shows the service as stopped and it will not restart it. I am assuming there is a step I am missing in this in some config file somewhere. Any help would be greatly appreciated as I am under a deadline to have this up by this weekend. Management thought this would be easier than it is and gave me two days. Any help on what I am missing would be greatly appreciated. Jonathan Williams Sr. Systems Administrator G4S Justice Services, Inc. Tel: 800.589.6003 ext 1308 jonathan.williams at us.g4s.com > ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paulo.ribas at opservices.com.br Fri Jul 11 21:05:50 2008 From: paulo.ribas at opservices.com.br (Paulo Ribas) Date: Fri, 11 Jul 2008 16:05:50 -0300 (BRT) Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: References: Message-ID: <5884228.46421215803150033.JavaMail.root@mail.opservices.com.br> Sorry, the page is http and not https. http://www.opservices.com.br/agentes, you need use an event_handler to call the command. []'s -- ----- "Jonathan Williams" wrote: > https://www.opservices.com.br/agentes I get a page not found. I can look around for it. Is this agent installed on the host along with the NSClient? Also is the command created in the windows.cfg like my example below where I define the command in the config and than under the service definition I use an event handler to call that command? Thanks again, Jon From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 11:54 AM > To: Jonathan Williams > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services if you need to restart a service in the windows, you can install the OpMon Agent downloaded from the following URL https://www.opservices.com.br/agentes . After installing the agent, create the command: > check_nrpe -H $HOSTADDRESS$ 5666 -n -c service_control -a "NAME_OF_SERVICE" stop or start. > > []'s > -- > Paulo Ribas > www.opservices.com.br > > ----- "Jonathan Williams" wrote: > > Hello everyone, I am new to Nagios and am looking for some help. I already posted this in the forum as well. I can successful get Nagios to monitor any service I need, but I can?t get it to restart. Here is my situation up to date: (from the forums) I did make sure event handler was enabled, but the documentation refers to scripting the start up of linux services, not Windows. I figured I can create a .bat file to do a simple net start, but how does Nagios run it? Is it something like this? (example of the server service) > > > > define service{ > > host_name somehost > > service_description Server Service > > max_check_attempts 4 > > event_handler restart_server > > } > > > > Than for the handler command: > > define command{ > > command_name restart-httpd > > (This is where I am unsure. Do I give it a path to the .bat file?) > > > > Is nagios able to run this file from the host PC. In these linux script examples I am unsure if the script is on the Nagios server of the host server. Any help would be awesome. Hopefully I'm close to accurate here. I got a reply: You can use NRPE/NSClient++ and instead of using it to run remote scripts to check something, use it to restart your services. See > > > > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > > http://trac.nakednuns.org/nscp/ However still cant get NSClient to start the service. The links provided detail how to set up monitor host services. This works great. However I cannot get the NSCLient++ to actually restart the service. I edited the NSC.INI file to comment out the "check_all_services" section and have the values set to "started" however it still shows the service as stopped and it will not restart it. I am assuming there is a step I am missing in this in some config file somewhere. Any help would be greatly appreciated as I am under a deadline to have this up by this weekend. Management thought this would be easier than it is and gave me two days. Any help on what I am missing would be greatly appreciated. Jonathan Williams Sr. Systems Administrator G4S Justice Services, Inc. Tel: 800.589.6003 ext 1308 jonathan.williams at us.g4s.com > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paulo.ribas at opservices.com.br Fri Jul 11 21:07:22 2008 From: paulo.ribas at opservices.com.br (Paulo Ribas) Date: Fri, 11 Jul 2008 16:07:22 -0300 (BRT) Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: References: Message-ID: <6550249.46481215803242346.JavaMail.root@mail.opservices.com.br> Sorry, the page is http and not https. http://www.opservices.com.br/agentes , you need use an event_handler to call the command. []'s Paulo Ribas www.opservices.com.br ----- "Jonathan Williams" wrote: > https://www.opservices.com.br/agentes I get a page not found. I can look around for it. Is this agent installed on the host along with the NSClient? Also is the command created in the windows.cfg like my example below where I define the command in the config and than under the service definition I use an event handler to call that command? Thanks again, Jon From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 11:54 AM > To: Jonathan Williams > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services if you need to restart a service in the windows, you can install the OpMon Agent downloaded from the following URL https://www.opservices.com.br/agentes . After installing the agent, create the command: > check_nrpe -H $HOSTADDRESS$ 5666 -n -c service_control -a "NAME_OF_SERVICE" stop or start. > > []'s > -- > Paulo Ribas > www.opservices.com.br > > ----- "Jonathan Williams" wrote: > > Hello everyone, I am new to Nagios and am looking for some help. I already posted this in the forum as well. I can successful get Nagios to monitor any service I need, but I can?t get it to restart. Here is my situation up to date: (from the forums) I did make sure event handler was enabled, but the documentation refers to scripting the start up of linux services, not Windows. I figured I can create a .bat file to do a simple net start, but how does Nagios run it? Is it something like this? (example of the server service) > > > > define service{ > > host_name somehost > > service_description Server Service > > max_check_attempts 4 > > event_handler restart_server > > } > > > > Than for the handler command: > > define command{ > > command_name restart-httpd > > (This is where I am unsure. Do I give it a path to the .bat file?) > > > > Is nagios able to run this file from the host PC. In these linux script examples I am unsure if the script is on the Nagios server of the host server. Any help would be awesome. Hopefully I'm close to accurate here. I got a reply: You can use NRPE/NSClient++ and instead of using it to run remote scripts to check something, use it to restart your services. See > > > > http://nagios.sourceforge.net/docs/3_0/monitoring-windows.html > > http://trac.nakednuns.org/nscp/ However still cant get NSClient to start the service. The links provided detail how to set up monitor host services. This works great. However I cannot get the NSCLient++ to actually restart the service. I edited the NSC.INI file to comment out the "check_all_services" section and have the values set to "started" however it still shows the service as stopped and it will not restart it. I am assuming there is a step I am missing in this in some config file somewhere. Any help would be greatly appreciated as I am under a deadline to have this up by this weekend. Management thought this would be easier than it is and gave me two days. Any help on what I am missing would be greatly appreciated. Jonathan Williams Sr. Systems Administrator G4S Justice Services, Inc. Tel: 800.589.6003 ext 1308 jonathan.williams at us.g4s.com > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 12 23:25:03 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 12 Jul 2008 17:25:03 -0400 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: References: Message-ID: <4879212F.5070602@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/07/08 02:39 PM, Jonathan Williams wrote: > Hello everyone, I am new to Nagios and am looking for some help. I > already posted this in the forum as well. I can successful get Nagios > to monitor any service I need, but I can?t get it to restart. Here is > my situation up to date: (from the forums) > > > > I did make sure event handler was enabled, but the documentation refers > to scripting the start up of linux services, not Windows. I figured I > can create a .bat file to do a simple net start, but how does Nagios run > it? Is it something like this? (example of the server service) > > define service{ > host_name somehost > service_description Server Service > max_check_attempts 4 > event_handler restart_server > } > > Than for the handler command: > define command{ > command_name restart-httpd > (This is where I am unsure. Do I give it a path to the .bat file?) That command is run from the Nagios server. First make sure to use the full path to it, and make sure it can successfully restart the service on the remote server even when run as the Nagios server. You should probably pass a few macros as well do determine when to restart the server. The event handler command should be a script that looks for the passed macros and determine when to restart the server. Event handlers are run EVERY TIME a state change (including all SOFT attempts). You probably don't want to run it every time, especially not when the service recovers!. AFAIK the Nagios documentation has a few examples of event handlers including some scripts. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIeSEu6dZ+Kt5BchYRAslEAKC3AzG4Di2fbxF1j4+PlVqDeUtI5wCcDgDZ efuNyvdTBoIgGyYgQiesNb0= =J+IW -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Jul 12 23:57:20 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Sat, 12 Jul 2008 17:57:20 -0400 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <4879212F.5070602@aei.ca> References: <4879212F.5070602@aei.ca> Message-ID: Sorry for joining the conversation late, but if you still are having issues with getting the script/restart happening on the windows side, there are several options that you will call through the EventHandler Command Script. NRPE is the Plugin many users install to run Scripts (Like BAT files) on the Windows host this can usually be installed alongside most Windows plugins.. NC_Net has a similar command Runscript that also preforms this but replaces your Windows plugin. nsclient++ also has a NPRE extention in it as well. OpServices as pointed out above may have added a restart command but I have not seen much in the nagios list recently on OPservervices, Opservices would also replace your current Windows plugin. Each of the Windows plugins has different advantages and limitations, but most have been reported as stable. Tony (Author of NC_Net) On Sat, Jul 12, 2008 at 5:25 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 11/07/08 02:39 PM, Jonathan Williams wrote: > > Hello everyone, I am new to Nagios and am looking for some help. I > > already posted this in the forum as well. I can successful get Nagios > > to monitor any service I need, but I can't get it to restart. Here is > > my situation up to date: (from the forums) > > > > > > > > I did make sure event handler was enabled, but the documentation refers > > to scripting the start up of linux services, not Windows. I figured I > > can create a .bat file to do a simple net start, but how does Nagios run > > it? Is it something like this? (example of the server service) > > > > define service{ > > host_name somehost > > service_description Server Service > > max_check_attempts 4 > > event_handler restart_server > > } > > > > Than for the handler command: > > define command{ > > command_name restart-httpd > > (This is where I am unsure. Do I give it a path to the .bat file?) > > That command is run from the Nagios server. First make sure to use the > full path to it, and make sure it can successfully restart the service > on the remote server even when run as the Nagios server. You should > probably pass a few macros as well do determine when to restart the server. > > The event handler command should be a script that looks for the passed > macros and determine when to restart the server. Event handlers are run > EVERY TIME a state change (including all SOFT attempts). You probably > don't want to run it every time, especially not when the service recovers!. > > AFAIK the Nagios documentation has a few examples of event handlers > including some scripts. > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIeSEu6dZ+Kt5BchYRAslEAKC3AzG4Di2fbxF1j4+PlVqDeUtI5wCcDgDZ > efuNyvdTBoIgGyYgQiesNb0= > =J+IW > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Sun Jul 13 17:57:48 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Sun, 13 Jul 2008 11:57:48 -0400 Subject: Log time stamps Message-ID: <5.2.1.1.2.20080713115329.020b9ed8@mail.intersessions.com> Can somebody please explain what these timestamps mean in the logs: [1215955229.159192] [032.0] [pid=885] Notification viability test failed. Does nagios have an option to use normal y:m:d:h:m:s or some other human readable timestamps in the logs? Best Regards, Jeff Koch, Intersessions ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hebert at gmail.com Sun Jul 13 18:19:03 2008 From: scott.hebert at gmail.com (Scott Hebert) Date: Sun, 13 Jul 2008 11:19:03 -0500 Subject: Log time stamps In-Reply-To: <5.2.1.1.2.20080713115329.020b9ed8@mail.intersessions.com> References: <5.2.1.1.2.20080713115329.020b9ed8@mail.intersessions.com> Message-ID: On Sun, Jul 13, 2008 at 10:57 AM, Jeff Koch wrote: > > Can somebody please explain what these timestamps mean in the logs: > > [1215955229.159192] [032.0] [pid=885] Notification viability test failed. This is the number of seconds elapsed since midnight Jan 1, 1970 UTC. -- Scott Hebert http://slaptijack.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Sun Jul 13 18:26:48 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Sun, 13 Jul 2008 12:26:48 -0400 Subject: check-ping Message-ID: <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> Hi: We just started with nagios two days ago and are probably doing something stupid. We just can't get 'check-host-alive' or 'check-ping' to work. The web browser status report shows that our servers are down when we know they are up: /bin/ping -n -U -w 30 -c 5 64.68.144.25 CRITICAL - Could not interpret output from ping command But yet when I run the same command from the command line I get a normal result: # /bin/ping -n -U -w 30 -c 5 64.68.144.25 PING 64.68.144.25 (64.68.144.25) 56(84) bytes of data. 64 bytes from 64.68.144.25: icmp_seq=0 ttl=64 time=0.162 ms 64 bytes from 64.68.144.25: icmp_seq=1 ttl=64 time=0.122 ms 64 bytes from 64.68.144.25: icmp_seq=2 ttl=64 time=0.129 ms 64 bytes from 64.68.144.25: icmp_seq=3 ttl=64 time=0.131 ms 64 bytes from 64.68.144.25: icmp_seq=4 ttl=64 time=0.145 ms and permissions are open for nagios to execute the ping command and when I execute the 'check_ping' command directly with: libexec# ./check_ping -H 64.68.144.76 -w 3000.0,80% -c 5000.0,100% -p 5 PING OK - Packet loss = 0%, RTA = 0.14 ms I get a good result We're using CentOS 3.6, Nagios 3.03 and nagios-plugins-1.4.11 Any ideas would be appreciated. We need to get this working. Thanks. Best Regards, Jeff Koch ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Sun Jul 13 19:17:08 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Sun, 13 Jul 2008 13:17:08 -0400 Subject: check-ping In-Reply-To: <487A33B0.3010701@pgmail.net> References: <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <487A33B0.3010701@pgmail.net> Message-ID: <5.2.1.1.2.20080713131403.0206fb18@mail.intersessions.com> Hi Philipp: Thanks for your help. When we ran ping as nagios it bombed. Permissions on ping needed to be set SUID root so that an ICMP socket could be opened. We had changed that for security reasons. We'll make nagios sudo root for ping. That should solve the problem. At 12:56 PM 7/13/2008, Philipp Geschke wrote: >Hi Jeff, > >Jeff Koch schrieb: > > Hi: > > > > We just started with nagios two days ago and are probably doing something > > stupid. We just can't get 'check-host-alive' or 'check-ping' to work. > > > > The web browser status report shows that our servers are down when we know > > they are up: > > > > /bin/ping -n -U -w 30 -c 5 64.68.144.25 > > CRITICAL - Could not interpret output from ping command > > > > But yet when I run the same command from the command line I get a normal > > result: > > > > # /bin/ping -n -U -w 30 -c 5 64.68.144.25 > > PING 64.68.144.25 (64.68.144.25) 56(84) bytes of data. > > 64 bytes from 64.68.144.25: icmp_seq=0 ttl=64 time=0.162 ms > > 64 bytes from 64.68.144.25: icmp_seq=1 ttl=64 time=0.122 ms > > 64 bytes from 64.68.144.25: icmp_seq=2 ttl=64 time=0.129 ms > > 64 bytes from 64.68.144.25: icmp_seq=3 ttl=64 time=0.131 ms > > 64 bytes from 64.68.144.25: icmp_seq=4 ttl=64 time=0.145 ms > > > > and permissions are open for nagios to execute the ping command > > > > and when I execute the 'check_ping' command directly with: > > > > libexec# ./check_ping -H 64.68.144.76 -w 3000.0,80% -c 5000.0,100% -p 5 > > PING OK - Packet loss = 0%, RTA = 0.14 ms > > > > I get a good result > >Did you run that check as the user that runs nagios, or as root? > > > > > We're using CentOS 3.6, Nagios 3.03 and nagios-plugins-1.4.11 > >CentOS should have a normal ping binary, but if you can't get this to run >you might wanna check out check_icmp. >It does the same check_ping does, only that it is a lot faster, because it >sends the ICMP Echo Requests itself, >instead of wrapping the ping binary. > >I usually replace check_ping with check_icmp completely. > > >-Philipp > > > > > > Any ideas would be appreciated. We need to get this working. > > > > Thanks. > > > > > > > > Best Regards, > > > > Jeff Koch > > > > > > ------------------------------------------------------------------------- > > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > > Studies have shown that voting for your favorite open source project, > > along with a healthy diet, reduces your potential for chronic lameness > > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null Best Regards, Jeff Koch, Intersessions ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Jul 13 22:24:30 2008 From: marc at ena.com (Marc Powell) Date: Sun, 13 Jul 2008 15:24:30 -0500 Subject: Log time stamps In-Reply-To: <5.2.1.1.2.20080713115329.020b9ed8@mail.intersessions.com> References: <5.2.1.1.2.20080713115329.020b9ed8@mail.intersessions.com> Message-ID: <826BAFEB-B488-495C-B526-742EA24902F9@ena.com> On Jul 13, 2008, at 10:57 AM, Jeff Koch wrote: > > Can somebody please explain what these timestamps mean in the logs: > > [1215955229.159192] [032.0] [pid=885] Notification viability test > failed. > http://www.nagios.org/faqs/viewfaq.php?faq_id=68 http://www.nagios.org/faqs/viewfaq.php?faq_id=70 > Does nagios have an option to use normal y:m:d:h:m:s or some other > human > readable timestamps in the logs? No. The logs are primarily for nagios' use and it's significantly easier to work with epoch time than the various and conflicting human readable versions of such. -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From janetpost at gmail.com Mon Jul 14 01:58:39 2008 From: janetpost at gmail.com (Janet Post) Date: Sun, 13 Jul 2008 19:58:39 -0400 Subject: Log time stamps In-Reply-To: <826BAFEB-B488-495C-B526-742EA24902F9@ena.com> References: <5.2.1.1.2.20080713115329.020b9ed8@mail.intersessions.com> <826BAFEB-B488-495C-B526-742EA24902F9@ena.com> Message-ID: Hello, If you would like to see the log files with a human-readable timestamp: perl -pe 's/(\d+)/localtime($1)/e' logfile Janet (Mark: sorry for the double emails...I didn't hit reply-to-all the first time.) On Sun, Jul 13, 2008 at 4:24 PM, Marc Powell wrote: > > On Jul 13, 2008, at 10:57 AM, Jeff Koch wrote: > > > > > Can somebody please explain what these timestamps mean in the logs: > > > > [1215955229.159192] [032.0] [pid=885] Notification viability test > > failed. > > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=68 > http://www.nagios.org/faqs/viewfaq.php?faq_id=70 > > > Does nagios have an option to use normal y:m:d:h:m:s or some other > > human > > readable timestamps in the logs? > > No. The logs are primarily for nagios' use and it's significantly > easier to work with epoch time than the various and conflicting human > readable versions of such. > > -- > Marc > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Mon Jul 14 04:59:13 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Sun, 13 Jul 2008 22:59:13 -0400 Subject: checking https Message-ID: <5.2.1.1.2.20080713225703.01d90450@mail.intersessions.com> Hi: Does anyone know of a plugin or method of checking that the https service is working on a server? We're already checking for http but need to be sure that https is functioning also. Thanks Best Regards, Jeff Koch ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Mon Jul 14 05:08:24 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Mon, 14 Jul 2008 13:08:24 +1000 Subject: checking https In-Reply-To: <5.2.1.1.2.20080713225703.01d90450@mail.intersessions.com> References: <5.2.1.1.2.20080713225703.01d90450@mail.intersessions.com> Message-ID: <487AC328.2010206@edcint.co.nz> The check_http plugin with the --ssl option will do what you need Jeff Koch wrote: > Hi: > > Does anyone know of a plugin or method of checking that the https service > is working on a server? We're already checking for http but need to be sure > that https is functioning also. > > Thanks > > > > Best Regards, > > Jeff Koch > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Mon Jul 14 05:26:35 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Sun, 13 Jul 2008 23:26:35 -0400 Subject: checking https In-Reply-To: <45EB285310B55542A513F93230F0A5330561972D@EXCHANGE0.orm.omn iture.com> References: <5.2.1.1.2.20080713225703.01d90450@mail.intersessions.com> <45EB285310B55542A513F93230F0A5330561972D@EXCHANGE0.orm.omn iture.com> Message-ID: <5.2.1.1.2.20080713232411.02081698@mail.intersessions.com> Hi Aaron: Thanks - but how do I pass the --ssl option to check_http? I have: define service{ name HTTP-Service service_description HTTP check_command check_http max_check_attempts 1 normal_check_interval 10 retry_check_interval 1 check_period 24x7 notifications_enabled 1 notification_interval 30 notification_period 24x7 notification_options c,r contact_groups admins register 0 } At 11:08 PM 7/13/2008, Aaron Devey wrote: >Try passing the --ssl option to check_http. > >-Aaron > > >-----Original Message----- >From: nagios-users-bounces at lists.sourceforge.net on behalf of Jeff Koch >Sent: Sun 7/13/2008 8:59 PM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] checking https > > >Hi: > >Does anyone know of a plugin or method of checking that the https service >is working on a server? We're already checking for http but need to be sure >that https is functioning also. > >Thanks > > > >Best Regards, > >Jeff Koch > > >------------------------------------------------------------------------- >Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! >Studies have shown that voting for your favorite open source project, >along with a healthy diet, reduces your potential for chronic lameness >and boredom. Vote Now at >http://www.sourceforge.net/community/cca08 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null Best Regards, Jeff Koch, Intersessions ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Mon Jul 14 05:46:06 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Mon, 14 Jul 2008 13:46:06 +1000 Subject: checking https In-Reply-To: <5.2.1.1.2.20080713232411.02081698@mail.intersessions.com> References: <5.2.1.1.2.20080713225703.01d90450@mail.intersessions.com> <5.2.1.1.2.20080713232411.02081698@mail.intersessions.com> Message-ID: <487ACBFE.7060708@edcint.co.nz> If your check_http command is defined like: define command{ command_name check_http command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ } Then you can just modify your service definition: replacing check_command check_http with check_command check_http!--ssl Jeff Koch wrote: > Hi Aaron: > > Thanks - but how do I pass the --ssl option to check_http? > > I have: > > define service{ > name HTTP-Service > service_description HTTP > check_command check_http > max_check_attempts 1 > normal_check_interval 10 > retry_check_interval 1 > check_period 24x7 > notifications_enabled 1 > notification_interval 30 > notification_period 24x7 > notification_options c,r > contact_groups admins > register 0 > } > > > At 11:08 PM 7/13/2008, Aaron Devey wrote: > > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Mon Jul 14 06:10:04 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Mon, 14 Jul 2008 00:10:04 -0400 Subject: checking https In-Reply-To: <487ACBFE.7060708@edcint.co.nz> References: <5.2.1.1.2.20080713232411.02081698@mail.intersessions.com> <5.2.1.1.2.20080713225703.01d90450@mail.intersessions.com> <5.2.1.1.2.20080713232411.02081698@mail.intersessions.com> <487ACBFE.7060708@edcint.co.nz> Message-ID: <5.2.1.1.2.20080714000949.01d905a0@mail.intersessions.com> Thanks - that worked!! At 11:46 PM 7/13/2008, Matthew Jurgens wrote: >If your check_http command is defined like: >define command{ > command_name check_http > command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ $ARG2$ > $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ > } > >Then you can just modify your service definition: >replacing > >check_command check_http > >with > >check_command check_http!--ssl > > >Jeff Koch wrote: >>Hi Aaron: >> >>Thanks - but how do I pass the --ssl option to check_http? >> >>I have: >> >>define service{ >> name HTTP-Service >> service_description HTTP >> check_command check_http >> max_check_attempts 1 >> normal_check_interval 10 >> retry_check_interval 1 >> check_period 24x7 >> notifications_enabled 1 >> notification_interval 30 >> notification_period 24x7 >> notification_options c,r >> contact_groups admins >> register 0 >> } >> >> >>At 11:08 PM 7/13/2008, Aaron Devey wrote: >> >> Best Regards, Jeff Koch, Intersessions ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 14 07:14:36 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 14 Jul 2008 07:14:36 +0200 Subject: checking https In-Reply-To: <487ACBFE.7060708@edcint.co.nz> References: <5.2.1.1.2.20080713225703.01d90450@mail.intersessions.com> <5.2.1.1.2.20080713232411.02081698@mail.intersessions.com> <487ACBFE.7060708@edcint.co.nz> Message-ID: <487AE0BC.9020800@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Jurgens wrote: | If your check_http command is defined like: | define command{ | command_name check_http | command_line $USER1$/check_http -H $HOSTADDRESS$ $ARG1$ | $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ | } Seems rather cumbersome. Why not define an extra check command? # 'check_https' command definition define command{ ~ command_name check_https ~ command_line $USER1$/check_http -H $HOSTADDRESS$ -S ~ } Or even one to keep an eye out on the certificate: # 'check_https_cert' command definition define command{ ~ command_name check_https_cert ~ command_line $USER1$/check_http -H $HOSTADDRESS$ -S -C 14 ~ } The last one I check only once an hour or once a day pe.r server Never put things in a service definition if you are going to need them a lot. Create the proper command definition to aid you. 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) iD8DBQFIeuC6BvzDRVjxmYERAiDWAJ4tVxBonKZmW6OHSYRtpTbQmG3rygCfexnG xPhLkg6P8KD0tF76eQN+q4o= =TLl8 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Mon Jul 14 09:30:28 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Mon, 14 Jul 2008 09:30:28 +0200 Subject: New user with nagios 3.0.3 hanging. In-Reply-To: <3a69bc5a0807110400o53f0afact9fe9fde0594faee4@mail.gmail.com> References: <3a69bc5a0807100530o37c0c15bmec65552fd8114aa@mail.gmail.com> <3a69bc5a0807110400o53f0afact9fe9fde0594faee4@mail.gmail.com> Message-ID: <3a69bc5a0807140030s3f2a68b5vf46dbe322d33fa98@mail.gmail.com> Hello agian, I'm experiencing right now the same problem. And I'm trying to doing some forensic. It's working in a 2 CPU system and main daemon is taking one of them. With truss I just get many many lines like this /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 /2: poll(0xFEF79F88, 1, 500) = 1 And the only pool entry in code is in utill.c, function void * command_file_worker_thread(void *arg){ And the output (1) match this #define EPERM 1 /* Not super-user */ But although with this error it should write to nagios.log, nothing is written. I have also checked the external command file # ls -l /usr/local/nagios/var/rw/nagios.cmd prw-rw---- 1 nagios nagcmd 47675 Jul 14 09:08 /usr/local/nagios/var/rw/nagios.cmd And I've seen than this code is the same than in 3.0.1. Any idea? Trying to stop nagios (/etc/init.d/nagios stop) I can't. I just get Warning - nagios did not exit in a timely manner And 3 nagios processes are still running. So I had to "kill -9" them Thanks a lot Jose Luis 2008/7/11 Jose Luis Garcia : > > Hello, >> >> My name is Jose Luis and I'm wrinting from Spain. >> >> I have recently installed Nagios in a Solaris 9 box. >> >> While I was in version 3.0.1, 1 month or so, everything has been working >> smoothly, but now, with version 3.0.3 Nagios has "hanged" twice (once a week >> more or less). >> >> Nagios daemon is running but neither checks are performed nor external >> commands processed. So I have to restart it. >> >> Anyone else have experienced this behaviour? >> >> Any suggestions? We are thinking of setting up a cron check to detect this >> situation (no entries in nagios.log), but perhaps we are experiencing some >> kind of bug that should be solved in new releases. >> >> Thank you very much indded >> >> Jose Luis >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jul 14 13:54:03 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 14 Jul 2008 13:54:03 +0200 Subject: check-ping In-Reply-To: <5.2.1.1.2.20080713131403.0206fb18@mail.intersessions.com> References: <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713131403.0206fb18@mail.intersessions.com> Message-ID: <487B3E5B.9090901@op5.se> Jeff Koch wrote: > Hi Philipp: > > Thanks for your help. When we ran ping as nagios it bombed. Permissions on > ping needed to be set SUID root so that an ICMP socket could be opened. We > had changed that for security reasons. We'll make nagios sudo root for > ping. That should solve the problem. > Changing /bin/ping to not be suid root for security reasons and then changing Nagios to be suid root to fix a problem this causes seems more than just a little backwards to me. Do "chmod 4711 /bin/ping" instead. ping is a simple program of ~4000 LoC. It has been thouroughly audited for security holes. Nagios is, in comparison, a complex elephantine monster of 80.000 LoC. Add any and all plugins it might run as well and you'll be well on your way to 250k LoC or more. Nobody has bothered auditing it very much from a security standpoint because it's not supposed to run with root permissions. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From odenbach at uni-paderborn.de Mon Jul 14 14:21:11 2008 From: odenbach at uni-paderborn.de (Christopher Odenbach) Date: Mon, 14 Jul 2008 14:21:11 +0200 Subject: check-ping In-Reply-To: <487B3E5B.9090901@op5.se> References: <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713131403.0206fb18@mail.intersessions.com> <487B3E5B.9090901@op5.se> Message-ID: <487B44B7.30709@uni-paderborn.de> Hi, > Changing /bin/ping to not be suid root for security reasons and then changing > Nagios to be suid root to fix a problem this causes seems more than just a > little backwards to me. > > Do "chmod 4711 /bin/ping" instead. ping is a simple program of ~4000 LoC. It > has been thouroughly audited for security holes. Nagios is, in comparison, a > complex elephantine monster of 80.000 LoC. Add any and all plugins it might > run as well and you'll be well on your way to 250k LoC or more. Nobody has > bothered auditing it very much from a security standpoint because it's not > supposed to run with root permissions. For checks which require root privileges we use sudo. That way it is easy to configure the usage to a single user: the nagios user. Just put something like nagios ALL=NOPASSWD: /usr/bin/aptitude # added by nagios-plugins-debs in your /etc/sudoers file and that is it. The check of course has to call the binary with sudo prepended, e.g. 'sudo aptitude ...'. Christopher -- ====================================================== Dipl.-Ing. Christopher Odenbach Zentrum fuer Informations- und Medientechnologien Universitaet Paderborn Raum N5.122 odenbach at uni-paderborn.de Tel.: +49 5251 60 5315 ====================================================== -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 252 bytes Desc: OpenPGP digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Jul 14 16:41:20 2008 From: bjlockie at lockie.ca (James) Date: Mon, 14 Jul 2008 10:41:20 -0400 (EDT) Subject: hosts Message-ID: I found this in the documentation: check_interval: NOTE: Do NOT enable regularly scheduled checks of a host unless you absolutely need to! Host checks are already performed on-demand when necessary, so there are few times when regularly scheduled checks would be needed. Regularly scheduled host checks can negatively impact performance - see the performance tuning tips for more information. This directive is used to define the number of "time units" between regularly scheduled checks of the host. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. If I do NOT have a check_interval, how often are hosts checked? ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.williams at us.g4s.com Mon Jul 14 16:52:48 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Mon, 14 Jul 2008 07:52:48 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <27480969.47891215810240953.JavaMail.root@mail.opservices.com.br> References: <27480969.47891215810240953.JavaMail.root@mail.opservices.com.br> Message-ID: I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 14 16:58:44 2008 From: marc at ena.com (Marc Powell) Date: Mon, 14 Jul 2008 09:58:44 -0500 Subject: hosts In-Reply-To: References: Message-ID: <5AC55DF8-DB3A-4712-97DD-1CC748777229@ena.com> On Jul 14, 2008, at 9:41 AM, James wrote: > > If I do NOT have a check_interval, how often are hosts checked? When necessary. The check scheduling documentation isn't complete yet for 3.x but the first section of the following page is still valid -- http://nagios.sourceforge.net/docs/2_0/networkreachability.html -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Mon Jul 14 17:00:13 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Mon, 14 Jul 2008 11:00:13 -0400 Subject: OpenVMS memory monitoring by SNMP Message-ID: <79B77295FBC9F247A32A6C98B67B1E14016040F3@srv-1exch01.sourceinterlink.com> Good morning: Has anyone had any success monitoring memory usage for OpenVMS 8.3 ALPHA? I have tried the HOST-RESOURCES-MIB as well as the CPQHOST-MIB as provided by System Management Homepage for OpenVMS as well as Insight Management Agents for OpenVMS. The results I get from these sources are inconsistent with each other and inaccurate when compared to "show mem" on the system itself. Please see snmpwalk output below for more detail. Please note: CPQHOST-MIB memory is documented as being measured in megabytes. Jake Paulus Systems Engineer/Administrator Source Interlink Companies HOST-RESOURCES-MIB::hrMemorySize.0 = INTEGER: 3107612 KBytes HOST-RESOURCES-MIB::hrStorageType.1 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory HOST-RESOURCES-MIB::hrStorageType.2 = OID: HOST-RESOURCES-TYPES::hrStorageVirtualMemory HOST-RESOURCES-MIB::hrStorageType.3 = OID: HOST-RESOURCES-TYPES::hrStorageRam HOST-RESOURCES-MIB::hrStorageType.4 = OID: HOST-RESOURCES-TYPES::hrStorageRam HOST-RESOURCES-MIB::hrStorageType.5 = OID: HOST-RESOURCES-TYPES::hrStorageRam HOST-RESOURCES-MIB::hrStorageType.6 = OID: HOST-RESOURCES-TYPES::hrStorageRam HOST-RESOURCES-MIB::hrStorageAllocationUnits.1 = INTEGER: 8192 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.2 = INTEGER: 8192 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.3 = INTEGER: 1 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.4 = INTEGER: 1 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.5 = INTEGER: 8192 Bytes HOST-RESOURCES-MIB::hrStorageAllocationUnits.6 = INTEGER: 32 Bytes HOST-RESOURCES-MIB::hrStorageSize.1 = INTEGER: 250000 HOST-RESOURCES-MIB::hrStorageSize.2 = INTEGER: 4232 HOST-RESOURCES-MIB::hrStorageSize.3 = INTEGER: 10084352 HOST-RESOURCES-MIB::hrStorageSize.4 = INTEGER: 7536640 HOST-RESOURCES-MIB::hrStorageSize.5 = INTEGER: 306691 HOST-RESOURCES-MIB::hrStorageSize.6 = INTEGER: 1379 HOST-RESOURCES-MIB::hrStorageUsed.1 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageUsed.2 = INTEGER: 0 HOST-RESOURCES-MIB::hrStorageUsed.3 = INTEGER: 5348416 HOST-RESOURCES-MIB::hrStorageUsed.4 = INTEGER: 4166576 HOST-RESOURCES-MIB::hrStorageUsed.5 = INTEGER: 14492 HOST-RESOURCES-MIB::hrStorageUsed.6 = INTEGER: 1379 10084352 7536640 306691*8192=2512412672 1379*32=44128 ------------ total=2530077792 bytes 5348416 4166576 14492*8192=118718464 1379*32=44128 ------------ used=128277584 bytes Physical 128277584/2530077792 bytes Virtual 0/2082668544 bytes CPQHOST-MIB::cpqHoPhysicalMemorySize.0 = INTEGER: 3072 CPQHOST-MIB::cpqHoPhysicalMemoryFree.0 = INTEGER: 1160 CPQHOST-MIB::cpqHoPagingMemorySize.0 = INTEGER: 929 CPQHOST-MIB::cpqHoPagingMemoryFree.0 = INTEGER: -989 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Jul 14 17:05:10 2008 From: bjlockie at lockie.ca (James) Date: Mon, 14 Jul 2008 11:05:10 -0400 (EDT) Subject: hosts In-Reply-To: <5AC55DF8-DB3A-4712-97DD-1CC748777229@ena.com> References: <5AC55DF8-DB3A-4712-97DD-1CC748777229@ena.com> Message-ID: On Mon, July 14, 2008 10:58 am, Marc Powell wrote: > > On Jul 14, 2008, at 9:41 AM, James wrote: > > >> >> If I do NOT have a check_interval, how often are hosts checked? >> > > When necessary. > > > The check scheduling documentation isn't complete yet for 3.x but the > first section of the following page is still valid -- > > http://nagios.sourceforge.net/docs/2_0/networkreachability.html What if there is one service (ping). Isn't it the same as having a check_interval on a host with no services? > > > -- > Marc > > > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness and > boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Jul 14 17:10:04 2008 From: bjlockie at lockie.ca (James) Date: Mon, 14 Jul 2008 11:10:04 -0400 (EDT) Subject: (no subject) Message-ID: <92521aaa75cccede52af3c4ae49c58c8.squirrel@www.lockie.ca> If flapping is enabled but flapping notification is disabled and the host really goes down then is it possible there is no down notification? I am trying to figure out why there was no notification of a host being down. It does notify if I give it a bogus IP and it is unreachable. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Mon Jul 14 17:13:24 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Mon, 14 Jul 2008 11:13:24 -0400 Subject: Question about Flapping notification In-Reply-To: <92521aaa75cccede52af3c4ae49c58c8.squirrel@www.lockie.ca> References: <92521aaa75cccede52af3c4ae49c58c8.squirrel@www.lockie.ca> Message-ID: <79B77295FBC9F247A32A6C98B67B1E140160410A@srv-1exch01.sourceinterlink.com> Yes - if a host is flapping, you won't be notified of each up/down. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Sent: Monday, July 14, 2008 11:10 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] (no subject) If flapping is enabled but flapping notification is disabled and the host really goes down then is it possible there is no down notification? I am trying to figure out why there was no notification of a host being down. It does notify if I give it a bogus IP and it is unreachable. ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Mon Jul 14 17:16:25 2008 From: myoung at nagios.org (Mark Young) Date: Mon, 14 Jul 2008 10:16:25 -0500 Subject: hosts In-Reply-To: References: <5AC55DF8-DB3A-4712-97DD-1CC748777229@ena.com> Message-ID: <3E3A5FEA-D976-491E-9C71-394AB91F551C@nagios.org> > > What if there is one service (ping). > Isn't it the same as having a check_interval on a host with no > services? Depending on which version of Nagios you are running. Nagios 2.x host checks are run in series while Nagios 3.x most host checks are run in Parallel ( much faster as Nagios doesn't have to wait for the slow ping check to continue with everything else). So in Nagios 3.x it is similar to having it only check the host. But the logic of Nagios host and service checks are different. You should have a service check for ping and a host check with ping. And to your earlier question: You should check out Marc Powells post to the list earlier this year for some added insight to host checks keeping in mind that host checks are now performed faster in Nagios 3.x. http://article.gmane.org/gmane.network.nagios.user/52470 If you set the check_interval to be 0 disables regular checks or checks that are performed on a time interval. Nagios will then check the host if a service of the host is in a non-OK state. The documentation for the Nagios 3.x Service Check Scheduling has yet to be completed but you still might get some insight from the 2.x docs if you keep in mind the change in how host checks are executed http://nagios.sourceforge.net/docs/2_0/checkscheduling.html ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Jul 14 17:49:11 2008 From: bjlockie at lockie.ca (James) Date: Mon, 14 Jul 2008 11:49:11 -0400 (EDT) Subject: flapping Message-ID: If flapping is enabled but flapping notification is disabled and the host really goes down then is it possible there is no down notification? I am trying to figure out why there was no notification of a host being down. It does notify if I give it a bogus IP and it is unreachable. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjlockie at lockie.ca Mon Jul 14 17:56:24 2008 From: bjlockie at lockie.ca (James) Date: Mon, 14 Jul 2008 11:56:24 -0400 (EDT) Subject: Question about Flapping notification In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E140160410A@srv-1exch01.sourceinterlink. com> References: <79B77295FBC9F247A32A6C98B67B1E140160410A@srv-1exch01.sourceinterlink.com> Message-ID: <1e58997e1d95ad9f546f297531612653.squirrel@www.lockie.ca> On Mon, July 14, 2008 11:13 am, Paulus, Jake wrote: > Yes - if a host is flapping, you won't be notified of each up/down. The history graph shows "Indeterminate" around that time, could that be the host was down after flapping? > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James > Sent: Monday, July 14, 2008 11:10 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > > If flapping is enabled but flapping notification is disabled and the > host really goes down then is it possible there is no down notification? > > I am trying to figure out why there was no notification of a host being > down. It does notify if I give it a bogus IP and it is unreachable. > > > > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness and > boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 14 17:59:36 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 14 Jul 2008 11:59:36 -0400 Subject: Log time stamps In-Reply-To: References: <5.2.1.1.2.20080713115329.020b9ed8@mail.intersessions.com> <826BAFEB-B488-495C-B526-742EA24902F9@ena.com> Message-ID: <20080714155936.GH24892@cgi.jachomes.com> On Sun, Jul 13, 2008 at 07:58:39PM -0400, Janet Post wrote: > If you would like to see the log files with a human-readable timestamp: > perl -pe 's/(\d+)/localtime($1)/e' logfile > Janet Nice trick. I was surmising there might be some way to do that, but a perl one-liner didn't occur to me. 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. -- (Josef Stalin) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 14 18:01:43 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 14 Jul 2008 12:01:43 -0400 Subject: check-ping In-Reply-To: <487B3E5B.9090901@op5.se> References: <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713131403.0206fb18@mail.intersessions.com> <487B3E5B.9090901@op5.se> Message-ID: <20080714160143.GI24892@cgi.jachomes.com> On Mon, Jul 14, 2008 at 01:54:03PM +0200, Andreas Ericsson wrote: > Jeff Koch wrote: > > Thanks for your help. When we ran ping as nagios it bombed. Permissions on > > ping needed to be set SUID root so that an ICMP socket could be opened. We > > had changed that for security reasons. We'll make nagios sudo root for > > ping. That should solve the problem. > > Changing /bin/ping to not be suid root for security reasons and then changing > Nagios to be suid root to fix a problem this causes seems more than just a > little backwards to me. I've left Jeff's quote in so you can see, Andreas, that you misread him. He didn't say "SUID root". He said sudo -- he plans to set the nagios Linux user up so it can sudo to run ping as root. Seems sensible to me. 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. -- (Josef Stalin) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsmall at ireit.com Mon Jul 14 18:34:48 2008 From: rsmall at ireit.com (Robert Small) Date: Mon, 14 Jul 2008 11:34:48 -0500 Subject: Nagios v3 & WAP Message-ID: I recently upgraded from Nagios2 to version3, and it?s running beautifully. All except for the WAP interface. I?ve searched the web, and the archives and haven?t found anything that might help. When my users go to the wap interface (which worked GREAT under v2) and try to acknowledge a problem (either a host or a service), they get: Error: You're not authorized to commit that command! I?ve made sure that they all have access to: Authorization Requirements: If you are authorized for system information you can view Nagios process information. If you are authorized for all hosts you can view status data for all hosts and services. If you are authorized for all services you can view status data for all services. And they are authenticating. If you are an authenticated contact you can view status data for all hosts and services for which you are a contact. Any ideas and help would be appreicated. Thanks! Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 14 18:43:02 2008 From: michael.streb at netways.de (Michael Streb) Date: Mon, 14 Jul 2008 18:43:02 +0200 Subject: NagiosWiki.org announcement Message-ID: Hi List, after the last week`s announcement of NagiosForge.org another new Nagios related site went online just a few minutes ago. We`ve created a new platform called NagiosWiki.org, the intention behind the NagiosWiki is to integrate nicely into NagiosExchange and NagiosForge. It is now possible to link from NagiosExchange via WikiWords into the NagiosWiki. This integration makes it possible to create better documentation wit h images, HTML tables etc. for your community developed NAGIOS plugins based on the fancy MediaWiki syntax. Another aim of NagiosWiki.org is to host best practice and addon documentation which you would like to share with the NAGIOS community. Your already registered usernames on NagiosExchange are fully synced to NagiosWiki, so you can just logon with your registered NagiosExchange credentia ls. We would be happy to have you as an author on http://www.NagiosWiki.org Best regards, Michael Streb -- Michael Streb Managing 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 ** ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 From harry.hart.ctr at jfcom.mil Mon Jul 14 19:07:35 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Mon, 14 Jul 2008 13:07:35 -0400 Subject: Nagios v3 & WAP In-Reply-To: References: Message-ID: Are we playing stump the dummy? What is WAP? Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Small Sent: Monday, July 14, 2008 12:35 PM To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios v3 & WAP I recently upgraded from Nagios2 to version3, and it's running beautifully. All except for the WAP interface. I've searched the web, and the archives and haven't found anything that might help. When my users go to the wap interface (which worked GREAT under v2) and try to acknowledge a problem (either a host or a service), they get: Error: You're not authorized to commit that command! I've made sure that they all have access to: Authorization Requirements: If you are authorized for system information you can view Nagios process information. If you are authorized for all hosts you can view status data for all hosts and services. If you are authorized for all services you can view status data for all services. And they are authenticating. If you are an authenticated contact you can view status data for all hosts and services for which you are a contact. Any ideas and help would be appreicated. Thanks! Robert ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 14 19:20:07 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 14 Jul 2008 19:20:07 +0200 Subject: Nagios v3 & WAP In-Reply-To: References: Message-ID: <487B8AC7.20505@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: | Are we playing stump the dummy? What is WAP? Google found plenty of hits but this one seems to tell it best: http://en.wikipedia.org/wiki/Wireless_Application_Protocol 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) iD8DBQFIe4rGBvzDRVjxmYERArujAJ49pteG+oY6cxNf3Z4HdwOlIJFXTgCfTEL3 uuAyBrQEhZ+zd4aWQyXqdhg= =4etV -----END PGP SIGNATURE----- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Mon Jul 14 19:24:18 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Mon, 14 Jul 2008 13:24:18 -0400 Subject: Nagios v3 & WAP In-Reply-To: <487B8AC7.20505@vanderkooij.org> References: <487B8AC7.20505@vanderkooij.org> Message-ID: Thanks, I thought it was something Nagios specific. Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----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: Monday, July 14, 2008 1:20 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios v3 & WAP -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: | Are we playing stump the dummy? What is WAP? Google found plenty of hits but this one seems to tell it best: http://en.wikipedia.org/wiki/Wireless_Application_Protocol 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) iD8DBQFIe4rGBvzDRVjxmYERArujAJ49pteG+oY6cxNf3Z4HdwOlIJFXTgCfTEL3 uuAyBrQEhZ+zd4aWQyXqdhg= =4etV -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Mon Jul 14 21:52:47 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Mon, 14 Jul 2008 15:52:47 -0400 Subject: Question about Flapping notification In-Reply-To: <1e58997e1d95ad9f546f297531612653.squirrel@www.lockie.ca> References: <1e58997e1d95ad9f546f297531612653.squirrel@www.lockie.ca> Message-ID: <79B77295FBC9F247A32A6C98B67B1E14016042E8@srv-1exch01.sourceinterlink.com> Indeterminate means that Nagios does not have status data on the host or service for the time selected - either because Nagios was not running or because your report period overlaps some time before the host or service was defined in Nagios. Please see the document below for more information on Flapping and how it is handled. http://nagios.sourceforge.net/docs/3_0/flapping.html -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James Sent: Monday, July 14, 2008 11:56 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Question about Flapping notification On Mon, July 14, 2008 11:13 am, Paulus, Jake wrote: > Yes - if a host is flapping, you won't be notified of each up/down. The history graph shows "Indeterminate" around that time, could that be the host was down after flapping? > > > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of James > Sent: Monday, July 14, 2008 11:10 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > > If flapping is enabled but flapping notification is disabled and the > host really goes down then is it possible there is no down notification? > > I am trying to figure out why there was no notification of a host being > down. It does notify if I give it a bogus IP and it is unreachable. > > > > > ------------------------------------------------------------------------ > - > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness and > boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null > > ------------------------------------------------------------------------ - Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Mon Jul 14 22:26:46 2008 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Mon, 14 Jul 2008 21:26:46 +0100 Subject: unable to connect to data sink In-Reply-To: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> References: <6b16fb4c0807091217v4d9eea0due405a7cdf2a6e246@mail.gmail.com> Message-ID: <487BB686.7040509@googlemail.com> What version of nagios are you running? If you're running nagios 3.x you'll need ndo2db-3x Kaushal Shriyan wrote: > Hi > > I get [1215630364] ndomod: Still unable to connect to data sink. > 1019216 items lost, 5000 queued items to flush. in nagios.log file > I can see the ndo2db has been started. > > nagios 14086 19676 0 11:24 ? 00:00:02 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > nagios 15964 19676 0 11:25 ? 00:00:02 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > nagios 19676 1 0 07:44 ? 00:00:00 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > nagios 23622 19676 0 08:38 ? 00:00:10 > /usr/nagios/bin/ndo2db-2x -c /etc/nagios/ndo2db.cfg > > My NDO2DB DAEMON CONFIG FILE is mentioned here -> > http://www.pastebin.org/50006 > My NDOMOD CONFIG FILE is mentioned here -> http://www.pastebin.org/50007 > > Any clue as what is going wrong > > Thanks and Regards > > Kaushal > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Jul 14 22:40:46 2008 From: webknowledge at gmail.com (Marcel) Date: Mon, 14 Jul 2008 17:40:46 -0300 Subject: check_freshness detecting staled services in alphabetical order Message-ID: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> Hey, Have any of you have seen anything like this before? Nagios 2.9, ndoutils 1.4b4. Nagios began to detect staled services in alphabethical order, in batches of almost 400 hosts at a time. check_service_freshness=1 service_freshness_check_interval=900 check_host_freshness=0 host_freshness_check_interval=900 cheers from Brazil... Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 14 22:46:55 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 14 Jul 2008 16:46:55 -0400 Subject: Nagios can die and still update the CGI date? In-Reply-To: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> References: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> Message-ID: <20080714204655.GM25747@cgi.jachomes.com> So, see, I thought the Last Updated date on the CGI status screens came from Nagios itself, not from the CGI. Turns out my Nagios console had failed to restart the process on a boot, and I didn't realize it until a full disk prompted a fire drill an hour ago. Does the CGI not at least scream somehow if there's nothing running behind it? Should I already know this answer? And, what about Naomi? 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. -- (Josef Stalin) ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Jul 14 23:36:53 2008 From: marc at ena.com (Marc Powell) Date: Mon, 14 Jul 2008 16:36:53 -0500 Subject: Nagios can die and still update the CGI date? In-Reply-To: <20080714204655.GM25747@cgi.jachomes.com> References: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> <20080714204655.GM25747@cgi.jachomes.com> Message-ID: Please start a new e-mail for a new question. This e-mail will forevermore be associated with the 'check_freshness...' post that you started with. On Jul 14, 2008, at 3:46 PM, Jay R. Ashworth wrote: > Does the CGI not at least scream somehow if there's nothing running > behind it? If nagios dies in such a way that the status_file still exists, no. You might consider running check_nagios (from the plugins distrib) from cron. > Should I already know this answer? It's been discussed in the past, I'm sure. > And, what about Naomi? She threatened a restraining order the last time I called. I just stalk her now... -- Marc ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kasper at nordal-lund.dk Tue Jul 15 06:59:07 2008 From: kasper at nordal-lund.dk (Kasper) Date: Tue, 15 Jul 2008 06:59:07 +0200 Subject: Cannot use some Macros in notification. Message-ID: <26c0bf4211af0e17909e5847a98fb5b8@godfather> Hi there. I'm trying to get nagios to send sms notofications via my kannel sms gateway. I'm using this command as notify-by-pager: /usr/bin/curl -s "http://10.64.48.154:13013/cgi-bin/sendsms\?username=username\&password=password\&to=$CONTACTPAGER$&text=$NOTIFICATIONTYPE$:+$HOSTALIAS$/$SERVICEDESC$+is+$SERVICESTATE$" But the two macros $CONTACTPAGER$& and $NOTIFICATIONTYPE$ do not get replaced with anything. Initially i thought it had something to do with the = sign so i tried to escape it with \= but thats not it. I then tried the following: echo "$CONTACTPAGER$ $NOTIFICATIONTYPE$ $HOSTALIAS$ $SERVICEDESC$ $SERVICESTATE$" > /home/kasper/test.txt as my command. And the result is the same, the two macros are empty. I know i have put in a pager number on my contact account. Anyone knows what to do? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kaushalshriyan at gmail.com Tue Jul 15 08:54:25 2008 From: kaushalshriyan at gmail.com (Kaushal Shriyan) Date: Tue, 15 Jul 2008 12:24:25 +0530 Subject: Nagios Plugin for lighttpd Message-ID: <6b16fb4c0807142354o7aab22f4x58a265d78f66bc54@mail.gmail.com> Hi Is there a Nagios Plugin for lighttpd web server. Thanks and Regards Kaushal -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Tue Jul 15 10:04:24 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Tue, 15 Jul 2008 08:04:24 +0000 (GMT) Subject: nagios actions Message-ID: <926080.7851.qm@web26201.mail.ukl.yahoo.com> Hello, Can nagios trigger an action when an alert is received? For example, if /var is at warning, can nagios execute a script that cleans the logs? thanks __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Tue Jul 15 10:09:06 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Tue, 15 Jul 2008 10:09:06 +0200 Subject: nagios actions In-Reply-To: <926080.7851.qm@web26201.mail.ukl.yahoo.com> References: <926080.7851.qm@web26201.mail.ukl.yahoo.com> Message-ID: <1216109346.20936.12.camel@bofh.dtnet.de> Hi > Can nagios trigger an action when an alert is received? > > For example, if /var is at warning, can nagios execute a script that cleans the logs? Yes, have a look at eventhandlers http://nagios.sourceforge.net/docs/3_0/eventhandlers.html 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Tue Jul 15 10:46:02 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Tue, 15 Jul 2008 10:46:02 +0200 Subject: Alert or notification history refresh in Nagios 3.0.3 Message-ID: <3a69bc5a0807150146t7723ed1fi416e1eaea320dd9f@mail.gmail.com> Hello, Is there any way to make alert or notification history automatically refresh? Thanks a lot Jose Luis -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Jul 15 10:51:37 2008 From: ae at op5.se (Andreas Ericsson) Date: Tue, 15 Jul 2008 10:51:37 +0200 Subject: check-ping In-Reply-To: <20080714160143.GI24892@cgi.jachomes.com> References: <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713131403.0206fb18@mail.intersessions.com> <487B3E5B.9090901@op5.se> <20080714160143.GI24892@cgi.jachomes.com> Message-ID: <487C6519.7000702@op5.se> Jay R. Ashworth wrote: > On Mon, Jul 14, 2008 at 01:54:03PM +0200, Andreas Ericsson wrote: >> Jeff Koch wrote: >>> Thanks for your help. When we ran ping as nagios it bombed. Permissions on >>> ping needed to be set SUID root so that an ICMP socket could be opened. We >>> had changed that for security reasons. We'll make nagios sudo root for >>> ping. That should solve the problem. >> Changing /bin/ping to not be suid root for security reasons and then changing >> Nagios to be suid root to fix a problem this causes seems more than just a >> little backwards to me. > > I've left Jeff's quote in so you can see, Andreas, that you misread > him. He didn't say "SUID root". He said sudo -- he plans to set the > nagios Linux user up so it can sudo to run ping as root. > Ah, right. Having had some driver issues for my laptop lately, I foolishly joined the linux-kernel mailing list. A payload of 1000 non-spam emails is now hitting my inbox on a daily basis, causing me to only half-read pretty much everything. > Seems sensible to me. > Still, I'm not convinced. sudo is a different can of worms entirely, and not nearly as secure as many people seem to think. Although the attack vector is strictly local, it's large enough to be a greater worry to me than running a small, much-audited program suid root. Ah well. To each his own, I guess. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andurin at process-zero.de Tue Jul 15 11:08:07 2008 From: andurin at process-zero.de (=?ISO-8859-1?Q?Hendrik_B=E4cker?=) Date: Tue, 15 Jul 2008 11:08:07 +0200 Subject: Nagios Plugin for lighttpd In-Reply-To: <6b16fb4c0807142354o7aab22f4x58a265d78f66bc54@mail.gmail.com> References: <6b16fb4c0807142354o7aab22f4x58a265d78f66bc54@mail.gmail.com> Message-ID: <487C68F7.9000309@process-zero.de> Kaushal Shriyan schrieb: > Hi > > Is there a Nagios Plugin for lighttpd web server. Why should it? Doesn't a lighttpd Server reply in HTTP? (check_http) or isn't it a normal process on the server (check_procs)? Regards, Hendrik ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Jul 15 11:17:26 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 15 Jul 2008 10:17:26 +0100 Subject: Nagios Plugin for lighttpd In-Reply-To: <487C68F7.9000309@process-zero.de> References: <6b16fb4c0807142354o7aab22f4x58a265d78f66bc54@mail.gmail.com> <487C68F7.9000309@process-zero.de> Message-ID: <4b008f7d0807150217k3959f530o96165e13eaf9b77b@mail.gmail.com> all web servers listen on port 80, so you can use check_tcp. What exactly do you want to monitor? Lex On Tue, Jul 15, 2008 at 10:08 AM, Hendrik B?cker wrote: > Kaushal Shriyan schrieb: > > Hi > > > > Is there a Nagios Plugin for lighttpd web server. > Why should it? > Doesn't a lighttpd Server reply in HTTP? (check_http) or isn't it a > normal process on the server (check_procs)? > > Regards, > Hendrik > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Team - www.konolabs.com 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.elsen at gmail.com Tue Jul 15 11:18:17 2008 From: mark.elsen at gmail.com (Mark Elsen) Date: Tue, 15 Jul 2008 11:18:17 +0200 Subject: Monitor daemon running on remote linux host Message-ID: - I need to monitor whether a remote daemon is running on a Linux host and have a NAGIOS alert if it crashes (or disappeared for whatever reason). Is 'check_nrpe' my best option, if so what syntax do I need ? M. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Jul 15 11:26:07 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 15 Jul 2008 10:26:07 +0100 Subject: Monitor daemon running on remote linux host In-Reply-To: References: Message-ID: <4b008f7d0807150226y42d7a8ccne74b6542d229525c@mail.gmail.com> can you talk to this daemon using a certain tcp or udp port? On Tue, Jul 15, 2008 at 10:18 AM, Mark Elsen wrote: > - I need to monitor whether a remote daemon is running on a Linux host > and have a NAGIOS alert if it crashes (or disappeared for whatever > reason). > > Is 'check_nrpe' my best option, if so what syntax do I need ? > > M. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Team - www.konolabs.com 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue Jul 15 11:42:04 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Tue, 15 Jul 2008 09:42:04 +0000 (GMT) Subject: OSPF Message-ID: <654719.67827.qm@web26107.mail.ukl.yahoo.com> hello all, i configure my cisco router router ospf 1 network 10.1.3.0 0.255.255.255 area 1 when i lunch ./check_ospf.pl 10.1.3.133 nothing work help me please my ospf.pl #!/usr/bin/perl ######################################################################### # SCRIPT TO CHECK OSPF neighbors status on a router. # #-----------------------------------------------------------------------# # Version 1.00 (16-09-2002) # # - First release # # # # # # # # # ######################################################################### use Net::SNMP(qw(oid_lex_sort)); # use warnings; use strict; ############################# # Declaration of variables. # ############################# my $community = "public"; my $port = 161; my $version = "v2c"; Uncomment to use with Version 2 SNMP my $version = "v1"; my $timeout = 20; # seconds my $retries = 2; # times my $ospfstate = ".1.3.6.1.2.1.14.10.1.6"; # ospfNbrState (Integer) my $localaddr = ".1.3.6.1.2.1.14.10.1.1"; # ospfNbrIpAddr (IpAddress) my $remoteaddr = ".1.3.6.1.2.1.14.10.1.3"; # ospfNbrRtrId (IpAddress) my $ospfstatus = ".1.3.6.1.2.1.14.10.1.9"; # ospfNBMANbrStatus (Integer) my $session; my $error; my %DataTable; my $tmp; my $pctwarning = 98; # Minimum percent of Neighbors Established before a warning is generated. my $pctalert = 75; # Minimum percent of Neighbors Establisted before an alert is generated. # Get the ipaddress from the parameters. # -------------------------------------- my $arg_router = $ARGV[0]; # Get the data from the router. # ----------------------------- # Open SNMP session on the router. ($session, $error) = Net::SNMP->session( -hostname => $arg_router, -community => $community, -port => $port, -version => $version, -timeout => $timeout, -retries => $retries ); # Exit if no session could be opened. if (!defined ($session)) { print "Error\n"; exit 1; } # Get the Neighbor Status. # ------------------ my %OSPFStatus = &snmptableget($ospfstatus); my %LocalIp = &snmptableget($localaddr); my %RemoteIp = &snmptableget($remoteaddr); my %OSPFState = &snmptableget($ospfstate); # Calculate the Neighbor Data. my $TotalNeighbor = scalar (keys %OSPFState); if ($TotalNeighbor != 0) { my $Down=0; my $Attempt=0; my $Init=0; my $TwoWay=0; my $ExchangeStart=0; my $Exchange=0; my $Loading=0; my $Full=0; foreach $tmp (sort keys %OSPFState) { # Neighbors Down if ($OSPFState{$tmp} == 1) { $Down++; } # Neighbors Attempt if ($OSPFState{$tmp} == 2) { $Attempt++; } # Neighbors Init if ($OSPFState{$tmp} == 3) { $Init++; } # Neighbors TwoWay if ($OSPFState{$tmp} == 4) { $TwoWay++; } # Neighbors ExchangeStart if ($OSPFState{$tmp} == 5) { $ExchangeStart++; } # Neighbors Exchange if ($OSPFState{$tmp} == 6) { $Exchange++; } # Neighbors Loading if ($OSPFState{$tmp} == 7) { $Loading++; } # Neighbors Full if ($OSPFState{$tmp} == 8) { $Full++; } } # Print the data. # --------------- my $msgcolor; my $pctDown = int (($Down / $TotalNeighbor) * 100); my $pctAttempt = int (($Attempt / $TotalNeighbor) * 100); my $pctInit = int (($Init / $TotalNeighbor) * 100); my $pctTwoWay = int (($TwoWay / $TotalNeighbor) * 100); my $pctExchangeStart = int (($ExchangeStart / $TotalNeighbor) * 100); my $pctExchange = int (($Exchange / $TotalNeighbor) * 100); my $pctLoading = int (($Loading / $TotalNeighbor) * 100); my $pctFull = int (($Full / $TotalNeighbor) * 100); my $pctTotal = int ($pctFull + $pctTwoWay); if ($pctTotal > $pctwarning) { $msgcolor = "green"; } if ($pctTotal <= $pctalert) { $msgcolor = "red"; } if ($pctTotal <= $pctwarning) { $msgcolor = "yellow"; } if (!$msgcolor) { $msgcolor = "purple"; } print "$msgcolor\n"; print "

"; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print "
Number of Neighbors $TotalNeighbor
Neighbor Down $Down ($pctDown\%)
Neighbor Attempt $Attempt ($pctAttempt\%)
Neighbor Init $Init ($pctInit\%)
Neighbor TwoWay $TwoWay ($pctTwoWay\%)
Neighbor ExchangeStart $ExchangeStart ($pctExchangeStart\%)
Neighbor Exchange $Exchange ($pctExchange\%)
Neighbor Loading $Loading ($pctLoading\%)
Neighbor Full $Full ($pctFull\%)
"; print "
Total may not equal 100%
"; print "
Table for neighbor NOT full
"; print ""; print ""; foreach $tmp (sort keys %OSPFState) { if ($OSPFState{$tmp} != "8") { my $Status = &getstatus($OSPFState{$tmp}); print ""; } } print "
Source Dest Status
$LocalIp{$tmp} $RemoteIp{$tmp} $Status
"; } else { print "purple\n"; print "
Error while fetching data or no OSPF data found...\n"; } ########################### # SUBROUTINES START HERE. # ########################### sub snmptableget ($) { my $snmpvar = shift; my $index; my %snmpresult; my $response = $session->get_table($snmpvar); foreach (keys %snmpresult) { delete $snmpresult{$_}; } # old values need to be deleted. if (defined ($response)) { foreach (oid_lex_sort(keys(%{$response}))) { $snmpresult{$_} = $response->{$_}; } } foreach $index (sort keys %snmpresult) { $index =~ /$snmpvar\./; $DataTable{$'} = $snmpresult{$index}; } return (%DataTable); } sub getstatus($) { return { '1' => 'Down' ,'2' => 'Attempt' ,'3' => 'Init' ,'4' => 'TwoWay' ,'5' => 'ExchangeStart' ,'6' => 'Established' ,'7' => 'Loading' ,'8' => 'Full' }->{(shift)}; } C'est pas parce que c'est difficile qu'on n'ose pas, c'est parce qu'on ose pas que c'est difficile ! ----- Message d'origine ---- De : Alex Dehaini ? : Ange AMBEMOU ; Nagios Users Mailinglist Envoy? le : Vendredi, 11 Juillet 2008, 11h32mn 05s Objet : Re: [Nagios-users] OSPF Yes it is. Check the nagiosexchange site for this plugin. Lex On Fri, Jul 11, 2008 at 10:29 AM, Ange AMBEMOU wrote: helo all, i want to know if is possible to nagios to check the OSPF on router thanks ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Team - www.konolabs.com Site - www.alexdehaini.com Email - alexdehaini at gmail.com _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Tue Jul 15 12:06:42 2008 From: cschneemann at suse.de (Christian Schneemann) Date: Tue, 15 Jul 2008 12:06:42 +0200 Subject: OSPF In-Reply-To: <654719.67827.qm@web26107.mail.ukl.yahoo.com> References: <654719.67827.qm@web26107.mail.ukl.yahoo.com> Message-ID: <200807151206.42760.cschneemann@suse.de> On Tuesday July 15 2008 11:42:04 am Kermito le kermit wrote: > hello all, Hi, > > i configure my cisco router > > router ospf 1 > network 10.1.3.0 0.255.255.255 area 1 > > > when i lunch ./check_ospf.pl 10.1.3.133 nothing work help me please > > > > my ospf.pl Is this the Script you are using? Uncomment the use warnings, maybe you will get some information what it could be that courses the error. You have uncommented boty $version variables, and behind the "v2c"; is a # missing, so you have barewords in your code, maybe the script stops there. But you could be even mor verbose on what error message you get, just a "it does not work" is not really helpfull for people who want to help. > > #!/usr/bin/perl > > ######################################################################### > # SCRIPT TO CHECK OSPF neighbors status on a router. # > #-----------------------------------------------------------------------# > # Version 1.00 (16-09-2002) # > # - First release # > # # > # # > # # > # # > ######################################################################### > > use Net::SNMP(qw(oid_lex_sort)); > # use warnings; > use strict; > > ############################# > # Declaration of variables. # > ############################# > my $community = "public"; > my $port = 161; > my $version = "v2c"; Uncomment to use with Version 2 SNMP > my $version = "v1"; > my $timeout = 20; # seconds > my $retries = 2; # times > > my $ospfstate = ".1.3.6.1.2.1.14.10.1.6"; # ospfNbrState (Integer) > my $localaddr = ".1.3.6.1.2.1.14.10.1.1"; # ospfNbrIpAddr (IpAddress) > my $remoteaddr = ".1.3.6.1.2.1.14.10.1.3"; # ospfNbrRtrId (IpAddress) > my $ospfstatus = ".1.3.6.1.2.1.14.10.1.9"; # ospfNBMANbrStatus > (Integer) > > my $session; > my $error; > my %DataTable; > my $tmp; > > my $pctwarning = 98; # Minimum percent of Neighbors Established before > a warning is generated. my $pctalert = 75; # Minimum percent of > Neighbors Establisted before an alert is generated. > > # Get the ipaddress from the parameters. > # -------------------------------------- > my $arg_router = $ARGV[0]; > > # Get the data from the router. > # ----------------------------- > > # Open SNMP session on the router. > ($session, $error) = Net::SNMP->session( -hostname => $arg_router, > -community => $community, > -port => $port, > -version => $version, > -timeout => $timeout, > -retries => $retries ); > > # Exit if no session could be opened. > if (!defined ($session)) { > print "Error\n"; > exit 1; > } > > # Get the Neighbor Status. > # ------------------ > my %OSPFStatus = &snmptableget($ospfstatus); > my %LocalIp = &snmptableget($localaddr); > my %RemoteIp = &snmptableget($remoteaddr); > my %OSPFState = &snmptableget($ospfstate); > > # Calculate the Neighbor Data. > my $TotalNeighbor = scalar (keys %OSPFState); > if ($TotalNeighbor != 0) { > my $Down=0; > my $Attempt=0; > my $Init=0; > my $TwoWay=0; > my $ExchangeStart=0; > my $Exchange=0; > my $Loading=0; > my $Full=0; > foreach $tmp (sort keys %OSPFState) { > # Neighbors Down > if ($OSPFState{$tmp} == 1) { > $Down++; > } > # Neighbors Attempt > if ($OSPFState{$tmp} == 2) { > $Attempt++; > } > # Neighbors Init > if ($OSPFState{$tmp} == 3) { > $Init++; > } > # Neighbors TwoWay > if ($OSPFState{$tmp} == 4) { > $TwoWay++; > } > # Neighbors ExchangeStart > if ($OSPFState{$tmp} == 5) { > $ExchangeStart++; > } > # Neighbors Exchange > if ($OSPFState{$tmp} == 6) { > $Exchange++; > } > # Neighbors Loading > if ($OSPFState{$tmp} == 7) { > $Loading++; > } > # Neighbors Full > if ($OSPFState{$tmp} == 8) { > $Full++; > } > } > # Print the data. > # --------------- > my $msgcolor; > my $pctDown = int (($Down / $TotalNeighbor) * 100); > my $pctAttempt = int (($Attempt / $TotalNeighbor) * 100); > my $pctInit = int (($Init / $TotalNeighbor) * 100); > my $pctTwoWay = int (($TwoWay / $TotalNeighbor) * 100); > my $pctExchangeStart = int (($ExchangeStart / $TotalNeighbor) * 100); > my $pctExchange = int (($Exchange / $TotalNeighbor) * 100); > my $pctLoading = int (($Loading / $TotalNeighbor) * 100); > my $pctFull = int (($Full / $TotalNeighbor) * 100); > > my $pctTotal = int ($pctFull + $pctTwoWay); > > if ($pctTotal > $pctwarning) { > $msgcolor = "green"; > } > if ($pctTotal <= $pctalert) { > $msgcolor = "red"; > } > if ($pctTotal <= $pctwarning) { > $msgcolor = "yellow"; > } > if (!$msgcolor) { > $msgcolor = "purple"; > } > > print "$msgcolor\n"; > print "

"; > print ""; > print ""; print ""; print ""; print ""; print ""; print ""; print ""; print ""; print " > "; print "
Number of Neighbors $TotalNeighbor >
Neighbor Down $Down > ($pctDown\%)
Neighbor Attempt > $Attempt ($pctAttempt\%)
Neighbor Init > $Init ($pctInit\%)
Neighbor > TwoWay $TwoWay ($pctTwoWay\%)
> Neighbor ExchangeStart $ExchangeStart ($pctExchangeStart\%) >
Neighbor Exchange $Exchange > ($pctExchange\%)
Neighbor Loading > $Loading ($pctLoading\%)
Neighbor Full $Full ($pctFull\%)
"; > print "
Total may not equal 100%
"; > print "
Table for neighbor NOT full
"; > print ""; > print ""; > foreach $tmp (sort keys %OSPFState) { > if ($OSPFState{$tmp} != "8") { > my $Status = &getstatus($OSPFState{$tmp}); > print ""; } > } > print "
Source Dest Status
$LocalIp{$tmp} $RemoteIp{$tmp} > $Status
"; > } else { > print "purple\n"; > print "
Error while fetching data or no OSPF data found...\n"; > } > > ########################### > # SUBROUTINES START HERE. # > ########################### > > sub snmptableget ($) { > my $snmpvar = shift; > my $index; > my %snmpresult; > my $response = $session->get_table($snmpvar); > foreach (keys %snmpresult) { delete $snmpresult{$_}; } # old values > need to be deleted. if (defined ($response)) { > foreach (oid_lex_sort(keys(%{$response}))) { > $snmpresult{$_} = $response->{$_}; > } > } > foreach $index (sort keys %snmpresult) { > $index =~ /$snmpvar\./; > $DataTable{$'} = $snmpresult{$index}; > } > return (%DataTable); > } > > sub getstatus($) { > return { > '1' => 'Down' > ,'2' => 'Attempt' > ,'3' => 'Init' > ,'4' => 'TwoWay' > ,'5' => 'ExchangeStart' > ,'6' => 'Established' > ,'7' => 'Loading' > ,'8' => 'Full' > }->{(shift)}; > } > > > > > > > C'est pas parce que c'est difficile qu'on n'ose pas, > c'est parce qu'on ose pas que c'est difficile ! > > > > ----- Message d'origine ---- > De : Alex Dehaini > ? : Ange AMBEMOU ; Nagios Users Mailinglist > Envoy? le : Vendredi, 11 Juillet 2008, > 11h32mn 05s > Objet : Re: [Nagios-users] OSPF > > Yes it is. Check the nagiosexchange site for this plugin. > > Lex > > > On Fri, Jul 11, 2008 at 10:29 AM, Ange AMBEMOU > wrote: > > helo all, > > i want to know if is possible to nagios to check the OSPF on router thanks > > > > > > ________________________________ > Envoy? avec Yahoo! Mail. > Une boite mail plus intelligente. > ------------------------------------------------------------------------- > Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! > Studies have shown that voting for your favorite open source project, > along with a healthy diet, reduces your potential for chronic lameness > and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Jul 15 12:15:28 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 15 Jul 2008 06:15:28 -0400 Subject: check_freshness detecting staled services in alphabetical order In-Reply-To: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> References: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> Message-ID: <487C78C0.6050308@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 14/07/08 04:40 PM, Marcel wrote: > Hey, > > Have any of you have seen anything like this before? > > Nagios 2.9, ndoutils 1.4b4. > > Nagios began to detect staled services in alphabethical order, in > batches of almost 400 hosts at a time. > > check_service_freshness=1 > service_freshness_check_interval=900 > check_host_freshness=0 > host_freshness_check_interval=900 Freshness checking is a scheduled event that runs every 30 seconds or so (configurable). If you define passive checks with freshness checking and nothing updates them, then they'll all become stale around the same time and the loop will likely pick them up at the exact same time. So unless you have external processes updating these services (people usually use nsca to perform this from remote hosts) this is the expected behaviour ;). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfHjA6dZ+Kt5BchYRAv5fAJ9pZGSqdt3XITiGq+LiIs/TKvVhIQCgxUAL ILKZ6jWPkSSLJGtBeVoxU40= =MPkG -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue Jul 15 12:14:59 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Tue, 15 Jul 2008 10:14:59 +0000 (GMT) Subject: a reboot switch or router Message-ID: <87199.90438.qm@web26107.mail.ukl.yahoo.com> hello all, DISMAN-EVENT-MIB::sysUpTimeInstance, give time but there are trap snmp to say the system reboot before reboot thanks for your help. ----- Message d'origine ---- De : Brian A. Seklecki ? : Ange AMBEMOU Cc : nagios-users at lists.sourceforge.net Envoy? le : Vendredi, 11 Juillet 2008, 12h45mn 17s Objet : Re: [Nagios-users] a reboot switch or router On Fri, 11 Jul 2008, Ange AMBEMOU wrote: > > helo, > > how know switch or router are reboot and send notifiction. > Use the check_snmp check on DISMAN-EVENT-MIB::sysUpTimeInstance $ snmpwalk -v2c -c foo hv00 |more SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32732343) 3 days, 18:55:23.43 ~BAS > i explain if in config of my router check period is 10mn and between to check the router be down after up the next check see only the router is up. how make alert to say the > router down immediatly > > sorry for my bad english :) > > thanks. > > > > _____________________________________________________________________________________________________________________________________________________________________________________________ > Envoy? avec Yahoo! Mail. > Une boite mail plus intelligente. > _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Jul 15 12:21:15 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 15 Jul 2008 06:21:15 -0400 Subject: Alert or notification history refresh in Nagios 3.0.3 In-Reply-To: <3a69bc5a0807150146t7723ed1fi416e1eaea320dd9f@mail.gmail.com> References: <3a69bc5a0807150146t7723ed1fi416e1eaea320dd9f@mail.gmail.com> Message-ID: <487C7A1B.1050901@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/07/08 04:46 AM, Jose Luis Garcia wrote: > Hello, > > Is there any way to make alert or notification history automatically > refresh? There's a "ReloadEvery" extension or something similar for Firefox... The name say it all :) Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfHob6dZ+Kt5BchYRAgMvAKDopAx2Cd1US9sUSgynVnnG0CPlTgCeLA39 O6qFc9Vtw46ln8Z3H/w8FNg= =uMVj -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Tue Jul 15 12:50:10 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Tue, 15 Jul 2008 12:50:10 +0200 Subject: Alert or notification history refresh in Nagios 3.0.3 In-Reply-To: <487C7A1B.1050901@aei.ca> References: <3a69bc5a0807150146t7723ed1fi416e1eaea320dd9f@mail.gmail.com> <487C7A1B.1050901@aei.ca> Message-ID: <3a69bc5a0807150350l14ac495au4aa7bb1915f76870@mail.gmail.com> Thank you Thomas, Unfortunately I'm using Mozilla for Solaris, and I haven't found this extension. Why Host overview, for instance, is refreshing and this other options are not? I guess is a cgi option or something like this. Thank you again jose Luis 2008/7/15 Thomas Guyot-Sionnest : > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 15/07/08 04:46 AM, Jose Luis Garcia wrote: > > Hello, > > > > Is there any way to make alert or notification history automatically > > refresh? > > There's a "ReloadEvery" extension or something similar for Firefox... > The name say it all :) > > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIfHob6dZ+Kt5BchYRAgMvAKDopAx2Cd1US9sUSgynVnnG0CPlTgCeLA39 > O6qFc9Vtw46ln8Z3H/w8FNg= > =uMVj > -----END PGP SIGNATURE----- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Tue Jul 15 13:09:18 2008 From: brian.murphy at gmx.net (Brian Murphy) Date: Tue, 15 Jul 2008 13:09:18 +0200 Subject: Stray passive check In-Reply-To: References: Message-ID: <20080715110918.140080@gmx.net> Hi List I was demonstrating my Nagios 3.0.3 system today , and all was going very well, until I received a passive check from a source that was not running. I need to do further investigation, but I am wondering has anyone else had any problems with the new method of processing passive checks. I wonder if it was a previously received check that was again processed, or one that hung in the received list and just popped up late. Looking at the input to the program that sends the passive checks in, there was no reason to send a passive check for the host and service in question. Any suggestions welcome. Brian Murphy -- Psssst! Schon das coole Video vom GMX MultiMessenger gesehen? Der Eine f?r Alle: http://www.gmx.net/de/go/messenger03 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando.rocha at opservices.com.br Tue Jul 15 13:37:35 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Tue, 15 Jul 2008 08:37:35 -0300 (BRT) Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <14741567.53801216121785613.JavaMail.root@mail.opservices.com.br> References: <14741567.53801216121785613.JavaMail.root@mail.opservices.com.br> Message-ID: <12542986.53821216121855265.JavaMail.root@mail.opservices.com.br> Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin?s using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file ?/ect/xinetd.d/nrpe? No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying ?configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target ?all?. Stop. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I?ll let you know if I run into anything. You have been more than helpful. Thanks, Jon From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Tue Jul 15 14:11:09 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Tue, 15 Jul 2008 13:11:09 +0100 Subject: FW: nagios actions Message-ID: -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net On Behalf Of Melanie Pfefer Sent: 15 July 2008 09:04 > Can nagios trigger an action when an alert is received? > > For example, if /var is at warning, can nagios execute a script that cleans the logs? Look at event handlers in the documentation; these do exactly what you require. Your service needs to specify the event handler script and also have event_handlers_enabled=1. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue Jul 15 15:00:08 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Tue, 15 Jul 2008 13:00:08 +0000 (GMT) Subject: check_snmp error Message-ID: <843572.53139.qm@web26106.mail.ukl.yahoo.com> hello , when i use check_snmp i have this mistake: ./check_snmp -H 10.1.5.153 -o 1.3.6.1.2.1.14.10.1.6 -C public SNMP probl?me - Pas de donn?es re?ues de l'h?te Commande: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 10.1.5.153:161 1.3.6.1.2.1.14.10.1.6 for check OPSF. _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.deblende at dhl.com Tue Jul 15 15:05:10 2008 From: tom.deblende at dhl.com (Tom DE BLENDE (EECC) (DHL)) Date: Tue, 15 Jul 2008 15:05:10 +0200 Subject: check_snmp error In-Reply-To: <843572.53139.qm@web26106.mail.ukl.yahoo.com> References: <843572.53139.qm@web26106.mail.ukl.yahoo.com> Message-ID: <51E526870A2BE041B2A56BBDC389BADC04023102@PRGDCEX007.prg-dc.dhl.com> Hi, Are you sure that: 1) Your host is allowed SNMP access to the router? 2) Your router uses SNMP version 1? 3) Your community string is still public (if it is: change it)? Can you try a simple snmpwalk to the host? snmpwalk -v2c -c 10.1.5.153 snmpwalk -v1 -c 10.1.5.153 (depending on the version) If that doesn't work try an NMAP to the SNMP port: nmap -sU -P0 -p 161 10.1.5.153 Tom ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kermito le kermit Sent: Tuesday, July 15, 2008 15:00 To: nagios nagios Subject: [Nagios-users] check_snmp error hello , when i use check_snmp i have this mistake: ./check_snmp -H 10.1.5.153 -o 1.3.6.1.2.1.14.10.1.6 -C public SNMP probl?me - Pas de donn?es re?ues de l'h?te Commande: /usr/local/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 10.1.5.153:161 1.3.6.1.2.1.14.10.1.6 for check OPSF. ________________________________ Envoy? avec Yahoo! Mail . Une boite mail plus intelligente. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Jul 15 16:04:12 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 15 Jul 2008 10:04:12 -0400 Subject: Nagios can die and still update the CGI date? In-Reply-To: References: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> <20080714204655.GM25747@cgi.jachomes.com> Message-ID: <20080715140412.GC30556@cgi.jachomes.com> On Mon, Jul 14, 2008 at 04:36:53PM -0500, Marc Powell wrote: > Please start a new e-mail for a new question. This e-mail will > forevermore be associated with the 'check_freshness...' post that you > started with. Yeah, Marc; I know better than to tailgate; I just forgot to delete the IRT header. > On Jul 14, 2008, at 3:46 PM, Jay R. Ashworth wrote: > > Does the CGI not at least scream somehow if there's nothing running > > behind it? > > If nagios dies in such a way that the status_file still exists, no. > You might consider running check_nagios (from the plugins distrib) > from cron. Aha. I presume that's something independent of Nagios that removes that file if it can't find a running Nagios process? I'll check it out; thanks. > > And, what about Naomi? > > She threatened a restraining order the last time I called. I just > stalk her now... Haw. :-) 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. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 15 16:05:51 2008 From: marc at ena.com (Marc Powell) Date: Tue, 15 Jul 2008 09:05:51 -0500 Subject: Cannot use some Macros in notification. In-Reply-To: <26c0bf4211af0e17909e5847a98fb5b8@godfather> References: <26c0bf4211af0e17909e5847a98fb5b8@godfather> Message-ID: <72E3A125-B622-4439-8A67-6FF79E1B8B3D@ena.com> On Jul 14, 2008, at 11:59 PM, Kasper wrote: > > Hi there. > > I'm trying to get nagios to send sms notofications via my kannel sms > gateway. > > I'm using this command as notify-by-pager: > > /usr/bin/curl -s > "http://10.64.48.154:13013/cgi-bin/sendsms\?username=username > \&password=password\&to=$CONTACTPAGER$&text=$NOTIFICATIONTYPE$:+ > $HOSTALIAS$/$SERVICEDESC$+is+$SERVICESTATE$" > > But the two macros $CONTACTPAGER$& and $NOTIFICATIONTYPE$ do not get > replaced with anything. Initially i thought it had something to do > with the > = sign so i tried to escape it with \= but thats not it. I then > tried the To have the best chance at receiving an answer, please post the full notification command{} definition, contact{} definition and nagios version. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 15 16:11:26 2008 From: marc at ena.com (Marc Powell) Date: Tue, 15 Jul 2008 09:11:26 -0500 Subject: Monitor daemon running on remote linux host In-Reply-To: References: Message-ID: <2155AD08-DD33-4A9E-A809-E71C2B625EC9@ena.com> On Jul 15, 2008, at 4:18 AM, Mark Elsen wrote: > - I need to monitor whether a remote daemon is running on a Linux host > and have a NAGIOS alert if it crashes (or disappeared for whatever > reason). > > Is 'check_nrpe' my best option, if so what syntax do I need ? Best depends on your environment. NRPE might be but there's also check_by_ssh and NSCA for common remote access methods. NRPE is well documented on the Nagios web site. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue Jul 15 16:13:49 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Tue, 15 Jul 2008 14:13:49 +0000 (GMT) Subject: OSPF Message-ID: <213740.45421.qm@web26107.mail.ukl.yahoo.com> hello when i use plugin i have this : ./check_ospf.0.1.pl -H 10.1.5.13 -p 12.10.1.2 CRITICAL - 12.10.1.2 is not in neighbor table. what is -p option a see peer ??? tthanks ----- Message d'origine ---- De : Alex Dehaini ? : Ange AMBEMOU ; Nagios Users Mailinglist Envoy? le : Vendredi, 11 Juillet 2008, 11h32mn 05s Objet : Re: [Nagios-users] OSPF Yes it is. Check the nagiosexchange site for this plugin. Lex On Fri, Jul 11, 2008 at 10:29 AM, Ange AMBEMOU wrote: helo all, i want to know if is possible to nagios to check the OSPF on router thanks ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Team - www.konolabs.com Site - www.alexdehaini.com Email - alexdehaini at gmail.com ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Jul 15 16:15:19 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 15 Jul 2008 10:15:19 -0400 Subject: check-ping In-Reply-To: <487C6519.7000702@op5.se> References: <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713121044.020a47f0@mail.intersessions.com> <5.2.1.1.2.20080713131403.0206fb18@mail.intersessions.com> <487B3E5B.9090901@op5.se> <20080714160143.GI24892@cgi.jachomes.com> <487C6519.7000702@op5.se> Message-ID: <20080715141519.GD30556@cgi.jachomes.com> On Tue, Jul 15, 2008 at 10:51:37AM +0200, Andreas Ericsson wrote: [ me: ] > >I've left Jeff's quote in so you can see, Andreas, that you misread > >him. He didn't say "SUID root". He said sudo -- he plans to set the > >nagios Linux user up so it can sudo to run ping as root. > > Ah, right. Having had some driver issues for my laptop lately, I foolishly > joined the linux-kernel mailing list. A payload of 1000 non-spam emails > is now hitting my inbox on a daily basis, causing me to only half-read > pretty much everything. My condolences. :-) > >Seems sensible to me. > > Still, I'm not convinced. sudo is a different can of worms entirely, > and not nearly as secure as many people seem to think. Although the > attack vector is strictly local, it's large enough to be a greater > worry to me than running a small, much-audited program suid root. Ok; that's reasonable. 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. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stagiaire at omr.fr Tue Jul 15 16:16:07 2008 From: Stagiaire at omr.fr (Stagiaire) Date: Tue, 15 Jul 2008 16:16:07 +0200 Subject: Information for MIB In-Reply-To: <4280B962F2182543A587F3539A83205C25FC7D@COURRIER.gpms.org> References: <4280B962F2182543A587F3539A83205C25FC7D@COURRIER.gpms.org> Message-ID: <4280B962F2182543A587F3539A83205C25FC7F@COURRIER.gpms.org> Hello, I want to monitor waiters IBM, HP and DELL with Nagios and SNMP but I don't manage to find the MIB corresponding for the state of the RAID, temperature CPU, the disk space available and the memory capacity available. I have already to seek on sites like http://www.oidview.com/mibs or http://www.mibdepot.com but I could not really find what I seek! If you could help me thank you and excuse me for my English level! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsymonkj at gmail.com Tue Jul 15 16:40:38 2008 From: jsymonkj at gmail.com (Joseph Symon) Date: Tue, 15 Jul 2008 20:10:38 +0530 Subject: Nagios with NDOUtils producing error - undefined symbol: find_serviceextinfo Message-ID: <83b47f4c0807150740m2300e6a7t3ac12f475146ce0a@mail.gmail.com> Hello, I tried to install the nagios with following option: ---------------------------------------------------- nagios-3.0.3 ndoutils-1.4b7 nsca-2.7.2 ---------------------------------------------------- After the installaton and setup of ndoutils-1.4b7 it is producing error: ---------------------------------------------------- Error: Could not load module '/usr/local/nagios/bin/ndomod.o' -> /usr/local/nagios/var/spool/checkresults/nebmodIrboyt: undefined symbol: find_serviceextinfo ---------------------------------------------------- Please let me know how to fix this issue. Regards, Joseph Symon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Tue Jul 15 16:45:14 2008 From: jpratt at norwich.edu (James Pratt) Date: Tue, 15 Jul 2008 10:45:14 -0400 Subject: Information for MIB In-Reply-To: <4280B962F2182543A587F3539A83205C25FC7F@COURRIER.gpms.org> References: <4280B962F2182543A587F3539A83205C25FC7D@COURRIER.gpms.org> <4280B962F2182543A587F3539A83205C25FC7F@COURRIER.gpms.org> Message-ID: <4A7DC39A59AC0944B10A9561147F666A84D7@nuexchange.norwich.edu> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Stagiaire Sent: Tuesday, July 15, 2008 10:16 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Information for MIB Hello, I want to monitor waiters IBM, HP and DELL with Nagios and SNMP but I don't manage to find the MIB corresponding for the state of the RAID, temperature CPU, the disk space available and the memory capacity available. I have already to seek on sites like http://www.oidview.com/mibs or http://www.mibdepot.com but I could not really find what I seek! If you could help me thank you and excuse me for my English level! --- You may need to get the vendor MIBS from the vendors themselves. I may be wrong, but I think most of those server vendors have their own "management agents", which are often the only way to get vendor-specific raid/cpu temp info etc etc . (you can get system basics such as disk/load/memory/processes etc easy enough with regular snmpd on the servers you want to monitor). Regards, jamie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 15 17:06:12 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Tue, 15 Jul 2008 08:06:12 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <12542986.53821216121855265.JavaMail.root@mail.opservices.com.br> References: <14741567.53801216121785613.JavaMail.root@mail.opservices.com.br> <12542986.53821216121855265.JavaMail.root@mail.opservices.com.br> Message-ID: That worked great. All you guys have been invaluable! Thanks again, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Tue Jul 15 19:39:03 2008 From: llow at telesphere.com (Larry Low) Date: Tue, 15 Jul 2008 10:39:03 -0700 Subject: OSPF In-Reply-To: <213740.45421.qm@web26107.mail.ukl.yahoo.com> References: <213740.45421.qm@web26107.mail.ukl.yahoo.com> Message-ID: It is the address of the neighbor. If you did a show ip ospf neighbor on a Cisco router it would be the ?Address? field. ---- Larry Low 9237 E Via de Ventura, Ste 250 Scottsdale, AZ 85258 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kermito le kermit Sent: Tuesday, July 15, 2008 7:14 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] OSPF hello when i use plugin i have this : ./check_ospf.0.1.pl -H 10.1.5.13 -p 12.10.1.2 CRITICAL - 12.10.1.2 is not in neighbor table. what is -p option a see peer ??? tthanks ----- Message d'origine ---- De : Alex Dehaini ? : Ange AMBEMOU ; Nagios Users Mailinglist Envoy? le : Vendredi, 11 Juillet 2008, 11h32mn 05s Objet : Re: [Nagios-users] OSPF Yes it is. Check the nagiosexchange site for this plugin. Lex On Fri, Jul 11, 2008 at 10:29 AM, Ange AMBEMOU > wrote: helo all, i want to know if is possible to nagios to check the OSPF on router thanks ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 Team - www.konolabs.com Site - www.alexdehaini.com Email - alexdehaini at gmail.com ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Tue Jul 15 19:43:53 2008 From: llow at telesphere.com (Larry Low) Date: Tue, 15 Jul 2008 10:43:53 -0700 Subject: a reboot switch or router In-Reply-To: <87199.90438.qm@web26107.mail.ukl.yahoo.com> References: <87199.90438.qm@web26107.mail.ukl.yahoo.com> Message-ID: There is a Cisco proprietary trap that comes in as cisco.0.0 which indicates a reload has been initiated. There are also the warmStart and coldStart traps that indicate the snmp engine has restarted. Again with Cisco there is a proprietary whyReload portion of these traps that indicate why the last reload occurred. ---- Larry Low 9237 E Via de Ventura, Ste 250 Scottsdale, AZ 85258 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kermito le kermit Sent: Tuesday, July 15, 2008 3:15 AM To: Brian A. Seklecki Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re : a reboot switch or router hello all, DISMAN-EVENT-MIB::sysUpTimeInstance, give time but there are trap snmp to say the system reboot before reboot thanks for your help. ----- Message d'origine ---- De : Brian A. Seklecki ? : Ange AMBEMOU Cc : nagios-users at lists.sourceforge.net Envoy? le : Vendredi, 11 Juillet 2008, 12h45mn 17s Objet : Re: [Nagios-users] a reboot switch or router On Fri, 11 Jul 2008, Ange AMBEMOU wrote: > > helo, > > how know switch or router are reboot and send notifiction. > Use the check_snmp check on DISMAN-EVENT-MIB::sysUpTimeInstance $ snmpwalk -v2c -c foo hv00 |more SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32732343) 3 days, 18:55:23.43 ~BAS > i explain if in config of my router check period is 10mn and between to check the router be down after up the next check see only the router is up. how make alert to say the > router down immediatly > > sorry for my bad english :) > > thanks. > > > > _____________________________________________________________________________________________________________________________________________________________________________________________ > Envoy? avec Yahoo! Mail. > Une boite mail plus intelligente. > ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scheepersl.maillist at gmail.com Tue Jul 15 19:51:19 2008 From: scheepersl.maillist at gmail.com (L.Scheepers) Date: Tue, 15 Jul 2008 19:51:19 +0200 Subject: plugin neede to monitor file changes on Linux Message-ID: <10aec1f60807151051m2721f5a1ha385da5fc07819ee@mail.gmail.com> Good day I've been searching hi and low, but I just cannot find a plug that can warn me if a file date changed. There are a few plugins that will monitor if a file date does not change and warn me, but they don't seem to have the functionality to do the opposite. I'm basically trying to monitor a few conf files, to make sure they are not changed by people or updates. If anyone can point me in the right direction, I would be very grateful. I hope this didn't sound stupid Nagios 3.02 on Centos Linux Thank you Skippie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Tue Jul 15 21:43:07 2008 From: brian.murphy at gmx.net (Brian Murphy) Date: Tue, 15 Jul 2008 21:43:07 +0200 Subject: Received stray passive check result Message-ID: <20080715194307.222770@gmx.net> Hi List I was demonstrating my Nagios 3.0.3 system today , and all was going very well, until Nagios processed a passive check from a source that was not running. I need to do further investigation, but I am wondering has anyone else had any problems with the new method of processing passive checks. I wonder if it was a previously received check that was again processed, or one that hung in the received list and just popped up late. Looking at the input to the program that sends the passive checks in, there was no reason to send a passive check for the host and service in question. Any suggestions welcome. Brian Murphy -- GMX Kostenlose Spiele: Einfach online spielen und Spa? haben mit Pastry Passion! http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 15 21:57:07 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Tue, 15 Jul 2008 12:57:07 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <12542986.53821216121855265.JavaMail.root@mail.opservices.com.br> References: <14741567.53801216121785613.JavaMail.root@mail.opservices.com.br> <12542986.53821216121855265.JavaMail.root@mail.opservices.com.br> Message-ID: I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando.rocha at opservices.com.br Tue Jul 15 23:11:06 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Tue, 15 Jul 2008 18:11:06 -0300 (BRT) Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <27796258.57241216155964822.JavaMail.root@mail.opservices.com.br> References: <27796258.57241216155964822.JavaMail.root@mail.opservices.com.br> Message-ID: <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> Jonathan, The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. NSClient++ uses NSC.ini OpMonAgent uses opmonagent.ini But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Cc: "Nagios Users Mailinglist" Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a ?net start spooler? command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin?s using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file ?/ect/xinetd.d/nrpe? No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying ?configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target ?all?. Stop. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I?ll let you know if I run into anything. You have been more than helpful. Thanks, Jon From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Jul 15 23:35:35 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 15 Jul 2008 23:35:35 +0200 Subject: plugin neede to monitor file changes on Linux In-Reply-To: <10aec1f60807151051m2721f5a1ha385da5fc07819ee@mail.gmail.com> References: <10aec1f60807151051m2721f5a1ha385da5fc07819ee@mail.gmail.com> Message-ID: <487D1827.3080607@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 L.Scheepers wrote: | Good day | | I've been searching hi and low, but I just cannot find a plug that can | warn me if a file date changed. | There are a few plugins that will monitor if a file date does not change | and warn me, but they don't seem to have the functionality to do the | opposite. Well. If you have a plugin that does the opposite of what you want you just slam the negate plugin in front of it and you are back in business. 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) iD8DBQFIfRglBvzDRVjxmYERAt6JAJ9QbIRGacLoaWSfGG5FEBvU0ps0FQCfTK/J whup4Vwb2EurVRB93X353Ig= =JOal -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 15 23:39:26 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Tue, 15 Jul 2008 14:39:26 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> References: <27796258.57241216155964822.JavaMail.root@mail.opservices.com.br> <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> Message-ID: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start That is exactly the syntax I am using and it did not work with OpMon agent. Perhaps I had a bad opmonagent.ini file. Here is all it has: [OPMONAGENT] enable=1 password=None port=12489 allow_from="my server IP address" ; if set to 1, opmonagent will try to autodetect language settings autodetect_counters=1 ; if autodectet_counters set to zero, need to specify which to use, otherwise, default W2K use_counters=W2K max_connections=300 debuglevel=0 [NRPE] enable=1 port=5666 command_timeout=60 allow_from=192.168.1.94 max_connections=300 debuglevel=0 Than there is a a [NRPECOMMAND]section but everything else is in Spanish so I can make use of it. Is there a link to another opmonagent.ini file. The one I have has no commands but does have this: service_control=c:\opmon\service-control.cmd $ARG1$ $ARG2$ However there is no services-control.cmd file in the opmon folder. This looks to be the issue. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 2:11 PM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. NSClient++ uses NSC.ini OpMonAgent uses opmonagent.ini But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Cc: "Nagios Users Mailinglist" Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Wed Jul 16 00:16:35 2008 From: webknowledge at gmail.com (Marcel) Date: Tue, 15 Jul 2008 19:16:35 -0300 Subject: check_freshness detecting staled services in alphabetical order In-Reply-To: <487C78C0.6050308@aei.ca> References: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> <487C78C0.6050308@aei.ca> Message-ID: <2dfcbd1b0807151516h3c7e35feg3ff23171168a3cca@mail.gmail.com> On Tue, Jul 15, 2008 at 7:15 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 14/07/08 04:40 PM, Marcel wrote: > > Hey, > > > > Have any of you have seen anything like this before? > > > > Nagios 2.9, ndoutils 1.4b4. > > > > Nagios began to detect staled services in alphabethical order, in > > batches of almost 400 hosts at a time. > > > > check_service_freshness=1 > > service_freshness_check_interval=900 > > check_host_freshness=0 > > host_freshness_check_interval=900 > > Freshness checking is a scheduled event that runs every 30 seconds or so > (configurable). If you define passive checks with freshness checking and > nothing updates them, then they'll all become stale around the same time > and the loop will likely pick them up at the exact same time. Yeah, right on, I've already read the documentation and I'm working for more than 3 years now, but never seen this behaviour before. > > > So unless you have external processes updating these services (people > usually use nsca to perform this from remote hosts) this is the expected > behaviour ;). Indeed. I've a syslog-ng platform to transport passive check results. But other than that, nothing else different. > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFIfHjA6dZ+Kt5BchYRAv5fAJ9pZGSqdt3XITiGq+LiIs/TKvVhIQCgxUAL > ILKZ6jWPkSSLJGtBeVoxU40= > =MPkG > -----END PGP SIGNATURE----- > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 16 00:42:56 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Tue, 15 Jul 2008 15:42:56 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> References: <27796258.57241216155964822.JavaMail.root@mail.opservices.com.br> <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> Message-ID: OK, after some searching I found another download of OpMonAgent and it has a lot more in it. The previous one had 3 files whereas this one has numerous .bat files and others. However the ini is still in Spanish. [NRPECOMMAND] ;Usado para testar se est? funcionando o agente test=c:\opmon\test.bat ;Usado para verificar se existe algum servi?o configurado como autom?tico mas que n?o est? rodando services=cmd /c cscript //NOLOGO "c:\opmon\check_all_services.wsf" ;Usado para verificar se existe algum servi?o configurado como autom?tico mas que n?o est? rodando, ;por?m ignora o "Service Name" ou "Display Name" passado por par?metro, para mais de um separe por v?rgula services_exclude=cmd /c cscript //NOLOGO "c:\opmon\check_all_services.wsf" /exclude:$ARG1$ ;Usado de forma gen?rica para plugins opservices.exe, passando por par?metro "nome_execut?vel" e mais 8 poss?veis par?metros ;onde um par?metro n?o usado deve-se passar 0 check_remote=c:\opmon\check_remote.cmd $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ ;Usado para iniciar, parar ou restartar um servi?o, deve-se passar por par?metro o "Service Name" e a "a??o"(stop, start ou restart) service_control=c:\opmon\service-control.cmd $ARG1$ $ARG2$ ;L? o conte?do de um arquivo, que contenha uma linha com um valor read_file=c:\opmon\read_file.bat $ARG1$ I tried some translator apps but a bad translation is probably harder to read than actual Spanish. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 2:11 PM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. NSClient++ uses NSC.ini OpMonAgent uses opmonagent.ini But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Cc: "Nagios Users Mailinglist" Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Jul 16 02:53:43 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 15 Jul 2008 20:53:43 -0400 Subject: check_freshness detecting staled services in alphabetical order In-Reply-To: <2dfcbd1b0807151516h3c7e35feg3ff23171168a3cca@mail.gmail.com> References: <2dfcbd1b0807141340o68e6be6dy3b50fcf31864a814@mail.gmail.com> <487C78C0.6050308@aei.ca> <2dfcbd1b0807151516h3c7e35feg3ff23171168a3cca@mail.gmail.com> Message-ID: <487D4697.9000000@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 15/07/08 06:16 PM, Marcel wrote: > On Tue, Jul 15, 2008 at 7:15 AM, Thomas Guyot-Sionnest > wrote: > >> So unless you have external processes updating these services (people >> usually use nsca to perform this from remote hosts) this is the expected >> behaviour ;). > > > Indeed. I've a syslog-ng platform to transport passive check results. > But other than that, nothing else different. You could monitor the backend itself (sending messages trough syslog-ng) and add a service dependency if this become annoying. You will receive a single alert when this occurs again. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfUaX6dZ+Kt5BchYRAj2nAKCImuOwNPiaH/VyQz8ymS4VbjnogACfUtDL yO5cL3s/8ofaafJTZZvc8dw= =WFim -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Wed Jul 16 06:19:33 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 16 Jul 2008 14:19:33 +1000 Subject: Bug? Contact ADDRESS Macros index out of step Message-ID: <487D76D5.40006@edcint.co.nz> If I define a contact with the following attributes: define contact { --- other attributes skipped ----- address1 1 address2 2 address3 3 address4 4 address5 5 address6 6 } The whenever my notification script gets run the address variables defined above get provided to the script as environment variables. A "set" command shows me the variables available in the environment of the script. I get: NAGIOS_CONTACTADDRESS0=1 NAGIOS_CONTACTADDRESS1=2 NAGIOS_CONTACTADDRESS2=3 NAGIOS_CONTACTADDRESS3=4 NAGIOS_CONTACTADDRESS4=5 NAGIOS_CONTACTADDRESS5=6 Notice how the index of the variable is now starting at zero instead of 1 and they are all offset by 1? This must be a bug? I'm using Nagios v3.0.3 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ravi.Sanappan at nielsen.com Wed Jul 16 09:36:48 2008 From: Ravi.Sanappan at nielsen.com (Sanappan, Ravi) Date: Wed, 16 Jul 2008 13:06:48 +0530 Subject: Bandwidth Utilisation by Nagios Clients to Nagios Server Message-ID: Hi Team I am a new user to this group. We are planning to implement Nagios in different geographies, as part of which I need *** Approximate bandwidth usage by the Nagios clients to the Nagios server ( If the Nagios server is in Malaysia, and the clients are available in Thailand, Indonesia, Vietnam ). This is required for calculating the available bandwidth. Any help will be highly appreciated Regards Ravi S ---------------------------------------------------------------------- The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and /or privileged materials. If you have received this email as an error you are notified that disclosing this information is strictly prohibited. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted corrupted lost destroyed arrive late or incomplete the sender therefore does not accept liability as a consequence of this email?. ----------------------------------------------------------------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Wed Jul 16 11:33:04 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Wed, 16 Jul 2008 09:33:04 +0000 Subject: Service Dependencies Message-ID: <200807160933.04213.assaf.flatto@ssp.uk.com> Hello I'm tweaking around with service dependencies and wanted to ask something that when i think about it will fail , but i still keep the hope that nagios inner logic will not see mt setup so literally and work as i hope it will. I have a host with 23 services checked on it (i have several of those and i'm being lazy hence this question) : i want to define all the services on the server as being dependent on the ping ( connectivity comes first , after all) , but instead of type all the other services names , i want to do the "catch all" and be done with is . My question is - will nagios be smart enough to understand that the ping is not included in the * ? seems logical that it will be excluded since it is the Master service , but i am don't want to assume anything. define servicedependency{ host_name Mickeymouse service_description PING dependent_host_name Mickeymouse dependent_service_description * execution_failure_criteria c,p,u notification_failure_criteria c,u,p } Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Wed Jul 16 12:00:26 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Wed, 16 Jul 2008 11:00:26 +0100 Subject: Bandwidth Utilisation by Nagios Clients to Nagios Server In-Reply-To: References: Message-ID: <20080716110026.2af45a87@tclmmw.in.tiger-computing.com> On Wed, 16 Jul 2008 13:06:48 +0530 "Sanappan, Ravi" wrote: > I am a new user to this group. We are planning to implement Nagios in > different geographies, as part of which I need > *** Approximate bandwidth usage by the Nagios clients to the Nagios > server ( If the Nagios server is in Malaysia, and the clients are > available in Thailand, Indonesia, Vietnam ). This is required for > calculating the available bandwidth. Any help will be highly > appreciated I don't have any figures to hand specifically for Nagios, however we're running it across 40-odd servers, some of which are using residential ADSL lines for connectivity, and the Nagios traffic certainly isn't noticeable during day-to-day useage. M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Wed Jul 16 12:24:28 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 16 Jul 2008 20:24:28 +1000 Subject: Multi-line plugin output Message-ID: <487DCC5C.3020901@edcint.co.nz> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From janetpost at gmail.com Wed Jul 16 12:30:36 2008 From: janetpost at gmail.com (Janet Post) Date: Wed, 16 Jul 2008 06:30:36 -0400 Subject: Service Dependencies In-Reply-To: <200807160933.04213.assaf.flatto@ssp.uk.com> References: <200807160933.04213.assaf.flatto@ssp.uk.com> Message-ID: Hello, I'm pretty sure you just use a ! (bang) to filter out your ping test: define servicedependency{ host_name Mickeymouse service_description PING dependent_host_name Mickeymouse dependent_service_description *, !PING execution_failure_criteria c,p,u notification_failure_criteria c,u,p } It might need to be on another line. I haven't used the bang in this context before, but it should work. Janet On Wed, Jul 16, 2008 at 5:33 AM, Assaf Flatto wrote: > Hello > > I'm tweaking around with service dependencies and wanted to ask something > that when i think about it > will fail , but i still keep the hope that nagios inner logic will not see > mt setup so literally > and work as i hope it will. > > I have a host with 23 services checked on it (i have several of those and > i'm being lazy hence this > question) : > i want to define all the services on the server as being dependent on the > ping ( connectivity comes > first , after all) , but instead of type all the other services names , i > want to do the "catch > all" and be done with is . > My question is - will nagios be smart enough to understand that the ping is > not included in the * ? > seems logical that it will be excluded since it is the Master service , but > i am don't want to > assume anything. > > define servicedependency{ > host_name Mickeymouse > service_description PING > dependent_host_name Mickeymouse > dependent_service_description * > execution_failure_criteria c,p,u > notification_failure_criteria c,u,p > } > > Assaf > > > > > > IMPORTANT . this email and the information in it may be confidential, > legally > privileged and/or protected by law. It is intended solely for the use of > the > person to whom it is addressed. If you are not the intended recipient, > please > notify the sender immediately and do not disclose the contents to any other > person, use it for any purpose, or store or copy the information in any > medium. > Please also delete all copies of this email and any attachments from your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may suffer as a > result of your receipt of this email including but not limited to computer > service or system failure, access delays or interruption, data non-delivery > or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service Partner UK > Limited by > email, you consent to us monitoring and reading any such correspondence. > > Nothing in this email shall be taken or read as suggesting, proposing or > relating to any agreement concerted practice or other practice that could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England and > Wales > (company number 05687183) whose registered office is at 1 The Heights, > Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fernando.rocha at opservices.com.br Wed Jul 16 13:32:41 2008 From: fernando.rocha at opservices.com.br (Fernando Rocha) Date: Wed, 16 Jul 2008 08:32:41 -0300 (BRT) Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <27673445.58191216207926512.JavaMail.root@mail.opservices.com.br> References: <27673445.58191216207926512.JavaMail.root@mail.opservices.com.br> Message-ID: <27123406.58211216207961590.JavaMail.root@mail.opservices.com.br> This is Portuguese and we'll translate that for the next release. Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Cc: "Nagios Users Mailinglist" Sent: Tuesday, July 15, 2008 7:42:56 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK, after some searching I found another download of OpMonAgent and it has a lot more in it. The previous one had 3 files whereas this one has numerous .bat files and others. However the ini is still in Spanish. [NRPECOMMAND] ;Usado para testar se est? funcionando o agente test=c:\opmon\test.bat ;Usado para verificar se existe algum servi?o configurado como autom?tico mas que n?o est? rodando services=cmd /c cscript //NOLOGO "c:\opmon\check_all_services.wsf" ;Usado para verificar se existe algum servi?o configurado como autom?tico mas que n?o est? rodando, ;por?m ignora o "Service Name" ou "Display Name" passado por par?metro, para mais de um separe por v?rgula services_exclude=cmd /c cscript //NOLOGO "c:\opmon\check_all_services.wsf" /exclude:$ARG1$ ;Usado de forma gen?rica para plugins opservices.exe, passando por par?metro "nome_execut?vel" e mais 8 poss?veis par?metros ;onde um par?metro n?o usado deve-se passar 0 check_remote=c:\opmon\check_remote.cmd $ARG1$ $ARG2$ $ARG3$ $ARG4$ $ARG5$ $ARG6$ $ARG7$ $ARG8$ $ARG9$ ;Usado para iniciar, parar ou restartar um servi?o, deve-se passar por par?metro o "Service Name" e a "a??o"(stop, start ou restart) service_control=c:\opmon\service-control.cmd $ARG1$ $ARG2$ ;L? o conte?do de um arquivo, que contenha uma linha com um valor read_file=c:\opmon\read_file.bat $ARG1$ I tried some translator apps but a bad translation is probably harder to read than actual Spanish. From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 2:11 PM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. NSClient++ uses NSC.ini OpMonAgent uses opmonagent.ini But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Cc: "Nagios Users Mailinglist" Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a ?net start spooler? command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin?s using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file ?/ect/xinetd.d/nrpe? No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying ?configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target ?all?. Stop. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I?ll let you know if I run into anything. You have been more than helpful. Thanks, Jon From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Wed Jul 16 13:37:14 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Wed, 16 Jul 2008 07:37:14 -0400 Subject: Zombie processes Message-ID: Hello All, Does anyone know the command line syntax for discovering Zombie processes on a windows box? I want to write a script for NRPE. TIA Harry Harry M. Hart Systems integrator SAIC USJFCOM JIOC DCGS-A (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Wed Jul 16 14:00:25 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Wed, 16 Jul 2008 22:00:25 +1000 Subject: How to tell if a Service plugin result has multiline output? Message-ID: <487DE2D9.9030505@edcint.co.nz> Nagios v3 now has multiline plugin output, but from what I can find the only place you can see the detail of it or even discover that multiple lines exist is on the service details screen (refer attachment DetailStatus.jpg). The service summary screen (refer attachment MainStatus.jpg) does not even offer a hint of multiline output. As I missing something? Is there some configuration I can do? I realise that each plugin could be rewritten to include something on the first line of output if multiple lines existed (eg "more ....") but this would not nicely integrate with Nagios. It would be good if there was an icon (like the downtime/acknowledged icons etc) showing that a service result had multiple lines of output at the summary level so that at glance you can tell which detail screens you needed to look at. -------------- next part -------------- A non-text attachment was scrubbed... Name: DetailStatus.jpg Type: image/jpeg Size: 11492 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: MainStatus.jpg Type: image/jpeg Size: 13809 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeffkoch at intersessions.com Wed Jul 16 16:40:33 2008 From: jeffkoch at intersessions.com (Jeff Koch) Date: Wed, 16 Jul 2008 10:40:33 -0400 Subject: MySQL Alive Message-ID: <5.2.1.1.2.20080716103559.06f2aa38@mail.intersessions.com> Hi: We're new with nagios but learning. We need to be able to check whether mysql is alive on a server - we don't want to log in. I've looked at the check_mysql and check_mysql_query plugins and they seem to require username and password. Can anyone advise on how to verify that MySQL is alive? Best Regards, Jeff Koch, Intersessions ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Wed Jul 16 16:41:45 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Wed, 16 Jul 2008 10:41:45 -0400 Subject: MySQL Alive Message-ID: I would use check_procs to see if the mysqld process is running if you do not want to log in. However, I would advise using the check_mysql plugin and actually probing the mysql server for functionality. Having the process running doesn't necessarily mean things are running smoothly ;-) Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com -----Original Message----- From: Jeff Koch [mailto:jeffkoch at intersessions.com] Sent: Wednesday, July 16, 2008 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] MySQL Alive Hi: We're new with nagios but learning. We need to be able to check whether mysql is alive on a server - we don't want to log in. I've looked at the check_mysql and check_mysql_query plugins and they seem to require username and password. Can anyone advise on how to verify that MySQL is alive? Best Regards, Jeff Koch, Intersessions ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Jul 16 16:53:10 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 16 Jul 2008 10:53:10 -0400 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <27123406.58211216207961590.JavaMail.root@mail.opservices.com.br> References: <27673445.58191216207926512.JavaMail.root@mail.opservices.com.br> <27123406.58211216207961590.JavaMail.root@mail.opservices.com.br> Message-ID: <20080716145310.GD2433@cgi.jachomes.com> On Wed, Jul 16, 2008 at 08:32:41AM -0300, Fernando Rocha wrote: > This is Portuguese and we'll translate that for the next release. I'm looking forward to it. :-) Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Jul 16 16:56:01 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 16 Jul 2008 10:56:01 -0400 Subject: Zombie processes In-Reply-To: References: Message-ID: <20080716145601.GF2433@cgi.jachomes.com> On Wed, Jul 16, 2008 at 07:37:14AM -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Does anyone know the command line syntax for discovering Zombie > processes on a windows box? > > I want to write a script for NRPE. Well, I've installed NRPE on about 12 linux boxes this month, and I didn't look at the details, but that was one of the stock provided plugins... 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. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From throck at gmail.com Wed Jul 16 17:53:30 2008 From: throck at gmail.com (Tom Throckmorton) Date: Wed, 16 Jul 2008 11:53:30 -0400 Subject: MySQL Alive In-Reply-To: <5.2.1.1.2.20080716103559.06f2aa38@mail.intersessions.com> References: <5.2.1.1.2.20080716103559.06f2aa38@mail.intersessions.com> Message-ID: <20080716155330.GA21650@gmail.com> On Jul 16 10:40, Jeff Koch wrote: > > Hi: > > We're new with nagios but learning. Welcome :) > We need to be able to check whether mysql is alive on a server - we don't > want to log in. Is this a policy or a preference? In other words, is there some specific reason you don't want to / can't log in, is it OK to log in locally but not remotely, etc? For reference, check_mysql only requires PROCESS privs to perform a basic check - check_mysql_query only requires SELECT. > I've looked at the check_mysql and check_mysql_query > plugins and they seem to require username and password. Indeed, because they are actually performing SQL queries, which as Stephen V. points out will provide a higher degree of assurance that everything is working as expected. > Can anyone advise on how to verify that MySQL is alive? Aside from the above, here are a couple of alternatives: - check_tcp -p 3306, which is moderatly reliable, but can produce false positives - check_procs (as Stephen suggested), though that presumes you're using nrpe/nsca - check_log, to watch your error log, esp. (which may again presume nrpe/nsca) - if the db is the backend for a web application, check the content from some url that you _know_ generates a fetch against the db - some combination of the above + check_cluster :) You'll find other alternatives on nagiosexchange.org as well, I'm sure. Hope this helps get you started, -tt ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From harry.hart.ctr at jfcom.mil Wed Jul 16 18:02:34 2008 From: harry.hart.ctr at jfcom.mil (Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I) Date: Wed, 16 Jul 2008 12:02:34 -0400 Subject: Zombie processes In-Reply-To: <20080716145601.GF2433@cgi.jachomes.com> References: <20080716145601.GF2433@cgi.jachomes.com> Message-ID: I should have said NsClient++ instead of NRPE. It is a windows box I'm trying to monitor. Harry M. Hart Systems integrator (757) 203-7422 DSN 668-7422 Harry.Hart at intel.jwfc.jfcom.smil.mil Harry.Hart at jwfc.ic.gov -----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: Wednesday, July 16, 2008 10:56 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Zombie processes On Wed, Jul 16, 2008 at 07:37:14AM -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > Does anyone know the command line syntax for discovering Zombie > processes on a windows box? > > I want to write a script for NRPE. Well, I've installed NRPE on about 12 linux boxes this month, and I didn't look at the details, but that was one of the stock provided plugins... 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. -- (Josef Stalin) ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Wed Jul 16 18:11:13 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Wed, 16 Jul 2008 12:11:13 -0400 Subject: Zombie processes In-Reply-To: References: <20080716145601.GF2433@cgi.jachomes.com> Message-ID: <20080716161113.GQ2433@cgi.jachomes.com> On Wed, Jul 16, 2008 at 12:02:34PM -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: > I should have said NsClient++ instead of NRPE. It is a windows box I'm > trying to monitor. That would have cleared it up, yes. Windows *has* zombie processes? I wouldn't have thought its process model really created such... 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. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexus at gmail.com Wed Jul 16 18:13:12 2008 From: alexus at gmail.com (alexus) Date: Wed, 16 Jul 2008 12:13:12 -0400 Subject: two pings / service depended on host Message-ID: <6ae50c2d0807160913l3d8a0712o1a53cc04d28874b6@mail.gmail.com> I have general question, whenever I add new host to nagios, i add it with check_host_alive or check_icmp or check_ping, but then i have to add check_ping as a service as well, for service dependencies, as i can't depend a services on host how do you guys do that? do you do two pings per host or is there some other way? -- http://alexus.org/ ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From llow at telesphere.com Wed Jul 16 18:15:14 2008 From: llow at telesphere.com (Larry Low) Date: Wed, 16 Jul 2008 09:15:14 -0700 Subject: a reboot switch or router In-Reply-To: <371476.582.qm@web26108.mail.ukl.yahoo.com> References: <371476.582.qm@web26108.mail.ukl.yahoo.com> Message-ID: whyReload is part of OLD-CISCO-SYSTEM-MIB ---- Larry Low 9237 E Via de Ventura, Ste 250 Scottsdale, AZ 85258 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: Kermito le kermit [mailto:angeolivier2003 at yahoo.fr] Sent: Wednesday, July 16, 2008 6:40 AM To: Larry Low Subject: Re : [Nagios-users] Re : a reboot switch or router hello, warmStart and coldStart traps can be send when i activate snmp on router again, is not restart in this case, for whyReload i search method to put this on snmptt but no MIB give me this (not trap like coldstart) help me please ----- Message d'origine ---- De : Larry Low ? : "nagios-users at lists.sourceforge.net" Envoy? le : Mardi, 15 Juillet 2008, 19h43mn 53s Objet : Re: [Nagios-users] Re : a reboot switch or router There is a Cisco proprietary trap that comes in as cisco.0.0 which indicates a reload has been initiated. There are also the warmStart and coldStart traps that indicate the snmp engine has restarted. Again with Cisco there is a proprietary whyReload portion of these traps that indicate why the last reload occurred. ---- Larry Low 9237 E Via de Ventura, Ste 250 Scottsdale, AZ 85258 Office: 480.385.7045 E-mail: llow at telesphere.com' Telesphere Networks, Inc From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Kermito le kermit Sent: Tuesday, July 15, 2008 3:15 AM To: Brian A. Seklecki Cc: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re : a reboot switch or router hello all, DISMAN-EVENT-MIB::sysUpTimeInstance, give time but there are trap snmp to say the system reboot before reboot thanks for your help. ----- Message d'origine ---- De : Brian A. Seklecki ? : Ange AMBEMOU Cc : nagios-users at lists.sourceforge.net Envoy? le : Vendredi, 11 Juillet 2008, 12h45mn 17s Objet : Re: [Nagios-users] a reboot switch or router On Fri, 11 Jul 2008, Ange AMBEMOU wrote: > > helo, > > how know switch or router are reboot and send notifiction. > Use the check_snmp check on DISMAN-EVENT-MIB::sysUpTimeInstance $ snmpwalk -v2c -c foo hv00 |more SNMPv2-MIB::sysObjectID.0 = OID: NET-SNMP-MIB::netSnmpAgentOIDs.10 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (32732343) 3 days, 18:55:23.43 ~BAS > i explain if in config of my router check period is 10mn and between to check the router be down after up the next check see only the router is up. how make alert to say the > router down immediatly > > sorry for my bad english :) > > thanks. > > > > _____________________________________________________________________________________________________________________________________________________________________________________________ > Envoy? avec Yahoo! Mail. > Une boite mail plus intelligente. > ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. ________________________________ Envoy? avec Yahoo! Mail. Une boite mail plus intelligente. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Wed Jul 16 18:24:55 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Wed, 16 Jul 2008 12:24:55 -0400 Subject: MySQL Alive Message-ID: Please always respond on list so others have the benefit of the conversation. You could do as Tom suggested and use check_tcp on port 3306 to see if you get a response, but in order to really grasp how the mysql process is running/responding you will need to go at it a bit harder than just a tcp port check. Have you thought about setting up the username and password as macros and passing them as $ARG...$ statements in your commands? This would eliminate the need for a username and password being stored plain text inside of the check command if that is your worry. Have a look at the documentation on custom macros inside of resource files: (http://nagios.sourceforge.net/docs/2_0/configmain.htm#resource_file) Resource File Format: resource_file= Example: resource_file=/usr/local/nagios/etc/resource.cfg This is used to specify an optional resource file that can contain $USERn$ macro definitions. $USERn$ macros are useful for storing usernames, passwords, and items commonly used in command definitions (like directory paths). The CGIs will not attempt to read resource files, so you can set restrictive permissions (600 or 660) on them to protect sensitive information. You can include multiple resource files by adding multiple resource_file statements to the main config file - Nagios will process them all. See the sample resource.cfg file in the base of the Nagios directory for an example of how to define $USERn$ macros. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com -----Original Message----- From: Jeff Koch [mailto:jeffkoch at intersessions.com] Sent: Wednesday, July 16, 2008 12:18 PM To: Valdinger, Stephen (DOV, MSX) Subject: RE: [Nagios-users] MySQL Alive We need to check mysql remotely so check_proc is no good. Also, we would prefer to not have mysql usernames and passwords in our scripts. Isn't there a plugin or method to just query the port and see if mysql responds? At 10:41 AM 7/16/2008, you wrote: >I would use check_procs to see if the mysqld process is running if you >do not want to log in. However, I would advise using the check_mysql >plugin and actually probing the mysql server for functionality. Having >the process running doesn't necessarily mean things are running smoothly >;-) > >Stephen Valdinger >MIS Helpdesk Coordinator >330.365.3622 -O >740.491.0958 - C >svalding at doverchem.com > >-----Original Message----- >From: Jeff Koch [mailto:jeffkoch at intersessions.com] >Sent: Wednesday, July 16, 2008 10:41 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] MySQL Alive > > >Hi: > >We're new with nagios but learning. > >We need to be able to check whether mysql is alive on a server - we >don't >want to log in. I've looked at the check_mysql and check_mysql_query >plugins and they seem to require username and password. > >Can anyone advise on how to verify that MySQL is alive? > > > > >Best Regards, > >Jeff Koch, Intersessions > > >----------------------------------------------------------------------- - >- >This SF.Net email is sponsored by the Moblin Your Move Developer's >challenge >Build the coolest Linux based applications with Moblin SDK & win great >prizes >Grand prize is a trip for two to an Open Source event anywhere in the >world >http://moblin-contest.org/redirect.php?banner_id=100&url=/ >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null Best Regards, Jeff Koch, Intersessions ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 16 18:29:44 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Wed, 16 Jul 2008 09:29:44 -0700 Subject: Help - I am unable to get the NSClient++ torestart services In-Reply-To: <20080716145310.GD2433@cgi.jachomes.com> References: <27673445.58191216207926512.JavaMail.root@mail.opservices.com.br><27123406.58211216207961590.JavaMail.root@mail.opservices.com.br> <20080716145310.GD2433@cgi.jachomes.com> Message-ID: Lets try this again... I figured everyone had given of their time and knowledge to me that I'll try to repay the favor. I made a translation from Portuguese to English of the opmonagent.ini and the service-control.cmd files and have attached them if anyone is interested. It really helped me to understand what these files do and hopefully I can get these services restarted now. Is there any manipulation of these files that is necessary to get services restarted besides the general opmonagent.ini file editing for port #, allowed from IP, etc? They are attached as txt files as I couldn't send them the first attempt as a cmd file. -----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: Wednesday, July 16, 2008 7:53 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ torestart services On Wed, Jul 16, 2008 at 08:32:41AM -0300, Fernando Rocha wrote: > This is Portuguese and we'll translate that for the next release. I'm looking forward to it. :-) Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: service-control.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: opmonagent.txt URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 16 19:06:54 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Wed, 16 Jul 2008 10:06:54 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> References: <27796258.57241216155964822.JavaMail.root@mail.opservices.com.br> <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> Message-ID: OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 2:11 PM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. NSClient++ uses NSC.ini OpMonAgent uses opmonagent.ini But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Cc: "Nagios Users Mailinglist" Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 16 19:30:04 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Wed, 16 Jul 2008 10:30:04 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <40D711E4618C0E469D95683E82AF777A02EB2CD7@volvo2.ems.securicor.com> References: <27796258.57241216155964822.JavaMail.root@mail.opservices.com.br> <13151602.57261216156266272.JavaMail.root@mail.opservices.com.br> <40D711E4618C0E469D95683E82AF777A02EB2CD7@volvo2.ems.securicor.com> Message-ID: OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL -l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start ________________________________ From: Jonathan Williams Sent: Wednesday, July 16, 2008 10:07 AM To: Fernando Rocha Cc: Nagios Users Mailinglist Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 2:11 PM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. NSClient++ uses NSC.ini OpMonAgent uses opmonagent.ini But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Cc: "Nagios Users Mailinglist" Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Tuesday, July 15, 2008 4:38 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, make sure that you have the xinetd installed and check if there is the following directory: [root at fernando ~]# ls /etc/xinetd.d/ chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream if you don't have that, try to install by apt-get! and then, run the command again Make install-xinetd or you can install just writing a file like this: [root at fernando ~]# cat /etc/xinetd.d/nrpe service nrpe { flags = REUSE socket_type = stream wait = no only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) user = nagios (PUT THE NAGIOS USER HERE) server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) log_on_failure += USERID disable = no } and then restart xinetd! Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Fernando Rocha" Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] Sent: Monday, July 14, 2008 11:49 AM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! try to use the option --disable-ssl when you run ./configure Fernando Rocha OpServices Tecnologia da Informa??o ----- Original Message ----- From: "Jonathan Williams" To: "Paulo Ribas" Cc: nagios-users at lists.sourceforge.net Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Friday, July 11, 2008 2:04 PM To: Jonathan Williams Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s -- ----- "Jonathan Williams" wrote: > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 1:49 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > -- > > > ----- "Jonathan Williams" wrote: > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:42 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paulo.ribas at opservices.com.br Wed Jul 16 19:35:14 2008 From: paulo.ribas at opservices.com.br (Paulo Ribas) Date: Wed, 16 Jul 2008 14:35:14 -0300 (BRT) Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <5156547.60701216229615700.JavaMail.root@mail.opservices.com.br> References: <5156547.60701216229615700.JavaMail.root@mail.opservices.com.br> Message-ID: <23022890.60721216229714357.JavaMail.root@mail.opservices.com.br> Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- ----- "Jonathan Williams" wrote: > OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL ?l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start From: Jonathan Williams > Sent: Wednesday, July 16, 2008 10:07 AM > To: Fernando Rocha > Cc: Nagios Users Mailinglist > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 2:11 PM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. > > NSClient++ uses NSC.ini > OpMonAgent uses opmonagent.ini > > But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. > > So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: > > /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start > > But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Cc: "Nagios Users Mailinglist" > Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a ?net start spooler? command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 4:38 AM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > make sure that you have the xinetd installed and check if there is the following directory: > > [root at fernando ~]# ls /etc/xinetd.d/ > chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram > chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream > > if you don't have that, try to install by apt-get! > > and then, run the command again > > Make install-xinetd > > or you can install just writing a file like this: > [root at fernando ~]# cat /etc/xinetd.d/nrpe > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) > user = nagios (PUT THE NAGIOS USER HERE) > server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) > server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) > log_on_failure += USERID > disable = no > } > > and then restart xinetd! Fernando Rocha > OpServices Tecnologia da Informa??o > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin?s using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file ?/ect/xinetd.d/nrpe? No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Monday, July 14, 2008 11:49 AM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! > > try to use the option --disable-ssl when you run ./configure Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Paulo Ribas" > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying ?configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target ?all?. Stop. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 2:04 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s > -- > > ----- "Jonathan Williams" wrote: > > I found the NRPE add-on (not plug-in) so I will download and install that. I?ll let you know if I run into anything. You have been more than helpful. Thanks, Jon From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:49 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > > -- > > > > > > ----- "Jonathan Williams" wrote: > > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > > Sent: Friday, July 11, 2008 1:42 PM > > > To: Jonathan Williams > > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > > > define command{ command_name restart-Spooler command_line PATH/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/ check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 16 19:41:42 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Wed, 16 Jul 2008 10:41:42 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <23022890.60721216229714357.JavaMail.root@mail.opservices.com.br> References: <5156547.60701216229615700.JavaMail.root@mail.opservices.com.br> <23022890.60721216229714357.JavaMail.root@mail.opservices.com.br> Message-ID: I have read that. Thank you. That is actually also in the Nagios PDF file as well. I remembered I did not restart Nagios after making a couple of changes so I did that and it finally works!! Thanks everyone for all you help with my questions. Now I need to get e-mail notifications up. I noticed there are a few options and plug-ins people are using. What are you guys having success with? Thanks again, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Wednesday, July 16, 2008 10:35 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- ----- "Jonathan Williams" wrote: > OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL -l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start ________________________________ From: Jonathan Williams > Sent: Wednesday, July 16, 2008 10:07 AM > To: Fernando Rocha > Cc: Nagios Users Mailinglist > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 2:11 PM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. > > NSClient++ uses NSC.ini > OpMonAgent uses opmonagent.ini > > But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. > > So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: > > /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start > > But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Cc: "Nagios Users Mailinglist" > Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 4:38 AM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > make sure that you have the xinetd installed and check if there is the following directory: > > [root at fernando ~]# ls /etc/xinetd.d/ > chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram > chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream > > if you don't have that, try to install by apt-get! > > and then, run the command again > > Make install-xinetd > > or you can install just writing a file like this: > [root at fernando ~]# cat /etc/xinetd.d/nrpe > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) > user = nagios (PUT THE NAGIOS USER HERE) > server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) > server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) > log_on_failure += USERID > disable = no > } > > and then restart xinetd! Fernando Rocha > OpServices Tecnologia da Informa??o > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Monday, July 14, 2008 11:49 AM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! > > try to use the option --disable-ssl when you run ./configure Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Paulo Ribas" > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 2:04 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s > -- > > ----- "Jonathan Williams" wrote: > > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:49 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > > -- > > > > > > ----- "Jonathan Williams" wrote: > > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > > Sent: Friday, July 11, 2008 1:42 PM > > > To: Jonathan Williams > > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abr at smartsgroup.com Wed Jul 16 20:12:33 2008 From: abr at smartsgroup.com (Alex Broad) Date: Wed, 16 Jul 2008 19:12:33 +0100 Subject: check_nt cmd works - fails from nagios config Message-ID: If I run the following cmd from then everything is ok ( as show ./check_nt -H 192.168.1.100 -p 12489 -v FILEAGE -l "d:\\data\\users\\logs\\`date +%Y`\\`date +%m`\\`date +%d`\\`date +%Y%m%d.log`" >0 years 0 mon 0 days 13 hours 57 min 22 sec However when I add this line in to my nagios check_command.cfg file the results are (null) Is this normal and if so how would you get around this so you can always check a file with \\today_date\\today_date.log? Thanks in advance -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hphinizy at cisco.com Wed Jul 16 20:17:48 2008 From: hphinizy at cisco.com (Harrison Phinizy -X (hphinizy - at Cisco)) Date: Wed, 16 Jul 2008 11:17:48 -0700 Subject: check commands Message-ID: <38C76C4CBEC69F4C9971F08D00FA0992073964DE@xmb-sjc-22b.amer.cisco.com> All, I wrote a script that accepts arguments depending on the content it is checking for. Using nagios web under the "Service Details" section of a host I see there is a section named: Check Command Args (use : to separate args): If I have a script called check_service (for example) and it accepts an argument (-s ) can I pass set this argument in the "Check Command Args" field? My check command is generic and my hope is to let the arguments be passed on a per host basis. This means one check command can check this particular service and the minor variances from one host to the next can be handled via the arguments passed to the check_command/script. Regards, Harison -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 16 20:18:18 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 16 Jul 2008 20:18:18 +0200 Subject: Bandwidth Utilisation by Nagios Clients to Nagios Server In-Reply-To: <20080716110026.2af45a87@tclmmw.in.tiger-computing.com> References: <20080716110026.2af45a87@tclmmw.in.tiger-computing.com> Message-ID: <487E3B6A.9030105@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matthew Macdonald-Wallace wrote: | On Wed, 16 Jul 2008 13:06:48 +0530 | "Sanappan, Ravi" wrote: | |> I am a new user to this group. We are planning to implement Nagios in |> different geographies, as part of which I need |> *** Approximate bandwidth usage by the Nagios clients to the Nagios |> server ( If the Nagios server is in Malaysia, and the clients are |> available in Thailand, Indonesia, Vietnam ). This is required for |> calculating the available bandwidth. Any help will be highly |> appreciated | | I don't have any figures to hand specifically for Nagios, however we're | running it across 40-odd servers, some of which are using residential | ADSL lines for connectivity, and the Nagios traffic certainly isn't | noticeable during day-to-day useage. Well it depends on what you do with Nagios and even what you considere to be a nagios client in this context. If I have 40 workstations all looking at the nagios webpage and doing an auto refresh every 60 seconds I need quite a bit of bandwidth. If you mean Nagios polling 40 remote systems in a NRPE or NCSA setup then you may need hardly any bandwith at all. So understand what you are doing. Then test and measure certain aspects based on your intended setup. There is no substitute for understanding Nagios very well before you can even make an educated guess of the bandwith requirements of a specific setup. There are just too many variables. (Do you poll once a day or every minute? Will you use check_http to get a 10kB index file or just use a HEAD instead of a GET? Will you be using SNMP to get all info about all 48 ports of that switch? Do you ......) 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) iD8DBQFIfjtoBvzDRVjxmYERAj33AKCbdhOEYK5EN2KFP0ZuSWMC8L6ovgCgjUEr GMYTsBzGZIRxgsl3OU1Bv84= =ikMQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 16 22:47:18 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Wed, 16 Jul 2008 13:47:18 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: References: Message-ID: We have an open SMTP relay setup (IIS) and that is what we use for other apps. As far as mail client, I am trying to use send_mail.pl plug-in found here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 and cannot get it to notify. The online documentation differs from the documentation in the actual send_mail.pl config file. My commands.cfg looks like this: define command{ command_name host-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" define command{ command_name service-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } The sample documentation uses $USER1$/send_mail.pl rather than the actual path. I am not sure what $USER1$ represents. I tried it both ways. My templates are also set up for services and hosts to allow for notification and reference these command_line entries. I am also not sure why an e-mail address is specified in the send_mail.pl file as well as the contacts.cfg. When looking at the service notification settings in the Nagios CGI it is correct. Is there anything I am missing? Jon ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, July 16, 2008 11:05 AM To: Jonathan Williams Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Here we use postfix as our mta pusing everything to our exchange server for sending out the mail. It's really very easy to set up, just make sure you have your contacts set up properly and that they have access to the cgi's as needed and configure your notification command to use whatever binary file your chosen mail client uses. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com ________________________________ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Wednesday, July 16, 2008 1:42 PM To: Paulo Ribas Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I have read that. Thank you. That is actually also in the Nagios PDF file as well. I remembered I did not restart Nagios after making a couple of changes so I did that and it finally works!! Thanks everyone for all you help with my questions. Now I need to get e-mail notifications up. I noticed there are a few options and plug-ins people are using. What are you guys having success with? Thanks again, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Wednesday, July 16, 2008 10:35 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- ----- "Jonathan Williams" wrote: > OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL -l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start ________________________________ From: Jonathan Williams > Sent: Wednesday, July 16, 2008 10:07 AM > To: Fernando Rocha > Cc: Nagios Users Mailinglist > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 2:11 PM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. > > NSClient++ uses NSC.ini > OpMonAgent uses opmonagent.ini > > But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. > > So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: > > /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start > > But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Cc: "Nagios Users Mailinglist" > Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 4:38 AM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > make sure that you have the xinetd installed and check if there is the following directory: > > [root at fernando ~]# ls /etc/xinetd.d/ > chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram > chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream > > if you don't have that, try to install by apt-get! > > and then, run the command again > > Make install-xinetd > > or you can install just writing a file like this: > [root at fernando ~]# cat /etc/xinetd.d/nrpe > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) > user = nagios (PUT THE NAGIOS USER HERE) > server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) > server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) > log_on_failure += USERID > disable = no > } > > and then restart xinetd! Fernando Rocha > OpServices Tecnologia da Informa??o > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Monday, July 14, 2008 11:49 AM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! > > try to use the option --disable-ssl when you run ./configure Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Paulo Ribas" > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 2:04 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s > -- > > ----- "Jonathan Williams" wrote: > > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:49 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > > -- > > > > > > ----- "Jonathan Williams" wrote: > > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > > Sent: Friday, July 11, 2008 1:42 PM > > > To: Jonathan Williams > > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3605 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Wed Jul 16 22:48:15 2008 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 16 Jul 2008 16:48:15 -0400 Subject: MySQL Alive In-Reply-To: <5.2.1.1.2.20080716103559.06f2aa38@mail.intersessions.com> References: <5.2.1.1.2.20080716103559.06f2aa38@mail.intersessions.com> Message-ID: <012b01c8e785$44e3b720$800101df@andrew2> Jeff Koch wrote: > Hi: > > We're new with nagios but learning. > > We need to be able to check whether mysql is alive on a server - we > don't > want to log in. I've looked at the check_mysql and check_mysql_query > plugins and they seem to require username and password. > > Can anyone advise on how to verify that MySQL is alive? Assuming the reason you don't want to log in is to avoid sending the login information over the network, an alternative would be to run check_mysql and/or check_mysql_query locally on the MySQL server via check_by_ssh/NSClient/NRPE/etc. Or if you don't like the security ramifications of those you could run those checks locally on the MySQL and publish the output via SNMP or even on a web page if you have a web server running on your MySQL server. Lots of options. Andrew ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Jul 17 00:05:15 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 16 Jul 2008 18:05:15 -0400 Subject: MySQL Alive In-Reply-To: <5.2.1.1.2.20080716103559.06f2aa38@mail.intersessions.com> References: <5.2.1.1.2.20080716103559.06f2aa38@mail.intersessions.com> Message-ID: <487E709B.2010608@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/07/08 10:40 AM, Jeff Koch wrote: > Hi: > > We're new with nagios but learning. > > We need to be able to check whether mysql is alive on a server - we don't > want to log in. I've looked at the check_mysql and check_mysql_query > plugins and they seem to require username and password. > > Can anyone advise on how to verify that MySQL is alive? If MySQL is listening on the network you can use check_tcp on port 3306. That would be the simplest way: check_tcp -H hostname -p 3306 Even on localhost you can check the socket with: check_tcp -H /path/to/mysqld.sock Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIfnCb6dZ+Kt5BchYRAn8FAKDWfvS2xiULga3nzrDSb+xeBXVrOACgip5Y zlZ4JjI4P8zUndEdfkOzi3w= =6uFv -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Jul 17 00:27:22 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 16 Jul 2008 18:27:22 -0400 Subject: Zombie processes In-Reply-To: <20080716161113.GQ2433@cgi.jachomes.com> References: <20080716145601.GF2433@cgi.jachomes.com> <20080716161113.GQ2433@cgi.jachomes.com> Message-ID: Hi, On windows The definition of Zombie Processes is not well defined. If you mean, a process that marked "NOT RESPONDING" in taskmanager, I always find that not completly unreliable, and in many cases the process would start responding before the popup is triggered. If you true intent is to restart a stoped service you can configure the service to restart and have it submit a passive check via NSCA indicating it was restarted via the Properties of the service in service manager. If your goal is to make sure a program or application is still running try writing a script that tests some indicator that it is still working. for example if the process is suppose to write to a particular file on a regular basis, run a FILEAGE check. if the process has some external interface like a TCP port, use one of the TCP checks to see that the process is still responding. TOny (AUthor of NC_Net) On Wed, Jul 16, 2008 at 12:11 PM, Jay R. Ashworth wrote: > On Wed, Jul 16, 2008 at 12:02:34PM -0400, Hart, Harry M. CTR USJFCOM > SUPPORT.SUPPORT JTC-I wrote: > > I should have said NsClient++ instead of NRPE. It is a windows box I'm > > trying to monitor. > > That would have cleared it up, yes. > > Windows *has* zombie processes? I wouldn't have thought its process > model really created such... > > 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. > -- (Josef Stalin) > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Thu Jul 17 01:19:01 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Wed, 16 Jul 2008 19:19:01 -0400 Subject: check_nt cmd works - fails from nagios config In-Reply-To: References: Message-ID: Since the command works from shell, Try putting the command line into a Shell script then call the shell script as your check command. Naturally you can pass in the Host address as a input parameter to the shell script If your windows plugin is NC_Net we would be able to look at what NC_NEt recieved (If anything) but the wrapper script should help in this situation. TOny (Author of NC_NEt) On Wed, Jul 16, 2008 at 2:12 PM, Alex Broad wrote: > If I run the following cmd from then everything is ok ( as show > > ./check_nt -H 192.168.1.100 -p 12489 -v FILEAGE -l > "d:\\data\\users\\logs\\`date +%Y`\\`date +%m`\\`date +%d`\\`date > +%Y%m%d.log`" > >0 years 0 mon 0 days 13 hours 57 min 22 sec > > However when I add this line in to my nagios check_command.cfg file the > results are > (null) > > Is this normal and if so how would you get around this so you can always > check a file with \\today_date\\today_date.log? > > Thanks in advance > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Thu Jul 17 05:26:48 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Wed, 16 Jul 2008 19:26:48 -0800 Subject: Compaq Printer monitoring Message-ID: <59106B7AEC4.00000269izz_abdullah@inbox.com> I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux / Unix flavors. I have setup to monitor a network printer via SNMP and I get the following result on printer status (PING is ok): Error in packet : Timeout from host 172.24.50.102 Below is the printer.cfg (without the PING definition since it works): define host{ use generic-printer host_name satyam_canon3380 alias Canon iRC3380 address 172.24.50.102 hostgroups network-printers } define hostgroup{ hostgroup_name network-printers alias Network Printers } define service{ use generic-service host_name satyam_canon3380 service_description Printer Status check_command check_hpjd!-C public normal_check_interval 10 retry_check_interval 1 } I would appreciate any enlightenment from the group. Thanks, Izz ____________________________________________________________ GET FREE 5GB EMAIL - Check out spam free email with many cool features! Visit http://www.inbox.com/email to find out more! ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Thu Jul 17 05:55:04 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 17 Jul 2008 13:55:04 +1000 Subject: Compaq Printer monitoring In-Reply-To: <59106B7AEC4.00000269izz_abdullah@inbox.com> References: <59106B7AEC4.00000269izz_abdullah@inbox.com> Message-ID: <487EC298.7090502@edcint.co.nz> If the community string, in your case "public", is incorrect, this is enough to generate a timeout. Additionally, if the printer does not even have SNMP capability, you will also get a timeout. You'll need to check the printer firmware config. Why have you titled this message "Compaq Printer Monitoring" and yet provided the config for a "Canon iRC3380"? Perhaps you are getting your printers mixed up? Izz Abdullah wrote: > I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux / Unix flavors. I have setup to monitor a network printer via SNMP and I get the following result on printer status (PING is ok): > > Error in packet : Timeout from host 172.24.50.102 > > Below is the printer.cfg (without the PING definition since it works): > > define host{ > use generic-printer > host_name satyam_canon3380 > alias Canon iRC3380 > address 172.24.50.102 > hostgroups network-printers > } > > define hostgroup{ > hostgroup_name network-printers > alias Network Printers > } > > define service{ > use generic-service > host_name satyam_canon3380 > service_description Printer Status > check_command check_hpjd!-C public > normal_check_interval 10 > retry_check_interval 1 > } > > I would appreciate any enlightenment from the group. > > Thanks, > Izz > > ____________________________________________________________ > GET FREE 5GB EMAIL - Check out spam free email with many cool features! > Visit http://www.inbox.com/email to find out more! > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Thu Jul 17 06:07:33 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Wed, 16 Jul 2008 20:07:33 -0800 Subject: Canon Printer monitoring In-Reply-To: <487EC298.7090502@edcint.co.nz> References: <59106b7aec4.00000269izz_abdullah@inbox.com> Message-ID: <596B7CF1620.000002CFizz_abdullah@inbox.com> SNMP is enabled, public is the community. I changed the title of this email (too many vendors I have to keep up with) :) Thanks, Izz > -----Original Message----- > From: nagiosusers at edcint.co.nz > Sent: Thu, 17 Jul 2008 13:55:04 +1000 > To: izz_abdullah at inbox.com > Subject: Re: [Nagios-users] Compaq Printer monitoring > > If the community string, in your case "public", is incorrect, this is > enough to generate a timeout. > Additionally, if the printer does not even have SNMP capability, you > will also get a timeout. > You'll need to check the printer firmware config. > > Why have you titled this message "Compaq Printer Monitoring" and yet > provided the config for a "Canon iRC3380"? Perhaps you are getting your > printers mixed up? > > Izz Abdullah wrote: >> I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux / >> Unix flavors. I have setup to monitor a network printer via SNMP and I >> get the following result on printer status (PING is ok): >> >> Error in packet : Timeout from host 172.24.50.102 >> >> Below is the printer.cfg (without the PING definition since it works): >> >> define host{ >> use generic-printer >> host_name satyam_canon3380 >> alias Canon iRC3380 >> address 172.24.50.102 >> hostgroups network-printers >> } >> >> define hostgroup{ >> hostgroup_name network-printers >> alias Network Printers >> } >> >> define service{ >> use generic-service >> host_name satyam_canon3380 >> service_description Printer Status >> check_command check_hpjd!-C public >> normal_check_interval 10 >> retry_check_interval 1 >> } >> >> I would appreciate any enlightenment from the group. >> >> Thanks, >> Izz >> >> ____________________________________________________________ >> GET FREE 5GB EMAIL - Check out spam free email with many cool features! >> Visit http://www.inbox.com/email to find out more! >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosusers at edcint.co.nz Thu Jul 17 06:17:38 2008 From: nagiosusers at edcint.co.nz (Matthew Jurgens) Date: Thu, 17 Jul 2008 14:17:38 +1000 Subject: Canon Printer monitoring In-Reply-To: <596B7CF1620.000002CFizz_abdullah@inbox.com> References: <59106b7aec4.00000269izz_abdullah@inbox.com> <596B7CF1620.000002CFizz_abdullah@inbox.com> Message-ID: <487EC7E2.9020709@edcint.co.nz> There appears to be nothing wrong with what you are doing so far. Can you send your command definition? Can you make it work from the command line? You might need to check your environment eg firewalls etc Izz Abdullah wrote: > SNMP is enabled, public is the community. I changed the title of this email (too many vendors I have to keep up with) :) > > Thanks, > Izz > > >> -----Original Message----- >> From: nagiosusers at edcint.co.nz >> Sent: Thu, 17 Jul 2008 13:55:04 +1000 >> To: izz_abdullah at inbox.com >> Subject: Re: [Nagios-users] Compaq Printer monitoring >> >> If the community string, in your case "public", is incorrect, this is >> enough to generate a timeout. >> Additionally, if the printer does not even have SNMP capability, you >> will also get a timeout. >> You'll need to check the printer firmware config. >> >> Why have you titled this message "Compaq Printer Monitoring" and yet >> provided the config for a "Canon iRC3380"? Perhaps you are getting your >> printers mixed up? >> >> Izz Abdullah wrote: >> >>> I am using Nagios 3.0.1 on RHEL 4 to monitor various Windows and linux / >>> Unix flavors. I have setup to monitor a network printer via SNMP and I >>> get the following result on printer status (PING is ok): >>> >>> Error in packet : Timeout from host 172.24.50.102 >>> >>> Below is the printer.cfg (without the PING definition since it works): >>> >>> define host{ >>> use generic-printer >>> host_name satyam_canon3380 >>> alias Canon iRC3380 >>> address 172.24.50.102 >>> hostgroups network-printers >>> } >>> >>> define hostgroup{ >>> hostgroup_name network-printers >>> alias Network Printers >>> } >>> >>> define service{ >>> use generic-service >>> host_name satyam_canon3380 >>> service_description Printer Status >>> check_command check_hpjd!-C public >>> normal_check_interval 10 >>> retry_check_interval 1 >>> } >>> >>> I would appreciate any enlightenment from the group. >>> >>> Thanks, >>> Izz >>> >>> ____________________________________________________________ >>> GET FREE 5GB EMAIL - Check out spam free email with many cool features! >>> Visit http://www.inbox.com/email to find out more! >>> >>> ------------------------------------------------------------------------- >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >>> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >>> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >>> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >>> reporting any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >>> >>> >>> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Thu Jul 17 06:41:57 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Wed, 16 Jul 2008 20:41:57 -0800 Subject: Canon Printer monitoring In-Reply-To: <487EC7E2.9020709@edcint.co.nz> References: <59106b7aec4.00000269izz_abdullah@inbox.com> <596b7cf1620.000002cfizz_abdullah@inbox.com> Message-ID: <59B86566706.0000031Fizz_abdullah@inbox.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 17 07:28:17 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 Jul 2008 07:28:17 +0200 Subject: Canon Printer monitoring In-Reply-To: <59B86566706.0000031Fizz_abdullah@inbox.com> References: <59106b7aec4.00000269izz_abdullah@inbox.com> <596b7cf1620.000002cfizz_abdullah@inbox.com> <59B86566706.0000031Fizz_abdullah@inbox.com> Message-ID: <487ED871.5020705@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Izz Abdullah wrote: | | Can not get to work from command line. Following is the command def: | | define command{ | command_name check_hpjd | command_line $USER1$/check_hpjd -H $HOSTADDRESS$ $ARG1$ | } AFAIK: check_hpjd is specifically tailored towards HP printers. What do you expect it to do with another brand of printers? And what command did you type on the commandline to test things? I do hope you did try that. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFIfthvBvzDRVjxmYERApQjAJ4xO0Ax1lURzKAB1SnYL0ueJMT8/gCgjAx3 eDJXBEv+ocbJHsP8jwhXIek= =fhGI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From izz_abdullah at inbox.com Thu Jul 17 07:33:10 2008 From: izz_abdullah at inbox.com (Izz Abdullah) Date: Wed, 16 Jul 2008 21:33:10 -0800 Subject: Canon Printer monitoring In-Reply-To: <487ED871.5020705@vanderkooij.org> References: <59b86566706.0000031fizz_abdullah@inbox.com> <59106b7aec4.00000269izz_abdullah@inbox.com> <596b7cf1620.000002cfizz_abdullah@inbox.com> Message-ID: <5A2ADC62770.00000369izz_abdullah@inbox.com> Yes, I just realized the hpjd command is just for HP printers. Ok, so after I realized, I was looking at the help for check_snmp, and this is the command from the command line I tried: ./check_snmp -H 172.24.50.102 -C public this returns: SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 172.24.50.102:161 (I don't know what I should be query for the -o ) Thanks again for all the help, Izz > -----Original Message----- > From: hvdkooij at vanderkooij.org > Sent: Thu, 17 Jul 2008 07:28:17 +0200 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Canon Printer monitoring > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Izz Abdullah wrote: > | > | Can not get to work from command line. Following is the command def: > | > | define command{ > | command_name check_hpjd > | command_line $USER1$/check_hpjd -H $HOSTADDRESS$ > $ARG1$ > | } > > AFAIK: check_hpjd is specifically tailored towards HP printers. What do > you expect it to do with another brand of printers? > > And what command did you type on the commandline to test things? I do > hope you did try that. > > Hugo. > > - -- > hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ > PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc > > A: Yes. > >Q: Are you sure? > >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top posting frowned upon? > > Bored? Click on http://spamornot.org/ and rate those images. > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.7 (GNU/Linux) > > iD8DBQFIfthvBvzDRVjxmYERApQjAJ4xO0Ax1lURzKAB1SnYL0ueJMT8/gCgjAx3 > eDJXBEv+ocbJHsP8jwhXIek= > =fhGI > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 17 08:06:32 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 Jul 2008 08:06:32 +0200 Subject: Canon Printer monitoring In-Reply-To: <5A2ADC62770.00000369izz_abdullah@inbox.com> References: <59b86566706.0000031fizz_abdullah@inbox.com> <59106b7aec4.00000269izz_abdullah@inbox.com> <596b7cf1620.000002cfizz_abdullah@inbox.com> <5A2ADC62770.00000369izz_abdullah@inbox.com> Message-ID: <487EE168.5000405@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Izz Abdullah wrote: | Yes, I just realized the hpjd command is just for HP printers. Ok, so after I realized, I was looking at the help for check_snmp, and this is the command from the command line I tried: | | ./check_snmp -H 172.24.50.102 -C public | this returns: | SNMP problem - No data received from host | CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 [authpriv] 172.24.50.102:161 | | (I don't know what I should be query for the -o ) Consult the SNMP documentation of your printer or cantact your printer supplier and ask them which SNMP variables are usefull. I am sure that information is close to the spot where it told you how to enable SNMP. Hugo. PS: I have no desire to continue a uberquote thread - -- 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) iD8DBQFIfuFmBvzDRVjxmYERAvy9AJ9KmbU4fIcOCmjnDd6nAYBi7tg+1gCfUvVy 62kKsHP1/9hEmz87YuPfwUw= =j/f2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Thu Jul 17 10:24:28 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Thu, 17 Jul 2008 08:24:28 +0000 (GMT) Subject: server monitoring Message-ID: <917941.19978.qm@web26108.mail.ukl.yahoo.com> hello all, Ihave one problem, i want to monitoring a server certificat but a server nagios dont have acces to this server. the server nagios hava acces to server ldap who hava acces to certificat server. how i can monitoring certificat server by ldap server without install something on ldap server like npre thanks, _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Thu Jul 17 10:29:21 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Thu, 17 Jul 2008 09:29:21 +0100 Subject: server monitoring In-Reply-To: <917941.19978.qm@web26108.mail.ukl.yahoo.com> References: <917941.19978.qm@web26108.mail.ukl.yahoo.com> Message-ID: <20080717092921.048cd62a@tclmmw.in.tiger-computing.com> On Thu, 17 Jul 2008 08:24:28 +0000 (GMT) Kermito le kermit wrote: > hello all, > > Ihave one problem, i want to monitoring a server certificat but a > server nagios dont have acces to this server. the server nagios > hava acces to server ldap who hava acces to certificat server. how i > can monitoring certificat server by ldap server without install > something on ldap server like npre > > > thanks, The first thing that springs to mind is using an SSH tunnel on the LDAP server although I've never tested this. You could run the following from the nagios server: ssh -C -L 56666:IP.Address.of.certificate-server:5666 -n ip.address.of.LDAP-Server and install NRPE on the certificate server You would then specify the check_nrpe commands to run against port 56666 on the Nagios server which would forward the data via the LDAP server to the Certificate server. As I say, I've not tested this, but in theory at least it should work. Kind regards, Matt -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Thu Jul 17 12:29:56 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 17 Jul 2008 10:29:56 +0000 Subject: service dependent on host status Message-ID: <200807171029.56096.assaf.flatto@ssp.uk.com> Hello I'm trying to implement hostgroup dependency on the router status . I am able to do the host/hostgroup dependency , but I am uncertain how to make sure that if a router is in the "danger" status , i want to disable the service notifications for all the hosts in the host group. I am not having any service run on the router - just the default check-host-alive , but when i try to do dependency on that service , nagios complains on that no services are assigned to the host "router" . anyone got an idea how to get such a set up to work ? adding a ping test to the router is redundant and there for not an option we want to implement . Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Thu Jul 17 13:40:21 2008 From: stanb at panix.com (stan) Date: Thu, 17 Jul 2008 07:40:21 -0400 Subject: Checking ssh access? Message-ID: <20080717114021.GA20710@teddy.fas.com> Is it possible to use Nagios to verify ssh avaiabilty to a given target machine? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu Jul 17 13:43:16 2008 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 17 Jul 2008 13:43:16 +0200 Subject: Checking ssh access? In-Reply-To: <20080717114021.GA20710@teddy.fas.com> References: <20080717114021.GA20710@teddy.fas.com> Message-ID: <1216294996.31742.47.camel@bofh.dtnet.de> Am Donnerstag, den 17.07.2008, 07:40 -0400 schrieb stan: > Is it possible to use Nagios to verify ssh avaiabilty to a given target > machine? try check_ssh ... -- ------------------------------------------------------------ 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Thu Jul 17 17:31:02 2008 From: vmanojv at rediffmail.com (Nair) Date: 17 Jul 2008 15:31:02 -0000 Subject: CPU Usage for Linux Message-ID: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com> Hi Friends, I would love to have thoughts on monitoring CPU for Linux.(without using check_load). Looking for some output like SAR output. Thank you, Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Thu Jul 17 17:41:55 2008 From: vmanojv at rediffmail.com (Nair) Date: 17 Jul 2008 15:41:55 -0000 Subject: CPU Usage for Linux Message-ID: <20080717154155.3849.qmail@f5mail-236-233.rediffmail.com> Thank you, Stephen. But, Looking for some non-snmp type solution, still I am not sure how to correlate check_load with current CPU usage. Regards Nair. On Thu, 17 Jul 2008 Valdinger,Stephen(DOV,MSX) wrote : >Checking the cpu with snmp via the check_snmp plugin springs to mind as >the first and most logical choice to avoiding check_load. > > > >Stephen Valdinger > >MIS Helpdesk Coordinator > >330.365.3622 -O > >740.491.0958 - C > >svalding at doverchem.com > > > > _____ > > From: Nair [mailto:vmanojv at rediffmail.com] >Sent: Thursday, July 17, 2008 11:31 AM >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] CPU Usage for Linux > > > >Hi Friends, > >I would love to have thoughts on monitoring CPU for Linux.(without using >check_load). > >Looking for some output like SAR output. > >Thank you, >Nair > > > >Rediff Shopping >ature-default.htm/1050715198 at Middle5/2206641_2199021/2201651/1?PARTNER=3 >&OAS_QUERY=null> > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Thu Jul 17 17:49:18 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Thu, 17 Jul 2008 17:49:18 +0200 Subject: CPU Usage for Linux In-Reply-To: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com> Message-ID: <3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> Why don't you like check_load? I wouldn't mind a CPU at 100% if no process is waiting to be run, would you? Cheers 17 Jul 2008 15:31:02 -0000, Nair : > > Hi Friends, > > I would love to have thoughts on monitoring CPU for Linux.(without using > check_load). > > Looking for some output like SAR output. > > Thank you, > Nair > > > [image: Rediff Shopping] > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu Jul 17 17:56:21 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 17 Jul 2008 11:56:21 -0400 Subject: CPU Usage for Linux In-Reply-To: <3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com> <3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> Message-ID: <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com> i wrote a very simple one using vmstat to check the idle percentage /usr/bin/vmstat 1 1 | egrep '[0-9]' |awk '{print $15}' On 7/17/08, Jose Luis Garcia wrote: > Why don't you like check_load? > > I wouldn't mind a CPU at 100% if no process is waiting to be run, would you? > > Cheers > > > 17 Jul 2008 15:31:02 -0000, Nair : >> >> Hi Friends, >> >> I would love to have thoughts on monitoring CPU for Linux.(without using >> check_load). >> >> Looking for some output like SAR output. >> >> Thank you, >> Nair >> >> >> [image: Rediff >> Shopping] >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Thu Jul 17 18:05:01 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Thu, 17 Jul 2008 09:05:01 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: <40D711E4618C0E469D95683E82AF777A02EB2CE1@volvo2.ems.securicor.com> References: <40D711E4618C0E469D95683E82AF777A02EB2CE1@volvo2.ems.securicor.com> Message-ID: To further test the send_mail.pl function, I tried running it directly from a command prompt and I get a "Permission Denied" error. Any idea why that would be. I am using root credentials and the user "Nagios" is the owner. ________________________________ From: Jonathan Williams Sent: Wednesday, July 16, 2008 1:47 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services We have an open SMTP relay setup (IIS) and that is what we use for other apps. As far as mail client, I am trying to use send_mail.pl plug-in found here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 and cannot get it to notify. The online documentation differs from the documentation in the actual send_mail.pl config file. My commands.cfg looks like this: define command{ command_name host-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" define command{ command_name service-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } The sample documentation uses $USER1$/send_mail.pl rather than the actual path. I am not sure what $USER1$ represents. I tried it both ways. My templates are also set up for services and hosts to allow for notification and reference these command_line entries. I am also not sure why an e-mail address is specified in the send_mail.pl file as well as the contacts.cfg. When looking at the service notification settings in the Nagios CGI it is correct. Is there anything I am missing? Jon ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, July 16, 2008 11:05 AM To: Jonathan Williams Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Here we use postfix as our mta pusing everything to our exchange server for sending out the mail. It's really very easy to set up, just make sure you have your contacts set up properly and that they have access to the cgi's as needed and configure your notification command to use whatever binary file your chosen mail client uses. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com ________________________________ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Wednesday, July 16, 2008 1:42 PM To: Paulo Ribas Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I have read that. Thank you. That is actually also in the Nagios PDF file as well. I remembered I did not restart Nagios after making a couple of changes so I did that and it finally works!! Thanks everyone for all you help with my questions. Now I need to get e-mail notifications up. I noticed there are a few options and plug-ins people are using. What are you guys having success with? Thanks again, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Wednesday, July 16, 2008 10:35 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- ----- "Jonathan Williams" wrote: > OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL -l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start ________________________________ From: Jonathan Williams > Sent: Wednesday, July 16, 2008 10:07 AM > To: Fernando Rocha > Cc: Nagios Users Mailinglist > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 2:11 PM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. > > NSClient++ uses NSC.ini > OpMonAgent uses opmonagent.ini > > But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. > > So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: > > /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start > > But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Cc: "Nagios Users Mailinglist" > Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 4:38 AM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > make sure that you have the xinetd installed and check if there is the following directory: > > [root at fernando ~]# ls /etc/xinetd.d/ > chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram > chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream > > if you don't have that, try to install by apt-get! > > and then, run the command again > > Make install-xinetd > > or you can install just writing a file like this: > [root at fernando ~]# cat /etc/xinetd.d/nrpe > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) > user = nagios (PUT THE NAGIOS USER HERE) > server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) > server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) > log_on_failure += USERID > disable = no > } > > and then restart xinetd! Fernando Rocha > OpServices Tecnologia da Informa??o > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Monday, July 14, 2008 11:49 AM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! > > try to use the option --disable-ssl when you run ./configure Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Paulo Ribas" > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 2:04 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s > -- > > ----- "Jonathan Williams" wrote: > > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:49 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > > -- > > > > > > ----- "Jonathan Williams" wrote: > > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > > Sent: Friday, July 11, 2008 1:42 PM > > > To: Jonathan Williams > > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3605 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at doverchem.com Thu Jul 17 18:02:34 2008 From: svalding at doverchem.com (Valdinger, Stephen (DOV, MSX)) Date: Thu, 17 Jul 2008 12:02:34 -0400 Subject: Help - I am unable to get the NSClient++ to restart services Message-ID: You just answered your own question.... Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com _____ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Thursday, July 17, 2008 12:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services To further test the send_mail.pl function, I tried running it directly from a command prompt and I get a "Permission Denied" error. Any idea why that would be. I am using root credentials and the user "Nagios" is the owner. _____ From: Jonathan Williams Sent: Wednesday, July 16, 2008 1:47 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services We have an open SMTP relay setup (IIS) and that is what we use for other apps. As far as mail client, I am trying to use send_mail.pl plug-in found here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 and cannot get it to notify. The online documentation differs from the documentation in the actual send_mail.pl config file. My commands.cfg looks like this: define command{ command_name host-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" define command{ command_name service-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } The sample documentation uses $USER1$/send_mail.pl rather than the actual path. I am not sure what $USER1$ represents. I tried it both ways. My templates are also set up for services and hosts to allow for notification and reference these command_line entries. I am also not sure why an e-mail address is specified in the send_mail.pl file as well as the contacts.cfg. When looking at the service notification settings in the Nagios CGI it is correct. Is there anything I am missing? Jon _____ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, July 16, 2008 11:05 AM To: Jonathan Williams Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Here we use postfix as our mta pusing everything to our exchange server for sending out the mail. It's really very easy to set up, just make sure you have your contacts set up properly and that they have access to the cgi's as needed and configure your notification command to use whatever binary file your chosen mail client uses. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com _____ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Wednesday, July 16, 2008 1:42 PM To: Paulo Ribas Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I have read that. Thank you. That is actually also in the Nagios PDF file as well. I remembered I did not restart Nagios after making a couple of changes so I did that and it finally works!! Thanks everyone for all you help with my questions. Now I need to get e-mail notifications up. I noticed there are a few options and plug-ins people are using. What are you guys having success with? Thanks again, Jon _____ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Wednesday, July 16, 2008 10:35 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- ----- "Jonathan Williams" wrote: > OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL -l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start _____ From: Jonathan Williams > Sent: Wednesday, July 16, 2008 10:07 AM > To: Fernando Rocha > Cc: Nagios Users Mailinglist > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. _____ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 2:11 PM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. > > NSClient++ uses NSC.ini > OpMonAgent uses opmonagent.ini > > But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. > > So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: > > /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start > > But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Cc: "Nagios Users Mailinglist" > Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. _____ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 4:38 AM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > make sure that you have the xinetd installed and check if there is the following directory: > > [root at fernando ~]# ls /etc/xinetd.d/ > chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram > chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream > > if you don't have that, try to install by apt-get! > > and then, run the command again > > Make install-xinetd > > or you can install just writing a file like this: > [root at fernando ~]# cat /etc/xinetd.d/nrpe > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) > user = nagios (PUT THE NAGIOS USER HERE) > server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) > server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) > log_on_failure += USERID > disable = no > } > > and then restart xinetd! Fernando Rocha > OpServices Tecnologia da Informa??o > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon _____ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Monday, July 14, 2008 11:49 AM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! > > try to use the option --disable-ssl when you run ./configure Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Paulo Ribas" > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. _____ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 2:04 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s > -- > > ----- "Jonathan Williams" wrote: > > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon _____ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:49 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > > -- > > > > > > ----- "Jonathan Williams" wrote: > > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. _____ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > > Sent: Friday, July 11, 2008 1:42 PM > > > To: Jonathan Williams > > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 3605 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 3605 bytes Desc: image003.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Thu Jul 17 18:06:37 2008 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Thu, 17 Jul 2008 12:06:37 -0400 Subject: CPU Usage for Linux In-Reply-To: <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com><3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com> Message-ID: <004901c8e827$18c32570$6501a8c0@EDI3MT> I just ran your command on one of my Linux servers and still get 100. So how is that suppose to help me; BTW, nothing is running on my server at this point :-) M ++++++++++++++++++++++++++++ Masoud Tabrizi email: masoud.tabrizi at gmail.com Please consider the environment before printing this email ++++++++++++++++++++++++++++ -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of kyle.odonnell at gmail.com Sent: Thursday, July 17, 2008 11:56 AM To: Jose Luis Garcia Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CPU Usage for Linux i wrote a very simple one using vmstat to check the idle percentage /usr/bin/vmstat 1 1 | egrep '[0-9]' |awk '{print $15}' On 7/17/08, Jose Luis Garcia wrote: > Why don't you like check_load? > > I wouldn't mind a CPU at 100% if no process is waiting to be run, would you? > > Cheers > > > 17 Jul 2008 15:31:02 -0000, Nair : >> >> Hi Friends, >> >> I would love to have thoughts on monitoring CPU for Linux.(without using >> check_load). >> >> Looking for some output like SAR output. >> >> Thank you, >> Nair >> >> >> [image: Rediff >> Shopping] >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at blue-labs.org Thu Jul 17 18:10:20 2008 From: david at blue-labs.org (David Ford) Date: Thu, 17 Jul 2008 12:10:20 -0400 Subject: CPU Usage for Linux In-Reply-To: <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com> <3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com> Message-ID: <487F6EEC.4060108@blue-labs.org> on a tangent; you don't need [e]grep: /usr/bin/vmstat 1 1 | awk '/[0-9]/ {print $15}' -david kyle.odonnell at gmail.com wrote: > i wrote a very simple one using vmstat to check the idle percentage > > /usr/bin/vmstat 1 1 | egrep '[0-9]' |awk '{print $15}' > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu Jul 17 18:20:23 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 17 Jul 2008 18:20:23 +0200 Subject: CPU Usage for Linux In-Reply-To: <004901c8e827$18c32570$6501a8c0@EDI3MT> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com><3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com> <004901c8e827$18c32570$6501a8c0@EDI3MT> Message-ID: <487F7147.7090103@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Masoud Tabrizi wrote: | I just ran your command on one of my Linux servers and still get 100. | So how is that suppose to help me; | BTW, nothing is running on my server at this point :-) Did you even bother to look at vmstat output to understand what column 15 means? Your system is 100% idle. Now you have to make a small shell script that will follow the nagios convention to use it as a plugin. 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) iD8DBQFIf3FFBvzDRVjxmYERAmjAAJwPTak4zLWcyeCO/MjYJUfv6kQF7gCfTga8 5xg+ku0A7fpu29yThajc62k= =VIDV -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From masoud.tabrizi at gmail.com Thu Jul 17 18:46:44 2008 From: masoud.tabrizi at gmail.com (Masoud Tabrizi) Date: Thu, 17 Jul 2008 12:46:44 -0400 Subject: CPU Usage for Linux In-Reply-To: <487F7147.7090103@vanderkooij.org> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com><3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com><004901c8e827$18c32570$6501a8c0@EDI3MT> <487F7147.7090103@vanderkooij.org> Message-ID: <006201c8e82c$b3664c10$6501a8c0@EDI3MT> You are correct. I should have looked first. My apologies M ++++++++++++++++++++++++++++ Masoud Tabrizi email: masoud.tabrizi at gmail.com Please consider the environment before printing this email ++++++++++++++++++++++++++++ -----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: Thursday, July 17, 2008 12:20 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] CPU Usage for Linux -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Masoud Tabrizi wrote: | I just ran your command on one of my Linux servers and still get 100. | So how is that suppose to help me; | BTW, nothing is running on my server at this point :-) Did you even bother to look at vmstat output to understand what column 15 means? Your system is 100% idle. Now you have to make a small shell script that will follow the nagios convention to use it as a plugin. 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) iD8DBQFIf3FFBvzDRVjxmYERAmjAAJwPTak4zLWcyeCO/MjYJUfv6kQF7gCfTga8 5xg+ku0A7fpu29yThajc62k= =VIDV -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Thu Jul 17 18:20:35 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Thu, 17 Jul 2008 09:20:35 -0700 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: References: Message-ID: Ha!! It does sound that way. I used the "chmod +X send_mail.pl" command to grant the execute permission, so I would have assumed it would work. When I run sudo /path.../send_mail.pl is get "command not found". ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Thursday, July 17, 2008 9:03 AM To: Jonathan Williams; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services You just answered your own question.... Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com ________________________________ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Thursday, July 17, 2008 12:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services To further test the send_mail.pl function, I tried running it directly from a command prompt and I get a "Permission Denied" error. Any idea why that would be. I am using root credentials and the user "Nagios" is the owner. ________________________________ From: Jonathan Williams Sent: Wednesday, July 16, 2008 1:47 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services We have an open SMTP relay setup (IIS) and that is what we use for other apps. As far as mail client, I am trying to use send_mail.pl plug-in found here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 and cannot get it to notify. The online documentation differs from the documentation in the actual send_mail.pl config file. My commands.cfg looks like this: define command{ command_name host-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" define command{ command_name service-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } The sample documentation uses $USER1$/send_mail.pl rather than the actual path. I am not sure what $USER1$ represents. I tried it both ways. My templates are also set up for services and hosts to allow for notification and reference these command_line entries. I am also not sure why an e-mail address is specified in the send_mail.pl file as well as the contacts.cfg. When looking at the service notification settings in the Nagios CGI it is correct. Is there anything I am missing? Jon ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, July 16, 2008 11:05 AM To: Jonathan Williams Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Here we use postfix as our mta pusing everything to our exchange server for sending out the mail. It's really very easy to set up, just make sure you have your contacts set up properly and that they have access to the cgi's as needed and configure your notification command to use whatever binary file your chosen mail client uses. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com ________________________________ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Wednesday, July 16, 2008 1:42 PM To: Paulo Ribas Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I have read that. Thank you. That is actually also in the Nagios PDF file as well. I remembered I did not restart Nagios after making a couple of changes so I did that and it finally works!! Thanks everyone for all you help with my questions. Now I need to get e-mail notifications up. I noticed there are a few options and plug-ins people are using. What are you guys having success with? Thanks again, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Wednesday, July 16, 2008 10:35 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- ----- "Jonathan Williams" wrote: > OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL -l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start ________________________________ From: Jonathan Williams > Sent: Wednesday, July 16, 2008 10:07 AM > To: Fernando Rocha > Cc: Nagios Users Mailinglist > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 2:11 PM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. > > NSClient++ uses NSC.ini > OpMonAgent uses opmonagent.ini > > But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. > > So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: > > /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start > > But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Cc: "Nagios Users Mailinglist" > Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 4:38 AM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > make sure that you have the xinetd installed and check if there is the following directory: > > [root at fernando ~]# ls /etc/xinetd.d/ > chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram > chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream > > if you don't have that, try to install by apt-get! > > and then, run the command again > > Make install-xinetd > > or you can install just writing a file like this: > [root at fernando ~]# cat /etc/xinetd.d/nrpe > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) > user = nagios (PUT THE NAGIOS USER HERE) > server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) > server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) > log_on_failure += USERID > disable = no > } > > and then restart xinetd! Fernando Rocha > OpServices Tecnologia da Informa??o > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Monday, July 14, 2008 11:49 AM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! > > try to use the option --disable-ssl when you run ./configure Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Paulo Ribas" > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 2:04 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s > -- > > ----- "Jonathan Williams" wrote: > > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:49 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > > -- > > > > > > ----- "Jonathan Williams" wrote: > > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > > Sent: Friday, July 11, 2008 1:42 PM > > > To: Jonathan Williams > > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3605 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Thu Jul 17 19:14:47 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Thu, 17 Jul 2008 10:14:47 -0700 Subject: Help - I am unable to get theNSClient++ to restart services In-Reply-To: References: Message-ID: OK... A little more info. I checked the Nagios.log and saw this error: Warning: Attempoting to execute the command "/usr/local/nagios/libexec/send_mail.pl - n "Service Problem" -h "jwilliamspc" -s "Critical"... (all the parameters are correct)... jonathan.williams at us.g4s.com resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists... The file send_mail.pl does exist in the /usr/local/Nagios/libexec folder. Not sure why I am getting that return code. Any thoughts? ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jonathan Williams Sent: Thursday, July 17, 2008 9:21 AM To: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ to restart services Ha!! It does sound that way. I used the "chmod +X send_mail.pl" command to grant the execute permission, so I would have assumed it would work. When I run sudo /path.../send_mail.pl is get "command not found". ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Thursday, July 17, 2008 9:03 AM To: Jonathan Williams; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services You just answered your own question.... Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com ________________________________ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Thursday, July 17, 2008 12:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services To further test the send_mail.pl function, I tried running it directly from a command prompt and I get a "Permission Denied" error. Any idea why that would be. I am using root credentials and the user "Nagios" is the owner. ________________________________ From: Jonathan Williams Sent: Wednesday, July 16, 2008 1:47 PM To: Valdinger, Stephen (DOV, MSX) Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services We have an open SMTP relay setup (IIS) and that is what we use for other apps. As far as mail client, I am trying to use send_mail.pl plug-in found here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2002.html;d=1 and cannot get it to notify. The online documentation differs from the documentation in the actual send_mail.pl config file. My commands.cfg looks like this: define command{ command_name host-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" define command{ command_name service-notify-by-email command_line /usr/local/Nagios/libexec/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } The sample documentation uses $USER1$/send_mail.pl rather than the actual path. I am not sure what $USER1$ represents. I tried it both ways. My templates are also set up for services and hosts to allow for notification and reference these command_line entries. I am also not sure why an e-mail address is specified in the send_mail.pl file as well as the contacts.cfg. When looking at the service notification settings in the Nagios CGI it is correct. Is there anything I am missing? Jon ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Wednesday, July 16, 2008 11:05 AM To: Jonathan Williams Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Here we use postfix as our mta pusing everything to our exchange server for sending out the mail. It's really very easy to set up, just make sure you have your contacts set up properly and that they have access to the cgi's as needed and configure your notification command to use whatever binary file your chosen mail client uses. Stephen Valdinger MIS Helpdesk Coordinator 330.365.3622 -O 740.491.0958 - C svalding at doverchem.com ________________________________ From: Jonathan Williams [mailto:jonathan.williams at us.g4s.com] Sent: Wednesday, July 16, 2008 1:42 PM To: Paulo Ribas Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I have read that. Thank you. That is actually also in the Nagios PDF file as well. I remembered I did not restart Nagios after making a couple of changes so I did that and it finally works!! Thanks everyone for all you help with my questions. Now I need to get e-mail notifications up. I noticed there are a few options and plug-ins people are using. What are you guys having success with? Thanks again, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] Sent: Wednesday, July 16, 2008 10:35 AM To: Jonathan Williams Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Try the following url http://nagios.sourceforge.net/docs/3_0/eventhandlers.html []'s -- ----- "Jonathan Williams" wrote: > OK.. I am getting somewhere now. I manually ran this command from the Nagios server terminal: /usr/local/nagios/libexec/check_nrpe -H 10.10.113.51 -p 5666 -n -c service_control -a "spooler" start And it worked!! Meaning the OpMonagent works! Now I jst need to find out why it will not work as an event_handler like so: Define service{ Use generic service Host_name jwilliamspc Service_description PrintSpooler Check_command check_nt!SERVICESTATE!-d SHOWALL -l Spooler Event_handler restart_Spooler } define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start ________________________________ From: Jonathan Williams > Sent: Wednesday, July 16, 2008 10:07 AM > To: Fernando Rocha > Cc: Nagios Users Mailinglist > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services OK. OpMon is running on the test server and my define_command for spooler restart reads exactly as you posted, still no service restart. I am still missing something. I am not sure if I need to edit anything in the OpMonagent.ini or service_control.cmd. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 2:11 PM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > The client installed on the host doesn't matter if both of them have support to nrpe. They will have a configuration file where you'll define the commands to run over check_nrpe. > > NSClient++ uses NSC.ini > OpMonAgent uses opmonagent.ini > > But to make it easy, the OpMonAgent has a command to restart services built-in his configuration file. > > So, if you have the OpMonAgent running on host, you just need run the following command from your nagios server: > > /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start > > But, if you are using NSClient++ you need define a command into the configuration file first, then you'll use this command in the check_nrpe. > > Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Cc: "Nagios Users Mailinglist" > Sent: Tuesday, July 15, 2008 4:57:07 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I feel like I am back at square one. It seems like a simple task to get Nagios to restart a service. I have NRPE now running on the server under xinedt, and switched the client back to NSClient++ from OpMon Agent. Both support NRPE. I am not sure if I am supposed to get a service restarted with a NRPE_Check command like: /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "spooler" start Or am is supposed to create scripts on the host that will restart a service like a .bat file with a "net start spooler" command and than get an event_handler set up to call that script. It seems there are different ways to do it and I am being pulled both directions. I am new to Nagios as well as Linux and have been able to scrap my way thus far while learning a lot about both, but am about ready to call it quits. I was pointed to the NakedNuns website to the section on CheckExternalScripts, but honestly could not make much sense of it. ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Tuesday, July 15, 2008 4:38 AM > To: Jonathan Williams > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Jonathan, > > make sure that you have the xinetd installed and check if there is the following directory: > > [root at fernando ~]# ls /etc/xinetd.d/ > chargen-dgram daytime-dgram discard-dgram echo-dgram eklogin gssftp krb5-telnet ktalk rsync time-dgram > chargen-stream daytime-stream discard-stream echo-stream ekrb5-telnet klogin kshell nrpe tcpmux-server time-stream > > if you don't have that, try to install by apt-get! > > and then, run the command again > > Make install-xinetd > > or you can install just writing a file like this: > [root at fernando ~]# cat /etc/xinetd.d/nrpe > service nrpe > { > flags = REUSE > socket_type = stream > wait = no > only_from = 127.0.0.1 (PUT YOURS NARIOS SERVER'S IPS HERE) > user = nagios (PUT THE NAGIOS USER HERE) > server = /usr/local/nagios/libexec/nrpe (THE NRPE SERVER) > server_args = -c /usr/local/nagios/libexec/nrpe.cfg --inetd (THE NRPE CONFIG FILE) > log_on_failure += USERID > disable = no > } > > and then restart xinetd! Fernando Rocha > OpServices Tecnologia da Informa??o > ----- Original Message ----- > From: "Jonathan Williams" > To: "Fernando Rocha" > Sent: Monday, July 14, 2008 7:07:57 PM (GMT-0300) Auto-Detected > Subject: RE: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I was able to compile that without ssl and was able to install the pugin's using the following Make install-plugin Make install-daemon Make install-daemon-config Those worked finer however the next step says: Install the NRPE daemon as a service under xinetd Make install-xinetd I run that command and get: root at nagiosserver:- /downloads/nrpe-2.8# cannot create regular file '/ect/xinetd.d/nrpe' No such file or directory make: *** [install-xinetd] Error 1 Any thoughts?? Thanks, Jon ________________________________ From: Fernando Rocha [mailto:fernando.rocha at opservices.com.br] > Sent: Monday, July 14, 2008 11:49 AM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Hi Jonathan! > > try to use the option --disable-ssl when you run ./configure Fernando Rocha > OpServices Tecnologia da Informa??o > > ----- Original Message ----- > From: "Jonathan Williams" > To: "Paulo Ribas" > Cc: nagios-users at lists.sourceforge.net > Sent: Monday, July 14, 2008 11:52:48 AM (GMT-0300) Auto-Detected > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services I am having a little trouble installing the NRPE 2.8 plug in Ubuntu. I am able to extract the source code tarball and than I am having issues after that. Per the instructions I am trying to compile the NRPE add-on by running ./configure make all After I type ./configure I get a message at the end of the compile job saying "configuration error: Cannot find ssl libraries. Than if I try to go further by installing the plugins by typing make all or the individual make install-pluggin I get an error saying ** No rule to make target 'all'. Stop. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > Sent: Friday, July 11, 2008 2:04 PM > To: Jonathan Williams > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services Ok, If you need, contact me. []'s > -- > > ----- "Jonathan Williams" wrote: > > I found the NRPE add-on (not plug-in) so I will download and install that. I'll let you know if I run into anything. You have been more than helpful. Thanks, Jon ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > Sent: Friday, July 11, 2008 1:49 PM > > To: Jonathan Williams > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services check_nrpe is part of the package nrpe, if you use ubuntu, I believe that only an "apt-get install nrpe" solve your problem. []'s > > -- > > > > > > ----- "Jonathan Williams" wrote: > > > OK.. I do not have check_nrpe so apparently I need to download that plug-in on by Ubuntu box. ________________________________ From: Paulo Ribas [mailto:paulo.ribas at opservices.com.br] > > > Sent: Friday, July 11, 2008 1:42 PM > > > To: Jonathan Williams > > > Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++ to restart services The commando must be: > > > > > > define command{ command_name restart-Spooler command_line PATH/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } > > > > > > ex: define command{ command_name restart-Spooler command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -n -c service_control -a "Spooler" start } risk being sent to /dev/null > ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3605 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Thu Jul 17 19:27:41 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 17 Jul 2008 12:27:41 -0500 Subject: service dependent on host status In-Reply-To: <200807171029.56096.assaf.flatto@ssp.uk.com> References: <200807171029.56096.assaf.flatto@ssp.uk.com> Message-ID: <19AE40AF-EAFC-4C0E-A8D1-4CE4CDCB62EF@nagios.org> Hi Assaf, It is complaining because there are no services associated with the host. Host dependencies work for hosts while service dependancies work only with services. http://nagios.sourceforge.net/docs/3_0/dependencies.html The reason for setting up hosts with check-host-alive (ping) as well as a PING service is because Nagios treats host and services differently. I would recommend checking out the doc "host checks" and "service checks" which explain the difference between them. A solution, even if you did not like the redundant ping checks, would be to have the host checked with check-host-alive but not include a check interval for the host. Then setup a ping service for that host with a check interval that you would like it checked at. The host check check-host-alive would be run at startup or when the service has a problem. Besides the docs, Marc Powell had a good post earlier this year which I am going to reference again. :-) http://article.gmane.org/gmane.network.nagios.user/52470 good luck. Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com On Jul 17, 2008, at 5:29 AM, Assaf Flatto wrote: > Hello > > I'm trying to implement hostgroup dependency on the router status . > I am able to do the host/hostgroup dependency , but I am uncertain > how to make sure that if a > router is in the "danger" status , i want to disable the service > notifications for all the hosts in > the host group. > > I am not having any service run on the router - just the default > check-host-alive , but when i try > to do dependency on that service , nagios complains on that no > services are assigned to the > host "router" . > > anyone got an idea how to get such a set up to work ? > > adding a ping test to the router is redundant and there for not an > option we want to implement . > > Assaf > > > > > > IMPORTANT . this email and the information in it may be > confidential, legally > privileged and/or protected by law. It is intended solely for the > use of the > person to whom it is addressed. If you are not the intended > recipient, please > notify the sender immediately and do not disclose the contents to > any other > person, use it for any purpose, or store or copy the information in > any medium. > Please also delete all copies of this email and any attachments from > your > system. > > We cannot guarantee the security or confidentiality of email > communications. We > do not accept any liability for losses or damages that you may > suffer as a > result of your receipt of this email including but not limited to > computer > service or system failure, access delays or interruption, data non- > delivery or > mis-delivery, computer viruses or other harmful components. > > Copyright in this email and any attachments belong to Select Service > Partner UK > Limited. Should you communicate with anyone at Select Service > Partner UK Limited by > email, you consent to us monitoring and reading any such > correspondence. > > Nothing in this email shall be taken or read as suggesting, > proposing or > relating to any agreement concerted practice or other practice that > could > infringe UK or EC competition legislation. > > Select Service Partner UK Limited is a company registered in England > and Wales > (company number 05687183) whose registered office is at 1 The > Heights, Brooklands, Weybridge. Surrey. KT13 0NY > > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win > great prizes > Grand prize is a trip for two to an Open Source event anywhere in > the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu Jul 17 19:28:05 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 17 Jul 2008 12:28:05 -0500 Subject: Permission denied using du command Message-ID: I have nrpe running a Linux server, when I execute a command like check_mem using nrpe and it works but, when I use the command check_dirsize11.sh I get "Error: Permission denied /usr/bin/du". Can anyone shed some light on this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scott.hebert at gmail.com Thu Jul 17 20:48:25 2008 From: scott.hebert at gmail.com (Scott Hebert) Date: Thu, 17 Jul 2008 13:48:25 -0500 Subject: Permission denied using du command In-Reply-To: References: Message-ID: On Thu, Jul 17, 2008 at 12:28 PM, Edwin Zoeller wrote: > I have nrpe running a Linux server, when I execute a command like check_mem > using nrpe and it works but, when I use the command check_dirsize11.sh I get > "Error: Permission denied /usr/bin/du". Can anyone shed some light on this? I don't believe check_mem uses du, so the issues are probably unrelated. What are the permissions set to on /usr/bin/du? -- Scott Hebert http://slaptijack.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From palleje at gmail.com Thu Jul 17 20:49:42 2008 From: palleje at gmail.com (Palle L Jensen) Date: Thu, 17 Jul 2008 14:49:42 -0400 Subject: EventDB addon In-Reply-To: References: Message-ID: About a week ago netways announce the new Nagios forge and Nagios wiki websites. I found an addon (EventDB) on the Nagioswiki that I would like to try. Following the instructions on http://www.nagioswiki.org/wiki/Addon:EventDb I was not able to get anywhere due to there seemed to be missing files (syslog-ng2mysql.pl and the init script) in the package/archive. Has anyone done this setup? I may be in the wrong user list, if so can anyone lead me in the right directions? Thanks, Palle ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 17 20:49:50 2008 From: marc at ena.com (Marc Powell) Date: Thu, 17 Jul 2008 13:49:50 -0500 Subject: Permission denied using du command In-Reply-To: References: Message-ID: <079E2478-1B16-40AD-A9CD-DD2B880AB89E@ena.com> On Jul 17, 2008, at 12:28 PM, Edwin Zoeller wrote: > I have nrpe running a Linux server, when I execute a command like > check_mem using nrpe and it works but, when I use the command > check_dirsize11.sh I get "Error: Permission denied /usr/bin/du". Can > anyone shed some light on this? The user that NRPE is running as on the remote machine does not have permissions to run the command /usr/bin/du. This is very unusual and the most likely reason is that you have changed the permissions on / usr/bin/du from it's default of 755. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Edwin.Zoeller at ama-assn.org Thu Jul 17 20:52:44 2008 From: Edwin.Zoeller at ama-assn.org (Edwin Zoeller) Date: Thu, 17 Jul 2008 13:52:44 -0500 Subject: Permission denied using du command In-Reply-To: References: Message-ID: 755 -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Scott Hebert Sent: Thursday, July 17, 2008 1:48 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Permission denied using du command On Thu, Jul 17, 2008 at 12:28 PM, Edwin Zoeller wrote: > I have nrpe running a Linux server, when I execute a command like > check_mem using nrpe and it works but, when I use the command > check_dirsize11.sh I get > "Error: Permission denied /usr/bin/du". Can anyone shed some light on this? I don't believe check_mem uses du, so the issues are probably unrelated. What are the permissions set to on /usr/bin/du? -- Scott Hebert http://slaptijack.com ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 17 20:58:50 2008 From: marc at ena.com (Marc Powell) Date: Thu, 17 Jul 2008 13:58:50 -0500 Subject: Help - I am unable to get the NSClient++ to restart services In-Reply-To: References: <40D711E4618C0E469D95683E82AF777A02EB2CE1@volvo2.ems.securicor.com> Message-ID: <6B9BE81E-9BCF-4650-B5F7-7950F541F1A3@ena.com> On Jul 17, 2008, at 11:05 AM, Jonathan Williams wrote: > To further test the send_mail.pl function, I tried running it > directly from a command prompt and I get a ?Permission Denied? > error. Any idea why that would be. I am using root credentials and > the user ?Nagios? is the owner. > Is there more? A line number or command referenced along with the error? If so, look at that line number in the script and see what it's trying to do. It's usually not difficult to determine what and why if you take a look. An educated guess, assuming you really mean to say that you're testing the script as the nagios user (as you should), is that the nagios user does not have permissions to execute /usr/sbin/ sendmail. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 17 21:00:38 2008 From: marc at ena.com (Marc Powell) Date: Thu, 17 Jul 2008 14:00:38 -0500 Subject: Permission denied using du command In-Reply-To: References: Message-ID: <806D2276-D618-49B7-9D5F-72899E3F78CE@ena.com> On Jul 17, 2008, at 1:52 PM, Edwin Zoeller wrote: > 755 Yeah, top-posting sucks. You shouldn't be having permission denied errors then unless - - you have SELinux enabled and it's blocking you or - the directory you are trying to obtain permissions on isn't readable by the nagios user. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Thu Jul 17 21:06:16 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Thu, 17 Jul 2008 12:06:16 -0700 Subject: Help - I am unable to get the NSClient++to restart services In-Reply-To: <6B9BE81E-9BCF-4650-B5F7-7950F541F1A3@ena.com> References: <40D711E4618C0E469D95683E82AF777A02EB2CE1@volvo2.ems.securicor.com> <6B9BE81E-9BCF-4650-B5F7-7950F541F1A3@ena.com> Message-ID: That is my guess as well, but the user Nagios is the owner of the file. Also in my last email I did find and include this text from the Nagios.log file: Warning: Attempting to execute the command "/usr/local/nagios/libexec/send_mail.pl - n "Service Problem" -h "jwilliamspc" -s "Critical"... (all the parameters are correct)... jonathan.williams at us.g4s.com resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists... I did some searching on error code 126 and the issue was permission, but if Nagios is the owner how could that be? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, July 17, 2008 11:59 AM To: nagios Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get the NSClient++to restart services On Jul 17, 2008, at 11:05 AM, Jonathan Williams wrote: > To further test the send_mail.pl function, I tried running it > directly from a command prompt and I get a "Permission Denied" > error. Any idea why that would be. I am using root credentials and > the user "Nagios" is the owner. > Is there more? A line number or command referenced along with the error? If so, look at that line number in the script and see what it's trying to do. It's usually not difficult to determine what and why if you take a look. An educated guess, assuming you really mean to say that you're testing the script as the nagios user (as you should), is that the nagios user does not have permissions to execute /usr/sbin/ sendmail. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 17 21:24:24 2008 From: marc at ena.com (Marc Powell) Date: Thu, 17 Jul 2008 14:24:24 -0500 Subject: Help - I am unable to get the NSClient++to restart services In-Reply-To: References: <40D711E4618C0E469D95683E82AF777A02EB2CE1@volvo2.ems.securicor.com> <6B9BE81E-9BCF-4650-B5F7-7950F541F1A3@ena.com> Message-ID: <6058928B-1C34-400C-BC2B-875A1B4980FC@ena.com> On Jul 17, 2008, at 2:06 PM, Jonathan Williams wrote: > That is my guess as well, but the user Nagios is the owner of the > file. Ownership doesn't matter at all except in very special circumstances (suid bit is set). > \ > Warning: Attempting to execute the command > "/usr/local/nagios/libexec/send_mail.pl - n "Service Problem" -h > "jwilliamspc" -s "Critical"... (all the parameters are correct)... > jonathan.williams at us.g4s.com resulted in a return code of 126. Make > sure the script or binary you are trying to execute actually exists... > > I did some searching on error code 126 and the issue was permission, > but > if Nagios is the owner how could that be? 126 means that the program you are trying to execute doesn't exist. Looking at the script, send_mail.pl is just a fancy wrapper for /usr/ sbin/sendmail. It also calls /usr/bin/printf, uuencode (no specific path referenced), and the date command (again, no path referenced). All of those programs must exist in the paths specified or your should change the paths in the script. send_mail.pl must also exist in /usr/ local/nagios/libexec. I would also modify the script to explicitly include the path to uuencode and date. When nagios executes the script, most of the $ENVIRONMENT variables don't exist or are different than when executed manually, including $PATH. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 18 06:54:12 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Thu, 17 Jul 2008 21:54:12 -0700 Subject: Help - I am unable to get theNSClient++to restart services In-Reply-To: <6058928B-1C34-400C-BC2B-875A1B4980FC@ena.com> References: <40D711E4618C0E469D95683E82AF777A02EB2CE1@volvo2.ems.securicor.com><6B9BE81E-9BCF-4650-B5F7-7950F541F1A3@ena.com> <6058928B-1C34-400C-BC2B-875A1B4980FC@ena.com> Message-ID: I verified that sendmail as well as printf and they are both there and located at the specified paths mentioned. I was looking through the send_mail.pl script and could not find where these two apps are called as well as uuencode and the date command. I had assumed that send_mail.pl was a replacement for sendmail and printf by reading the documentation. By reading the script I don't see anything to edit. Thanks again for all your input. Jon -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, July 17, 2008 12:24 PM To: nagios Mailinglist Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++to restart services On Jul 17, 2008, at 2:06 PM, Jonathan Williams wrote: > That is my guess as well, but the user Nagios is the owner of the > file. Ownership doesn't matter at all except in very special circumstances (suid bit is set). > \ > Warning: Attempting to execute the command > "/usr/local/nagios/libexec/send_mail.pl - n "Service Problem" -h > "jwilliamspc" -s "Critical"... (all the parameters are correct)... > jonathan.williams at us.g4s.com resulted in a return code of 126. Make > sure the script or binary you are trying to execute actually exists... > > I did some searching on error code 126 and the issue was permission, > but > if Nagios is the owner how could that be? 126 means that the program you are trying to execute doesn't exist. Looking at the script, send_mail.pl is just a fancy wrapper for /usr/ sbin/sendmail. It also calls /usr/bin/printf, uuencode (no specific path referenced), and the date command (again, no path referenced). All of those programs must exist in the paths specified or your should change the paths in the script. send_mail.pl must also exist in /usr/ local/nagios/libexec. I would also modify the script to explicitly include the path to uuencode and date. When nagios executes the script, most of the $ENVIRONMENT variables don't exist or are different than when executed manually, including $PATH. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 18 09:29:39 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jul 2008 09:29:39 +0200 Subject: Zombie processes In-Reply-To: <20080716161113.GQ2433@cgi.jachomes.com> References: <20080716145601.GF2433@cgi.jachomes.com> <20080716161113.GQ2433@cgi.jachomes.com> Message-ID: <48804663.6090704@op5.se> Jay R. Ashworth wrote: > On Wed, Jul 16, 2008 at 12:02:34PM -0400, Hart, Harry M. CTR USJFCOM SUPPORT.SUPPORT JTC-I wrote: >> I should have said NsClient++ instead of NRPE. It is a windows box I'm >> trying to monitor. > > That would have cleared it up, yes. > > Windows *has* zombie processes? I wouldn't have thought its process > model really created such... > It doesn't. A zombie is, under Unix, a process that is waiting for its parent to collect its exit status. Windows has no concept of a process tree or process parentage at all. A child process under windows is what we under Unix would call a thread in a program, requiring a lot of library support to make it work. Such a model cannot have zombies in the usual sense. What you could check is if some process has been stuck in uninterruptable IO for a long time. I have no idea how, but I read some article somewhere about how one can parse the io-wait time of a process (though I'm not sure it's the total time for the entire lifetime of the process or just the current wait-time). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 18 09:33:17 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jul 2008 09:33:17 +0200 Subject: CPU Usage for Linux In-Reply-To: <004901c8e827$18c32570$6501a8c0@EDI3MT> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com><3a69bc5a0807170849y1751a172w5d31ff563c38a2f@mail.gmail.com> <2274b9c30807170856i1fd1e1f6w8f34abc49466bc98@mail.gmail.com> <004901c8e827$18c32570$6501a8c0@EDI3MT> Message-ID: <4880473D.7020406@op5.se> .toppost don't Please .to responding are you what read to harder it makes so Doing Masoud Tabrizi wrote: > I just ran your command on one of my Linux servers and still get 100. > So how is that suppose to help me; > BTW, nothing is running on my server at this point :-) Well, idle percentage should be 100% then, shouldn't it? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 18 09:37:32 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jul 2008 09:37:32 +0200 Subject: Help - I am unable to get theNSClient++ to restart services In-Reply-To: References: Message-ID: <4880483C.40203@op5.se> Jonathan Williams wrote: > OK... A little more info. I checked the Nagios.log and saw this > error: > > > > Warning: Attempoting to execute the command > "/usr/local/nagios/libexec/send_mail.pl - n "Service Problem" -h > "jwilliamspc" -s "Critical"... (all the parameters are correct)... > jonathan.williams at us.g4s.com resulted in a return code of 126. Make > sure the script or binary you are trying to execute actually > exists... > > > > The file send_mail.pl does exist in the /usr/local/Nagios/libexec > folder. Not sure why I am getting that return code. > > > > Any thoughts? > sed 1q /usr/local/nagios/libexec/send_mail.pl should give you output similar to the one below: #!/usr/bin/perl If it doesn't, you've found your error. Also make sure you have no stray quotes anywhere in the command definition. If you're trying to execute "sendmail.pl -n" it tries to find a file named "sendmail.pl -n" instead of trying to find one named "sendmail.pl" and passing it "-n" as the first argument. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.streb at netways.de Fri Jul 18 09:41:44 2008 From: michael.streb at netways.de (Michael Streb) Date: Fri, 18 Jul 2008 09:41:44 +0200 Subject: EventDB addon In-Reply-To: References: Message-ID: Hello, The files are now downloadable on NagiosForge.org, there was an misstake on our side. Regards, Michael Am 17.07.08 20:49 schrieb "Palle L Jensen" unter : > About a week ago netways announce the new Nagios forge and Nagios wiki > websites. I found an addon (EventDB) on the Nagioswiki that I would like to > try. Following the instructions on > http://www.nagioswiki.org/wiki/Addon:EventDb > > I was not able to get anywhere due to there seemed to be missing files > (syslog-ng2mysql.pl and the init script) in the package/archive. Has anyone > done this setup? I may be in the wrong user list, if so can anyone lead me > in the right directions? > > Thanks, > Palle > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Michael Streb Managing 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 ** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aschmalowsky at df.eu Fri Jul 18 10:06:53 2008 From: aschmalowsky at df.eu (Axel Schmalowsky) Date: Fri, 18 Jul 2008 10:06:53 +0200 Subject: Nagios caught SIGSEGV Message-ID: <5BE20AC47BF1D0478328809F00892ACF55590F29FA@ECCR01PUBLIC.exchange.local> Hello list, I guess this might be a silly question, but .. what circumstances have to be installed for nagios to segfault? actually, nagios is running fine most of the time. but sometimes, nagios dies for some unknown reason (to me) when it's being reloaded automatically (because of an automated config change). Is this a known issue or just some strange behavior? any help/ideas would be appreciated. Kind regards Axel Schmalowsky Platform Engineer ___________________________________ domainfactory GmbH Oskar-Messter-Str. 33 85737 Ismaning Germany Telefon: +49 (0)89 / 55266-356 Telefax: +49 (0)89 / 55266-222 E-Mail: aschmalowsky at df.eu Internet: www.df.eu Registergericht: Amtsgericht M?nchen HRB 150294, Gesch?ftsf?hrer Tobias Marburg, Jochen Tuchbreiter ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bigedd at gmail.com Fri Jul 18 11:18:58 2008 From: bigedd at gmail.com (Eddie) Date: Fri, 18 Jul 2008 19:18:58 +1000 Subject: Custom Variable not working. Message-ID: <12b44e560807180218k592c0a6br764f2fbbf6b911f2@mail.gmail.com> Hi all, I'd like to have a custom variable in my contact definitions for the contacts timezone. Nagios docs say that it must begin with an underscore, so I've named it... _timezone According to the docs I should now be able to reference it when calling my email script using... $_CONTACTTIMEZONE$ but this just gives me a dollar ($) character. I've also tried these... $CONTACTTIMEZONE$ $_CONTACT_TIMEZONE$ $NAGIOS__CONTACTTIMEZONE$ but they all gave me that same result. What could I be doing wring? Thanks, Eddie. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Fri Jul 18 12:20:40 2008 From: vmanojv at rediffmail.com (Nair) Date: 18 Jul 2008 10:20:40 -0000 Subject: CPU Usage for Linux Message-ID: <20080718102040.20879.qmail@f5mail-237-201.rediffmail.com> But, I think having CPU usage trend will help us to know whether we need to upgrade the CPU proactively. On Thu, 17 Jul 2008 Jose Luis Garcia wrote : >Why don't you like check_load? > >I wouldn't mind a CPU at 100% if no process is waiting to be run, would you? > >Cheers > > >17 Jul 2008 15:31:02 -0000, Nair : > > > > Hi Friends, > > > > I would love to have thoughts on monitoring CPU for Linux.(without using > > check_load). > > > > Looking for some output like SAR output. > > > > Thank you, > > Nair > > > > > > [image: Rediff Shopping] > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Fri Jul 18 12:39:15 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 18 Jul 2008 12:39:15 +0200 Subject: Antwort: CPU Usage for Linux In-Reply-To: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com> References: <20080717153102.56318.qmail@f5mail-236-217.rediffmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 17.07.2008 17:31:02: > I would love to have thoughts on monitoring CPU for Linux.(without > using check_load). > > Looking for some output like SAR output. I wrote a plugin for parsing mpstat output: (root at essorasir01) /root (1)>/usr/lib/nagios/plugins/check_mpstat.pl Total: 29.78% User: 12.67% System: 5.59% I/O: 11.52% | usr=12.67%;80;90; sys=5.59%;80;90; io=11.52%;80;90; Sadly it's not really rocksolid yet, as I wrote it when the need came up to closely monitor an Oracle server and therefor it's fitted for that machine. I am unsure if it will work on any other platform but RHEL4 x86. I hope I'll get the time sometime soon to get it straight... S PS: That's more a question for the nagiosplug-help list though I think ;) -- 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bigedd at gmail.com Fri Jul 18 13:21:01 2008 From: bigedd at gmail.com (Eddie) Date: Fri, 18 Jul 2008 21:21:01 +1000 Subject: Custom Variable not working. In-Reply-To: <12b44e560807180218k592c0a6br764f2fbbf6b911f2@mail.gmail.com> References: <12b44e560807180218k592c0a6br764f2fbbf6b911f2@mail.gmail.com> Message-ID: <12b44e560807180421pef47359s95b70431afa662b9@mail.gmail.com> Looks like it just took some time to take effect... It seems to be working fine now. On Fri, Jul 18, 2008 at 7:18 PM, Eddie wrote: > Hi all, > > I'd like to have a custom variable in my contact definitions for the > contacts timezone. > Nagios docs say that it must begin with an underscore, so I've named it... > _timezone > According to the docs I should now be able to reference it when > calling my email script using... > $_CONTACTTIMEZONE$ > but this just gives me a dollar ($) character. > > I've also tried these... > $CONTACTTIMEZONE$ > $_CONTACT_TIMEZONE$ > $NAGIOS__CONTACTTIMEZONE$ > but they all gave me that same result. > > What could I be doing wring? > > Thanks, > Eddie. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Fri Jul 18 13:21:14 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Fri, 18 Jul 2008 13:21:14 +0200 Subject: CPU Usage for Linux In-Reply-To: <20080718102040.20879.qmail@f5mail-237-201.rediffmail.com> References: <20080718102040.20879.qmail@f5mail-237-201.rediffmail.com> Message-ID: <3a69bc5a0807180421l192b991dua9f4ef9ac95893ff@mail.gmail.com> Hello, I prefere to use load, but it's your decission Cheers 18 Jul 2008 10:20:40 -0000, Nair : > > But, I think having CPU usage trend will help us to know whether we need to > upgrade the CPU proactively. > > > On Thu, 17 Jul 2008 Jose Luis Garcia wrote : > >Why don't you like check_load? > > > >I wouldn't mind a CPU at 100% if no process is waiting to be run, would > you? > > > >Cheers > > > > > >17 Jul 2008 15:31:02 -0000, Nair : > > > > > > Hi Friends, > > > > > > I would love to have thoughts on monitoring CPU for Linux.(without > using > > > check_load). > > > > > > Looking for some output like SAR output. > > > > > > Thank you, > > > Nair > > > > > > > > > [image: Rediff Shopping]< > http://adworks.rediff.com/cgi-bin/AdWorks/click.cgi/www.rediff.com/signature-default.htm/1050715198 at Middle5/2206641_2199021/2201651/1?PARTNER=3&OAS_QUERY=null > > > > > > ------------------------------------------------------------------------- > > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > > challenge > > > Build the coolest Linux based applications with Moblin SDK & win great > > > prizes > > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > [image: Rediff Shopping] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Fri Jul 18 13:25:39 2008 From: stanb at panix.com (stan) Date: Fri, 18 Jul 2008 07:25:39 -0400 Subject: Difference betwen down and unreachable Message-ID: <20080718112539.GB21195@teddy.fas.com> I had a machine that was restored from an old backup tape, and did not have it's external facing NIC configured for a few days last week. Nagios reported it as down, rather than unreachable. How is this determined? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Fri Jul 18 13:33:08 2008 From: stanb at panix.com (stan) Date: Fri, 18 Jul 2008 07:33:08 -0400 Subject: CPU Usage for Linux In-Reply-To: <20080718102040.20879.qmail@f5mail-237-201.rediffmail.com> References: <20080718102040.20879.qmail@f5mail-237-201.rediffmail.com> Message-ID: <20080718113308.GF21195@teddy.fas.com> On Fri, Jul 18, 2008 at 10:20:40AM -0000, Nair wrote: > But, I think having CPU usage trend will help us to know whether we need to upgrade the CPU proactively. > Personally, I would use a tool like Cricket or Cacti for this, rather than Nagios. I think the combination of one of these tools, _AND_ Nagios makes for an excellent system monitoring environment. I use Nagios for instant status checks, and some history of up./down hosts/services, and use Cricket, or Cacti for the long term trending of things like system load, memory usage, disk usage etc. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Fri Jul 18 13:46:40 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 18 Jul 2008 13:46:40 +0200 Subject: Antwort: Re: CPU Usage for Linux In-Reply-To: <20080718113308.GF21195@teddy.fas.com> References: <20080718113308.GF21195@teddy.fas.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 18.07.2008 13:33:08: > Personally, I would use a tool like Cricket or Cacti for this, rather than > Nagios. I think the combination of one of these tools, _AND_ Nagios makes > for an excellent system monitoring environment. I use Nagios for instant > status checks, and some history of up./down hosts/services, and use > Cricket, or Cacti for the long term trending of things like system load, > memory usage, disk usage etc. Actually that's unnecessary double work. You can easily use Nagios for trending and graphing, without much extra work. Using the outputs of the Nagios checks, you can add PNP or NagiosGrapher or whatever to graph those things. Why put up the extra workload to have a second environment to administrate, when you can have it all in one? 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Fri Jul 18 13:51:08 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Fri, 18 Jul 2008 13:51:08 +0200 Subject: Antwort: Difference betwen down and unreachable In-Reply-To: <20080718112539.GB21195@teddy.fas.com> References: <20080718112539.GB21195@teddy.fas.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 18.07.2008 13:25:39: > I had a machine that was restored from an old backup tape, and did not have > it's external facing NIC configured for a few days last week. Nagios > reported it as down, rather than unreachable. How is this determined? Please take a look at the documentation when you got the time... http://nagios.sourceforge.net/docs/3_0/networkreachability.html Regards Sascha -- 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 18 15:17:16 2008 From: marc at ena.com (Marc Powell) Date: Fri, 18 Jul 2008 08:17:16 -0500 Subject: Antwort: Re: CPU Usage for Linux In-Reply-To: References: Message-ID: <3A739ACE-F9EE-4187-B105-BD61D51CF8D4@ena.com> On Jul 18, 2008, at 6:46 AM, Sascha.Runschke at gfkl.com wrote: > for trending and graphing, without much extra work. Using the outputs > of the Nagios checks, you can add PNP or NagiosGrapher or whatever > to graph those things. Why put up the extra workload to have a second > environment to administrate, when you can have it all in one? Neither of these tools are a realistic replacement for Cacti or Cricket. There are a number of reasons why, including the one you mention above; you have to create a nagios check for the data point you want to graph. There may be 50 things about a host I want to trend, but only a few I care to alert on. We currently have 4776 devices in Cricket that result in 68,744 graphs being (easily) created. Let's see that done with PNP/NagiosGrapher. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 18 16:07:00 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 18 Jul 2008 07:07:00 -0700 Subject: Help - I am unable to get theNSClient++ to restart services In-Reply-To: <4880483C.40203@op5.se> References: <4880483C.40203@op5.se> Message-ID: I did (at least similar). I ran it and it returned: /usr/local/bin/pearl -w There are no quotes as previously mentioned. Jon -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Friday, July 18, 2008 12:38 AM To: Jonathan Williams Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ to restart services Jonathan Williams wrote: > OK... A little more info. I checked the Nagios.log and saw this > error: > > > > Warning: Attempoting to execute the command > "/usr/local/nagios/libexec/send_mail.pl - n "Service Problem" -h > "jwilliamspc" -s "Critical"... (all the parameters are correct)... > jonathan.williams at us.g4s.com resulted in a return code of 126. Make > sure the script or binary you are trying to execute actually > exists... > > > > The file send_mail.pl does exist in the /usr/local/Nagios/libexec > folder. Not sure why I am getting that return code. > > > > Any thoughts? > sed 1q /usr/local/nagios/libexec/send_mail.pl should give you output similar to the one below: #!/usr/bin/perl If it doesn't, you've found your error. Also make sure you have no stray quotes anywhere in the command definition. If you're trying to execute "sendmail.pl -n" it tries to find a file named "sendmail.pl -n" instead of trying to find one named "sendmail.pl" and passing it "-n" as the first argument. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Fri Jul 18 16:10:20 2008 From: stanb at panix.com (stan) Date: Fri, 18 Jul 2008 10:10:20 -0400 Subject: Antwort: Difference betwen down and unreachable In-Reply-To: References: <20080718112539.GB21195@teddy.fas.com> Message-ID: <20080718141020.GC25634@teddy.fas.com> On Fri, Jul 18, 2008 at 01:51:08PM +0200, Sascha.Runschke at gfkl.com wrote: > nagios-users-bounces at lists.sourceforge.net schrieb am 18.07.2008 13:25:39: > > > I had a machine that was restored from an old backup tape, and did not > have > > it's external facing NIC configured for a few days last week. Nagios > > reported it as down, rather than unreachable. How is this determined? > > Please take a look at the documentation when you got the time... > > http://nagios.sourceforge.net/docs/3_0/networkreachability.html > What a nice polite way to say RTFM :-) I will do that, thanks. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Jul 18 16:16:14 2008 From: ae at op5.se (Andreas Ericsson) Date: Fri, 18 Jul 2008 16:16:14 +0200 Subject: Help - I am unable to get theNSClient++ to restart services In-Reply-To: References: <4880483C.40203@op5.se> Message-ID: <4880A5AE.3020109@op5.se> Please don't top-post. Others reading this email a year from now will have a very hard time knowing what you're answering to without scrolling down, then up, then halfway down, then up. Jonathan Williams wrote: > I did (at least similar). I ran it and it returned: > > /usr/local/bin/pearl -w > I'm guessing the output was actually #! /usr/local/bin/perl -w which is quite different from what you wrote, but I'll have to assume that the output you gave me is actually correct (who in their right minds would give false info to someone who's trying to help them??), so here it goes: * There's your error right there. To begin with, you probably don't have a binary named "pearl" anywhere on your system. * There's "#!" in front of the name of the script interpreter, so the kernel has no idea what to do with it. Run this command and it'll magically start working: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl Note that "similar" hardly ever cuts it, especially if you want more help and don't paste the "similar" command you actually used along with the output it produced. copy-paste is your friend. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From J.F.Wheeler at rl.ac.uk Fri Jul 18 16:25:11 2008 From: J.F.Wheeler at rl.ac.uk (Wheeler, JF (Jonathan)) Date: Fri, 18 Jul 2008 15:25:11 +0100 Subject: FW: Difference betwen down and unreachable Message-ID: Copy for list -----Original Message----- From: Wheeler, JF (Jonathan) Sent: 18 July 2008 15:23 To: 'Stan Brown' Subject: RE: [Nagios-users] Difference betwen down and unreachable > -----Original Message----- > From: Stan Brown [mailto:stanb at panix.com] > Sent: 18 July 2008 15:09 > To: Wheeler, JF (Jonathan) > Cc: Stewart Flood > Subject: Re: [Nagios-users] Difference between down and unreachable > > On Fri, Jul 18, 2008 at 01:04:53PM +0100, Wheeler, JF wrote: > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net On Behalf Of stan > > > Sent: 18 July 2008 12:26 > > > > > > I had a machine that was restored from an old backup tape, and did not have > > > it's external facing NIC configured for a few days last week. Nagios > > > reported it as down, rather than unreachable. How is this determined? > > > > Down means the individual system if down, that is, the host check has > > failed. > > > > Unreachable means "not possible to test" because the parent of the host > > has failed (maybe a switch) > Thanks. > > I did not realize that Nagios was sophisticated to understand that a device > could be "dependent" upon another device. Neat, I will look into how to > configure this functionality Look at the "parents" directive under the "host" definition. Note that you can also define service dependencies as well - see the documentation for more details Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 18 16:43:39 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 18 Jul 2008 07:43:39 -0700 Subject: Help - I am unable to get theNSClient++ to restart services In-Reply-To: <4880A5AE.3020109@op5.se> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> Message-ID: -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Friday, July 18, 2008 7:16 AM To: Jonathan Williams Cc: Valdinger, Stephen (DOV, MSX); nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ to restart services Please don't top-post. Others reading this email a year from now will have a very hard time knowing what you're answering to without scrolling down, then up, then halfway down, then up. Jonathan Williams wrote: > I did (at least similar). I ran it and it returned: > > /usr/local/bin/pearl -w > I'm guessing the output was actually #! /usr/local/bin/perl -w which is quite different from what you wrote, but I'll have to assume that the output you gave me is actually correct (who in their right minds would give false info to someone who's trying to help them??), so here it goes: * There's your error right there. To begin with, you probably don't have a binary named "pearl" anywhere on your system. * There's "#!" in front of the name of the script interpreter, so the kernel has no idea what to do with it. Run this command and it'll magically start working: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl Note that "similar" hardly ever cuts it, especially if you want more help and don't paste the "similar" command you actually used along with the output it produced. copy-paste is your friend. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Got it...as far as the top posting goes...makes sense. Thanks. And yes there was a #! In front as you said. I did say similar just because the OP who was helping me said I would get something similar to #!/usr/bin/perl . My output was similar to that, but not exact. Thanks for the response. I ran the following: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl return: sed: can't read check_sendmail.pl: No such file or directory ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael.streb at netways.de Fri Jul 18 17:51:23 2008 From: michael.streb at netways.de (Michael Streb) Date: Fri, 18 Jul 2008 17:51:23 +0200 Subject: EventDB addon In-Reply-To: <3A7D33CAB3F2FA4280E3B0EAF6DDAC53064A1CAF@ASHEVS008.mcilink.com> References: <3A7D33CAB3F2FA4280E3B0EAF6DDAC53064A1CAF@ASHEVS008.mcilink.com> Message-ID: Hello Palle, I downloaded the archive just a few seconds ago and the agenten folder is completely included in the archive. Regards, Michael Am 18.07.08 17:37 schrieb "Jensen, Palle L" unter : > Michael, > > I downloaded the files yesterday and the file syslog-ng2mysql.pl and also the > init script were missing. According to install directions they were supposed > to be in the folder \agenten, that folder is not in the archive nor is the > file in any other folder. A suggestion of other downloads? > > Thanks, > Palle > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Michael Streb >> Sent: Friday, July 18, 2008 3:42 AM >> To: Palle L Jensen; 'Nagios Users Mailinglist' >> Subject: Re: [Nagios-users] EventDB addon >> >> Hello, >> >> The files are now downloadable on NagiosForge.org, there was an misstake >> on >> our side. >> >> Regards, >> >> Michael >> >> >> Am 17.07.08 20:49 schrieb "Palle L Jensen" unter : >> >>> About a week ago netways announce the new Nagios forge and Nagios wiki >>> websites. I found an addon (EventDB) on the Nagioswiki that I would like >> to >>> try. Following the instructions on >>> http://www.nagioswiki.org/wiki/Addon:EventDb >>> >>> I was not able to get anywhere due to there seemed to be missing files >>> (syslog-ng2mysql.pl and the init script) in the package/archive. Has >> anyone >>> done this setup? I may be in the wrong user list, if so can anyone lead >> me >>> in the right directions? >>> >>> Thanks, >>> Palle >>> >>> >>> ------------------------------------------------------------------------ >> - >>> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >>> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >>> Grand prize is a trip for two to an Open Source event anywhere in the >> world >>> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting >>> any issue. >>> ::: Messages without supporting info will risk being sent to /dev/null >> >> -- >> Michael Streb >> Managing 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 ** >> >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's >> challenge >> Build the coolest Linux based applications with Moblin SDK & win great >> prizes >> Grand prize is a trip for two to an Open Source event anywhere in the >> world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null -- Michael Streb Managing 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 ** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kemotaha at gmail.com Fri Jul 18 21:36:15 2008 From: kemotaha at gmail.com (Nathan Blackham) Date: Fri, 18 Jul 2008 12:36:15 -0700 Subject: Nagios Presentation Message-ID: I know this is a little off topic but it is the best place I know to ask. I am going to be giving a presentation on Nagios and how to start to configure it in about a month. This is for an upcoming open source conference happening in the area. I was wondering if someone already had some slides or material already made up so I don't have to make them all from scratch. If not, no big deal, it would just save me some time. Thanks, Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mirde at oppy.com Fri Jul 18 22:42:15 2008 From: mirde at oppy.com (Mirza Dedic) Date: Fri, 18 Jul 2008 13:42:15 -0700 Subject: Nagios Notification using 2nd email server? Message-ID: Hello, I have a unique configuration I would like to get Nagios to do; basically right now I am using sendmail on our Ubuntu box which is setup as a simple relay to use our exchange server to send emails to our technicians and also an outside mailbox (Gmail) incase the exchange server is down so that they are still able to receive it using their blackberries. What I need to do is have a way to get those notifications to the outside mailbox if the internet on the network that Nagios Host is on is not working. We have MPLS lines that WAN our other offices and they have their own internet connections. So if the internet on my A LAN is down, I want to be able to get notifications to the external mailbox using using my B office's internet; I would still be able to get the information to B's office since A & B are connected with a MPLS (regardless if A's internet is down he can still talk to B). Any idea? Thank you. Mirza Dedic Jr. Technical Analyst - The Oppenheimer Group Office #(604) 461-6779 : Cell #(778) 895-8950 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 18 23:03:03 2008 From: marc at ena.com (Marc Powell) Date: Fri, 18 Jul 2008 16:03:03 -0500 Subject: Nagios Notification using 2nd email server? In-Reply-To: References: Message-ID: <2E8DDF13-1FD4-4303-8C27-AE2C1BA2948E@ena.com> On Jul 18, 2008, at 3:42 PM, Mirza Dedic wrote: > Hello, > > I have a unique configuration I would like to get Nagios to do; > basically right now I am using sendmail on our Ubuntu box which is > setup as a simple relay to use our exchange server to send emails to > our technicians and also an outside mailbox (Gmail) incase the > exchange server is down so that they are still able to receive it > using their blackberries. > > What I need to do is have a way to get those notifications to the > outside mailbox if the internet on the network that Nagios Host is > on is not working. We have MPLS lines that WAN our other offices and > they have their own internet connections. If the exchange server is unavailable at this time then configuring a fallbacksmarthost in sendmail should be sufficient -- http://www.itworld.com/nlsunix070510 If the Exchange server is still available during the 'outage' then you'll need to create a more sophisticated notification script that Does The Right Thing since nagios doesn't know or care about actual notification mechanics. I would use mini-sendmail for the actual notifications since you can specify on it's command line which SMTP server to use (-s). Essentially, - receive notification request/parameters - determine if internet is available - yes, send through Exchange - no, send through remote server - ... - PROFIT! -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Jul 19 01:20:44 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 18 Jul 2008 19:20:44 -0400 Subject: Help - I am unable to get theNSClient++ to restart services In-Reply-To: References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> Message-ID: Jonathan Williams wrote: > > I did (at least similar). I ran it and it returned: > > > > /usr/local/bin/pearl -w > > > > I'm guessing the output was actually > #! /usr/local/bin/perl -w > which is quite different from what you wrote, but I'll have to > assume that the output you gave me is actually correct (who in > their right minds would give false info to someone who's trying > to help them??), so here it goes: > > * There's your error right there. To begin with, you probably don't > have a binary named "pearl" anywhere on your system. > * There's "#!" in front of the name of the script interpreter, so > the kernel has no idea what to do with it. > > Run this command and it'll magically start working: > > sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl > > Note that "similar" hardly ever cuts it, especially if you want > more help and don't paste the "similar" command you actually > used along with the output it produced. copy-paste is your > friend. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Got it...as far as the top posting goes...makes sense. Thanks. And yes > there was a #! In front as you said. I did say similar just because the > OP who was helping me said I would get something similar to > #!/usr/bin/perl . My output was similar to that, but not > exact. Thanks for the response. I ran the following: > > sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl > > return: > > sed: can't read check_sendmail.pl: No such file or directory > > > I been following your Emails on this issue and it looks like this must be some simple mistake somewhere, for example runtime Libexec is not the directory your using, FIlemames mispellings, things missing from the path or some other unkown issue. Try running some normal shell script that just gives a date or pwd to validate the Libexec directory you are copying files to is the one nagios is run from. In the above command was it suppose to be sendmail.pl instead of check_sendmail.pl ? (I am not sure I did not think hard about what the command does) but most of the prior emails mentioned only sendmail.pl while check_ is common prefix of most common nagios plugins. Last in prior posts I noticed the -n in the command has a space between the - and the n is it really there or is it just my email reader? if it is there should it be there? Tony (Author of NC_net) (I actually prefer reading Top posted msg - but I understand Andreas point on Bottom posting or inline posting) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Sat Jul 19 02:08:12 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 18 Jul 2008 17:08:12 -0700 Subject: Help - I am unable to get theNSClient++ to restart services In-Reply-To: References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> Message-ID: ________________________________ From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Friday, July 18, 2008 4:21 PM To: Jonathan Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ to restart services Jonathan Williams wrote: > I did (at least similar). I ran it and it returned: > > /usr/local/bin/pearl -w > I'm guessing the output was actually #! /usr/local/bin/perl -w which is quite different from what you wrote, but I'll have to assume that the output you gave me is actually correct (who in their right minds would give false info to someone who's trying to help them??), so here it goes: * There's your error right there. To begin with, you probably don't have a binary named "pearl" anywhere on your system. * There's "#!" in front of the name of the script interpreter, so the kernel has no idea what to do with it. Run this command and it'll magically start working: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl Note that "similar" hardly ever cuts it, especially if you want more help and don't paste the "similar" command you actually used along with the output it produced. copy-paste is your friend. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Got it...as far as the top posting goes...makes sense. Thanks. And yes there was a #! In front as you said. I did say similar just because the OP who was helping me said I would get something similar to #!/usr/bin/perl . My output was similar to that, but not exact. Thanks for the response. I ran the following: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl return: sed: can't read check_sendmail.pl: No such file or directory I been following your Emails on this issue and it looks like this must be some simple mistake somewhere, for example runtime Libexec is not the directory your using, FIlemames mispellings, things missing from the path or some other unkown issue. Try running some normal shell script that just gives a date or pwd to validate the Libexec directory you are copying files to is the one nagios is run from. In the above command was it suppose to be sendmail.pl instead of check_sendmail.pl ? (I am not sure I did not think hard about what the command does) but most of the prior emails mentioned only sendmail.pl while check_ is common prefix of most common nagios plugins. Last in prior posts I noticed the -n in the command has a space between the - and the n is it really there or is it just my email reader? if it is there should it be there? Tony (Author of NC_net) (I actually prefer reading Top posted msg - but I understand Andreas point on Bottom posting or inline posting) Good question Tony. There is no such file called check_sendmail on my system. Other scripts are running fine out of /usr/local/nagios/libexec. I am not sure if perhaps the send_mail.pl script is perhaps looking for the pearl binary in the wrong folder /usr/bin/perl as opposed to /usr/local/bin/perl? I am not at work now but will dig in later tonight. I am a victim of my own lack of Linux experience here I admit, but I'm learning. I have a feeling if any of you were looking at everything I have here it would jump out at you. I'm going to team up with a colleague of mine here who is a good Linux guy and get his input as well. As usual thanks again for your time and expertise. Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Sat Jul 19 14:30:24 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Sat, 19 Jul 2008 08:30:24 -0400 Subject: Migrating to v3 Message-ID: Hi, I'm migrating our v2.x installation of nagios to 3.0.3 and i'm stuck currently, can sameone check if i'm missing something here?: Verification reports: ------------- Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/etc/nagios/objects/services/filesystems.win.cfg', starting on line 1) ------------- First lines of filesystems.win.cfg: ------------- define service{ use filesystems hostgroup_name nrpe_nt service_description Unidad c:\ check_command check_nrpe_args!check_disk!c!2%!1%!\/p event_handler ins2tt event_handler_enabled 1 } define service{ use filesystems host_name asusis-dwhp2,asusis-dc,asusis-af service_description Unidad d:\ check_command check_nrpe_args!check_disk!d!8%!5%!\/p event_handler ins2tt event_handler_enabled 1 } define service{ use filesystems host_name asusis-dwhp service_description Unidad d:\ check_command check_nrpe_args!check_disk!d!25000!15000!\/p event_handler ins2tt event_handler_enabled 1 } ------------- The old parameter was just "hostgroup" and according to the documentation "hostgroup_name" can still replace the "host_name" parameter The template: ------------- define service{ use generic-service name filesystems is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 notification_interval 120 notification_period 24x7 notification_options w,u,c,r register 0 event_handler ins2tt } ------------- Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Sun Jul 20 16:28:34 2008 From: stanb at panix.com (stan) Date: Sun, 20 Jul 2008 10:28:34 -0400 Subject: Thoughts about a custom plugin Message-ID: <20080720142834.GA17765@teddy.fas.com> I have a number of isolated networks, that is networks which are deliberately non-routable to. On each of these networks, I have a single host that has a 2nd NIC thta is on the general network. I don't can't to turn on forwarding on this host. I would like to monitor some statuses on the machines on the isolated networks. I am thinking of doing this using a Nagios plugin. My first thoughts on this plugin are to have the plugin execute a script on the dual homed machines. This script would, as a first cut, ping the internal machines, and return up/down statuses. Later I might want too expand on this by having the script do some other checks on the isolated machines. After having looked at the way Nagios plugins work, i have a couple of concerns about this design. The first is the rule that says the status returned by a plugin should be less than 8 characters. The 2nd is that, for the first version of the remote script, if a machine is down, the ping could take a while to timeout. I can see how to address the 2nd concern by having a "checker script" on the dual homed machine, that maintains a "state" file, which the script called by the Nagios plugin could simply read. But how can I address the firs concern? Any other thoughts to improve this design? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Sun Jul 20 16:46:39 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Sun, 20 Jul 2008 10:46:39 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <20080720142834.GA17765@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> You should really look into NRPE (Nagios Remote Plugin Execution) http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe There are alternate versions of NRPE that run on Windows, etc. if you must do that. Check out NagiosExchange.org for those. You should find that you can use normal plugins you already use elsewhere with NRPE to do what you need. -Jake -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stan Sent: Sunday, July 20, 2008 10:29 AM To: nagios List Cc: Stewart Flood Subject: [Nagios-users] Thoughts about a custom plugin I have a number of isolated networks, that is networks which are deliberately non-routable to. On each of these networks, I have a single host that has a 2nd NIC thta is on the general network. I don't can't to turn on forwarding on this host. I would like to monitor some statuses on the machines on the isolated networks. I am thinking of doing this using a Nagios plugin. My first thoughts on this plugin are to have the plugin execute a script on the dual homed machines. This script would, as a first cut, ping the internal machines, and return up/down statuses. Later I might want too expand on this by having the script do some other checks on the isolated machines. After having looked at the way Nagios plugins work, i have a couple of concerns about this design. The first is the rule that says the status returned by a plugin should be less than 8 characters. The 2nd is that, for the first version of the remote script, if a machine is down, the ping could take a while to timeout. I can see how to address the 2nd concern by having a "checker script" on the dual homed machine, that maintains a "state" file, which the script called by the Nagios plugin could simply read. But how can I address the firs concern? Any other thoughts to improve this design? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Jul 20 17:09:48 2008 From: marc at ena.com (Marc Powell) Date: Sun, 20 Jul 2008 10:09:48 -0500 Subject: Migrating to v3 In-Reply-To: References: Message-ID: <96428E75-5F4A-426B-8395-B6A771FFF39F@ena.com> On Jul 19, 2008, at 7:30 AM, Ciro Iriarte wrote: > Hi, > > I'm migrating our v2.x installation of nagios to 3.0.3 and i'm stuck > currently, can sameone check if i'm missing something here?: > > Verification reports: > ------------- > Error: Service description, host name, or check command is NULL > Error: Could not register service (config file > '/etc/nagios/objects/services/filesystems.win.cfg', starting on line > 1) > ------------- > > First lines of filesystems.win.cfg: > > ------------- > define service{ > use filesystems > hostgroup_name nrpe_nt > service_description Unidad c:\ > check_command check_nrpe_args!check_disk!c! > 2%!1%!\/p > event_handler ins2tt > event_handler_enabled 1 > } The hostgroup nrpe_nt exists, has members and is loaded by nagios? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Jul 20 17:16:45 2008 From: marc at ena.com (Marc Powell) Date: Sun, 20 Jul 2008 10:16:45 -0500 Subject: Thoughts about a custom plugin In-Reply-To: <20080720142834.GA17765@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> Message-ID: On Jul 20, 2008, at 9:28 AM, stan wrote: > > After having looked at the way Nagios plugins work, i have a couple of > concerns about this design. The first is the rule that says the status > returned by a plugin should be less than 8 characters. The 2nd is > that, for Perhaps I'm not following but I'm not aware of any such restriction. Nagios only really cares about the exit _code_ code of a plugin (1-4) and the text is for humans only. That text can be quite large. In nagios-2 it must all be on one line. There is a limit but it depends on how you're getting your results back to nagios but in all cases is much greater than 8 characters (i.e. ~500 at minimum I believe for passive checks). In nagios-3 it can be split across multiple lines (with documented caveats) with no limit I believe (but check the documentation). -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Sun Jul 20 17:17:16 2008 From: stanb at panix.com (stan) Date: Sun, 20 Jul 2008 11:17:16 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> References: <20080720142834.GA17765@teddy.fas.com> <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> Message-ID: <20080720151716.GA18704@teddy.fas.com> On Sun, Jul 20, 2008 at 10:46:39AM -0400, Paulus, Jake wrote: > You should really look into NRPE (Nagios Remote Plugin Execution) > http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe > > There are alternate versions of NRPE that run on Windows, etc. if you > must do that. Check out NagiosExchange.org for those. > > You should find that you can use normal plugins you already use > elsewhere with NRPE to do what you need. > I'm not certain this is intended for exactly the application I have. perhaps it is, and I am misunderstanding it. let me clarify my application a bit with an ASCI diagram: ------------ ------------- -------------- | | | | | | | NAGIOS |----------| DUAL | | TARGET | | Host | | HOMED |---+----| | | | | Machine | | | | | | | | | | | ------------ ------------- | -------------- | | -------------- | | | | | TARGET | +----| | | | | | | | | -------------- ~ The Nagios host can get to the dual homed machine, and I can use all the standard plugins to get status from it. What I want to do is get status from the TARGETS. Are you suggesting using NAPE running on the dual homed machines? And somehow using this to query the targets? The web page you pointed out makes me believe that NAPE is intended to allow me to execute checks on a reachable machine, by using local scripts there, rather than having the NAGIOS machine use the more traditional check_* plugins. Am I confused? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Sun Jul 20 17:19:30 2008 From: stanb at panix.com (stan) Date: Sun, 20 Jul 2008 11:19:30 -0400 Subject: Thoughts about a custom plugin In-Reply-To: References: <20080720142834.GA17765@teddy.fas.com> Message-ID: <20080720151930.GB18704@teddy.fas.com> On Sun, Jul 20, 2008 at 10:16:45AM -0500, Marc Powell wrote: > > On Jul 20, 2008, at 9:28 AM, stan wrote: > > > > After having looked at the way Nagios plugins work, i have a couple of > > concerns about this design. The first is the rule that says the status > > returned by a plugin should be less than 8 characters. The 2nd is > > that, for > > Perhaps I'm not following but I'm not aware of any such restriction. > Nagios only really cares about the exit _code_ code of a plugin (1-4) > and the text is for humans only. That text can be quite large. In > nagios-2 it must all be on one line. There is a limit but it depends > on how you're getting your results back to nagios but in all cases is > much greater than 8 characters (i.e. ~500 at minimum I believe for > passive checks). In nagios-3 it can be split across multiple lines > (with documented caveats) with no limit I believe (but check the > documentation). > Sorry for the 8, it was supposed to be 80, and came from a web page I read about developing NAGIO plugins. If I recall the reason corectly, it was because that status might go to a printed report? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Sun Jul 20 17:34:28 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Sun, 20 Jul 2008 11:34:28 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <20080720151930.GB18704@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> <20080720151930.GB18704@teddy.fas.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1408BDF3@srv-1exch01.sourceinterlink.com> In Nagios 2 there is a limit to plugin output measured in Bytes (forget the number) - it amounts to about 252 characters before the output is truncated. Nagios 3 fixes this potential problem. I'm pretty sure the original intent was as a security or performance precaution...but there are definitely cases where longer output is needed. The guideline is still a very good one though. Output as shown below is great to parse for graphing - but our admins don't like looking through it to find the actual problem (notice the output is truncated too) D:\ Label:D-Drive Serial Number 8227abb4: 68% C:\ Label: Serial Number 54b7b1f1: 59% I:\ Label:I-Drive Serial Number a2c908c2: 77% G:\ Label:G-Drive Serial Number d27bf28d: 23% E:\ Label:E-Drive Serial Number d63b1ba7: 95%used(926297MB/978123MB) (>90% -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stan Sent: Sunday, July 20, 2008 11:20 AM To: Marc Powell Cc: nagios List; Stewart Flood Subject: Re: [Nagios-users] Thoughts about a custom plugin On Sun, Jul 20, 2008 at 10:16:45AM -0500, Marc Powell wrote: > > On Jul 20, 2008, at 9:28 AM, stan wrote: > > > > After having looked at the way Nagios plugins work, i have a couple of > > concerns about this design. The first is the rule that says the status > > returned by a plugin should be less than 8 characters. The 2nd is > > that, for > > Perhaps I'm not following but I'm not aware of any such restriction. > Nagios only really cares about the exit _code_ code of a plugin (1-4) > and the text is for humans only. That text can be quite large. In > nagios-2 it must all be on one line. There is a limit but it depends > on how you're getting your results back to nagios but in all cases is > much greater than 8 characters (i.e. ~500 at minimum I believe for > passive checks). In nagios-3 it can be split across multiple lines > (with documented caveats) with no limit I believe (but check the > documentation). > Sorry for the 8, it was supposed to be 80, and came from a web page I read about developing NAGIO plugins. If I recall the reason corectly, it was because that status might go to a printed report? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at lamp.xs4all.nl Sun Jul 20 17:42:11 2008 From: nagios at lamp.xs4all.nl (Lennard Bakker) Date: Sun, 20 Jul 2008 17:42:11 +0200 Subject: Thoughts about a custom plugin In-Reply-To: <20080720151716.GA18704@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> <20080720151716.GA18704@teddy.fas.com> Message-ID: <48835CD3.7090004@lamp.xs4all.nl> stan wrote: > > ------------ ------------- -------------- > | | | | | | > | NAGIOS |----------| DUAL | | TARGET | > | Host | | HOMED |---+----| | > | | | Machine | | | | > | | | | | | | > ------------ ------------- | -------------- > | > | -------------- > | | | > | | TARGET | > +----| | > | | | > | | | > | -------------- > ~ > > The Nagios host can get to the dual homed machine, and I can use all the > standard plugins to get status from it. What I want to do is get status from > the TARGETS. > > Are you suggesting using NAPE running on the dual homed machines? And somehow > using this to query the targets? The web page you pointed out makes me > believe that NAPE is intended to allow me to execute checks on a reachable > machine, by using local scripts there, rather than having the NAGIOS machine > use the more traditional check_* plugins. > > Am I confused? What about installing a second instance of nagios on the dual homed machine (Core logic, no webinterface). And this instance will report his results with NSCA to the Nagios host. See http://nagios.sourceforge.net/docs/3_0/distributed.html for documentation. Lennard ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Sun Jul 20 18:08:23 2008 From: stanb at panix.com (stan) Date: Sun, 20 Jul 2008 12:08:23 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <48835CD3.7090004@lamp.xs4all.nl> References: <20080720142834.GA17765@teddy.fas.com> <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> <20080720151716.GA18704@teddy.fas.com> <48835CD3.7090004@lamp.xs4all.nl> Message-ID: <20080720160823.GA19764@teddy.fas.com> On Sun, Jul 20, 2008 at 05:42:11PM +0200, Lennard Bakker wrote: > stan wrote: > > > > ------------ ------------- -------------- > > | | | | | | > > | NAGIOS |----------| DUAL | | TARGET | > > | Host | | HOMED |---+----| | > > | | | Machine | | | | > > | | | | | | | > > ------------ ------------- | -------------- > > | > > | -------------- > > | | | > > | | TARGET | > > +----| | > > | | | > > | | | > > | -------------- > > ~ > > > > The Nagios host can get to the dual homed machine, and I can use all the > > standard plugins to get status from it. What I want to do is get status from > > the TARGETS. > > > > Are you suggesting using NAPE running on the dual homed machines? And somehow > > using this to query the targets? The web page you pointed out makes me > > believe that NAPE is intended to allow me to execute checks on a reachable > > machine, by using local scripts there, rather than having the NAGIOS machine > > use the more traditional check_* plugins. > > > > Am I confused? > > What about installing a second instance of nagios on the dual homed > machine (Core logic, no webinterface). And this instance will report his > results with NSCA to the Nagios host. > > See http://nagios.sourceforge.net/docs/3_0/distributed.html for > documentation. > That MAY be where I wind up, but it has 2 issues: 1. The idea is to do a minimal amount of changing to the dual homed machines, as they are actually part of control systems, and the control system vendor support people tend to not understand when things are added to their systems. 2. Some of the dual homed machines run very old versions of the OS (SunOS 2.5.2), and I really am having a hard time getting anything modern to compile on them at this point in time. I do have perl on them, so if I can write a simple perl script to accomplish this (or a shell script), I will be better off that trying to get NAGIOS to compile on them. As an example of this, I presently can't get the current version of NetSNMP compiled on my build machine of this flavor of OS. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Sun Jul 20 18:26:19 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Sun, 20 Jul 2008 12:26:19 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <20080720151716.GA18704@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> <20080720151716.GA18704@teddy.fas.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E1408BDF4@srv-1exch01.sourceinterlink.com> Using NRPE, the check scripts (like check_ping, etc.) would be run on "DUAL HOMES Machine" but kicked off by NAGIOS Host. -----Original Message----- From: Stan Brown [mailto:stanb at panix.com] Sent: Sunday, July 20, 2008 11:17 AM To: Paulus, Jake Cc: nagios List; Stewart Flood Subject: Re: [Nagios-users] Thoughts about a custom plugin On Sun, Jul 20, 2008 at 10:46:39AM -0400, Paulus, Jake wrote: > You should really look into NRPE (Nagios Remote Plugin Execution) > http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe > > There are alternate versions of NRPE that run on Windows, etc. if you > must do that. Check out NagiosExchange.org for those. > > You should find that you can use normal plugins you already use > elsewhere with NRPE to do what you need. > I'm not certain this is intended for exactly the application I have. perhaps it is, and I am misunderstanding it. let me clarify my application a bit with an ASCI diagram: ------------ ------------- -------------- | | | | | | | NAGIOS |----------| DUAL | | TARGET | | Host | | HOMED |---+----| | | | | Machine | | | | | | | | | | | ------------ ------------- | -------------- | | -------------- | | | | | TARGET | +----| | | | | | | | | -------------- ~ The Nagios host can get to the dual homed machine, and I can use all the standard plugins to get status from it. What I want to do is get status from the TARGETS. Are you suggesting using NAPE running on the dual homed machines? And somehow using this to query the targets? The web page you pointed out makes me believe that NAPE is intended to allow me to execute checks on a reachable machine, by using local scripts there, rather than having the NAGIOS machine use the more traditional check_* plugins. Am I confused? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sun Jul 20 20:02:57 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 20 Jul 2008 14:02:57 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <20080720151930.GB18704@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> <20080720151930.GB18704@teddy.fas.com> Message-ID: <48837DD1.1080805@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/07/08 11:19 AM, stan wrote: > On Sun, Jul 20, 2008 at 10:16:45AM -0500, Marc Powell wrote: >> On Jul 20, 2008, at 9:28 AM, stan wrote: >>> After having looked at the way Nagios plugins work, i have a couple of >>> concerns about this design. The first is the rule that says the status >>> returned by a plugin should be less than 8 characters. The 2nd is >>> that, for >> Perhaps I'm not following but I'm not aware of any such restriction. >> Nagios only really cares about the exit _code_ code of a plugin (1-4) >> and the text is for humans only. That text can be quite large. In >> nagios-2 it must all be on one line. There is a limit but it depends >> on how you're getting your results back to nagios but in all cases is >> much greater than 8 characters (i.e. ~500 at minimum I believe for >> passive checks). In nagios-3 it can be split across multiple lines >> (with documented caveats) with no limit I believe (but check the >> documentation). >> > > Sorry for the 8, it was supposed to be 80, and came from a web page I read > about developing NAGIO plugins. If I recall the reason corectly, it was > because that status might go to a printed report? In the official Nagios-plugins we enforce a 80-characters limit on the - --help output as the plugins might get configured from a 80x24 text terminal (just to avoid line breaks - it won't break anything though). That's the only 80 characters limit I've ever heard about... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIg33R6dZ+Kt5BchYRAlPHAKDbA427nKf8G7Z6BbmiBCk5sQR1hgCg8vZ/ vDXYnhuI6Fz0DQb+rpXRsz4= =X9ME -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Sun Jul 20 21:34:13 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Sun, 20 Jul 2008 20:34:13 +0100 Subject: Thoughts about a custom plugin In-Reply-To: <48837DD1.1080805@aei.ca> References: <20080720142834.GA17765@teddy.fas.com> <20080720151930.GB18704@teddy.fas.com> <48837DD1.1080805@aei.ca> Message-ID: <48839335.2040603@mailnetwork.co.uk> Hi, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 20/07/08 11:19 AM, stan wrote: > >> On Sun, Jul 20, 2008 at 10:16:45AM -0500, Marc Powell wrote: >> >>> On Jul 20, 2008, at 9:28 AM, stan wrote: >>> >>>> After having looked at the way Nagios plugins work, i have a couple of >>>> concerns about this design. The first is the rule that says the status >>>> returned by a plugin should be less than 8 characters. The 2nd is >>>> that, for >>>> >>> Perhaps I'm not following but I'm not aware of any such restriction. >>> Nagios only really cares about the exit _code_ code of a plugin (1-4) >>> and the text is for humans only. That text can be quite large. In >>> nagios-2 it must all be on one line. There is a limit but it depends >>> on how you're getting your results back to nagios but in all cases is >>> much greater than 8 characters (i.e. ~500 at minimum I believe for >>> passive checks). In nagios-3 it can be split across multiple lines >>> (with documented caveats) with no limit I believe (but check the >>> documentation). >>> >>> >> Sorry for the 8, it was supposed to be 80, and came from a web page I read >> about developing NAGIO plugins. If I recall the reason corectly, it was >> because that status might go to a printed report? >> > > In the official Nagios-plugins we enforce a 80-characters limit on the > - --help output as the plugins might get configured from a 80x24 text > terminal (just to avoid line breaks - it won't break anything though). > That's the only 80 characters limit I've ever heard about... > The maximum plugin output, according to Nagios 3's release notes, is 4KB (or 350 bytes in previous versions) and can be changed by re-compiling. This equates to 4096 ASCII characters. See http://nagios.sourceforge.net/docs/3_0/pluginapi.html. The plugin API is not as restrictive as you may think. Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jul 21 09:49:40 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 21 Jul 2008 09:49:40 +0200 Subject: Migrating to v3 In-Reply-To: References: Message-ID: <48843F94.3010702@op5.se> Ciro Iriarte wrote: > Hi, > > I'm migrating our v2.x installation of nagios to 3.0.3 and i'm stuck > currently, can sameone check if i'm missing something here?: > > Verification reports: > ------------- > Error: Service description, host name, or check command is NULL > Error: Could not register service (config file > '/etc/nagios/objects/services/filesystems.win.cfg', starting on line > 1) > ------------- > > First lines of filesystems.win.cfg: > > ------------- > define service{ > use filesystems > hostgroup_name nrpe_nt > service_description Unidad c:\ Nagios 3 supports line-continuation in configuration files. Remove the backslash at the end of this line and you'll be fine. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Mon Jul 21 09:52:11 2008 From: ae at op5.se (Andreas Ericsson) Date: Mon, 21 Jul 2008 09:52:11 +0200 Subject: Thoughts about a custom plugin In-Reply-To: <20080720142834.GA17765@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> Message-ID: <4884402B.5040604@op5.se> stan wrote: > I have a number of isolated networks, that is networks which are > deliberately non-routable to. On each of these networks, I have a single > host that has a 2nd NIC thta is on the general network. I don't can't to > turn on forwarding on this host. I would like to monitor some statuses on > the machines on the isolated networks. > > I am thinking of doing this using a Nagios plugin. My first thoughts on > this plugin are to have the plugin execute a script on the dual homed > machines. This script would, as a first cut, ping the internal machines, and > return up/down statuses. Later I might want too expand on this by having > the script do some other checks on the isolated machines. > Sounds like you'd be better off installing Nagios on each of the dual-homed servers and submitting the check-results passively up to the main monitoring machine. Actually, merlin would be a very nice candidate for this, although it's still in early beta. See http://www.op5.org/git/?p=nagios-merlin.git;a=summary -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Mon Jul 21 11:32:58 2008 From: th.granier at free.fr (Thierry Granier) Date: Mon, 21 Jul 2008 11:32:58 +0200 Subject: installation problem Message-ID: <488457CA.80301@free.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, everybody i'm trying to install Nagios on Opensuse 11.0 and i get this message after ./configure in the config.log: ......... configure:3149: checking pthreads.h usability configure:3161: gcc -c -g -O2 conftest.c >&5 conftest.c:68:22: error: pthreads.h: No such file or directory configure:3167: $? = 1 configure: failed program was: | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 ........... the "make" is not created Do you know what's the problem? Many thanks -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkiEV8oACgkQbG/s30EAZ3UcKgCdGr8Df+2409FkK0nGnFxi6zHE r4kAnjVMNQcKa0+YKnGj8Pk0igrcUbQE =8f4D -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Mon Jul 21 14:15:40 2008 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Mon, 21 Jul 2008 08:15:40 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <20080720151716.GA18704@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> <20080720151716.GA18704@teddy.fas.com> Message-ID: <7f62d2420807210515s288e76fr7d0d465350527e6c@mail.gmail.com> This can be done without NRPE. We have a cluster on a private net. The head node is visible from nagios so I wrote a plugin that lives on the head node (The dual homed machine, in your case). On the nagios side, a plugin ssh'es to the head node, runs the script which talks to hosts on the private net and returns the output/status. On Sun, Jul 20, 2008 at 11:17 AM, stan wrote: > On Sun, Jul 20, 2008 at 10:46:39AM -0400, Paulus, Jake wrote: >> You should really look into NRPE (Nagios Remote Plugin Execution) >> http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe >> >> There are alternate versions of NRPE that run on Windows, etc. if you >> must do that. Check out NagiosExchange.org for those. >> >> You should find that you can use normal plugins you already use >> elsewhere with NRPE to do what you need. >> > I'm not certain this is intended for exactly the application I have. perhaps > it is, and I am misunderstanding it. let me clarify my application a bit > with an ASCI diagram: > > ------------ ------------- -------------- > | | | | | | > | NAGIOS |----------| DUAL | | TARGET | > | Host | | HOMED |---+----| | > | | | Machine | | | | > | | | | | | | > ------------ ------------- | -------------- > | > | -------------- > | | | > | | TARGET | > +----| | > | | | > | | | > | -------------- > ~ > > The Nagios host can get to the dual homed machine, and I can use all the > standard plugins to get status from it. What I want to do is get status from > the TARGETS. > > Are you suggesting using NAPE running on the dual homed machines? And somehow > using this to query the targets? The web page you pointed out makes me > believe that NAPE is intended to allow me to execute checks on a reachable > machine, by using local scripts there, rather than having the NAGIOS machine > use the more traditional check_* plugins. > > Am I confused? > -- > One of the main causes of the fall of the roman empire was that, lacking > zero, they had no way to indicate successful termination of their C > programs. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 21 14:23:37 2008 From: marc at ena.com (Marc Powell) Date: Mon, 21 Jul 2008 07:23:37 -0500 Subject: installation problem In-Reply-To: <488457CA.80301@free.fr> References: <488457CA.80301@free.fr> Message-ID: <9EA002F8-D1E4-491D-A532-FF95CACEA904@ena.com> On Jul 21, 2008, at 4:32 AM, Thierry Granier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, everybody > i'm trying to install Nagios on Opensuse 11.0 and i get this message > after ./configure in the config.log: > > ......... > configure:3149: checking pthreads.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > conftest.c:68:22: error: pthreads.h: No such file or directory > configure:3167: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > ........... I this the end of config.log or just an error you found? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 21 16:03:14 2008 From: marc at ena.com (Marc Powell) Date: Mon, 21 Jul 2008 09:03:14 -0500 Subject: installation problem In-Reply-To: <48848399.9080000@free.fr> References: <488457CA.80301@free.fr> <9EA002F8-D1E4-491D-A532-FF95CACEA904@ena.com> <48848399.9080000@free.fr> Message-ID: <8377E464-7460-480C-BA3D-11238AD5F87D@ena.com> Please always respond on list. Other comments below -- On Jul 21, 2008, at 7:39 AM, Thierry Granier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Marc Powell a ?crit : >> On Jul 21, 2008, at 4:32 AM, Thierry Granier wrote: >>> >>> configure:3149: checking pthreads.h usability >>> configure:3161: gcc -c -g -O2 conftest.c >&5 >>> conftest.c:68:22: error: pthreads.h: No such file or directory >>> >>> ........... >> >> I this the end of config.log or just an error you found? >> >> > This is not the end of config/log > it's an error in the file This is almost certainly not the problem as it is not necessary for this test to succeed. Please post the entire config.log. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Mon Jul 21 16:47:00 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Mon, 21 Jul 2008 07:47:00 -0700 Subject: Help - I am unable to send notifications In-Reply-To: References: <4880483C.40203@op5.se><4880A5AE.3020109@op5.se> Message-ID: It was about time I changed the subject line of my e-mail since the NSClient++ service restart issue is fixed thanks to you guys. I am reposting this since my last e-mail on Friday which is at the bottom of this thread. I was hoping to verify the syntax of this command: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl It returns this: sed: can't read check_sendmail.pl: No such file or directory Thank you, Jon ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jonathan Williams Sent: Friday, July 18, 2008 5:08 PM To: Anthony Montibello Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ torestart services ________________________________ From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Friday, July 18, 2008 4:21 PM To: Jonathan Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ to restart services Jonathan Williams wrote: > I did (at least similar). I ran it and it returned: > > /usr/local/bin/pearl -w > I'm guessing the output was actually #! /usr/local/bin/perl -w which is quite different from what you wrote, but I'll have to assume that the output you gave me is actually correct (who in their right minds would give false info to someone who's trying to help them??), so here it goes: * There's your error right there. To begin with, you probably don't have a binary named "pearl" anywhere on your system. * There's "#!" in front of the name of the script interpreter, so the kernel has no idea what to do with it. Run this command and it'll magically start working: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl Note that "similar" hardly ever cuts it, especially if you want more help and don't paste the "similar" command you actually used along with the output it produced. copy-paste is your friend. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Got it...as far as the top posting goes...makes sense. Thanks. And yes there was a #! In front as you said. I did say similar just because the OP who was helping me said I would get something similar to #!/usr/bin/perl . My output was similar to that, but not exact. Thanks for the response. I ran the following: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl return: sed: can't read check_sendmail.pl: No such file or directory I been following your Emails on this issue and it looks like this must be some simple mistake somewhere, for example runtime Libexec is not the directory your using, FIlemames mispellings, things missing from the path or some other unkown issue. Try running some normal shell script that just gives a date or pwd to validate the Libexec directory you are copying files to is the one nagios is run from. In the above command was it suppose to be sendmail.pl instead of check_sendmail.pl ? (I am not sure I did not think hard about what the command does) but most of the prior emails mentioned only sendmail.pl while check_ is common prefix of most common nagios plugins. Last in prior posts I noticed the -n in the command has a space between the - and the n is it really there or is it just my email reader? if it is there should it be there? Tony (Author of NC_net) (I actually prefer reading Top posted msg - but I understand Andreas point on Bottom posting or inline posting) Good question Tony. There is no such file called check_sendmail on my system. Other scripts are running fine out of /usr/local/nagios/libexec. I am not sure if perhaps the send_mail.pl script is perhaps looking for the pearl binary in the wrong folder /usr/bin/perl as opposed to /usr/local/bin/perl? I am not at work now but will dig in later tonight. I am a victim of my own lack of Linux experience here I admit, but I'm learning. I have a feeling if any of you were looking at everything I have here it would jump out at you. I'm going to team up with a colleague of mine here who is a good Linux guy and get his input as well. As usual thanks again for your time and expertise. Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Mon Jul 21 18:28:11 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Mon, 21 Jul 2008 17:28:11 +0100 Subject: Thoughts about a custom plugin In-Reply-To: <7f62d2420807210515s288e76fr7d0d465350527e6c@mail.gmail.com> References: <20080720142834.GA17765@teddy.fas.com> <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> <20080720151716.GA18704@teddy.fas.com> <7f62d2420807210515s288e76fr7d0d465350527e6c@mail.gmail.com> Message-ID: <4884B91B.40804@mailnetwork.co.uk> Hi, NRPE could do this job, sure you could write a custom plugin, but there are 2 possible alternatives already there (albeit they might be overhead for what you're trying to do, unless you want to monitor the services on the dual-homed machine with Nagios as well.) You could run NRPE on each target, and on the dual-homed machine, then Nagios would request the plugin to be executed on the targets and send the request via NRPE to the dual-homed machine, which would in turn request the plugin to be run on the appropriate host. I do a similar thing to ping a router that cannot be reached from my Nagios machine, but can from one of the servers being monitored by Nagios. e.g. Nagios -- check_nrpe -- asks dual-homed to check disk space on target1 -- check_nrpe -- dual-homed asks target1 to check diskspace -- check_disk -- DISK: OK I have a feeling, however, that NCSA might be a more appropriate tool for this task, but I have no experience of it. From what I understand, I believe it would be possible to run NRPE on the targets, use NCSA on the dual-homed host to execute the plugins on the targets via NRPE and submit the results to Nagios. Hope this gives you some food for thought! Regards, Andy dave stern - e-mail.pluribus.unum wrote: > This can be done without NRPE. We have a cluster on a private net. > The head node is visible from nagios so I wrote a plugin that lives > on the head node (The dual homed machine, in your case). On the nagios > side, a plugin ssh'es to the head node, runs the script which talks to > hosts on the private net and returns the output/status. > > On Sun, Jul 20, 2008 at 11:17 AM, stan wrote: > >> On Sun, Jul 20, 2008 at 10:46:39AM -0400, Paulus, Jake wrote: >> >>> You should really look into NRPE (Nagios Remote Plugin Execution) >>> http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe >>> >>> There are alternate versions of NRPE that run on Windows, etc. if you >>> must do that. Check out NagiosExchange.org for those. >>> >>> You should find that you can use normal plugins you already use >>> elsewhere with NRPE to do what you need. >>> >>> >> I'm not certain this is intended for exactly the application I have. perhaps >> it is, and I am misunderstanding it. let me clarify my application a bit >> with an ASCI diagram: >> >> ------------ ------------- -------------- >> | | | | | | >> | NAGIOS |----------| DUAL | | TARGET | >> | Host | | HOMED |---+----| | >> | | | Machine | | | | >> | | | | | | | >> ------------ ------------- | -------------- >> | >> | -------------- >> | | | >> | | TARGET | >> +----| | >> | | | >> | | | >> | -------------- >> ~ >> >> The Nagios host can get to the dual homed machine, and I can use all the >> standard plugins to get status from it. What I want to do is get status from >> the TARGETS. >> >> Are you suggesting using NAPE running on the dual homed machines? And somehow >> using this to query the targets? The web page you pointed out makes me >> believe that NAPE is intended to allow me to execute checks on a reachable >> machine, by using local scripts there, rather than having the NAGIOS machine >> use the more traditional check_* plugins. >> >> Am I confused? >> -- >> One of the main causes of the fall of the roman empire was that, lacking >> zero, they had no way to indicate successful termination of their C >> programs. >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the world >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 21 19:26:00 2008 From: marc at ena.com (Marc Powell) Date: Mon, 21 Jul 2008 12:26:00 -0500 Subject: installation problem In-Reply-To: <4884A044.6010703@free.fr> References: <488457CA.80301@free.fr> <9EA002F8-D1E4-491D-A532-FF95CACEA904@ena.com> <48848399.9080000@free.fr> <8377E464-7460-480C-BA3D-11238AD5F87D@ena.com> <4884A044.6010703@free.fr> Message-ID: AGAIN, please always respond on list. There are other, more knowledgeable, people on this list who may have valuable insight to help you resolve your problem. You'll also be helping people in the future who experience a similar issue and who search the archives. More comments below. (including most of original response for the list). On Jul 21, 2008, at 9:42 AM, Thierry Granier wrote: >> > Hello! > here is my config.log > > $ ./configure --with-command-group=nagcmd > > ## --------- ## > ## Platform. ## > ## --------- ## > > hostname = Thierry-Desktop > uname -m = i686 > uname -r = 2.6.25.9-0.2-pae > uname -s = Linux > uname -v = #1 SMP 2008-06-28 00:00:07 +0200 > > /usr/bin/uname -p = unknown > /bin/uname -X = unknown > > /bin/arch = i686 > /usr/bin/arch -k = unknown > /usr/convex/getsysinfo = unknown > hostinfo = unknown > /bin/machine = unknown > /usr/bin/oslevel = unknown > /bin/universe = unknown > > PATH: /sbin > PATH: /usr/sbin > PATH: /usr/local/sbin > PATH: /root/bin > PATH: /usr/local/bin > PATH: /usr/bin > PATH: /bin > PATH: /usr/bin/X11 > PATH: /usr/X11R6/bin > PATH: /usr/games > PATH: /opt/kde3/bin > PATH: /opt/cross/bin > PATH: /usr/lib/jvm/jre/bin > PATH: /usr/lib/mit/bin > PATH: /usr/lib/mit/sbin > PATH: /usr/lib/qt3/bin > > ## ----------- ## > ## Core tests. ## > ## ----------- ## > > configure:1352: checking for a BSD-compatible install > configure:1407: result: /usr/bin/install -c > configure:1426: checking build system type > configure:1444: result: i686-pc-linux-gnu > configure:1452: checking host system type > configure:1466: result: i686-pc-linux-gnu > configure:1521: checking for gcc > configure:1537: found /usr/bin/gcc > configure:1547: result: gcc > configure:1791: checking for C compiler version > configure:1794: gcc --version &5 > gcc (SUSE Linux) 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision > 135036] > Copyright (C) 2008 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There > is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR > PURPOSE. > > configure:1797: $? = 0 > configure:1799: gcc -v &5 > Using built-in specs. > Target: i586-suse-linux > Configured with: ../configure --prefix=/usr > - --with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/u > sr/share/man --libdir=/usr/lib --libexecdir=/usr/lib > - --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --en > able-checking=release --with-gxx-include-dir=/usr/include/c++/4.3 > - --enable-ssp --disable-libssp --with-bugurl=ht > tp://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable- > libgcj > - --with-slibdir=/lib --with-system-zlib - > - -enable-__cxa_atexit --enable-libstdcxx-allocator=new > - --disable-libstdcxx-pch --program-suffix=-4.3 --enable-ver > sion-specific-runtime-libs --enable-linux-futex > - --without-system-libunwind --with-cpu=generic --build=i586-suse- > linux > Thread model: posix > gcc version 4.3.1 20080507 (prerelease) [gcc-4_3-branch revision > 135036] > (SUSE Linux) > configure:1802: $? = 0 > configure:1804: gcc -V &5 > gcc: '-V' option must have argument > configure:1807: $? = 1 > configure:1830: checking for C compiler default output file name > configure:1833: gcc conftest.c >&5 > configure:1836: $? = 0 > configure:1882: result: a.out > configure:1887: checking whether the C compiler works > configure:1893: ./a.out > configure:1896: $? = 0 > configure:1913: result: yes > configure:1920: checking whether we are cross compiling > configure:1922: result: no > configure:1925: checking for suffix of executables > configure:1927: gcc -o conftest conftest.c >&5 > configure:1930: $? = 0 > configure:1955: result: > configure:1961: checking for suffix of object files > configure:1982: gcc -c conftest.c >&5 > configure:1985: $? = 0 > configure:2007: result: o > configure:2011: checking whether we are using the GNU C compiler > configure:2035: gcc -c conftest.c >&5 > configure:2041: $? = 0 > configure:2045: test -z > || test ! -s conftest.err > configure:2048: $? = 0 > configure:2051: test -s conftest.o > configure:2054: $? = 0 > configure:2067: result: yes > configure:2073: checking whether gcc accepts -g > configure:2094: gcc -c -g conftest.c >&5 > configure:2100: $? = 0 > configure:2104: test -z > || test ! -s conftest.err > configure:2107: $? = 0 > configure:2110: test -s conftest.o > configure:2113: $? = 0 > configure:2124: result: yes > configure:2141: checking for gcc option to accept ANSI C > configure:2211: gcc -c -g -O2 conftest.c >&5 > configure:2217: $? = 0 > configure:2221: test -z > || test ! -s conftest.err > configure:2224: $? = 0 > configure:2227: test -s conftest.o > configure:2230: $? = 0 > configure:2248: result: none needed > configure:2266: gcc -c -g -O2 conftest.c >&5 > conftest.c:2: error: expected '=', ',', ';', 'asm' or '__attribute__' > before 'me' > configure:2272: $? = 1 > configure: failed program was: > | #ifndef __cplusplus > | choke me > | #endif > configure:2405: checking whether make sets $(MAKE) > configure:2429: result: no > configure:2436: checking for strip > configure:2454: found /usr/bin/strip > configure:2467: result: /usr/bin/strip > configure:2481: checking how to run the C preprocessor > configure:2516: gcc -E conftest.c > configure:2522: $? = 0 > configure:2554: gcc -E conftest.c > conftest.c:9:28: error: ac_nonexistent.h: No such file or directory > configure:2560: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | /* end confdefs.h. */ > | #include > configure:2599: result: gcc -E > configure:2623: gcc -E conftest.c > configure:2629: $? = 0 > configure:2661: gcc -E conftest.c > conftest.c:9:28: error: ac_nonexistent.h: No such file or directory > configure:2667: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | /* end confdefs.h. */ > | #include > configure:2711: checking for egrep > configure:2721: result: grep -E > configure:2726: checking for ANSI C header files > configure:2751: gcc -c -g -O2 conftest.c >&5 > configure:2757: $? = 0 > configure:2761: test -z > || test ! -s conftest.err > configure:2764: $? = 0 > configure:2767: test -s conftest.o > configure:2770: $? = 0 > configure:2859: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c: In function 'main': > conftest.c:26: warning: incompatible implicit declaration of built-in > function 'exit' > configure:2862: $? = 0 > configure:2864: ./conftest > configure:2867: $? = 0 > configure:2882: result: yes > configure:2892: checking whether time.h and sys/time.h may both be > included > configure:2917: gcc -c -g -O2 conftest.c >&5 > configure:2923: $? = 0 > configure:2927: test -z > || test ! -s conftest.err > configure:2930: $? = 0 > configure:2933: test -s conftest.o > configure:2936: $? = 0 > configure:2947: result: yes > configure:2957: checking for sys/wait.h that is POSIX.1 compatible > configure:2988: gcc -c -g -O2 conftest.c >&5 > configure:2994: $? = 0 > configure:2998: test -z > || test ! -s conftest.err > configure:3001: $? = 0 > configure:3004: test -s conftest.o > configure:3007: $? = 0 > configure:3018: result: yes > configure:3042: checking for sys/types.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for sys/stat.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for stdlib.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for string.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for memory.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for strings.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for inttypes.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for stdint.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3042: checking for unistd.h > configure:3058: gcc -c -g -O2 conftest.c >&5 > configure:3064: $? = 0 > configure:3068: test -z > || test ! -s conftest.err > configure:3071: $? = 0 > configure:3074: test -s conftest.o > configure:3077: $? = 0 > configure:3088: result: yes > configure:3149: checking arpa/inet.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking arpa/inet.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for arpa/inet.h > configure:3272: result: yes > configure:3149: checking ctype.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking ctype.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for ctype.h > configure:3272: result: yes > configure:3149: checking dirent.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking dirent.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for dirent.h > configure:3272: result: yes > configure:3149: checking errno.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking errno.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for errno.h > configure:3272: result: yes > configure:3149: checking fcntl.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking fcntl.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for fcntl.h > configure:3272: result: yes > configure:3149: checking getopt.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking getopt.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for getopt.h > configure:3272: result: yes > configure:3149: checking grp.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking grp.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for grp.h > configure:3272: result: yes > configure:3149: checking libgen.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking libgen.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for libgen.h > configure:3272: result: yes > configure:3149: checking limits.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking limits.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for limits.h > configure:3272: result: yes > configure:3149: checking math.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking math.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for math.h > configure:3272: result: yes > configure:3149: checking netdb.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking netdb.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for netdb.h > configure:3272: result: yes > configure:3149: checking netinet/in.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking netinet/in.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for netinet/in.h > configure:3272: result: yes > configure:3149: checking pthread.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking pthread.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for pthread.h > configure:3272: result: yes > configure:3149: checking pthreads.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > conftest.c:68:22: error: pthreads.h: No such file or directory > configure:3167: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | /* end confdefs.h. */ > | #include > | #if HAVE_SYS_TYPES_H > | # include > | #endif > | #if HAVE_SYS_STAT_H > | # include > | #endif > | #if STDC_HEADERS > | # include > | # include > | #else > | # if HAVE_STDLIB_H > | # include > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include > | # endif > | # include > | #endif > | #if HAVE_STRINGS_H > | # include > | #endif > | #if HAVE_INTTYPES_H > | # include > | #else > | # if HAVE_STDINT_H > | # include > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include > | #endif > | #include > configure:3190: result: no > configure:3194: checking pthreads.h presence > configure:3204: gcc -E conftest.c > conftest.c:34:22: error: pthreads.h: No such file or directory > configure:3210: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | /* end confdefs.h. */ > | #include > configure:3230: result: no > configure:3265: checking for pthreads.h > configure:3272: result: no > configure:3149: checking pwd.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking pwd.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for pwd.h > configure:3272: result: yes > configure:3149: checking regex.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking regex.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for regex.h > configure:3272: result: yes > configure:3149: checking signal.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking signal.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for signal.h > configure:3272: result: yes > configure:3149: checking socket.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > conftest.c:71:20: error: socket.h: No such file or directory > configure:3167: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | #define HAVE_PWD_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SIGNAL_H 1 > | /* end confdefs.h. */ > | #include > | #if HAVE_SYS_TYPES_H > | # include > | #endif > | #if HAVE_SYS_STAT_H > | # include > | #endif > | #if STDC_HEADERS > | # include > | # include > | #else > | # if HAVE_STDLIB_H > | # include > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include > | # endif > | # include > | #endif > | #if HAVE_STRINGS_H > | # include > | #endif > | #if HAVE_INTTYPES_H > | # include > | #else > | # if HAVE_STDINT_H > | # include > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include > | #endif > | #include > configure:3190: result: no > configure:3194: checking socket.h presence > configure:3204: gcc -E conftest.c > conftest.c:37:20: error: socket.h: No such file or directory > configure:3210: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | #define HAVE_PWD_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SIGNAL_H 1 > | /* end confdefs.h. */ > | #include > configure:3230: result: no > configure:3265: checking for socket.h > configure:3272: result: no > configure:3149: checking stdarg.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking stdarg.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for stdarg.h > configure:3272: result: yes > configure:3140: checking for string.h > configure:3145: result: yes > configure:3140: checking for strings.h > configure:3145: result: yes > configure:3149: checking sys/mman.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/mman.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/mman.h > configure:3272: result: yes > configure:3140: checking for sys/types.h > configure:3145: result: yes > configure:3149: checking sys/time.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/time.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/time.h > configure:3272: result: yes > configure:3149: checking sys/resource.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/resource.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/resource.h > configure:3272: result: yes > configure:3140: checking for sys/wait.h > configure:3145: result: yes > configure:3149: checking sys/socket.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/socket.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/socket.h > configure:3272: result: yes > configure:3140: checking for sys/stat.h > configure:3145: result: yes > configure:3149: checking sys/timeb.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/timeb.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/timeb.h > configure:3272: result: yes > configure:3149: checking sys/un.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/un.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/un.h > configure:3272: result: yes > configure:3149: checking sys/ipc.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/ipc.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/ipc.h > configure:3272: result: yes > configure:3149: checking sys/msg.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/msg.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/msg.h > configure:3272: result: yes > configure:3149: checking sys/poll.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking sys/poll.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for sys/poll.h > configure:3272: result: yes > configure:3149: checking syslog.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > configure:3167: $? = 0 > configure:3171: test -z > || test ! -s conftest.err > configure:3174: $? = 0 > configure:3177: test -s conftest.o > configure:3180: $? = 0 > configure:3190: result: yes > configure:3194: checking syslog.h presence > configure:3204: gcc -E conftest.c > configure:3210: $? = 0 > configure:3230: result: yes > configure:3265: checking for syslog.h > configure:3272: result: yes > configure:3149: checking uio.h usability > configure:3161: gcc -c -g -O2 conftest.c >&5 > conftest.c:87:17: error: uio.h: No such file or directory > configure:3167: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | #define HAVE_PWD_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SIGNAL_H 1 > | #define HAVE_STDARG_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_SYS_MMAN_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_TIME_H 1 > | #define HAVE_SYS_RESOURCE_H 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_SOCKET_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_SYS_TIMEB_H 1 > | #define HAVE_SYS_UN_H 1 > | #define HAVE_SYS_IPC_H 1 > | #define HAVE_SYS_MSG_H 1 > | #define HAVE_SYS_POLL_H 1 > | #define HAVE_SYSLOG_H 1 > | /* end confdefs.h. */ > | #include > | #if HAVE_SYS_TYPES_H > | # include > | #endif > | #if HAVE_SYS_STAT_H > | # include > | #endif > | #if STDC_HEADERS > | # include > | # include > | #else > | # if HAVE_STDLIB_H > | # include > | # endif > | #endif > | #if HAVE_STRING_H > | # if !STDC_HEADERS && HAVE_MEMORY_H > | # include > | # endif > | # include > | #endif > | #if HAVE_STRINGS_H > | # include > | #endif > | #if HAVE_INTTYPES_H > | # include > | #else > | # if HAVE_STDINT_H > | # include > | # endif > | #endif > | #if HAVE_UNISTD_H > | # include > | #endif > | #include > configure:3190: result: no > configure:3194: checking uio.h presence > configure:3204: gcc -E conftest.c > conftest.c:53:17: error: uio.h: No such file or directory > configure:3210: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | #define HAVE_PWD_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SIGNAL_H 1 > | #define HAVE_STDARG_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_SYS_MMAN_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_TIME_H 1 > | #define HAVE_SYS_RESOURCE_H 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_SOCKET_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_SYS_TIMEB_H 1 > | #define HAVE_SYS_UN_H 1 > | #define HAVE_SYS_IPC_H 1 > | #define HAVE_SYS_MSG_H 1 > | #define HAVE_SYS_POLL_H 1 > | #define HAVE_SYSLOG_H 1 > | /* end confdefs.h. */ > | #include > configure:3230: result: no > configure:3265: checking for uio.h > configure:3272: result: no > configure:3140: checking for unistd.h > configure:3145: result: yes > configure:3286: checking for an ANSI C-conforming const > configure:3353: gcc -c -g -O2 conftest.c >&5 > configure:3359: $? = 0 > configure:3363: test -z > || test ! -s conftest.err > configure:3366: $? = 0 > configure:3369: test -s conftest.o > configure:3372: $? = 0 > configure:3383: result: yes > configure:3393: checking whether struct tm is in sys/time.h or time.h > configure:3416: gcc -c -g -O2 conftest.c >&5 > configure:3422: $? = 0 > configure:3426: test -z > || test ! -s conftest.err > configure:3429: $? = 0 > configure:3432: test -s conftest.o > configure:3435: $? = 0 > configure:3446: result: time.h > configure:3456: checking for struct tm.tm_zone > configure:3482: gcc -c -g -O2 conftest.c >&5 > configure:3488: $? = 0 > configure:3492: test -z > || test ! -s conftest.err > configure:3495: $? = 0 > configure:3498: test -s conftest.o > configure:3501: $? = 0 > configure:3561: result: yes > configure:3646: checking for mode_t > configure:3670: gcc -c -g -O2 conftest.c >&5 > configure:3676: $? = 0 > configure:3680: test -z > || test ! -s conftest.err > configure:3683: $? = 0 > configure:3686: test -s conftest.o > configure:3689: $? = 0 > configure:3700: result: yes > configure:3712: checking for pid_t > configure:3736: gcc -c -g -O2 conftest.c >&5 > configure:3742: $? = 0 > configure:3746: test -z > || test ! -s conftest.err > configure:3749: $? = 0 > configure:3752: test -s conftest.o > configure:3755: $? = 0 > configure:3766: result: yes > configure:3778: checking for size_t > configure:3802: gcc -c -g -O2 conftest.c >&5 > configure:3808: $? = 0 > configure:3812: test -z > || test ! -s conftest.err > configure:3815: $? = 0 > configure:3818: test -s conftest.o > configure:3821: $? = 0 > configure:3832: result: yes > configure:3844: checking return type of signal handlers > configure:3875: gcc -c -g -O2 conftest.c >&5 > configure:3881: $? = 0 > configure:3885: test -z > || test ! -s conftest.err > configure:3888: $? = 0 > configure:3891: test -s conftest.o > configure:3894: $? = 0 > configure:3905: result: void > configure:3913: checking for uid_t in sys/types.h > configure:3936: result: yes > configure:3951: checking type of array argument to getgroups > configure:3989: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c: In function 'main': > conftest.c:77: warning: incompatible implicit declaration of built-in > function 'exit' > configure:3992: $? = 0 > configure:3994: ./conftest > configure:3997: $? = 0 > configure:4030: result: gid_t > configure:4040: checking for va_copy > configure:4063: gcc -o conftest -g -O2 conftest.c >&5 > configure:4069: $? = 0 > configure:4073: test -z > || test ! -s conftest.err > configure:4076: $? = 0 > configure:4079: test -s conftest > configure:4082: $? = 0 > configure:4094: result: yes > configure:4168: checking for vsnprintf > configure:4225: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c:83: warning: conflicting types for built-in function > 'vsnprintf' > configure:4231: $? = 0 > configure:4235: test -z > || test ! -s conftest.err > configure:4238: $? = 0 > configure:4241: test -s conftest > configure:4244: $? = 0 > configure:4256: result: yes > configure:4264: checking for snprintf > configure:4321: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c:83: warning: conflicting types for built-in function > 'snprintf' > configure:4327: $? = 0 > configure:4331: test -z > || test ! -s conftest.err > configure:4334: $? = 0 > configure:4337: test -s conftest > configure:4340: $? = 0 > configure:4352: result: yes > configure:4360: checking for asprintf > configure:4417: gcc -o conftest -g -O2 conftest.c >&5 > configure:4423: $? = 0 > configure:4427: test -z > || test ! -s conftest.err > configure:4430: $? = 0 > configure:4433: test -s conftest > configure:4436: $? = 0 > configure:4448: result: yes > configure:4456: checking for vasprintf > configure:4513: gcc -o conftest -g -O2 conftest.c >&5 > configure:4519: $? = 0 > configure:4523: test -z > || test ! -s conftest.err > configure:4526: $? = 0 > configure:4529: test -s conftest > configure:4532: $? = 0 > configure:4544: result: yes > configure:4553: checking for C99 vsnprintf > configure:4594: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c: In function 'foo': > conftest.c:70: warning: incompatible implicit declaration of built-in > function 'exit' > conftest.c:77: warning: incompatible implicit declaration of built-in > function 'snprintf' > configure:4597: $? = 0 > configure:4599: ./conftest > configure:4602: $? = 0 > configure:4616: result: yes > configure:4639: checking for initgroups > configure:4696: gcc -o conftest -g -O2 conftest.c >&5 > configure:4702: $? = 0 > configure:4706: test -z > || test ! -s conftest.err > configure:4709: $? = 0 > configure:4712: test -s conftest > configure:4715: $? = 0 > configure:4727: result: yes > configure:4639: checking for setenv > configure:4696: gcc -o conftest -g -O2 conftest.c >&5 > configure:4702: $? = 0 > configure:4706: test -z > || test ! -s conftest.err > configure:4709: $? = 0 > configure:4712: test -s conftest > configure:4715: $? = 0 > configure:4727: result: yes > configure:4639: checking for strdup > configure:4696: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c:86: warning: conflicting types for built-in function > 'strdup' > configure:4702: $? = 0 > configure:4706: test -z > || test ! -s conftest.err > configure:4709: $? = 0 > configure:4712: test -s conftest > configure:4715: $? = 0 > configure:4727: result: yes > configure:4639: checking for strstr > configure:4696: gcc -o conftest -g -O2 conftest.c >&5 > conftest.c:87: warning: conflicting types for built-in function > 'strstr' > configure:4702: $? = 0 > configure:4706: test -z > || test ! -s conftest.err > configure:4709: $? = 0 > configure:4712: test -s conftest > configure:4715: $? = 0 > configure:4727: result: yes > configure:4639: checking for strtoul > configure:4696: gcc -o conftest -g -O2 conftest.c >&5 > configure:4702: $? = 0 > configure:4706: test -z > || test ! -s conftest.err > configure:4709: $? = 0 > configure:4712: test -s conftest > configure:4715: $? = 0 > configure:4727: result: yes > configure:4639: checking for unsetenv > configure:4696: gcc -o conftest -g -O2 conftest.c >&5 > configure:4702: $? = 0 > configure:4706: test -z > || test ! -s conftest.err > configure:4709: $? = 0 > configure:4712: test -s conftest > configure:4715: $? = 0 > configure:4727: result: yes > configure:4738: checking for type of socket size > configure:4759: gcc -c -g -O2 conftest.c >&5 > configure:4765: $? = 0 > configure:4769: test -z > || test ! -s conftest.err > configure:4772: $? = 0 > configure:4775: test -s conftest.o > configure:4778: $? = 0 > configure:4783: result: size_t > configure:4803: checking for pthread_create in -lcma > configure:4833: gcc -o conftest -g -O2 conftest.c -lcma >&5 > /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: > cannot find -lcma > collect2: ld returned 1 exit status > configure:4839: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | #define HAVE_PWD_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SIGNAL_H 1 > | #define HAVE_STDARG_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_SYS_MMAN_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_TIME_H 1 > | #define HAVE_SYS_RESOURCE_H 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_SOCKET_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_SYS_TIMEB_H 1 > | #define HAVE_SYS_UN_H 1 > | #define HAVE_SYS_IPC_H 1 > | #define HAVE_SYS_MSG_H 1 > | #define HAVE_SYS_POLL_H 1 > | #define HAVE_SYSLOG_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_STRUCT_TM_TM_ZONE 1 > | #define HAVE_TM_ZONE 1 > | #define RETSIGTYPE void > | #define GETGROUPS_T gid_t > | #define HAVE_VA_COPY 1 > | #define HAVE_C99_VSNPRINTF 1 > | #define HAVE_INITGROUPS 1 > | #define HAVE_SETENV 1 > | #define HAVE_STRDUP 1 > | #define HAVE_STRSTR 1 > | #define HAVE_STRTOUL 1 > | #define HAVE_UNSETENV 1 > | #define SOCKET_SIZE_TYPE size_t > | /* end confdefs.h. */ > | > | /* Override any gcc2 internal prototype to avoid an error. */ > | #ifdef __cplusplus > | extern "C" > | #endif > | /* We use char because int might match the return type of a gcc2 > | builtin and then its argument prototype would still apply. */ > | char pthread_create (); > | int > | main () > | { > | pthread_create (); > | ; > | return 0; > | } > configure:4865: result: no > configure:4875: checking for pthread_create in -lpthread > configure:4905: gcc -o conftest -g -O2 conftest.c -lpthread >&5 > configure:4911: $? = 0 > configure:4915: test -z > || test ! -s conftest.err > configure:4918: $? = 0 > configure:4921: test -s conftest > configure:4924: $? = 0 > configure:4937: result: yes > configure:5242: checking for library containing nanosleep > configure:5272: gcc -o conftest -g -O2 conftest.c >&5 > configure:5278: $? = 0 > configure:5282: test -z > || test ! -s conftest.err > configure:5285: $? = 0 > configure:5288: test -s conftest > configure:5291: $? = 0 > configure:5361: result: none required > configure:5437: checking for mail > configure:5455: found /usr/bin/mail > configure:5467: result: /usr/bin/mail > configure:5704: checking for main in -liconv > configure:5728: gcc -o conftest -g -O2 conftest.c -liconv >&5 > /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: > cacollect2: ld returned 1 exit status > configure:5734: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | #define HAVE_PWD_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SIGNAL_H 1 > | #define HAVE_STDARG_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_SYS_MMAN_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_TIME_H 1 > | #define HAVE_SYS_RESOURCE_H 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_SOCKET_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_SYS_TIMEB_H 1 > | #define HAVE_SYS_UN_H 1 > | #define HAVE_SYS_IPC_H 1 > | #define HAVE_SYS_MSG_H 1 > | #define HAVE_SYS_POLL_H 1 > | #define HAVE_SYSLOG_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_STRUCT_TM_TM_ZONE 1 > | #define HAVE_TM_ZONE 1 > | #define RETSIGTYPE void > | #define GETGROUPS_T gid_t > | #define HAVE_VA_COPY 1 > | #define HAVE_C99_VSNPRINTF 1 > cannot fi| #define HAVE_INITGROUPS 1 > | #define HAVE_SETENV 1 > | #define HAVE_STRDUP 1 > | #define HAVE_STRSTR 1 > | #define HAVE_STRTOUL 1 > | #define HAVE_UNSETENV 1 > | #define SOCKET_SIZE_TYPE size_t > | #define DEFAULT_NAGIOS_USER "nagios" > | #define DEFAULT_NAGIOS_GROUP "nagios" > | #define USE_XSDDEFAULT 1 > | #define USE_XCDDEFAULT 1 > | #define USE_XRDDEFAULT 1 > | #define USE_XODTEMPLATE 1 > | #define USE_XPDDEFAULT 1 > | #define USE_XDDDEFAULT 1 > | #define USE_STATUSWRL 1 > | /* end confdefs.h. */ > | > | > | int > | main () > | { > | main (); > | ; > | return 0; > | } > configure:5760: result: no > configure:5768: checking for gdImagePng in -lgd (order 1) > configure:5796: gcc -o conftest -g -O2 conftest.c -lgd -lttf -lpng > - -ljpeg -lz -lm >&5 > /usr/lib/gcc/i586-suse-linux/4.3/../../../../i586-suse-linux/bin/ld: > cannot find -lttf > collect2: ld returned 1 exit status > configure:5802: $? = 1 > configure: failed program was: > | /* confdefs.h. */ > | > | #define PACKAGE_NAME "" > | #define PACKAGE_TARNAME "" > | #define PACKAGE_VERSION "" > | #define PACKAGE_STRING "" > | #define PACKAGE_BUGREPORT "" > | #define STDC_HEADERS 1 > | #define TIME_WITH_SYS_TIME 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_STDLIB_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_MEMORY_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_INTTYPES_H 1 > | #define HAVE_STDINT_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_ARPA_INET_H 1 > | #define HAVE_CTYPE_H 1 > | #define HAVE_DIRENT_H 1 > | #define HAVE_ERRNO_H 1 > | #define HAVE_FCNTL_H 1 > | #define HAVE_GETOPT_H 1 > | #define HAVE_GRP_H 1 > | #define HAVE_LIBGEN_H 1 > | #define HAVE_LIMITS_H 1 > | #define HAVE_MATH_H 1 > | #define HAVE_NETDB_H 1 > | #define HAVE_NETINET_IN_H 1 > | #define HAVE_PTHREAD_H 1 > | #define HAVE_PWD_H 1 > | #define HAVE_REGEX_H 1 > | #define HAVE_SIGNAL_H 1 > | #define HAVE_STDARG_H 1 > | #define HAVE_STRING_H 1 > | #define HAVE_STRINGS_H 1 > | #define HAVE_SYS_MMAN_H 1 > | #define HAVE_SYS_TYPES_H 1 > | #define HAVE_SYS_TIME_H 1 > | #define HAVE_SYS_RESOURCE_H 1 > | #define HAVE_SYS_WAIT_H 1 > | #define HAVE_SYS_SOCKET_H 1 > | #define HAVE_SYS_STAT_H 1 > | #define HAVE_SYS_TIMEB_H 1 > | #define HAVE_SYS_UN_H 1 > | #define HAVE_SYS_IPC_H 1 > | #define HAVE_SYS_MSG_H 1 > | #define HAVE_SYS_POLL_H 1 > | #define HAVE_SYSLOG_H 1 > | #define HAVE_UNISTD_H 1 > | #define HAVE_STRUCT_TM_TM_ZONE 1 > | #define HAVE_TM_ZONE 1 > | #define RETSIGTYPE void > | #define GETGROUPS_T gid_t > | #define HAVE_VA_COPY 1 > | #define HAVE_C99_VSNPRINTF 1 > | #define HAVE_INITGROUPS 1 > | #define HAVE_SETENV 1 > | #define HAVE_STRDUP 1 > | #define HAVE_STRSTR 1 > | #define HAVE_STRTOUL 1 > | #define HAVE_UNSETENV 1 > | #define SOCKET_SIZE_TYPE size_t > | #define DEFAULT_NAGIOS_USER "nagios" > | #define DEFAULT_NAGIOS_GROUP "nagios" > | #define USE_XSDDEFAULT 1 > | #define USE_XCDDEFAULT 1 > | #define USE_XRDDEFAULT 1 > | #define USE_XODTEMPLATE 1 > | #define USE_XPDDEFAULT 1 > | #define USE_XDDDEFAULT 1 > | #define USE_STATUSWRL 1 > | /* end confdefs.h. */ > | /* Override any gcc2 internal prototype to avoid an error. */ > | /* We use char because int might match the return type of a gcc2 > | builtin and then its argument prototype would still apply. */ > | char gdImagePng(); > | > | int > | main () > | { > | gdImagePng() > | ; > | return 0; > | } > configure:5837: result: no > configure:5844: checking for gdImagePng in -lgd (order 2) > configure:5872: gcc -o conftest -g -O2 conftest.c -lgd -lpng -ljpeg > - -lz -lm >&5 > configure:5878: $? = 0 > configure:5882: test -z > || test ! -s conftest.err > configure:5885: $? = 0 > configure:5888: test -s conftest > configure:5891: $? = 0 > configure:5906: result: yes > configure:6206: checking ltdl.h usability > configure:6218: gcc -c -g -O2 conftest.c >&5 > configure:6224: $? = 0 > configure:6228: test -z > || test ! -s conftest.err > configure:6231: $? = 0 > configure:6234: test -s conftest.o > configure:6237: $? = 0 > configure:6247: result: yes > configure:6251: checking ltdl.h presence > configure:6261: gcc -E conftest.c > configure:6267: $? = 0 > configure:6287: result: yes > configure:6322: checking for ltdl.h > configure:6329: result: yes > configure:6335: checking for lt_dlinit in -lltdl > configure:6365: gcc -o conftest -g -O2 conftest.c -lltdl >&5 > configure:6371: $? = 0 > configure:6375: test -z > || test ! -s conftest.err > configure:6378: $? = 0 > configure:6381: test -s conftest > configure:6384: $? = 0 > configure:6397: result: yes > configure:6645: checking for extra flags needed to export symbols > configure:6673: gcc -o conftest -g -O2 -Wl,-export-dynamic > conftest.c >&5 > configure:6679: $? = 0 > configure:6683: test -z > || test ! -s conftest.err > configure:6686: $? = 0 > configure:6689: test -s conftest > configure:6692: $? = 0 > configure:6756: result: -Wl,-export-dynamic > configure:6760: checking for linker flags for loadable modules > configure:6794: result: -shared > configure:6910: checking for traceroute > configure:6928: found /usr/sbin/traceroute > configure:6940: result: /usr/sbin/traceroute > configure:6959: checking for type va_list > configure:6985: gcc -c -g -O2 conftest.c >&5 > configure:6991: $? = 0 > configure:6995: test -z > || test ! -s conftest.err > configure:6998: $? = 0 > configure:7001: test -s conftest.o > configure:7004: $? = 0 > configure:7006: result: yes > configure:7032: checking for perl > configure:7050: found /usr/bin/perl > configure:7062: result: /usr/bin/perl > configure:7112: creating ./config.status > > ## ---------------------- ## > This file was extended by config.status, which was > generated by GNU Autoconf 2.59. Invocation command line was > > CONFIG_FILES = > CONFIG_HEADERS = > CONFIG_LINKS = > CONFIG_COMMANDS = > $ ./config.status > > on Thierry-Desktop > > config.status:726: creating Makefile > config.status:726: creating subst > config.status:726: creating pkginfo > config.status:726: creating base/Makefile > config.status:726: creating common/Makefile > config.status:726: creating contrib/Makefile > config.status:726: creating cgi/Makefile > config.status:726: creating html/Makefile > config.status:726: creating module/Makefile > config.status:726: creating xdata/Makefile > config.status:726: creating daemon-init > config.status:726: creating html/index.html > config.status:726: creating html/side.html > config.status:830: creating include/config.h > config.status:1102: include/config.h is unchanged > config.status:830: creating include/snprintf.h > config.status:1102: include/snprintf.h is unchanged > config.status:830: creating include/cgiutils.h > config.status:1102: include/cgiutils.h is unchanged > configure:8238: result: *** Configuration summary for nagios 3.0.3 > 06-25-2008 ***: > configure:8245: result: Nagios executable: nagios > configure:8247: result: Nagios user/group: nagios,nagios > configure:8249: result: Command user/group: nagios,nagcmd > configure:8260: result: Embedded Perl: no > configure:8264: result: Event Broker: yes > configure:8270: result: Install ${prefix}: /usr/local/nagios > configure:8272: result: Lock file: > ${prefix}/var/nagios.lock > configure:8274: result: Check result directory: > ${prefix}/var/spool/checkresults > configure:8276: result: Init directory: /etc/rc.d > configure:8278: result: Apache conf.d directory: /etc/apache2/ > conf.d > configure:8280: result: Mail program: /usr/bin/mail > configure:8282: result: Host OS: linux-gnu > configure:8289: result: HTML URL: http://localhost/nagios/ > configure:8291: result: CGI URL: > http://localhost/nagios/cgi-bin/ > configure:8293: result: Traceroute (used by WAP): /usr/sbin/ > traceroute > > ## ---------------- ## > ## Cache variables. ## > ## ---------------- ## > > ac_cv_HAVE_C99_VSNPRINTF=yes > ac_cv_HAVE_VA_COPY=yes > ac_cv_build=i686-pc-linux-gnu > ac_cv_build_alias=i686-pc-linux-gnu > ac_cv_c_compiler_gnu=yes > ac_cv_c_const=yes > ac_cv_env_CC_set= > ac_cv_env_CC_value= > ac_cv_env_CFLAGS_set= > ac_cv_env_CFLAGS_value= > ac_cv_env_CPPFLAGS_set= > ac_cv_env_CPPFLAGS_value= > ac_cv_env_CPP_set= > ac_cv_env_CPP_value= > ac_cv_env_LDFLAGS_set= > ac_cv_env_LDFLAGS_value= > ac_cv_env_build_alias_set= > ac_cv_env_build_alias_value= > ac_cv_env_host_alias_set= > ac_cv_env_host_alias_value= > ac_cv_env_target_alias_set= > ac_cv_env_target_alias_value= > ac_cv_exeext= > ac_cv_func_asprintf=yes > ac_cv_func_initgroups=yes > ac_cv_func_setenv=yes > ac_cv_func_snprintf=yes > ac_cv_func_strdup=yes > ac_cv_func_strstr=yes > ac_cv_func_strtoul=yes > ac_cv_func_unsetenv=yes > ac_cv_func_vasprintf=yes > ac_cv_func_vsnprintf=yes > ac_cv_header_arpa_inet_h=yes > ac_cv_header_ctype_h=yes > ac_cv_header_dirent_h=yes > ac_cv_header_errno_h=yes > ac_cv_header_fcntl_h=yes > ac_cv_header_getopt_h=yes > ac_cv_header_grp_h=yes > ac_cv_header_inttypes_h=yes > ac_cv_header_libgen_h=yes > ac_cv_header_limits_h=yes > ac_cv_header_ltdl_h=yes > ac_cv_header_math_h=yes > ac_cv_header_memory_h=yes > ac_cv_header_netdb_h=yes > ac_cv_header_netinet_in_h=yes > ac_cv_header_pthread_h=yes > ac_cv_header_pthreads_h=no > ac_cv_header_pwd_h=yes > ac_cv_header_regex_h=yes > ac_cv_header_signal_h=yes > ac_cv_header_socket_h=no > ac_cv_header_stdarg_h=yes > ac_cv_header_stdc=yes > ac_cv_header_stdint_h=yes > ac_cv_header_stdlib_h=yes > ac_cv_header_string_h=yes > ac_cv_header_strings_h=yes > ac_cv_header_sys_ipc_h=yes > ac_cv_header_sys_mman_h=yes > ac_cv_header_sys_msg_h=yes > ac_cv_header_sys_poll_h=yes > ac_cv_header_sys_resource_h=yes > ac_cv_header_sys_socket_h=yes > ac_cv_header_sys_stat_h=yes > ac_cv_header_sys_time_h=yes > ac_cv_header_sys_timeb_h=yes > ac_cv_header_sys_types_h=yes > ac_cv_header_sys_un_h=yes > ac_cv_header_sys_wait_h=yes > ac_cv_header_syslog_h=yes > ac_cv_header_time=yes > ac_cv_header_uio_h=no > ac_cv_header_unistd_h=yes > ac_cv_host=i686-pc-linux-gnu > ac_cv_host_alias=i686-pc-linux-gnu > ac_cv_lib_cma_pthread_create=no > ac_cv_lib_gd_gdImagePng_1=no > ac_cv_lib_gd_gdImagePng_2=yes > ac_cv_lib_iconv_main=no > ac_cv_lib_ltdl_lt_dlinit=yes > ac_cv_lib_pthread_pthread_create=yes > ac_cv_member_struct_tm_tm_zone=yes > ac_cv_objext=o > ac_cv_path_MAIL_PROG=/usr/bin/mail > ac_cv_path_PATH_TO_TRACEROUTE=/usr/sbin/traceroute > ac_cv_path_PERL=/usr/bin/perl > ac_cv_path_STRIP=/usr/bin/strip > ac_cv_path_install='/usr/bin/install -c' > ac_cv_prog_CPP='gcc -E' > ac_cv_prog_ac_ct_CC=gcc > ac_cv_prog_cc_g=yes > ac_cv_prog_cc_stdc= > ac_cv_prog_egrep='grep -E' > ac_cv_prog_make_make_set=no > ac_cv_search_nanosleep='none required' > ac_cv_struct_tm=time.h > ac_cv_type_getgroups=gid_t > ac_cv_type_mode_t=yes > ac_cv_type_pid_t=yes > ac_cv_type_signal=void > ac_cv_type_size_t=yes > ac_cv_type_uid_t=yes > > ## ----------------- ## > ## Output variables. ## > ## ----------------- ## > > BASEEXTRALIBS='' > BROKERLIBS=' -lltdl' > BROKER_H='../include/broker.h ../include/nebmods.h > ../include/nebmodules.h ../include/nebcallbacks.h ../include/ > neberrors.h' > BROKER_LDFLAGS=' -Wl,-export-dynamic' > BROKER_O='broker.o nebmods.o' > CC='gcc' > CFLAGS='-g -O2' > CGIEXTRAS=' statuswrl.cgi statusmap.cgi trends.cgi histogram.cgi' > CHECKRESULTDIR='${prefix}/var/spool/checkresults' > COMMAND_OPTS='-o nagios -g nagcmd' > CPP='gcc -E' > CPPFLAGS='' > DEFS='-DHAVE_CONFIG_H' > ECHO_C='' > ECHO_N='-n' > ECHO_T='' > EGREP='grep -E' > EXEEXT='' > GDLIBS='-lgd -lpng -ljpeg -lz -lm' > GLIB_INCLUDE='-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include ' > GLIB_LIBS='-lglib-2.0 ' > HTTPD_CONF='/etc/apache2/conf.d' > INITDIR='' > INSTALL='/usr/bin/install -c' > INSTALLPERLSTUFF='no' > INSTALL_DATA='${INSTALL} -m 644' > INSTALL_OPTS='-o nagios -g nagios' > INSTALL_PROGRAM='${INSTALL}' > INSTALL_SCRIPT='${INSTALL}' > LDFLAGS='' > LIBOBJS='' > LIBS='' > LTLIBOBJS='' > MAIL_PROG='/usr/bin/mail' > MOD_CFLAGS='-fPIC' > MOD_LDFLAGS='-shared' > OBJEXT='o' > PACKAGE_BUGREPORT='' > PACKAGE_NAME='' > PACKAGE_STRING='' > PACKAGE_TARNAME='' > PACKAGE_VERSION='' > PACKDIR='/Nagios/nagios-3.0.3/pkg' > PATH_SEPARATOR=':' > PATH_TO_TRACEROUTE='/usr/sbin/traceroute' > PERL='/usr/bin/perl' > PERLDIR='' > PERLLIBS='' > PERLXSI_O='' > SET_MAKE='MAKE=make' > SHELL='/bin/sh' > SNPRINTF_O='' > SOCKETLIBS='' > STRIP='/usr/bin/strip' > THREADLIBS=' -lpthread' > TMPDIR='/tmp' > USE_EVENTBROKER='yes' > VERSION='3.0.3' > XCDC='xcddefault.c' > XCDH='xcddefault.h' > XDDC='xdddefault.c' > XDDH='xdddefault.h' > XODC='xodtemplate.c' > XODH='xodtemplate.h' > XPDC='xpddefault.c' > XPDH='xpddefault.h' > XRDC='xrddefault.c' > XRDH='xrddefault.h' > XSDC='xsddefault.c' > XSDH='xsddefault.h' > ac_ct_CC='gcc' > bindir='${exec_prefix}/bin' > build='i686-pc-linux-gnu' > build_alias='' > build_cpu='i686' > build_os='linux-gnu' > build_vendor='pc' > cgiurl='/nagios/cgi-bin' > command_grp='nagcmd' > command_user='nagios' > datadir='${prefix}/share' > exec_prefix='${prefix}' > host='i686-pc-linux-gnu' > host_alias='' > host_cpu='i686' > host_os='linux-gnu' > host_vendor='pc' > htmurl='/nagios' > includedir='${prefix}/include' > infodir='${prefix}/info' > init_dir='/etc/rc.d' > libdir='${exec_prefix}/lib' > libexecdir='${exec_prefix}/libexec' > localstatedir='${prefix}/var' > lockfile='${prefix}/var/nagios.lock' > mandir='${prefix}/man' > nagios_grp='nagios' > nagios_name='nagios' > nagios_user='nagios' > nagiostats_name='nagiostats' > oldincludedir='/usr/include' > prefix='/usr/local/nagios' > program_transform_name='s,x,x,' > sbindir='${exec_prefix}/sbin' > sharedstatedir='${prefix}/com' > sysconfdir='${prefix}/etc' > target_alias='' > > ## ----------- ## > ## confdefs.h. ## > ## ----------- ## > > #define DEFAULT_NAGIOS_GROUP "nagios" > #define DEFAULT_NAGIOS_USER "nagios" > #define DO_CLEAN "1" > #define GETGROUPS_T gid_t > #define HAVE_ARPA_INET_H 1 > #define HAVE_C99_VSNPRINTF 1 > #define HAVE_CTYPE_H 1 > #define HAVE_DIRENT_H 1 > #define HAVE_ERRNO_H 1 > #define HAVE_FCNTL_H 1 > #define HAVE_GETOPT_H 1 > #define HAVE_GLIB 1 > #define HAVE_GLIB_H 1 > #define HAVE_GRP_H 1 > #define HAVE_INITGROUPS 1 > #define HAVE_INTTYPES_H 1 > #define HAVE_LIBGEN_H 1 > #define HAVE_LIMITS_H 1 > #define HAVE_LTDL_H 1 > #define HAVE_MATH_H 1 > #define HAVE_MEMORY_H 1 > #define HAVE_NETDB_H 1 > #define HAVE_NETINET_IN_H 1 > #define HAVE_PTHREAD_H 1 > #define HAVE_PWD_H 1 > #define HAVE_REGEX_H 1 > #define HAVE_SETENV 1 > #define HAVE_SIGNAL_H 1 > #define HAVE_PTHREAD_H 1 > #define HAVE_PWD_H 1 > #define HAVE_REGEX_H 1 > #define HAVE_SETENV 1 > #define HAVE_SIGNAL_H 1 > #define HAVE_STDARG_H 1 > #define HAVE_STDINT_H 1 > #define HAVE_STDLIB_H 1 > #define HAVE_STRDUP 1 > #define HAVE_STRINGS_H 1 > #define HAVE_STRINGS_H 1 > #define HAVE_STRING_H 1 > #define HAVE_STRING_H 1 > #define HAVE_STRSTR 1 > #define HAVE_STRTOUL 1 > #define HAVE_STRUCT_TM_TM_ZONE 1 > #define HAVE_SYSLOG_H 1 > #define HAVE_SYS_IPC_H 1 > #define HAVE_SYS_MMAN_H 1 > #define HAVE_SYS_MSG_H 1 > #define HAVE_SYS_POLL_H 1 > #define HAVE_SYS_RESOURCE_H 1 > #define HAVE_SYS_SOCKET_H 1 > #define HAVE_SYS_STAT_H 1 > #define HAVE_SYS_STAT_H 1 > #define HAVE_SYS_TIMEB_H 1 > #define HAVE_SYS_TIME_H 1 > #define HAVE_SYS_TYPES_H 1 > #define HAVE_SYS_TYPES_H 1 > #define HAVE_SYS_UN_H 1 > #define HAVE_SYS_WAIT_H 1 > #define HAVE_SYS_WAIT_H 1 > #define HAVE_TM_ZONE 1 > #define HAVE_UNISTD_H 1 > #define HAVE_UNISTD_H 1 > #define HAVE_UNSETENV 1 > #define HAVE_VA_COPY 1 > #define PACKAGE_BUGREPORT "" > #define PACKAGE_NAME "" > #define PACKAGE_STRING "" > #define PACKAGE_TARNAME "" > #define PACKAGE_VERSION "" > #define RETSIGTYPE void > #define SOCKET_SIZE_TYPE size_t > #define STDC_HEADERS 1 > #define TIME_WITH_SYS_TIME 1 > #define TRACEROUTE_COMMAND "/usr/sbin/traceroute" > #define USE_EVENT_BROKER 1 > #define USE_HISTOGRAM 1 > #define USE_NANOSLEEP 1 > #define USE_STATUSMAP 1 > #define USE_STATUSWRL 1 > #define USE_TRENDS 1 > #define USE_XCDDEFAULT 1 > #define USE_XDDDEFAULT 1 > #define USE_XODTEMPLATE 1 > #define USE_XPDDEFAULT 1 > #define USE_XRDDEFAULT 1 > #define USE_XSDDEFAULT 1 > > configure: exit 0 > This looks to be a successful ./configure run. What were you expecting to happen? Did you see the output similar to that below and follow it's final instruction? *** Configuration summary for nagios 3.0.1 04-01-2008 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Check result directory: ${prefix}/var/spool/checkresults Init directory: /etc/rc.d/init.d Apache conf.d directory: /etc/httpd/conf.d Mail program: /bin/mail Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /bin/traceroute Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Mon Jul 21 20:58:48 2008 From: scarolan at gmail.com (Sean Carolan) Date: Mon, 21 Jul 2008 13:58:48 -0500 Subject: Monitor log file for inactivity? Message-ID: <277020fc0807211158u40dd3911q96ca540129ff7ecb@mail.gmail.com> How would you use nagios to monitor a log file for inactivity? I was looking at the check_file_age plugin and thought it might work for this purpose. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Mon Jul 21 21:33:16 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 21 Jul 2008 15:33:16 -0400 Subject: Migrating to v3 In-Reply-To: <48843F94.3010702@op5.se> References: <48843F94.3010702@op5.se> Message-ID: 2008/7/21 Andreas Ericsson : > Ciro Iriarte wrote: >> >> Hi, >> >> I'm migrating our v2.x installation of nagios to 3.0.3 and i'm stuck >> currently, can sameone check if i'm missing something here?: >> >> Verification reports: >> ------------- >> Error: Service description, host name, or check command is NULL >> Error: Could not register service (config file >> '/etc/nagios/objects/services/filesystems.win.cfg', starting on line >> 1) >> ------------- >> >> First lines of filesystems.win.cfg: >> >> ------------- >> define service{ >> use filesystems >> hostgroup_name nrpe_nt >> service_description Unidad c:\ > > Nagios 3 supports line-continuation in configuration files. Remove the > backslash > at the end of this line and you'll be fine. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > Thanks to both of you, that was the issue, I had to add "\\" instead and it worked! Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Mon Jul 21 22:33:34 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Mon, 21 Jul 2008 16:33:34 -0400 Subject: Thoughts about a custom plugin In-Reply-To: <20080720151716.GA18704@teddy.fas.com> References: <20080720142834.GA17765@teddy.fas.com> <79B77295FBC9F247A32A6C98B67B1E1408BDF2@srv-1exch01.sourceinterlink.com> <20080720151716.GA18704@teddy.fas.com> Message-ID: <20080721203334.GA20668@cgi.jachomes.com> On Sun, Jul 20, 2008 at 11:17:16AM -0400, stan wrote: > On Sun, Jul 20, 2008 at 10:46:39AM -0400, Paulus, Jake wrote: > > You should really look into NRPE (Nagios Remote Plugin Execution) > > http://nagios.sourceforge.net/docs/3_0/addons.html#nrpe > > > > There are alternate versions of NRPE that run on Windows, etc. if you > > must do that. Check out NagiosExchange.org for those. > > > > You should find that you can use normal plugins you already use > > elsewhere with NRPE to do what you need. > > > I'm not certain this is intended for exactly the application I have. perhaps > it is, and I am misunderstanding it. let me clarify my application a bit > with an ASCI diagram: Yeah; you have a non-routing dual homed machine on the edge of the LAN. You can use NRPE to monitor both the machine you install it on, and, with more careful configuation, any other machine it can talk to. So you should be able to use NRPE on the dual-home as an application gateway to let your Nagios console monitor all the machines at the remote site. Note, of course, that depending solely on non-routeability in the kernel to isolate that LAN isn't good enough; I presume you're a) also doing other stuff and b) smart enough not to tell us what that is. :-) Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Mon Jul 21 23:49:55 2008 From: myoung at nagios.org (Mark Young) Date: Mon, 21 Jul 2008 16:49:55 -0500 Subject: Monitor log file for inactivity? In-Reply-To: <277020fc0807211158u40dd3911q96ca540129ff7ecb@mail.gmail.com> References: <277020fc0807211158u40dd3911q96ca540129ff7ecb@mail.gmail.com> Message-ID: <1F3BBDB3-1916-47B5-99BC-82E6F80169FA@nagios.org> On Jul 21, 2008, at 1:58 PM, Sean Carolan wrote: > How would you use nagios to monitor a log file for inactivity? I was > looking at the check_file_age plugin and thought it might work for > this purpose. It all depends on how the application writes to a log file. Simply checking the log file for age or size might not determine if the application is running accurately. If you are sure you want to check the log file for age you will first have to figure out if the log file is stored on the local monitoring machine or a remote machine. If it is the local machine you can simply create a new command with the check_file_age plugin and define a service for the local machine to use. Otherwise if it is a remote machine you are going to need to run the plugins using NRPE ( http://www.nagios.org/download/addons/ ) or by SSH ( via plugin check_by_ssh ); for those you are going to need to nagios plugins compiled on the remote machine. For a local check you could use something like the following in your commands.cfg and then add it as a service to your local box: # 'check_file_age' command definition define command{ command_name check_file_age command_line $USER1$/check_file_age -w $ARG1$ -c $ARG2$ -f $ARG3$ # $ARG3$ is the full path to the log file. } Or you might want to look on nagiosexchange.com to see if there is a plugin created specifically for the program you are trying to check. I would start by testing the plugins from the command line. eg. /path/to/check_file_age -h (for help) /path/to/check_file_age -w 100 -c 1000 -f /path/to/logfile I hope this helps! Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gsamson at webintellects.com Tue Jul 22 07:46:48 2008 From: gsamson at webintellects.com (Gilbert Samson) Date: Tue, 22 Jul 2008 11:16:48 +0530 Subject: read write error in checkresults Message-ID: <003a01c8ebbe$569184b0$0901a8c0@kalai> Hello Nagios :) I have finished my first instaltion two days back and I thought every thing is normal . In the morning I checked the message log and found ton of read/wright permision errors like this and this was only for ping check commands. Jul 21 22:03:08 nagios kernel: audit(1216702988.048:263963): avc: denied { read write } for pid=13027 comm="ping" path="/usr/local/nagios/var/spool/checkresults/checkehZYV1" dev=hda3 ino=5201483 scontext=root:system_r:ping_t:s0 tcontext=root:object_r:usr_t:s0 tclass=file Jul 21 22:03:32 nagios kernel: audit(1216703012.212:263964): avc: denied { read write } for pid=13031 comm="ping" path="/usr/local/nagios/var/spool/checkresults/checkaJbTU8" dev=hda3 ino=5201483 scontext=root:system_r:ping_t:s0 tcontext=root:object_r:usr_t:s0 tclass=file Folder permission drwxr-xr-x 2 nagios nagios 20480 Jul 21 22:13 checkresults My ping Check command: $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 Aruguments check_ping!1000.0,40%!3000.0,80% Forgive me if it is some basic error/stuff and thank you very much for your help. Kind Regards Gilbert Samson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Tue Jul 22 11:09:03 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Tue, 22 Jul 2008 14:39:03 +0530 Subject: schedule check problem Message-ID: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> Hi, I've got a strange problem with the nagios. Recently, for testing purpose we did install nagios server on a intel based pc and now we would like to move the nagios server to an high end machine like HP proliant DL 380. The nagios server on Intel based pc works fine and it was able to monitor all the clients using check_nrpe plugin. I have now installed nagios server, nagios plugins and nrpe on a high end machine and copied all the configuration files from old server to here and then started nagios service. All looks ok except for scheduling checks. The time on nagios server is ahead of the time displayed on the nagios interface for Next Scheduled Check. The Next Scheduled Check for some service shows, Next Scheduled Check: 07-22-2008 09:31:04 Last Check Time:07-22-2008 09:37:53 but the time on nagios server is, Tue Jul 22 09:40:06 GMT 2008 The time is not sync properly and when I refresh the page maually, it shows all services are in green which means all are working ok. but after few seconds when I refresh the same page manually, the services were in red color. tells me the error as , critical CHECK_NRPE: Socket timeout after 10 seconds then if you refresh later some point, all service will show in green. why does this difference? where do i change the settings so the time on the nagios interface will sync the time with the nagios server? please help me!!! Thanks -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Jul 22 11:12:16 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 22 Jul 2008 10:12:16 +0100 Subject: schedule check problem In-Reply-To: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> References: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> Message-ID: <4b008f7d0807220212y12bc8470md8e4009faa2190af@mail.gmail.com> Nagios reads the time on the server, is your server getting time from an ntp server? On Tue, Jul 22, 2008 at 10:09 AM, wrote: > Hi, > > I've got a strange problem with the nagios. Recently, for testing purpose > we did install nagios server on a intel based pc and now we would like to > move the nagios server to an high end machine like HP proliant DL 380. > > The nagios server on Intel based pc works fine and it was able to monitor > all the clients using check_nrpe plugin. I have now installed nagios server, > nagios plugins and nrpe on a high end machine and copied all the > configuration files from old server to here and then started nagios service. > All looks ok except for scheduling checks. > > The time on nagios server is ahead of the time displayed on the nagios > interface for Next Scheduled Check. The Next Scheduled Check for some > service shows, > > Next Scheduled Check: 07-22-2008 09:31:04 > Last Check Time:07-22-2008 09:37:53 > > but the time on nagios server is, > Tue Jul 22 09:40:06 GMT 2008 > > The time is not sync properly and when I refresh the page maually, it shows > all services are in green which means all are working ok. but after few > seconds when I refresh the same page manually, the services were in red > color. tells me the error as , critical CHECK_NRPE: Socket timeout after 10 > seconds > > then if you refresh later some point, all service will show in green. why > does this difference? > > where do i change the settings so the time on the nagios interface will > sync the time with the nagios server? > > please help me!!! > > Thanks > > -- > Shankar Asam > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Team - www.konolabs.com 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dennis at huenseler.net Tue Jul 22 11:16:59 2008 From: dennis at huenseler.net (=?ISO-8859-1?Q?Dennis_H=FCnseler?=) Date: Tue, 22 Jul 2008 11:16:59 +0200 Subject: schedule check problem In-Reply-To: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> References: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> Message-ID: <4885A58B.6000403@huenseler.net> asam30 at gmail.com schrieb: > Hi, > > I've got a strange problem with the nagios. Recently, for testing > purpose we did install nagios server on a intel based pc and now we > would like to move the nagios server to an high end machine like HP > proliant DL 380. > > The nagios server on Intel based pc works fine and it was able to > monitor all the clients using check_nrpe plugin. I have now installed > nagios server, nagios plugins and nrpe on a high end machine and > copied all the configuration files from old server to here and then > started nagios service. All looks ok except for scheduling checks. > > The time on nagios server is ahead of the time displayed on the nagios > interface for Next Scheduled Check. The Next Scheduled Check for some > service shows, > > Next Scheduled Check: 07-22-2008 09:31:04 > Last Check Time:07-22-2008 09:37:53 > > but the time on nagios server is, > Tue Jul 22 09:40:06 GMT 2008 > > The time is not sync properly and when I refresh the page maually, it > shows all services are in green which means all are working ok. but > after few seconds when I refresh the same page manually, the services > were in red color. tells me the error as , critical CHECK_NRPE: Socket > timeout after 10 seconds > > then if you refresh later some point, all service will show in green. > why does this difference? > > where do i change the settings so the time on the nagios interface > will sync the time with the nagios server? > > please help me!!! > > Thanks > > -- > Shankar Asam > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hi, you should be sure that all your servers(nagios server and the ones being checked) run the same time, for example by using a ntp server to synchronise your time. That will avoid any problems like different time in checks Kind regards, Dennis H?nseler -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Tue Jul 22 11:27:58 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Tue, 22 Jul 2008 14:57:58 +0530 Subject: schedule check problem In-Reply-To: <4885A58B.6000403@huenseler.net> References: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> <4885A58B.6000403@huenseler.net> Message-ID: <25251aec0807220227t9daf356xa7f10dec3a013073@mail.gmail.com> I am not using ntp server. I am thinking of implementing the NTP server. I will try to do that and get back to you. Thanks all your help On Tue, Jul 22, 2008 at 2:46 PM, Dennis H?nseler wrote: > asam30 at gmail.com schrieb: > > Hi, > > I've got a strange problem with the nagios. Recently, for testing purpose > we did install nagios server on a intel based pc and now we would like to > move the nagios server to an high end machine like HP proliant DL 380. > > The nagios server on Intel based pc works fine and it was able to monitor > all the clients using check_nrpe plugin. I have now installed nagios server, > nagios plugins and nrpe on a high end machine and copied all the > configuration files from old server to here and then started nagios service. > All looks ok except for scheduling checks. > > The time on nagios server is ahead of the time displayed on the nagios > interface for Next Scheduled Check. The Next Scheduled Check for some > service shows, > > Next Scheduled Check: 07-22-2008 09:31:04 > Last Check Time:07-22-2008 09:37:53 > > but the time on nagios server is, > Tue Jul 22 09:40:06 GMT 2008 > > The time is not sync properly and when I refresh the page maually, it shows > all services are in green which means all are working ok. but after few > seconds when I refresh the same page manually, the services were in red > color. tells me the error as , critical CHECK_NRPE: Socket timeout after 10 > seconds > > then if you refresh later some point, all service will show in green. why > does this difference? > > where do i change the settings so the time on the nagios interface will > sync the time with the nagios server? > > please help me!!! > > Thanks > > -- > Shankar Asam > > ------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/ > > ------------------------------ > > _______________________________________________ > Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Hi, > you should be sure that all your servers(nagios server and the ones being > checked) run the same time, for example by using a ntp server to synchronise > your time. That will avoid any problems like different time in checks > > Kind regards, > Dennis H?nseler > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Jul 22 11:29:50 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 22 Jul 2008 09:29:50 +0000 Subject: monitoring the print spool on windows machines Message-ID: <200807220929.50291.assaf.flatto@ssp.uk.com> Hello recently a request came to me the check if we can monitor the printer spool on a windows machine (citrix platform), i googled the topic and the only reference i found so far is in http://nagios.manubulon.com/index_commands.html has anyone done print spooling check on windows platform in any other way ? thanks Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brentgclarklist at gmail.com Tue Jul 22 11:33:51 2008 From: brentgclarklist at gmail.com (Brent Clark) Date: Tue, 22 Jul 2008 11:33:51 +0200 Subject: NRPE Message-ID: <4885A97F.4070001@gmail.com> Hi I have the nrpe on my LAN. My question is. How many of you guys run NRPE on a public interface. Question really is and and for the Lamen, is it safe. Anyone have any hack attempts etc. Kind Regards Brent Clark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Jul 22 11:44:05 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 22 Jul 2008 10:44:05 +0100 Subject: schedule check problem In-Reply-To: <25251aec0807220227t9daf356xa7f10dec3a013073@mail.gmail.com> References: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> <4885A58B.6000403@huenseler.net> <25251aec0807220227t9daf356xa7f10dec3a013073@mail.gmail.com> Message-ID: <4b008f7d0807220244nd0bb12fn705fc680d4aed8de@mail.gmail.com> Nagios should run without an ntp server, just make sure that the time on the server is correct. On Tue, Jul 22, 2008 at 10:27 AM, wrote: > I am not using ntp server. I am thinking of implementing the NTP server. I > will try to do that and get back to you. > > Thanks all your help > > > On Tue, Jul 22, 2008 at 2:46 PM, Dennis H?nseler > wrote: > >> asam30 at gmail.com schrieb: >> >> Hi, >> >> I've got a strange problem with the nagios. Recently, for testing purpose >> we did install nagios server on a intel based pc and now we would like to >> move the nagios server to an high end machine like HP proliant DL 380. >> >> The nagios server on Intel based pc works fine and it was able to monitor >> all the clients using check_nrpe plugin. I have now installed nagios server, >> nagios plugins and nrpe on a high end machine and copied all the >> configuration files from old server to here and then started nagios service. >> All looks ok except for scheduling checks. >> >> The time on nagios server is ahead of the time displayed on the nagios >> interface for Next Scheduled Check. The Next Scheduled Check for some >> service shows, >> >> Next Scheduled Check: 07-22-2008 09:31:04 >> Last Check Time:07-22-2008 09:37:53 >> >> but the time on nagios server is, >> Tue Jul 22 09:40:06 GMT 2008 >> >> The time is not sync properly and when I refresh the page maually, it >> shows all services are in green which means all are working ok. but after >> few seconds when I refresh the same page manually, the services were in red >> color. tells me the error as , critical CHECK_NRPE: Socket timeout after 10 >> seconds >> >> then if you refresh later some point, all service will show in green. why >> does this difference? >> >> where do i change the settings so the time on the nagios interface will >> sync the time with the nagios server? >> >> please help me!!! >> >> Thanks >> >> -- >> Shankar Asam >> >> ------------------------------ >> >> ------------------------------------------------------------------------- >> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge >> Build the coolest Linux based applications with Moblin SDK & win great prizes >> Grand prize is a trip for two to an Open Source event anywhere in the worldhttp://moblin-contest.org/redirect.php?banner_id=100&url=/ >> >> ------------------------------ >> >> _______________________________________________ >> Nagios-users mailing listNagios-users at lists.sourceforge.nethttps://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> Hi, >> you should be sure that all your servers(nagios server and the ones being >> checked) run the same time, for example by using a ntp server to synchronise >> your time. That will avoid any problems like different time in checks >> >> Kind regards, >> Dennis H?nseler >> > > > > -- > Shankar Asam > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Team - www.konolabs.com 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Tue Jul 22 11:46:11 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 22 Jul 2008 10:46:11 +0100 Subject: check cpu - python process Message-ID: <4885AC63.9080907@ng23.net> Hi We have a, badly written, app that runs python and it regularly pins 1 core to 100% cpu utilization. The utilization may drop for a short period but then get pinned again. Is there any check out there that can check for a process consuming 100% of a core, even if overall CPU load is low eg in an 8 core box, and alert against that? thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Tue Jul 22 11:49:45 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Tue, 22 Jul 2008 10:49:45 +0100 Subject: NRPE In-Reply-To: <4885A97F.4070001@gmail.com> References: <4885A97F.4070001@gmail.com> Message-ID: <20080722104945.40b4c612@tclmmw.in.tiger-computing.com> On Tue, 22 Jul 2008 11:33:51 +0200 Brent Clark wrote: > I have the nrpe on my LAN. My question is. How many of you guys run > NRPE on a public interface. > > Question really is and and for the Lamen, is it safe. Anyone have any > hack attempts etc. We run it on some public-facing IP Addresses, however we use a firewall such as shorewall to limit connections to port 5666 to only certain IP addresses. It's basically a firewall rule that states: DROP EVERYTHING UNLESS: IP ADDRESS IS AN AUTHORISED IP Hope this helps, M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Tue Jul 22 11:52:42 2008 From: alexdehaini at gmail.com (Alex Dehaini) Date: Tue, 22 Jul 2008 10:52:42 +0100 Subject: check cpu - python process In-Reply-To: <4885AC63.9080907@ng23.net> References: <4885AC63.9080907@ng23.net> Message-ID: <4b008f7d0807220252r7dc0334doc765514f17f10ee6@mail.gmail.com> If the server running the app is a windows app, install nsclient and you will be able to monitor the cpu On Tue, Jul 22, 2008 at 10:46 AM, Tom Brown wrote: > Hi > > We have a, badly written, app that runs python and it regularly pins 1 > core to 100% cpu utilization. The utilization may drop for a short > period but then get pinned again. Is there any check out there that can > check for a process consuming 100% of a core, even if overall CPU load > is low eg in an 8 core box, and alert against that? > > thanks > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Team - www.konolabs.com 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Jul 22 12:45:10 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 22 Jul 2008 11:45:10 +0100 Subject: NRPE In-Reply-To: <4885A97F.4070001@gmail.com> References: <4885A97F.4070001@gmail.com> Message-ID: <20080722114510.12653ozat2ag1rna@connect.networkmail.eu> Quoting Brent Clark : > Hi > > I have the nrpe on my LAN. My question is. How many of you guys run NRPE > on a public interface. > > Question really is and and for the Lamen, is it safe. Anyone have any > hack attempts etc. > Hi, We run NRPE on 4 public-facing servers. All unnecessary ports are blocked by a firewall, port 5666 is limited to our Nagios server only, and NRPE is configured (through its config file) to only accept connections from our Nagios server. Never had any issues. Regards, Andy-- Andy Shellam Business Systems Architect Network Mail NetServe Support ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brentgclarklist at gmail.com Tue Jul 22 12:59:58 2008 From: brentgclarklist at gmail.com (Brent Clark) Date: Tue, 22 Jul 2008 12:59:58 +0200 Subject: NRPE In-Reply-To: <20080722104945.40b4c612@tclmmw.in.tiger-computing.com> References: <4885A97F.4070001@gmail.com> <20080722104945.40b4c612@tclmmw.in.tiger-computing.com> Message-ID: <4885BDAE.1070500@gmail.com> Matthew Macdonald-Wallace wrote: > It's basically a firewall rule that states: See thats what i didnt want. Im sure we the same, in that we run very minimalistic (kernel tweaking too) software installation / services (namely just http, ssh). But now I have to go write a ruleset all for blocking a port. I was hoping that the "allowed_host" (which from what I read is tcpwrapped), was good enough. Or am I missing something. Thanks Brent Clark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Tue Jul 22 13:08:12 2008 From: tom at ng23.net (Tom Brown) Date: Tue, 22 Jul 2008 12:08:12 +0100 Subject: check cpu - python process In-Reply-To: <4b008f7d0807220252r7dc0334doc765514f17f10ee6@mail.gmail.com> References: <4885AC63.9080907@ng23.net> <4b008f7d0807220252r7dc0334doc765514f17f10ee6@mail.gmail.com> Message-ID: <4885BF9C.5090401@ng23.net> > If the server running the app is a windows app, install nsclient and > you will be able to monitor the cpu > thanks - nope server running the app is a linux box thanks for any suggestions ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 22 14:04:42 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 07:04:42 -0500 Subject: check cpu - python process In-Reply-To: <4885AC63.9080907@ng23.net> References: <4885AC63.9080907@ng23.net> Message-ID: <833F1EE9-8B9C-48E0-8816-AE583E368592@ena.com> On Jul 22, 2008, at 4:46 AM, Tom Brown wrote: > > period but then get pinned again. Is there any check out there that > can > check for a process consuming 100% of a core, even if overall CPU load > is low eg in an 8 core box, and alert against that? I believe check_procs will do what you're looking for. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Tue Jul 22 14:39:38 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Tue, 22 Jul 2008 12:39:38 +0000 (GMT) Subject: dell printer server Message-ID: <166252.87019.qm@web26107.mail.ukl.yahoo.com> hello all, I want to know if there are a plugin for check the dell printer spool cartouche _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Tue Jul 22 14:56:26 2008 From: scarolan at gmail.com (Sean Carolan) Date: Tue, 22 Jul 2008 07:56:26 -0500 Subject: Monitor log file for inactivity? In-Reply-To: <1F3BBDB3-1916-47B5-99BC-82E6F80169FA@nagios.org> References: <277020fc0807211158u40dd3911q96ca540129ff7ecb@mail.gmail.com> <1F3BBDB3-1916-47B5-99BC-82E6F80169FA@nagios.org> Message-ID: <277020fc0807220556s6444537g6337986276dff4f0@mail.gmail.com> > It all depends on how the application writes to a log file. Simply > checking the log file for age or size might not determine if the > application is running accurately. I just tested my log file and it updates the time stamp in more or less real time. The check_file_age will probably work perfectly for my needs. There are in fact instances when logging is still working but the application is misbehaving, but at least this will take care of those times when it is completely stuck and not logging at all. > Otherwise if it is a remote machine you are going to need to run > the plugins using NRPE ( http://www.nagios.org/download/addons/ ) or > by SSH ( via plugin check_by_ssh ); for those you are going to need to > nagios plugins compiled on the remote machine. I have heard that check_by_ssh can cause a lot of overhead on large networks where there are many checks going on at the same time. Can anyone give some practical numbers here? I have about 160 machines that need to be monitored, most of them will simply have the basic CPU/Disk/Memory monitoring. I would think that on a small network like this it should not be a major problem. > For a local check you could use something like the following in your > commands.cfg and then add it as a service to your local box: > > # 'check_file_age' command definition > define command{ > command_name check_file_age > command_line $USER1$/check_file_age -w $ARG1$ -c $ARG2$ -f > $ARG3$ # $ARG3$ is the full path to the log file. Nice. I really appreciate the help. Nagios will soon be replacing the feature-challenged monitoring software we are using now for Linux machines. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From howachen at gmail.com Tue Jul 22 15:32:19 2008 From: howachen at gmail.com (howard chen) Date: Tue, 22 Jul 2008 21:32:19 +0800 Subject: Best practice for monitoring virtual machine (OpenVZ) Message-ID: Hello, We have servers hosting virtual machines (around 10-20 per real server), we are using OpenVZ (a kind of container based VM), we are very satisfied with the VM performance currently. Now, we are planning to add monitoring to each VM as well as the host itself, this come to a problem, because if I install each VM with their own nagios, seems there will be quite a lot of overheads in total.. So I want to ask if anyone here is using nagios with VM and can share about some tricks in deployment? Thanks. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niall at makalumedia.com Tue Jul 22 15:36:40 2008 From: niall at makalumedia.com (Niall O Broin) Date: Tue, 22 Jul 2008 14:36:40 +0100 Subject: Best practice for monitoring virtual machine (OpenVZ) In-Reply-To: References: Message-ID: <7C0DEFD5-9DC6-42C4-82E2-2DD971E748F2@makalumedia.com> On 22 Jul 2008, at 14:32, howard chen wrote: > We have servers hosting virtual machines (around 10-20 per real > server), we are using OpenVZ (a kind of container based VM), we are > very satisfied with the VM performance currently. > > Now, we are planning to add monitoring to each VM as well as the host > itself, this come to a problem, because if I install each VM with > their own nagios, seems there will be quite a lot of overheads in > total.. > > So I want to ask if anyone here is using nagios with VM and can share > about some tricks in deployment? We use Nagios to monitor a number of servers running Xen, and to monitor the Xen VMs. There's no question of installing Nagios in each VM, just as you don't need to install Nagios on each real server you monitor. Instead, you have to install something which can respond to Nagios queries on each VM. We choose to run snmpd on each VM but you can use other methods too. If you instead don't want to run anything on the VMs then you'd be restricted to running some scripts on the hos which tell you the status of the VMs - perhaps somebody already has a plugin to do that. Kindest regards, Niall O Broin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Melin at co.hennepin.mn.us Tue Jul 22 15:52:23 2008 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Tue, 22 Jul 2008 08:52:23 -0500 Subject: Temporarily changing thresholds of an NRPE driven service check Message-ID: Good morning. We have a vignette content management server that every night syncs its content to a backup volume for nightly 'snapshot' purposes. This runs about 2 hours. The service check that runs is NRPE driven, and we're using simple NRPE config where the ok, warn, critical values are coded on the target systems nrpe.conf file (we intend to change this when we convert to Nagios version 3). Given this structure is there a good way to be able to tell nagios from 20:00 to 23:00 use a diff service check? I figure it has to be something to do with a custom time period, but I'm really not sure what all I would need to do to make it work correctly. Any insights appreciated. -J Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Jul 22 16:17:45 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 22 Jul 2008 14:17:45 +0000 Subject: host/service dependencies Message-ID: <200807221417.45419.assaf.flatto@ssp.uk.com> Hello I'm trying to figure out a way or logic of service /host dependency . In today's dependency logic - there is no correlation between host failure and the host services , even if the host is down - services are still being checked and reported as critical . there is a need to designate a specific dependency check for services and then it will only "learn" of the down status . Is there a way to tell nagios that once a server is down - not to check the services assigned to this server ? to me it seems like this define dependency { host_name foo dependent_service_description * execution_failure_criteria d,p,u notification_failure_criteria d,u,p } So once the host is down/unknown/pending , all the services on the server are not checked and do not send alerts . anyone knows on a way to implement it now ? or is such a logic being developed for later versions ? Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Tue Jul 22 16:27:46 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 22 Jul 2008 10:27:46 -0400 Subject: Temporarily changing thresholds of an NRPE driven service check In-Reply-To: References: Message-ID: <4885EE62.5050102@collaborativefusion.com> I believe you're right - you'd have to schedule two checks, each using a custom time period. This can simplified by using the exclude and use directives: define timeperiod{ timeperiod_name vignette_backup sunday 20:00-23:00 monday 20:00-23:00 tuesday 20:00-23:00 wednesday 20:00-23:00 thursday 20:00-23:00 friday 20:00-23:00 saturday 20:00-23:00 } define timeperiod{ timeperiod_name vignette use 24x7 exclude vignette_backup } The standard check would then have check_period as vignette, while the one you'd like to run during your backup window would use vignette_backup. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** Jim.Melin at co.hennepin.mn.us wrote: > Good morning. > > We have a vignette content management server that every night syncs its content to a backup volume for nightly 'snapshot' purposes. This runs about 2 > hours. The service check that runs is NRPE driven, and we're using simple NRPE config where the ok, warn, critical values are coded on the target > systems nrpe.conf file (we intend to change this when we convert to Nagios version 3). > > Given this structure is there a good way to be able to tell nagios from 20:00 to 23:00 use a diff service check? I figure it has to be something to do > with a custom time period, but I'm really not sure what all I would need to do to make it work correctly. > > Any insights appreciated. > > -J > > Disclaimer: Information in this message or an attachment may be government data and thereby subject to the Minnesota Government Data Practices Act, Minnesota Statutes, Chapter 13, may be subject to attorney-client or work product privilege, may be confidential, privileged, proprietary, or otherwise protected, and the unauthorized review, copying, retransmission, or other use or disclosure of the information is strictly prohibited. If you are not the intended recipient of this message, please immediately notify the sender of the transmission error and then promptly delete this message from your computer system. > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 22 16:50:28 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 09:50:28 -0500 Subject: host/service dependencies In-Reply-To: <200807221417.45419.assaf.flatto@ssp.uk.com> References: <200807221417.45419.assaf.flatto@ssp.uk.com> Message-ID: On Jul 22, 2008, at 9:17 AM, Assaf Flatto wrote: > Hello > > I'm trying to figure out a way or logic of service /host dependency . > In today's dependency logic - there is no correlation between host > failure and the host services , > even if the host is down - services are still being checked and > reported as critical . They may be displayed as CRITICAL, and they are, but no alerts are sent for them. > there is a need to designate a specific dependency check for > services and then it will only "learn" > of the down status . > > Is there a way to tell nagios that once a server is down - not to > check the services assigned to > this server ? to me it seems like this Not really. Nagios is primarily a service monitor and services are central to it's check logic. If a service reports a non-OK state, Nagios will check the status of the host. If the host reports a non-OK state, notifications for services are suppressed but will continue to be checked. The service checks are necessary because Nagios uses them to determine when the host has recovered. Bear in mind that the normal and recommended operation of nagios is without regularly scheduled active host checks. In such a configuration, a host recovery would never be noticed if service checks were disabled. > So once the host is down/unknown/pending , all the services on the > server are not checked and do not > send alerts . Nagios automagically suppresses alerts for services on down/ unreachable hosts already. No special configuration is necessary other than a host check_command that works correctly. Pending status means that no services on the host have been checked yet. No special action necessary there. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Tue Jul 22 17:03:36 2008 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 22 Jul 2008 11:03:36 -0400 Subject: nagios plugins on 32 bit Message-ID: <7f62d2420807220803i722e1d94yf3a3c4f5c7d71dbd@mail.gmail.com> I'm trying to build nagios plugins (1.4.12) on several 32 bit hosts (suse 10.1). The configs complete but throw a lot of warnings about 32 vs 64 bit. Running the plug-ins generate segmentation faults. I tried setting LD_LIBRARY_PATH but that didn't make a difference. Google shows me one potential solution about making some (fake?) link but this sounds like an ugly hack to me. Is there a configure switch for 32 bit? TIA ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Tue Jul 22 17:09:21 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Tue, 22 Jul 2008 11:09:21 -0400 Subject: nagios plugins on 32 bit In-Reply-To: <7f62d2420807220803i722e1d94yf3a3c4f5c7d71dbd@mail.gmail.com> References: <7f62d2420807220803i722e1d94yf3a3c4f5c7d71dbd@mail.gmail.com> Message-ID: <79B77295FBC9F247A32A6C98B67B1E14016D73C5@srv-1exch01.sourceinterlink.com> If you're following the instructions found here http://nagios.sourceforge.net/docs/3_0/quickstart-opensuse.html and having trouble, can you please give specific error messages you're seeing? Thanks, -Jake -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of dave stern - e-mail.pluribus.unum Sent: Tuesday, July 22, 2008 11:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios plugins on 32 bit I'm trying to build nagios plugins (1.4.12) on several 32 bit hosts (suse 10.1). The configs complete but throw a lot of warnings about 32 vs 64 bit. Running the plug-ins generate segmentation faults. I tried setting LD_LIBRARY_PATH but that didn't make a difference. Google shows me one potential solution about making some (fake?) link but this sounds like an ugly hack to me. Is there a configure switch for 32 bit? TIA ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Tue Jul 22 17:20:54 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Tue, 22 Jul 2008 15:20:54 +0000 Subject: host/service dependencies In-Reply-To: References: <200807221417.45419.assaf.flatto@ssp.uk.com> Message-ID: <200807221520.55027.assaf.flatto@ssp.uk.com> I know that what you say should work , but when i have a host down i keep getting the alerts for each of it's associated services . any idea what i missed and why this is happening ? On Tuesday 22 July 2008 14:50:28 Marc Powell wrote: > On Jul 22, 2008, at 9:17 AM, Assaf Flatto wrote: > > Hello > > > > I'm trying to figure out a way or logic of service /host dependency . > > In today's dependency logic - there is no correlation between host > > failure and the host services , > > even if the host is down - services are still being checked and > > reported as critical . > > They may be displayed as CRITICAL, and they are, but no alerts are > sent for them. > > > there is a need to designate a specific dependency check for > > services and then it will only "learn" > > of the down status . > > > > Is there a way to tell nagios that once a server is down - not to > > check the services assigned to > > this server ? to me it seems like this > > Not really. Nagios is primarily a service monitor and services are > central to it's check logic. If a service reports a non-OK state, > Nagios will check the status of the host. If the host reports a non-OK > state, notifications for services are suppressed but will continue to > be checked. The service checks are necessary because Nagios uses them > to determine when the host has recovered. Bear in mind that the normal > and recommended operation of nagios is without regularly scheduled > active host checks. In such a configuration, a host recovery would > never be noticed if service checks were disabled. > > > So once the host is down/unknown/pending , all the services on the > > server are not checked and do not > > send alerts . > > Nagios automagically suppresses alerts for services on down/ > unreachable hosts already. No special configuration is necessary other > than a host check_command that works correctly. > > Pending status means that no services on the host have been checked > yet. No special action necessary there. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge Build the coolest Linux based applications with Moblin SDK & win > great prizes Grand prize is a trip for two to an Open Source event anywhere > in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 22 18:02:22 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 11:02:22 -0500 Subject: host/service dependencies In-Reply-To: <200807221520.55027.assaf.flatto@ssp.uk.com> References: <200807221417.45419.assaf.flatto@ssp.uk.com> <200807221520.55027.assaf.flatto@ssp.uk.com> Message-ID: <40BE547B-C2BD-4FA7-A31D-7B4673BD2D5E@ena.com> On Jul 22, 2008, at 10:20 AM, Assaf Flatto wrote: > > > I know that what you say should work , but when i have a host down i > keep getting the alerts for > each of it's associated services . > > any idea what i missed and why this is happening ? Please post the host Status Information (click on the host in the GUI) when this is happening. Verify that you do not have multiple nagios daemons running at the same time. Make sure that you do not have is_volatile set for the services. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 22 18:06:15 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Tue, 22 Jul 2008 09:06:15 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <40D711E4618C0E469D95683E82AF777A02EB2D22@volvo2.ems.securicor.com> References: <4880483C.40203@op5.se><4880A5AE.3020109@op5.se> <40D711E4618C0E469D95683E82AF777A02EB2D22@volvo2.ems.securicor.com> Message-ID: I hate bumping my own e-mail post, I just have not heard anything yet. Thanks, Jon ________________________________ From: Jonathan Williams Sent: Monday, July 21, 2008 7:47 AM To: Anthony Montibello; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Help - I am unable to send notifications It was about time I changed the subject line of my e-mail since the NSClient++ service restart issue is fixed thanks to you guys. I am reposting this since my last e-mail on Friday which is at the bottom of this thread. I was hoping to verify the syntax of this command: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl It returns this: sed: can't read check_sendmail.pl: No such file or directory Thank you, Jon ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jonathan Williams Sent: Friday, July 18, 2008 5:08 PM To: Anthony Montibello Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ torestart services From: Anthony Montibello [mailto:amontibello at gmail.com] Sent: Friday, July 18, 2008 4:21 PM To: Jonathan Williams Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to get theNSClient++ to restart services Jonathan Williams wrote: > I did (at least similar). I ran it and it returned: > > /usr/local/bin/pearl -w > I'm guessing the output was actually #! /usr/local/bin/perl -w which is quite different from what you wrote, but I'll have to assume that the output you gave me is actually correct (who in their right minds would give false info to someone who's trying to help them??), so here it goes: * There's your error right there. To begin with, you probably don't have a binary named "pearl" anywhere on your system. * There's "#!" in front of the name of the script interpreter, so the kernel has no idea what to do with it. Run this command and it'll magically start working: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl Note that "similar" hardly ever cuts it, especially if you want more help and don't paste the "similar" command you actually used along with the output it produced. copy-paste is your friend. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Got it...as far as the top posting goes...makes sense. Thanks. And yes there was a #! In front as you said. I did say similar just because the OP who was helping me said I would get something similar to #!/usr/bin/perl . My output was similar to that, but not exact. Thanks for the response. I ran the following: sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl return: sed: can't read check_sendmail.pl: No such file or directory I been following your Emails on this issue and it looks like this must be some simple mistake somewhere, for example runtime Libexec is not the directory your using, FIlemames mispellings, things missing from the path or some other unkown issue. Try running some normal shell script that just gives a date or pwd to validate the Libexec directory you are copying files to is the one nagios is run from. In the above command was it suppose to be sendmail.pl instead of check_sendmail.pl ? (I am not sure I did not think hard about what the command does) but most of the prior emails mentioned only sendmail.pl while check_ is common prefix of most common nagios plugins. Last in prior posts I noticed the -n in the command has a space between the - and the n is it really there or is it just my email reader? if it is there should it be there? Tony (Author of NC_net) (I actually prefer reading Top posted msg - but I understand Andreas point on Bottom posting or inline posting) Good question Tony. There is no such file called check_sendmail on my system. Other scripts are running fine out of /usr/local/nagios/libexec. I am not sure if perhaps the send_mail.pl script is perhaps looking for the pearl binary in the wrong folder /usr/bin/perl as opposed to /usr/local/bin/perl? I am not at work now but will dig in later tonight. I am a victim of my own lack of Linux experience here I admit, but I'm learning. I have a feeling if any of you were looking at everything I have here it would jump out at you. I'm going to team up with a colleague of mine here who is a good Linux guy and get his input as well. As usual thanks again for your time and expertise. Jon -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at truthisfreedom.org.uk Tue Jul 22 18:08:58 2008 From: lists at truthisfreedom.org.uk (Matthew Macdonald-Wallace) Date: Tue, 22 Jul 2008 17:08:58 +0100 Subject: Help - I am unable to send notifications In-Reply-To: References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> Message-ID: <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> On Mon, 21 Jul 2008 07:47:00 -0700 "Jonathan Williams" wrote: > sed: can't read check_sendmail.pl: No such file or directory Are you in the correct directory? Try running the following: locate check_sendmail.pl then cd to the directory that it gives you and run the sed command provided earlier. M. -- Matthew Macdonald-Wallace matthew at truthisfreedom.org.uk http://www.truthisfreedom.org.uk ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 22 18:42:25 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Tue, 22 Jul 2008 09:42:25 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> Message-ID: <1216744945.1792.3.camel@LOOKINIUM> On Tue, 2008-07-22 at 09:08 -0700, Matthew Macdonald-Wallace wrote: > On Mon, 21 Jul 2008 07:47:00 -0700 > "Jonathan Williams" wrote: > > > sed: can't read check_sendmail.pl: No such file or directory > > Are you in the correct directory? > > Try running the following: > > locate check_sendmail.pl > > then cd to the directory that it gives you and run the sed command > provided earlier. > > M. > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > I ran that command and got nothing. No response. See below: root at LOOKINIUM:/usr/local/nagios/libexec# locate check_sendmail.pl root at LOOKINIUM:/usr/local/nagios/libexec# The libexec directory does have the send_mail.pl file (not sendmail.pl). jon > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 22 18:56:22 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Tue, 22 Jul 2008 09:56:22 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> Message-ID: <1216745782.1792.7.camel@LOOKINIUM> On Tue, 2008-07-22 at 09:08 -0700, Matthew Macdonald-Wallace wrote: > On Mon, 21 Jul 2008 07:47:00 -0700 > "Jonathan Williams" wrote: > > > sed: can't read check_sendmail.pl: No such file or directory > > Are you in the correct directory? > > Try running the following: > > locate check_sendmail.pl > > then cd to the directory that it gives you and run the sed command > provided earlier. > > M. > -- > Matthew Macdonald-Wallace > matthew at truthisfreedom.org.uk > http://www.truthisfreedom.org.uk > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > I am guessing (with all my vast linux experience...that's sarcasm) that perhaps the send_mail.pl wrapper does not know how to find the actual senmail file which is located in /usr/lib. I don't see anything in the send_mail.pl script that indicates it is looking for it though. Here is the send_mail.pl file contents: #!/usr/bin/pearl -w # # Wriiten by Rob Moss, 2005-10-09 # coding at mossko.com # # A replacement for Nagios's basic mail system which relies on /bin/mailx and local sendmail config # # To use this, just replace the entries in commands.cfg and update your hosts and services from the default "notify-by-email" to use the specific host-notify-by-email or service-notify-by-email # # I put this in the plugins directory /usr/local/nagios/libexec but you can put it anywhere. Just update the path # commands.cfg #define command{ # command_name host-notify-by-email # command_line $USER1$/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" #} # #define command{ # command_name service-notify-by-email # command_line $USER1$/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" #} # contacts.cfg #define contact{ # contact_name nagiosadmin # host_notification_commands host-notify-by-email # service_notification_commands service-notify-by-email # email email at address.com #} use strict; use Net::SMTP; use Getopt::Std; my $mailhost = 192.168.1.9 ; my $maildomain = ems.securicor.com; my $mailfrom = nagios_alerts at us.g4s.com; my $mailto = jonathan.williams at us.g4s.com; my $timeout = 30; my $mailsubject = ''; # Leave blank my $mailbody = ''; # Leave blank my $logfile = '/tmp/mail.log'; # Put somewhere better my $debug = 1; # To enable SMTP session debugging to logfile ################################################################ # Email for nagios # # Subject: "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ # # "***** Nagios ***** # Notification Type: $NOTIFICATIONTYPE$ # Host: $HOSTNAME$ # State: $HOSTSTATE$ # Address: $HOSTADDRESS$ # Info: $HOSTOUTPUT$ # Date/Time: $LONGDATETIME$ # ################################################################# # # Commandline options # # -n NOTIFICATIONTYPE # -h HOSTNAME # -s HOSTSTATE # -a HOSTADDRESS # -i HOSTOUTPUT # -d LONGDATETIME # -e CONTACTEMAIL # ################################################################# if (not open(LOG,">>$logfile") ) { $mailsubject = "Nagios Monitoring Alert: Can't open $logfile for append: $!"; print STDERR "Nagios Monitoring Alert: Can't open $logfile for append: $!"; sendmail(); exit 1; } our ($opt_n, $opt_h, $opt_s , $opt_a , $opt_i , $opt_d , $opt_e); # Get the cmdline options getopt('nhsaide'); print LOG localtime() . " sending mail to $opt_e with host $opt_h state $opt_s\n"; if (not defined $opt_n or $opt_n eq "") { print "option -n not defined!\n"; $opt_n = "UNDEFINED"; } elsif (not defined $opt_h or $opt_h eq "") { print "option -h not defined!\n"; $opt_h = "UNDEFINED"; } elsif (not defined $opt_s or $opt_s eq "") { print "option -s not defined!\n"; $opt_s = "UNDEFINED"; } elsif (not defined $opt_a or $opt_a eq "") { print "option -a not defined!\n"; $opt_a = "UNDEFINED"; } elsif (not defined $opt_i or $opt_i eq "") { print "option -i not defined!\n"; $opt_i = "UNDEFINED"; } elsif (not defined $opt_d or $opt_d eq "") { print "option -d not defined!\n"; $opt_d = "UNDEFINED"; } elsif (not defined $opt_e or $opt_e eq "") { die "CRITICAL: option -e not defined!. Host $opt_h, Notification: $opt_n, State: $opt_s, Info: $opt_i\n"; } # You can change the subject here $mailsubject = "Nagios Monitoring Alert: $opt_h is $opt_s"; $mailto = "$opt_e"; $mailbody = <<_END_; ***** Nagios ***** Notification Type: $opt_n Host: $opt_h State: $opt_s Address: $opt_a Info: $opt_i Date/Time: $opt_d _END_ sendmail(); print LOG localtime() . " sent mail to $opt_e successfully\n"; exit 0; ######################################################### sub sendmail { my $smtp = Net::SMTP->new( $mailhost, Hello => $maildomain, Timeout => $timeout, Debug => $debug, ); $smtp->mail($mailfrom); $smtp->to($mailto); $smtp->data(); $smtp->datasend("To: $mailto\n"); $smtp->datasend("From: $mailfrom\n"); $smtp->datasend("Subject: $mailsubject\n"); $smtp->datasend("\n"); $smtp->datasend("$mailbody\n"); $smtp->dataend(); $smtp->quit; } > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 22 19:11:58 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 12:11:58 -0500 Subject: Help - I am unable to send notifications In-Reply-To: <1216745782.1792.7.camel@LOOKINIUM> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> Message-ID: On Jul 22, 2008, at 11:56 AM, jonathan williams wrote: >> > I am guessing (with all my vast linux experience...that's sarcasm) > that > perhaps the send_mail.pl wrapper does not know how to find the actual > senmail file which is located in /usr/lib. I don't see anything in > the > send_mail.pl script that indicates it is looking for it though. > Here is > the send_mail.pl file contents: > > #!/usr/bin/pearl -w > # This is incorrect. It should be 'perl', not 'pearl'. That's what they've been trying to get you to correct. Edit the file and fix it. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 22 19:26:29 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Tue, 22 Jul 2008 10:26:29 -0700 Subject: Help - I am unable to send notifications In-Reply-To: References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> Message-ID: <1216747589.1792.13.camel@LOOKINIUM> On Tue, 2008-07-22 at 10:11 -0700, Marc Powell wrote: > > On Jul 22, 2008, at 11:56 AM, jonathan williams wrote: > >> > > > I am guessing (with all my vast linux experience...that's sarcasm) > > that > > perhaps the send_mail.pl wrapper does not know how to find the > actual > > senmail file which is located in /usr/lib. I don't see anything in > > the > > send_mail.pl script that indicates it is looking for it though. > > Here is > > the send_mail.pl file contents: > > > > #!/usr/bin/pearl -w > > # > > This is incorrect. It should be 'perl', not 'pearl'. That's what > they've been trying to get you to correct. Edit the file and fix it. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the > world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > Umm..what can I say? Wow. OK.. I fixed that in the send_mail.pl > file. Any other steps I need to take once I did that to make it work. > I did re-run the sed-i command and still get the same error: root at LOOKINIUM:/usr/local/nagios/libexec# sed 1q /usr/local/nagios/libexec/send_mail.pl #!/usr/bin/perl -w root at LOOKINIUM:/usr/local/nagios/libexec# sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl sed: can't read check_sendmail.pl: No such file or directory ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Tue Jul 22 19:36:18 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Tue, 22 Jul 2008 18:36:18 +0100 Subject: NRPE In-Reply-To: <4885BDAE.1070500@gmail.com> References: <4885A97F.4070001@gmail.com> <20080722104945.40b4c612@tclmmw.in.tiger-computing.com> <4885BDAE.1070500@gmail.com> Message-ID: <48861A92.20808@mailnetwork.co.uk> Brent Clark wrote: > Matthew Macdonald-Wallace wrote: > >> It's basically a firewall rule that states: >> > > See thats what i didnt want. > > Im sure we the same, in that we run very minimalistic (kernel tweaking > too) software installation / services (namely just http, ssh). But now I > have to go write a ruleset all for blocking a port. I was hoping that > the "allowed_host" (which from what I read is tcpwrapped), was good enough. > > Or am I missing something. > > Thanks > > Brent Clark > > Hi Brent, It doesn't have to be a software firewall. I assume if you're running public-facing services, your servers are firewalled in some way, be it hardware, software or router-based? If not then you've got a bigger worry than NRPE being compromised. And if you are, well where's the harm in adding another rule to it? allowed_host does do the job, but it rejects the connection after it hits NRPE (i.e. it's rejected from within NRPE.) The firewall adds an extra layer of security, and prevents connection attempts from even reaching NRPE. I don't believe NRPE is by default tcpwrapped, see here: http://www.nagios.org/faqs/viewfaq.php?faq_id=101. Regards, Andy ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 22 20:14:38 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 13:14:38 -0500 Subject: Help - I am unable to send notifications In-Reply-To: <1216747589.1792.13.camel@LOOKINIUM> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> Message-ID: <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> On Jul 22, 2008, at 12:26 PM, jonathan williams wrote: >> >> Umm..what can I say? Wow. OK.. I fixed that in the send_mail.pl >> file. Any other steps I need to take once I did that to make it >> work. >> I did re-run the sed-i command and still get the same error: > Not unless you experience further errors. > root at LOOKINIUM:/usr/local/nagios/libexec# sed -i '1s,.*,#!/usr/bin/ > perl > -w,' check_sendmail.pl > sed: can't read check_sendmail.pl: No such file or directory Ok. sed 101. sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl The above is a sed 1-liner. It performs an immediate action and then exits. What action? Let's break it down -- sed : this is the command to be executed -i : this tells sed that it's going to be editing an existing file 1s : the start of the actual sed script. This means we're going to be doing 1 substitution .* : this is what we're going to be looking for, essentially any content on the line #!/usr/bin/perl -w : what the previous match will be replaced with check_sendmail.pl : The file that sed is going to be editing The end result is that sed would replace the entire first line of the file check_sendmail.pl, located in your current directory, with the text '#!/usr/bin/perl -w'. Your confusion is that the filename should have been check_mail.pl, not check_sendmail.pl. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 22 20:35:58 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Tue, 22 Jul 2008 11:35:58 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> Message-ID: <1216751758.1792.22.camel@LOOKINIUM> On Tue, 2008-07-22 at 11:14 -0700, Marc Powell wrote: > > On Jul 22, 2008, at 12:26 PM, jonathan williams wrote: > >> > > >> Umm..what can I say? Wow. OK.. I fixed that in the send_mail.pl > >> file. Any other steps I need to take once I did that to make it > >> work. > >> I did re-run the sed-i command and still get the same error: > > > > Not unless you experience further errors. > > > root at LOOKINIUM:/usr/local/nagios/libexec# sed -i '1s,.*,#!/usr/bin/ > > perl > > -w,' check_sendmail.pl > > sed: can't read check_sendmail.pl: No such file or directory > > Ok. sed 101. > > sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl > > The above is a sed 1-liner. It performs an immediate action and then > exits. What action? Let's break it down -- > > sed : this is the command to be executed > -i : this tells sed that it's going to be editing an existing file > 1s : the start of the actual sed script. This means we're going to be > doing 1 substitution > .* : this is what we're going to be looking for, essentially any > content on the line > #!/usr/bin/perl -w : what the previous match will be replaced with > check_sendmail.pl : The file that sed is going to be editing > > The end result is that sed would replace the entire first line of the > file check_sendmail.pl, located in your current directory, with the > text '#!/usr/bin/perl -w'. > > Your confusion is that the filename should have been check_mail.pl, > not check_sendmail.pl. > > -- > Marc > Thank you for that breakdown. I am still having the same error in my nagios.log: "[1216749581] SERVICE NOTIFICATION: nagiosadmin;jwilliamspc;PrintSpooler;OK;service-notify-by-email;Spooler: Started [1216749581] Warning: Attempting to execute the command "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul 22 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists..." The top line in the send_mail.pl script is indeed "#!/usr/bin/perl -w". I am not sure what it does though. Doesn't the # mean it is remarked? I guess my confusion is that there is no such file on my system called check_sendmail.pl or check_mail.pl. I was unable to locate any of them. There is only a check_mailq. That is why when you state: #!/usr/bin/perl -w : what the previous match will be replaced with > check_sendmail.pl : The file that sed is going to be editing > > The end result is that sed would replace the entire first line of the > file check_sendmail.pl, located in your current directory, with the > text '#!/usr/bin/perl -w'. > > Your confusion is that the filename should have been check_mail.pl, > not check_sendmail.pl. I get lost. > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 22 21:13:07 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 14:13:07 -0500 Subject: Help - I am unable to send notifications References: <4880483C.40203@op5.se><4880A5AE.3020109@op5.se><20080722170858.63e864c6@tclmmw.in.tiger-computing.com><1216745782.1792.7.camel@LOOKINIUM><1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012325@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > Sent: Tuesday, July 22, 2008 1:15 PM > To: Nagios User list > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > > > root at LOOKINIUM:/usr/local/nagios/libexec# sed -i '1s,.*,#!/usr/bin/ > > perl > > -w,' check_sendmail.pl > > sed: can't read check_sendmail.pl: No such file or directory > > Ok. sed 101. > > sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl > Your confusion is that the filename should have been check_mail.pl, > not check_sendmail.pl. Correction. It should have been send_mail.pl, not check_sendmail.pl. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Tue Jul 22 21:46:12 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Tue, 22 Jul 2008 15:46:12 -0400 Subject: Migrating to v3 In-Reply-To: References: <48843F94.3010702@op5.se> Message-ID: 2008/7/21 Ciro Iriarte : > 2008/7/21 Andreas Ericsson : >> Ciro Iriarte wrote: >>> >>> Hi, >>> >>> I'm migrating our v2.x installation of nagios to 3.0.3 and i'm stuck >>> currently, can sameone check if i'm missing something here?: >>> >>> Verification reports: >>> ------------- >>> Error: Service description, host name, or check command is NULL >>> Error: Could not register service (config file >>> '/etc/nagios/objects/services/filesystems.win.cfg', starting on line >>> 1) >>> ------------- >>> >>> First lines of filesystems.win.cfg: >>> >>> ------------- >>> define service{ >>> use filesystems >>> hostgroup_name nrpe_nt >>> service_description Unidad c:\ >> >> Nagios 3 supports line-continuation in configuration files. Remove the >> backslash >> at the end of this line and you'll be fine. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> > > Thanks to both of you, that was the issue, I had to add "\\" instead > and it worked! > > Regards, > Ciro > Nope, that didn't help, the error desappeared and also this my services (not seen in the web interface), deletin the "\" did it (just "Unidad c:" works. Thanks Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at nuvox.com Tue Jul 22 22:34:29 2008 From: dfulton at nuvox.com (Fulton, David) Date: Tue, 22 Jul 2008 16:34:29 -0400 Subject: Issues with timeperiods Message-ID: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41B7B@EMAIL01.CORPORATE.VOX.NET> I was attempting to setup an on call rotation per the directions on the website and have run into a little snag that I am not sure really is a snag. My timeperiods file looks like this: define timeperiod{ timeperiod_name cbakeroncall alias Charles Baker on call weeks 2008-07-21 00:00-24:00 } # timeperiods.cfg - Config file for Nagios (www.nagios.org) # # Written by Nawui 0.1.5-dev. Manually editing this file is a bad idea since Nawui will # overwrite it. # # Exported at 11:54:47 - 01 Apr 2004 # define timeperiod { timeperiod_name 24x7 alias 24 Hours A Day, 7 Days A Week sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } define timeperiod { timeperiod_name workhours alias Work hours monday 08:00-18:00 tuesday 08:00-18:00 wednesday 08:00-18:00 thursday 08:00-18:00 friday 08:00-18:00 } define timeperiod { timeperiod_name nonworkhours alias Non-Work Hours sunday 00:00-24:00 monday 00:00-09:00,17:00-24:00 tuesday 00:00-09:00,17:00-24:00 wednesday 00:00-09:00,17:00-24:00 thursday 00:00-09:00,17:00-24:00 friday 00:00-09:00,17:00-24:00 saturday 00:00-24:00 } define timeperiod { timeperiod_name none alias No Time Is A Good Time } # This says some guy named Nawui is gonna overwrite this file if I put this here. # Well, I'm just that crazy. define timeperiod { timeperiod_name non_netapp_maintenance alias Always except NetApp Maintenance cronjobs sunday 00:00-01:00,05:00-24:00 monday 00:00-01:00,05:00-24:00 tuesday 00:00-01:00,05:00-24:00 wednesday 00:00-01:00,05:00-24:00 thursday 00:00-01:00,05:00-24:00 friday 00:00-01:00,05:00-24:00 saturday 00:00-01:00,05:00-24:00 } Now, the problem is at the top of the file, if I look at the timeperiods config in the CGI it looks like this: Time Periods Name Alias/Description Exclusions Days/Dates Times 24x7 24 Hours A Day, 7 Days A Week sunday 00:00:00 - 24:00:00 monday 00:00:00 - 24:00:00 tuesday 00:00:00 - 24:00:00 wednesday 00:00:00 - 24:00:00 thursday 00:00:00 - 24:00:00 friday 00:00:00 - 24:00:00 saturday 00:00:00 - 24:00:00 cbakeroncall Charles Baker on call weeks 2008-05-21 00:00:00 - 24:00:00 non_netapp_maintenance Always except NetApp Maintenance cronjobs sunday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 monday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 tuesday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 wednesday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 thursday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 friday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 saturday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 none No Time Is A Good Time nonworkhours Non-Work Hours sunday 00:00:00 - 24:00:00 monday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 tuesday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 wednesday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 thursday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 friday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 saturday 00:00:00 - 24:00:00 workhours Work hours monday 08:00:00 - 18:00:00 tuesday 08:00:00 - 18:00:00 wednesday 08:00:00 - 18:00:00 thursday 08:00:00 - 18:00:00 friday 08:00:00 - 18:00:00 Notice the date in the config file is 2008-07-21 and the date the CGI reports is 2008-05-21. So my question is this, is this just a matter of the CGI being broken and not being able to correctly interpret the configuration, or is it nagios itself that is broken. If it is just the CGI I will be perfectly okay with that. If not, I would like to put it in as a bug. Thanks David Fulton Systems Administrator NUVOX O:407-835-0470 C:321-246-2238 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at nuvox.com Tue Jul 22 22:41:43 2008 From: dfulton at nuvox.com (Fulton, David) Date: Tue, 22 Jul 2008 16:41:43 -0400 Subject: Issues with timeperiods In-Reply-To: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41B7B@EMAIL01.CORPORATE.VOX.NET> References: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41B7B@EMAIL01.CORPORATE.VOX.NET> Message-ID: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41B8C@EMAIL01.CORPORATE.VOX.NET> BTW, I am running 3.0.3 on a RHEL 5 box on x86_64 David Fulton Systems Administrator NUVOX O:407-835-0470 C:321-246-2238 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of Fulton, David > Sent: Tuesday, July 22, 2008 4:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Issues with timeperiods > > I was attempting to setup an on call rotation per the > directions on the website and have run into a little snag > that I am not sure really is a snag. My timeperiods file > looks like this: > > define timeperiod{ > timeperiod_name cbakeroncall > alias Charles Baker on call weeks > 2008-07-21 00:00-24:00 > } > # timeperiods.cfg - Config file for Nagios (www.nagios.org) # > # Written by Nawui 0.1.5-dev. Manually editing this file is a > bad idea since Nawui will # overwrite it. > # > # Exported at 11:54:47 - 01 Apr 2004 > # > > > define timeperiod { > timeperiod_name 24x7 > alias 24 Hours A Day, 7 Days A Week > sunday 00:00-24:00 > monday 00:00-24:00 > tuesday 00:00-24:00 > wednesday 00:00-24:00 > thursday 00:00-24:00 > friday 00:00-24:00 > saturday 00:00-24:00 > } > > define timeperiod { > timeperiod_name workhours > alias Work hours > monday 08:00-18:00 > tuesday 08:00-18:00 > wednesday 08:00-18:00 > thursday 08:00-18:00 > friday 08:00-18:00 > } > > define timeperiod { > timeperiod_name nonworkhours > alias Non-Work Hours > sunday 00:00-24:00 > monday 00:00-09:00,17:00-24:00 > tuesday 00:00-09:00,17:00-24:00 > wednesday 00:00-09:00,17:00-24:00 > thursday 00:00-09:00,17:00-24:00 > friday 00:00-09:00,17:00-24:00 > saturday 00:00-24:00 > } > > define timeperiod { > timeperiod_name none > alias No Time Is A Good Time > } > > # This says some guy named Nawui is gonna overwrite this file > if I put this here. > # Well, I'm just that crazy. > define timeperiod { > timeperiod_name non_netapp_maintenance > alias Always except NetApp Maintenance cronjobs > sunday 00:00-01:00,05:00-24:00 > monday 00:00-01:00,05:00-24:00 > tuesday 00:00-01:00,05:00-24:00 > wednesday 00:00-01:00,05:00-24:00 > thursday 00:00-01:00,05:00-24:00 > friday 00:00-01:00,05:00-24:00 > saturday 00:00-01:00,05:00-24:00 > } > > Now, the problem is at the top of the file, if I look at the > timeperiods config in the CGI it looks like this: > > Time Periods > > Name Alias/Description Exclusions Days/Dates Times > 24x7 24 Hours A Day, 7 Days A Week sunday 00:00:00 - > 24:00:00 > monday 00:00:00 - 24:00:00 > tuesday 00:00:00 - 24:00:00 > wednesday 00:00:00 - 24:00:00 > thursday 00:00:00 - 24:00:00 > friday 00:00:00 - 24:00:00 > saturday 00:00:00 - 24:00:00 > cbakeroncall Charles Baker on call weeks 2008-05-21 > 00:00:00 - 24:00:00 > non_netapp_maintenance Always except NetApp > Maintenance cronjobs > sunday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 > monday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 > tuesday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 > wednesday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 > thursday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 > friday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 > saturday 05:00:00 - 24:00:00, 00:00:00 - 01:00:00 > none No Time Is A Good Time > nonworkhours Non-Work Hours sunday 00:00:00 - 24:00:00 > monday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 > tuesday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 > wednesday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 > thursday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 > friday 17:00:00 - 24:00:00, 00:00:00 - 09:00:00 > saturday 00:00:00 - 24:00:00 > workhours Work hours monday 08:00:00 - 18:00:00 > tuesday 08:00:00 - 18:00:00 > wednesday 08:00:00 - 18:00:00 > thursday 08:00:00 - 18:00:00 > friday 08:00:00 - 18:00:00 > > Notice the date in the config file is 2008-07-21 and the date > the CGI reports is 2008-05-21. So my question is this, is > this just a matter of the CGI being broken and not being able > to correctly interpret the configuration, or is it nagios > itself that is broken. If it is just the CGI I will be > perfectly okay with that. If not, I would like to put it in as a bug. > > Thanks > > David Fulton > Systems Administrator > NUVOX > O:407-835-0470 > C:321-246-2238 > > > 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 Moblin Your Move > Developer's challenge Build the coolest Linux based > applications with Moblin SDK & win great prizes Grand prize > is a trip for two to an Open Source event anywhere in the > world http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > This email 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 22 22:43:26 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Tue, 22 Jul 2008 13:43:26 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF012325@misex03.ena.com> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF012325@misex03.ena.com> Message-ID: <1216759406.1792.34.camel@LOOKINIUM> On Tue, 2008-07-22 at 12:13 -0700, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Marc Powell > > Sent: Tuesday, July 22, 2008 1:15 PM > > To: Nagios User list > > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > > > > > > > > root at LOOKINIUM:/usr/local/nagios/libexec# sed -i > '1s,.*,#!/usr/bin/ > > > perl > > > -w,' check_sendmail.pl > > > sed: can't read check_sendmail.pl: No such file or directory > > > > Ok. sed 101. > > > > sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl > > > > Your confusion is that the filename should have been check_mail.pl, > > not check_sendmail.pl. > > Correction. It should have been send_mail.pl, not check_sendmail.pl. > > -- > Marc > Bummer. I made the change and did not get any errors, however I am still getting the same error in the nagios.log: [1216757322] Warning: Attempting to execute the command "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE PROBLEM" -h "jwilliamspc" -s "CRITICAL" -a "10.10.113.51" -i "PrintSpooler - Spooler: Stopped - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul 22 13:08:42 PDT 2008" -e "jonathan.williams at us.g4s.com"" resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists. I am not sure if it is permissions or not. The user nagios is the owner of this file and should have access. I ran this from the command prompt, but realize the $wildcards$ will have no meaning from here. root at LOOKINIUM:/usr/local/nagios/libexec# /usr/local/nagios/libexec/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" bash: /usr/local/nagios/libexec/send_mail.pl: Permission denied root at LOOKINIUM:/usr/local/nagios/libexec# sudo /usr/local/nagios/libexec/send_mail.pl -n "HOST $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$HOSTSTATE$" -a "$HOSTADDRESS$" -i "$HOSTOUTPUT$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" sudo: /usr/local/nagios/libexec/send_mail.pl: command not found The first attempt was run as logged in user (zlocaladmin) which does not have rights. Not sure why it still gave permissions error since I ran sudo - long before in that session and everything else I can run without the sudo command. Anyhow when run with root access I get the command not found error. I'm stumped. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfulton at nuvox.com Tue Jul 22 23:06:22 2008 From: dfulton at nuvox.com (Fulton, David) Date: Tue, 22 Jul 2008 17:06:22 -0400 Subject: Help - I am unable to send notifications In-Reply-To: <1216751758.1792.22.camel@LOOKINIUM> References: <4880483C.40203@op5.se><4880A5AE.3020109@op5.se><20080722170858.63e864c6@tclmmw.in.tiger-computing.com><1216745782.1792.7.camel@LOOKINIUM><1216747589.1792.13.camel@LOOKINIUM><16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> <1216751758.1792.22.camel@LOOKINIUM> Message-ID: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > Of jonathan williams > Sent: Tuesday, July 22, 2008 2:36 PM > To: Marc Powell > Cc: Nagios User list > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > > On Tue, 2008-07-22 at 11:14 -0700, Marc Powell wrote: > > > > On Jul 22, 2008, at 12:26 PM, jonathan williams wrote: > > >> > > > > >> Umm..what can I say? Wow. OK.. I fixed that in the > send_mail.pl > > >> file. Any other steps I need to take once I did that to make it > > >> work. > > >> I did re-run the sed-i command and still get the same error: > > > > > > > Not unless you experience further errors. > > > > > root at LOOKINIUM:/usr/local/nagios/libexec# sed -i > '1s,.*,#!/usr/bin/ > > > perl -w,' check_sendmail.pl > > > sed: can't read check_sendmail.pl: No such file or directory > > > > Ok. sed 101. > > > > sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl > > > > The above is a sed 1-liner. It performs an immediate action > and then > > exits. What action? Let's break it down -- > > > > sed : this is the command to be executed -i : this tells > sed that it's > > going to be editing an existing file 1s : the start of the > actual sed > > script. This means we're going to be doing 1 substitution > > .* : this is what we're going to be looking for, essentially any > > content on the line #!/usr/bin/perl -w : what the previous > match will > > be replaced with check_sendmail.pl : The file that sed is > going to be > > editing > > > > The end result is that sed would replace the entire first > line of the > > file check_sendmail.pl, located in your current directory, with the > > text '#!/usr/bin/perl -w'. > > > > Your confusion is that the filename should have been check_mail.pl, > > not check_sendmail.pl. > > > > -- > > Marc > > > > > Thank you for that breakdown. > > I am still having the same error in my nagios.log: > > "[1216749581] SERVICE NOTIFICATION: > nagiosadmin;jwilliamspc;PrintSpooler;OK;service-notify-by-emai l;Spooler: > Started > [1216749581] Warning: Attempting to execute the command > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - > Spooler: > Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul 22 > 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" > resulted in a return code of 126. Make sure the script or > binary you are trying to execute actually exists..." > > The top line in the send_mail.pl script is indeed > "#!/usr/bin/perl -w". > I am not sure what it does though. Doesn't the # mean it is remarked? > I guess my confusion is that there is no such file on my > system called check_sendmail.pl or check_mail.pl. I was > unable to locate any of them. > There is only a check_mailq. That is why when you state: > > #!/usr/bin/perl -w : what the previous match will be replaced with > > check_sendmail.pl : The file that sed is going to be editing > > > > The end result is that sed would replace the entire first > line of the > > file check_sendmail.pl, located in your current directory, with the > > text '#!/usr/bin/perl -w'. > > > > Your confusion is that the filename should have been check_mail.pl, > > not check_sendmail.pl. > > I get lost. As Marc broke down the sed line I will break down the line above, the # character is indeed a comment character, but only to PERL. PERL is not what tries to load the file initially, the shell tries to load the file as a compiled program(like /bin/ls is the compiled program that lists the files in a directory: I ran this on my nagios server as an example): [dfulton at nagios01 nagios]$ file /bin/ls /bin/ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped [dfulton at nagios01 nagios]$ But since a PERL script is interpretted and not compiled (technically that isn't true either but it might as well be), the loader normally doesn't know what to do with it, so the gods of UNIX decided that the characters #! Would have special signifigance to the loader at the beginning of the file. They indicate the program that will interpret the script. So when the loader sees it it then looks for the /usr/bin/perl program and execs it with the -w command and the script path so that it will interpret the script. If /usr/bin/perl does not exist you will have problems. To verify the existence of it just "ls /usr/bin/perl". Most systems have it there, but a few do not, instead they keep it in /usr/local/bin/ so you might need to change that line to "#!/usr/local/bin/perl -w" instead. But only if it is in that location, if it isn't you will need to find it. Which may not be so hard since nagios probably found it when you installed it and if you do a "file *" in the plugin directory and then type "head " and the name of a perl script you should see where it really is. Hope this helps. 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Tue Jul 22 23:26:56 2008 From: myoung at nagios.org (Mark Young) Date: Tue, 22 Jul 2008 16:26:56 -0500 Subject: Monitor log file for inactivity? In-Reply-To: <277020fc0807220556s6444537g6337986276dff4f0@mail.gmail.com> References: <277020fc0807211158u40dd3911q96ca540129ff7ecb@mail.gmail.com> <1F3BBDB3-1916-47B5-99BC-82E6F80169FA@nagios.org> <277020fc0807220556s6444537g6337986276dff4f0@mail.gmail.com> Message-ID: <4F76BECD-3CB0-44C7-B1A8-E96A00D72FC8@nagios.org> On Jul 22, 2008, at 7:56 AM, Sean Carolan wrote: > I have heard that check_by_ssh can cause a lot of overhead on large > networks where there are many checks going on at the same time. Can > anyone give some practical numbers here? I have about 160 machines > that need to be monitored, most of them will simply have the basic > CPU/Disk/Memory monitoring. I would think that on a small network > like this it should not be a major problem. You should no problem if you are running on decent hardware since don't have that many hosts and only a few services will be checked with SSH. NRPE is definitely the preferred method for running remote checks. With each SSH check you are creating a new tunnel, logging onto a remote machine as the user you setup, running the command, waiting for output, and closing the connection. Plus you are normally creating a public ssh key that allows for password-less log on. You can see where there are both performance and security concerns. Check_by_ssh will work fine but I would at least take a took at NRPE. The difference in setting it up may be smaller than you think since you will have to touch each machine to install the plugins no matter what you decide. > > Nice. I really appreciate the help. Nagios will soon be replacing > the feature-challenged monitoring software we are using now for Linux > machines. Good to hear and good luck! :-) Mark Young ___ Nagios Enterprises, LLC Web: www.nagios.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Tue Jul 22 23:26:45 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Tue, 22 Jul 2008 14:26:45 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> <1216751758.1792.22.camel@LOOKINIUM> <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> Message-ID: <1216762005.1792.37.camel@LOOKINIUM> On Tue, 2008-07-22 at 14:06 -0700, Fulton, David wrote: > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net > > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf > > Of jonathan williams > > Sent: Tuesday, July 22, 2008 2:36 PM > > To: Marc Powell > > Cc: Nagios User list > > Subject: Re: [Nagios-users] Help - I am unable to send notifications > > > > > > On Tue, 2008-07-22 at 11:14 -0700, Marc Powell wrote: > > > > > > On Jul 22, 2008, at 12:26 PM, jonathan williams wrote: > > > >> > > > > > > >> Umm..what can I say? Wow. OK.. I fixed that in the > > send_mail.pl > > > >> file. Any other steps I need to take once I did that to make > it > > > >> work. > > > >> I did re-run the sed-i command and still get the same error: > > > > > > > > > > Not unless you experience further errors. > > > > > > > root at LOOKINIUM:/usr/local/nagios/libexec# sed -i > > '1s,.*,#!/usr/bin/ > > > > perl -w,' check_sendmail.pl > > > > sed: can't read check_sendmail.pl: No such file or directory > > > > > > Ok. sed 101. > > > > > > sed -i '1s,.*,#!/usr/bin/perl -w,' check_sendmail.pl > > > > > > The above is a sed 1-liner. It performs an immediate action > > and then > > > exits. What action? Let's break it down -- > > > > > > sed : this is the command to be executed -i : this tells > > sed that it's > > > going to be editing an existing file 1s : the start of the > > actual sed > > > script. This means we're going to be doing 1 substitution > > > .* : this is what we're going to be looking for, essentially any > > > content on the line #!/usr/bin/perl -w : what the previous > > match will > > > be replaced with check_sendmail.pl : The file that sed is > > going to be > > > editing > > > > > > The end result is that sed would replace the entire first > > line of the > > > file check_sendmail.pl, located in your current directory, with > the > > > text '#!/usr/bin/perl -w'. > > > > > > Your confusion is that the filename should have been > check_mail.pl, > > > not check_sendmail.pl. > > > > > > -- > > > Marc > > > > > > > > > Thank you for that breakdown. > > > > I am still having the same error in my nagios.log: > > > > "[1216749581] SERVICE NOTIFICATION: > > nagiosadmin;jwilliamspc;PrintSpooler;OK;service-notify-by-emai > l;Spooler: > > Started > > [1216749581] Warning: Attempting to execute the command > > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" > -h "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - > > Spooler: > > Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul > 22 > > 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" > > resulted in a return code of 126. Make sure the script or > > binary you are trying to execute actually exists..." > > > > The top line in the send_mail.pl script is indeed > > "#!/usr/bin/perl -w". > > I am not sure what it does though. Doesn't the # mean it is > remarked? > > I guess my confusion is that there is no such file on my > > system called check_sendmail.pl or check_mail.pl. I was > > unable to locate any of them. > > There is only a check_mailq. That is why when you state: > > > > #!/usr/bin/perl -w : what the previous match will be replaced with > > > check_sendmail.pl : The file that sed is going to be editing > > > > > > The end result is that sed would replace the entire first > > line of the > > > file check_sendmail.pl, located in your current directory, with > the > > > text '#!/usr/bin/perl -w'. > > > > > > Your confusion is that the filename should have been > check_mail.pl, > > > not check_sendmail.pl. > > > > I get lost. > > As Marc broke down the sed line I will break down the line above, the > # > character is indeed a comment character, but only to PERL. PERL is not > what tries to load the file initially, the shell tries to load the > file > as a compiled program(like /bin/ls is the compiled program that lists > the files in a directory: I ran this on my nagios server as an > example): > > [dfulton at nagios01 nagios]$ file /bin/ls > /bin/ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for > GNU/Linux 2.4.0, dynamically linked (uses shared libs), stripped > [dfulton at nagios01 nagios]$ > > But since a PERL script is interpretted and not compiled (technically > that isn't true either but it might as well be), the loader normally > doesn't know what to do with it, so the gods of UNIX decided that the > characters #! Would have special signifigance to the loader at the > beginning of the file. They indicate the program that will interpret > the > script. So when the loader sees it it then looks for the /usr/bin/perl > program and execs it with the -w command and the script path so that > it > will interpret the script. If /usr/bin/perl does not exist you will > have > problems. To verify the existence of it just "ls /usr/bin/perl". Most > systems have it there, but a few do not, instead they keep it in > /usr/local/bin/ so you might need to change that line to > "#!/usr/local/bin/perl -w" instead. But only if it is in that > location, > if it isn't you will need to find it. Which may not be so hard since > nagios probably found it when you installed it and if you do a "file > *" > in the plugin directory and then type "head " and the name of a perl > script you should see where it really is. > > Hope this helps. That helped a great deal in helping me understand what it is typing to do. That top line than of #!/usr/bin/perl -w does exist and the perl file does exist in /usr/bin so it should all be correct. Up until you pointed out my typo of the spelling of perl as "pearl" this obviously would not work and I was optimistic of this correcting the problem. However I fixed the spelling and am still getting the same error. It is just not seeing send_mail.pl as a valid script. The script of course is defined in the commands.cfg file as: define command{ command_name service-notify-by-email command_line $USER1$/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Tue Jul 22 23:48:10 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Tue, 22 Jul 2008 17:48:10 -0400 Subject: Help - I am unable to send notifications In-Reply-To: <1216762005.1792.37.camel@LOOKINIUM> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA @ena.com> <1216751758.1792.22.camel@LOOKINIUM> <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> <1216762005.1792.37.camel@LOOKINIUM> Message-ID: <4886559A.8040703@collaborativefusion.com> jonathan williams wrote: > > That helped a great deal in helping me understand what it is typing to > do. That top line than of #!/usr/bin/perl -w does exist and the perl > file does exist in /usr/bin so it should all be correct. Up until you > pointed out my typo of the spelling of perl as "pearl" this obviously > would not work and I was optimistic of this correcting the problem. > However I fixed the spelling and am still getting the same error. It is > just not seeing send_mail.pl as a valid script. The script of course is > defined in the commands.cfg file as: > > define command{ > command_name service-notify-by-email > command_line $USER1$/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h > "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - > $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e > "$CONTACTEMAIL$" > } > I have yet to see you confirm that send_mail.pl actually exists. None of my default installs have this script, so I'm assuming that's your problem. Download it from NagiosExchange (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2217.html;d=1) and put it wherever $USER1$ is (this is the default location of check_x commands, it's defined in Nagios' resources file). Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wade.peacock at sunwave.net Tue Jul 22 23:49:23 2008 From: wade.peacock at sunwave.net (Wade Peacock) Date: Tue, 22 Jul 2008 14:49:23 -0700 Subject: Re-Notification Message-ID: <488655E3.5020206@sunwave.net> I have been using Nagios since the days of Netsaint. I have never had this issue. I have a service that is continuously re-notifying. It should be notify once. I have reviewed my configuration file. I can not figure it out. Here is the service specific information: define service { name temp is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 5 retry_check_interval 2 active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 obsess_over_service 0 check_freshness 0 notifications_enabled 1 notification_interval 0 notification_period 24x7 notification_options c,r event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups Test } define service { service_description Temperature - CABLE HEADEND use temp host_name Sensatronics E4 check_command check_temperature!2 } I have tried Version 3.0rc2, 3.0.1, 3.0.2 & 3.0.3 Thanks for your help. Wade Peacock -------------- next part -------------- A non-text attachment was scrubbed... Name: wade_peacock.vcf Type: text/x-vcard Size: 369 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 23 00:04:36 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Tue, 22 Jul 2008 15:04:36 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <4886559A.8040703@collaborativefusion.com> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> <1216751758.1792.22.camel@LOOKINIUM> <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> <1216762005.1792.37.camel@LOOKINIUM> <4886559A.8040703@collaborativefusion.com> Message-ID: <1216764276.1792.47.camel@LOOKINIUM> On Tue, 2008-07-22 at 14:48 -0700, Sean McAfee wrote: > jonathan williams wrote: > > > > That helped a great deal in helping me understand what it is typing > to > > do. That top line than of #!/usr/bin/perl -w does exist and the > perl > > file does exist in /usr/bin so it should all be correct. Up until > you > > pointed out my typo of the spelling of perl as "pearl" this > obviously > > would not work and I was optimistic of this correcting the problem. > > However I fixed the spelling and am still getting the same error. > It is > > just not seeing send_mail.pl as a valid script. The script of > course is > > defined in the commands.cfg file as: > > > > define command{ > > command_name service-notify-by-email > > command_line $USER1$/send_mail.pl -n "SERVICE > $NOTIFICATIONTYPE$" -h > > "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC > $ - > > $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e > > "$CONTACTEMAIL$" > > } > > > I have yet to see you confirm that send_mail.pl actually exists. None > of my default installs have this script, so I'm assuming that's your > problem. > > Download it from NagiosExchange > (http://www.nagiosexchange.org/cgi-bin/page.cgi?g=2217.html;d=1) and > put > it wherever $USER1$ is (this is the default location of check_x > commands, it's defined in Nagios' resources file). > > Sean McAfee > System Engineer > > Collaborative Fusion, Inc. > smcafee at collaborativefusion.com > 412-422-3463 x 4025 > > 5849 Forbes Avenue > Pittsburgh, PA 15217 It does exist and I pasted the text from it in a previous e-mail earlier today. I downloaded it from nagiosexchange as an add-on so no default Nagios install would have this. It is located in /usr/local/nagios/libexec. See below: root at LOOKINIUM:/usr/local/nagios/libexec# locate send_mail.pl /home/zlocaladmin/Documents/send_mail.pl /usr/local/nagios/libexec/send_mail.pl root at LOOKINIUM:/usr/local/nagios/libexec# The /home/zlocaladmin/Documents/send_mail.pl reference is where the file was downloaded and I copied rather than moved it into the /usr/local/nagios/libexec folder so that one is not being used. I have looked this over and over and can't figure out why it says it does not exist. It's there. > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Wed Jul 23 02:10:53 2008 From: th.granier at free.fr (Thierry Granier) Date: Wed, 23 Jul 2008 02:10:53 +0200 Subject: sources Nagios Message-ID: <4886770D.3040704@free.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello! where can i find the sources of the plugins and the source of Nagios please? Thanks in advance -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkiGdw0ACgkQF0VsK96v2MJ2fwCgq+fRvpVecNhkJZce+dF3Fw0P nWAAn1ZQUkml5xxnPsUuIsmUCO9aJaq1 =1Bi+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Wed Jul 23 02:43:15 2008 From: th.granier at free.fr (Thierry Granier) Date: Wed, 23 Jul 2008 02:43:15 +0200 Subject: check_http Message-ID: <48867EA3.6020909@free.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello i have a "WARNING" on a check_http command and i don't know why More, i don't receive a mail nofitication What happens? -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkiGfqMACgkQF0VsK96v2MLybwCfdki5mHL78mmu9MOqd2JMwjCQ dmUAn30f8GVfQ+B0lV9ITOfTA08Oy8T/ =6ceq -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Jul 23 02:57:13 2008 From: jpratt at norwich.edu (James Pratt) Date: Tue, 22 Jul 2008 20:57:13 -0400 Subject: check_http In-Reply-To: <48867EA3.6020909@free.fr> References: <48867EA3.6020909@free.fr> Message-ID: <4A7DC39A59AC0944B10A9561147F666A856F@nuexchange.norwich.edu> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Thierry Granier > Sent: Tuesday, July 22, 2008 8:43 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_http > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello > i have a "WARNING" on a check_http command and i don't know why > More, i don't receive a mail nofitication > What happens? Check your "notification options" . if the page is password protected, you can change it from notification_options w,u,c,r To Notification_options u,c,r (this gets rid of notifications on warnings only such as access denied etc). ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Jul 23 03:30:34 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 22 Jul 2008 21:30:34 -0400 Subject: [Nagiosplug-help] schedule check problem In-Reply-To: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> References: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> Message-ID: <488689BA.8030001@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 22/07/08 05:09 AM, asam30 at gmail.com wrote: > Hi, > > I've got a strange problem with the nagios. Recently, for testing > purpose we did install nagios server on a intel based pc and now we > would like to move the nagios server to an high end machine like HP > proliant DL 380. > > The nagios server on Intel based pc works fine and it was able to > monitor all the clients using check_nrpe plugin. I have now installed > nagios server, nagios plugins and nrpe on a high end machine and copied > all the configuration files from old server to here and then started > nagios service. All looks ok except for scheduling checks. > > The time on nagios server is ahead of the time displayed on the nagios > interface for Next Scheduled Check. The Next Scheduled Check for some > service shows, > > Next Scheduled Check: 07-22-2008 09:31:04 > Last Check Time:07-22-2008 09:37:53 > > but the time on nagios server is, > Tue Jul 22 09:40:06 GMT 2008 > > The time is not sync properly and when I refresh the page maually, it > shows all services are in green which means all are working ok. but > after few seconds when I refresh the same page manually, the services > were in red color. tells me the error as , critical CHECK_NRPE: Socket > timeout after 10 seconds > > then if you refresh later some point, all service will show in green. > why does this difference? > > where do i change the settings so the time on the nagios interface will > sync the time with the nagios server? First of all please do not cross-post. Many people read both lists anyways, so cross-posting just pollute their inbox. The time in the web interface it the time of the server. Make sure to regularly sync the server time or run a properly configured local ntp daemon to keep time sync. The issue about having all service ok, than all red is very strange... Are you sure you don't have an IP conflict on that your old & new servers, or a DNS record returning the IP of both servers? The NRPE socket timeout after 10 seconds could be the conlfiguration on the clients - since there's no authentication in NRPE it could be that they're only accepting connections from the old server. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIhom66dZ+Kt5BchYRAjjjAKCdr0o2lDWM5eXElSOPTf8u9p20sACgt5+l OsAC6/YZWpuOAHSi3fetaCg= =b64r -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Jul 23 03:33:00 2008 From: kyle.odonnell at gmail.com (Kyle O'Donnell) Date: Tue, 22 Jul 2008 21:33:00 -0400 Subject: sources Nagios In-Reply-To: <4886770D.3040704@free.fr> References: <4886770D.3040704@free.fr> Message-ID: <2274b9c30807221833p28f43963t6ddbb3cc4322a66a@mail.gmail.com> nagiosplugins.org On Tue, Jul 22, 2008 at 8:10 PM, Thierry Granier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello! > where can i find the sources of the plugins and the source of Nagios > please? > Thanks in advance > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v2.0.9 (GNU/Linux) > Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org > > iEYEARECAAYFAkiGdw0ACgkQF0VsK96v2MJ2fwCgq+fRvpVecNhkJZce+dF3Fw0P > nWAAn1ZQUkml5xxnPsUuIsmUCO9aJaq1 > =1Bi+ > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Wed Jul 23 03:40:55 2008 From: th.granier at free.fr (Thierry Granier) Date: Wed, 23 Jul 2008 03:40:55 +0200 Subject: Nagios and plugins sources Message-ID: <48868C27.4020207@free.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nagios V 3.0.3 plugins 4.0.12 Hi, where can i find the sources of Nagios and the sources of plugons? Thanks in advance -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkiGjCcACgkQF0VsK96v2MLptQCdFG07rBWG1vV1Q34mnXRV1J77 4f8An2SvZrjQe42fnInYymJXNyk4gykM =trgI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 23 04:16:33 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 21:16:33 -0500 Subject: sources Nagios In-Reply-To: <4886770D.3040704@free.fr> References: <4886770D.3040704@free.fr> Message-ID: <795884AA-68CF-4F2B-99C8-C64E185776B1@ena.com> On Jul 22, 2008, at 7:10 PM, Thierry Granier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello! > where can i find the sources of the plugins and the source of Nagios > please? http://www.google.com/search?q=nagios+download http://www.nagios.org ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 23 04:23:58 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 21:23:58 -0500 Subject: check_http In-Reply-To: <48867EA3.6020909@free.fr> References: <48867EA3.6020909@free.fr> Message-ID: <0A5C10C7-E1F9-4B94-A714-3A81CCFE4CDE@ena.com> On Jul 22, 2008, at 7:43 PM, Thierry Granier wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello > i have a "WARNING" on a check_http command and i don't know why Something has exceeded your warning threshold but not your critical threshold. That's all we can say based on the information you've given. Please post the service{} and command{} definitions as well as the plugin output if you need further help. > More, i don't receive a mail nofitication Is it configured correctly (i.e. rtfm)? There's much documentation on Notifications. > > What happens? You tell us. That'll help us answer your questions. Posting relevent configuration snippets, nagios version, OS, etc is very helpful too. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From th.granier at free.fr Wed Jul 23 04:28:00 2008 From: th.granier at free.fr (Thierry Granier) Date: Wed, 23 Jul 2008 04:28:00 +0200 Subject: Services defined ! Message-ID: <48869730.7020101@free.fr> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thierry-Desktop:/usr/local/nagios/etc/objects # cat test ############################################################################### # LOCALHOST.CFG - SAMPLE OBJECT CONFIG FILE FOR MONITORING THIS MACHINE # # Last Modified: 05-31-2007 # # NOTE: This config file is intended to serve as an *extremely* simple # example of how you can create configuration entries to monitor # the local (Linux) machine. # ############################################################################### Here is my LOCALHOST.CFG file I have only IServer NAgios and a linux machine only one service (command) is declared for thr remote host and on my web page i can see : "CPU LOAD" ET "SWAP" USAGE for the remote host!!! HOW is it possible! Many thanks on advance ############################################################################### ############################################################################### # # HOST DEFINITION # ############################################################################### ############################################################################### # Define a host for the local machine define host{ use linux-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the linux-server host template definition. host_name localhost alias localhost address 127.0.0.1 } define host{ name linux-box ; Name of this template use generic-host ; Inherit default values check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkiGlzAACgkQF0VsK96v2MJw1ACg1v5ht32yJh2f5fCFreMMdlfY wwUAn3QgHZqpiyYYavA4e5Gywd+Y0kcz =OL8w -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 23 04:30:59 2008 From: marc at ena.com (Marc Powell) Date: Tue, 22 Jul 2008 21:30:59 -0500 Subject: [Nagiosplug-help] schedule check problem In-Reply-To: <488689BA.8030001@aei.ca> References: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> <488689BA.8030001@aei.ca> Message-ID: <84449F10-C9C5-47E9-A39C-DC2087A521A1@ena.com> On Jul 22, 2008, at 8:30 PM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 22/07/08 05:09 AM, asam30 at gmail.com wrote: >> Hi, >> >> >> The time is not sync properly and when I refresh the page maually, it >> shows all services are in green which means all are working ok. but >> after few seconds when I refresh the same page manually, the services >> were in red color. tells me the error as , critical CHECK_NRPE: >> Socket >> timeout after 10 seconds >> >> then if you refresh later some point, all service will show in green. >> why does this difference? >> >> where do i change the settings so the time on the nagios interface >> will >> sync the time with the nagios server? > The issue about having all service ok, than all red is very strange... I would suspect multiple nagios daemons running at the same time in a case like this. The other symptoms sound consistent with that. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Jul 23 04:53:44 2008 From: jpratt at norwich.edu (James Pratt) Date: Tue, 22 Jul 2008 22:53:44 -0400 Subject: check_http In-Reply-To: <488688D3.60903@free.fr> References: <48867EA3.6020909@free.fr> <4A7DC39A59AC0944B10A9561147F666A856F@nuexchange.norwich.edu> <488688D3.60903@free.fr> Message-ID: <4A7DC39A59AC0944B10A9561147F666A8571@nuexchange.norwich.edu> > -----Original Message----- > From: Thierry Granier [mailto:th.granier at free.fr] > Sent: Tuesday, July 22, 2008 9:27 PM > To: James Pratt > Subject: Re: [Nagios-users] check_http > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Many thanks but: > 1) on nagios.org or .com i don't find the sources > 2) where is "notification options" (in which file?) > Many thanks > On the main page, on the left, there is a link called downloads. Sources are there. Notification_options are probably setup either in your nagios configuration's service template file , or within the service definition itself. These files are usually located in /usr/local/nagios/etc, or /usr/local/nagios/etc/objects (3.x) i.e this service definition monitors for the windows service named "VMWare converter service" - see notification_options. (or just skip pulling out your hair and rtfm?) ;) define service{ use generic-service ; Name of service template to use host_name srv099 service_description VMware Converter Service check_period 24x7 max_check_attempts 5 check_interval 5 contact_groups me notification_interval 60 notification_period 24x7 notification_options w,u,c,r check_command check_snmp_win!"VMware Converter Service" } http://www.nagios.org/docs/ Regards, jamie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 23 07:19:10 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 23 Jul 2008 07:19:10 +0200 Subject: Nagios and plugins sources In-Reply-To: <48868C27.4020207@free.fr> References: <48868C27.4020207@free.fr> Message-ID: <4886BF4E.4070107@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thierry Granier wrote: | Nagios V 3.0.3 | plugins 4.0.12 | | Hi, | where can i find the sources of Nagios and the sources of plugons? | Thanks in advance Thierry, Be aware that you are moving very fast to the "annoying type of poster" that is getting ignored in full. I do not think you want to go there. It seems you have a hard time finding information on your own but overwelm the mailinglist with questions that do not show the commitment to take any actions on your own. Please read the instruction on asking question on mailinglists the smart way unless it is your intention to be ignored: http://www.catb.org/%7Eesr/faqs/smart-questions.html It might also help to see that someone posted their public key to the public key servers if they insist on signing their messages. At this point I think some of us might want to be convinced we are not asked to do your homework but you are in fact a bonafide nagios user and not a student who is incapable to complete a simple assignment. It's not that we do not want to help someone but with Nagios it is mandatory to read the manual at least once cover to cover. Then you should have seen at least everything and you should be able to ask specific questions. I think you are currently unaware of the impression that you leave on the mailinglist of yourself and how it will impact the way people will respond to you. 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) iD8DBQFIhr9MBvzDRVjxmYERApagAJ9XbVtI1T4i1zepg0ERADtH+EGIQQCdGViv nxXqeBElMXtMJk7TwFeZ7B0= =dHqI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.van-Beers at grundy-le.com Wed Jul 23 10:01:03 2008 From: Jan.van-Beers at grundy-le.com (Jan.van-Beers at grundy-le.com) Date: Wed, 23 Jul 2008 10:01:03 +0200 Subject: van Beers, Jan is out of the office. Message-ID: Ich werde ab 18.07.2008 nicht im B?ro sein. Ich kehre zur?ck am 04.08.2008. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. In dringenden Faellen wenden Sie sich bitte an Yvonne B?ttgenbach (yvonne.buettgenbach at grundy-le.com), -1201. This email is confidential and may well also be legally privileged. If you have received this email in error, you are in notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy or use it for any purposes, or disclose its contents to any other person: to do so could be a breach of confidence. Thank you for your co-operation. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of The RTL Group or its associated companies. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sarinyo at gmail.com Wed Jul 23 11:20:09 2008 From: sarinyo at gmail.com (Marc Torres) Date: Wed, 23 Jul 2008 11:20:09 +0200 Subject: Notifiactions question Message-ID: Hi all, I'm quite newbe to nagios, and I'm trying to configure notifications for services according to host contacts. I mean, I would like to configure contacts (or contact groups) only in the hosts definitions, and then when a monitorized service at that host has a hard state change, the notification gets send to the contact configured at the host definition. My problem is that I've got one hostgroup which has all hosts related to it. The services are configured for that hostgroup (all the hosts run the same services), this way I'm monitoring the same services in all hosts. But according to [1], I've to configure a contact or a contactgroup at least for the service, and here comes my problem. I would like not to share the same contacts for the same service in the different hosts, I would like to configure different contacts for the same service in different hosts. The contact should be the same configured in the host definition, so my question is if its possible to configure nagios to send service notification at destinations configured at hosts definition instead of service definition. I've read almost all the docs from [2]. But I didn't found a easy way to achieve it. The only solution that comes to my mind is to create a template for each service and then create a service for each host that inherits from the template and has the same contact of the host, but this is hard to achieve as I may have hundreds of hosts. Cheers, Marc. [1] http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service [2] http://nagios.sourceforge.net/docs/3_0/toc.html -- "I'm unique, just like everyone else". Read it out there ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From al at its-lehmann.de Wed Jul 23 11:53:39 2008 From: al at its-lehmann.de (Arno Lehmann) Date: Wed, 23 Jul 2008 11:53:39 +0200 Subject: Notifiactions question In-Reply-To: References: Message-ID: <4886FFA3.5090706@its-lehmann.de> Hello, 23.07.2008 11:20, Marc Torres wrote: > Hi all, > > I'm quite newbe to nagios, and I'm trying to configure notifications > for services according to host contacts. I mean, I would like to > configure contacts (or contact groups) only in the hosts definitions, > and then when a monitorized service at that host has a hard state > change, the notification gets send to the contact configured at the > host definition. You could do this with custom variables. You set the data you need for the notifications in the host as, for example, _NOTIFICATIONMAIL and create a new notification script that uses this address (if defined) instead of the default supplied by the Nagios configuration. Arno > My problem is that I've got one hostgroup which has all hosts related > to it. The services are configured for that hostgroup (all the hosts > run the same services), this way I'm monitoring the same services in > all hosts. But according to [1], I've to configure a contact or a > contactgroup at least for the service, and here comes my problem. > > I would like not to share the same contacts for the same service in > the different hosts, I would like to configure different contacts for > the same service in different hosts. The contact should be the same > configured in the host definition, so my question is if its possible > to configure nagios to send service notification at destinations > configured at hosts definition instead of service definition. > > I've read almost all the docs from [2]. But I didn't found a easy way > to achieve it. The only solution that comes to my mind is to create a > template for each service and then create a service for each host that > inherits from the template and has the same contact of the host, but > this is hard to achieve as I may have hundreds of hosts. > > Cheers, > > Marc. > > [1] http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service > [2] http://nagios.sourceforge.net/docs/3_0/toc.html -- Arno Lehmann IT-Service Lehmann www.its-lehmann.de ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Wed Jul 23 13:49:47 2008 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 23 Jul 2008 13:49:47 +0200 Subject: Behaviour/status when Nagios is restarted Message-ID: Hi All! I am confused about Nagios' behavior when it is restarted. One of the basic questions is what classifies as "state information" and what is "non-state information". When we acknowledge a service problem, I would expect this acknowledgement to be a "state information." However, when we restart Nagios, these acknowledgement disappear. The configuration is as follows: nagios.cfg: retention_update_interval=60 state_retention_file=/usr/local/nagios/var/retention.dat retain_state_information=1 use_retained_program_state=1 use_retained_scheduling_info=1 All templates use: retain_status_information 1 and I do not explicitely turn it of for any service. Based on this configuration my assumption is that Nagios should retain status information across Nagios restarts. Since the acknowledgements are not retained, this implies that acknowledgements are not state information. Is this correct? Do I simply need to activate retain_nonstatus_information? Another issue is the initial_state directive. We have several passive services which we set initial_state o I initially set these services manually to OK. However, when I restart Nagios these services go back to "pending", which is not a happy thing. Is there anything I can do? Regards, Jim Mohr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Jul 23 14:03:39 2008 From: ae at op5.se (Andreas Ericsson) Date: Wed, 23 Jul 2008 14:03:39 +0200 Subject: Help - I am unable to send notifications In-Reply-To: <1216751758.1792.22.camel@LOOKINIUM> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA @ena.com> <1216751758.1792.22.camel@LOOKINIUM> Message-ID: <48871E1B.6040603@op5.se> jonathan williams wrote: > [1216749581] Warning: Attempting to execute the command > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h > "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: > Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul 22 > 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" resulted in a > return code of 126. Make sure the script or binary you are trying to > execute actually exists..." > Due to some weird and slightly bent way of passing errors between processes, return code 126 means "Operation not permitted". In english, that means the script is not executable, or one of the directories leading up to it isn't readable by the Nagios user. Run this command (as root): chmod 0755 /usr/local/nagios/libexec/send_mail.pl (correct the path if necessary) and things just might start working a little better. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryans at aweber.com Wed Jul 23 15:03:57 2008 From: ryans at aweber.com (Ryan Steele) Date: Wed, 23 Jul 2008 09:03:57 -0400 Subject: Bad File Descriptors Message-ID: <48872C3D.4020405@aweber.com> Hey folks. I recently had a co-worker present me with a problem regarding the NSCA plugin. It seems that under certain cirumstances (unfortunately, those circumstances are unknown to him and thus me as well), NSCA just kind of hangs (an strace shows basically an idle screen) and these sorts of errors start flooding the daemon log: nsca[28640]: Network server accept failure (9: Bad file descriptor) The quick fix is to restart NSCA, and then everything hums along until the next incident. It's possible there's a bad block on the disk or something, and an fsck might yield some clues, but I haven't had the chance to schedule downtime to do that yet. It's also possible it's hitting the fd limit, but in the time I've been monitoring it, I don't see any leaking of fd's that would point to that as a suspect (the limit is the default of 1024). Additionally, according to ulimit, the pipe size is 4k, which could be an issue as the nsca clients write to a pipe on the server (nagios.cmd), but that's only an option configurable at kernel compile-time and I expect I'd see more widespread reports of problems from other folks in the community if overflowing the default pipe buffer was really the issue. I've seen some sparse reports on Google of a similar problem, but they're just that - sparse. Which kind of makes me think it's not Nagios or NSCA, but a bad block on the hard drive. Anybody have a similar experience or opinion? Thanks! Ryan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Wed Jul 23 15:09:21 2008 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 23 Jul 2008 15:09:21 +0200 Subject: Bad File Descriptors In-Reply-To: <48872C3D.4020405@aweber.com> References: <48872C3D.4020405@aweber.com> Message-ID: > -----Urspr?ngliche Nachricht----- > Von: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] Im > Auftrag von Ryan Steele > Gesendet: Mittwoch, 23. Juli 2008 15:04 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] Bad File Descriptors > > Hey folks. > > I recently had a co-worker present me with a problem > regarding the NSCA plugin. It seems that under certain > cirumstances (unfortunately, those circumstances are unknown > to him and thus me as well), NSCA just kind of hangs (an > strace shows basically an idle screen) and these sorts of > errors start flooding the daemon log: > > > nsca[28640]: Network server accept failure (9: Bad file descriptor) > > > The quick fix is to restart NSCA, and then everything hums > along until the next incident. > > > It's possible there's a bad block on the disk or something, > and an fsck > might yield some clues, but I haven't had the chance to schedule > downtime to do that yet. It's also possible it's hitting the > fd limit, > but in the time I've been monitoring it, I don't see any > leaking of fd's > that would point to that as a suspect (the limit is the default of > 1024). Additionally, according to ulimit, the pipe size is 4k, which > could be an issue as the nsca clients write to a pipe on the server > (nagios.cmd), but that's only an option configurable at kernel > compile-time and I expect I'd see more widespread reports of problems > from other folks in the community if overflowing the default > pipe buffer > was really the issue. > > I've seen some sparse reports on Google of a similar problem, but > they're just that - sparse. Which kind of makes me think it's not > Nagios or NSCA, but a bad block on the hard drive. Anybody have a > similar experience or opinion? We had similar problems when there were a lot of passiv services and it seemed that NSCA was simply getting overloaded. To be honest, I am not sure that we were getting "Bad file descriptor" but NSCA would not accept any new connection and the solution was to restart it. Regards, Jim Mohr ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 23 16:41:49 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Wed, 23 Jul 2008 07:41:49 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <48871E1B.6040603@op5.se> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA @ena.com> <1216751758.1792.22.camel@LOOKINIUM> <48871E1B.6040603@op5.se> Message-ID: -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Wednesday, July 23, 2008 5:04 AM To: Jonathan Williams Cc: Marc Powell; Nagios User list Subject: Re: [Nagios-users] Help - I am unable to send notifications jonathan williams wrote: > [1216749581] Warning: Attempting to execute the command > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h > "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: > Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul 22 > 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" resulted in a > return code of 126. Make sure the script or binary you are trying to > execute actually exists..." > Due to some weird and slightly bent way of passing errors between processes, return code 126 means "Operation not permitted". In english, that means the script is not executable, or one of the directories leading up to it isn't readable by the Nagios user. Run this command (as root): chmod 0755 /usr/local/nagios/libexec/send_mail.pl (correct the path if necessary) and things just might start working a little better. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Thanks Andreas, I that fixed the code 126. The nagios.log has no errors now. I am still not getting any notifications, but I can troubleshoot further. I am curious about one thing. The send_mail.pl script specifies a mailto address in the SMTP setting "my $mailto = jonathan.williams at us.g4s.com. The contacts.cfg also specifies an email address in the define_contacts{ section. I guess I am wondering which one it uses to determine where to send the notification. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Wed Jul 23 17:10:30 2008 From: stanb at panix.com (stan) Date: Wed, 23 Jul 2008 11:10:30 -0400 Subject: V3 compile issues on Solaris 8 Message-ID: <20080723151030.GA19567@teddy.fas.com> I am trying to build 3.0.2 on SunOS 5.8 (Solaris 8). The comile is failing like this: gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o macros-base.o notifications.o sehandlers.o skiplist.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o -lm -lpthread -lltdl -lrt gcc: ../common/snprintf.o: No such file or directory *** Error code 1 make: Fatal error: Command failed for target `nagios' Can anyone give me some guidance on this? If I recall corectly, and it's been a long time since I built things on this machine, snprintf is indeed not in the Sun supplied libraries. Seems like I go a library with it from SunFreeware at one time. Maybe I just need to fix the linker line? Thanks. The build on Solaris 5 should be fun :-( -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Wed Jul 23 17:51:19 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Wed, 23 Jul 2008 17:51:19 +0200 Subject: V3 compile issues on Solaris 8 In-Reply-To: <20080723151030.GA19567@teddy.fas.com> References: <20080723151030.GA19567@teddy.fas.com> Message-ID: <3a69bc5a0807230851w2bc78581k61cd69405ec77590@mail.gmail.com> You will fing snprintf.o in the base directory instead of common. Just make a soft link and make again. It worked for me Cheers 2008/7/23, stan : > > I am trying to build 3.0.2 on SunOS 5.8 (Solaris 8). The comile is failing > like this: > > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o > checks.o config.o commands.o events.o flapping.o logging.o macros-base.o > notifications.o sehandlers.o skiplist.o utils.o retention-base.o > xretention-base.o comments-base.o xcomments-base.o objects-base.o > xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o > xperfdata-base.o downtime-base.o xdowntime-base.o ../common/snprintf.o > -lm -lpthread -lltdl -lrt > gcc: ../common/snprintf.o: No such file or directory > *** Error code 1 > make: Fatal error: Command failed for target `nagios' > > > Can anyone give me some guidance on this? If I recall corectly, and it's > been a long time since I built things on this machine, snprintf is indeed > not in the Sun supplied libraries. Seems like I go a library with it from > SunFreeware at one time. Maybe I just need to fix the linker line? > > Thanks. > > The build on Solaris 5 should be fun :-( > > -- > One of the main causes of the fall of the roman empire was that, lacking > zero, they had no way to indicate successful termination of their C > programs. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Wed Jul 23 18:09:28 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 23 Jul 2008 18:09:28 +0200 Subject: Antwort: Bad File Descriptors In-Reply-To: <48872C3D.4020405@aweber.com> References: <48872C3D.4020405@aweber.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 23.07.2008 15:03:57: > nsca[28640]: Network server accept failure (9: Bad file descriptor) > > I've seen some sparse reports on Google of a similar problem, but > they're just that - sparse. Which kind of makes me think it's not > Nagios or NSCA, but a bad block on the hard drive. Anybody have a > similar experience or opinion? It's a NSCA bug as far as I know. I had the exact same problems and updating to 2.7.2 solved all issues for me it seems as it did not turn up again ever since then. Are you running NSCA 2.7.2 already? 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Wed Jul 23 17:52:07 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Wed, 23 Jul 2008 10:52:07 -0500 Subject: Acknowledgement and Usernames Message-ID: <5D490E0402B4D14F836B5C4436D5949A273954@VMEXCHANGE2.alterscrap.com> Hey Everyone, Nagios Version 2.9 Does anyone know of a way to have Nagios add the username to the MESSAGE TYPE:acknowledgement alerts? We want them to be included in the text messages being sent to us. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ryans at aweber.com Wed Jul 23 18:20:59 2008 From: ryans at aweber.com (Ryan Steele) Date: Wed, 23 Jul 2008 12:20:59 -0400 Subject: Antwort: Bad File Descriptors In-Reply-To: References: Message-ID: <48875A6B.9090604@aweber.com> Sascha.Runschke at gfkl.com wrote: > > nagios-users-bounces at lists.sourceforge.net schrieb am 23.07.2008 15:03:57: > > > nsca[28640]: Network server accept failure (9: Bad file descriptor) > > > > I've seen some sparse reports on Google of a similar problem, but > > they're just that - sparse. Which kind of makes me think it's not > > Nagios or NSCA, but a bad block on the hard drive. Anybody have a > > similar experience or opinion? > > It's a NSCA bug as far as I know. I had the exact same problems and > updating to 2.7.2 solved all issues for me it seems as it did not turn > up again ever since then. Is there an official bug report? > > Are you running NSCA 2.7.2 already? > No, currently running 2.6.1, but if 2.7.2 purports to fix it, I can look in to upgrading. Thanks, Ryan ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 23 18:21:11 2008 From: marc at ena.com (Marc Powell) Date: Wed, 23 Jul 2008 11:21:11 -0500 Subject: Acknowledgement and Usernames In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A273954@VMEXCHANGE2.alterscrap.com> References: <5D490E0402B4D14F836B5C4436D5949A273954@VMEXCHANGE2.alterscrap.com> Message-ID: <7C47740F-A45F-4506-BFAD-50F11F1C6C3A@ena.com> On Jul 23, 2008, at 10:52 AM, Charles Breite wrote: > > Hey Everyone, > > Nagios Version 2.9 > > Does anyone know of a way to have Nagios add the username to the > MESSAGE TYPE:acknowledgement alerts? We want them to be included in > the text messages being sent to us. Add the $HOSTACKAUTHOR$ and $SERVICEACKAUTHOR$ macros to your notification command{}s. http://nagios.sourceforge.net/docs/2_0/macros.html -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Wed Jul 23 18:30:40 2008 From: stanb at panix.com (stan) Date: Wed, 23 Jul 2008 12:30:40 -0400 Subject: Thoughts as to how to best utilize the map functionality Message-ID: <20080723163040.GA22166@teddy.fas.com> I am setting up a Nagios instance which will monitor around 64 machines. These machine are in locations that have as few as 1, or as many as 8 machines in one physical location. These locations are distributed around a fairly large manufacturing facility. The map functionality seems like it would really make for a very impressive display to show management, but in playing around with it, I have yet to come up with anything I really like. We have gotten some nice images of the various types of hardware that we are monitoring, but I am struggling with how best to lay out the map. In addition is ii it possible to add labels or say images of a physical map to this page? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Wed Jul 23 18:31:02 2008 From: stanb at panix.com (stan) Date: Wed, 23 Jul 2008 12:31:02 -0400 Subject: V3 compile issues on Solaris 8 In-Reply-To: <3a69bc5a0807230851w2bc78581k61cd69405ec77590@mail.gmail.com> References: <20080723151030.GA19567@teddy.fas.com> <3a69bc5a0807230851w2bc78581k61cd69405ec77590@mail.gmail.com> Message-ID: <20080723163102.GB22166@teddy.fas.com> On Wed, Jul 23, 2008 at 05:51:19PM +0200, Jose Luis Garcia wrote: > You will fing snprintf.o in the base directory instead of common. > > Just make a soft link and make again. > > It worked for me > Thanks that got me going. -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sascha.Runschke at gfkl.com Wed Jul 23 18:35:52 2008 From: Sascha.Runschke at gfkl.com (Sascha.Runschke at gfkl.com) Date: Wed, 23 Jul 2008 18:35:52 +0200 Subject: Antwort: Thoughts as to how to best utilize the map functionality In-Reply-To: <20080723163040.GA22166@teddy.fas.com> References: <20080723163040.GA22166@teddy.fas.com> Message-ID: nagios-users-bounces at lists.sourceforge.net schrieb am 23.07.2008 18:30:40: > I am setting up a Nagios instance which will monitor around 64 machines. > These machine are in locations that have as few as 1, or as many as 8 > machines in one physical location. These locations are distributed around a > fairly large manufacturing facility. > > The map functionality seems like it would really make for a very impressive > display to show management, but in playing around with it, I have yet to > come up with anything I really like. We have gotten some nice images of the > various types of hardware that we are monitoring, but I am struggling with how > best to lay out the map. > > In addition is ii it possible to add labels or say images of a physical map > to this page? Making the Nagios Status Map pretty is quite strenous and time consuming. And everytime you add a new machine it might break your layout of absolute coordinates - time you could really spend better. Take a look into NagVis: http://www.nagvis.org Imho it's by far the most advanced tool to visualize Nagios. 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 Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From webknowledge at gmail.com Wed Jul 23 19:07:29 2008 From: webknowledge at gmail.com (Marcel) Date: Wed, 23 Jul 2008 14:07:29 -0300 Subject: Monitor log file for inactivity? In-Reply-To: <4F76BECD-3CB0-44C7-B1A8-E96A00D72FC8@nagios.org> References: <277020fc0807211158u40dd3911q96ca540129ff7ecb@mail.gmail.com> <1F3BBDB3-1916-47B5-99BC-82E6F80169FA@nagios.org> <277020fc0807220556s6444537g6337986276dff4f0@mail.gmail.com> <4F76BECD-3CB0-44C7-B1A8-E96A00D72FC8@nagios.org> Message-ID: <2dfcbd1b0807231007y5bbaa39bk3db504e0884e9349@mail.gmail.com> On Tue, Jul 22, 2008 at 6:26 PM, Mark Young wrote: > > On Jul 22, 2008, at 7:56 AM, Sean Carolan wrote: > > I have heard that check_by_ssh can cause a lot of overhead on large > > networks where there are many checks going on at the same time. Can > > anyone give some practical numbers here? I have about 160 machines > > that need to be monitored, most of them will simply have the basic > > CPU/Disk/Memory monitoring. I would think that on a small network > > like this it should not be a major problem. > [ "`stat /tmp/delta_perc.log | egrep Modify | awk '{print $3}' | cut -d. -f1 | date +%s`" -lt "`date +%s`" ] && \ echo "[`date +%s`] PROCESS_SERVICE_CHECK_RESULT;host1;Log File Age;2;Lower Than" >> /usr/local/nagios/var/rw/nagios.cmd One liner cron plugin. 2 cents... ;) > > > You should no problem if you are running on decent hardware since > don't have that many hosts and only a few services will be checked > with SSH. NRPE is definitely the preferred method for running remote > checks. With each SSH check you are creating a new tunnel, logging > onto a remote machine as the user you setup, running the command, > waiting for output, and closing the connection. Plus you are normally > creating a public ssh key that allows for password-less log on. You > can see where there are both performance and security concerns. > > Check_by_ssh will work fine but I would at least take a took at NRPE. > The difference in setting it up may be smaller than you think since > you will have to touch each machine to install the plugins no matter > what you decide. > > > > > > Nice. I really appreciate the help. Nagios will soon be replacing > > the feature-challenged monitoring software we are using now for Linux > > machines. > > Good to hear and good luck! :-) > > > Mark Young > ___ > Nagios Enterprises, LLC > Web: www.nagios.com > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 23 19:25:43 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Wed, 23 Jul 2008 10:25:43 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <48871E1B.6040603@op5.se> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> <1216751758.1792.22.camel@LOOKINIUM> <48871E1B.6040603@op5.se> Message-ID: <1216833943.1792.56.camel@LOOKINIUM> On Wed, 2008-07-23 at 05:03 -0700, Andreas Ericsson wrote: > jonathan williams wrote: > > [1216749581] Warning: Attempting to execute the command > > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h > > "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: > > Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul > 22 > > 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" resulted in a > > return code of 126. Make sure the script or binary you are trying > to > > execute actually exists..." > > > > Due to some weird and slightly bent way of passing errors between > processes, return code 126 means "Operation not permitted". In > english, that means the script is not executable, or one of the > directories leading up to it isn't readable by the Nagios user. > > Run this command (as root): > > chmod 0755 /usr/local/nagios/libexec/send_mail.pl > > (correct the path if necessary) > and things just might start working a little better. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > Looks like Nagios is successfully calling send_mail.pl since I get > this in the nagios.log: [1216833337] SERVICE NOTIFICATION: nagiosadmin;jwilliamspc;PrintSpooler;CRITICAL;service-notify-by-email;Spooler: Stopped However no email is being delivered. I know I can successfully send SMTP mail from this box because I tested it via telnet 25. Here is what I have configured in the send_mail.pl file: #!/usr/bin/perl -w # than a bunch of commented stuff on how to set up the command.cfg file use strict; use Net::SMTP; use Getopt::Std; my $mailhost = 192.168.1.9 ; my $maildomain = us.g4s.com ; my $mailfrom = nagios at us.g4s.com; my $mailto = jonathan.williams at us.g4s.com; my $timeout = 30; my $mailsubject = ''; # Leave blank my $mailbody = ''; # Leave blank my $logfile = '/var/log/mail.log; # Put somewhere better my $debug = 1; # To enable SMTP session debugging to logfile This is the commangs.cfg file: define command{ command_name service-notify-by-email command_line $USER1$/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } Also the contacts.cfg define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias nagiosadmin ; Full name of user host_notification_commands host-notify-by-email service_notification_commands service-notify-by-email email jonathan.williams at us.g4s.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** } efine contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } These are all the variables I can think of. Something must still be amiss or the perl is not working or something? I am not sure. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Wed Jul 23 21:23:13 2008 From: jonathan.williams at us.g4s.com (jonathan williams) Date: Wed, 23 Jul 2008 12:23:13 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <48871E1B.6040603@op5.se> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> <1216751758.1792.22.camel@LOOKINIUM> <48871E1B.6040603@op5.se> Message-ID: <1216840993.1792.68.camel@LOOKINIUM> On Wed, 2008-07-23 at 05:03 -0700, Andreas Ericsson wrote: > jonathan williams wrote: > > [1216749581] Warning: Attempting to execute the command > > "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h > > "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: > > Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul > 22 > > 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" resulted in a > > return code of 126. Make sure the script or binary you are trying > to > > execute actually exists..." > > > > Due to some weird and slightly bent way of passing errors between > processes, return code 126 means "Operation not permitted". In > english, that means the script is not executable, or one of the > directories leading up to it isn't readable by the Nagios user. > > Run this command (as root): > > chmod 0755 /usr/local/nagios/libexec/send_mail.pl > > (correct the path if necessary) > and things just might start working a little better. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 > > If this is a double post I apologize, I just did not ever see it go > through and do not see it in my sent items or drafts. The error code > 126 is gone and see what appears to be a successfull notification in > the nagios log: [1216840237] SERVICE NOTIFICATION: nagiosadmin;jwilliamspc;PrintSpooler;CRITICAL;service-notify-by-email;Spooler: Stopped Still no email though so the issue may be something in the send_mail script or one of the configs, although they look good to me. Here's what I have so far. send_mail.pl (at least the part I am supposed to edit: #!/usr/bin/perl -w # There are commented examples here of the commands.cfg and contacts.cfg files use strict; use Net::SMTP; use Getopt::Std; my $mailhost = 192.168.1.9 ; my $maildomain = us.g4s.com ; my $mailfrom = nagios at us.g4s.com; my $mailto = jonathan.williams at us.g4s.com; my $timeout = 30; my $mailsubject = ''; # Leave blank my $mailbody = ''; # Leave blank my $logfile = '/var/log/mail.log; # Put somewhere better my $debug = 1; # To enable SMTP session debugging to logfile Here is the commands.cfg: define command{ command_name service-notify-by-email command_line $USER1$/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e "$CONTACTEMAIL$" } and the contacts.cfg: define contact{ contact_name nagiosadmin ; Short name of user use generic-contact ; Inherit default values from generic-contact template (defined above) alias nagiosadmin ; Full name of user host_notification_commands host-notify-by-email service_notification_commands service-notify-by-email email jonathan.williams at us.g4s.com ; <<***** CHANGE THIS TO YOUR EMAIL ADDRESS ****** define contactgroup{ contactgroup_name admins alias Nagios Administrators members nagiosadmin } service template in templates.cfg define service{ name generic-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 5 ; Re-check the service up to 5 times in order to determine its final (hard) state normal_check_interval 1 ; Check the service every 1 minutes under normal conditions retry_check_interval 1 ; Re-check the service every one minute until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 5 ; Re-notify about service problems every 5 minutes notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } These are all the variables I can think of unless for some reason send_mail.pl cannot execute the perl binary or there is another file or binary missing from this equation that I can't think of. Again sorry for the double post if you have already received this. Jon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fsanchez at serfitech.com Wed Jul 23 22:51:14 2008 From: fsanchez at serfitech.com (Tec. Felix D. Sanchez) Date: Wed, 23 Jul 2008 15:51:14 -0500 Subject: Problems with nagios cgi's and check_nagios Message-ID: Hi i've very strange problem, i've freebsd 6.3 and nagios 3.0.3 compiled from source, my problem is if nagios dameon is not runing, the web interfaces does not recognize if the process is down or up, if run /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' from console i get this "NAGIOS CRITICAL: Could not locate a running Nagios process!" but from web, everything looks like the process is still runing any help? Felix -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Jul 23 23:19:38 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 23 Jul 2008 23:19:38 +0200 Subject: Problems with nagios cgi's and check_nagios In-Reply-To: References: Message-ID: <4887A06A.1030502@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tec. Felix D. Sanchez wrote: | Hi | | i've very strange problem, i've freebsd 6.3 and nagios 3.0.3 compiled | from source, my problem is if nagios dameon is not runing, the web | interfaces does not recognize if the process is down or up, if run | /usr/local/nagios/libexec/check_nagios -F | /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' | from console i get this "NAGIOS CRITICAL: Could not locate a running | Nagios process!" but from web, everything looks like | the process is still runing Is the webpage still refreshing itself? Did you enable the proper setting to monitor the status from the webpages? In Nagios 2 the default setting is off as far as I can remember. 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) iD8DBQFIh6BnBvzDRVjxmYERAqNJAJ42oeb+anvndsUswx3hahhf+4aGhwCdGOKd BwcVNJJmRYNdB7DPVb4rZ3M= =c+lg -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Wed Jul 23 23:21:04 2008 From: joliver at john-oliver.net (John Oliver) Date: Wed, 23 Jul 2008 14:21:04 -0700 Subject: NRPE: Command check_rootpart not defined Message-ID: <20080723212104.GB12671@ns.sdsitehosting.net> I'm trying to check disk space on a machine with nagios/nrpe. Even though I can run check_nrpe from the command line and get good info, my alerts say: ***** Nagios ***** Notification Type: PROBLEM Service: Disk Space Host: ftp.mydomain.com Address: 10.85.63.8 State: CRITICAL Date/Time: Wed Jul 23 14:12:01 PDT 2008 Additional Info: NRPE: Command check_rootpart not defined check_rootpart is only defined once, in one nagios file (I think checkcommands). What do I need to do to resolve this? -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gardealuis at gmail.com Thu Jul 24 05:00:23 2008 From: gardealuis at gmail.com (Luis Gardea) Date: Wed, 23 Jul 2008 21:00:23 -0600 Subject: Nagios can works with help desk software? Message-ID: <44f056cc0807232000u66433782k95ad6a305900b19d@mail.gmail.com> Hello I need that my helpdesk create a ticket when alarm is detected by Nagios. Some ideas to do it? Nagios 3.0.3 helpdesk wonderdesk 4.0 with Microsoft sql server data base ubuntu server 7.10 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgagne at iweb.com Thu Jul 24 05:02:48 2008 From: mgagne at iweb.com (=?ISO-8859-1?Q?Mathieu_Gagn=E9?=) Date: Wed, 23 Jul 2008 23:02:48 -0400 Subject: Nagios can works with help desk software? In-Reply-To: <44f056cc0807232000u66433782k95ad6a305900b19d@mail.gmail.com> References: <44f056cc0807232000u66433782k95ad6a305900b19d@mail.gmail.com> Message-ID: <4887F0D8.5050709@iweb.com> Luis Gardea wrote: > > I need that my helpdesk create a ticket when alarm is detected by > Nagios. Some ideas to do it? > > Nagios 3.0.3 > helpdesk wonderdesk 4.0 with Microsoft sql server data base > ubuntu server 7.10 Just send the first alert notification to your helpdesk. It should create a new ticket. No? -- Mathieu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mvanegmond at quetalzorg.nl Thu Jul 24 10:34:25 2008 From: mvanegmond at quetalzorg.nl (M. van Egmond) Date: Thu, 24 Jul 2008 10:34:25 +0200 Subject: Host / Service Inheritance Message-ID: <48883E91.3050303@quetalzorg.nl> Hi all, I would like to create some templates for the various servers we have in our network. I would like to do something as follows: #Host template define host { name http-server host_name http-server register 0 } #Service Template for http servers define service { host_name http-server check_command check_http service_description HTTP register 0 } #Now define some real servers #www1 define host { use http-server host_name www1 address 10.0.0.1 } #www2 define host { use http-server host_name www1 address 10.0.0.2 } I would expect to have two hosts with both having one service called HTTP. However this doesn't work. There are two hosts, but without any services. Is there a way to have hosts also inherit the template's services? Thanks alot for your info! -Matthieu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ITLJ at gyldendal.dk Thu Jul 24 10:54:34 2008 From: ITLJ at gyldendal.dk (=?iso-8859-1?Q?Lars_J=F8rgensen?=) Date: Thu, 24 Jul 2008 10:54:34 +0200 Subject: Host / Service Inheritance In-Reply-To: <48883E91.3050303@quetalzorg.nl> References: <48883E91.3050303@quetalzorg.nl> Message-ID: <311386E60ED7E74C8716A6573A7740A0164C07B882@s-exch01-v.gyldendal.local> Hi Matthieu, > I would expect to have two hosts with both having one service > called HTTP. However this doesn't work. There are two hosts, > but without any services. Yes, because you have not defined any services, just a template. If you want to define a set of services on a group of hosts, this is how you do it: Define Hosts -> Put'em in a Hostgroup -> Define Service(s) on the Hostgroup. It's close to being the same thing you're trying to achieve with templates. -- Lars ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sarinyo at gmail.com Thu Jul 24 10:59:17 2008 From: sarinyo at gmail.com (Marc Torres) Date: Thu, 24 Jul 2008 10:59:17 +0200 Subject: Notifiactions question In-Reply-To: <4886FFA3.5090706@its-lehmann.de> References: <4886FFA3.5090706@its-lehmann.de> Message-ID: On Wed, Jul 23, 2008 at 11:53 AM, Arno Lehmann wrote: > Hello, > > 23.07.2008 11:20, Marc Torres wrote: >> Hi all, >> >> I'm quite newbe to nagios, and I'm trying to configure notifications >> for services according to host contacts. I mean, I would like to >> configure contacts (or contact groups) only in the hosts definitions, >> and then when a monitorized service at that host has a hard state >> change, the notification gets send to the contact configured at the >> host definition. > > You could do this with custom variables. > > You set the data you need for the notifications in the host as, for > example, > > _NOTIFICATIONMAIL > > and create a new notification script that uses this address (if > defined) instead of the default supplied by the Nagios configuration. > > Arno Many thanks! It works like a charm. What I've done: I've added a custom variable in the hosts definition as follows: define host{ host_name mpk1 alias mpk1 address 192.168.21.193 use mpk-host-template display_name mpk1 max_check_attempts 1 _notification_mail mail1,mail2,mail3 #coma separated _hid 5 } Then added a fake contact to be the receiver of all the services notification at nagio's eyes: define contact{ contact_name no-contact alias no-contact host_notification_options d,u,r service_notification_options w,c,r host_notification_commands notify-host-by-email service_notification_commands notify-service-by-email-custom email mail_here host_notification_period 24x7 service_notification_period 24x7 } Next, I've added a new command for notifications: (the same as the original, but I've changed the destination define command{ command_name notify-service-by-email-custom command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $_HOSTNOTIFICATION_MAIL$ } Finally I've configured the contact services with no-contact. And that's all! Thanks again. Cheers, Marc. -- "I'm unique, just like everyone else". Read it out there ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mvanegmond at quetalzorg.nl Thu Jul 24 12:29:28 2008 From: mvanegmond at quetalzorg.nl (M. van Egmond) Date: Thu, 24 Jul 2008 12:29:28 +0200 Subject: Host / Service Inheritance In-Reply-To: <311386E60ED7E74C8716A6573A7740A0164C07B882@s-exch01-v.gyldendal.local> References: <311386E60ED7E74C8716A6573A7740A0164C07B882@s-exch01-v.gyldendal.local> Message-ID: <48885988.3080400@quetalzorg.nl> Works like a charm, Thanks! Lars J?rgensen schreef: > Hi Matthieu, > > >> I would expect to have two hosts with both having one service >> called HTTP. However this doesn't work. There are two hosts, >> but without any services. >> > > Yes, because you have not defined any services, just a template. > > If you want to define a set of services on a group of hosts, this is how you do it: > > Define Hosts -> Put'em in a Hostgroup -> Define Service(s) on the Hostgroup. > > It's close to being the same thing you're trying to achieve with templates. > > > -- > Lars > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Thu Jul 24 12:39:20 2008 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Thu, 24 Jul 2008 11:39:20 +0100 Subject: Nagios can works with help desk software? In-Reply-To: <44f056cc0807232000u66433782k95ad6a305900b19d@mail.gmail.com> References: <44f056cc0807232000u66433782k95ad6a305900b19d@mail.gmail.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5303448630@E03MVB2-UKBR.domain1.systemhost.net> Depending on which helpdesk software you are using you should be able to set up a notification command to raise a ticket in your help desk system You really need to specify the helpdesk system you are using before you could get much more help. Some helpdesk systems allow you to auto generate trouble tickets by sending the helpdesk software an email. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Luis Gardea Sent: 24 July 2008 04:00 To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios can works with help desk software? Hello I need that my helpdesk create a ticket when alarm is detected by Nagios. Some ideas to do it? Nagios 3.0.3 helpdesk wonderdesk 4.0 with Microsoft sql server data base ubuntu server 7.10 ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Thu Jul 24 13:33:32 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 24 Jul 2008 17:03:32 +0530 Subject: [Nagiosplug-help] schedule check problem In-Reply-To: <84449F10-C9C5-47E9-A39C-DC2087A521A1@ena.com> References: <25251aec0807220209r122d8a5r74244e30e68805c0@mail.gmail.com> <488689BA.8030001@aei.ca> <84449F10-C9C5-47E9-A39C-DC2087A521A1@ena.com> Message-ID: <25251aec0807240433g4b2b594fl39abf8ee420b6634@mail.gmail.com> I agree with the Mark's point. I see there are two nagios deamons running under background for some reason. I will post all details as soon as I reach my office. Thanks all for your help -Shankar On Wed, Jul 23, 2008 at 8:00 AM, Marc Powell wrote: > > On Jul 22, 2008, at 8:30 PM, Thomas Guyot-Sionnest wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > > Hash: SHA1 > > > > On 22/07/08 05:09 AM, asam30 at gmail.com wrote: > >> Hi, > >> > >> > > >> The time is not sync properly and when I refresh the page maually, it > >> shows all services are in green which means all are working ok. but > >> after few seconds when I refresh the same page manually, the services > >> were in red color. tells me the error as , critical CHECK_NRPE: > >> Socket > >> timeout after 10 seconds > >> > >> then if you refresh later some point, all service will show in green. > >> why does this difference? > >> > >> where do i change the settings so the time on the nagios interface > >> will > >> sync the time with the nagios server? > > > > The issue about having all service ok, than all red is very strange... > > I would suspect multiple nagios daemons running at the same time in a > case like this. The other symptoms sound consistent with that. > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Thu Jul 24 13:42:35 2008 From: stanb at panix.com (stan) Date: Thu, 24 Jul 2008 07:42:35 -0400 Subject: compile problems on Solairs 5 Message-ID: <20080724114235.GA16002@teddy.fas.com> Yes, I know it's archaic, but I still have machines runing SunOS 5.5.1. I am trying to compile 3.0.2 on one of these machines, and it is failing like this: /usr/include/dlfcn.h:83: warning: `RTLD_NOW' redefined ../include/config.h:111: warning: this is the location of the previous definition /usr/include/dlfcn.h:86: warning: `RTLD_GLOBAL' redefined ../include/config.h:107: warning: this is the location of the previous definition Undefined first referenced symbol in file dirname xobjects-base.o snprintf utils.o ld: fatal: Symbol referencing errors. No output written to nagios *** Error code 1 make: Fatal error: Command failed for target `nagios' I already copied snprintf.o from base to commn, but it is aparantly not found at link time, and these is alos the issue with dirname. Any ideas? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 24 14:48:17 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Jul 2008 07:48:17 -0500 Subject: Nagios can works with help desk software? In-Reply-To: <6546343904687E41B19D8E5A26AB9F5303448630@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F5303448630@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: On Jul 24, 2008, at 5:39 AM, wrote: > > > Depending on which helpdesk software you are using you should be > able to > set up a notification command to raise a ticket in your help desk > system > > You really need to specify the helpdesk system you are using before > you > could get much more help. Some helpdesk systems allow you to auto > generate trouble tickets by sending the helpdesk software an email. OP indicated it's wonderdesk 4.0 running on Ubuntu 7.10. If I'm looking at the right product page, adding it's e-mail address as a contact should do the trick -- http://www.wonderdesk.com/features.html # Incoming email ability! Emails sent to support at yourcompany.com are automatically imported into the WonderDesk as help desk calls. Customers and technicians can use their choice of the web interface or email to communicate. <-- WonderDesk SQL only # Incoming email automatically creates help desk account. <-- WonderDesk SQL only # Incoming email automatically selects the category and/or subcategory depending on the "To" address that the customer emailed to. <-- WonderDesk SQL only # Incoming email automatically assigns the call to the correct technician depending on the "To" address that the customer emailed to. <-- WonderDesk SQL only -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Thu Jul 24 14:55:36 2008 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Thu, 24 Jul 2008 08:55:36 -0400 Subject: NetApp disk monitoring Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0B@RL03EXCH1.replacements.com> Good Morning Users, I have run into a little snag monitoring our netapps. I am sure it is a simple mistake however her it is. We are monitoring the number of disk on each head of the netapp. This give us the number of Total, number Active, number Spare and Number Failed. The issue this morning is we had a disk fail over night. Nagios caught it and is reporting 1 failed, however it is still in an ok state. I can't find where to set the number for -w and -c. Please let me know of your thoughts. Thanks Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jvc_dvl557 at hotmail.com Thu Jul 24 14:57:46 2008 From: jvc_dvl557 at hotmail.com (J.VC) Date: Thu, 24 Jul 2008 14:57:46 +0200 Subject: Nagios V3, no sound in webbrowsers. Message-ID: Hi! I don't hear any sound alerts whenever there is something wrong. I've figured out that Nagios v3 runs the mime-type application/wav, thats not supported by webbrowsers. That used to be application/x-mplayer2, which is supported by many browsers. To change that i need to edit status.cgi and tac.cgi. Here's the thing. I've never edited an sourcecode or compiled something like this. Anyone out there who can help me out on this one? Current workaround: i've installed a add-on in FireFox, http://code.google.com/p/nagioschecker/ that's working great. But i'd still like to have the original page playing the sounds. Thank you in advantage. Uc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jul 24 15:04:48 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 24 Jul 2008 15:04:48 +0200 Subject: Help - I am unable to send notifications In-Reply-To: <1216833943.1792.56.camel@LOOKINIUM> References: <4880483C.40203@op5.se> <4880A5AE.3020109@op5.se> <20080722170858.63e864c6@tclmmw.in.tiger-computing.com> <1216745782.1792.7.camel@LOOKINIUM> <1216747589.1792.13.camel@LOOKINIUM> <16E92F55-B48A-4AC3-9B15-FACDBC9FFEDA@ena.com> <1216751758.1792.22.camel@LOOKINIUM> <48871E1B.6040603@op5.se> <1216833943.1792.56.camel@LOOKINIUM> Message-ID: <48887DF0.6010705@op5.se> jonathan williams wrote: > On Wed, 2008-07-23 at 05:03 -0700, Andreas Ericsson wrote: >> jonathan williams wrote: >>> [1216749581] Warning: Attempting to execute the command >>> "/usr/local/nagios/libexec/send_mail.pl -n "SERVICE RECOVERY" -h >>> "jwilliamspc" -s "OK" -a "10.10.113.51" -i "PrintSpooler - Spooler: >>> Started - check_nt!SERVICESTATE!-d SHOWALL -l Spooler" -d "Tue Jul >> 22 >>> 10:59:41 PDT 2008" -e "jonathan.williams at us.g4s.com"" resulted in a >>> return code of 126. Make sure the script or binary you are trying >> to >>> execute actually exists..." >>> >> Due to some weird and slightly bent way of passing errors between >> processes, return code 126 means "Operation not permitted". In >> english, that means the script is not executable, or one of the >> directories leading up to it isn't readable by the Nagios user. >> >> Run this command (as root): >> >> chmod 0755 /usr/local/nagios/libexec/send_mail.pl >> >> (correct the path if necessary) >> and things just might start working a little better. >> >> -- >> Andreas Ericsson andreas.ericsson at op5.se >> OP5 AB www.op5.se >> Tel: +46 8-230225 Fax: +46 8-230231 >> >> Looks like Nagios is successfully calling send_mail.pl since I get >> this in the nagios.log: > > [1216833337] SERVICE NOTIFICATION: > nagiosadmin;jwilliamspc;PrintSpooler;CRITICAL;service-notify-by-email;Spooler: Stopped > Ahh, progress. > However no email is being delivered. I know I can successfully send > SMTP mail from this box because I tested it via telnet 25. That's not a very good indication though. > Here is what > I have configured in the send_mail.pl file: > #!/usr/bin/perl -w > > # than a bunch of commented stuff on how to set up the command.cfg file > > use strict; > use Net::SMTP; > use Getopt::Std; > > my $mailhost = 192.168.1.9 ; > my $maildomain = us.g4s.com ; > my $mailfrom = nagios at us.g4s.com; > my $mailto = jonathan.williams at us.g4s.com; > my $timeout = 30; > my $mailsubject = ''; # Leave blank > my $mailbody = ''; # Leave blank > my $logfile = '/var/log/mail.log; # Put somewhere better What's in /var/log/mail.log? If you don't find anything regarding send_mail.pl, you might want to alter the path to the logfile, since the nagios user normally doesn't have permissions to write files in /var/log. > my $debug = 1; # To enable SMTP session debugging to logfile > > This is the commangs.cfg file: > > define command{ > command_name service-notify-by-email > command_line $USER1$/send_mail.pl -n "SERVICE $NOTIFICATIONTYPE$" -h > "$HOSTNAME$" -s "$SERVICESTATE$" -a "$HOSTADDRESS$" -i "$SERVICEDESC$ - > $SERVICEOUTPUT$ - $SERVICECHECKCOMMAND$" -d "$LONGDATETIME$" -e > "$CONTACTEMAIL$" I'll just assume you're using this command properly, but you might want to double-check that properly. > > These are all the variables I can think of. Something must still be > amiss or the perl is not working or something? I am not sure. > Read the logfiles and see if send_mail.pl complains. If it does and you can't make sense of it, pay someone to help you. The time you'll save on it will be well worth the money you spend, I think. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Jul 24 15:07:33 2008 From: ae at op5.se (Andreas Ericsson) Date: Thu, 24 Jul 2008 15:07:33 +0200 Subject: Antwort: Bad File Descriptors In-Reply-To: <48875A6B.9090604@aweber.com> References: <48875A6B.9090604@aweber.com> Message-ID: <48887E95.5040503@op5.se> Ryan Steele wrote: > Sascha.Runschke at gfkl.com wrote: >> nagios-users-bounces at lists.sourceforge.net schrieb am 23.07.2008 15:03:57: >> >>> nsca[28640]: Network server accept failure (9: Bad file descriptor) >>> >>> I've seen some sparse reports on Google of a similar problem, but >>> they're just that - sparse. Which kind of makes me think it's not >>> Nagios or NSCA, but a bad block on the hard drive. Anybody have a >>> similar experience or opinion? >> It's a NSCA bug as far as I know. I had the exact same problems and >> updating to 2.7.2 solved all issues for me it seems as it did not turn >> up again ever since then. > > Is there an official bug report? > >> Are you running NSCA 2.7.2 already? >> > > > No, currently running 2.6.1, but if 2.7.2 purports to fix it, I can look > in to upgrading. > Do that. To my minds eye, this looks like a fairly straightforward case of not having checked the return value of a socket(2) system call which failed to produce a proper network socket. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpaulus at sourceinterlink.com Thu Jul 24 15:08:48 2008 From: jpaulus at sourceinterlink.com (Paulus, Jake) Date: Thu, 24 Jul 2008 09:08:48 -0400 Subject: Nagios V3, no sound in webbrowsers. In-Reply-To: References: Message-ID: <79B77295FBC9F247A32A6C98B67B1E14016D7B70@srv-1exch01.sourceinterlink.com> This bug was recently discovered and a patch has been created (search the Nagios-Devel mailing list). The patch changes the mime type to audo/x-wav and does one other thing that makes everything groovy in Firefox and in IE. I can't say for sure, but I'd expect this to be fixed in a future release of Nagios if you're not willing to patch and recompile. -Jake ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of J.VC Sent: Thursday, July 24, 2008 8:58 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios V3, no sound in webbrowsers. Hi! I don't hear any sound alerts whenever there is something wrong. I've figured out that Nagios v3 runs the mime-type application/wav, thats not supported by webbrowsers. That used to be application/x-mplayer2, which is supported by many browsers. To change that i need to edit status.cgi and tac.cgi. Here's the thing. I've never edited an sourcecode or compiled something like this. Anyone out there who can help me out on this one? Current workaround: i've installed a add-on in FireFox, http://code.google.com/p/nagioschecker/ that's working great. But i'd still like to have the original page playing the sounds. Thank you in advantage. Uc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at stevesearle.com Thu Jul 24 15:14:40 2008 From: steve at stevesearle.com (Steve Searle) Date: Thu, 24 Jul 2008 14:14:40 +0100 Subject: Help with nrpe and certificates Message-ID: <20080724131440.GA3658@jackdaw.stevesearle.com> Hi, I have nagios monitoring a number of servers using the nrpe plugin. Recently one of the checks has failed with a "could not complete SSL handshake" error. I think this is because the certificate has either expired or been re-created (self signed), but I can't find out what certificate I should create to get round this (you will see I am a newbie in this area). Can anyone else help, or point me at some relevant documentation. I realise I may have got this totally wrong, so please a) be patient, and b) feel free to point out any blindingly obvious errors I have made. Thanks Steve -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting a bad thing? 14:10:01 up 27 days, 4:01, 2 users, load average: 0.20, 0.10, 0.06 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Thu Jul 24 15:20:01 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Thu, 24 Jul 2008 08:20:01 -0500 Subject: Unknown states on Routers and no usable data? Message-ID: <5D490E0402B4D14F836B5C4436D5949A273A3F@VMEXCHANGE2.alterscrap.com> Nagios version 2.9 Hey everyone, Every few hours our Nagios screen fills with all our Routers and a state of Unknown. The status information for all of the routers is the line below. Has anyone seen this issue and know what may be causing it? They tend to go away quickly but obviously there is something not quite right. Serial0/3/0:UP No usable data on file (201 rows): (1 UP):UNKOWN This error is always the same? Thanks for any help -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu Jul 24 15:23:17 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 24 Jul 2008 09:23:17 -0400 Subject: NetApp disk monitoring In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0B@RL03EXCH1.replacements.com> References: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0B@RL03EXCH1.replacements.com> Message-ID: <2274b9c30807240623x3e0610c1n30466c0cb1fd2fd0@mail.gmail.com> what check are you using? i use snmp: check_snmp -H $HOSTADDRESS$ -C $ARG1$ -t 60 -o .enterprises.789.1.6.4.1.0,.enterprises.789.1.6.4.2.0,.enterprises.789.1.6.4.8.0,.enterprises.789.1.6.4.7.0 -w 9000,9000,9000,0 -c 9000,9000,9000,2 -u 'Total Disks','Active','Spare','Failed' -l "" the last number in the -w/-c represents number of failures (greather than) On 7/24/08, Robert Ferguson wrote: > Good Morning Users, > > > > I have run into a little snag monitoring our netapps. I am sure it is a > simple mistake however her it is. > > > > We are monitoring the number of disk on each head of the netapp. This > give us the number of Total, number Active, number Spare and Number > Failed. The issue this morning is we had a disk fail over night. > Nagios caught it and is reporting 1 failed, however it is still in an ok > state. I can't find where to set the number for -w and -c. Please let > me know of your thoughts. > > > > Thanks > > > > Robert > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 24 15:34:41 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Jul 2008 08:34:41 -0500 Subject: Nagios V3, no sound in webbrowsers. {Fraud?} In-Reply-To: References: Message-ID: <74943DB5-B3DB-472C-BFC2-3BA2F7F87CF5@ena.com> On Jul 24, 2008, at 7:57 AM, J.VC wrote: > Hi! > > I don't hear any sound alerts whenever there is something wrong. > I've figured out that Nagios v3 runs the mime-type application/wav, > thats not supported by webbrowsers. That used to be application/x- > mplayer2, which is supported by many browsers. This thread might be helpful. There's a patch at the end. http://thread.gmane.org/gmane.network.nagios.devel/5391 -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 24 15:38:02 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Jul 2008 08:38:02 -0500 Subject: Unknown states on Routers and no usable data? In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A273A3F@VMEXCHANGE2.alterscrap.com> References: <5D490E0402B4D14F836B5C4436D5949A273A3F@VMEXCHANGE2.alterscrap.com> Message-ID: On Jul 24, 2008, at 8:20 AM, Charles Breite wrote: > Nagios version 2.9 > > Hey everyone, > Every few hours our Nagios screen fills with all our Routers and a > state of Unknown. The status information for all of the routers is > the line below. Has anyone seen this issue and know what may be > causing it? They tend to go away quickly but obviously there is > something not quite right. > > Serial0/3/0:UP No usable data on file (201 rows): (1 UP):UNKOWN > > This error is always the same? This doesn't appear to be output from a standard plugin. Please detail what the plugin is, where you got it and a command{} and service{} definition that uses it. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Thu Jul 24 16:14:58 2008 From: Charles.Breite at altertrading.com (Charles Breite) Date: Thu, 24 Jul 2008 09:14:58 -0500 Subject: Unknown states on Routers and no usable data? In-Reply-To: References: <5D490E0402B4D14F836B5C4436D5949A273A3F@VMEXCHANGE2.alterscrap.com> Message-ID: <5D490E0402B4D14F836B5C4436D5949A273A7C@VMEXCHANGE2.alterscrap.com> I inherited this install with some custom commands and plugins already installed, but the plugin is from Nagios Website and the command being used is $USER1$/check_snmp_int -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -k -w$ARG3$ -c$ARG4$ -r -d $ARG5$ The full command is check_cisco_bandwidth!SNMPCOMMUNITYNAME!Serial0/3/0!100,20!150,30!300 Check_cisco_bandwidth just uses the check_snmp_int plugin -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Thursday, July 24, 2008 8:38 AM To: Nagios User list Subject: Re: [Nagios-users] Unknown states on Routers and no usable data? On Jul 24, 2008, at 8:20 AM, Charles Breite wrote: > Nagios version 2.9 > > Hey everyone, > Every few hours our Nagios screen fills with all our Routers and a > state of Unknown. The status information for all of the routers is > the line below. Has anyone seen this issue and know what may be > causing it? They tend to go away quickly but obviously there is > something not quite right. > > Serial0/3/0:UP No usable data on file (201 rows): (1 UP):UNKOWN > > This error is always the same? This doesn't appear to be output from a standard plugin. Please detail what the plugin is, where you got it and a command{} and service{} definition that uses it. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Thu Jul 24 16:17:26 2008 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Thu, 24 Jul 2008 15:17:26 +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: 24/07/2008. End Date: 25/07/2008. Thank you for your mail. I am currently away from the office, returning on 25th July 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 ********************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 24 16:55:09 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Jul 2008 09:55:09 -0500 Subject: Unknown states on Routers and no usable data? In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A273A7C@VMEXCHANGE2.alterscrap.com> References: <5D490E0402B4D14F836B5C4436D5949A273A3F@VMEXCHANGE2.alterscrap.com> <5D490E0402B4D14F836B5C4436D5949A273A7C@VMEXCHANGE2.alterscrap.com> Message-ID: On Jul 24, 2008, at 9:14 AM, Charles Breite wrote: > I inherited this install with some custom commands and plugins already > installed, but the plugin is from Nagios Website and the command being > used is > $USER1$/check_snmp_int -H $HOSTADDRESS$ -C $ARG1$ -n $ARG2$ -k -w > $ARG3$ > -c$ARG4$ -r -d $ARG5$ Where on the nagios website? There's no such plugin in the standard distribution. Google finds a check_snmp_int.PL script at http://nagios.manubulon.com/check_snmp_int.pl (some user's plugins). Is that it? > > > The full command is > check_cisco_bandwidth!SNMPCOMMUNITYNAME!Serial0/3/0!100,20!150,30!300 > Check_cisco_bandwidth just uses the check_snmp_int plugin -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 24 17:09:33 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Jul 2008 10:09:33 -0500 Subject: Unknown states on Routers and no usable data? In-Reply-To: <5D490E0402B4D14F836B5C4436D5949A273A9E@VMEXCHANGE2.alterscrap.com> References: <5D490E0402B4D14F836B5C4436D5949A273A3F@VMEXCHANGE2.alterscrap.com><5D490E0402B4D14F836B5C4436D5949A273A7C@VMEXCHANGE2.alterscrap.com> <5D490E0402B4D14F836B5C4436D5949A273A9E@VMEXCHANGE2.alterscrap.com> Message-ID: Please always respond on list so that future readers learn from your experience. More comments below. On Jul 24, 2008, at 10:04 AM, Charles Breite wrote: > Yes and no It is from there but very old 2004. I wil upgrade to the > new > plugin and see if it corrects the issue. > Thanks > > Current Plugin > Version : 1.2 > # Date : Dec 07 2004 > # Author : Patrick Proy ( patrick at proy.org ) > # Help : http://www.manubulon.com/nagios > > New Available Plugin > my $Version='1.24'; > # Date : Oct 10 2007 > # Author : Patrick Proy ( patrick at proy.org ) > # Help : http://nagios.manubulon.com > # Licence : GPL - http://www.fsf.org/licenses/gpl.txt > # Contrib : J. Jungmann, S. Probst, R. Leroy, M. Berger > # TODO : Good deal. He also as a FAQ entry for that specific error, reason for it and suggested help -- http://nagios.manubulon.com/faq.html#FAQ10 It would seem that the plugin isn't always being run as frequently as you've told it should be the maximum. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Thu Jul 24 17:32:38 2008 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Thu, 24 Jul 2008 11:32:38 -0400 Subject: NetApp disk monitoring References: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0B@RL03EXCH1.replacements.com> <2274b9c30807240623x3e0610c1n30466c0cb1fd2fd0@mail.gmail.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0C@RL03EXCH1.replacements.com> Hi, Here is the check I am using #Number of disks Define command{ command_name check-netapp-numdisk command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C public -o .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1 .6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks',' Active','Spare','Failed' -l "" } I can see were to put the '-w 9000,9000,9000,0 -c 9000,9000,9000,2' from you statement, but what is the '9000.....' for? Thanks, Robert -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: Thursday, July 24, 2008 9:23 AM To: Robert Ferguson Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NetApp disk monitoring what check are you using? i use snmp: check_snmp -H $HOSTADDRESS$ -C $ARG1$ -t 60 -o .enterprises.789.1.6.4.1.0,.enterprises.789.1.6.4.2.0,.enterprises.789.1 .6.4.8.0,.enterprises.789.1.6.4.7.0 -w 9000,9000,9000,0 -c 9000,9000,9000,2 -u 'Total Disks','Active','Spare','Failed' -l "" the last number in the -w/-c represents number of failures (greather than) On 7/24/08, Robert Ferguson wrote: > Good Morning Users, > > > > I have run into a little snag monitoring our netapps. I am sure it is a > simple mistake however her it is. > > > > We are monitoring the number of disk on each head of the netapp. This > give us the number of Total, number Active, number Spare and Number > Failed. The issue this morning is we had a disk fail over night. > Nagios caught it and is reporting 1 failed, however it is still in an ok > state. I can't find where to set the number for -w and -c. Please let > me know of your thoughts. > > > > Thanks > > > > Robert > > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Thu Jul 24 17:48:40 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Thu, 24 Jul 2008 11:48:40 -0400 Subject: NetApp disk monitoring In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0C@RL03EXCH1.replacements.com> References: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0B@RL03EXCH1.replacements.com> <2274b9c30807240623x3e0610c1n30466c0cb1fd2fd0@mail.gmail.com> <1DBAECAF1663DF4B97779F24ABABE24A046A8D0C@RL03EXCH1.replacements.com> Message-ID: <2274b9c30807240848n20a9bf0t8579f3c1820e142@mail.gmail.com> just add the -w -c anywhere, the number 9000 is the total number of disks, you can alert on each of the returned fields, in this case I just picked a high number of total disks as I dont care to alert if the number of disks grows larger than X(9000). warn on greater than 9000 total disks warn on greater than 9000 active disks warn on greater than 9000 spare disks warn on greater than 0 failed disks On 7/24/08, Robert Ferguson wrote: > Hi, > > Here is the check I am using > > #Number of disks > Define command{ > command_name check-netapp-numdisk > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C > public -o > .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1 > .6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks',' > Active','Spare','Failed' -l "" > } > > I can see were to put the '-w 9000,9000,9000,0 -c 9000,9000,9000,2' from > you statement, but what is the '9000.....' for? > > Thanks, > > Robert > > -----Original Message----- > From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf > Of kyle.odonnell at gmail.com > Sent: Thursday, July 24, 2008 9:23 AM > To: Robert Ferguson > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NetApp disk monitoring > > what check are you using? i use snmp: > > check_snmp -H $HOSTADDRESS$ -C $ARG1$ -t 60 -o > .enterprises.789.1.6.4.1.0,.enterprises.789.1.6.4.2.0,.enterprises.789.1 > .6.4.8.0,.enterprises.789.1.6.4.7.0 > -w 9000,9000,9000,0 -c 9000,9000,9000,2 -u 'Total > Disks','Active','Spare','Failed' -l "" > > the last number in the -w/-c represents number of failures (greather > than) > > On 7/24/08, Robert Ferguson wrote: >> Good Morning Users, >> >> >> >> I have run into a little snag monitoring our netapps. I am sure it is > a >> simple mistake however her it is. >> >> >> >> We are monitoring the number of disk on each head of the netapp. This >> give us the number of Total, number Active, number Spare and Number >> Failed. The issue this morning is we had a disk fail over night. >> Nagios caught it and is reporting 1 failed, however it is still in an > ok >> state. I can't find where to set the number for -w and -c. Please > let >> me know of your thoughts. >> >> >> >> Thanks >> >> >> >> Robert >> >> >> >> > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew.ford at wachovia.com Thu Jul 24 18:04:09 2008 From: andrew.ford at wachovia.com (Ford, Andy) Date: Thu, 24 Jul 2008 11:04:09 -0500 Subject: compiling plugins with check_radius Message-ID: <2D81E1BAE64EB343A9570B11C5E6927F0237F321@hqemhopn1.home.corp.agedwards.com> Trying to compile nagios-plugins-1.4.12 including check_radius. I don't know how to get the configure script to find the radiusclient-ng libraries & headers. radiusclient-ng was built with ./configure --prefix=/usr/local/radiusclient-ng for the sake of keeping it separate. The configure script for nagios-plugins doesn't seem to offer an obvious way to point to the libraries though. My best guess was ./configure --libdir=/usr/local/radiusclient-ng/lib/ --includedir=/usr/local/radiusclient-ng/include/ --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/radiusclien t-ng/sbin but config.log says: configure:22204: checking for rc_read_config in -lradiusclient configure:22239: gcc -o conftest -g -O2 -L. conftest.c -lradiusclient >&5 /usr/bin/ld: cannot find -lradiusclient Andrew Ford Wachovia Corporate Information Security 314-955-6647 desk 314-600-7025 cell andrew.ford at wachovia.com ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Thu Jul 24 18:17:36 2008 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Thu, 24 Jul 2008 12:17:36 -0400 Subject: NetApp disk monitoring References: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0B@RL03EXCH1.replacements.com> <2274b9c30807240623x3e0610c1n30466c0cb1fd2fd0@mail.gmail.com> <1DBAECAF1663DF4B97779F24ABABE24A046A8D0C@RL03EXCH1.replacements.com> <2274b9c30807240848n20a9bf0t8579f3c1820e142@mail.gmail.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A046A8D0D@RL03EXCH1.replacements.com> That worked like a charm. Thank you, Robert -----Original Message----- From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf Of kyle.odonnell at gmail.com Sent: Thursday, July 24, 2008 11:49 AM To: Robert Ferguson Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NetApp disk monitoring just add the -w -c anywhere, the number 9000 is the total number of disks, you can alert on each of the returned fields, in this case I just picked a high number of total disks as I dont care to alert if the number of disks grows larger than X(9000). warn on greater than 9000 total disks warn on greater than 9000 active disks warn on greater than 9000 spare disks warn on greater than 0 failed disks On 7/24/08, Robert Ferguson wrote: > Hi, > > Here is the check I am using > > #Number of disks > Define command{ > command_name check-netapp-numdisk > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C > public -o > .1.3.6.1.4.1.789.1.6.4.1.0,.1.3.6.1.4.1.789.1.6.4.2.0,.1.3.6.1.4.1.789.1 > .6.4.8.0,.1.3.6.1.4.1.789.1.6.4.7.0 -u 'Total Disks',' > Active','Spare','Failed' -l "" > } > > I can see were to put the '-w 9000,9000,9000,0 -c 9000,9000,9000,2' from > you statement, but what is the '9000.....' for? > > Thanks, > > Robert > > -----Original Message----- > From: kyleodonnell at gmail.com [mailto:kyleodonnell at gmail.com] On Behalf > Of kyle.odonnell at gmail.com > Sent: Thursday, July 24, 2008 9:23 AM > To: Robert Ferguson > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NetApp disk monitoring > > what check are you using? i use snmp: > > check_snmp -H $HOSTADDRESS$ -C $ARG1$ -t 60 -o > .enterprises.789.1.6.4.1.0,.enterprises.789.1.6.4.2.0,.enterprises.789.1 > .6.4.8.0,.enterprises.789.1.6.4.7.0 > -w 9000,9000,9000,0 -c 9000,9000,9000,2 -u 'Total > Disks','Active','Spare','Failed' -l "" > > the last number in the -w/-c represents number of failures (greather > than) > > On 7/24/08, Robert Ferguson wrote: >> Good Morning Users, >> >> >> >> I have run into a little snag monitoring our netapps. I am sure it is > a >> simple mistake however her it is. >> >> >> >> We are monitoring the number of disk on each head of the netapp. This >> give us the number of Total, number Active, number Spare and Number >> Failed. The issue this morning is we had a disk fail over night. >> Nagios caught it and is reporting 1 failed, however it is still in an > ok >> state. I can't find where to set the number for -w and -c. Please > let >> me know of your thoughts. >> >> >> >> Thanks >> >> >> >> Robert >> >> >> >> > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Thu Jul 24 19:01:19 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Thu, 24 Jul 2008 13:01:19 -0400 Subject: Help - I am unable to send notifications In-Reply-To: <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> References: <1216751758.1792.22.camel@LOOKINIUM> <6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> Message-ID: <20080724170119.GA359@cgi.jachomes.com> On Tue, Jul 22, 2008 at 05:06:22PM -0400, Fulton, David wrote: > As Marc broke down the sed line I will break down the line above, the # > character is indeed a comment character, but only to PERL. PERL is not > what tries to load the file initially, the shell tries to load the file > as a compiled program(like /bin/ls is the compiled program that lists > the files in a directory: I ran this on my nagios server as an example): The actual interpretation of a sh-bang line is usually done by the general loader, which is to say exec(3) (I think that's the distinction between exec(2) and exec(3)); if the sh-bang line doesn't call a shell, one is not involved. But I suppose you may have meant "the interactive shell you're talking to"... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Thu Jul 24 19:03:07 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Thu, 24 Jul 2008 19:03:07 +0200 Subject: compile problems on Solairs 5 In-Reply-To: <20080724114235.GA16002@teddy.fas.com> References: <20080724114235.GA16002@teddy.fas.com> Message-ID: <3a69bc5a0807241003h10773278i8b0800d0792f22c1@mail.gmail.com> This seems to be a library problem. The libraries where dirname and sprintf are suposed to be defined is not in the lib path. Perhaps you gcc libs are not in the lib path (I don't remember the env var, ?LD_LIBRARY_PATH?) Good luck 2008/7/24, stan : > > Yes, I know it's archaic, but I still have machines runing SunOS 5.5.1. > I am trying to compile 3.0.2 on one of these machines, and it is failing > like this: > > /usr/include/dlfcn.h:83: warning: `RTLD_NOW' redefined > ../include/config.h:111: warning: this is the location of the previous > definition > /usr/include/dlfcn.h:86: warning: `RTLD_GLOBAL' redefined > ../include/config.h:107: warning: this is the location of the previous > definition > Undefined first referenced > symbol in file > dirname xobjects-base.o > snprintf utils.o > ld: fatal: Symbol referencing errors. No output written to nagios > *** Error code 1 > make: Fatal error: Command failed for target `nagios' > > I already copied snprintf.o from base to commn, but it is aparantly not > found at link time, and these is alos the issue with dirname. > > Any ideas? > > -- > One of the main causes of the fall of the roman empire was that, lacking > zero, they had no way to indicate successful termination of their C > programs. > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fsanchez at serfitech.com Thu Jul 24 19:31:09 2008 From: fsanchez at serfitech.com (Tec. Felix D. Sanchez) Date: Thu, 24 Jul 2008 12:31:09 -0500 Subject: Nagios-users Digest, Vol 26, Issue 32 In-Reply-To: References: Message-ID: Yes, that's the strange part it keep refreshing with the old pid If the Nagios is "up" and you run: [nagios at satan ~/config/objects]$ /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' //result NAGIOS OK: 1 process, status log updated 11 seconds ago If the Nagios is "down" and you run: [nagios at satan ~/config/objects]$ /usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' //result NAGIOS CRITICAL: Cannot open status log for reading! [Part of my httpd.conf] DocumentRoot "/usr/local/nagios/share" ServerName N/A allow from all ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user [This is my nagios.cfg] log_file=/usr/local/nagios/var/nagios.log #nagios external config files resource_file=/usr/local/nagios/etc/resource.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/templates.cfg cfg_file=/usr/local/nagios/etc/commands.cfg cfg_file=/usr/local/nagios/etc/contactgroup.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg #devices settings #hq-servers cfg_file=/usr/local/nagios/etc/objects/hagen.cfg cfg_file=/usr/local/nagios/etc/objects/pucca.cfg temp_file=/usr/local/nagios/var/nagios.tmp status_file=/usr/local/nagios/var/status.dat aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/usr/local/nagios/var/archives check_external_commands=1 command_check_interval=-1 comment_file=/usr/local/nagios/var/comments.dat downtime_file=/usr/local/nagios/var/downtime.dat command_file=/usr/local/nagios/var/rw/nagios.cmd lock_file=/usr/local/nagios/var/nagios.lock retain_state_information=1 state_retention_file=/usr/local/nagios/var/retention.dat retention_update_interval=60 use_retained_program_state=1 use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=1 log_external_commands=1 sleep_time=0.25 max_concurrent_checks=0 service_reaper_frequency=10 interval_length=60 use_agressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 soft_state_dependencies=0 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=0 check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=1 illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=sysadmin at serfitech.com admin_pager=pagenagios date_format=euro [This is my cgi.cfg] main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/ show_context_help=1 nagios_check_command=/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' use_pending_states=1 use_authentication=1 authorized_for_system_information=nagios authorized_for_configuration_information=nagios authorized_for_system_commands=nagios authorized_for_all_services=nagios authorized_for_all_hosts=nagios authorized_for_all_service_commands=nagios authorized_for_all_host_commands=nagios default_statusmap_layout=5 default_statuswrl_layout=4 ping_syntax=/bin/ping -n -U -c 5 $HOSTADDRESS$ refresh_rate=60 escape_html_tags=1 action_url_target=_blank notes_url_target=_blank lock_author_names=1 ---------------------------------------------------------------------- Message: 1 Date: Wed, 23 Jul 2008 23:19:38 +0200 From: Hugo van der Kooij Subject: Re: [Nagios-users] Problems with nagios cgi's and check_nagios To: Nagios Users Mailinglist Message-ID: <4887A06A.1030502 at vanderkooij.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tec. Felix D. Sanchez wrote: | Hi | | i've very strange problem, i've freebsd 6.3 and nagios 3.0.3 | compiled from source, my problem is if nagios dameon is not runing, | the web interfaces does not recognize if the process is down or up, if | run /usr/local/nagios/libexec/check_nagios -F | /usr/local/nagios/var/status.dat -e 1 -C '/usr/local/nagios/bin/nagios' | from console i get this "NAGIOS CRITICAL: Could not locate a running | Nagios process!" but from web, everything looks like the process is | still runing Is the webpage still refreshing itself? Did you enable the proper setting to monitor the status from the webpages? In Nagios 2 the default setting is off as far as I can remember. 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) iD8DBQFIh6BnBvzDRVjxmYERAqNJAJ42oeb+anvndsUswx3hahhf+4aGhwCdGOKd BwcVNJJmRYNdB7DPVb4rZ3M= =c+lg -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Thu Jul 24 19:45:13 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Thu, 24 Jul 2008 10:45:13 -0700 Subject: Help - I am unable to send notifications In-Reply-To: <20080724170119.GA359@cgi.jachomes.com> References: <1216751758.1792.22.camel@LOOKINIUM><6C0AFDE8AAE2FC4F9AA957B32F6A6B1FA41BB2@EMAIL01.CORPORATE.VOX.NET> <20080724170119.GA359@cgi.jachomes.com> Message-ID: I have decided on another course of action. I have spent way too much time with no success on this issue. I just can't get this script to work. Are there any other recommended plug-ins that anyone can recommend. The native e-mailer did not work either and when on the Nagios Wiki I found this about it: by default, nagios uses 'mail' or 'mailx' to send it's email. The actual mail command is found in the default commands.cfg file /usr/local/nagios/etc/objects/command.cfg there are two definitions by default 'notify-host-by-email' and 'notify-service-by-email' in each of these definitions, there is a "command_line"; this is what nagios executes in order to send mail using the mail or mailx system (varies from system to system) and it *may* need to be changed in order to work - although I must admit to not having much success so far with it myself :( (see forum thread --> Perhaps I'll go back to the native mailx mailer and try that again and reset my commands.cgf back to how it was. -----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, July 24, 2008 10:01 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Help - I am unable to send notifications On Tue, Jul 22, 2008 at 05:06:22PM -0400, Fulton, David wrote: > As Marc broke down the sed line I will break down the line above, the # > character is indeed a comment character, but only to PERL. PERL is not > what tries to load the file initially, the shell tries to load the file > as a compiled program(like /bin/ls is the compiled program that lists > the files in a directory: I ran this on my nagios server as an example): The actual interpretation of a sh-bang line is usually done by the general loader, which is to say exec(3) (I think that's the distinction between exec(2) and exec(3)); if the sh-bang line doesn't call a shell, one is not involved. But I suppose you may have meant "the interactive shell you're talking to"... Cheers, -- jra -- Jay R. Ashworth Baylink jra at baylink.com Designer The Things I Think RFC 2100 Ashworth & Associates http://baylink.pitas.com '87 e24 St Petersburg FL USA http://photo.imageinc.us +1 727 647 1274 Those who cast the vote decide nothing. Those who count the vote decide everything. -- (Josef Stalin) ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Thu Jul 24 19:59:33 2008 From: joliver at john-oliver.net (John Oliver) Date: Thu, 24 Jul 2008 10:59:33 -0700 Subject: How to troubleshoot when not receiving alerts?] Message-ID: <20080724175933.GA25614@ns.sdsitehosting.net> I have one alert set up that should be emailing every time it runs... it's a disk space check on a server that has 1% left. However, I am not receiving any emails. How to go about figuring out why? -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Thu Jul 24 20:05:58 2008 From: scarolan at gmail.com (Sean Carolan) Date: Thu, 24 Jul 2008 13:05:58 -0500 Subject: Possible to add host groups to service groups? Message-ID: <277020fc0807241105o1de4ece1hd3f51e06db3429de@mail.gmail.com> Suppose I have configured a host group called "Linux Servers", and I also have a service group that contains some basic Linux services for monitoring. Is it possible to simply add the entire host group to this service group? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 24 20:53:19 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Jul 2008 13:53:19 -0500 Subject: How to troubleshoot when not receiving alerts?] In-Reply-To: <20080724175933.GA25614@ns.sdsitehosting.net> References: <20080724175933.GA25614@ns.sdsitehosting.net> Message-ID: On Jul 24, 2008, at 12:59 PM, John Oliver wrote: > I have one alert set up that should be emailing every time it runs... > it's a disk space check on a server that has 1% left. However, I am > not > receiving any emails. How to go about figuring out why? Generally -- See if you have notification alerts in nagios.log for it. if no, verify the notification options for the service defintion, contactgroup and contacts. if yes, verify that you see the notification in your mail log if no, enhance or change your notification script to log interesting information to a file if yes, follow the notification out from there. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Thu Jul 24 22:00:33 2008 From: michaele at capitalsafety.com (Michael Egan) Date: Thu, 24 Jul 2008 21:00:33 +0100 Subject: Display system time Message-ID: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> Is there a way in Nagios to show the system time for each monitored server? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Thu Jul 24 22:06:32 2008 From: andrew at profitability.net (Andrew Cruse) Date: Thu, 24 Jul 2008 16:06:32 -0400 Subject: Display system time In-Reply-To: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> References: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> Message-ID: <03c301c8edc8$c4751a30$800101df@andrew2> Not without a little (very little) work. Unless someone else already has one up at nagiosexchange.org, you'd need to write your own little plugin that basically runs the date command (assuming linux) and returns OK and the output from the date command. Then you could run that script as a service check on the remote systems using check_by_ssh, NRPE, NSClient, etc. etc. etc. Andrew _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Egan Sent: Thursday, July 24, 2008 4:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Display system time Is there a way in Nagios to show the system time for each monitored server? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.5/1570 - Release Date: 7/24/2008 6:59 AM -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Thu Jul 24 22:07:18 2008 From: stanb at panix.com (stan) Date: Thu, 24 Jul 2008 16:07:18 -0400 Subject: compile problems on Solairs 5 In-Reply-To: <3a69bc5a0807241003h10773278i8b0800d0792f22c1@mail.gmail.com> References: <20080724114235.GA16002@teddy.fas.com> <3a69bc5a0807241003h10773278i8b0800d0792f22c1@mail.gmail.com> Message-ID: <20080724200718.GA30143@teddy.fas.com> On Thu, Jul 24, 2008 at 07:03:07PM +0200, Jose Luis Garcia wrote: > This seems to be a library problem. > > The libraries where dirname and sprintf are suposed to be defined is not in > the lib path. > > Perhaps you gcc libs are not in the lib path (I don't remember the env var, > ?LD_LIBRARY_PATH?) > Hmm, AP0502# echo $LD_LIBRARY_PATH /opt/piapi/lib:/usr/openwin/lib:/usr/dt/lib:/opt/windu/lib:/opt/windu/fox:/opt/gms/lib:/usr/local/lib:/usr/local/ssl/lib AP0502# ls /usr/local/lib expect5.26 libnfsPlugin.so gcc-lib libnfsPlugin.so.1 libarpPlugin.a libnfsPlugin.so.1.0.0 libarpPlugin.so libntop-1.3.so.1 libarpPlugin.so.1 libntop-1.3.so.1.0.0 libarpPlugin.so.1.0.0 libntop.a libcrypto.a libntop.la libcrypto.so libntop.so libcrypto.so.0 libntopreport-1.3.so.1 libcrypto.so.0.9.6 libntopreport-1.3.so.1.0.0 libcurses.so libntopreport.a libexpect5.26.a libntopreport.la libform.a libntopreport.so ..... So, that would appear to indicate that the ggc-libs are in the approriate environment variable, right? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DVeldhuisen at slb.com Thu Jul 24 22:27:02 2008 From: DVeldhuisen at slb.com (Doug Veldhuisen) Date: Thu, 24 Jul 2008 22:27:02 +0200 Subject: compile problems on Solairs 5 In-Reply-To: <20080724200718.GA30143@teddy.fas.com> References: <20080724114235.GA16002@teddy.fas.com> <3a69bc5a0807241003h10773278i8b0800d0792f22c1@mail.gmail.com> <20080724200718.GA30143@teddy.fas.com> Message-ID: You might try looking at the nagios faq, if you haven't already, there is a faq entry F0012 that is similar. I also remember a real strange thing I had one time with library loading. It wasn't the LD_LIBRARY thing, it was something only Solaris needed. (And now I cannot remember where I found that tidbit.) Doug -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of stan Sent: Thursday, July 24, 2008 3:07 PM To: Jose Luis Garcia Cc: nagios List Subject: Re: [Nagios-users] compile problems on Solairs 5 On Thu, Jul 24, 2008 at 07:03:07PM +0200, Jose Luis Garcia wrote: > This seems to be a library problem. > > The libraries where dirname and sprintf are suposed to be defined is not in > the lib path. > > Perhaps you gcc libs are not in the lib path (I don't remember the env var, > ?LD_LIBRARY_PATH?) > Hmm, AP0502# echo $LD_LIBRARY_PATH /opt/piapi/lib:/usr/openwin/lib:/usr/dt/lib:/opt/windu/lib:/opt/windu/fox:/opt/gms/lib:/usr/local/lib:/usr/local/ssl/lib AP0502# ls /usr/local/lib expect5.26 libnfsPlugin.so gcc-lib libnfsPlugin.so.1 libarpPlugin.a libnfsPlugin.so.1.0.0 libarpPlugin.so libntop-1.3.so.1 libarpPlugin.so.1 libntop-1.3.so.1.0.0 libarpPlugin.so.1.0.0 libntop.a libcrypto.a libntop.la libcrypto.so libntop.so libcrypto.so.0 libntopreport-1.3.so.1 libcrypto.so.0.9.6 libntopreport-1.3.so.1.0.0 libcurses.so libntopreport.a libexpect5.26.a libntopreport.la libform.a libntopreport.so ..... So, that would appear to indicate that the ggc-libs are in the approriate environment variable, right? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Jul 24 23:37:07 2008 From: jpratt at norwich.edu (James Pratt) Date: Thu, 24 Jul 2008 17:37:07 -0400 Subject: Display system time In-Reply-To: <03c301c8edc8$c4751a30$800101df@andrew2> References: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> <03c301c8edc8$c4751a30$800101df@andrew2> Message-ID: <4A7DC39A59AC0944B10A9561147F666A858D@nuexchange.norwich.edu> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Egan Sent: Thursday, July 24, 2008 4:01 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Display system time Is there a way in Nagios to show the system time for each monitored server? Thanks, Mike ------------- snmp - http://www.logix.cz/michal/devel/nagios ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Thu Jul 24 23:47:00 2008 From: stanb at panix.com (stan) Date: Thu, 24 Jul 2008 17:47:00 -0400 Subject: compile problems on Solairs 5 In-Reply-To: References: <20080724114235.GA16002@teddy.fas.com> <3a69bc5a0807241003h10773278i8b0800d0792f22c1@mail.gmail.com> <20080724200718.GA30143@teddy.fas.com> Message-ID: <20080724214700.GA908@teddy.fas.com> On Thu, Jul 24, 2008 at 10:27:02PM +0200, Doug Veldhuisen wrote: > You might try looking at the nagios faq, if you haven't already, there is a faq entry F0012 that is similar. > I also remember a real strange thing I had one time with library loading. It wasn't the LD_LIBRARY thing, it was something only Solaris needed. (And now I cannot remember where I found that tidbit.) > I _think_ that FAQ may be a bit dated. I did get nagios compiled on Solaris 8, which also does not have snprintf, and the core code now seems to supply an implementation of this function. I know this because it is built in base, and looked for in common, or vice versa. That's what the comment about copying the snprintf.o from one of these subdirectories to the other refers to. Unfortunately, the same trick does not seem to work on Solaris 5, plus now I seem to lack dirname(). -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Thu Jul 24 23:59:10 2008 From: joliver at john-oliver.net (John Oliver) Date: Thu, 24 Jul 2008 14:59:10 -0700 Subject: How to troubleshoot when not receiving alerts?] In-Reply-To: References: <20080724175933.GA25614@ns.sdsitehosting.net> Message-ID: <20080724215910.GA8062@ns.sdsitehosting.net> On Thu, Jul 24, 2008 at 01:53:19PM -0500, Marc Powell wrote: > > On Jul 24, 2008, at 12:59 PM, John Oliver wrote: > > > I have one alert set up that should be emailing every time it runs... > > it's a disk space check on a server that has 1% left. However, I am > > not > > receiving any emails. How to go about figuring out why? > > Generally -- > > See if you have notification alerts in nagios.log for it. > if no, verify the notification options for the service defintion, > contactgroup and contacts. No, nothing is getting logged. But then, there are very few logs compared to the number of hosts / services it's monitoring... it looks like only emails are being logged. I looked in nagios.cfg for a logging level type of option, but no dice. It was working yesterday. I was getting emails from this plugin every 24 minutes (notification_interval was 1440). They were all errors. I thought I had the errors fixed... the last email I got said RECOVERED (even though I should be getting CRITICAL alerts, as there is 1% disk space left). I changed the notification_interval, and never saw another email. This AM, I set notification_interval to 60 I should get an email every minute. I'm not. And, yes, I'm restarting nagios ;-) Here's the stanza in services.cfg: define service{ use generic-service ; Name of service template to use host_name ftp service_description Disk Space is_volatile 0 check_period normalbusinesshours max_check_attempts 3 normal_check_interval 120 retry_check_interval 10 contact_groups FTP_Alerts notification_interval 60 notification_period normalbusinesshours notification_options w,u,c,r check_command check_remote_disk1 register 1 } hosts.cfg: define host{ use generic-host ; host template to use host_name ftp alias ftp.domain.com address 10.11.12.13 # check_command check-host-alive max_check_attempts 10 notification_interval 1800 notification_period 24x7 notification_options d,u,r contact_groups HelpDesk } checkcommands.cfg: define command{ command_name check_remote_disk1 command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c check_disk } And I can check the remote system from the command line: [root at cerberus ~]# /usr/lib/nagios/plugins/check_nrpe -H ftp -c check_disk DISK OK - free space: / 2321 MB (1% inode=99%);| /=133114MB;142786;142796;0;142806 Yes, I just noticed the discrepancy between contact_groups in services.cfg and hosts.cfg I doubt that's the issue, as I was getting emails yesterday. Any help appreciated! -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Jul 25 00:03:59 2008 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 24 Jul 2008 18:03:59 -0400 Subject: Display system time In-Reply-To: <03c301c8edc8$c4751a30$800101df@andrew2> References: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> <03c301c8edc8$c4751a30$800101df@andrew2> Message-ID: NC_NEt (For windows Hosts) has a command to get the remote host time. on a windows a WMI querry or other scripts can retieve the time, and report via NRPE, ect.... Tony (Author of NC_Net) On Thu, Jul 24, 2008 at 4:06 PM, Andrew Cruse wrote: > Not without a little (very little) work. Unless someone else already has > one up at nagiosexchange.org, you'd need to write your own little plugin > that basically runs the date command (assuming linux) and returns OK and the > output from the date command. Then you could run that script as a service > check on the remote systems using check_by_ssh, NRPE, NSClient, etc. etc. > etc. > > Andrew > > ------------------------------ > *From:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *On Behalf Of *Michael Egan > *Sent:* Thursday, July 24, 2008 4:01 PM > *To:* nagios-users at lists.sourceforge.net > *Subject:* [Nagios-users] Display system time > > Is there a way in Nagios to show the system time for each monitored > server? > > > > Thanks, > > Mike > > > > Mike Egan > Enterprise Network Engineer > Capital Safety > 3833 Sala Way > Red Wing, MN 55066 > 651-385-6254 Office > 651-247-5719 Cell > michaele at capitalsafety.com > > Home of DBI-Sala and Protecta Brands. Visit us on the web at > www.capitalsafety.com > > No virus found in this incoming message. > Checked by AVG - http://www.avg.com > Version: 8.0.138 / Virus Database: 270.5.5/1570 - Release Date: 7/24/2008 > 6:59 AM > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Fri Jul 25 00:22:51 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Thu, 24 Jul 2008 23:22:51 +0100 Subject: Display system time In-Reply-To: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> References: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> Message-ID: <488900BB.1060307@mailnetwork.co.uk> Hi, This is extremely simple - set up an NRPE command that simply runs "uptime" as it's check command or as previously suggested, "date" and you'll get the following info: 23:18:05 up 1 day, 6:29, 0 users, load average: 0.00, 0.00, 0.00 or Thu Jul 24 23:18:38 BST 2008 I here rumours there is a "check_uptime" plugin but I've never managed to get it to compile, but that's a topic for another thread... Regards, Andy Michael Egan wrote: > > Is there a way in Nagios to show the system time for each monitored > server? > > > > Thanks, > > Mike > > > > Mike Egan > Enterprise Network Engineer > Capital Safety > 3833 Sala Way > Red Wing, MN 55066 > 651-385-6254 Office > 651-247-5719 Cell > michaele at capitalsafety.com > > Home of DBI-Sala and Protecta Brands. Visit us on the web at > www.capitalsafety.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From garciam at teleline.es Fri Jul 25 00:39:27 2008 From: garciam at teleline.es (Jose Luis Garcia) Date: Fri, 25 Jul 2008 00:39:27 +0200 Subject: compile problems on Solairs 5 In-Reply-To: <20080724200718.GA30143@teddy.fas.com> References: <20080724114235.GA16002@teddy.fas.com> <3a69bc5a0807241003h10773278i8b0800d0792f22c1@mail.gmail.com> <20080724200718.GA30143@teddy.fas.com> Message-ID: <3a69bc5a0807241539j4e04a8c3w3f53581b9962f2b9@mail.gmail.com> Well, I don't know if this definitions are in gcc lib or somewhere else. Try to identify the lib anc check it. Cheers 2008/7/24, stan : > > On Thu, Jul 24, 2008 at 07:03:07PM +0200, Jose Luis Garcia wrote: > > This seems to be a library problem. > > > > The libraries where dirname and sprintf are suposed to be defined is not > in > > the lib path. > > > > Perhaps you gcc libs are not in the lib path (I don't remember the env > var, > > ?LD_LIBRARY_PATH?) > > > > Hmm, > > AP0502# echo $LD_LIBRARY_PATH > > /opt/piapi/lib:/usr/openwin/lib:/usr/dt/lib:/opt/windu/lib:/opt/windu/fox:/opt/gms/lib:/usr/local/lib:/usr/local/ssl/lib > > AP0502# ls /usr/local/lib > expect5.26 libnfsPlugin.so > gcc-lib libnfsPlugin.so.1 > libarpPlugin.a libnfsPlugin.so.1.0.0 > libarpPlugin.so libntop-1.3.so.1 > libarpPlugin.so.1 libntop-1.3.so.1.0.0 > libarpPlugin.so.1.0.0 libntop.a > libcrypto.a libntop.la > libcrypto.so libntop.so > libcrypto.so.0 libntopreport-1.3.so.1 > libcrypto.so.0.9.6 libntopreport-1.3.so.1.0.0 > libcurses.so libntopreport.a > libexpect5.26.a libntopreport.la > libform.a libntopreport.so > ..... > > So, that would appear to indicate that the ggc-libs are in the approriate > environment variable, right? > > -- > One of the main causes of the fall of the roman empire was that, lacking > zero, they had no way to indicate successful termination of their C > programs. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 25 06:12:55 2008 From: marc at ena.com (Marc Powell) Date: Thu, 24 Jul 2008 23:12:55 -0500 Subject: How to troubleshoot when not receiving alerts?] In-Reply-To: <20080724215910.GA8062@ns.sdsitehosting.net> References: <20080724175933.GA25614@ns.sdsitehosting.net> <20080724215910.GA8062@ns.sdsitehosting.net> Message-ID: <7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com> On Jul 24, 2008, at 4:59 PM, John Oliver wrote: > No, nothing is getting logged. But then, there are very few logs > compared to the number of hosts / services it's monitoring... it looks > like only emails are being logged. I looked in nagios.cfg for a > logging > level type of option, but no dice. There are several variables that control logging in nagios.cfg. Look for log_ and debug_ in http://nagios.sourceforge.net/docs/3_0/configmain.html . I believe the default configuration is to log initial states, hard state changes, event handlers and notifications. > It was working yesterday. I was getting emails from this plugin every > 24 minutes (notification_interval was 1440). They were all errors. I Unless you've changed interval_length from it's default of 60, all _interval parameters are minutes, not seconds so that seems strange. > thought I had the errors fixed... the last email I got said RECOVERED > (even though I should be getting CRITICAL alerts, as there is 1% disk > space left). I changed the notification_interval, and never saw > another > email. Does the web interface show the status as CRITICAL? If you received a recovery notification the service was considered to be OK. What did you fix? > This AM, I set notification_interval to 60 I should get an email > every > minute. I'm not. And, yes, I'm restarting nagios ;-) > > Here's the stanza in services.cfg: > > define service{ > use generic-service ; Name > of service template to use > host_name ftp > service_description Disk Space > is_volatile 0 > check_period normalbusinesshours > max_check_attempts 3 > normal_check_interval 120 > retry_check_interval 10 > contact_groups FTP_Alerts > notification_interval 60 > notification_period normalbusinesshours > notification_options w,u,c,r > check_command check_remote_disk1 > register 1 > } Having notification_interval < normal_check_interval might be problematic. I am under the distinct impression that notification logic is only called after a check of the host/service. I don't have convenient access to the source right now to verify though. Additionally, this service is not set is_volatile (they normally are not volatile). Nagios will only send a notification for it for a hard state _change_ unless there is some other escalation definition applied to it. This is normal. > And I can check the remote system from the command line: > > [root at cerberus ~]# /usr/lib/nagios/plugins/check_nrpe -H ftp -c > check_disk > DISK OK - free space: / 2321 MB (1% inode=99%);| > /=133114MB;142786;142796;0;142806 We'd have to see the actual command definition for check_disk from nrpe.conf on the remote host but it seems that you've indicated that 1% free disk space is OK. Does it happen to be that you've specified your warning and critical levels in KB, not %? That's an easy mistake to make. Also, as a general rule you shouldn't test nagios plugins as root. It's common, but not likely in this case, that you'll see different results due to the difference in privilege levels between nagios and root. > Yes, I just noticed the discrepancy between contact_groups in > services.cfg and hosts.cfg I doubt that's the issue, as I was getting > emails yesterday. It seems to me you're not receiving notifications because hard state changes are not occurring. This is generally desired behavior. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Jul 25 11:39:11 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 25 Jul 2008 05:39:11 -0400 Subject: compiling plugins with check_radius In-Reply-To: <2D81E1BAE64EB343A9570B11C5E6927F0237F321@hqemhopn1.home.corp.agedwards.com> References: <2D81E1BAE64EB343A9570B11C5E6927F0237F321@hqemhopn1.home.corp.agedwards.com> Message-ID: <48899F3F.6020405@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/07/08 12:04 PM, Ford, Andy wrote: > Trying to compile nagios-plugins-1.4.12 including check_radius. > > I don't know how to get the configure script to find the radiusclient-ng > libraries & headers. > > radiusclient-ng was built with ./configure > --prefix=/usr/local/radiusclient-ng for the sake of keeping it separate. > > The configure script for nagios-plugins doesn't seem to offer an obvious > way to point to the libraries though. > > My best guess was > > ./configure --libdir=/usr/local/radiusclient-ng/lib/ > --includedir=/usr/local/radiusclient-ng/include/ > --with-trusted-path=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/radiusclien > t-ng/sbin Those options are for specifying installation paths on nagios-plugins itself. Looks like we forgot to put a --with-radius= option... Try the following (make sure the paths are correct...): > CFLAGS=" -I/usr/local/radiusclient-ng/include " LDFLAGS=" -L/usr/local/radiusclient-ng/lib " ./configure If that doesn't work I'll probably have to get my hands on a server without radiusclient for testing... Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIiZ8/6dZ+Kt5BchYRAmJQAJwIQQZLnYLadtUrhZQWqASGr7Ge+ACbBq1h a8bWqwFpD2NKvEF400GEZB0= =W7in -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguilbaud+nagios at gmail.com Fri Jul 25 11:51:07 2008 From: sguilbaud+nagios at gmail.com (seb) Date: Fri, 25 Jul 2008 11:51:07 +0200 Subject: Display system time In-Reply-To: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> References: <02D2783E184EA040A6660FF1BD669489256B79B2@MBX3.EXCHPROD.USA.NET> Message-ID: <28cea030807250251y7a6c8298uc67d6e54e1754bc1@mail.gmail.com> On Thu, Jul 24, 2008 at 22:00, Michael Egan wrote: > Is there a way in Nagios to show the system time for each monitored server? for ntp-aware servers, use check_ntp_time, you'll get automatic alerts in case of clock drift, wrong time after reboot, etc. -- S?bastien ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scarolan at gmail.com Fri Jul 25 16:03:20 2008 From: scarolan at gmail.com (Sean Carolan) Date: Fri, 25 Jul 2008 09:03:20 -0500 Subject: Authenticate to Nagios with Linux PAM? Message-ID: <277020fc0807250703m7eafc9a4h2d946fe10a8236b8@mail.gmail.com> Is it possible to set up Nagios to simply allow users to log in with their normal Linux username and password? Or perhaps there's an easy way to convert the hashed passwords from /etc/shadow to Apache htpasswd authentication? ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pzz at touk.pl Fri Jul 25 16:10:44 2008 From: pzz at touk.pl (Pawel Zuzelski) Date: Fri, 25 Jul 2008 16:10:44 +0200 Subject: Authenticate to Nagios with Linux PAM? In-Reply-To: <277020fc0807250703m7eafc9a4h2d946fe10a8236b8@mail.gmail.com> References: <277020fc0807250703m7eafc9a4h2d946fe10a8236b8@mail.gmail.com> Message-ID: <200807251610.48672.pzz@touk.pl> On Friday 25 of July 2008 16:03:20 Sean Carolan wrote: > Is it possible to set up Nagios to simply allow users to log in with > their normal Linux username and password? Or perhaps there's an easy > way to convert the hashed passwords from /etc/shadow to Apache > htpasswd authentication? Try apache-mod_auth_pam: http://pam.sourceforge.net/mod_auth_pam/ Regards, Pawel Zuzelski -- TouK sp. z o.o. s.k.a. jid:pzz at touk.pl SSL root cert: http://cert.touk.pl/ SHA1 fingerprint: 4A:AC:7F:DA:54:B0:89:AE:D9:CD:B1:5E:95:88:BD:FD:B4:5E:1F:92 -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1290 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Fri Jul 25 17:12:13 2008 From: joliver at john-oliver.net (John Oliver) Date: Fri, 25 Jul 2008 08:12:13 -0700 Subject: How to troubleshoot when not receiving alerts?] In-Reply-To: <7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com> References: <20080724175933.GA25614@ns.sdsitehosting.net> <20080724215910.GA8062@ns.sdsitehosting.net> <7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com> Message-ID: <20080725151213.GB29344@ns.sdsitehosting.net> On Thu, Jul 24, 2008 at 11:12:55PM -0500, Marc Powell wrote: > > On Jul 24, 2008, at 4:59 PM, John Oliver wrote: > > > It was working yesterday. I was getting emails from this plugin every > > 24 minutes (notification_interval was 1440). They were all errors. I > > Unless you've changed interval_length from it's default of 60, all > _interval parameters are minutes, not seconds so that seems strange. I haven't changed anything, but then, I didn't set this box up, either. It's a legacy system to me. I just checked nagios.cfg and: interval_length=1 > > thought I had the errors fixed... the last email I got said RECOVERED > > (even though I should be getting CRITICAL alerts, as there is 1% disk > > space left). I changed the notification_interval, and never saw > > another > > email. > > Does the web interface show the status as CRITICAL? If you received a > recovery notification the service was considered to be OK. What did > you fix? No. The web interface is really confusing for this server: ftp UP N/A 486d 17h 50m 1s It has not been up for 486 days. And this is the one device that has N/A for last check. It's green and "UP". But that doesn't change the fact that nrpe reports 1% of disk space left, and that the nagios server can see that at least when I manually run the command. > > This AM, I set notification_interval to 60 I should get an email > > every > > minute. I'm not. And, yes, I'm restarting nagios ;-) > > > > Here's the stanza in services.cfg: > > > > define service{ > > use generic-service ; Name > > of service template to use > > host_name ftp > > service_description Disk Space > > is_volatile 0 > > check_period normalbusinesshours > > max_check_attempts 3 > > normal_check_interval 120 > > retry_check_interval 10 > > contact_groups FTP_Alerts > > notification_interval 60 > > notification_period normalbusinesshours > > notification_options w,u,c,r > > check_command check_remote_disk1 > > register 1 > > } > > Having notification_interval < normal_check_interval might be > problematic. I am under the distinct impression that notification > logic is only called after a check of the host/service. I don't have > convenient access to the source right now to verify though. OK, I just made notification_interval 180 to test. > Additionally, this service is not set is_volatile (they normally are > not volatile). Nagios will only send a notification for it for a hard > state _change_ unless there is some other escalation definition > applied to it. This is normal. I'm starting to read about is_volatile, but I'm not really understanding it. One example is "things that automatically reset themselves to an "OK" state each time they are checked" That certainly isn't the case with a disk space check. > > And I can check the remote system from the command line: > > > > [root at cerberus ~]# /usr/lib/nagios/plugins/check_nrpe -H ftp -c > > check_disk > > DISK OK - free space: / 2321 MB (1% inode=99%);| > > /=133114MB;142786;142796;0;142806 > > We'd have to see the actual command definition for check_disk from > nrpe.conf on the remote host but it seems that you've indicated that > 1% free disk space is OK. Does it happen to be that you've specified > your warning and critical levels in KB, not %? That's an easy mistake > to make. Also, as a general rule you shouldn't test nagios plugins as > root. It's common, but not likely in this case, that you'll see > different results due to the difference in privilege levels between > nagios and root. command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/mapper/VolGroup00-LogVol00 [root at cerberus ~]# su nagios -c "/usr/lib/nagios/plugins/check_nrpe -H ftp -c check_disk" DISK OK - free space: / 782 MB (0% inode=99%);| /=134653MB;142786;142796;0;142806 :-) > > Yes, I just noticed the discrepancy between contact_groups in > > services.cfg and hosts.cfg I doubt that's the issue, as I was getting > > emails yesterday. > > It seems to me you're not receiving notifications because hard state > changes are not occurring. This is generally desired behavior. That doesn't really make sense to me. I won't be alerted until the problem is fixed? Or gets worse? Here's what I'd like to wind up with... if available disk space drops below a certain point, I'd like to have an alert go out maybe once per day. If it drops past another point, into critical territory, I'd like alerts to be sent out more frequently. But, whatever the interval is, nagios should be alerting each time it sees low disk space. If it alerts once, and then assumes that it never has to alert again unless the problem gets fixed and then reappears, it's never going to get fixed. Once I have alerting working this way, I'll point the emails at the people who are responsible and then I can forget about it. Thanks for all your help and input! -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 25 17:55:17 2008 From: jonathan.williams at us.g4s.com (Jon Williams) Date: Fri, 25 Jul 2008 08:55:17 -0700 Subject: Notification using notify-html-email.sh In-Reply-To: <20080725151213.GB29344@ns.sdsitehosting.net> References: <20080724175933.GA25614@ns.sdsitehosting.net> <20080724215910.GA8062@ns.sdsitehosting.net> <7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com> <20080725151213.GB29344@ns.sdsitehosting.net> Message-ID: <1217001317.12483.11.camel@LOOKINIUM> After giving up on the send_mail.pl script I am going with the notify-html-email.sh add-on. I seems pretty straight forward. One question on a command. The command to run when notifying service alerts reads: define command { command_name notify-html-email command_line /usr/local/nagios/libexec/notify-html-email.sh service } I get this error in the nagios log: [1217000677] Warning: Attempting to execute the command "/usr/local/nagios/libexec/notify-html-email.sh service" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Sounds familiar. Nagios is the owner and I also ran "chmod 0755 /usr/local/nagios/libexec/notify-html-email.sh". That is definately where the file is and permissions are good. I am wondering about the fact that "service" is after it. There is no - or / or anything before that. The error looks like it's trying to find a file called "notify-html-email.sh service" rather than the file notify-html-email.sh" with a parameter of "service". I have attached the script it is running. -------------- next part -------------- A non-text attachment was scrubbed... Name: notify-html-email.sh Type: application/x-shellscript Size: 29224 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jul 25 18:08:54 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 25 Jul 2008 18:08:54 +0200 Subject: Authenticate to Nagios with Linux PAM? In-Reply-To: <277020fc0807250703m7eafc9a4h2d946fe10a8236b8@mail.gmail.com> References: <277020fc0807250703m7eafc9a4h2d946fe10a8236b8@mail.gmail.com> Message-ID: <4889FA96.4080504@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Sean Carolan wrote: | Is it possible to set up Nagios to simply allow users to log in with | their normal Linux username and password? Or perhaps there's an easy | way to convert the hashed passwords from /etc/shadow to Apache | htpasswd authentication? Have you considered that this will result in plain readable passwords going over the line? Are you sure that is what you want? 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) iD8DBQFIifqVBvzDRVjxmYERAqyKAJ945ihlQPVBHP9jmp8Hm0iKHOMhnwCfdCPz VTjiKOZwzvrA4Cxtq+l4WYI= =76Vx -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 25 18:19:07 2008 From: marc at ena.com (Marc Powell) Date: Fri, 25 Jul 2008 11:19:07 -0500 Subject: Notification using notify-html-email.sh In-Reply-To: <1217001317.12483.11.camel@LOOKINIUM> References: <20080724175933.GA25614@ns.sdsitehosting.net> <20080724215910.GA8062@ns.sdsitehosting.net> <7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com> <20080725151213.GB29344@ns.sdsitehosting.net> <1217001317.12483.11.camel@LOOKINIUM> Message-ID: On Jul 25, 2008, at 10:55 AM, Jon Williams wrote: Don't hijack someone else's thread. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 25 18:21:08 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 25 Jul 2008 09:21:08 -0700 Subject: Notification using notify-html-email.sh In-Reply-To: References: <20080724175933.GA25614@ns.sdsitehosting.net><20080724215910.GA8062@ns.sdsitehosting.net><7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com><20080725151213.GB29344@ns.sdsitehosting.net><1217001317.12483.11.camel@LOOKINIUM> Message-ID: How do you mean? I started my own. Why would I hijack someone elses?? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, July 25, 2008 9:19 AM To: nagios-users Subject: Re: [Nagios-users] Notification using notify-html-email.sh On Jul 25, 2008, at 10:55 AM, Jon Williams wrote: Don't hijack someone else's thread. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Jul 25 18:37:34 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 25 Jul 2008 18:37:34 +0200 Subject: Notification using notify-html-email.sh In-Reply-To: References: <20080724175933.GA25614@ns.sdsitehosting.net><20080724215910.GA8062@ns.sdsitehosting.net><7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com><20080725151213.GB29344@ns.sdsitehosting.net><1217001317.12483.11.camel@LOOKINIUM> Message-ID: <488A014E.6080003@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Williams wrote: | How do you mean? I started my own. Why would I hijack someone elses?? Your message headers gave you away: From: Jon Williams To: nagios-users In-Reply-To: <20080725151213.GB29344 at ns.sdsitehosting.net> References: <20080724175933.GA25614 at ns.sdsitehosting.net> <20080724215910.GA8062 at ns.sdsitehosting.net> <7DCC63F0-49BA-482E-84D6-2F5E2B51A058 at ena.com> <20080725151213.GB29344 at ns.sdsitehosting.net> So NEVER use the reply button to start a new thread. 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) iD8DBQFIigFMBvzDRVjxmYERAnXZAJ9shBotq81sDxrxy+Wgwn0jA0ABewCeOJDA WX8g9cWhgl+OtkNw2XzTAkg= =lmep -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 25 18:40:44 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 25 Jul 2008 09:40:44 -0700 Subject: Notification using notify-html-email.sh In-Reply-To: <488A014E.6080003@vanderkooij.org> References: <20080724175933.GA25614@ns.sdsitehosting.net><20080724215910.GA8062@ns.sdsitehosting.net><7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com><20080725151213.GB29344@ns.sdsitehosting.net><1217001317.12483.11.camel@LOOKINIUM> <488A014E.6080003@vanderkooij.org> Message-ID: Didn't think it mattered. I changed the subject, and did not include any of the previous text. Lesson learned. Thanks. Should I repost? -----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: Friday, July 25, 2008 9:38 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Notification using notify-html-email.sh -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Williams wrote: | How do you mean? I started my own. Why would I hijack someone elses?? Your message headers gave you away: From: Jon Williams To: nagios-users In-Reply-To: <20080725151213.GB29344 at ns.sdsitehosting.net> References: <20080724175933.GA25614 at ns.sdsitehosting.net> <20080724215910.GA8062 at ns.sdsitehosting.net> <7DCC63F0-49BA-482E-84D6-2F5E2B51A058 at ena.com> <20080725151213.GB29344 at ns.sdsitehosting.net> So NEVER use the reply button to start a new thread. 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) iD8DBQFIigFMBvzDRVjxmYERAnXZAJ9shBotq81sDxrxy+Wgwn0jA0ABewCeOJDA WX8g9cWhgl+OtkNw2XzTAkg= =lmep -----END PGP SIGNATURE----- ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 25 18:58:32 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 25 Jul 2008 09:58:32 -0700 Subject: Notification using notify-html-email.sh Message-ID: Reposted with apologies: After giving up on the send_mail.pl script I am going with the notify-html-email.sh add-on. I seems pretty straight forward. One question on a command. The command to run when notifying service alerts reads: define command { command_name notify-html-email command_line /usr/local/nagios/libexec/notify-html-email.sh service } I get this error in the nagios log: [1217000677] Warning: Attempting to execute the command "/usr/local/nagios/libexec/notify-html-email.sh service" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... Sounds familiar. Nagios is the owner and I also ran "chmod 0755 /usr/local/nagios/libexec/notify-html-email.sh". That is definately where the file is and permissions are good. I am wondering about the fact that "service" is after it. There is no - or / or anything before that. The error looks like it's trying to find a file called "notify-html-email.sh service" rather than the file notify-html-email.sh" with a parameter of "service". I have attached the script it is running. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: notify-html-email.sh Type: application/octet-stream Size: 29224 bytes Desc: notify-html-email.sh URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 25 19:00:15 2008 From: marc at ena.com (Marc Powell) Date: Fri, 25 Jul 2008 12:00:15 -0500 Subject: How to troubleshoot when not receiving alerts?] In-Reply-To: <20080725151213.GB29344@ns.sdsitehosting.net> References: <20080724175933.GA25614@ns.sdsitehosting.net> <20080724215910.GA8062@ns.sdsitehosting.net> <7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com> <20080725151213.GB29344@ns.sdsitehosting.net> Message-ID: <0C1E24C5-FB41-42B9-AF90-062E135B9C1E@ena.com> On Jul 25, 2008, at 10:12 AM, John Oliver wrote: > On Thu, Jul 24, 2008 at 11:12:55PM -0500, Marc Powell wrote: >> > I just checked nagios.cfg and: > > interval_length=1 All your intervals are in seconds then. The default is 60. >>> thought I had the errors fixed... the last email I got said >>> RECOVERED >>> (even though I should be getting CRITICAL alerts, as there is 1% >>> disk >>> space left). I changed the notification_interval, and never saw >>> another >>> email. >> >> Does the web interface show the status as CRITICAL? If you received a >> recovery notification the service was considered to be OK. What did >> you fix? > > No. The web interface is really confusing for this server: > > ftp UP N/A 486d 17h 50m 1s > > It has not been up for 486 days. And this is the one device that has You should verify your command{} definition for whatever the UP check is. That's a check that you or your predecessor created and not a 'standard' check. If it's not been UP for 486 days then it seems you're not checking what you think you're checking. > N/A for last check. It's green and "UP". But that doesn't change the > fact that nrpe reports 1% of disk space left, and that the nagios > server > can see that at least when I manually run the command. Correct, they'd be completely unrelated. > I'm starting to read about is_volatile, but I'm not really > understanding > it. One example is "things that automatically reset themselves to an > "OK" state each time they are checked" That certainly isn't the case > with a disk space check. Correct. Most services are not volatile. An example would be an SNMP trap. For every trap you receive, you want to send a notification regardless of the status of the previous trap. A volatile service sends out a notification for *every* non-OK check result for that service. > command[check_disk]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p > /dev/mapper/VolGroup00-LogVol00 Warn if less than 20MB are free, Critical if less than 10MB are free -- that common mistake I referenced. > [root at cerberus ~]# su nagios -c "/usr/lib/nagios/plugins/check_nrpe -H > ftp -c check_disk" > DISK OK - free space: / 782 MB (0% inode=99%);| > /=134653MB;142786;142796;0;142806 It's OK according to the criteria you've defined; you've got another 762M to go before warning ;-). 'check_disk --help' might be a good read. You want to add a '%' to those numbers. >> It seems to me you're not receiving notifications because hard state >> changes are not occurring. This is generally desired behavior. > > That doesn't really make sense to me. I won't be alerted until the > problem is fixed? Or gets worse? You'll be alerted when the service changes state by default. OK -> Warning, OK -> Critical, Warning -> Critical, Warning -> OK, Critical - > OK. With a notification interval of 180, you should be re-notified every 180 seconds _but_ only if the service is in a non-OK state. You're not in a non-OK state so your next notification will be when a state change occurs to Warning or Critical. http://nagios.sourceforge.net/docs/3_0/notifications.html > Here's what I'd like to wind up with... if available disk space drops > below a certain point, I'd like to have an alert go out maybe once per > day. If it drops past another point, into critical territory, I'd > like You should have enough information to fix the disk check now. For the notifications, adjust notification_interval to be 86400 (1 day in seconds). > alerts to be sent out more frequently. But, whatever the interval is, This is not possible AFAIK. notification_interval is the same, always. Having a shorter notification_interval and looking at Escalations might be a solution. Another would be to include that kind of logic in your notification script. > nagios should be alerting each time it sees low disk space. If it Every check? If that's what you want then setting is_volatile would do it. > alerts once, and then assumes that it never has to alert again unless > the problem gets fixed and then reappears, it's never going to get > fixed. Once I have alerting working this way, I'll point the emails > at That sounds like a people issue ;) Normally, that's the behavior but Escalations can help force the people issue. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Jul 25 19:09:17 2008 From: marc at ena.com (Marc Powell) Date: Fri, 25 Jul 2008 12:09:17 -0500 Subject: Notification using notify-html-email.sh In-Reply-To: References: <20080724175933.GA25614@ns.sdsitehosting.net><20080724215910.GA8062@ns.sdsitehosting.net><7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com><20080725151213.GB29344@ns.sdsitehosting.net><1217001317.12483.11.camel@LOOKINIUM> <488A014E.6080003@vanderkooij.org> Message-ID: <0562C67F-F308-4898-82BC-96D439C58EC4@ena.com> On Jul 25, 2008, at 11:40 AM, Jonathan Williams wrote: > Didn't think it mattered. I changed the subject, and did not include > any of the previous text. Lesson learned. http://thread.gmane.org/gmane.network.nagios.user/55932 is an example of why it matters. Threaded mail clients do the same. Your question is now forever associated with the original as if it were part of it. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.williams at us.g4s.com Fri Jul 25 19:13:48 2008 From: jonathan.williams at us.g4s.com (Jonathan Williams) Date: Fri, 25 Jul 2008 10:13:48 -0700 Subject: Notification using notify-html-email.sh In-Reply-To: <0562C67F-F308-4898-82BC-96D439C58EC4@ena.com> References: <20080724175933.GA25614@ns.sdsitehosting.net><20080724215910.GA8062@ns.sdsitehosting.net><7DCC63F0-49BA-482E-84D6-2F5E2B51A058@ena.com><20080725151213.GB29344@ns.sdsitehosting.net><1217001317.12483.11.camel@LOOKINIUM> <488A014E.6080003@vanderkooij.org> <0562C67F-F308-4898-82BC-96D439C58EC4@ena.com> Message-ID: Thanks Marc. Makes sense. I did repost by the way. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, July 25, 2008 10:09 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Notification using notify-html-email.sh On Jul 25, 2008, at 11:40 AM, Jonathan Williams wrote: > Didn't think it mattered. I changed the subject, and did not include > any of the previous text. Lesson learned. http://thread.gmane.org/gmane.network.nagios.user/55932 is an example of why it matters. Threaded mail clients do the same. Your question is now forever associated with the original as if it were part of it. -- Marc ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moby at mobsternet.com Sat Jul 26 06:52:17 2008 From: moby at mobsternet.com (Moby) Date: Fri, 25 Jul 2008 23:52:17 -0500 Subject: Distributed monitoring with distributed server running Windows Message-ID: <488AAD81.2010904@mobsternet.com> Hello all, I have Nagios up and running and have made myself familiar with nrpe and nsca. I have read and think I understand the Nagios distributed monitoring setup quite clearly. The issue I have now is that I need to setup a distributed monitoring setup where the "distributed" server will be running Windows. In short, I have a Linux server as the central server, I have a distributed monitoring server running Windows. I can monitor the distributed server itself quite well using nsca with nsclient++. I can also monitor it successfully using nsca with nsclient++. I have some more windows machines that I need to monitor but they cannot contact the central Nagios server directly, they have to come via the distributed server. Does anyone know of any tools that can enable my distributed server running Windows to act either as an "nsca server" to receive data from leaf nodes via nsca or as an "nrpe server" to get data from leaf nodes via nrpe and then send those alerts onto my central Linux box via nsca? Thanks in advance for any help, -- --Moby They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. -- Benjamin Franklin ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Sat Jul 26 13:35:05 2008 From: cyruspy at gmail.com (Ciro Iriarte) Date: Sat, 26 Jul 2008 07:35:05 -0400 Subject: Help with nrpe and certificates In-Reply-To: <20080724131440.GA3658@jackdaw.stevesearle.com> References: <20080724131440.GA3658@jackdaw.stevesearle.com> Message-ID: 2008/7/24 Steve Searle : > Hi, > > I have nagios monitoring a number of servers using the nrpe plugin. > Recently one of the checks has failed with a "could not complete SSL > handshake" error. > > I think this is because the certificate has either expired or been > re-created (self signed), but I can't find out what certificate I should > create to get round this (you will see I am a newbie in this area). > > Can anyone else help, or point me at some relevant documentation. I > realise I may have got this totally wrong, so please a) be patient, and > b) feel free to point out any blindingly obvious errors I have made. > > Thanks > > Steve > > -- > Check that your monitoring host is allowed to connect to that host (nrpe.cfg). Regards, Ciro ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sun Jul 27 06:08:16 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 27 Jul 2008 00:08:16 -0400 Subject: Notification using notify-html-email.sh In-Reply-To: References: Message-ID: <488BF4B0.9060607@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 25/07/08 12:58 PM, Jonathan Williams wrote: > Reposted with apologies: > > > > After giving up on the send_mail.pl script I am going with the > notify-html-email.sh add-on. I seems pretty straight forward. One > question on a command. The command to run when notifying service alerts > > reads: > > > > define command { > > command_name notify-html-email > > command_line /usr/local/nagios/libexec/notify-html-email.sh > > service > > } > > > > I get this error in the nagios log: > > > > [1217000677] Warning: Attempting to execute the command > "/usr/local/nagios/libexec/notify-html-email.sh service" resulted in a > return code of 127. Make sure the script or binary you are trying to > execute actually exists... > > > > Sounds familiar. Nagios is the owner and I also ran "chmod > > 0755 /usr/local/nagios/libexec/notify-html-email.sh". That is > definately where the file is and permissions are good. > > > > I am wondering about the fact that "service" is after it. There is no - > or / or anything before that. The error looks like it's trying to find > a file called "notify-html-email.sh service" rather than the file > notify-html-email.sh" with a parameter of "service". > > > > I have attached the script it is running. If you think it's your nagios configuration you could try running a no-op bash script instead and see if it works. Another suggestion would be to look at every programs called from /usr/local/nagios/libexec/notify-html-email.sh and make sure the full path is used, Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIi/Sw6dZ+Kt5BchYRAlXMAJ9b1QWdLjVs4wcj4zVwwQk+4ikYXgCfWPA3 9TufPp2u6fRhU0DrRoE5jDs= =Oe/o -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Jul 27 09:39:57 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 27 Jul 2008 09:39:57 +0200 Subject: Notification using notify-html-email.sh In-Reply-To: References: Message-ID: <488C264D.3000808@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jonathan Williams wrote: | [1217000677] Warning: Attempting to execute the command | "/usr/local/nagios/libexec/notify-html-email.sh service" resulted in a | return code of 127. Make sure the script or binary you are trying to | execute actually exists... Sounds like you rely on thing in this scripts that only work with a proper environment. That is not what killed your script. But I suggest you fix it nevertheless. Like: # Generate unique MIME Content-ID base for multipart message CONTENTIDBASE="`date +%s`@`hostname --fqdn`" This will not work if your PATH is not set properly. I suggest you define DATECMD first to point to the full path of date and then use $DATECMD instead if date in your script. And its seems your commandline ignores to add the required notification type so this check will always make it fail: # Check for proper usage [ $1 ] || { echo -e "notify-html-email.sh $VERISON\n\nHTML 4.0 notification for Nagios 2.x\n\nUsage: notify-html-email \n\nOptions:" echo -e " notification_type\n Must be 'host' or 'service' indicating the type of notification\n" echo -e "This script should be called by a Nagios e-mail notification command\nfrom /usr/local/nagios/etc/misccommands.cfg" echo -e "It uses the NAGIOS_* environmental variables to generate and send an HTML\nmessage to the recipient. The format of the e-mail is customizable by\nediting the script.\n" exit -1 } So now you know why you always get the given return code. 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) iD8DBQFIjCZLBvzDRVjxmYERAt6HAKCOatnBauB6VWweiuL+n2aHrrSmdgCguaRS xt1aXDst0Zd6gwOLk3ojdh0= =lsJI -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Sun Jul 27 20:13:37 2008 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 27 Jul 2008 14:13:37 -0400 (EDT) Subject: dell printer server In-Reply-To: <166252.87019.qm@web26107.mail.ukl.yahoo.com> References: <166252.87019.qm@web26107.mail.ukl.yahoo.com> Message-ID: On Tue, 22 Jul 2008, Kermito le kermit wrote: > hello all, > > I want to know if there are a plugin for check the dell printer spool cartouche Check to see if it support SNMP. Dell OEMs Lexmark, IIRC, and that support SNMP. ~BAS ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Mon Jul 28 11:11:08 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Mon, 28 Jul 2008 09:11:08 +0000 Subject: Building custom headers Message-ID: <200807280911.08819.assaf.flatto@ssp.uk.com> Hello I want to add a custom header to my extinfo.cgi display . that when ever i look in to a problem , in the header is can see whom is the main contact person for the server/service problem . I've tried to add an extinfo-header.ssi file with the html :

Contact person For This server is $CONTACTGROUP$

, with hopes that nagios will parse the text to the appropriate params of the server. the actual display is the line as is in the web browser. how can i make the desired header appear with the data i want (contact group/person) , and is it possible to display more then just the name (i.e. mail , phone numbers )? Thanks Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Mon Jul 28 12:16:58 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Mon, 28 Jul 2008 10:16:58 +0000 (GMT) Subject: check_snmp Message-ID: <156694.81271.qm@web26101.mail.ukl.yahoo.com> hello all, I want to use check_snmp to make somme check example i want to check a printer to see if ink is finish command check_snmp -H ip -o OID TRAP -w -c i want to put what to warnnig and critical _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stanb at panix.com Mon Jul 28 12:20:13 2008 From: stanb at panix.com (stan) Date: Mon, 28 Jul 2008 06:20:13 -0400 Subject: External links? Message-ID: <20080728102013.GA29393@teddy.fas.com> I'd like to add a link to the Cricket/Cacti (TBD) page for each machine monitored by my Nagios instance from, let's say, the detail page for each hosts. Can I do this? If so, how? -- One of the main causes of the fall of the roman empire was that, lacking zero, they had no way to indicate successful termination of their C programs. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Jul 28 12:50:23 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 28 Jul 2008 11:50:23 +0100 Subject: Possible to add host groups to service groups? In-Reply-To: <277020fc0807241105o1de4ece1hd3f51e06db3429de@mail.gmail.com> References: <277020fc0807241105o1de4ece1hd3f51e06db3429de@mail.gmail.com> Message-ID: <488DA46F.2080504@googlemail.com> Sean Carolan wrote: > Suppose I have configured a host group called "Linux Servers", and I > also have a service group that contains some basic Linux services for > monitoring. Is it possible to simply add the entire host group to > this service group? Having just looked the 2.x and 3.x docs it does not appear so. I haven't tried it as I don't manually maintain service groups, but consider another way of coming at the problem: If you add a hostgroup to a service, then you can generate the servicegroup around it for web interface usage. This way I don't ever maintain servicegroups myself, they are automatically generated so that I can just use them for grouping views in the nagios web interface. This may be a reasonable compromise depending on what you are trying to do. I wrote a python script to generate the servicegroups file, you can find it here: http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Detailed%2F2435.html;d=1 You can still have a manually maintained servicegroup file as well for special cases and use it alongside the auto-generated servicegroups by sourcing both in nagios.cfg using a couple of cfg_file lines. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From o.klein at comdivision.com Mon Jul 28 12:58:57 2008 From: o.klein at comdivision.com (Oliver Klein) Date: Mon, 28 Jul 2008 12:58:57 +0200 (CEST) Subject: nrpe on ESX Server? In-Reply-To: <31346128.23061217242606177.JavaMail.root@zimbra> References: <31346128.23061217242606177.JavaMail.root@zimbra> Message-ID: <13267414.23141217242737865.JavaMail.root@zimbra> Dear List i have a problem to get nrpe work on an esx server. On the nagios box nrpe-2.81 is installed on the esx server nrpe-2.81b So checks from the nagios box to the esx server works correctly. ./check_nrpe -H XXX.XXX.XXX.XXX -c check_disk1 -n DISK OK - free space: / 3269 MB (70% inode=90%);| /=1398MB;4898;4908;0;4918 but no values are written in the webinterface only this message Datastore size CRITICAL 28-07-2008 12:53:11 0d 2h 16m 23s 4/4 (Service Check Timed Out) and the esx server log show me this Jul 28 12:42:10 vmware nrpe[4716]: Could not read request from client, bailing out... So i did a lot of things recompile nrpe, use an older version like 2.12 an so on but i can?t find a solution for the above error message. Any idea what i?m missing or what i?m doing wrong. Mit freundlichem Gru? / Best regards Oliver Klein ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Jul 28 14:08:50 2008 From: marc at ena.com (Marc Powell) Date: Mon, 28 Jul 2008 07:08:50 -0500 Subject: External links? In-Reply-To: <20080728102013.GA29393@teddy.fas.com> References: <20080728102013.GA29393@teddy.fas.com> Message-ID: On Jul 28, 2008, at 5:20 AM, stan wrote: > I'd like to add a link to the Cricket/Cacti (TBD) page for each > machine > monitored by my Nagios instance from, let's say, the detail page for > each > hosts. > > Can I do this? If so, how? notes_url for hosts and services-- http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From o.klein at comdivision.com Mon Jul 28 14:19:53 2008 From: o.klein at comdivision.com (Oliver Klein) Date: Mon, 28 Jul 2008 14:19:53 +0200 (CEST) Subject: nrpe on ESX Server? In-Reply-To: <13267414.23141217242737865.JavaMail.root@zimbra> References: <13267414.23141217242737865.JavaMail.root@zimbra> Message-ID: <25692261.23931217247593284.JavaMail.root@zimbra> Dear List i solved the problem, i missed the -n option in the service declaration ;) Mit freundlichem Gru? / Best regards Oliver Klein ----- Urspr?ngliche Mail ----- Von: "Oliver Klein" An: nagios-users at lists.sourceforge.net Gesendet: Montag, 28. Juli 2008 12:58:57 GMT +01:00 Amsterdam/Berlin/Bern/Rom/Stockholm/Wien Betreff: [Nagios-users] nrpe on ESX Server? Dear List i have a problem to get nrpe work on an esx server. On the nagios box nrpe-2.81 is installed on the esx server nrpe-2.81b So checks from the nagios box to the esx server works correctly. ./check_nrpe -H XXX.XXX.XXX.XXX -c check_disk1 -n DISK OK - free space: / 3269 MB (70% inode=90%);| /=1398MB;4898;4908;0;4918 but no values are written in the webinterface only this message Datastore size CRITICAL 28-07-2008 12:53:11 0d 2h 16m 23s 4/4 (Service Check Timed Out) and the esx server log show me this Jul 28 12:42:10 vmware nrpe[4716]: Could not read request from client, bailing out... So i did a lot of things recompile nrpe, use an older version like 2.12 an so on but i can?t find a solution for the above error message. Any idea what i?m missing or what i?m doing wrong. Mit freundlichem Gru? / Best regards Oliver Klein ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pckizer at nostrum.com Tue Jul 29 03:01:39 2008 From: pckizer at nostrum.com (Philip Kizer) Date: Mon, 28 Jul 2008 20:01:39 -0500 Subject: check_snmp In-Reply-To: <156694.81271.qm@web26101.mail.ukl.yahoo.com> References: <156694.81271.qm@web26101.mail.ukl.yahoo.com> Message-ID: On 2008, Jul 28, at 05:16, Kermito le kermit wrote: > I want to use check_snmp to make somme check example i want to > check a printer to see if ink is finish command > > check_snmp -H ip -o OID TRAP -w -c > > i want to put what to warnnig and critical If your check_snmp looks like: # 'check_snmp' command definition define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -w $ARG3$ -c $ARG4$ $ARG5$ $ARG6$ $ARG7$ } you can just do: define service{ use generic-service ; Name of service template to use hostgroup_name hosts_temp service_description Temp check_command check_snmp!$USER4$!$USER9$!39! 42 } Appropriately redfined for your printer community string where I have $USER4$, the ink-level OID where I have $USER9$ and your warning/crit levels in place of the final 2 numbers. That should help you interpret the rest of the documentation to understand it better in how parameter passing is done separated by the exclamation marks. -philip ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DVeldhuisen at slb.com Tue Jul 29 03:12:28 2008 From: DVeldhuisen at slb.com (Doug Veldhuisen) Date: Tue, 29 Jul 2008 03:12:28 +0200 Subject: Check plugin for toshiba printerers Message-ID: I was wondering if anyone had a check plugin for a Toshiba printer. In particular I'm trying to run checks on the e-studio452 and e-studio3510c printers. I know the check_hpld plug-in won't work-its HP specific, but was wondering if someone had another way or plug-in they were using. Specifically I'm most interested in checking the cartridge levels on the black & white printer and the 4 color cartridges on the color unit. Also would be nice to check for fair warning when the toner waste bottle was getting near full. I know I could use the check_snmp plug-in, find the correct OID for what I want, but was hoping someone had been down this road before. I'm trying to give ample warning about the cartridges levels to the users, cause the supplier doesn't seem to want stock cartridges on site. Doug Veldhuisen NAM Connectivity Services 918.661.2701 / 469.484.5296 cell: 918.815.2700 US Central Timezone ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave.close at us.thalesgroup.com Tue Jul 29 07:31:56 2008 From: dave.close at us.thalesgroup.com (Dave Close) Date: Mon, 28 Jul 2008 22:31:56 -0700 Subject: check_ping can't interpret output Message-ID: <488EAB4C.6020700@us.thalesgroup.com> I have the same version of Nagios installed on a dozen systems (not machines, full systems with several hundred machines each). Except for the specific list of machines, the configuration is identical between them. All are installed by yum from the Fedora 7 RPMs, version 2.10-3.fc7. All the plugins were installed the same way and are version 1.4.11-2.fc7. On one system only, check_host_alive (which calls check_ping) reports that all machines are down, while at the same time Nagios reports that most services on those machines are up. Running check_ping as root from the command line gets a successful response. Digging further, I have enabled user "apache", which is the user httpd runs as, then tried the command as user apache. Here is the result. # /usr/lib/nagios/plugins/check_ping -H machine -w 3000.0,80% -c 5000.0,100% -p 1 PING OK - Packet loss = 0%, RTA = 0.16 ms # su - apache -c "/usr/lib/nagios/plugins/check_ping -H machine -w 3000.0,80% -c 5000.0,100% -p 1" /bin/ping -n -U -w 10 -c 1 machine CRITICAL - Could not interpret output from ping command Some online references appear to suggest this could be caused by a LANG environment variable. I temporarily replaced the check_ping command with a wrapper script that saved the environment to a file before calling the actual command. There was no difference in LANG and the only other differences had to do with the name of the last machine tested. All systems report LANG=en_US.UTF-8. I have compared every configuration file for Nagios and Apache between systems and not found any unexpected discrepancy. I have verified the installation of all relevant packages (rpm -V). I can't find anything which explains the different behavior on the one system. Other suggestions are welcome. -- Dave Close ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Jul 29 08:07:44 2008 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 29 Jul 2008 08:07:44 +0200 Subject: check_ping can't interpret output In-Reply-To: <488EAB4C.6020700@us.thalesgroup.com> References: <488EAB4C.6020700@us.thalesgroup.com> Message-ID: <488EB3B0.8020100@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dave Close wrote: | I have the same version of Nagios installed on a dozen systems (not | machines, full systems with several hundred machines each). Except for | the specific list of machines, the configuration is identical between | them. All are installed by yum from the Fedora 7 RPMs, version | 2.10-3.fc7. All the plugins were installed the same way and are version | 1.4.11-2.fc7. Hmm. Please read the various comments on the lifespan of fedora releases on this and other mailinglists. Is this what you want in a corporate environment? | On one system only, check_host_alive (which calls check_ping) reports | that all machines are down, while at the same time Nagios reports that | most services on those machines are up. Running check_ping as root from | the command line gets a successful response. Digging further, I have | enabled user "apache", which is the user httpd runs as, then tried the | command as user apache. Here is the result. I am a bit puzzled. Plugins are run as nagios user and not as apache user so why test as apache user. Unless your nagios setup deviates quite a bit in this regard bt I find that rather unlikely at this momemt. | | # /usr/lib/nagios/plugins/check_ping -H machine -w 3000.0,80% -c | 5000.0,100% -p 1 | PING OK - Packet loss = 0%, RTA = 0.16 ms | # su - apache -c "/usr/lib/nagios/plugins/check_ping -H machine -w | 3000.0,80% -c 5000.0,100% -p 1" | /bin/ping -n -U -w 10 -c 1 machine | CRITICAL - Could not interpret output from ping command | | Some online references appear to suggest this could be caused by a LANG | environment variable. I temporarily replaced the check_ping command with | a wrapper script that saved the environment to a file before calling the | actual command. There was no difference in LANG and the only other | differences had to do with the name of the last machine tested. All | systems report LANG=en_US.UTF-8. This would only matter if these variables differ for various users. If you want to compare system properly compare the binaries wih MD5 hashes and things like that. Also read the suggestions to drop check_ping for better checks in the archives of this mailinglist. 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) iD8DBQFIjrOuBvzDRVjxmYERAjJFAJ9QRAqSSB1jRnGeuz4DrJ7az4qKBwCdG3i9 yp2LgvjQYWUnzsqgqZxG2FY= =Rd2f -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 29 14:09:36 2008 From: marc at ena.com (Marc Powell) Date: Tue, 29 Jul 2008 07:09:36 -0500 Subject: check_ping can't interpret output In-Reply-To: <488EAB4C.6020700@us.thalesgroup.com> References: <488EAB4C.6020700@us.thalesgroup.com> Message-ID: <2AA5D723-630F-431A-9E33-432254DB3998@ena.com> On Jul 29, 2008, at 12:31 AM, Dave Close wrote: > # su - apache -c "/usr/lib/nagios/plugins/check_ping -H machine -w > 3000.0,80% -c 5000.0,100% -p 1" > /bin/ping -n -U -w 10 -c 1 machine > CRITICAL - Could not interpret output from ping command > Beyond Hugo's comments about running as the user nagios, this would seem to indicate that /bin/ping is not SUID root. Is it? If not, chmod u+s /bin/ping. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Jul 29 14:23:36 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 29 Jul 2008 08:23:36 -0400 Subject: check_ping can't interpret output In-Reply-To: <2AA5D723-630F-431A-9E33-432254DB3998@ena.com> References: <488EAB4C.6020700@us.thalesgroup.com> <2AA5D723-630F-431A-9E33-432254DB3998@ena.com> Message-ID: <488F0BC8.1020404@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 29/07/08 08:09 AM, Marc Powell wrote: > On Jul 29, 2008, at 12:31 AM, Dave Close wrote: > >> # su - apache -c "/usr/lib/nagios/plugins/check_ping -H machine -w >> 3000.0,80% -c 5000.0,100% -p 1" >> /bin/ping -n -U -w 10 -c 1 machine >> CRITICAL - Could not interpret output from ping command >> > > Beyond Hugo's comments about running as the user nagios, this would > seem to indicate that /bin/ping is not SUID root. Is it? If not, chmod > u+s /bin/ping. You can also use check_icmp (that plugin will have to be setuid root), which should be a bit faster since it does not rely on ping. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIjwvI6dZ+Kt5BchYRAuvyAKDAG7lwkb6nprdI5OLOUlJGYRTdowCghkS1 /AvYLZxwLFyBwcoph8qHlWs= =J7tS -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dave.Close at us.thalesgroup.com Tue Jul 29 18:42:10 2008 From: Dave.Close at us.thalesgroup.com (CLOSE Dave) Date: Tue, 29 Jul 2008 09:42:10 -0700 Subject: check_ping can't interpret output In-Reply-To: <488EB3B0.8020100@vanderkooij.org> References: <488EAB4C.6020700@us.thalesgroup.com> <488EB3B0.8020100@vanderkooij.org> Message-ID: <7D03842EB7CCE84BA936F0A26C500A1256D732@taus-ies3.dom1.taus.us.thales> Hugo van der Kooij wrote: > Hmm. Please read the various comments on the lifespan of fedora releases > on this and other mailinglists. Is this what you want in a corporate > environment? Totally irrelevant. > I am a bit puzzled. Plugins are run as nagios user and not as apache > user so why test as apache user. Unless your nagios setup deviates quite > a bit in this regard bt I find that rather unlikely at this momemt. Yes, my error. However, running as user nagios behaved exactly the same as user apache. Marc Powell wrote: > Beyond Hugo's comments about running as the user nagios, this would > seem to indicate that /bin/ping is not SUID root. Is it? If > not, chmod u+s /bin/ping. Bingo! That was the problem. Thanks. Dave Close ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Tue Jul 29 18:49:03 2008 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 29 Jul 2008 12:49:03 -0400 Subject: check_smartmon - IndexError: list index out of range Message-ID: Hello, I'm testing the Nagios-Plugin check_smartmon that uses smartmontools. I'm getting a IndexError: list index out of range. I made sure all paths were correct. Any inputs? This the output when running the plugin: [root@ plugins]# ./check_smartmon -d /dev/VolGroup00/LogVol00 -v 3 Get device name Device: /dev/VolGroup00/LogVol00 Check device Check if /dev/VolGroup00/LogVol00 does exist and can be read Check if /usr/sbin/smartctl does exist and can be read Path to smartctl: /usr/sbin/smartctl Call smartctl Get device health status: /usr/sbin/smartctl -H /dev/VolGroup00/LogVol00 Get device temperature: /usr/sbin/smartctl -A /dev/VolGroup00/LogVol00 Parse smartctl output Traceback (most recent call last): File "./check_smartmon", line 254, in ? (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput) File "./check_smartmon", line 163, in parseOutput healthStatus = parts[-1] IndexError: list index out of range ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 29 19:33:36 2008 From: marc at ena.com (Marc Powell) Date: Tue, 29 Jul 2008 12:33:36 -0500 Subject: check_smartmon - IndexError: list index out of range References: Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jake Solid > Sent: Tuesday, July 29, 2008 11:49 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_smartmon - IndexError: list index out of > range > > Hello, > > I'm testing the Nagios-Plugin check_smartmon that uses smartmontools. > I'm getting a IndexError: list index out of range. I made sure all > paths were correct. > > Any inputs? > > This the output when running the plugin: > > [root@ plugins]# ./check_smartmon -d /dev/VolGroup00/LogVol00 -v 3 > Get device name > Device: /dev/VolGroup00/LogVol00 I admit to only a passing familiarity with check_smartmon but wouldn't you need to specify the physical disk (i.e. /dev/sda) and not a virtual partition on the disk? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Tue Jul 29 19:51:41 2008 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 29 Jul 2008 13:51:41 -0400 Subject: check_smartmon - IndexError: list index out of range In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> Message-ID: This is what I have on my /etc/fstab /dev/VolGroup00/LogVol02 / ext3 defaults,noatime 1 1 /dev/md2 /boot ext3 defaults,noatime 1 2 devpts /dev/pts devpts gid=5,mode=620 0 0 tmpfs /dev/shm tmpfs defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 /dev/VolGroup00/LogVol00 /tmp ext3 defaults,noatime 1 2 /dev/VolGroup00/LogVol01 /var ext3 defaults,noatime 1 2 /dev/VolGroup01/LogVol00 /vservers ext3 defaults,noatime 1 2 /dev/md0 swap swap defaults 0 0 I tried some of the divices listed here and all of them show the same IndexError: list index out of range message. On Tue, Jul 29, 2008 at 1:33 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 Jake Solid >> Sent: Tuesday, July 29, 2008 11:49 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] check_smartmon - IndexError: list index out of >> range >> >> Hello, >> >> I'm testing the Nagios-Plugin check_smartmon that uses smartmontools. >> I'm getting a IndexError: list index out of range. I made sure all >> paths were correct. >> >> Any inputs? >> >> This the output when running the plugin: >> >> [root@ plugins]# ./check_smartmon -d /dev/VolGroup00/LogVol00 -v 3 >> Get device name >> Device: /dev/VolGroup00/LogVol00 > > I admit to only a passing familiarity with check_smartmon but wouldn't > you need to specify the physical disk (i.e. /dev/sda) and not a virtual > partition on the disk? > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 29 20:02:56 2008 From: marc at ena.com (Marc Powell) Date: Tue, 29 Jul 2008 13:02:56 -0500 Subject: check_smartmon - IndexError: list index out ofrange References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jake Solid > Sent: Tuesday, July 29, 2008 12:52 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_smartmon - IndexError: list index out > ofrange > > I tried some of the divices listed here and all of them show the same > IndexError: list index out of range message. All are logical or virtual volumes. Run the command 'pvscan'. It should return results such as -- pvscan -- ACTIVE PV "/dev/sda5" of VG "Volume00" [132.38 GB / 0 free] This tells me that the partition 5 of the disk /dev/sda is part of Volume00. I would expect to use /dev/sda as the device for check_smartmon. They should be /dev/sd* or /dev/hd*. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jra at baylink.com Tue Jul 29 20:26:26 2008 From: jra at baylink.com (Jay R. Ashworth) Date: Tue, 29 Jul 2008 14:26:26 -0400 Subject: Notification using notify-html-email.sh In-Reply-To: <0562C67F-F308-4898-82BC-96D439C58EC4@ena.com> References: <488A014E.6080003@vanderkooij.org> <0562C67F-F308-4898-82BC-96D439C58EC4@ena.com> Message-ID: <20080729182626.GK19982@cgi.jachomes.com> On Fri, Jul 25, 2008 at 12:09:17PM -0500, Marc Powell wrote: > On Jul 25, 2008, at 11:40 AM, Jonathan Williams wrote: > > Didn't think it mattered. I changed the subject, and did not include > > any of the previous text. Lesson learned. > > http://thread.gmane.org/gmane.network.nagios.user/55932 is an example > of why it matters. Threaded mail clients do the same. Your question is > now forever associated with the original as if it were part of it. Not for readers on gmail, alas. 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. -- (Josef Stalin) ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Tue Jul 29 21:45:32 2008 From: richardsolid at gmail.com (Jake Solid) Date: Tue, 29 Jul 2008 15:45:32 -0400 Subject: check_smartmon - IndexError: list index out ofrange In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> Message-ID: Using the devices doesnt work. Do I need a patch for thise plugin? [root@ ~]# pvscan PV /dev/md3 VG VolGroup01 lvm2 [232.88 GB / 45.38 GB free] PV /dev/md1 VG VolGroup00 lvm2 [215.19 GB / 26.19 GB free] Total: 2 [448.06 GB] / in use: 2 [448.06 GB] / in no VG: 0 [0 ] [root at vhost3 plugins]# ./check_smartmon -d /dev/md1 -v 3 Get device name Device: /dev/md1 Check device Check if /dev/md1 does exist and can be read Check if /usr/sbin/smartctl does exist and can be read Path to smartctl: /usr/sbin/smartctl Call smartctl Get device health status: /usr/sbin/smartctl -H /dev/md1 Get device temperature: /usr/sbin/smartctl -A /dev/md1 Parse smartctl output Traceback (most recent call last): File "./check_smartmon", line 254, in ? (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput) File "./check_smartmon", line 163, in parseOutput healthStatus = parts[-1] IndexError: list index out of range [root at vhost3 plugins]# ./check_smartmon -d /dev/md3 -v 3 Get device name Device: /dev/md3 Check device Check if /dev/md3 does exist and can be read Check if /usr/sbin/smartctl does exist and can be read Path to smartctl: /usr/sbin/smartctl Call smartctl Get device health status: /usr/sbin/smartctl -H /dev/md3 Get device temperature: /usr/sbin/smartctl -A /dev/md3 Parse smartctl output Traceback (most recent call last): File "./check_smartmon", line 254, in ? (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput) File "./check_smartmon", line 163, in parseOutput healthStatus = parts[-1] IndexError: list index out of range On Tue, Jul 29, 2008 at 2:02 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 Jake Solid >> Sent: Tuesday, July 29, 2008 12:52 PM >> To: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] check_smartmon - IndexError: list index > out >> ofrange >> > > >> I tried some of the divices listed here and all of them show the same >> IndexError: list index out of range message. > > All are logical or virtual volumes. > > Run the command 'pvscan'. It should return results such as -- > > pvscan -- ACTIVE PV "/dev/sda5" of VG "Volume00" [132.38 GB / 0 free] > > This tells me that the partition 5 of the disk /dev/sda is part of > Volume00. I would expect to use /dev/sda as the device for > check_smartmon. > > They should be /dev/sd* or /dev/hd*. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Jul 29 22:27:19 2008 From: marc at ena.com (Marc Powell) Date: Tue, 29 Jul 2008 15:27:19 -0500 Subject: check_smartmon - IndexError: list index out ofrange In-Reply-To: References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> Message-ID: <4733E3AB-E518-4EFA-A8EA-456BEAA4BFD1@ena.com> On Jul 29, 2008, at 2:45 PM, Jake Solid wrote: > Using the devices doesnt work. Do I need a patch for thise plugin? > > [root@ ~]# pvscan > PV /dev/md3 VG VolGroup01 lvm2 [232.88 GB / 45.38 GB free] > PV /dev/md1 VG VolGroup00 lvm2 [215.19 GB / 26.19 GB free] > Total: 2 [448.06 GB] / in use: 2 [448.06 GB] / in no VG: 0 [0 ] > > On Tue, Jul 29, 2008 at 2:02 PM, Marc Powell wrote: >> They should be /dev/sd* or /dev/hd*. You're still not checking the disk devices themselves. md devices are software raid groups so /dev/md3, etc are likely to be comprised of multiple disks. Do you know the kind and number of disks that you have installed in this machine? 'cat /proc/mdstat'. That should show you the drive partitions that make up the md devices. Again, look for 'sda, sdb, etc' or 'hda, hdb, etc'. You could always just try running 'check_smartmon -d /dev/hda -v 3' or 'check_smartmon -d /dev/sda -v 3' to see if it's even going to work. One of those is going to exist at a minimum. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.ammon at utah.edu Wed Jul 30 09:05:21 2008 From: tom.ammon at utah.edu (Tom Ammon) Date: Wed, 30 Jul 2008 01:05:21 -0600 Subject: distributed monitoring host checking question Message-ID: <489012B1.9060301@utah.edu> Hi, I am working on setting up a distributed monitoring system with Nagios (actually Groundwork). I have 3 child servers and 1 parent server, using NSCA to send passive check results from the children to the parent server. My question is about how Nagios (version 2.5) will behave when an on demand host check needs to be run. So for example: Host A is configured with check_host_alive ( a simple ping ) as its host check command on the parent server. It is also configured with Service A, say an SNMP check. Active host checks are not disabled on the parent server, but active service checks are. Host A, obviously, is also configured on the child server. When the child server sends a passive check result up to the parent saying that the SNMP check has failed, will the parent server then run the on-demand host check command to verify that Host A is still up? If not, how do I get that information up to the parent? Are passive host checks my only option? So I guess the question is this: In a distributed monitoring setup, will a parent server run an on-demand host check for a host that gets a report (via a passive service check sent from a child server) of a service being critical? Thanks, Tom -- ------------------------------------- Tom Ammon Network Engineer Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Jul 30 11:20:53 2008 From: ian at acces.co.jp (Ian Masters) Date: Wed, 30 Jul 2008 18:20:53 +0900 Subject: Mailing List archive search function Message-ID: <48903275.4030402@acces.co.jp> Hello The mailing list archive search function does not appear to be working. Even searching for 'Nagios ' produces no results. Puzzled Ian Masters ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 30 14:19:17 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Jul 2008 07:19:17 -0500 Subject: Mailing List archive search function In-Reply-To: <48903275.4030402@acces.co.jp> References: <48903275.4030402@acces.co.jp> Message-ID: On Jul 30, 2008, at 4:20 AM, Ian Masters wrote: > Hello > > The mailing list archive search function does not appear to be > working. > Even searching for 'Nagios ' produces no results. Which archives are you using? The archives linked off the support page (at gmane) are working correctly -- Searched gmane.gmane.network.nagios.user for nagios Around 110 matching articles. Results 1-10. 58,556,716 articles searched in 0.996596 seconds. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Wed Jul 30 15:35:30 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Wed, 30 Jul 2008 19:05:30 +0530 Subject: unable to install nagios-plug ins on HP UX Message-ID: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> Hi, I set up nagios server on Red Hat Linux box and trying to make HP UX as nagios client to it. I'm trying to install nagios-plugins (nagios-plugins-1.4.11) on HP UX - PA RISC and found some problems. After untar nagios-plugin and then execute ./configure --prefix=/usr/local/nagios checking for working re_compile_pattern... no checking whether isblank is declared... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... (((1UL << 31) - 1) * 2 + 1) checking for snprintf... yes checking for socklen_t... no checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t bash-3.2# tail -f config.log #define regcomp rpl_regcomp #define regexec rpl_regexec #define regerror rpl_regerror #define regfree rpl_regfree #define HAVE_DECL_ISBLANK 1 #define HAVE_STDINT_H 1 #define SIZE_MAX (((1UL << 31) - 1) * 2 + 1) #define HAVE_SNPRINTF 1 configure: exit 1 can you please let us know how we can fix this? Thanks -- shankar -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Tarak.Patel at ec.gc.ca Wed Jul 30 15:40:10 2008 From: Tarak.Patel at ec.gc.ca (Tarak Patel) Date: Wed, 30 Jul 2008 13:40:10 +0000 Subject: HTML in status.cgi (Status information) Message-ID: <48906F3A.6020006@ec.gc.ca> Hi all, If I remember correctly status.cgi allowed for HTML code to be inserted in the plugin output as well as the column for "Status Information" when looking at service detail. Is it no longer available? At the moment I have nagios 3.0.2 running and HTML is not being interpreted correctly. Regards, TP ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trice at cisco.com Wed Jul 30 15:42:44 2008 From: trice at cisco.com (Tony Rice (trice)) Date: Wed, 30 Jul 2008 09:42:44 -0400 Subject: Viewing nagios from an iPhone Message-ID: Anyone know of an iPhone optimized view into nagios? Either a cgi or iphone/ipod touch app? I've seen inagios.com but my nagios server sits behind a firewall so it wont work with that site. ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 30 15:52:05 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Jul 2008 08:52:05 -0500 Subject: unable to install nagios-plug ins on HP UX In-Reply-To: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> References: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> Message-ID: On Jul 30, 2008, at 8:35 AM, asam30 at gmail.com wrote: > Hi, > > I set up nagios server on Red Hat Linux box and trying to make HP UX > as nagios client to it. I'm trying to install nagios-plugins (nagios- > plugins-1.4.11) on HP UX - PA RISC and found some problems. After > untar nagios-plugin and then execute > Pre-compiled binaries of the plugins, NSCA and NRPE are available for various versions of HP-UX if that interests you -- http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Check_Plugins%2FOperating_Systems%2FHP-UX%2Findex.html;d=1 -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thenoob06 at gmail.com Wed Jul 30 16:13:16 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed, 30 Jul 2008 16:13:16 +0200 Subject: problem with check_snmp_storage.pl Message-ID: <9263743c0807300713s3362c240o70f88cf6ed7fa564@mail.gmail.com> Hello all, I have a problem with check_snmp_storage.pl, it works in command line but not in Nagios : ./check_snmp_storage.pl -H 192.168.5.6 -C public -m /var -w 80 -c 90 /var: 1%used(4MB/496MB) (<80%) : OK My config : define command{ command_name check_snmp_disk command_line /usr/bin/perl $USER1$/check_snmp_storage.pl -H $HOSTADDRESS$ -C $USER4$ -m $ARG3$ -w $ARG1$ -c $ARG2$ } My service with the check_command: check_command check_snmp_disk!80!90!/var Rights: -rwxr-xr-x 1 nagios nagios 25484 Jul 17 15:45 check_snmp_storage.pl Thanks for your help. BR The Noob -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Wed Jul 30 16:22:55 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Wed, 30 Jul 2008 19:52:55 +0530 Subject: unable to install nagios-plug ins on HP UX In-Reply-To: References: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> Message-ID: <25251aec0807300722s46c71ecfka31d0bfcc21af2e1@mail.gmail.com> Marc, will this work for HP UX PA RISC and the release HP UX 11.23.? Do you have any procedure how to install this? Sorry for asking this since I always configure and compile sources prior to the pre compiled ones. appreciate your patience thanks On Wed, Jul 30, 2008 at 7:22 PM, Marc Powell wrote: > > On Jul 30, 2008, at 8:35 AM, asam30 at gmail.com wrote: > > > Hi, > > > > I set up nagios server on Red Hat Linux box and trying to make HP UX > > as nagios client to it. I'm trying to install nagios-plugins (nagios- > > plugins-1.4.11) on HP UX - PA RISC and found some problems. After > > untar nagios-plugin and then execute > > > > Pre-compiled binaries of the plugins, NSCA and NRPE are available for > various versions of HP-UX if that interests you -- > > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Check_Plugins%2FOperating_Systems%2FHP-UX%2Findex.html;d=1 > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Wed Jul 30 16:25:43 2008 From: richardsolid at gmail.com (Jake Solid) Date: Wed, 30 Jul 2008 10:25:43 -0400 Subject: check_smartmon - IndexError: list index out ofrange In-Reply-To: <4733E3AB-E518-4EFA-A8EA-456BEAA4BFD1@ena.com> References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> <4733E3AB-E518-4EFA-A8EA-456BEAA4BFD1@ena.com> Message-ID: Same error message. I tested using sdb1, sdb2, sdd1, sdb3 . Here is the output: [root@ proc]# more mdstat Personalities : [raid1] md2 : active raid1 sdb1[1] sda1[0] 104320 blocks [2/2] [UU] md0 : active raid1 sdb2[1] sda2[0] 18434496 blocks [2/2] [UU] md3 : active raid1 sdd1[1] sdc1[0] 244195904 blocks [2/2] [UU] md1 : active raid1 sdb3[1] sda3[0] 225656896 blocks [2/2] [UU] unused devices: [root@ plugins]# ./check_smartmon -d /dev/sdb1 -v 3 Get device name Device: /dev/sdb1 Check device Check if /dev/sdb1 does exist and can be read Check if /usr/sbin/smartctl does exist and can be read Path to smartctl: /usr/sbin/smartctl Call smartctl Get device health status: /usr/sbin/smartctl -H /dev/sdb1 Get device temperature: /usr/sbin/smartctl -A /dev/sdb1 Parse smartctl output Traceback (most recent call last): File "./check_smartmon", line 254, in ? (healthStatus, temperature) = parseOutput(healthStatusOutput, temperatureOutput) File "./check_smartmon", line 163, in parseOutput healthStatus = parts[-1] IndexError: list index out of range On Tue, Jul 29, 2008 at 4:27 PM, Marc Powell wrote: > > On Jul 29, 2008, at 2:45 PM, Jake Solid wrote: > >> Using the devices doesnt work. Do I need a patch for thise plugin? >> >> [root@ ~]# pvscan >> PV /dev/md3 VG VolGroup01 lvm2 [232.88 GB / 45.38 GB free] >> PV /dev/md1 VG VolGroup00 lvm2 [215.19 GB / 26.19 GB free] >> Total: 2 [448.06 GB] / in use: 2 [448.06 GB] / in no VG: 0 [0 ] >> > >> On Tue, Jul 29, 2008 at 2:02 PM, Marc Powell wrote: > >>> They should be /dev/sd* or /dev/hd*. > > You're still not checking the disk devices themselves. md devices are > software raid groups so /dev/md3, etc are likely to be comprised of > multiple disks. Do you know the kind and number of disks that you have > installed in this machine? > > 'cat /proc/mdstat'. That should show you the drive partitions that > make up the md devices. Again, look for 'sda, sdb, etc' or 'hda, hdb, > etc'. > > You could always just try running 'check_smartmon -d /dev/hda -v 3' or > 'check_smartmon -d /dev/sda -v 3' to see if it's even going to work. > One of those is going to exist at a minimum. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Wed Jul 30 17:04:14 2008 From: vmanojv at rediffmail.com (Nair) Date: 30 Jul 2008 15:04:14 -0000 Subject: Linux Disk IO Message-ID: <20080730150414.14325.qmail@f5mail-237-208.rediffmail.com> Friends, Any got Nagios Plugin for monioting Linux Disk IO for a particular volume group. I mean, something similar to iostat. :) Not sure how to use iostat to find out Disk IO for a given Volume Group. Thank you, Nair -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 30 17:19:47 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Jul 2008 10:19:47 -0500 Subject: problem with check_snmp_storage.pl In-Reply-To: <9263743c0807300713s3362c240o70f88cf6ed7fa564@mail.gmail.com> References: <9263743c0807300713s3362c240o70f88cf6ed7fa564@mail.gmail.com> Message-ID: <02A50A76-E4ED-41D9-B684-D05823D4D58F@ena.com> On Jul 30, 2008, at 9:13 AM, The Noob wrote: > Hello all, > > I have a problem with check_snmp_storage.pl, it works in command > line but not in Nagios : > ./check_snmp_storage.pl -H 192.168.5.6 -C public -m /var -w 80 -c 90 > /var: 1%used(4MB/496MB) (<80%) : OK What user did you perform this test as? nagios? If not, try as the nagios user. What does the nagios status output say about the check? That's useful information for troubleshooting. > My config : > define command{ > command_name check_snmp_disk > command_line /usr/bin/perl $USER1$/check_snmp_storage.pl - > H $HOSTADDRESS$ -C $USER4$ -m $ARG3$ -w $ARG1$ -c $ARG2$ > } Looks good assuming $USER1$ is the path to the plugin, $USER4$ really is the read community and the file they're defined in is included in nagios.cfg as a resource_file. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 30 17:20:54 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Jul 2008 10:20:54 -0500 Subject: unable to install nagios-plug ins on HP UX In-Reply-To: <25251aec0807300722s46c71ecfka31d0bfcc21af2e1@mail.gmail.com> References: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> <25251aec0807300722s46c71ecfka31d0bfcc21af2e1@mail.gmail.com> Message-ID: <9163E23F-6B0B-4E0A-A0B0-E8AF894083EA@ena.com> On Jul 30, 2008, at 9:22 AM, asam30 at gmail.com wrote: > Marc, > > will this work for HP UX PA RISC and the release HP UX 11.23.? Do > you have any procedure how to install this? > I have no idea. I don't use HP-UX and just know about their existence. I'd suggest downloading them and reading any included README or INSTALL files for that information. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From angeolivier2003 at yahoo.fr Wed Jul 30 17:30:28 2008 From: angeolivier2003 at yahoo.fr (Kermito le kermit) Date: Wed, 30 Jul 2008 15:30:28 +0000 (GMT) Subject: use of HTTPS Message-ID: <404656.63831.qm@web26103.mail.ukl.yahoo.com> hello I want to know how i want to use a plugin check_https in forum i see this: check_https= check_http -S HOST but for is not work , i read after i waht to use ssl or install openssl with the plugin of nagios and make this check_http hostIP -ssl but again is not work help please ; _____________________________________________________________________________ Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Jul 30 17:35:05 2008 From: marc at ena.com (Marc Powell) Date: Wed, 30 Jul 2008 10:35:05 -0500 Subject: check_smartmon - IndexError: list index out ofrange In-Reply-To: References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> <4733E3AB-E518-4EFA-A8EA-456BEAA4BFD1@ena.com> Message-ID: My last attempt... More below. On Jul 30, 2008, at 9:25 AM, Jake Solid wrote: > Same error message. I tested using sdb1, sdb2, sdd1, sdb3 . > > Here is the output: > > [root@ proc]# more mdstat > Personalities : [raid1] > md2 : active raid1 sdb1[1] sda1[0] > [root@ plugins]# ./check_smartmon -d /dev/sdb1 -v 3 As indicated a few different ways in previous e-mails, I expect you should use '-d /dev/sda' or '-d /dev/sdb', not '-d /dev/sdb1' since that is a specific partition on a disk, and not the disk device itself. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thenoob06 at gmail.com Wed Jul 30 17:45:22 2008 From: thenoob06 at gmail.com (The Noob) Date: Wed, 30 Jul 2008 17:45:22 +0200 Subject: problem with check_snmp_storage.pl In-Reply-To: <02A50A76-E4ED-41D9-B684-D05823D4D58F@ena.com> References: <9263743c0807300713s3362c240o70f88cf6ed7fa564@mail.gmail.com> <02A50A76-E4ED-41D9-B684-D05823D4D58F@ena.com> Message-ID: <9263743c0807300845k4b7b2819v1b3d7a818978fe82@mail.gmail.com> Hello Marc, Thanks for your help ! It was a problem with $USER4$=public. There is a tabulation after public ... I delete it and it works. Best Regards 2008/7/30 Marc Powell > > On Jul 30, 2008, at 9:13 AM, The Noob wrote: > > > Hello all, > > > > I have a problem with check_snmp_storage.pl, it works in command > > line but not in Nagios : > > ./check_snmp_storage.pl -H 192.168.5.6 -C public -m /var -w 80 -c 90 > > /var: 1%used(4MB/496MB) (<80%) : OK > > What user did you perform this test as? nagios? If not, try as the > nagios user. What does the nagios status output say about the check? > That's useful information for troubleshooting. > > > My config : > > define command{ > > command_name check_snmp_disk > > command_line /usr/bin/perl $USER1$/check_snmp_storage.pl - > > H $HOSTADDRESS$ -C $USER4$ -m $ARG3$ -w $ARG1$ -c $ARG2$ > > } > > Looks good assuming $USER1$ is the path to the plugin, $USER4$ really > is the read community and the file they're defined in is included in > nagios.cfg as a resource_file. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Wed Jul 30 17:46:11 2008 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Wed, 30 Jul 2008 11:46:11 -0400 Subject: unable to install nagios-plug ins on HP UX In-Reply-To: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> References: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> Message-ID: Hi there - The solution that I have used, admittedly it is more of a workaround than a fix, is to install the precompiled packages that are available for the HP-UX operating system. The URL for the packages is the following: http://www.bennyvision.com/projects/nagios/index.php Hope that helps. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of asam30 at gmail.com Sent: Wednesday, July 30, 2008 9:36 AM To: nagios Mailinglist Subject: [Nagios-users] unable to install nagios-plug ins on HP UX Hi, I set up nagios server on Red Hat Linux box and trying to make HP UX as nagios client to it. I'm trying to install nagios-plugins (nagios-plugins-1.4.11) on HP UX - PA RISC and found some problems. After untar nagios-plugin and then execute ./configure --prefix=/usr/local/nagios checking for working re_compile_pattern... no checking whether isblank is declared... yes checking for stdint.h... (cached) yes checking for SIZE_MAX... (((1UL << 31) - 1) * 2 + 1) checking for snprintf... yes checking for socklen_t... no checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t bash-3.2# tail -f config.log #define regcomp rpl_regcomp #define regexec rpl_regexec #define regerror rpl_regerror #define regfree rpl_regfree #define HAVE_DECL_ISBLANK 1 #define HAVE_STDINT_H 1 #define SIZE_MAX (((1UL << 31) - 1) * 2 + 1) #define HAVE_SNPRINTF 1 configure: exit 1 can you please let us know how we can fix this? Thanks -- shankar 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 -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyle.odonnell at gmail.com Wed Jul 30 19:33:18 2008 From: kyle.odonnell at gmail.com (kyle.odonnell at gmail.com) Date: Wed, 30 Jul 2008 13:33:18 -0400 Subject: unable to install nagios-plug ins on HP UX In-Reply-To: References: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> Message-ID: <2274b9c30807301033r61cab7c0of8a585f6db38d033@mail.gmail.com> I compiled the hpux10.20/11.00 nrpe/nsca/nagios-plugins binaries available on the nagios exchange. The were compiled with parisc v1.1 (compat with 2.0). They work in 11.11 too. I don't have any 11.23 boxes around, but if you want my config.log from the 11.00 boxes let me know. On 7/30/08, Kaplan, Andrew H. wrote: > Hi there - > > > > The solution that I have used, admittedly it is more of a workaround than a > fix, > is to install the precompiled packages > > that are available for the HP-UX operating system. The URL for the packages > is > the following: > > > > http://www.bennyvision.com/projects/nagios/index.php > > > > Hope that helps. > > > > ________________________________ > > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of > asam30 at gmail.com > Sent: Wednesday, July 30, 2008 9:36 AM > To: nagios Mailinglist > Subject: [Nagios-users] unable to install nagios-plug ins on HP UX > > > > Hi, > > > > I set up nagios server on Red Hat Linux box and trying to make HP UX as > nagios > client to it. I'm trying to install nagios-plugins (nagios-plugins-1.4.11) > on HP > UX - PA RISC and found some problems. After untar nagios-plugin and then > execute > > > > ./configure --prefix=/usr/local/nagios > > > > > checking for working re_compile_pattern... no > checking whether isblank is declared... yes > checking for stdint.h... (cached) yes > checking for SIZE_MAX... (((1UL << 31) - 1) * 2 + 1) > checking for snprintf... yes > checking for socklen_t... no > checking for socklen_t equivalent... configure: error: Cannot find a type to > use > in place of socklen_t > > bash-3.2# tail -f config.log > #define regcomp rpl_regcomp > #define regexec rpl_regexec > #define regerror rpl_regerror > #define regfree rpl_regfree > #define HAVE_DECL_ISBLANK 1 > #define HAVE_STDINT_H 1 > #define SIZE_MAX (((1UL << 31) - 1) * 2 + 1) > #define HAVE_SNPRINTF 1 > > configure: exit 1 > > can you please let us know how we can fix this? > > > > Thanks > > > > > -- > shankar > > > 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. > > > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jlwicker at us.ibm.com Wed Jul 30 21:33:56 2008 From: jlwicker at us.ibm.com (Jennifer L Wicker) Date: Wed, 30 Jul 2008 15:33:56 -0400 Subject: Nagios and AIX compatibility question Message-ID: Does anyone know for certain if Nagios is compatible running on AIX 6.1? We currently have Nagios 2.8 on AIX 5.3 wtih no issues - thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From babernathy at money-media.com Wed Jul 30 22:14:23 2008 From: babernathy at money-media.com (Barbara Abernathy) Date: Wed, 30 Jul 2008 16:14:23 -0400 Subject: Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) Message-ID: <4785288FFF93024A937F404009C1929A05396DBC@quimby.money-media.com> Does anyone have the foggiest as to what this really means. Is it a disk space thing or purely a MySQL functionality thing. I just need a pointer to get me going in the right direction. ThxAll ------------------------------------------------------------------------ ------------------------------------------------------------------------ ---------------------------------- Current Status: CRITICAL (for 20d 0h 27m 18s) (Has been acknowledged) Status Information:Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) Performance Data: Current Attempt:3/3 (HARD state) Last Check Time:07-30-2008 15:59:46 Check Type:ACTIVE Check Latency / Duration:0.224 / 0.040 seconds Next Scheduled Check: 07-30-2008 16:09:46 Last State Change:07-10-2008 15:41:46 Last Notification:07-14-2008 07:45:55 (notification 87) Is This Service Flapping? NO (0.00% state change) In Scheduled Downtime? NO Last Update:07-30-2008 16:08:55 ( 0d 0h 0m 9s ago) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Wed Jul 30 22:14:56 2008 From: richardsolid at gmail.com (Jake Solid) Date: Wed, 30 Jul 2008 16:14:56 -0400 Subject: check_smartmon - IndexError: list index out ofrange In-Reply-To: References: <5A4AE2E1A3A86C4DA672C6ED903343EF01232D@misex03.ena.com> <5A4AE2E1A3A86C4DA672C6ED903343EF01232E@misex03.ena.com> <4733E3AB-E518-4EFA-A8EA-456BEAA4BFD1@ena.com> Message-ID: I have tried all devices and still get the same error. This is the list of devices I also get from the /proc/diskstats 8 0 sda 25734471 16602821 1339905462 54354327 36018237 36524677 652113254 274984492 0 160612328 329502850 8 1 sda1 120903 7083070 18598 56558 8 2 sda2 1907458 15256829 4964528 39716224 8 3 sda3 40329953 1317565059 67589119 540712952 8 16 sdb 25722132 16706560 1343758934 54666871 36005484 36537227 652113254 305156743 0 161636686 359918726 8 17 sdb1 118130 6980908 18598 56558 8 18 sdb2 1909458 15272829 4964528 39716224 8 19 sdb3 40421862 1321504693 67589119 540712952 8 32 sdc 103143421 58436289 6265866314 369891692 1094774888 9800463910 87446851840 3608291566 0 3654056035 3980408429 8 33 sdc1 161602126 1970898506 2305878568 1267159360 8 48 sdd 100633389 57176799 6123123524 423999064 1094595052 9800655254 87446851840 1018639266 0 3474247903 1443740264 8 49 sdd1 157833088 1828155724 2305878568 1267159360 9 1 md1 80751227 0 2639069150 0 58671609 0 469372872 0 0 0 0 9 3 md3 319434916 0 12388988218 0 10860769840 0 86886158720 0 0 0 0 9 0 md0 3816104 0 30528832 0 4931824 0 39454592 0 0 0 0 9 2 md2 238621 0 14063142 0 15372 0 30750 0 0 0 0 253 0 dm-0 65594847 0 1744222050 176603169 25553210 0 204425680 641619548 0 71511076 818228479 253 1 dm-1 3458 0 27658 47456 441531 0 3532248 983248835 0 265318 983319188 253 2 dm-2 15152647 0 894817242 35982441 32676868 0 261414944 871216263 0 58218351 907204904 22 64 hdd 0 0 0 0 0 0 0 0 0 0 0 253 3 dm-3 319434773 0 12388987074 1393510146 10860769840 0 86886158720 3778348986 0 3762294749 897218213 On Wed, Jul 30, 2008 at 11:35 AM, Marc Powell wrote: > My last attempt... More below. > > On Jul 30, 2008, at 9:25 AM, Jake Solid wrote: > > > Same error message. I tested using sdb1, sdb2, sdd1, sdb3 . > > > > Here is the output: > > > > [root@ proc]# more mdstat > > Personalities : [raid1] > > md2 : active raid1 sdb1[1] sda1[0] > > > > [root@ plugins]# ./check_smartmon -d /dev/sdb1 -v 3 > > As indicated a few different ways in previous e-mails, I expect you > should use '-d /dev/sda' or '-d /dev/sdb', not '-d /dev/sdb1' since > that is a specific partition on a disk, and not the disk device itself. > > -- > Marc > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Jul 30 22:53:10 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 30 Jul 2008 21:53:10 +0100 Subject: Notifications sent in scheduled downtime Message-ID: <4890D4B6.1050209@mailnetwork.co.uk> Hi, I have 3 services - Director Scheduler Agent, Director Storage Agent, and Director Client Agent. I had to upgrade these 3 services, so I scheduled fixed downtime for an hour on the scheduler agent, and fixed downtime on the storage and client agent setting "triggered by" to the downtime record of the scheduler. However, the storage and client agent still keep sending out notifications even though they are in downtime. Also, there is no "downtime" (Zzzz) icon next to the storage and client agent in the Services Overview. In the service details, it shows the downtime record as a comment, but says "in scheduled downtime" is NO: In Scheduled Downtime? NO This is my scheduled downtime grid for services: Sydney Director Storage Agent 30-07-2008 21:09:55 sysadmin Director is being upgraded 30-07-2008 21:09:38 30-07-2008 22:09:38 Fixed 0d 1h 0m 0s 18 20 Sydney Director Client Agent 30-07-2008 21:10:37 sysadmin Director is being upgraded 30-07-2008 21:10:30 30-07-2008 22:10:30 Fixed 0d 1h 0m 0s 19 20 Sydney Director Scheduler Agent 30-07-2008 21:10:55 sysadmin Director is being upgraded 30-07-2008 21:10:47 30-07-2008 22:10:47 Fixed 0d 1h 0m 0s 20 N/A The scheduler agent says "In Scheduled Downtime? YES " but the other 2 are not, even though the times are virtually the same. Is this a bug? Thanks, Andy Shellam ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spribyl at peel.com Wed Jul 30 22:58:08 2008 From: spribyl at peel.com (Steve Pribyl) Date: Wed, 30 Jul 2008 15:58:08 -0500 Subject: Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) In-Reply-To: <4785288FFF93024A937F404009C1929A05396DBC@quimby.money-media.com> References: <4785288FFF93024A937F404009C1929A05396DBC@quimby.money-media.com> Message-ID: <4890D5E0.9020103@peel.com> No Seconds Behind Master: (null) the Slave has failed for some reason and is no longer replicating. Steve Pribyl On 07/30/2008 03:14 PM, Barbara Abernathy wrote: > Does anyone have the foggiest as to what this really means. Is it a disk > space thing or purely a MySQL functionality thing. I just need a pointer > to get me going in the right direction. ThxAll > > > > ------------------------------------------------------------------------ > ------------------------------------------------------------------------ > ---------------------------------- > > > > > > Current Status: > > CRITICAL > > (for 20d 0h 27m 18s) (Has been acknowledged) Status Information:Slave > IO: Yes Slave SQL: No Seconds Behind Master: (null) Performance Data: > Current Attempt:3/3 (HARD state) Last Check Time:07-30-2008 15:59:46 > Check Type:ACTIVE Check Latency / Duration:0.224 / 0.040 seconds Next > Scheduled Check: 07-30-2008 16:09:46 Last State Change:07-10-2008 > 15:41:46 Last Notification:07-14-2008 07:45:55 (notification 87) Is This > Service Flapping? > > NO > > (0.00% state change) In Scheduled Downtime? > > NO > > Last Update:07-30-2008 16:08:55 ( 0d 0h 0m 9s ago) > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy.shellam-lists at mailnetwork.co.uk Wed Jul 30 22:58:50 2008 From: andy.shellam-lists at mailnetwork.co.uk (Andy Shellam) Date: Wed, 30 Jul 2008 21:58:50 +0100 Subject: Notifications sent in scheduled downtime In-Reply-To: <4890D4B6.1050209@mailnetwork.co.uk> References: <4890D4B6.1050209@mailnetwork.co.uk> Message-ID: <4890D60A.9090200@mailnetwork.co.uk> Forgot to mention this is Nagios 3.0.3 running on Debian 4.0. Thanks, Andy Andy Shellam wrote: > Hi, > > I have 3 services - Director Scheduler Agent, Director Storage Agent, > and Director Client Agent. I had to upgrade these 3 services, so I > scheduled fixed downtime for an hour on the scheduler agent, and fixed > downtime on the storage and client agent setting "triggered by" to the > downtime record of the scheduler. > > However, the storage and client agent still keep sending out > notifications even though they are in downtime. Also, there is no > "downtime" (Zzzz) icon next to the storage and client agent in the > Services Overview. In the service details, it shows the downtime record > as a comment, but says "in scheduled downtime" is NO: > > In Scheduled Downtime? NO > > This is my scheduled downtime grid for services: > > Sydney > > Director Storage Agent > > 30-07-2008 21:09:55 sysadmin Director is being upgraded 30-07-2008 > 21:09:38 30-07-2008 22:09:38 Fixed 0d 1h 0m 0s 18 20 > > > Sydney > > Director Client Agent > > 30-07-2008 21:10:37 sysadmin Director is being upgraded 30-07-2008 > 21:10:30 30-07-2008 22:10:30 Fixed 0d 1h 0m 0s 19 20 > > > Sydney > > Director Scheduler Agent > > 30-07-2008 21:10:55 sysadmin Director is being upgraded 30-07-2008 > 21:10:47 30-07-2008 22:10:47 Fixed 0d 1h 0m 0s 20 N/A > > > > > The scheduler agent says "In Scheduled Downtime? YES " but the other 2 > are not, even though the times are virtually the same. > > Is this a bug? > > Thanks, > > Andy Shellam > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jailbait at gmail.com Thu Jul 31 01:36:06 2008 From: jailbait at gmail.com (JB Segal) Date: Wed, 30 Jul 2008 19:36:06 -0400 Subject: contrib/check_snmp_disk_monitor.pl Message-ID: <916aba350807301636q47e6c909yab84b715eb0ac485@mail.gmail.com> I'm setting up a new n3 install from an existing n2 install. The previous system used check_snmp_disk_monitor, a compiled binary that uses the wrong libnetsnmp.so version for the new machine.If anyone can point me at the source for that, we might be able to stop right here. In the meantime, I'm trying to get contrib/check_snmp_disk_monitor.pl working, however, it's just timing out, where snmpwalk to the same host works just fine. Has anyone seen this situation and gotten through it? My VERY limited attempt to step through the script with perl -d hasn't shed any light. (New machine: centos4/x86_64, if it matters) Thanks, JB ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Thu Jul 31 02:20:35 2008 From: ian at acces.co.jp (Ian Masters) Date: Thu, 31 Jul 2008 09:20:35 +0900 Subject: Mailing List archive search function In-Reply-To: References: Message-ID: <48910553.7070403@acces.co.jp> > Which archives are you using? The archives linked off the support page (at gmane) are working correctly -- I was using the archives at Sourceforge, where the list is hosted > Searched gmane.gmane.network.nagios.user for nagios Around 110 matching articles. Results 1-10. 58,556,716 articles searched in 0.996596 seconds. OK, thanks, I guess I'll have to use that. Ian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Jul 31 06:28:43 2008 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 31 Jul 2008 00:28:43 -0400 Subject: use of HTTPS In-Reply-To: <404656.63831.qm@web26103.mail.ukl.yahoo.com> References: <404656.63831.qm@web26103.mail.ukl.yahoo.com> Message-ID: <48913F7B.90703@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 30/07/08 11:30 AM, Kermito le kermit wrote: > > hello > > I want to know how i want to use a plugin check_https in forum i see this: > > > check_https= check_http -S HOST > > but for is not work , i read after i waht to use ssl or install openssl > with the plugin of nagios and make this > > check_http hostIP -ssl > > but again is not work Use "check-http --help" from the command line for usage information. Withing Nagios you should give the full path to the plugin (you might be using a $USERn$ macro for plugin path though which is of if the path defined properly in resources.cfg). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIkT976dZ+Kt5BchYRAkzTAJwKrzIZE4Ol4Az7LvY6RU3H+nOCLgCeK18X brsJpjTjaxy+2W4N9igyVO4= =uKTD -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asam30 at gmail.com Thu Jul 31 08:57:31 2008 From: asam30 at gmail.com (asam30 at gmail.com) Date: Thu, 31 Jul 2008 12:27:31 +0530 Subject: unable to install nagios-plug ins on HP UX In-Reply-To: References: <25251aec0807300635q552584d8t71a36de15e2b6c89@mail.gmail.com> Message-ID: <25251aec0807302357l506fe4e0v29ff926c6f7940c8@mail.gmail.com> I have installed precompiled plugins from the link marc gave me and it work as it should thank you all for your support On Wed, Jul 30, 2008 at 7:22 PM, Marc Powell wrote: > > On Jul 30, 2008, at 8:35 AM, asam30 at gmail.com wrote: > > > Hi, > > > > I set up nagios server on Red Hat Linux box and trying to make HP UX > > as nagios client to it. I'm trying to install nagios-plugins (nagios- > > plugins-1.4.11) on HP UX - PA RISC and found some problems. After > > untar nagios-plugin and then execute > > > > Pre-compiled binaries of the plugins, NSCA and NRPE are available for > various versions of HP-UX if that interests you -- > > > http://www.nagiosexchange.org/cgi-bin/page.cgi?g=Check_Plugins%2FOperating_Systems%2FHP-UX%2Findex.html;d=1 > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Shankar Asam -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Thu Jul 31 11:09:23 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 31 Jul 2008 09:09:23 +0000 Subject: compliing the extinfo.c Message-ID: <200807310909.23831.assaf.flatto@ssp.uk.com> Hello I want to add a custom header to my extinfo.cgi display . that when ever i look in to a problem , in the header is can see whom is the main contact person for the server/service problem . I know i need to recompile the extinfo.c and add the functionality to my existing build , however i am not a C programmer and don't want to muck about in things i have no understanding since that is a good way for a disaster . Has anyone ever done anything like that ? or can guide me on how to do that ? Thanks Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Jul 31 11:30:58 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Jul 2008 10:30:58 +0100 Subject: Linux Disk IO In-Reply-To: <20080730150414.14325.qmail@f5mail-237-208.rediffmail.com> References: <20080730150414.14325.qmail@f5mail-237-208.rediffmail.com> Message-ID: <48918652.4050207@googlemail.com> Nair wrote: > > Friends, > > Any got Nagios Plugin for monioting Linux Disk IO for a particular > volume group. > > I mean, something similar to iostat. :) Not sure how to use iostat to > find out Disk IO for a given Volume Group. > Have you searched nagiosexchange.org? If there is no check_iostat or similar, it should be simple to write a wrapper around iostat to check this. I use iostat quite a lot in fact, especially on my heavier used servers so this is quite interesting to me. Let me know how you get along. If there is nothing very good right now, I may put this on my (very long) todo list for writing this plugin. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Mccullagh at xb.nl Thu Jul 31 13:40:30 2008 From: Shaun.Mccullagh at xb.nl (Shaun Mccullagh) Date: Thu, 31 Jul 2008 13:40:30 +0200 Subject: Introducing a delay between checks in a Host Check (v2.11) Message-ID: Hi, May I start off by thanking everyone who has contributed to nagios over the years. I'm newbie to Nagios. Our host checks consist of a simple check_ping command to make sure they are reachable. I've set Max check attempts to 3. The problem is I need to introduce 5 minute delay between each retry attempt. Is it possible to this in a Host check? If so what is the best way? Thx Shaun Op dit e-mailbericht is een disclaimer van toepassing, welke te vinden is op http://www.xb.nl/disclaimer.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Jul 31 14:40:36 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 31 Jul 2008 08:40:36 -0400 Subject: Introducing a delay between checks in a Host Check (v2.11) In-Reply-To: References: Message-ID: <4891B2C4.2010801@collaborativefusion.com> Shaun Mccullagh wrote: > Hi, > > May I start off by thanking everyone who has contributed to nagios over > the years. > > I'm newbie to Nagios. Our host checks consist of a simple check_ping > command to make sure they are reachable. > > I've set Max check attempts to 3. The problem is I need to introduce 5 > minute delay between each retry attempt. > > Is it possible to this in a Host check? If so what is the best way? > > Thx > > Shaun > You'll want to use the retry_interval directive in your host definition or template. From http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host: This directive is used to define the number of "time units" to wait before scheduling a re-check of the hosts. Hosts are rescheduled at the retry interval when they have changed to a non-UP state. Once the host has been retried max_check_attempts times without a change in its status, it will revert to being scheduled at its "normal" rate as defined by the check_interval value. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. More information on this value can be found in the check scheduling documentation. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Thu Jul 31 14:57:33 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Thu, 31 Jul 2008 12:57:33 +0000 (GMT) Subject: nagios3 installation Message-ID: <290876.50063.qm@web26205.mail.ukl.yahoo.com> Hello when I do ./configure, I have the below messages even though I have installed glib-2.0. Could you please advise? checking for main in -liconv... yes checking for gdImagePng in -lgd (order 1)... no checking for gdImagePng in -lgd (order 2)... no checking for gdImagePng in -lgd (order 3)... no checking for gdImagePng in -lgd (order 4)... no *** GD, PNG, and/or JPEG libraries could not be located... ********* Boutell's GD library is required to compile the statusmap, trends and histogram CGIs. Get it from http://www.boutell.com/gd/, compile it, and use the --with-gd-lib and --with-gd-inc arguments to specify the locations of the GD library and include files. NOTE: In addition to the gd-devel library, you'll also need to make sure you have the png-devel and jpeg-devel libraries installed on your system. 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 GD, PNG, and JPEG libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make clean' in the Nagios distribution to clean out any old references to your previous compile. 4. Rerun the configure script. NOTE: If you can't get the configure script to recognize the GD libs on your system, get over it and move on to other things. The CGIs that use the GD libs are just a small part of the entire Nagios package. Get everything else working first and then revisit the problem. Make sure to check the nagios-users mailing list archives for possible solutions to GD library problems when you resume your troubleshooting. ******************************************************************** Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Thu Jul 31 15:18:18 2008 From: jpratt at norwich.edu (James Pratt) Date: Thu, 31 Jul 2008 09:18:18 -0400 Subject: nagios3 installation In-Reply-To: <290876.50063.qm@web26205.mail.ukl.yahoo.com> References: <290876.50063.qm@web26205.mail.ukl.yahoo.com> Message-ID: <3CB18FFE1CDC71449BCCEC0FFD983110C5851F@NUMAIL.norwich.edu> > -----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, July 31, 2008 8:58 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] nagios3 installation > > Hello > > when I do ./configure, I have the below messages even though I have installed > glib-2.0. Could you please advise? > > checking for main in -liconv... yes > checking for gdImagePng in -lgd (order 1)... no > checking for gdImagePng in -lgd (order 2)... no > checking for gdImagePng in -lgd (order 3)... no > checking for gdImagePng in -lgd (order 4)... no > > > *** GD, PNG, and/or JPEG libraries could not be located... ********* > It appears your distro is missing: GD , libjpeg, and libpng. Gd - see if a package exists for your distro, or get the source from http://www.boutell.com/gd Libjpeg - same, if not source is here: http://www.ijg.org/files/jpegsrc.v6b.tar.gz Libpng - same, or get it from: http://www.libpng.org/pub/png/libpng.html > Package glib-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `glib-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'glib-2.0' found > Package glib-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `glib-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'glib-2.0' found > Do you have glib2 installed? Again, check your distro for packaged versions, or get the source here: http://directory.fsf.org/project/glib/ regards, Jamie ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sarinyo at gmail.com Thu Jul 31 15:40:29 2008 From: sarinyo at gmail.com (Marc Torres) Date: Thu, 31 Jul 2008 15:40:29 +0200 Subject: check_period serivces using variables Message-ID: Hi all, I'm quite new to nagios and I would like to be able to configure the service check_period, to be the same as the host witch this service belongs to. I mean I've got 3 type of hosts, and I've defined the services for this 3 types of hosts. It can be thousands (even few hundreds) hosts for one host type, and I want to be able to change one hosts check_period and then ALL the servcies for that hosts get its check_period changed accordingly, but without to write explicity them. Is this possible? Heres a little scenario of what I'm trying: # template for host type 1 define host { name type1-template check_period default [...] register 0 } #host1 define host { host_name host1 [...] hostgroups type1 use type1-template } define host { host_name host2 [...] hostgroups type1 use type1-template } #template for services of type1 hosts define service { name type1-service-template hostgroup_name type1 check_period default [...] register 0 } #service for type1 hosts define service { service_description service1 [...] } What i would like is that when I change the check_period for the host1 (rewriting its template value), the check_period of all services related to this hosts, get its check_timeperiod changed accordingly without affecting the rest of the hosts. I'm absolutely lost here, the only thing that comes to my mind is to rewrite heach service and set the ckeck_timeperiod accordingly, but I don't like this way. Cheers, Marc. -- "I'm unique, just like everyone else". Read it out there ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Thu Jul 31 15:41:08 2008 From: weinerm at ccf.org (Michael Weiner) Date: Thu, 31 Jul 2008 09:41:08 -0400 Subject: Design question Message-ID: Just a general question to the nagios user audience out there. I have a situation that dictates I run two nagios instances due to the manner in which our systems are provided power. We have no true data center, and as such the servers being monitored by nagios are somewhat distributed throughout the campus. My design question comes from a recent major power outage that not only affected a slew of servers that nagios was monitoring, but nagios itself. So my thought was to provide a secondary, backup, nagios server somewhere off the power grid ? but the issue is that I don't want duplicate notifications. I would like it setup such that the second device only monitors, and will only send out alerts/notifications if and only if the primary nagios server is down. Has anyone designed a setup similar to this? Is this thinking not logical? Is there a better mouse trap? Is there any design documentation? Thanks in advance for your input! Michael Weiner ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Jul 31 15:50:01 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 31 Jul 2008 09:50:01 -0400 Subject: Design question In-Reply-To: References: Message-ID: <4891C309.7020003@collaborativefusion.com> Michael Weiner wrote: > Just a general question to the nagios user audience out there. I have > a situation that dictates I run two nagios instances due to the manner > in which our systems are provided power. We have no true data center, > and as such the servers being monitored by nagios are somewhat > distributed throughout the campus. My design question comes from a > recent major power outage that not only affected a slew of servers > that nagios was monitoring, but nagios itself. So my thought was to > provide a secondary, backup, nagios server somewhere off the power > grid ? but the issue is that I don't want duplicate notifications. I > would like it setup such that the second device only monitors, and > will only send out alerts/notifications if and only if the primary > nagios server is down. Has anyone designed a setup similar to this? Is > this thinking not logical? Is there a better mouse trap? Is there any > design documentation? > > Thanks in advance for your input! > Michael Weiner > Check out the documentation on Redundant and Failover Network Monitoring (http://nagios.sourceforge.net/docs/3_0/redundancy.html). Both examples will do what you want, but the underlying behavior is drastically different between the two so make sure you read carefully. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.hoot at itec.suny.edu Thu Jul 31 15:56:55 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Thu, 31 Jul 2008 09:56:55 -0400 Subject: Design question In-Reply-To: <4891C309.7020003@collaborativefusion.com> References: <4891C309.7020003@collaborativefusion.com> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> I've implemented both solutions here. I ran the failover model first and ran it for about 2 years. Now, I run both redundantly checking but just without notifications on the secondary. I do this so that in the event that I want to check that my performance metrics (ala rrd graphs) are seeing the same information, I cant easily just go to my secondary and check what it looks like there. But yeah... read up in the documentation because there are good examples of setting it up either way. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sean McAfee Sent: Thursday, July 31, 2008 9:50 AM To: Michael Weiner Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Design question Michael Weiner wrote: > Just a general question to the nagios user audience out there. I have > a situation that dictates I run two nagios instances due to the manner > in which our systems are provided power. We have no true data center, > and as such the servers being monitored by nagios are somewhat > distributed throughout the campus. My design question comes from a > recent major power outage that not only affected a slew of servers > that nagios was monitoring, but nagios itself. So my thought was to > provide a secondary, backup, nagios server somewhere off the power > grid - but the issue is that I don't want duplicate notifications. I > would like it setup such that the second device only monitors, and > will only send out alerts/notifications if and only if the primary > nagios server is down. Has anyone designed a setup similar to this? Is > this thinking not logical? Is there a better mouse trap? Is there any > design documentation? > > Thanks in advance for your input! > Michael Weiner > Check out the documentation on Redundant and Failover Network Monitoring (http://nagios.sourceforge.net/docs/3_0/redundancy.html). Both examples will do what you want, but the underlying behavior is drastically different between the two so make sure you read carefully. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------ - This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Thu Jul 31 15:59:00 2008 From: weinerm at ccf.org (Michael Weiner) Date: Thu, 31 Jul 2008 09:59:00 -0400 Subject: Design question In-Reply-To: <4891C309.7020003@collaborativefusion.com> References: <4891C309.7020003@collaborativefusion.com> Message-ID: On Thu, Jul 31, 2008 at 9:50 AM, Sean McAfee wrote: > > Michael Weiner wrote: > > Just a general question to the nagios user audience out there. I have > > a situation that dictates I run two nagios instances due to the manner > > in which our systems are provided power. We have no true data center, > > and as such the servers being monitored by nagios are somewhat > > distributed throughout the campus. My design question comes from a > > recent major power outage that not only affected a slew of servers > > that nagios was monitoring, but nagios itself. So my thought was to > > provide a secondary, backup, nagios server somewhere off the power > > grid ? but the issue is that I don't want duplicate notifications. I > > would like it setup such that the second device only monitors, and > > will only send out alerts/notifications if and only if the primary > > nagios server is down. Has anyone designed a setup similar to this? Is > > this thinking not logical? Is there a better mouse trap? Is there any > > design documentation? > > > > Check out the documentation on Redundant and Failover Network Monitoring > (http://nagios.sourceforge.net/docs/3_0/redundancy.html). > > Both examples will do what you want, but the underlying behavior is > drastically different between the two so make sure you read carefully. > Thanks i am surprised i didnt see that already!! Thanks again Michael ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Thu Jul 31 16:00:58 2008 From: weinerm at ccf.org (Michael Weiner) Date: Thu, 31 Jul 2008 10:00:58 -0400 Subject: Design question In-Reply-To: <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> References: <4891C309.7020003@collaborativefusion.com> <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> Message-ID: On Thu, Jul 31, 2008 at 9:56 AM, Hoot, Joseph wrote: > I've implemented both solutions here. I ran the failover model first > and ran it for about 2 years. Now, I run both redundantly checking but > just without notifications on the secondary. I do this so that in the > event that I want to check that my performance metrics (ala rrd graphs) > are seeing the same information, I cant easily just go to my secondary > and check what it looks like there. > > But yeah... read up in the documentation because there are good examples > of setting it up either way. > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sean > McAfee > Sent: Thursday, July 31, 2008 9:50 AM > To: Michael Weiner > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Design question > > Michael Weiner wrote: >> Just a general question to the nagios user audience out there. I have >> a situation that dictates I run two nagios instances due to the manner >> in which our systems are provided power. We have no true data center, >> and as such the servers being monitored by nagios are somewhat >> distributed throughout the campus. My design question comes from a >> recent major power outage that not only affected a slew of servers >> that nagios was monitoring, but nagios itself. So my thought was to >> provide a secondary, backup, nagios server somewhere off the power >> grid - but the issue is that I don't want duplicate notifications. I >> would like it setup such that the second device only monitors, and >> will only send out alerts/notifications if and only if the primary >> nagios server is down. Has anyone designed a setup similar to this? Is >> this thinking not logical? Is there a better mouse trap? Is there any >> design documentation? >> >> Thanks in advance for your input! >> Michael Weiner >> > > Check out the documentation on Redundant and Failover Network Monitoring > > (http://nagios.sourceforge.net/docs/3_0/redundancy.html). > > Both examples will do what you want, but the underlying behavior is > drastically different between the two so make sure you read carefully. > I was thinking the exact same thing - doing the redundant setup. Both will do what i was looking for in slightly different ways. Thanks again!! Michael ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Jul 31 16:06:24 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 31 Jul 2008 10:06:24 -0400 Subject: Design question In-Reply-To: <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> References: <4891C309.7020003@collaborativefusion.com> <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> Message-ID: <4891C6E0.2090802@collaborativefusion.com> Hoot, Joseph wrote: > I've implemented both solutions here. I ran the failover model first > and ran it for about 2 years. Now, I run both redundantly checking but > just without notifications on the secondary. I do this so that in the > event that I want to check that my performance metrics (ala rrd graphs) > are seeing the same information, I cant easily just go to my secondary > and check what it looks like there. > > But yeah... read up in the documentation because there are good examples > of setting it up either way. > If you want to get creative, you can do hybrids as well. That way "slave" servers perform all the checks on their local facility, then send the results to the master, but should the master go down, slaves take over notifications. This has a ton of benefits when writing firewall rules, monitoring "public" hosts/services, adding more facilities, and so on. I'm going to be documenting it more once it's polished, but if you're creative and not afraid of svn, sed, and rsync, it can be implemented with no more management overhead than a single system setup. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phuk.yu2007 at gmail.com Thu Jul 31 16:07:21 2008 From: phuk.yu2007 at gmail.com (Phuk Yu) Date: Thu, 31 Jul 2008 10:07:21 -0400 Subject: Fwd: Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) In-Reply-To: References: <4785288FFF93024A937F404009C1929A05396DBC@quimby.money-media.com> <4890D5E0.9020103@peel.com> Message-ID: Actually I meant to send this to the entire group. ---------- Forwarded message ---------- From: Phuk Yu Date: Thu, Jul 31, 2008 at 10:06 AM Subject: Re: [Nagios-users] Slave IO: Yes Slave SQL: No Seconds Behind Master: (null) To: Steve Pribyl Check the logs to get more insight into why it failed. On Wed, Jul 30, 2008 at 4:58 PM, Steve Pribyl wrote: > No Seconds Behind Master: (null) > > the Slave has failed for some reason and is no longer replicating. > > Steve Pribyl > > On 07/30/2008 03:14 PM, Barbara Abernathy wrote: > > Does anyone have the foggiest as to what this really means. Is it a disk > > space thing or purely a MySQL functionality thing. I just need a pointer > > to get me going in the right direction. ThxAll > > > > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------ > > ---------------------------------- > > > > > > > > > > > > Current Status: > > > > CRITICAL > > > > (for 20d 0h 27m 18s) (Has been acknowledged) Status Information:Slave > > IO: Yes Slave SQL: No Seconds Behind Master: (null) Performance Data: > > Current Attempt:3/3 (HARD state) Last Check Time:07-30-2008 15:59:46 > > Check Type:ACTIVE Check Latency / Duration:0.224 / 0.040 seconds Next > > Scheduled Check: 07-30-2008 16:09:46 Last State Change:07-10-2008 > > 15:41:46 Last Notification:07-14-2008 07:45:55 (notification 87) Is This > > Service Flapping? > > > > NO > > > > (0.00% state change) In Scheduled Downtime? > > > > NO > > > > Last Update:07-30-2008 16:08:55 ( 0d 0h 0m 9s ago) > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joe.hoot at itec.suny.edu Thu Jul 31 16:28:16 2008 From: joe.hoot at itec.suny.edu (Hoot, Joseph) Date: Thu, 31 Jul 2008 10:28:16 -0400 Subject: Design question In-Reply-To: <4891C6E0.2090802@collaborativefusion.com> References: <4891C309.7020003@collaborativefusion.com> <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> <4891C6E0.2090802@collaborativefusion.com> Message-ID: <26D3EA273309A746A7F98A6B3A97426402043406@mercury.ex.msad.itec.suny.edu> Yes... rsync will most likely help as well. I only modify my configs on the master and then have a cron entry to rsync the /etc/* scripts over to the slave. I use the following: #!/bin/sh ########### # sync nagios ########### # the following rsync copies all etc/ data: rsync -e ssh --delete --exclude='*primary.cfg' --exclude='*nagios.cfg' --exclude='*nrpe.cfg' -azHS /usr/local/nagios/etc/ secondary:/usr/local/nagios/etc/ # the next one syncs the libexec, just in case new checks are added: rsync -e ssh --delete -azHS /usr/local/nagios/libexec/ secondary:~/libexec/ -----Original Message----- From: Sean McAfee [mailto:smcafee at collaborativefusion.com] Sent: Thursday, July 31, 2008 10:06 AM To: Hoot, Joseph Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Design question Hoot, Joseph wrote: > I've implemented both solutions here. I ran the failover model first > and ran it for about 2 years. Now, I run both redundantly checking but > just without notifications on the secondary. I do this so that in the > event that I want to check that my performance metrics (ala rrd graphs) > are seeing the same information, I cant easily just go to my secondary > and check what it looks like there. > > But yeah... read up in the documentation because there are good examples > of setting it up either way. > If you want to get creative, you can do hybrids as well. That way "slave" servers perform all the checks on their local facility, then send the results to the master, but should the master go down, slaves take over notifications. This has a ton of benefits when writing firewall rules, monitoring "public" hosts/services, adding more facilities, and so on. I'm going to be documenting it more once it's polished, but if you're creative and not afraid of svn, sed, and rsync, it can be implemented with no more management overhead than a single system setup. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Thu Jul 31 16:57:13 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Thu, 31 Jul 2008 14:57:13 +0000 (GMT) Subject: nagios3 installation In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110C5851F@NUMAIL.norwich.edu> References: <3CB18FFE1CDC71449BCCEC0FFD983110C5851F@NUMAIL.norwich.edu> Message-ID: <389952.41624.qm@web26203.mail.ukl.yahoo.com> hi I installed these packages. Could you please help? I did export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/glib-2.0.pc in ./configure, I receive this error. Thanks checking for gdImagePng in -lgd (order 2)... yes GD library was found! Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found Package glib-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `glib-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'glib-2.0' found checking ltdl.h usability... yes --- On Thu, 31/7/08, James Pratt wrote: > From: James Pratt > Subject: Re: [Nagios-users] nagios3 installation > To: nagios-users at lists.sourceforge.net > Date: Thursday, 31 July, 2008, 4:18 PM > > -----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, July 31, 2008 8:58 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] nagios3 installation > > > > Hello > > > > when I do ./configure, I have the below messages even > though I have > installed > > glib-2.0. Could you please advise? > > > > checking for main in -liconv... yes > > checking for gdImagePng in -lgd (order 1)... no > > checking for gdImagePng in -lgd (order 2)... no > > checking for gdImagePng in -lgd (order 3)... no > > checking for gdImagePng in -lgd (order 4)... no > > > > > > *** GD, PNG, and/or JPEG libraries could not be > located... ********* > > > > It appears your distro is missing: > GD , libjpeg, and libpng. > > Gd - see if a package exists for your distro, or get the > source from > http://www.boutell.com/gd > > Libjpeg - same, if not source is here: > http://www.ijg.org/files/jpegsrc.v6b.tar.gz > > Libpng - same, or get it from: > http://www.libpng.org/pub/png/libpng.html > > > Package glib-2.0 was not found in the pkg-config > search path. > > Perhaps you should add the directory containing > `glib-2.0.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'glib-2.0' found > > Package glib-2.0 was not found in the pkg-config > search path. > > Perhaps you should add the directory containing > `glib-2.0.pc' > > to the PKG_CONFIG_PATH environment variable > > No package 'glib-2.0' found > > > > Do you have glib2 installed? Again, check your distro for > packaged > versions, or get the source here: > > http://directory.fsf.org/project/glib/ > > regards, > Jamie > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK > & win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Thu Jul 31 16:59:05 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 31 Jul 2008 09:59:05 -0500 Subject: nagios3 installation In-Reply-To: <3CB18FFE1CDC71449BCCEC0FFD983110C5851F@NUMAIL.norwich.edu> References: <290876.50063.qm@web26205.mail.ukl.yahoo.com> <3CB18FFE1CDC71449BCCEC0FFD983110C5851F@NUMAIL.norwich.edu> Message-ID: <2F8C5E24-717B-4533-8968-C6E7E77960A5@nagios.org> On Jul 31, 2008, at 8:18 AM, James Pratt wrote: > It appears your distro is missing: > GD , libjpeg, and libpng. You are going to need to install the GD development libraries. If you look at the Nagios 3 Quickstart Guides they should point you to the right direction. http://nagios.sourceforge.net/docs/3_0/quickstart.html Basic Nagios 3 dependancies are Apache, GCC compiler and development libraries, and GD development libraries. For example the packages for fedora are httpd, gcc, glibc, glibc-common, gd, gd-devel. Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From myoung at nagios.org Thu Jul 31 17:00:33 2008 From: myoung at nagios.org (Mark Young) Date: Thu, 31 Jul 2008 10:00:33 -0500 Subject: nagios3 installation In-Reply-To: <389952.41624.qm@web26203.mail.ukl.yahoo.com> References: <389952.41624.qm@web26203.mail.ukl.yahoo.com> Message-ID: <88AC5116-9AA9-453A-BBB5-C451A95BDDAC@nagios.org> Hi Melanie, What Nagios version and linux distribution are you working with? Mark ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Jul 31 17:12:17 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 31 Jul 2008 11:12:17 -0400 Subject: Design question In-Reply-To: References: <4891C309.7020003@collaborativefusion.com> <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> <4891C6E0.2090802@collaborativefusion.com> Message-ID: <4891D651.6010907@collaborativefusion.com> Michael Weiner wrote: > HMMMMMMM now you've peaked my interest. Anything you can share before > i start building? I like the idea and wouldnt mind implementing a > similar solution > > Michael I just spent a while trying to come up with a comprehensive quick explanation, but it's just not possible. The internal documentation for the system design is something like 15+ pages, the majority of which contains data that needs to be thoroughly sanitized. This is the meat of it though and should give you an idea of what things need to be considered. Feel free to ask questions about how I solved specific problems or suggest ways to improve it. Here is the repo layout: | root -- All non-object configs (nagios.cfg, cgi.cfg, resources.cfg, nsca.cfg, etc...) |-- config -- All object configs (notify_cmds.cfg, templates, etc..). | `-- contacts |-- htpasswd |-- scripts -- All shell scripts (event handlers, self-promotion, etc...) | `-- checks -- Custom checks not found in the FreeBSD nagios-plugin port `-- targets -- All hosts and services |-- exemptions -- See step 2.1 below - removes some "global" checks from individual facilities | |-- facil0 | |-- facil1 | `-- facil2 |-- global -- Checks to be run from ALL facilities |-- facil0 -- Checks for the slave instance at facilx |-- facil1 `-- facil2 In order to comply with the automation requirements, a handful of DNS entries had to be created at each slave facility: nagios-host.[facil].example.com This is a CNAME to the slave instance at each facility. It is used as the destination target for rsyncing configs. nagios-master.[facil].example.com This is a CNAME to the master server. Due to the distributed nature of our setup and Nagios' use of hostnames as unique identifiers, this was required to give each slave server a unique target to monitor for self-promotion purposes. The svn post-commit script does the following from the master instance: 1. Checks out the newest version of the repo to /var/tmp/nagios/staging 2. Creates directories at /var/tmp/nagios/[master|facil0|facil1|facil2] and rsyncs the repo into each one 1. During this step, '.svn' is excluded and the -f option is used to specify exclusions for slaves: rsync -avz --delete-before --exclude=.svn --exclude-from=$STAGING_DIR/targets/exemptions/${this_facil} $STAGING_DIR/ ./${this_facil} 3. Moves nagios-hq.cfg or nagios-slave.cfg (as appropriate) to nagios.cfg 4. Uses grep & sed to perform search & replace on "magic" words: * FACIL_PLACEHOLDER: maximizes portability and automation of configs (examples: nagios-slave.cfg references cfg_dir=targets/FACIL_PLACEHOLDER to eliminate need for hand-manipulation; the "from" address in email is set to nagios_FACIL_PLACEHOLDER@; check_snmpagent!FACIL_PLACEHOLDER_[common suffix]; etc...); * FACIL_ROLE: dynamically adjusts service_templates.cfg; necessary to get the master instance to schedule active checks on ONLY his local checks (Nagios slaves, its own nsca daemon, its gsm modem); sets 0 for master, 1 on slaves 5. Slaves without GSM capabilities only - [host|service]_notification_commands=notify-[host|service]-by-sms to notify-[host|service]-by-epager. 6. Performs a local Nagios config validation for each facility (nagios -v /var/tmp/nagios/{facil}) 7. Rsyncs /var/tmp/nagios/{facil} to nagios-host.[facil].example.com:/usr/local/etc/nagios/ 1. $RSYNC -avz --delete-before $STAGING_ROOT/$this_facil/ nagios-host.[facil].example.com:/usr/local/etc/nagios/ 8. Peforms a remote Nagios config validation on each system 9. Reloads Nagios via the rc script on each server Self-promoption is done via an event handler script that echos ENABLE_NOTIFICATIONS, STOP_OBSESSING_OVER_HOST_CHECKS, STOP_OBSESSING_OVER_SVC_CHECK into the external command file should it lose contact with the Master instance. Self-demotion is simply the inverse of that. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Thu Jul 31 17:14:21 2008 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Thu, 31 Jul 2008 15:14:21 +0000 (GMT) Subject: nagios3 installation In-Reply-To: <88AC5116-9AA9-453A-BBB5-C451A95BDDAC@nagios.org> References: <88AC5116-9AA9-453A-BBB5-C451A95BDDAC@nagios.org> Message-ID: <431373.46632.qm@web26205.mail.ukl.yahoo.com> nagios-3.0.3 Redhat Enterprise Linux 3 PKG_CONFIG_PATH was empty. but the error stayed the same after export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/glib-2.0.pc thanks --- On Thu, 31/7/08, Mark Young wrote: > From: Mark Young > Subject: Re: [Nagios-users] nagios3 installation > To: "Nagios User list" > Date: Thursday, 31 July, 2008, 6:00 PM > Hi Melanie, > What Nagios version and linux distribution are you working > with? > > Mark > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move > Developer's challenge > Build the coolest Linux based applications with Moblin SDK > & win great prizes > Grand prize is a trip for two to an Open Source event > anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null __________________________________________________________ Not happy with your email address?. Get the one you really want - millions of new email addresses available now at Yahoo! http://uk.docs.yahoo.com/ymail/new.html ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 31 18:06:04 2008 From: marc at ena.com (Marc Powell) Date: Thu, 31 Jul 2008 11:06:04 -0500 Subject: compliing the extinfo.c In-Reply-To: <200807310909.23831.assaf.flatto@ssp.uk.com> References: <200807310909.23831.assaf.flatto@ssp.uk.com> Message-ID: <60CCBB85-30EC-4F44-840A-82D304AE13BD@ena.com> On Jul 31, 2008, at 4:09 AM, Assaf Flatto wrote: > Hello > > I want to add a custom header to my extinfo.cgi display . that when > ever i look in to a problem , in > the header is can see whom is the main contact person for the server/ > service problem . > > I know i need to recompile the extinfo.c and add the functionality > to my existing build , however i > am not a C programmer and don't want to muck about in things i have > no understanding since that is > a good way for a disaster . > > Has anyone ever done anything like that ? or can guide me on how to > do that ? If you're working in a source tree that has already been compiled, just edit extinfo.c to add your changes and run 'make' within that directory. The new extinfo.cgi will be created and you can use that to replace your existing (or just run 'make install' from the base of the source tree). -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 31 18:15:09 2008 From: marc at ena.com (Marc Powell) Date: Thu, 31 Jul 2008 11:15:09 -0500 Subject: Introducing a delay between checks in a Host Check (v2.11) In-Reply-To: References: Message-ID: <73C5CF0C-109D-4887-8BB6-4CCB13D83254@ena.com> On Jul 31, 2008, at 6:40 AM, Shaun Mccullagh wrote: > Hi, > > May I start off by thanking everyone who has contributed to nagios > over > the years. > > I'm newbie to Nagios. Our host checks consist of a simple check_ping > command to make sure they are reachable. > > I've set Max check attempts to 3. The problem is I need to introduce 5 > minute delay between each retry attempt. > > Is it possible to this in a Host check? If so what is the best way? It is not possible to do this with a nagios-2.x install, nor would it be desirable to try to force this by introducing any delay with the host check. To avoid repeating myself, please read http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg17242.html I believe this can be accomplished with nagios-3 but I don't use it yet. Alternately, you could consider not using host checks at all and rely on service checks entirely but you lose the benefits of parenting and host dependencies if you use those. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vmanojv at rediffmail.com Thu Jul 31 18:17:57 2008 From: vmanojv at rediffmail.com (Nair) Date: 31 Jul 2008 16:17:57 -0000 Subject: Linux Disk IO Message-ID: <20080731161757.21408.qmail@f5mail-236-230.rediffmail.com> Thank you Hari Could not find anything of same. Also, is thr any option in iostat to find Disk IO for a particular volume group.(i know this is not the right forum, but still asking :)) ? Regards, Nair On Thu, 31 Jul 2008 Hari Sekhon wrote : >Nair wrote: >> >>Friends, >> >>Any got Nagios Plugin for monioting Linux Disk IO for a particular volume group. >> >>I mean, something similar to iostat. :) Not sure how to use iostat to find out Disk IO for a given Volume Group. >> >Have you searched nagiosexchange.org? If there is no check_iostat or similar, it should be simple to write a wrapper around iostat to check this. > >I use iostat quite a lot in fact, especially on my heavier used servers so this is quite interesting to me. > >Let me know how you get along. > >If there is nothing very good right now, I may put this on my (very long) todo list for writing this plugin. > >-h > >-- Hari Sekhon > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf.flatto at ssp.uk.com Thu Jul 31 18:18:27 2008 From: assaf.flatto at ssp.uk.com (Assaf Flatto) Date: Thu, 31 Jul 2008 16:18:27 +0000 Subject: compliing the extinfo.c In-Reply-To: <60CCBB85-30EC-4F44-840A-82D304AE13BD@ena.com> References: <200807310909.23831.assaf.flatto@ssp.uk.com> Message-ID: <200807311618.28251.assaf.flatto@ssp.uk.com> On Thursday 31 July 2008 16:06:04 Marc Powell wrote: > > If you're working in a source tree that has already been compiled, > just edit extinfo.c to add your changes and run 'make' within that > directory. The new extinfo.cgi will be created and you can use that to > replace your existing (or just run 'make install' from the base of the > source tree). > > -- > Marc Thanks Marc . I knew the compile part , and it is still far ahead . my problem , as i've stated , is that i am not a C programmer and am looking for help in the code area . I looked at the code and seen that there is a need to add a new function that will gather the contactgroup and create an html section for it in the display - and here is my limit (again not a programmer). Any advice ? Assaf IMPORTANT . this email and the information in it may be confidential, legally privileged and/or protected by law. It is intended solely for the use of the person to whom it is addressed. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Please also delete all copies of this email and any attachments from your system. We cannot guarantee the security or confidentiality of email communications. We do not accept any liability for losses or damages that you may suffer as a result of your receipt of this email including but not limited to computer service or system failure, access delays or interruption, data non-delivery or mis-delivery, computer viruses or other harmful components. Copyright in this email and any attachments belong to Select Service Partner UK Limited. Should you communicate with anyone at Select Service Partner UK Limited by email, you consent to us monitoring and reading any such correspondence. Nothing in this email shall be taken or read as suggesting, proposing or relating to any agreement concerted practice or other practice that could infringe UK or EC competition legislation. Select Service Partner UK Limited is a company registered in England and Wales (company number 05687183) whose registered office is at 1 The Heights, Brooklands, Weybridge. Surrey. KT13 0NY ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.ammon at utah.edu Thu Jul 31 18:24:59 2008 From: tom.ammon at utah.edu (Tom Ammon) Date: Thu, 31 Jul 2008 10:24:59 -0600 Subject: [Fwd: distributed monitoring host checking question] Message-ID: <4891E75B.6050508@utah.edu> So, no thoughts on this question? -------- Original Message -------- Subject: distributed monitoring host checking question Date: Wed, 30 Jul 2008 01:05:21 -0600 From: Tom Ammon To: nagios-users at lists.sourceforge.net Hi, I am working on setting up a distributed monitoring system with Nagios (actually Groundwork). I have 3 child servers and 1 parent server, using NSCA to send passive check results from the children to the parent server. My question is about how Nagios (version 2.5) will behave when an on demand host check needs to be run. So for example: Host A is configured with check_host_alive ( a simple ping ) as its host check command on the parent server. It is also configured with Service A, say an SNMP check. Active host checks are not disabled on the parent server, but active service checks are. Host A, obviously, is also configured on the child server. When the child server sends a passive check result up to the parent saying that the SNMP check has failed, will the parent server then run the on-demand host check command to verify that Host A is still up? If not, how do I get that information up to the parent? Are passive host checks my only option? So I guess the question is this: In a distributed monitoring setup, will a parent server run an on-demand host check for a host that gets a report (via a passive service check sent from a child server) of a service being critical? Thanks, Tom -- ------------------------------------- Tom Ammon Network Engineer Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu -- ------------------------------------- Tom Ammon Network Engineer Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Jul 31 18:34:31 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 31 Jul 2008 12:34:31 -0400 Subject: [Fwd: distributed monitoring host checking question] In-Reply-To: <4891E75B.6050508@utah.edu> References: <4891E75B.6050508@utah.edu> Message-ID: <4891E997.9020001@collaborativefusion.com> Tom Ammon wrote: > So, no thoughts on this question? > > -------- Original Message -------- > Subject: distributed monitoring host checking question > Date: Wed, 30 Jul 2008 01:05:21 -0600 > From: Tom Ammon > To: nagios-users at lists.sourceforge.net > > > > Hi, > > I am working on setting up a distributed monitoring system with Nagios > (actually Groundwork). I have 3 child servers and 1 parent server, using > NSCA to send passive check results from the children to the parent server. > > My question is about how Nagios (version 2.5) will behave when an on > demand host check needs to be run. > > So for example: > > Host A is configured with check_host_alive ( a simple ping ) as its host > check command on the parent server. It is also configured with Service > A, say an SNMP check. Active host checks are not disabled on the parent > server, but active service checks are. > > Host A, obviously, is also configured on the child server. When the > child server sends a passive check result up to the parent saying that > the SNMP check has failed, will the parent server then run the on-demand > host check command to verify that Host A is still up? If not, how do I > get that information up to the parent? Are passive host checks my only > option? > > So I guess the question is this: In a distributed monitoring setup, will > a parent server run an on-demand host check for a host that gets a > report (via a passive service check sent from a child server) of a > service being critical? > > Thanks, > > Tom In an all Nagios 3 (I don't believe anything has changed in the relevant check logic from 2.x) setup with a master configured with execute_service_checks=1, execute_host_checks=0, the master does indeed run the follow-up host check after receiving a passive service result: [1217521713.140143] [016.1] [pid=16669] Handling check result for service 'NTP Time Server Ping' on host 'time.example.com'... [1217521713.140183] [016.0] [pid=16669] ** Handling check result for service 'NTP Time Server Ping' on host 'time.example.com'... [1217521713.140243] [016.1] [pid=16669] HOST: time.example.com, SERVICE: NTP Time Server Ping, CHECK TYPE: Passive, OPTIONS: 0, SCHEDULED: No, RESCHEDULE: No, EXITED OK: Yes, RETURN CODE: 2, OUTPUT: Testing [1217521713.140538] [016.0] [pid=16669] ** Running async check of host 'time.example.com'... [1217521713.140565] [001.0] [pid=16669] check_time_against_period() [1217521713.140608] [016.0] [pid=16669] Checking host 'time.example.com'... [1217521713.140649] [016.2] [pid=16669] Adjusting check attempt number for host 'time.example.com': current attempt=1/3, state=0, state type=1 [1217521713.141121] [2048.2] [pid=16669] Uncleaned macro. Running output (87): '/usr/local/libexec/nagios/check_ping -H time.example.com' [1217521713.141135] [2048.2] [pid=16669] Just finished macro. Running output (87): '/usr/local/libexec/nagios/check_ping -H time.example.com' [1217521713.141162] [2048.2] [pid=16669] Not currently in macro. Running output (126): '/usr/local/libexec/nagios/check_ping -H time.example.com -t 5 -w 3000.0,80% -c 5000.0,100% -p 5' [1217521713.141179] [2048.1] [pid=16669] Done. Final output: '/usr/local/libexec/nagios/check_ping -H time.example.com -t 5 -w 3000.0,80% -c 5000.0,100% -p 5' Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 31 18:52:37 2008 From: marc at ena.com (Marc Powell) Date: Thu, 31 Jul 2008 11:52:37 -0500 Subject: [Fwd: distributed monitoring host checking question] References: <4891E75B.6050508@utah.edu> Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012333@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Tom Ammon > Sent: Thursday, July 31, 2008 11:25 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] [Fwd: distributed monitoring host checking > question] > > So, no thoughts on this question? Documentation- http://nagios.sourceforge.net/docs/2_0/passivechecks.html or take 10 minutes to just test it? -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Jul 31 18:58:31 2008 From: marc at ena.com (Marc Powell) Date: Thu, 31 Jul 2008 11:58:31 -0500 Subject: check_period serivces using variables References: Message-ID: <5A4AE2E1A3A86C4DA672C6ED903343EF012334@misex03.ena.com> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Marc Torres > Sent: Thursday, July 31, 2008 8:40 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_period serivces using variables > > What i would like is that when I change the check_period for the host1 > (rewriting its template value), the check_period of all services > related to this hosts, get its check_timeperiod changed accordingly > without affecting the rest of the hosts. There's no such tie that I am aware of. Hosts and host templates are entirely separate from services and service templates. > I'm absolutely lost here, the only thing that comes to my mind is to > rewrite heach service and set the ckeck_timeperiod accordingly, but I > don't like this way. Better to use a template for the services affected then. Services can inherit from multiple service templates. -- Marc ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.ammon at utah.edu Thu Jul 31 18:59:46 2008 From: tom.ammon at utah.edu (Tom Ammon) Date: Thu, 31 Jul 2008 10:59:46 -0600 Subject: [Fwd: distributed monitoring host checking question] In-Reply-To: <5A4AE2E1A3A86C4DA672C6ED903343EF012333@misex03.ena.com> References: <4891E75B.6050508@utah.edu> <5A4AE2E1A3A86C4DA672C6ED903343EF012333@misex03.ena.com> Message-ID: <4891EF82.3050304@utah.edu> I did, indeed, read the docs. However, the link you posted (or any of the other documentation I found) doesn't answer my question about the relationships between active host checks and passive service checks. I post to lists because maybe the discussion can help someone else at a later time. Sure, I could try it and just figure it out on my own, but what about the community? Aren't we supposed to be helping each other here? Sean, thanks for your help. If I see any different behavior with nagios 2.5, I'll post it back to the list. Tom Marc Powell wrote: > >> -----Original Message----- >> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- >> bounces at lists.sourceforge.net] On Behalf Of Tom Ammon >> Sent: Thursday, July 31, 2008 11:25 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] [Fwd: distributed monitoring host checking >> question] >> >> So, no thoughts on this question? >> > > Documentation- http://nagios.sourceforge.net/docs/2_0/passivechecks.html > or take 10 minutes to just test it? > > -- > Marc > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's challenge > Build the coolest Linux based applications with Moblin SDK & win great prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ------------------------------------- Tom Ammon Network Engineer Business Card at http://tomsbox.net/bizcard_TomAmmon.jpg Center for High Performance Computing University of Utah http://www.chpc.utah.edu ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Jul 31 19:43:25 2008 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 31 Jul 2008 18:43:25 +0100 Subject: Linux Disk IO In-Reply-To: <20080731161757.21408.qmail@f5mail-236-230.rediffmail.com> References: <20080731161757.21408.qmail@f5mail-236-230.rediffmail.com> Message-ID: <4891F9BD.8050806@googlemail.com> If you try looking at vgs or lvs you'll fail, iostat will output no stats. You can either look at the underlying pvs or the dms. So figure out what your lvm is sitting on and look at that. Running iostat without specifying targets will list all your relevant underlying partitions which will make it easier for you to see what you have. Then if you're interested in something particular and you know what the mapping is then you can focus on that. -h Nair wrote: > > Thank you Hari > > Could not find anything of same. > > Also, is thr any option in iostat to find Disk IO for a particular > volume group.(i know this is not the right forum, but still asking :)) > > Regards, > Nair > > > On Thu, 31 Jul 2008 Hari Sekhon wrote : > >Nair wrote: > >> > >>Friends, > >> > >>Any got Nagios Plugin for monioting Linux Disk IO for a particular > volume group. > >> > >>I mean, something similar to iostat. :) Not sure how to use iostat > to find out Disk IO for a given Volume Group. > >> > >Have you searched nagiosexchange.org? If there is no check_iostat or > similar, it should be simple to write a wrapper around iostat to check > this. > > > >I use iostat quite a lot in fact, especially on my heavier used > servers so this is quite interesting to me. > > > >Let me know how you get along. > > > >If there is nothing very good right now, I may put this on my (very > long) todo list for writing this plugin. > > > >-h > > > >-- Hari Sekhon > ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Thu Jul 31 20:48:45 2008 From: weinerm at ccf.org (Michael Weiner) Date: Thu, 31 Jul 2008 14:48:45 -0400 Subject: Design question In-Reply-To: References: <4891C309.7020003@collaborativefusion.com> <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> <4891C6E0.2090802@collaborativefusion.com> <4891D651.6010907@collaborativefusion.com> Message-ID: On Thu, Jul 31, 2008 at 11:29 AM, Michael Weiner wrote: > On Thu, Jul 31, 2008 at 11:12 AM, Sean McAfee > wrote: >> Michael Weiner wrote: >>> >>> HMMMMMMM now you've peaked my interest. Anything you can share before >>> i start building? I like the idea and wouldnt mind implementing a >>> similar solution >>> >>> Michael >> >> I just spent a while trying to come up with a comprehensive quick >> explanation, but it's just not possible. The internal documentation for the >> system design is something like 15+ pages, the majority of which contains >> data that needs to be thoroughly sanitized. This is the meat of it though >> and should give you an idea of what things need to be considered. Feel free >> to ask questions about how I solved specific problems or suggest ways to >> improve it. >> > > Thank you for the discrete information, i will begin to digest it here > shortly and get back with any questions. I appreciate your trying to > distill it down to something you could share and thank you for the > time in doing that :) > > Michael > My only question after reading the redundant network monitoring documentation is, how to do a remote check on the nagios process? Can this be wrapped in nrpe? Thanks ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From smcafee at collaborativefusion.com Thu Jul 31 22:56:14 2008 From: smcafee at collaborativefusion.com (Sean McAfee) Date: Thu, 31 Jul 2008 16:56:14 -0400 Subject: Design question In-Reply-To: References: <4891C309.7020003@collaborativefusion.com> <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> <4891C6E0.2090802@collaborativefusion.com> <4891D651.6010907@collaborativefusion.com> Message-ID: <489226EE.2040304@collaborativefusion.com> Michael Weiner wrote: > My only question after reading the redundant network monitoring > documentation is, how to do a remote check on the nagios process? Can > this be wrapped in nrpe? > > Thanks Exactly that - slaves monitor the master (and vice-versa) via a nrpe-wrapped check_nagios that checks /var/spool/nagios/nagios.log (runs every minute). This is where the event handler is kicked off on any HARD state change. Since any large-scale problem will result in moderate-to-severe latency as checks timeout and reschedule (especially if send_nsca is timing out on passive result submissions as well), there's also a cron job that runs every two minutes that basically does the same thing, just outside the guise of the actual Nagios daemon. The only drawback is it can't self-demote (or you'd be spamming the external command file every time it runs). Prompt self-promotion is the primary goal here, so some latency in self-demotion is perfectly acceptable since the only risk is receiving redundant notifications from each slave for any globally-monitored hosts. Sean McAfee System Engineer Collaborative Fusion, Inc. smcafee at collaborativefusion.com 412-422-3463 x 4025 5849 Forbes Avenue Pittsburgh, PA 15217 **************************************************************** IMPORTANT: This message contains confidential information and is intended only for the individual named. If the reader of this message is not an intended recipient (or the individual responsible for the delivery of this message to an intended recipient), please be advised that any re-use, dissemination, distribution or copying of this message is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of e-mail transmission. **************************************************************** ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From weinerm at ccf.org Thu Jul 31 23:30:26 2008 From: weinerm at ccf.org (Michael Weiner) Date: Thu, 31 Jul 2008 17:30:26 -0400 Subject: Design question In-Reply-To: <489226EE.2040304@collaborativefusion.com> References: <4891C309.7020003@collaborativefusion.com> <26D3EA273309A746A7F98A6B3A97426402043405@mercury.ex.msad.itec.suny.edu> <4891C6E0.2090802@collaborativefusion.com> <4891D651.6010907@collaborativefusion.com> <489226EE.2040304@collaborativefusion.com> Message-ID: On Thu, Jul 31, 2008 at 4:56 PM, Sean McAfee wrote: > Michael Weiner wrote: >> My only question after reading the redundant network monitoring >> documentation is, how to do a remote check on the nagios process? Can >> this be wrapped in nrpe? >> >> Thanks > > Exactly that - slaves monitor the master (and vice-versa) via a > nrpe-wrapped check_nagios that checks /var/spool/nagios/nagios.log (runs > every minute). This is where the event handler is kicked off on any > HARD state change. > > Since any large-scale problem will result in moderate-to-severe latency > as checks timeout and reschedule (especially if send_nsca is timing out > on passive result submissions as well), there's also a cron job that > runs every two minutes that basically does the same thing, just outside > the guise of the actual Nagios daemon. > > The only drawback is it can't self-demote (or you'd be spamming the > external command file every time it runs). Prompt self-promotion is the > primary goal here, so some latency in self-demotion is perfectly > acceptable since the only risk is receiving redundant notifications from > each slave for any globally-monitored hosts. > That all makes good sense to me :) Thanks Michael ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null