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: