From phil at usc.edu Fri Oct 1 00:20:22 2004 From: phil at usc.edu (Phil Dibowitz) Date: Thu, 30 Sep 2004 15:20:22 -0700 Subject: Exclude from hostgroup_name in service def Message-ID: <20040930222022.GC18172@usc.edu> Hey folks, I often define my services for hostgroups instead of hosts. Is there a way to exclude a host or hostgroup though? For example, instead of: define service{ ... hostgroup_name unix ... } Do: define service{ ... hostgroup_name unix,-exceptionhosts ... } I looked through the docs but didn't see any such syntax. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From teng at dataway.com Fri Oct 1 00:18:18 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 30 Sep 2004 15:18:18 -0700 Subject: Exclude from hostgroup_name in service def Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7383@dw-mail.dataway.com> What you describe is not currently available in 1.x Nagios, but I recall someone mentioned earlier that it will be (is) avaiable in 2.0a Nagios -----Original Message----- From: Phil Dibowitz [mailto:phil at usc.edu] Sent: Thursday, September 30, 2004 3:20 PM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Exclude from hostgroup_name in service def Hey folks, I often define my services for hostgroups instead of hosts. Is there a way to exclude a host or hostgroup though? For example, instead of: define service{ ... hostgroup_name unix ... } Do: define service{ ... hostgroup_name unix,-exceptionhosts ... } I looked through the docs but didn't see any such syntax. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ScottieThompson at ptloma.edu Fri Oct 1 01:01:43 2004 From: ScottieThompson at ptloma.edu (Scottie Thompson) Date: Thu, 30 Sep 2004 16:01:43 -0700 Subject: Monitoring Co-op Message-ID: <4E41CFF93649D51184600090273AB6560FCE135D@descartes.ptloma.edu> I have searched the archives of this list, and several places on the web to see if Nagios users have talked about helping each other out by monitoring each other's core critical network routers...I haven't found any info. The problem is essentially the catch-22: my core router is down and I want Nagios to shoot email to a pager, but Nagios can't get to the Internet anymore. So, some have configured Nagios to fire up a modem and send out a page via SMS; or maybe some are paying for an external service to monitor those core routers... But, is anybody interested in monitoring 3 of my servers (via a simple ping) in exchange for me monitoring a few of yours? We can talk details offline... Also, if anyone is already doing this I would be very interested on feedback about tips and pitfalls from this type of thing. TIA. Scottie Thompson Point Loma Nazarene University ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at n2sw.com Fri Oct 1 04:12:05 2004 From: steve at n2sw.com (Steve) Date: Thu, 30 Sep 2004 22:12:05 -0400 Subject: Monitoring Co-op In-Reply-To: <4E41CFF93649D51184600090273AB6560FCE135D@descartes.ptloma.edu> References: <4E41CFF93649D51184600090273AB6560FCE135D@descartes.ptloma.edu> Message-ID: <20041001021207.ZOPA23440.out009.verizon.net@STACY> I am actually in the process os setting up a central nagios where anybody can add up to 2 hosts to monitor, and they will get paged, if we can get this mirrored on the west coast (I am in ny) or pehaps in another country that would be great -- Steve Rieger -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scottie Thompson Sent: Thursday, September 30, 2004 7:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Co-op I have searched the archives of this list, and several places on the web to see if Nagios users have talked about helping each other out by monitoring each other's core critical network routers...I haven't found any info. The problem is essentially the catch-22: my core router is down and I want Nagios to shoot email to a pager, but Nagios can't get to the Internet anymore. So, some have configured Nagios to fire up a modem and send out a page via SMS; or maybe some are paying for an external service to monitor those core routers... But, is anybody interested in monitoring 3 of my servers (via a simple ping) in exchange for me monitoring a few of yours? We can talk details offline... Also, if anyone is already doing this I would be very interested on feedback about tips and pitfalls from this type of thing. TIA. Scottie Thompson Point Loma Nazarene University ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dave at opsource.net Fri Oct 1 05:24:16 2004 From: dave at opsource.net (Dave Breiland) Date: Thu, 30 Sep 2004 20:24:16 -0700 Subject: Monitoring Co-op In-Reply-To: <20041001021207.ZOPA23440.out009.verizon.net@STACY> References: <20041001021207.ZOPA23440.out009.verizon.net@STACY> Message-ID: <200410010324.i913OQ4d027475@mailsmtp01.sjc02.opsource.net> I am on the west coast (San Jose, CA) and might be interested in participating. I'm only on DSL though... but I have static IPs. I dunno what kind of connection you are looking for... Dave -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Sent: Thursday, September 30, 2004 7:12 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Monitoring Co-op I am actually in the process os setting up a central nagios where anybody can add up to 2 hosts to monitor, and they will get paged, if we can get this mirrored on the west coast (I am in ny) or pehaps in another country that would be great -- Steve Rieger -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scottie Thompson Sent: Thursday, September 30, 2004 7:02 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Co-op I have searched the archives of this list, and several places on the web to see if Nagios users have talked about helping each other out by monitoring each other's core critical network routers...I haven't found any info. The problem is essentially the catch-22: my core router is down and I want Nagios to shoot email to a pager, but Nagios can't get to the Internet anymore. So, some have configured Nagios to fire up a modem and send out a page via SMS; or maybe some are paying for an external service to monitor those core routers... But, is anybody interested in monitoring 3 of my servers (via a simple ping) in exchange for me monitoring a few of yours? We can talk details offline... Also, if anyone is already doing this I would be very interested on feedback about tips and pitfalls from this type of thing. TIA. Scottie Thompson Point Loma Nazarene University ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Oct 1 05:42:30 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 1 Oct 2004 13:42:30 +1000 Subject: Command execution on Cisco routers In-Reply-To: <20041001031009.062471D339C@sc8-sf-uberspam1.sourceforge.net> References: <20041001031009.062471D339C@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041001034229.GC37463@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Sep 30, 2004 at 08:09:45PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 7 > Date: Thu, 30 Sep 2004 22:10:58 +0200 > From: Horvath Tamas > To: nagusers > Subject: [Nagios-users] Command execution on Cisco routers > > Hi members! > > I would like to run some commands on Cisco routers via Nagios. I'm going > to write a simple shell script as a Nagios plug-in, but I've didn't > managed to handle Telnet interactive behavior (give it automatically the > username and password) yet. > > I need this method, because I don't do what I want via SNMP. I can use > Telnet, because I access our routers via IPSec VPN, but I can use SSH as > well, if someone know a working solution for SSH. > > Did someone managed to do this? > I am using Expect/TCL in a Nag plugin to do this (check that a backup link is up by using the router CLI to ping the other end of an ISDN circuit). However, done again I would use Perl with either of the CPAN modules Net::Telnet::Cisco Net::Telnet Expect This is because Perl is easier to use than Expect/TCL for this application and the plugins more reliable (much easier to eliminate errors that should be trapped at compile time). Net::Telnet::Cisco is particuarly nice to use. OTOH, if want to have Nag periodically download configs, use RANCID + cron. (The problem with ssh is that not all Ciscos support it. If you have ssh on your router, then all of these approaches can be used for ssh). > Any help would be appreciate! > > Thanks, Tamas! Yours sincerely. -- Stanley Hopcroft Network specialist, IT Infrastructure IP Australia Ph: (02) 6283 3189 Fax: (02) 6281 1353 PO Box 200 Woden ACT 2606 http://www.ipaustralia.gov.au ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Oct 1 09:17:58 2004 From: gmueller at netways.de (Gerd Müller) Date: Fri, 1 Oct 2004 09:17:58 +0200 (CEST) Subject: Command execution on Cisco routers In-Reply-To: <415C6852.70302@axelero.hu> References: <415C6852.70302@axelero.hu> Message-ID: <20041001071758.8B3B94F40E8@desire.netways.de> Hi Horvath why not using snmp? It's so much easier. - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=278 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Oct 1 09:16:20 2004 From: gmueller at netways.de (Gerd Müller) Date: Fri, 1 Oct 2004 09:16:20 +0200 (CEST) Subject: Logout and login as different user? In-Reply-To: <415C7649.7040402@osc.uscg.mil> References: <415C7649.7040402@osc.uscg.mil> Message-ID: <20041001071620.82FD74F40E8@desire.netways.de> Hi Lynne close your browser and open in again. This is the only way I knwo to logout from nagios. - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=280 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Oct 1 09:22:19 2004 From: gmueller at netways.de (Gerd Müller) Date: Fri, 1 Oct 2004 09:22:19 +0200 (CEST) Subject: Check_SMTP In-Reply-To: <3143DF9B158EB544AEEF4A36658448D304B3E5@woody> References: <3143DF9B158EB544AEEF4A36658448D304B3E5@woody> Message-ID: <20041001072219.2FC8B4F40E8@desire.netways.de> Hi could it be that your new isp is using pop before smtp for the authentica tion? - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=277 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Oct 1 09:24:41 2004 From: gmueller at netways.de (Gerd Müller) Date: Fri, 1 Oct 2004 09:24:41 +0200 (CEST) Subject: Multiple instances of nagios In-Reply-To: <20040930130451.X971-100000@cyberdine.freebsdbrasil.com.br> References: <20040930130451.X971-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <20041001072441.64E264F40E8@desire.netways.de> Hi Mario why do you want to installing for the one instance on one host? User's views to nagios are restrictable to contactgroups. - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=269 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Oct 1 09:28:39 2004 From: gmueller at netways.de (Gerd Müller) Date: Fri, 1 Oct 2004 09:28:39 +0200 (CEST) Subject: Nagios with MySQL on Mac OS X Server 10.3.5 In-Reply-To: References: Message-ID: <20041001072839.348814F40E8@desire.netways.de> Hi John don't use mysql. New versions of nagios will not support databases anymore. - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=268 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srunschke at abit.de Fri Oct 1 09:50:20 2004 From: srunschke at abit.de (Sascha Runschke) Date: Fri, 1 Oct 2004 09:50:20 +0200 Subject: Antwort: Check_SMTP [Virus scanned] Message-ID: My crystalball is telling me that you should provide more information for us to help you. Can you do a telnet to port 25 on the MTA? Did you check for firewall issues? sash -------------------------------------------------- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net http://www.my-academy.net -------------------------------------------------- Der Inhalt dieser Email sowie die Anh?nge sind ausschlie?lich f?r den bezeichneten Adressaten bestimmt. Wenn Sie nicht der vorgesehene Adressat dieser Email oder dessen Vertreter sein sollten, so beachten Sie bitte, da? jede Form der Kenntnisnahme, Ver?ffentlichung, Vervielf?ltigung oder Weitergabe des Inhalts dieser Email unzul?ssig ist. Wir m?chten Sie au?erdem darauf hinweisen, da? die Kommunikation per Email ?ber das Internet unsicher ist, da fuer unberechtigte Dritte grunds?tzlich die M?glichkeit der Kenntnisnahme und Manipulation besteht. Wenn Sie diese Nachricht versehentlich erhalten, informieren Sie bitte den Absender und l?schen diese Nachricht mit den Anh?ngen. Herzlichen Dank The information and any attachments contained in this email are intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any form of disclosure, reproduction, distribution or any action taken or refrained from in reliance on it, is prohibited and may be unlawful. We also like to inform you that communication via email over the internet is insecure because third parties may have the possibility to access and manipulate emails. If you have received the message in error, please advise the sender and delete the message and any attachments. Thank you very much. -------------- next part -------------- An HTML attachment was scrubbed... URL: From e.vanmourik at zhew.nl Fri Oct 1 10:07:19 2004 From: e.vanmourik at zhew.nl (Elmar van Mourik) Date: Fri, 1 Oct 2004 10:07:19 +0200 Subject: Monitoring Co-op Message-ID: <8DA75072BA437146A23E36D54D7059B402F7B5@WOLK.wshd.waterschap.adm> Scottie, It would be a nice solution to monitor some hosts of eachother. I'm interested in this. My server is situated in the Netherlands. Elmar van Mourik System & Networkadministrator ZHEW -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Namens Scottie Thompson Verzonden: vrijdag 1 oktober 2004 1:02 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] Monitoring Co-op I have searched the archives of this list, and several places on the web to see if Nagios users have talked about helping each other out by monitoring each other's core critical network routers...I haven't found any info. The problem is essentially the catch-22: my core router is down and I want Nagios to shoot email to a pager, but Nagios can't get to the Internet anymore. So, some have configured Nagios to fire up a modem and send out a page via SMS; or maybe some are paying for an external service to monitor those core routers... But, is anybody interested in monitoring 3 of my servers (via a simple ping) in exchange for me monitoring a few of yours? We can talk details offline... Also, if anyone is already doing this I would be very interested on feedback about tips and pitfalls from this type of thing. TIA. Scottie Thompson Point Loma Nazarene University ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Door de electronische verzending van het bericht kunnen er geen rechten ontleend worden aan de informatie. Als u deze e-mail onterecht heeft ontvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder de gegevens van de computer. ZHEW wordt opgeheven. Vanaf 1 januari 2005 zijn de watertaken van het zuiveringsschap ondergebracht bij drie ?all-in? waterschappen. Meer informatie: Zuiveringsschap Hollandse Eilanden en Waarden, Dordrecht tel: +31 (0)78 6397100 fax: +31 (0)78 6311871 web: http://www.zhew.nl ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sguilbaud at oceanet-technology.com Fri Oct 1 10:07:40 2004 From: sguilbaud at oceanet-technology.com (Sebastien Guilbaud) Date: Fri, 01 Oct 2004 10:07:40 +0200 Subject: Monitoring Co-op In-Reply-To: <8DA75072BA437146A23E36D54D7059B402F7B5@WOLK.wshd.waterschap.adm> References: <8DA75072BA437146A23E36D54D7059B402F7B5@WOLK.wshd.waterschap.adm> Message-ID: <415D104C.8090407@oceanet-technology.com> > It would be a nice solution to monitor some hosts of eachother. > I'm interested in this. My server is situated in the Netherlands. same here, two servers in France, in two differents physical locations. good bandwidth (no DSL). -- S?bastien Guilbaud ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bart.vanmaele at be.ey.com Fri Oct 1 13:10:02 2004 From: bart.vanmaele at be.ey.com (bart.vanmaele at be.ey.com) Date: Fri, 1 Oct 2004 13:10:02 +0200 Subject: check_log pattern problem [VirusCheckedBE] Message-ID: hello, I do a log check on a remote host with 'check_log' and nrpe. This works perfect when I only do a check on one word, when I want to check on multiple words like in this example, the plugin only checks on the first word... I tried all kinds of combinations with ",',+,& but no one worked... Can anybody help me define service{ use active-check-once-template max_check_attempts 1 service_description ux_check_do_message_DAM1 host_name bebxcmdb2 contact_groups monitoring check_command check_nrpe_args!check_log!/tmp/logs/do_message_DAM1.log!/tmp/logs/oldmessage_DAM1.log!backup successful } thx, bart ********************************************************************** The information contained in this communication is intended solely for the use of the individual or entity to whom it is addressed and others authorized to receive it. It may contain confidential or legally privileged information. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. If you have received this communication in error, please notify us immediately by responding to this email and then delete it from your system. Ernst & Young is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From dewath at yahoo.com Fri Oct 1 14:53:53 2004 From: dewath at yahoo.com (Richard DeWath) Date: Fri, 1 Oct 2004 05:53:53 -0700 (PDT) Subject: NRPE_NT - where to find check plugins In-Reply-To: <415B225A.60607@wiggum.com> References: <415B225A.60607@wiggum.com> Message-ID: <20041001125353.45156.qmail@web51104.mail.yahoo.com> Sean, Thanks for the suggestion. I installed it and the basic system information monitoring is working. I still want to pursue how to write windows nrpe_nt "plugins" that I can customize while exploring what else I can now do with nsclient. Richard --- Sean Leach wrote: > We use nsclient > > http://www.nagios.org/faqs/viewfaq.php?faq_id=32 > > Richard DeWath wrote: > > I have successfully installed nrpe_nt on my > Windows > > 2003 server and Nagios check_nrpe works (I used > the > > demo cmd file to verify it). I looked around > > and hoped that maybe there are some WSH type > scripts > > already written and available. I need to check > basic > > things like disk space, are services running, etc. > I > > can sit down and write my own (and learn VBS or > > JScript or ??) but could use a few to get started. > Is > > there a site I should go to for examples or should > I > > just write my own? And if I do write them > > would they be of interest later for others? > > > > Thanks, > > > > Richard > > > > > > > > > > __________________________________ > > Do you Yahoo!? > > Take Yahoo! Mail with you! Get it on your mobile > phone. > > http://mobile.yahoo.com/maildemo > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product > Guide on ITManagersJournal > > Use IT products in your business? Tell us what you > think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift > Certificates! Click to find out more > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version > (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk > being sent to /dev/null > __________________________________ Do you Yahoo!? Y! Messenger - Communicate in real time. Download now. http://messenger.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sleach at wiggum.com Fri Oct 1 15:18:57 2004 From: sleach at wiggum.com (Sean Leach) Date: Fri, 01 Oct 2004 06:18:57 -0700 Subject: NRPE_NT - where to find check plugins In-Reply-To: <20041001125353.45156.qmail@web51104.mail.yahoo.com> References: <20041001125353.45156.qmail@web51104.mail.yahoo.com> Message-ID: <415D5941.3070900@wiggum.com> Richard DeWath wrote: > Sean, > > Thanks for the suggestion. I installed it and the > basic system information monitoring is working. I > still want to pursue how to write windows nrpe_nt > "plugins" that I can customize while exploring what > else I can now do with nsclient. > > Richard Good to hear. If you have nrpe working, why not write some Python scripts and use the Python Windows Extensions. http://starship.python.net/crew/mhammond/ if you need more functionality than the NSClient can offer. Good luck! Sean ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Fri Oct 1 16:05:44 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 01 Oct 2004 10:05:44 -0400 Subject: Multiple hosts in services.cfg? In-Reply-To: <415BF697.4070404@op5.se> References: <415BF697.4070404@op5.se> Message-ID: <1096639544.4347.18.camel@pel> On Thu, 2004-09-30 at 08:05, Andreas Ericsson wrote: > Ryan McCain wrote: > > Can I put multiple hosts for the Hostname variable in services.cfg? > > The reason I am looking to do this is because I have around 50 servers > > that I am looking to monitor the same port with? > > > > Yes. You can also have hostgroup_name in the service definition. They > are not mutually exclusive. > > Remember that the list should be comma-separated and contain no spaces > what so ever. > > In the future, you might want to test things like this first, since it's > pretty easy to do and will keep some traffic off the list. nagios -v > will tell you what you've done wrong, if anything, with some details. I think this is a fair question to put to the list considering its not mentioned anywhere in the documentation. In fact, I've seen reference to this option, but always assumed it was a 2.0 feature since the docs that come with 1.2 make no reference to it all. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johnwelch at kclife.com Fri Oct 1 16:43:39 2004 From: johnwelch at kclife.com (John C. Welch) Date: Fri, 01 Oct 2004 09:43:39 -0500 Subject: Nagios with MySQL on Mac OS X Server 10.3.5 In-Reply-To: <20041001072839.348814F40E8@desire.netways.de> References: <20041001072839.348814F40E8@desire.netways.de> Message-ID: On 10/1/04 2:28 AM, "Gerd M?ller" wrote: > Hi John > > > > don't use mysql. New versions of nagios will not support databases > anymore. Then how will one connect Nagios to a database? We'd like to replace an 11K/year tool with Nagios, since it does the same thing, but if the only way to get Nagios data into a database is going to become a manual or roll your own from scratch solution, then Nagios will cease to be an option. john -- John C. Welch CIS johnwelch at kclife.com (816) 753-7299 x8473 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcflei at gmx.de Fri Oct 1 16:45:58 2004 From: mcflei at gmx.de (Marcus Fleige) Date: Fri, 1 Oct 2004 16:45:58 +0200 (CEST) Subject: WAP Interface and NOCIA 6230 In-Reply-To: <55138.80.185.189.68.1092929158.squirrel@ipx20164.ipxserver.de> References: <55138.80.185.189.68.1092929158.squirrel@ipx20164.ipxserver.de> Message-ID: <42089.62.154.151.2.1096641958.squirrel@mf.homedns.org> Hello there. Manfred Gn?dig sagte: > my WAP interfaces is allwais running with the NOCIA 6310. Mine was, too. > Now i have the NEW NOCIA 6230 and the WAP Interface is nor running > anymore. I guess, everything is fine with the WAP interface, i just validated the generated WML-Code. > Is this a NOCIA Problem ore a NAGIOS Problem? It seems to be a change in Nokias WML-Parser. The one used in the Nokia 6310 is an WML 1.1 compatible interpreter, in the Nokia 6230, a WML 2.0 interpreter is used. So, i'm on exact the same problem here. I can't get the Nokia 6230 to work with the WAP-Interface. Suggestions, anyone? It's quite urgent for me... :-( Marcus -- file deletion is murder! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sleach at wiggum.com Fri Oct 1 16:49:03 2004 From: sleach at wiggum.com (Sean Leach) Date: Fri, 01 Oct 2004 07:49:03 -0700 Subject: Nagios with MySQL on Mac OS X Server 10.3.5 In-Reply-To: References: Message-ID: <415D6E5F.9020107@wiggum.com> Replace it with 1.2 then and don't upgrade when the database support goes away (which I am against as well). As for your previous error (the link issue), make sure -lmysqlclient is in the link command. If not, a simple fix is to do LDFLAGS="-lmysqlclient" ./configure Sean John C. Welch wrote: > On 10/1/04 2:28 AM, "Gerd M?ller" wrote: > > >>Hi John >> >> >> >>don't use mysql. New versions of nagios will not support databases >> anymore. > > > Then how will one connect Nagios to a database? We'd like to replace an > 11K/year tool with Nagios, since it does the same thing, but if the only way > to get Nagios data into a database is going to become a manual or roll your > own from scratch solution, then Nagios will cease to be an option. > > john > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Oct 1 17:12:26 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 1 Oct 2004 10:12:26 -0500 (CDT) Subject: Nagios with MySQL on Mac OS X Server 10.3.5 In-Reply-To: References: <20041001072839.348814F40E8@desire.netways.de> Message-ID: <3787.134.244.169.17.1096643568.squirrel@134.244.169.17> > On 10/1/04 2:28 AM, "Gerd M?ller" wrote: > >> Hi John >> >> >> >> don't use mysql. New versions of nagios will not support databases >> anymore. > > Then how will one connect Nagios to a database? We'd like to replace an > 11K/year tool with Nagios, since it does the same thing, but if the only > way > to get Nagios data into a database is going to become a manual or roll > your > own from scratch solution, then Nagios will cease to be an option. _Native_ database support is going away. The event broker will still allow you to connect it to a database, but the middleware has to be written. It will be a lot more flexible, IMHO, but as I said, work has to be done to connect the two. Benny -- "Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes." -- .sig on Slashdot ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mscandian at freebsdbrasil.com.br Fri Oct 1 17:56:03 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Fri, 1 Oct 2004 12:56:03 -0300 (BRT) Subject: Multiple instances of nagios In-Reply-To: <20041001072441.64E264F40E8@desire.netways.de> References: <20041001072441.64E264F40E8@desire.netways.de> Message-ID: <20041001125342.A971-100000@cyberdine.freebsdbrasil.com.br> Hi, i need to monitor multiple hosts. E.g: nagios.blabla.com.br/host1 nagios.blabla.com.br/host2 ... then i need to install nagios for multiple instances. I look the FAQ, but i dont understand how i can do it. If u want, i put my configuration here. Mario Sergio On Fri, 1 Oct 2004, Gerd M?ller wrote: > Hi Mario > > > > why do you want to installing for the one instance on one host? > User's views to nagios are restrictable to contactgroups. > > > > - Gerd M?ller (gmueller) > > > > ----------------------- > > This thread is located in the archive at this URL: > > http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ > pi1[showUid]=269 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mscandian at freebsdbrasil.com.br Fri Oct 1 18:18:16 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Fri, 1 Oct 2004 13:18:16 -0300 (BRT) Subject: multiple instances Message-ID: <20041001130631.P971-100000@cyberdine.freebsdbrasil.com.br> Hi guys, i'm trying to install multiple instances of nagios. i need that my configuration for host1 is different of excessively hosts. E.g: http://nagios.blabla.com.br/mdbrasil http://nagios.blabla.com.br/twi http://nagios.blabla.com.br/host3 ... My structure of directory: (root at webmail) # ls -lga total 3558 drwxr-xr-x 11 nagios nagios 512 Sep 30 17:57 ./ drwxr-xr-x 6 eksffa operator 512 Sep 17 17:11 ../ drwxrwxr-x 2 nagios nagios 512 Sep 29 18:02 bin/ drwxrwxr-x 2 nagios nagios 512 Sep 29 17:35 etc/ drwxr-xr-x 2 root nagios 1536 Sep 30 16:28 libexec/ drwxr-xr-x 5 nagios nagios 512 Sep 30 17:48 mdbrasil/ -rw-r--r-- 1 root nagios 3044722 Sep 29 17:27 mdbrasil.tar drwxrwxr-x 2 nagios nagios 512 Sep 30 17:21 sbin/ drwxrwxr-x 8 nagios nagios 512 Sep 29 18:02 share/ drwxrwxr-x 5 nagios nagios 512 Sep 30 17:47 twi/ drwxrwxr-x 4 nagios nagios 512 Sep 30 15:45 var/ inside the mdbrasil/ directory, i put it: (root at webmail) # pwd /usr/home/eksffa/public_html/nagios/mdbrasil (root at webmail) # ls -lga total 10 drwxr-xr-x 5 nagios nagios 512 Sep 30 17:48 ./ drwxr-xr-x 11 nagios nagios 512 Sep 30 17:57 ../ drwxrwxr-x 2 nagios nagios 512 Sep 29 17:35 etc/ drwxrwxr-x 2 nagios nagios 512 Sep 29 17:47 sbin/ drwxr-xr-x 4 nagios nagios 512 Oct 1 13:11 var/ the same of my twi directory: (root at webmail) # pwd /usr/home/eksffa/public_html/nagios/twi (root at webmail) # ls -lga total 10 drwxrwxr-x 5 nagios nagios 512 Sep 30 17:47 ./ drwxr-xr-x 11 nagios nagios 512 Sep 30 17:57 ../ drwxrwxr-x 2 nagios nagios 512 Sep 29 17:35 etc/ drwxrwxr-x 2 nagios nagios 512 Sep 30 17:20 sbin/ drwxrwxr-x 4 nagios nagios 512 Oct 1 13:12 var/ My httpd.conf: ScriptAlias /nagios/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ScriptAlias /mdbrasil/cgi-bin/ /usr/home/eksffa/public_html/nagios/mdbrasil/sbin AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ScriptAlias /twi/cgi-bin/ /usr/home/eksffa/public_html/nagios/twi/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/home/eksffa/public_html/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Alias /mdbrasil/ /usr/home/eksffa/public_html/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Alias /twi/ /usr/home/eksffa/public_html/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all But, if i put the URL (nagios.blabla.com.br/mdbrasil) and (nagios.blabla.com.br/twi), the nagios get the same configuration for the two. I run the nagios with the command line: ./nagios -d /usr/home/eksffa/public_html/nagios/mdbrasil/etc/nagios.cfg ./nagios -d /usr/home/eksffa/public_html/nagios/twi/etc/nagios.cfg What's wrong? How i can fix it? In way that configurations for host1 (mdbrasil) is different for host2 (twi)... Any help is appreciated. Mario Sergio ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhobbs at chancery.com Fri Oct 1 18:13:30 2004 From: dhobbs at chancery.com (Dale Hobbs) Date: Fri, 1 Oct 2004 09:13:30 -0700 Subject: Monitoring Co-op Message-ID: <903C68C2CC785C4684A59862E306755391708B@s-exchange4.chancery.com> I'm located on the West Coast, Vancouver B.C. specifically. I'd be interested in this as well -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Elmar van Mourik Sent: Friday, October 01, 2004 1:07 AM To: Scottie Thompson Cc: Nagios Mailinglist (E-mail) Subject: RE: [Nagios-users] Monitoring Co-op Scottie, It would be a nice solution to monitor some hosts of eachother. I'm interested in this. My server is situated in the Netherlands. Elmar van Mourik System & Networkadministrator ZHEW -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Namens Scottie Thompson Verzonden: vrijdag 1 oktober 2004 1:02 Aan: nagios-users at lists.sourceforge.net Onderwerp: [Nagios-users] Monitoring Co-op I have searched the archives of this list, and several places on the web to see if Nagios users have talked about helping each other out by monitoring each other's core critical network routers...I haven't found any info. The problem is essentially the catch-22: my core router is down and I want Nagios to shoot email to a pager, but Nagios can't get to the Internet anymore. So, some have configured Nagios to fire up a modem and send out a page via SMS; or maybe some are paying for an external service to monitor those core routers... But, is anybody interested in monitoring 3 of my servers (via a simple ping) in exchange for me monitoring a few of yours? We can talk details offline... Also, if anyone is already doing this I would be very interested on feedback about tips and pitfalls from this type of thing. TIA. Scottie Thompson Point Loma Nazarene University ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Door de electronische verzending van het bericht kunnen er geen rechten ontleend worden aan de informatie. Als u deze e-mail onterecht heeft ontvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder de gegevens van de computer. ZHEW wordt opgeheven. Vanaf 1 januari 2005 zijn de watertaken van het zuiveringsschap ondergebracht bij drie 'all-in' waterschappen. Meer informatie: Zuiveringsschap Hollandse Eilanden en Waarden, Dordrecht tel: +31 (0)78 6397100 fax: +31 (0)78 6311871 web: http://www.zhew.nl ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 net-labs.de Fri Oct 1 18:52:35 2004 From: lists at net-labs.de (Holger Brueckner) Date: Fri, 01 Oct 2004 18:52:35 +0200 Subject: multiple distributed monitors ? Message-ID: <1096649555.11653.16.camel@localhost> hello, i wanted to install the following setup: nagios 1 ---> nagios 2 ---> nagios 3 all information should be published on nagios 3. i can push data for one level, so 1 can send to 2, 2 can send to 3 but 2 is not forwarding the information it received from 1 to 3. is this possible ? thx for your help Holger Brueckner ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Fri Oct 1 18:57:31 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Fri, 01 Oct 2004 09:57:31 -0700 Subject: multiple distributed monitors ? In-Reply-To: <1096649555.11653.16.camel@localhost> References: <1096649555.11653.16.camel@localhost> Message-ID: <1096649850.20902.6.camel@tesuji.nac.uci.edu> It's probably possible, but I've been doing similar things combining check_by_ssh with check_cluster2. It's less specific than distributed monitoring, but sometimes that's a good thing. :) On Fri, 2004-10-01 at 09:52, Holger Brueckner wrote: > hello, > > i wanted to install the following setup: > > nagios 1 ---> nagios 2 ---> nagios 3 > > all information should be published on nagios 3. > i can push data for one level, so 1 can send to 2, 2 can send to 3 but 2 > is not forwarding the information it received from 1 to 3. > > is this possible ? > > thx for your help > > Holger Brueckner > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From lists at net-labs.de Fri Oct 1 19:11:43 2004 From: lists at net-labs.de (Holger Brueckner) Date: Fri, 01 Oct 2004 19:11:43 +0200 Subject: multiple distributed monitors ? In-Reply-To: <1096649850.20902.6.camel@tesuji.nac.uci.edu> References: <1096649555.11653.16.camel@localhost> <1096649850.20902.6.camel@tesuji.nac.uci.edu> Message-ID: <1096650703.11653.19.camel@localhost> the problem is that for security reasons there is no direct route from nagios 1 to nagios 3 so i have to do it this way ... On Fri, 2004-10-01 at 18:57, Dan Stromberg wrote: > It's probably possible, but I've been doing similar things combining > check_by_ssh with check_cluster2. It's less specific than distributed > monitoring, but sometimes that's a good thing. :) > > On Fri, 2004-10-01 at 09:52, Holger Brueckner wrote: > > hello, > > > > i wanted to install the following setup: > > > > nagios 1 ---> nagios 2 ---> nagios 3 > > > > all information should be published on nagios 3. > > i can push data for one level, so 1 can send to 2, 2 can send to 3 but 2 > > is not forwarding the information it received from 1 to 3. > > > > is this possible ? > > > > thx for your help > > > > Holger Brueckner > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bedouglas at earthlink.net Fri Oct 1 19:22:50 2004 From: bedouglas at earthlink.net (bruce) Date: Fri, 1 Oct 2004 10:22:50 -0700 Subject: starting/stopping apps on remote servers.. Message-ID: <034001c4a7db$4833fea0$0301a8c0@Mesa.com> hi... i'm researching monitoring apps. i need an app that allows me to monitor multiple servers within a network (10-100) and allows me to start/stop processes, monitor the ongoing processes on the various servers within the network. i'm envisioning a situation where i have a number of perl apps that need to be run, and i'd like to be able to round robin them within the network, assigning them to the server that's next in line to run. i'd then like to be able to monitor the systems, and the progress of the perl apps as they're being run. does nagios have the ability to do this, or do you know of any other app that might be suitable that i should look at. thanks -bruce ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 net-labs.de Fri Oct 1 19:43:55 2004 From: lists at net-labs.de (Holger Brueckner) Date: Fri, 01 Oct 2004 19:43:55 +0200 Subject: multiple distributed monitors ? In-Reply-To: <1096649555.11653.16.camel@localhost> References: <1096649555.11653.16.camel@localhost> Message-ID: <1096652635.11642.23.camel@localhost> i just browsed through nsca daemon code. i think the easiest solution would be to add a variable to the config file with the path to the submit_checks script and then let nsca call the script to pipe the data through. any more elegant solutions out there ? On Fri, 2004-10-01 at 18:52, Holger Brueckner wrote: > hello, > > i wanted to install the following setup: > > nagios 1 ---> nagios 2 ---> nagios 3 > > all information should be published on nagios 3. > i can push data for one level, so 1 can send to 2, 2 can send to 3 but 2 > is not forwarding the information it received from 1 to 3. > > is this possible ? > > thx for your help > > Holger Brueckner > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Oct 1 20:45:25 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 1 Oct 2004 11:45:25 -0700 Subject: starting/stopping apps on remote servers.. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7387@dw-mail.dataway.com> Nagios offers some of the capabilities that you require, but likely is not suited for what you need. The monitoring scheduling is internally controlled by Nagios, with lesser ability to be controlled by external processes. It can launch event handlers to react to a certain monitored status, but the services being monitored need to be fairly static. You're looking more for a process scheduler/batch scheduler perhaps. OpenMosix will do some of what you require, completely transparently (load balancing CPU among many machines, automagic process migration). ClusterKnoppix is a LiveCD based distro with OpenMosix pre-installed so you can test drive to see if it would fit the bill. http://bofh.be/clusterknoppix/clusterinaction.htm -----Original Message----- From: bruce [mailto:bedouglas at earthlink.net] Sent: Friday, October 01, 2004 10:23 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] starting/stopping apps on remote servers.. hi... i'm researching monitoring apps. i need an app that allows me to monitor multiple servers within a network (10-100) and allows me to start/stop processes, monitor the ongoing processes on the various servers within the network. i'm envisioning a situation where i have a number of perl apps that need to be run, and i'd like to be able to round robin them within the network, assigning them to the server that's next in line to run. i'd then like to be able to monitor the systems, and the progress of the perl apps as they're being run. does nagios have the ability to do this, or do you know of any other app that might be suitable that i should look at. thanks -bruce ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Oct 1 21:13:17 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 1 Oct 2004 12:13:17 -0700 Subject: multiple distributed monitors ? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7388@dw-mail.dataway.com> Perhaps you can have Nagios1 send the required nsca variables to Nagios 2 via ssh. Something like this: Nagios1 ----ssh---> Nagios2 ---send_nsca---> Nagios3 On nagios1: ssh Nagios2 submit-nag3.sh $HOSTNAME$ $SERVICEDESC$ $STATE$ $OUTPUT$ On nagios2: submit-nag3.sh script #!/bin/sh /bin/echo -e "$1\t$2\t$3\t$4\n" | send_nsca nagios3 -----Original Message----- From: Holger Brueckner [mailto:lists at net-labs.de] Sent: Friday, October 01, 2004 10:44 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] multiple distributed monitors ? i just browsed through nsca daemon code. i think the easiest solution would be to add a variable to the config file with the path to the submit_checks script and then let nsca call the script to pipe the data through. any more elegant solutions out there ? On Fri, 2004-10-01 at 18:52, Holger Brueckner wrote: > hello, > > i wanted to install the following setup: > > nagios 1 ---> nagios 2 ---> nagios 3 > > all information should be published on nagios 3. > i can push data for one level, so 1 can send to 2, 2 can send to 3 but 2 > is not forwarding the information it received from 1 to 3. > > is this possible ? > > thx for your help > > Holger Brueckner > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry at opsource.net Fri Oct 1 21:28:48 2004 From: larry at opsource.net (Larry Guest) Date: Fri, 1 Oct 2004 12:28:48 -0700 Subject: Check a Sun A1000 Disk array Message-ID: <000701c4a7ec$e0625e40$500118ac@LarrysIBM> I have many Sun A1000 Disks arrays. I am looking for a script that can check the status of the array using the normal Sun tools like healthck -a, drivutil -l c1t5d0s6, drivutil -i c1t5d0s6, etc... Any ideas? Thanks. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Fri Oct 1 21:39:24 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Fri, 1 Oct 2004 15:39:24 -0400 Subject: trouble with debian "nagios-mysql" install Message-ID: Hello all, I've installed the nagios-mysql package via Debian, but have unfortunately run into a problem I can't seem to figure out. I've spent all day going through documentation and forums posts every language I speak, but so far have come up empty handed. :( I'm receiving the (infamous) "Could not read host and service status information!" error in the web interface, as well as the accompanying "Warning: Monitoring process may not be running!" and "Warning: Could not read program status information!" notices in the alert screens. When I click on the "Event Log" menu option, it claims that I "do not have permission to view the log file". This is also true of the "View Config", but /not/ "Alert Summary" - that outputs the logfile just fine. Before you assume I have not read the documentation, or that it's a simple permission problem, please continue reading. :) A simple PS shows that nagios is indeed running. The nagios logfile does not show much useful information. In fact, when nagios is restarted, only three lines are generated: [1096656298] Nagios 1.2 starting... (PID=21080) [1096656298] Warning: Host 'am2dev' has no services associated with it! [1096656298] Warning: Host 'am2dev' is not a member of any host groups! Neither of those two warnings are show-stoppers. As per nagios FAQ ID F0170, I've looked at both check_nagios and check_nagios_db. check_nagios functions, in that it returns "located 1 process" (in part). I acquired check_nagios_db, which does /not/ appear to be part of the debian-mysql package, and edited the lines pertaining to the locations of my perl executable, and cgi.cfg . It fails with perl errors: Use of uninitialized value in concatenation (.) or string at ./chk_db.pl line 53. Use of uninitialized value in concatenation (.) or string at ./chk_db.pl line 53. Use of uninitialized value in concatenation (.) or string at ./chk_db.pl line 53. DBI connect('database=;host=;port=','',...) failed: Access denied for user: 'root at localhost' (Using password: NO) at ./chk_db.pl line 54 Reading backwards, it is clearly failing the DBI connect because it is not reading in the database connection information properly. Unfortunately, it has been many years since I've looked at perl, and am not currently in a position to debug the contrib code. :/ That said, the mysql database and tables are appear to be configured properly (as are the associated user and db permissions). In fact, the "programstatus" table is properly populated with the nagios daemon status information. As per cgiauth.html (and other documentation) at the nagios website, I have looked through the Apache config information that comes with the package, and it appears to be correct. I have also checked the filesystem permissions for the status, log, configuration, and plugin files. Various combinations of user and group, as well as rwx settings, appear to change nothing. Does anybody have any suggestions? Thank you all for your time. -- Daniel Maher System Engineer ACE TECHNOLOGY INC. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mscandian at freebsdbrasil.com.br Fri Oct 1 22:20:17 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Fri, 1 Oct 2004 17:20:17 -0300 (BRT) Subject: multiple instances of nagios Message-ID: <20041001171816.M971-100000@cyberdine.freebsdbrasil.com.br> Hi ppl, someone know the cause of the problem that i said in the previous email? Mario Sergio ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Fri Oct 1 22:55:36 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 1 Oct 2004 15:55:36 -0500 (CDT) Subject: Check a Sun A1000 Disk array In-Reply-To: <000701c4a7ec$e0625e40$500118ac@LarrysIBM> References: <000701c4a7ec$e0625e40$500118ac@LarrysIBM> Message-ID: On Fri, 1 Oct 2004, Larry Guest wrote: > I have many Sun A1000 Disks arrays. I am looking for a script that can > check the status of the array using the normal Sun tools like healthck > -a, drivutil -l c1t5d0s6, drivutil -i c1t5d0s6, etc... Run your os utilities against the array in a known good configuration and save the output to a file. Then, run the same os utilities against the configuration over time and take a diff from the known good to the current. Any diff should return a non-zero return value along with appropriate text, i.e., the diff. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Oct 2 00:10:34 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 02 Oct 2004 00:10:34 +0200 Subject: Multiple hosts in services.cfg? In-Reply-To: <1096639544.4347.18.camel@pel> References: <415BF697.4070404@op5.se> <1096639544.4347.18.camel@pel> Message-ID: <415DD5DA.9020809@op5.se> Sean Dilda wrote: > On Thu, 2004-09-30 at 08:05, Andreas Ericsson wrote: > >>Ryan McCain wrote: >> >>>Can I put multiple hosts for the Hostname variable in services.cfg? >>>The reason I am looking to do this is because I have around 50 servers >>>that I am looking to monitor the same port with? >>> >> >>Yes. You can also have hostgroup_name in the service definition. They >>are not mutually exclusive. >> >>Remember that the list should be comma-separated and contain no spaces >>what so ever. >> >>In the future, you might want to test things like this first, since it's >>pretty easy to do and will keep some traffic off the list. nagios -v >>will tell you what you've done wrong, if anything, with some details. > > > I think this is a fair question to put to the list considering its not > mentioned anywhere in the documentation. In fact, I've seen reference > to this option, but always assumed it was a 2.0 feature since the docs > that come with 1.2 make no reference to it all. > What does it take to test? 5 seconds? Maybe 10 if you're a slow typer. I never said anything about it being mentioned in the documentation. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Oct 2 00:10:44 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 02 Oct 2004 00:10:44 +0200 Subject: Exclude from hostgroup_name in service def In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC7383@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7383@dw-mail.dataway.com> Message-ID: <415DD5E4.5000305@op5.se> Tedman Eng wrote: > What you describe is not currently available in 1.x Nagios, but I recall > someone mentioned earlier that it will be (is) avaiable in 2.0a Nagios > Yes, that's true. With Nagios 2.0 you can exclude a unit of the designated type by prefixing it with an exclamation point (!) in the comma-separated list. > -----Original Message----- > From: Phil Dibowitz [mailto:phil at usc.edu] > Sent: Thursday, September 30, 2004 3:20 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Exclude from hostgroup_name in service def > > > Hey folks, > > I often define my services for hostgroups instead of hosts. > > Is there a way to exclude a host or hostgroup though? For example, instead > of: > > define service{ > ... > hostgroup_name unix > ... > } > > Do: > > define service{ > ... > hostgroup_name unix,-exceptionhosts > ... > } > > I looked through the docs but didn't see any such syntax. > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at plusthree.com Sat Oct 2 04:28:26 2004 From: aaron at plusthree.com (Aaron Ross) Date: Fri, 01 Oct 2004 22:28:26 -0400 Subject: monitoring network interfaces Message-ID: <415E124A.3060706@plusthree.com> Hi, I'm having trouble with event_handlers getting triggered. It seems exactly like the problem reported here: https://sourceforge.net/mailarchive/message.php?msg_id=9220815 My service config uses check_ping and a simple event_handler. But the event_handler never gets called. I tried adding a host event_handler to the host definition, but that never gets called either. Is this a known bug? or is there likely something wrong with my config? What I want to do is to monitor a network interface on the local machine. After a critical failure I want to trigger an event hander to take the cluster node offline and transfer the IP to another machine. Thanks in advance, Aaron ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jackburgess at comcast.net Sat Oct 2 08:44:49 2004 From: jackburgess at comcast.net (Jack Burgess) Date: Sat, 2 Oct 2004 02:44:49 -0400 Subject: LooperNG In-Reply-To: References: Message-ID: How can I pass events to Nagios from Looperng?? Thanks ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at plusthree.com Sat Oct 2 17:07:04 2004 From: aaron at plusthree.com (Aaron Ross) Date: Sat, 02 Oct 2004 11:07:04 -0400 Subject: monitoring network interfaces In-Reply-To: <415E124A.3060706@plusthree.com> References: <415E124A.3060706@plusthree.com> Message-ID: <415EC418.8050106@plusthree.com> > Is this a known bug? or is there likely something wrong with my config? Something was wrong with my config. Sorry for the noise. Aaron ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jackburgess at comcast.net Sun Oct 3 04:48:46 2004 From: jackburgess at comcast.net (Jack Burgess) Date: Sat, 2 Oct 2004 22:48:46 -0400 Subject: Check_log - HELP!!! In-Reply-To: <415DD5DA.9020809@op5.se> References: <415DD5DA.9020809@op5.se> Message-ID: Been trying to get check_log working, tried every config I could think of. I can run it from the command line. So I tried to just hard code it in everywhere. :-) But I get this error message: oldlog:Oct 2 21:46:20 hfn1 nagios: Warning: Attempting to execute the command "check_log -F logfile -O oldlog -q query" resulted in a return code of 127. Make sure the script or binary you are trying to execute actually exists... oldlog:Oct 2 21:48:30 hfn1 nagios: Warning: Attempting to execute the command "check_log -F logfile -O oldlog -q query" resulted in a return code of 127. Make Here are my configs checkcommands.cfg: # 'check-log' command definition define command{ command_name check_log command_line /usr/lib/nagios/plugins/check_log -F /var/eric -O oldlog -q Neoteris } #Neoteris Logs command[check_log]=/usr/lib/nagios/plugins/check_log -F /var/eric -O oldlog -q Neoteris # 'Neoteris' host definition define host{ use generic-host ; Name of host template to use host_name hfn1 alias Logfile #1 address 172.20.1.85 check_command check_log max_check_attempts 1 notification_interval 60 notification_period 24x7 notification_options d,u,r } # Service definition define service{ use generic-service ; Name of servic e template to use host_name hfn1 service_description Neoteris Log is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups nms-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_log } But as I siad, it works from command line: [root at hfn1 nagios]# /usr/lib/nagios/plugins/check_log -F /var/eric -O oldlog -q Neoteris (534) < Oct 2 22:50:12 remote Neoteris: id=firewall time="2004-10-02 22:42:21" pri=6 fw=172.20.1.69 vpn=ive user=jburgess realm="Active Directory" roles="WSAM Users" proto= src=69.143.49.12 dst= dstname=hfn1 type=vpn op= arg="" result= sent= rcvd= agent="" duration= msg="JAV20021: Connected to hfn1 port 443"[root at hfn1 nagios]# ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jackburgess at comcast.net Sun Oct 3 05:12:30 2004 From: jackburgess at comcast.net (Jack Burgess) Date: Sat, 2 Oct 2004 23:12:30 -0400 Subject: Check_log In-Reply-To: <415DD5DA.9020809@op5.se> References: <415DD5DA.9020809@op5.se> Message-ID: Actually, I do not get an error now, but the message always says:Log check data initialized... Never changes, but it changes from command line??????? Current Status: OK Status Information: Log check data initialized... Current Attempt: 1/1 State Type: HARD Last Check Type: ACTIVE Last Check Time: 10-02-2004 23:11:18 Status Data Age: 0d 0h 1m 1s Next Scheduled Active Check: 10-02-2004 23:12:18 Latency: < 1 second Check Duration: < 1 second Last State Change: 10-02-2004 22:46:18 Current State Duration: 0d 0h 26m 1s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 10-02-2004 23:12:18 Service Checks: ENABLED Passive Checks: ENABLED Service Notifications: ENABLED Event Handler: ENABLED Flap Detection: ENABLED ----------------------------- Commnd line: [root at hfn1 var]# /usr/lib/nagios/plugins/check_log -F /var/eric -O oldlog -q Neoteris Log check data initialized... [root at hfn1 var]# [root at hfn1 var]# /usr/lib/nagios/plugins/check_log -F /var/eric -O oldlog -q Neoteris (1) < Oct 2 23:13:55 remote Neoteris: id=firewall time="2004-10-02 23:07:24" pri=6 fw=172.20.1.69 vpn=ive user=jburgess realm="Active Directory" roles="WSAM Users" proto= src=69.143.49.12 dst= dstname=hfn1 type=vpn op= arg="" result= sent= rcvd= agent="" duration= msg="JAV20021: Connected to hfn1 port 443"[root at hfn1 var]# [root at hfn1 var]# /usr/lib/nagios/plugins/check_log -F /var/eric -O oldlog -q Neoteris ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cecil.williams at autozone.com Sun Oct 3 07:02:15 2004 From: cecil.williams at autozone.com (cecil.williams at autozone.com) Date: Sun, 3 Oct 2004 00:02:15 -0500 Subject: Cecil Williams/STS/AUTOZONE is out of the office. Message-ID: I will be out of the office starting 10/02/2004 and will not return until 10/18/2004. I will respond to your message when I return. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 linint.net Sun Oct 3 15:32:26 2004 From: nagios at linint.net (Nagios) Date: Sun, 3 Oct 2004 15:32:26 +0200 Subject: sending mails with nagios Message-ID: <8486fc622f955f8744e16a556b6e064c@194.98.7.155> An HTML attachment was scrubbed... URL: From zsitfa at axelero.hu Sun Oct 3 21:11:14 2004 From: zsitfa at axelero.hu (Horvath Tamas) Date: Sun, 03 Oct 2004 21:11:14 +0200 Subject: Command execution on Cisco routers Message-ID: <41604ED2.2020202@axelero.hu> Hi List! Thank you the answers. I didn't know expect until now:) It seems to me that expect can solve my problems, so I'm going to learn and try it. I'm not a programmer, but may try Perl also. I didn't hear about RANCID, but it seems to me that a very useful program. Thanks again, Tamas! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teleneko at gmail.com Sun Oct 3 23:16:12 2004 From: teleneko at gmail.com (Oscar Ramos Moreno) Date: Sun, 3 Oct 2004 23:16:12 +0200 Subject: php or cgi web interface Message-ID: <28d813b60410031416223b6eb3@mail.gmail.com> Hi, I have recently begin to work with nagios and I find that there is a new web interface based in php. I am going to develop a customized application to monitor special networks based on nagios. As a I am new not only to nagios but to network monitoring application I would like to receive suggestions about using the traditional web interface based on CGIs or the new one based o php. At the moment I am trying to use the php inteface but I am having lots of problems, Does anyone try it? Do you mind to report your opinions? Thanks, OScar ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldenhawk at rogers.com Sun Oct 3 23:27:18 2004 From: goldenhawk at rogers.com (Daniel Benoy) Date: Sun, 3 Oct 2004 17:27:18 -0400 Subject: Contact methods Message-ID: <200410031727.18469.goldenhawk@rogers.com> Hello, I just set up Nagios on my home network. I've used it before at work, so I'm familiar with it.. however, I've only used a far far older version. (Not only have I forgotten most of what I learned back then :p but also,) Some things seemed to have changed with the configuration. In the past, I would have multiple methods of contacting the staff (By pager, by e-mail, by instant messanger), and they'd each be their own contact object thingy. However, I see now that Nagios authenticates based on wether your authenticated username matches the name of a contact. Is there any way I could have multiple contacts for 'jdoe', every one of which 'jdoe' can access? i.e. I only want jdoe to be contacted by pager if several attempts to contact him by IM have failed. And some failures warrant no immediate attention at all, and a simple e-mail documenting the event is sufficient. However, if I make a 'jdoe-pager' 'jdoe-email' etc etc contact for each method, then it messes up authentication. If this requires a new feature, I'm willing to make a patch, so if it can't be done currently, let me know how you'd best like to see the syntax etc. -- Daniel Benoy *Shameless signature advertisement: *Know anyone who's looking for a network administrator? Tell them about me. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Sun Oct 3 23:34:22 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 04 Oct 2004 10:34:22 +1300 Subject: multiple instances of nagios In-Reply-To: <20041001171816.M971-100000@cyberdine.freebsdbrasil.com.br> References: <20041001171816.M971-100000@cyberdine.freebsdbrasil.com.br> Message-ID: If someone knew he answer he will probably posted it.. but writing a second mail just 4 hours later is.. not very kind?! I don't know the answer, cause i don't understand what you want to do, so i keep my mouth shut.. maybe you should try to explain better.. i don't get why you need multiple instances, and i didn't find any explanation what you tried to make it work.. apart from copying s.th. You can restrict the view of services for differnet contact groups (if you have different customers) so i really don't understand why you want two seperate instances running.. and copying the directory with exactly the same configuration seems to be a bit strange ?!? You may need to try/understand the documentation, you will need AFAIK two custom build versions with different directorys given as build parameters, as well as different nagios users (not sure of that). Jan > > Hi ppl, > > someone know the cause of the problem that i said in the previous email? > > Mario Sergio > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldenhawk at rogers.com Mon Oct 4 03:43:07 2004 From: goldenhawk at rogers.com (Daniel Benoy) Date: Sun, 3 Oct 2004 21:43:07 -0400 Subject: service notification arguments Message-ID: <200410032143.07886.goldenhawk@rogers.com> Hm.. I have another question.. I want to use the contrib/nagios_sendim.pl program I found. Very useful for sending a message to my jabber so I don't have to waste money on my text messaging.. it can just ring that a few times, and if there's still no service acknowledgement entered into Nagios, then it should try to otherwise alert me. Aside from the fact that it screws up authentication when I try to make this two tiered system of alerts, I have another problem. There doesn't appear to be a method for sending my jabber address as a macro into the service-notify-jabber 'command object' I made. How would I do that? -- Daniel Benoy *Shameless signature advertisement: *Know anyone who's looking for a network administrator? Tell them about me. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldenhawk at rogers.com Mon Oct 4 04:36:25 2004 From: goldenhawk at rogers.com (Daniel Benoy) Date: Sun, 3 Oct 2004 22:36:25 -0400 Subject: Nevermind... Message-ID: <200410032236.25568.goldenhawk@rogers.com> I see the notification arguments code is already in the CVS for Nagios version 2.0 I'll come up with some workaround in the meantime. (Like a script which converts someone's alias macro into their Jabber address) However I'm still at a loss about getting serviceescalation to escalate from contacting me by IM to contacting me by pager.. because if you create two different contacts, it'll mess up authentication. -- Daniel Benoy *Shameless signature advertisement: *Know anyone who's looking for a network administrator? Tell them about me. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Oct 4 06:03:01 2004 From: teng at dataway.com (Tedman Eng) Date: Sun, 3 Oct 2004 21:03:01 -0700 Subject: Nevermind... Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC738B@dw-mail.dataway.com> A simple way to achieve what you want is to create a custom notification script and pass it the $NOTIFICATIONNUMBER$ macro, so that the script can make a decision what method to notify. -----Original Message----- From: Daniel Benoy [mailto:goldenhawk at rogers.com] Sent: Sunday, October 03, 2004 7:36 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nevermind... I see the notification arguments code is already in the CVS for Nagios version 2.0 I'll come up with some workaround in the meantime. (Like a script which converts someone's alias macro into their Jabber address) However I'm still at a loss about getting serviceescalation to escalate from contacting me by IM to contacting me by pager.. because if you create two different contacts, it'll mess up authentication. -- Daniel Benoy *Shameless signature advertisement: *Know anyone who's looking for a network administrator? Tell them about me. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pshemko at ihug.co.nz Mon Oct 4 03:14:40 2004 From: pshemko at ihug.co.nz (pshemko) Date: Mon, 4 Oct 2004 14:14:40 +1300 Subject: Nagios nrpe plugin + netsaint server Message-ID: Hi, Due to some historical reasons I need to setup the following configuration: Nagios serever/nagios nrpe plugin and nrpe server (from netsaint) on remote machines. The problem is that, whatever I try to check I always get (on a remote machine, with debug on): Oct 4 13:48:36 the-delphi nrpe[27393]: Connection from x.x.x.x port 60840 Oct 4 13:48:36 the-delphi nrpe[27393]: Host address checks out ok Oct 4 13:48:36 the-delphi nrpe[27393]: Handling the connection... Oct 4 13:48:36 the-delphi nrpe[27393]: Data packet from client was too short, bailing out... Oct 4 13:48:36 the-delphi nrpe[27393]: Connection from x.x.x.x closed. However, if I install old nrpe-plugin (for netsaint) on the querying host it works sweet. Are the netsaint/nagios nrpe protocols incompatible? Is there a way to set up that? I would prefer using nagios nrpe plugin because eventually we would like to migrate all our hosts to nagios (from netsaint). Kind regards Pshemko ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldenhawk at rogers.com Mon Oct 4 08:56:06 2004 From: goldenhawk at rogers.com (Daniel Benoy) Date: Mon, 4 Oct 2004 02:56:06 -0400 Subject: Nevermind... In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC738B@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC738B@dw-mail.dataway.com> Message-ID: <200410040256.06678.goldenhawk@rogers.com> On Monday 04 October 2004 00:03, Tedman Eng wrote: > A simple way to achieve what you want is to create a custom notification > script and pass it the $NOTIFICATIONNUMBER$ macro, so that the script can > make a decision what method to notify. That's a good workaround. Thanks ^.^ -- Daniel Benoy *Shameless signature advertisement: *Know anyone who's looking for a network administrator? Tell them about me. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ph at whatever.nu Mon Oct 4 09:20:03 2004 From: ph at whatever.nu (Per-Henrik Persson) Date: Mon, 4 Oct 2004 09:20:03 +0200 Subject: Reporting problems In-Reply-To: <20040929205214.GC18047@whatever.nu> References: <20040929205214.GC18047@whatever.nu> Message-ID: <20041004072003.GA4222@whatever.nu> * Per-Henrik Persson [040929 22:59]: > It seems like I'm not the only one having problems with the graphs > generated by teh reporting tools in Nagios. I have searched the list > archives but haven't come to any solution. > > My problem is that I get empty graphys when using the Trends and > Availability reporting tools. The image generation works fine but there > is no data in the graphs. The same goes for the HTML tables under the > graphs men doing a Availability report. Everything is set to 0%. > > Any ideas? Anyone? /PH -- Per-Henrik Persson epost: ph at whatever.nu telefon: 0703-68 53 86 hemsida: www.whatever.nu ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scantos at technodiva.com Mon Oct 4 09:58:24 2004 From: scantos at technodiva.com (Sébastien Cantos) Date: Mon, 4 Oct 2004 09:58:24 +0200 Subject: Reporting problems In-Reply-To: <20041004072003.GA4222@whatever.nu> References: <20041004072003.GA4222@whatever.nu> Message-ID: Hi, I got the same problem and finded out how to solve it: In the "first assumed state" list you have to choose for example "Service OK" or "Current State". Maybe this not the correct solution, I'm curious to know if there's a better solution. Regards, -- S?bastien Cantos Responsable r?seau et syst?mes Neopost DIVA > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Per-Henrik Persson > Envoy? : lundi 4 octobre 2004 09:20 > ? : Per-Henrik Persson > Cc : nagios-users at lists.sourceforge.net > Objet : Re: [Nagios-users] Reporting problems > > * Per-Henrik Persson [040929 22:59]: > > > It seems like I'm not the only one having problems with the graphs > > generated by teh reporting tools in Nagios. I have searched the list > > archives but haven't come to any solution. > > > > My problem is that I get empty graphys when using the Trends and > > Availability reporting tools. The image generation works > fine but there > > is no data in the graphs. The same goes for the HTML tables > under the > > graphs men doing a Availability report. Everything is set to 0%. > > > > Any ideas? > > Anyone? > > /PH > > -- > Per-Henrik Persson epost: ph at whatever.nu > telefon: 0703-68 53 86 hemsida: www.whatever.nu > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xavier at rootshell.be Mon Oct 4 10:24:45 2004 From: xavier at rootshell.be (Xavier) Date: Mon, 4 Oct 2004 10:24:45 +0200 (CEST) Subject: Monitoring SMB shares? Message-ID: Hi, After a undetected incident this weekend, our management asked to monitor something special: A windows client copies files to a SMB share (W2K server). Once processed by another application, files are removed. The client is a "blackbox" for us, so we would like to be notified when no new files are stored on the share. Question: how? Possible? Xavier -- The best things in life are free, but the expensive ones are still worth a look. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 11:28:15 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Oct 2004 11:28:15 +0200 Subject: php or cgi web interface In-Reply-To: <28d813b60410031416223b6eb3@mail.gmail.com> References: <28d813b60410031416223b6eb3@mail.gmail.com> Message-ID: <416117AF.8090606@op5.se> Oscar Ramos Moreno wrote: > Hi, > I have recently begin to work with nagios and I find that there is a > new web interface based in php. Not officially, anyway. The GUI is supposed to be in PHP later on, but for now the official version is the C-based cgi's. I'd be interested to find out about this PHP-based web-interface you've found though. > I am going to develop a customized > application to monitor special networks based on nagios. As a I am new > not only to nagios but to network monitoring application I would like > to receive suggestions about using the traditional web interface based > on CGIs or the new one based o php. > I suggest sticking with the CGI's for now. Nagios 2.0 has a lot of new stuff that the cgi's will be able to do for you. > At the moment I am trying to use the php inteface but I am having lots > of problems, Does anyone try it? Do you mind to report your opinions? > I'm still curious about where you found it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 11:31:25 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Oct 2004 11:31:25 +0200 Subject: Contact methods In-Reply-To: <200410031727.18469.goldenhawk@rogers.com> References: <200410031727.18469.goldenhawk@rogers.com> Message-ID: <4161186D.5070702@op5.se> Daniel Benoy wrote: > Hello, I just set up Nagios on my home network. I've used it before at work, > so I'm familiar with it.. however, I've only used a far far older version. > (Not only have I forgotten most of what I learned back then :p but also,) > Some things seemed to have changed with the configuration. In the past, I > would have multiple methods of contacting the staff (By pager, by e-mail, by > instant messanger), and they'd each be their own contact object thingy. > > However, I see now that Nagios authenticates based on wether your > authenticated username matches the name of a contact. Is there any way I > could have multiple contacts for 'jdoe', every one of which 'jdoe' can > access? > You only need one contact to log in. Set up jdoe (for email), jdoe-pager (for pager alerts) jdoe-im (for im) and so on. Use jdoe to log in. Put them all in the same contactgroup and you're good to go. > i.e. I only want jdoe to be contacted by pager if several attempts to contact > him by IM have failed. And some failures warrant no immediate attention at > all, and a simple e-mail documenting the event is sufficient. > > However, if I make a 'jdoe-pager' 'jdoe-email' etc etc contact for each > method, then it messes up authentication. > > If this requires a new feature, I'm willing to make a patch, so if it can't be > done currently, let me know how you'd best like to see the syntax etc. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Mon Oct 4 11:52:27 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Mon, 04 Oct 2004 10:52:27 +0100 Subject: memory error Message-ID: <41611D5B.7080800@scarceskills.com> Dear all, Recently I am experiencing the following: The monitoring server stop responding. Ping is OK. No other network connections works. Console and keyboard is dead. On screen message: Out of memory killed process 12345 (nagios) that not being the real PID of course :) I have been running nagios 1.2 for about 3 weeks now. The first 2 weeks I had no such problem. Where do I start searching / fixing ? -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teleneko at gmail.com Mon Oct 4 12:04:01 2004 From: teleneko at gmail.com (Oscar Ramos Moreno) Date: Mon, 4 Oct 2004 12:04:01 +0200 Subject: Fwd: php or cgi web interface In-Reply-To: <28d813b60410040033665a2225@mail.gmail.com> References: <28d813b60410031416223b6eb3@mail.gmail.com> <5890067022999736241@unknownmsgid> <28d813b60410040033665a2225@mail.gmail.com> Message-ID: <28d813b6041004030476f9400f@mail.gmail.com> Hi, here yo have the php web interface: http://nagios-php.sourceforge.net/. I choose nagios as basis for this application because its design is high modular and has database support wich allows me to put data with simple scripts and take it to show very simple, for exmaple with php. BR, OScar. On Sun, 3 Oct 2004 19:30:23 -0400, Jack Burgess wrote: > HI Oscar, > > What PHP interface??? I've been working on NMS systems for a while but all > off the shelf. Just installed Nagios with some Opensource security software. > But I am trying to get syslog data pulled in, which is hard it seems with > Nagios. Have you looked at OpenNMS?? > > Jack > > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Oscar Ramos > Moreno > Sent: Sunday, October 03, 2004 5:16 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] php or cgi web interface > > Hi, > I have recently begin to work with nagios and I find that there is a new web > interface based in php. I am going to develop a customized application to > monitor special networks based on nagios. As a I am new not only to nagios > but to network monitoring application I would like to receive suggestions > about using the traditional web interface based on CGIs or the new one based > o php. > > At the moment I am trying to use the php inteface but I am having lots of > problems, Does anyone try it? Do you mind to report your opinions? > > Thanks, OScar > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use > IT products in your business? Tell us what you think of them. Give us Your > Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 13:03:03 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Oct 2004 13:03:03 +0200 Subject: memory error In-Reply-To: <41611D5B.7080800@scarceskills.com> References: <41611D5B.7080800@scarceskills.com> Message-ID: <41612DE7.5030702@op5.se> Martinus Nel wrote: > Dear all, > > Recently I am experiencing the following: > > The monitoring server stop responding. Ping is OK. No other network > connections works. Console and keyboard is dead. > > On screen message: > > Out of memory killed process 12345 (nagios) > Recompile without the embedded perl interpreter. It's known to eat memory at an alarming rate, and the suggested fixes so far are ridiculous and not working. > that not being the real PID of course :) > It's probably one of the child processes. > I have been running nagios 1.2 for about 3 weeks now. The first 2 weeks > I had no such problem. > > Where do I start searching / fixing ? > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Mon Oct 4 14:04:54 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Mon, 4 Oct 2004 14:04:54 +0200 Subject: Overleaping timeperiods and notification times In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC7380@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7380@dw-mail.dataway.com> Message-ID: <200410041404.54537.benoit.panizzon@imp.ch> Am Donnerstag, 30. September 2004 19.29 schrieben Sie: > You can create 3 contactgroups with corresponding timeperiods: > EVERYONE-WORKDAY > NOC-AFTERHOURS > SYSADMIN-AFTERHOURS > > > Hostgroup NETWORK: > Notify: EVERYONE-WORKDAY, NOC-AFTERHOURS > > Hostgroup SYSTEMS: > Notify: EVERYONE-WORKDAY, SYSADMIN-AFTERHOURS Hmm This does not seam to work as 'notification_perios' does not seem to be a valid keywork within a contact group... How did you solve that issue? Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Mon Oct 4 15:16:58 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 04 Oct 2004 09:16:58 -0400 Subject: Multiple hosts in services.cfg? In-Reply-To: <415DD5DA.9020809@op5.se> References: <415BF697.4070404@op5.se> <1096639544.4347.18.camel@pel> <415DD5DA.9020809@op5.se> Message-ID: <1096895818.4347.21.camel@pel> On Fri, 2004-10-01 at 18:10, Andreas Ericsson wrote: > > What does it take to test? 5 seconds? Maybe 10 if you're a slow typer. I > never said anything about it being mentioned in the documentation. Time to test random config option: 5 seconds Time to become psychic: ~12 eons. On the other hand, I guess a few hours to read through all the code :) I was actually mistaken. It *IS* documented. Its documented under time saving tips. Unfortunately, its not documented in the part that describes options for the service definition, which is what I tend to look at the most. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 15:37:28 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Oct 2004 15:37:28 +0200 Subject: Overleaping timeperiods and notification times In-Reply-To: <200410041404.54537.benoit.panizzon@imp.ch> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7380@dw-mail.dataway.com> <200410041404.54537.benoit.panizzon@imp.ch> Message-ID: <41615218.3040108@op5.se> Benoit Panizzon wrote: > Am Donnerstag, 30. September 2004 19.29 schrieben Sie: > >>You can create 3 contactgroups with corresponding timeperiods: >>EVERYONE-WORKDAY >>NOC-AFTERHOURS >>SYSADMIN-AFTERHOURS >> >> >>Hostgroup NETWORK: >>Notify: EVERYONE-WORKDAY, NOC-AFTERHOURS >> >>Hostgroup SYSTEMS: >>Notify: EVERYONE-WORKDAY, SYSADMIN-AFTERHOURS > > > Hmm > > This does not seam to work as 'notification_perios' does not seem to be a > valid keywork within a contact group... > > How did you solve that issue? > He probably didn't. Just give each contact her/his appropriate contact-period and set notification_period to 24x7 for the monitored objects (hosts and services). It will work magnificently. > Regards -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.janssen at gmail.com Mon Oct 4 16:04:14 2004 From: christian.janssen at gmail.com (Christian Janssen) Date: Mon, 4 Oct 2004 15:04:14 +0100 Subject: WAP Interface and NOCIA 6230 In-Reply-To: <42089.62.154.151.2.1096641958.squirrel@mf.homedns.org> References: <55138.80.185.189.68.1092929158.squirrel@ipx20164.ipxserver.de> <42089.62.154.151.2.1096641958.squirrel@mf.homedns.org> Message-ID: > > Is this a NOCIA Problem ore a NAGIOS Problem? > > It seems to be a change in Nokias WML-Parser. The one used in the Nokia > 6310 is an WML 1.1 compatible interpreter, in the Nokia 6230, a WML 2.0 > interpreter is used. I roughly tested WAP [wap over ssl] with * Nokia 6600 - NOT working (only start screen and about ;-() * Nokia 6100 - OK * no name ?? - OK * WAP simulator WinWAP - OK I just remember that one "subscreen" was not working well with all of them ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ralf.Wigand at rz.uni-karlsruhe.de Mon Oct 4 16:16:25 2004 From: Ralf.Wigand at rz.uni-karlsruhe.de (Ralf Wigand) Date: Mon, 4 Oct 2004 16:16:25 +0200 Subject: freshness checks threshold Message-ID: <5A71427437E8E8459E356079FEAC7D43D047@rzms-ex1.rz.uni-karlsruhe.de> hi! when I define a passive check and want to check if the passive check reported on the schedules times, I am using the following config: ... check_command check_missed_passive-check check_freshness 1 freshness_threshold 1800 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 ... So, my understanding is: passive check should send a result every 60 seconds (normal_check_interval), and if the result is missing for more then 1800 sec (freshness_threshold) do the check_missed_passive-check (as in check_command). Well, here is what the logfile says: Warning: The results of service 'xxxxxx' on host 'xxxxxx' are stale by 19 seconds (threshold=1800 seconds). I'm forcing an immediate check of the service. That is not exactly what I expected :-) Am I wrong? Is this a FAQ? I did not find any hints. Please help. ciao, ralf --- System Management, CA, User-Helpdesk c/o Computing Center, University of Karlsruhe --- You know the world is going crazy when the best golfer is a black guy, the Swiss hold the America's Cup, France is accusing the US of arrogance, and Germany doesn't want to go to war. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Mon Oct 4 16:20:31 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Mon, 04 Oct 2004 15:20:31 +0100 Subject: memory error In-Reply-To: <41612DE7.5030702@op5.se> References: <41611D5B.7080800@scarceskills.com> <41612DE7.5030702@op5.se> Message-ID: <41615C2F.7070705@scarceskills.com> Andreas, I have seen the complaints to do with the embedded perl interpreter, but I was under the impression that is only for Nagions 2.0 ? On top of that, like I said, this has been running without problems until recently. I have a feeling it is something I have switched on in the configuration - the problem is, I don't know where to start searching for a problem. As it is going now, I switched on 09:00 this morning, it was using 22%. Now, it's 15:20 and I am on 33%. Memory = 128 MB. Current checks = 128 active, 10 passive over 33 hosts. As for the PID ... it's just a number I typed in, I don't think you will easily see 12345 as a PID/PPID. Andreas Ericsson wrote: > Martinus Nel wrote: > >> Dear all, >> >> Recently I am experiencing the following: >> >> The monitoring server stop responding. Ping is OK. No other network >> connections works. Console and keyboard is dead. >> >> On screen message: >> >> Out of memory killed process 12345 (nagios) >> > > Recompile without the embedded perl interpreter. It's known to eat > memory at an alarming rate, and the suggested fixes so far are > ridiculous and not working. > >> that not being the real PID of course :) >> > > It's probably one of the child processes. > >> I have been running nagios 1.2 for about 3 weeks now. The first 2 >> weeks I had no such problem. >> >> Where do I start searching / fixing ? >> > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Mon Oct 4 16:38:01 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Mon, 4 Oct 2004 16:38:01 +0200 Subject: Overleaping timeperiods and notification times In-Reply-To: <41615218.3040108@op5.se> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7380@dw-mail.dataway.com> <200410041404.54537.benoit.panizzon@imp.ch> <41615218.3040108@op5.se> Message-ID: <200410041638.01758.benoit.panizzon@imp.ch> > He probably didn't. Just give each contact her/his appropriate > contact-period and set notification_period to 24x7 for the monitored > objects (hosts and services). It will work magnificently. Hi Andreas Unfortunately this wont work... Again the Problem: I have two Contacts: 'NOC' and 'SYS' I have two Objects (Hostgroups whatever). 'Routers' and 'Servers' What I want is this: Daytime: NOC and SYS get alle Notification from Routers and Servers. Night: NOC get's Notifications from 'Routers' but not from 'Servers'. Night: SYS get's Notifications from 'Servers' but not 'Routers'. So if I add a Contact and specify that it should get notifications during workhours, it won't get any notifications during nonworkhours.... (or is there a way to override that setting?) The only Solution I see right now is to enter every single person twice in contacts, once with a limitation to workhours and once without... But that's a bit messy as soon as you get many admins... Best would really be to be able to add notification periods to groups. Entering every group twice is not as much work as every person :-) Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 16:33:58 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Oct 2004 16:33:58 +0200 Subject: Multiple hosts in services.cfg? In-Reply-To: <1096895818.4347.21.camel@pel> References: <415BF697.4070404@op5.se> <1096639544.4347.18.camel@pel> <415DD5DA.9020809@op5.se> <1096895818.4347.21.camel@pel> Message-ID: <41615F56.4030901@op5.se> Sean Dilda wrote: > On Fri, 2004-10-01 at 18:10, Andreas Ericsson wrote: > > >>What does it take to test? 5 seconds? Maybe 10 if you're a slow typer. I >>never said anything about it being mentioned in the documentation. > > > Time to test random config option: 5 seconds > Time to become psychic: ~12 eons. > On the other hand, I guess a few hours to read through all the code :) > Use the indent program heavily. It turns Ethans very compact C-style into readable source-code almost like magic. > I was actually mistaken. It *IS* documented. Its documented under time > saving tips. Unfortunately, its not documented in the part that > describes options for the service definition, which is what I tend to > look at the most. > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bedouglas at earthlink.net Mon Oct 4 16:41:15 2004 From: bedouglas at earthlink.net (bruce) Date: Mon, 4 Oct 2004 07:41:15 -0700 Subject: managing/running applications on client servers.. Message-ID: <000601c4aa20$33f13e20$0301a8c0@Mesa.com> hi... we're looking for an app that can be used to run/manage aps within a network of client servers. the system will have a number of apps on a shared server. we'd like to be able to setup some kind of round robin approach and have the apps be run on the 1st available server, and to be able to monitor the results... does anyone have any ideas as to any apps that might be used to help with the managing/running of the apps on the client machines? in reviewing nagios, we're not sure this would be the best approach, but we're hopeful that someone might have ideas as to other approaches. we're looking for 'open source' solutions. thanks -bruce ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 16:40:53 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Oct 2004 16:40:53 +0200 Subject: memory error In-Reply-To: <41615C2F.7070705@scarceskills.com> References: <41611D5B.7080800@scarceskills.com> <41612DE7.5030702@op5.se> <41615C2F.7070705@scarceskills.com> Message-ID: <416160F5.5070704@op5.se> Martinus Nel wrote: > Andreas, > > I have seen the complaints to do with the embedded perl interpreter, but > I was under the impression that is only for Nagions 2.0 ? On top of > that, like I said, this has been running without problems until > recently. I have a feeling it is something I have switched on in the > configuration - the problem is, I don't know where to start searching > for a problem. > It's not. Nagios won't eat memory unless like that unless something is wrong with the code, and the only thing I can think of is the embedded perl interpreter. > As it is going now, I switched on 09:00 this morning, it was using 22%. > Now, it's 15:20 and I am on 33%. Memory = 128 MB. Current checks = 128 > active, 10 passive over 33 hosts. > Then perhaps some of your checks are hanging in non-interruptable mode? Are you using any plugins that you've rolled yourself? > As for the PID ... it's just a number I typed in, I don't think you will > easily see 12345 as a PID/PPID. > Unless you've fiddled with the kernel, pids are allocated in a round robin manner from 1 to 2^16 in which case 12345 is actually more likely to see than any higher number. Just a mathematical sidetrack. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Mon Oct 4 17:29:22 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Mon, 04 Oct 2004 11:29:22 -0400 Subject: freshness checks threshold In-Reply-To: <5A71427437E8E8459E356079FEAC7D43D047@rzms-ex1.rz.uni-karlsruhe.de> References: <5A71427437E8E8459E356079FEAC7D43D047@rzms-ex1.rz.uni-karlsruhe.de> Message-ID: <1096903762.4303.1.camel@pel> On Mon, 2004-10-04 at 10:16, Ralf Wigand wrote: > hi! > > when I define a passive check and want to check if the passive check > reported on the schedules times, I am using the following config: > > ... > check_command check_missed_passive-check > check_freshness 1 > freshness_threshold 1800 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 3 > normal_check_interval 1 > retry_check_interval 1 > ... > > So, my understanding is: > passive check should send a result every 60 seconds > (normal_check_interval), and if the result is missing for more then 1800 > sec (freshness_threshold) do the check_missed_passive-check (as in > check_command). > > Well, here is what the logfile says: > Warning: The results of service 'xxxxxx' on host 'xxxxxx' are stale by > 19 seconds (threshold=1800 seconds). I'm forcing an immediate check of > the service. I have a similar setup and things work the way I expect, and I get similar messages to what you have. I believe what it means is that the service is stale when it hasn't been updated in 1800 seconds, and its been stale for 19 seconds, which means that the service hasn't been updated in 1819 seconds. You should check the web interface details on that service to see when it says it last received an update. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Oct 4 17:46:39 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 4 Oct 2004 08:46:39 -0700 Subject: managing/running applications on client servers.. In-Reply-To: <000601c4aa20$33f13e20$0301a8c0@Mesa.com> References: <000601c4aa20$33f13e20$0301a8c0@Mesa.com> Message-ID: <20041004154638.GG15589@zippy.toger.us> On Mon, Oct 04, 2004 at 07:41:15AM -0700, bruce wrote: > hi... > > we're looking for an app that can be used to run/manage apps within a network Nagios isn't suitable for 'managing' an app in your context, but you might consider something like the following: Diogene87 http://freshmeat.net/projects/diogene87/ MyGrid http://freshmeat.net/projects/mygrid/ Queue http://freshmeat.net/projects/queue/ OpenMosix http://freshmeat.net/projects/openmosix/ -Jason Martin -- Come any closer and I'll use my magnet! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jhmartin at toger.us Mon Oct 4 17:47:29 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 4 Oct 2004 08:47:29 -0700 Subject: OpenMosix Message-ID: <20041004154729.GH15589@zippy.toger.us> Has anyone thought about running very-large-scale monitoring with Nagios on an OpenMosix cluster? Would it work? Thanks, -Jason Martin -- Come any closer and I'll use my magnet! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From johnwelch at kclife.com Mon Oct 4 18:24:16 2004 From: johnwelch at kclife.com (John C. Welch) Date: Mon, 04 Oct 2004 11:24:16 -0500 Subject: Check_ldap errors Message-ID: I'm getting some odd returns on check_ldap, namely could not pass arguments. The check_ldap entry in checkcommands is: define command{ define command{ command_name check_ldap command_line $USER1$/check_ldap -H $HOSTADDRESS$ -b $USER5$ } My resource.cfg entries are: $USER1$=/usr/local/nagios/libexec $USER3$=kclife $USER4$=COLOR $USER5$=dc=kclife,dc=net Pertinent host entry is: define host{ use generic-host host_name lime alias Lime address 172.16.1.2 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } Pertinent service detail is: define service{ use generic-service ; Name of service template to use host_name lime service_description LDAP Status is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 3 retry_check_interval 1 contact_groups xserve-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ldap } If I run the command manually, as /usr/local/nagios/libexec/check_ldap -H 172.16.1.2 -b dc=kclife,dc=net I get a normal return: LDAP ok - 0 seconds response time But when run via Nagios I get parse errors. Not sure what's up, since this was running correctly, no changes in Nagios, and I get a good return on the same command manually. I know it has to be something obvious, I'm just not seeing it. john -- John C. Welch CIS johnwelch at kclife.com (816) 753-7299 x8473 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jnichols at pbp.net Mon Oct 4 19:11:46 2004 From: jnichols at pbp.net (Jonathan Nichols) Date: Mon, 04 Oct 2004 10:11:46 -0700 Subject: multiple instances of nagios In-Reply-To: References: <20041001171816.M971-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <41618452.6080700@pbp.net> Jan Scholten wrote: > If someone knew he answer he will probably posted it.. but writing a > second mail just 4 hours later is.. not very kind?! > > I don't know the answer, cause i don't understand what you want to do, > so i keep my mouth shut.. maybe you should try to explain better.. i > don't get why you need multiple instances, and i didn't find any > explanation what you tried to make it work.. apart from copying s.th. > > You can restrict the view of services for differnet contact groups (if > you have different customers) so i really don't understand why you want > two seperate instances running.. and copying the directory with exactly > the same configuration seems to be a bit strange ?!? > I can understand why, as I may need to do the same thing. Company A needs monitoring, so does Company B - you only have 1 box to run Nagios off of, and you don't want Company A seeing what's up/down at Company B. :) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Mon Oct 4 20:31:29 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 4 Oct 2004 11:31:29 -0700 Subject: managing/running applications on client server s.. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC738C@dw-mail.dataway.com> Look into using "mon". It's very flexible and extensible and should fit whatever needs you may have. We're using it to monitor/restart backups and to auto-failover ISP links. Linux Virtual Server project is using it for heartbeat. I'm sure there are many other uses as well. -----Original Message----- From: bruce [mailto:bedouglas at earthlink.net] Sent: Monday, October 04, 2004 7:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] managing/running applications on client servers.. hi... we're looking for an app that can be used to run/manage aps within a network of client servers. the system will have a number of apps on a shared server. we'd like to be able to setup some kind of round robin approach and have the apps be run on the 1st available server, and to be able to monitor the results... does anyone have any ideas as to any apps that might be used to help with the managing/running of the apps on the client machines? in reviewing nagios, we're not sure this would be the best approach, but we're hopeful that someone might have ideas as to other approaches. we're looking for 'open source' solutions. thanks -bruce ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 20:52:35 2004 From: marc at ena.com (Marc Powell) Date: Mon, 4 Oct 2004 13:52:35 -0500 Subject: multiple instances of nagios Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BAD1@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jonathan Nichols Sent: Monday, October 04, 2004 12:12 PM To: Jan Scholten Cc: Mario Sergio Candian; Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] multiple instances of nagios > Jan Scholten wrote: > > > If someone knew he answer he will probably posted it.. but writing a > > second mail just 4 hours later is.. not very kind?! > > > > I don't know the answer, cause i don't understand what you want to do, > > so i keep my mouth shut.. maybe you should try to explain better.. i > > don't get why you need multiple instances, and i didn't find any > > explanation what you tried to make it work.. apart from copying s.th. > > > > You can restrict the view of services for differnet contact groups (if > > you have different customers) so i really don't understand why you > > want two seperate instances running.. and copying the directory with > > exactly the same configuration seems to be a bit strange ?!? > > > > I can understand why, as I may need to do the same thing. > > Company A needs monitoring, so does Company B - you only have 1 box to run > Nagios off of, and you don't want Company A seeing what's up/down at Company > B. This can be accomplished through proper use of contacts and contactgroups. With CGI Authorization enabled, login users can only see hosts and services which they are contacts for. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Mon Oct 4 21:06:51 2004 From: CWaters at jeld-wen.com (CWaters at jeld-wen.com) Date: Mon, 4 Oct 2004 12:06:51 -0700 Subject: OpenMosix Message-ID: Check out http://sentinix.org It's a linux distro centered around monitoring that has an openmosix kernel option. It includes Nagios, Cacti, Snort, Nessus etc as part of the distro. Although I am not running a cluster, I do know the option is there for it. Chris Waters -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Martin Sent: Monday, October 04, 2004 8:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] OpenMosix Has anyone thought about running very-large-scale monitoring with Nagios on an OpenMosix cluster? Would it work? Thanks, -Jason Martin -- Come any closer and I'll use my magnet! This message is PGP/MIME signed. -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Mon Oct 4 21:09:49 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 4 Oct 2004 12:09:49 -0700 Subject: OpenMosix Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC738D@dw-mail.dataway.com> You can test it out. There's a project called Sentinix, comes with Linux + Nagios + OpenMosix preconfigured bootable ISO. I don't have 10 spare computers, but it sounds like an interesting test. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Monday, October 04, 2004 8:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] OpenMosix Has anyone thought about running very-large-scale monitoring with Nagios on an OpenMosix cluster? Would it work? Thanks, -Jason Martin -- Come any closer and I'll use my magnet! This message is PGP/MIME signed. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Oct 4 21:34:30 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 4 Oct 2004 14:34:30 -0500 (CDT) Subject: Check_ldap errors In-Reply-To: References: Message-ID: <3339.134.244.169.17.1096918492.squirrel@134.244.169.17> > $USER5$=dc=kclife,dc=net Not sure how much Nagios is going to like trying to parse the above... Have you tried quoting it? Ie: $USER5$="dc=kclife,dc=net" Benny -- "Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes." -- .sig on Slashdot ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at plusthree.com Mon Oct 4 21:36:56 2004 From: aaron at plusthree.com (Aaron Ross) Date: Mon, 04 Oct 2004 15:36:56 -0400 Subject: Check_ldap errors In-Reply-To: References: Message-ID: <4161A658.1020300@plusthree.com> Can you post the parse errors you are getting? > define command{ > define command{ That's a typo in your email right? Aaron ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 4 22:31:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 04 Oct 2004 22:31:48 +0200 Subject: Overleaping timeperiods and notification times In-Reply-To: <200410041638.01758.benoit.panizzon@imp.ch> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7380@dw-mail.dataway.com> <200410041404.54537.benoit.panizzon@imp.ch> <41615218.3040108@op5.se> <200410041638.01758.benoit.panizzon@imp.ch> Message-ID: <4161B334.6090808@op5.se> Benoit Panizzon wrote: >>He probably didn't. Just give each contact her/his appropriate >>contact-period and set notification_period to 24x7 for the monitored >>objects (hosts and services). It will work magnificently. > > > Hi Andreas > > Unfortunately this wont work... > > Again the Problem: > > I have two Contacts: 'NOC' and 'SYS' > I have two Objects (Hostgroups whatever). 'Routers' and 'Servers' > > What I want is this: > > Daytime: NOC and SYS get alle Notification from Routers and Servers. > Night: NOC get's Notifications from 'Routers' but not from 'Servers'. > Night: SYS get's Notifications from 'Servers' but not 'Routers'. > > So if I add a Contact and specify that it should get notifications during > workhours, it won't get any notifications during nonworkhours.... (or is > there a way to override that setting?) > Oh. I thought the other way around.. Sorry. You could use escalations during daytime, and send NOC notifications from 'Servers' during workhours through the escalations and vice versa. If you do it this way you'd need four escalations. One for each hostgroup and contactgroup, and one combined for all services of all hosts in each hostgroup. NOC should NOT be mentioned as contacts for the hosts and services in the 'Servers' hostgroup by default, since they will get their notifications through the aforementioned escalations. > The only Solution I see right now is to enter every single person twice in > contacts, once with a limitation to workhours and once without... > You know you can use templates for contacts as well, right? I'm not sure how the web-interface will behave when contacts are only contacts through escalations. You'd have to try that first. If it doesn't work as expected, you'd still have to add them all twice. > But that's a bit messy as soon as you get many admins... > How many are 'many'? I'm sure you can do it rather quickly with a bit of cut'n paste, if worse comes to worst. > Best would really be to be able to add notification periods to groups. > Entering every group twice is not as much work as every person :-) > > Regards -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Mon Oct 4 22:42:42 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 05 Oct 2004 09:42:42 +1300 Subject: Nagios nrpe plugin + netsaint server In-Reply-To: References: Message-ID: As stated on the Website: Note: NRPE version 2.0 breaks backward compatability with NRPE 1.x clients/servers! So you must use the same Version on all hosts. Jan > Hi, > > Due to some historical reasons I need to setup the following > configuration: > Nagios serever/nagios nrpe plugin and nrpe server (from netsaint) on > remote > machines. > The problem is that, whatever I try to check I always get (on a remote > machine, with debug on): > Oct 4 13:48:36 the-delphi nrpe[27393]: Connection from x.x.x.x port > 60840 > Oct 4 13:48:36 the-delphi nrpe[27393]: Host address checks out ok > Oct 4 13:48:36 the-delphi nrpe[27393]: Handling the connection... > Oct 4 13:48:36 the-delphi nrpe[27393]: Data packet from client was too > short, bailing out... > Oct 4 13:48:36 the-delphi nrpe[27393]: Connection from x.x.x.x closed. > > However, if I install old nrpe-plugin (for netsaint) on the querying > host it > works sweet. > Are the netsaint/nagios nrpe protocols incompatible? > > Is there a way to set up that? > > I would prefer using nagios nrpe plugin because eventually we would like > to > migrate all our hosts to nagios (from netsaint). > > Kind regards > Pshemko > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mscandian at freebsdbrasil.com.br Mon Oct 4 19:20:15 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Mon, 4 Oct 2004 14:20:15 -0300 (BRT) Subject: multiple instances of nagios In-Reply-To: <41618452.6080700@pbp.net> References: <41618452.6080700@pbp.net> Message-ID: <20041004141652.T967-100000@cyberdine.freebsdbrasil.com.br> exactly! :) my configuration in Company A e.g (server1.companyA.com.br) (nagios.blabla.com.br/companyA) i will monitor DNS, Mysql; in server2.companyA.com.br i will monitor POP3 and SMTP; in companyB (nagios.blabla.com.br/companyB) (server1.companyB.com.br) i will monitor VNC and Mysql, in server2.companyB.com.br i will monitor Radius, POP3 and SMTP... do u know how i can do it? Mario Sergio On Mon, 4 Oct 2004, Jonathan Nichols wrote: > Jan Scholten wrote: > > > If someone knew he answer he will probably posted it.. but writing a > > second mail just 4 hours later is.. not very kind?! > > > > I don't know the answer, cause i don't understand what you want to do, > > so i keep my mouth shut.. maybe you should try to explain better.. i > > don't get why you need multiple instances, and i didn't find any > > explanation what you tried to make it work.. apart from copying s.th. > > > > You can restrict the view of services for differnet contact groups (if > > you have different customers) so i really don't understand why you want > > two seperate instances running.. and copying the directory with exactly > > the same configuration seems to be a bit strange ?!? > > > > I can understand why, as I may need to do the same thing. > > Company A needs monitoring, so does Company B - you only have 1 box to > run Nagios off of, and you don't want Company A seeing what's up/down at > Company B. > > :) > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.barber at tonservices.com Mon Oct 4 23:37:32 2004 From: scott.barber at tonservices.com (Scott Barber) Date: Mon, 04 Oct 2004 15:37:32 -0600 Subject: lame service dependency Message-ID: <4161C29C.3070105@tonservices.com> I've looked around and never found any details about an unusual error I'm getting: Warning: Ignoring lame service dependency (config file '/usr/local/nagios/etc/master_list.cfg', line 148) Not sure what "lame service dependency" means. Any guesses? Below is my config file: ##----------------------------------------------------------- ## This is the generic host config for the devices at the plazas define host { name plaza-hosts notifications_enabled 0 notification_interval 20 notification_period 24x7 notification_options d,u,r register 0 checks_enabled 0 ; Turns off just the hosts checks? max_check_attempts 1 ; Even if check_command is blank this must be set to 1 event_handler_enabled 0 ; We don't need to run anything for the hosts going down - don't care! flap_detection_enabled 0 ; We don't do no stinking flap crap process_perf_data 0 ; No performance data needed - turn off in nagios.cfg too retain_status_information 0 ; We don't care about hosts! retain_nonstatus_information 0 ; We don't care about hosts! } ## This is the generic service config for the devices at the plazas define service { name plaza-services check_command check_tcp!80!-t 20!-c 20!-w 20 service_description TCP max_check_attempts 5 ; Checks 5 times before saying it's down is_volatile 0 normal_check_interval 20 ; Time between regular checks retry_check_interval 5 ; Time between retries if not ok passive_checks_enabled 0 ; No remote checks here active_checks_enabled 1 ; All check are from Nagios itself parallelize_check 1 obsess_over_service 0 ; Turned off cuz we're not doing distributed monitoring check_freshness 0 ; Not needed cuz we're not doind passive monitoring notifications_enabled 0 event_handler_enabled 0 ; Nothing to run if service going up and down flap_detection_enabled 0 ; No flap crap! process_perf_data 0 ; No perf data needed retain_status_information 1 retain_nonstatus_information 1 check_period 24x7 contact_groups admin notification_interval 0 notification_period 24x7 register 0 } define service { name provider-services check_command check_ping!5000,50%!9000,75% service_description PING max_check_attempts 5 ; Checks 5 times before saying it's down is_volatile 0 normal_check_interval 20 ; Time between regular checks retry_check_interval 5 ; Time between retries if not ok passive_checks_enabled 0 ; No remote checks here active_checks_enabled 1 ; All check are from Nagios itself parallelize_check 1 obsess_over_service 0 ; Turned off cuz we're not doing distributed monitoring check_freshness 0 ; Not needed cuz we're not doind passive monitoring notifications_enabled 0 event_handler_enabled 0 ; Nothing to run if service going up and down flap_detection_enabled 0 ; No flap crap! process_perf_data 0 ; No perf data needed retain_status_information 1 retain_nonstatus_information 1 check_period 24x7 contact_groups admin notification_interval 0 notification_period 24x7 register 0 } ## This is the generic service config for the minibawls at stand-alone sites define service { name minibawls-services check_command check_http!-t 30!-c 30!-w 30 service_description HTTP max_check_attempts 5 ; Checks 5 times before saying it's down is_volatile 0 normal_check_interval 20 ; Time between regular checks retry_check_interval 5 ; Time between retries if not ok passive_checks_enabled 0 ; No remote checks here active_checks_enabled 1 ; All check are from Nagios itself parallelize_check 1 obsess_over_service 0 ; Turned off cuz we're not doing distributed monitoring check_freshness 0 ; Not needed cuz we're not doind passive monitoring notifications_enabled 0 event_handler_enabled 0 ; Nothing to run if service going up and down flap_detection_enabled 0 ; No flap crap! process_perf_data 0 ; No perf data needed retain_status_information 1 retain_nonstatus_information 1 check_period 24x7 contact_groups admin notification_interval 0 notification_period 24x7 register 0 } define hostgroup { hostgroup_name plaza-144 alias 144Stuff contact_groups admin members 144-PRO, 144-MB } ## Location ID #144 ## ---------- ## Provider define host { use plaza-hosts host_name 144-PRO alias 144-PRO address 10.254.106.129 } define service { use provider-services host_name 144-PRO service_description 144-PRO-SERVICE } ## ---------- ## ---------- ## Minibawls define host { use plaza-hosts host_name 144-MB alias 144-MB address 198.70.1.207 } define service { use minibawls-services host_name 144-MB service_description 144-MB-SERVICE } define hostdependency{ host_name 144-MB dependent_host_name 144-PRO notification_failure_criteria d } define servicedependency { dependent_host_name 144-PRO dependent_service_description 144-PRO-SERVICE host_name 144-MB service_description 144-MB-SERVICE } ## ---------- ## -------------------------- -- Scott Barber TON Services, Inc. x4572 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Mon Oct 4 23:46:19 2004 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 05 Oct 2004 10:46:19 +1300 Subject: multiple instances of nagios In-Reply-To: <20041004141652.T967-100000@cyberdine.freebsdbrasil.com.br> References: <20041004141652.T967-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <1096926379.10843.41.camel@titan.fx.net.nz> My guess is that nagios 2 with it's service groupings will be able to handle this. Nag1 seems to do a reasonable job of customer partitioning on a host basis through contactgroup/hostgroup hacking. It's my assumption (i.e on my todo) that the servicegroup feature in Nag2 will allow customer partition on a per service basis. jamie On Tue, 2004-10-05 at 06:20, Mario Sergio Candian wrote: > exactly! :) > > my configuration in Company A e.g (server1.companyA.com.br) > (nagios.blabla.com.br/companyA) i will monitor DNS, Mysql; in > server2.companyA.com.br i will monitor POP3 and SMTP; in companyB > (nagios.blabla.com.br/companyB) (server1.companyB.com.br) i will monitor > VNC and Mysql, in server2.companyB.com.br i will monitor Radius, POP3 and > SMTP... > > do u know how i can do it? > > Mario Sergio > > On Mon, 4 Oct 2004, Jonathan Nichols wrote: > > > Jan Scholten wrote: > > > > > If someone knew he answer he will probably posted it.. but writing a > > > second mail just 4 hours later is.. not very kind?! > > > > > > I don't know the answer, cause i don't understand what you want to do, > > > so i keep my mouth shut.. maybe you should try to explain better.. i > > > don't get why you need multiple instances, and i didn't find any > > > explanation what you tried to make it work.. apart from copying s.th. > > > > > > You can restrict the view of services for differnet contact groups (if > > > you have different customers) so i really don't understand why you want > > > two seperate instances running.. and copying the directory with exactly > > > the same configuration seems to be a bit strange ?!? > > > > > > > I can understand why, as I may need to do the same thing. > > > > Company A needs monitoring, so does Company B - you only have 1 box to > > run Nagios off of, and you don't want Company A seeing what's up/down at > > Company B. > > > > :) > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at tany.com Tue Oct 5 01:16:19 2004 From: tim at tany.com (Tim Palmer) Date: Mon, 04 Oct 2004 19:16:19 -0400 Subject: multiple instances of nagios In-Reply-To: <20041004141652.T967-100000@cyberdine.freebsdbrasil.com.br> References: <41618452.6080700@pbp.net> <20041004141652.T967-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <6.1.2.0.2.20041004184333.02cd7648@mail.tany.com> If CompanyA has contactgroup A with Contacts 1, 2 and 3, and the hostgroups/services related to CompanyA are configured to use CompanyA's contactgroup, when someone logs in as Contacts 1, 2 or 3, they will only see CompanyA's hosts/hostgroups/services. As long as none of CompanyB's contacts are in any of CompanyA's contactgroups (or in cgi.cfg authentication statements), they will not see CompanyA's information. Everyone uses the same URL, with no /company[a-z] - its all determined by who they login as. This is a long way of saying what Jan wrote, which is also a nicer way of saying that this is all in the documentation. Might take a little looking and/or thinking, but its there. So, you do not need multiple Nagios - you need properly planned and configured contacts, contactgroups, hostgroups, etc. tim At 01:20 PM 10/4/2004, Mario Sergio Candian wrote: >exactly! :) > >my configuration in Company A e.g (server1.companyA.com.br) >(nagios.blabla.com.br/companyA) i will monitor DNS, Mysql; in >server2.companyA.com.br i will monitor POP3 and SMTP; in companyB >(nagios.blabla.com.br/companyB) (server1.companyB.com.br) i will monitor >VNC and Mysql, in server2.companyB.com.br i will monitor Radius, POP3 and >SMTP... > >do u know how i can do it? > >Mario Sergio > >On Mon, 4 Oct 2004, Jonathan Nichols wrote: > > > Jan Scholten wrote: > > > > > If someone knew he answer he will probably posted it.. but writing a > > > second mail just 4 hours later is.. not very kind?! > > > > > > I don't know the answer, cause i don't understand what you want to do, > > > so i keep my mouth shut.. maybe you should try to explain better.. i > > > don't get why you need multiple instances, and i didn't find any > > > explanation what you tried to make it work.. apart from copying s.th. > > > > > > You can restrict the view of services for differnet contact groups (if > > > you have different customers) so i really don't understand why you want > > > two seperate instances running.. and copying the directory with exactly > > > the same configuration seems to be a bit strange ?!? > > > > > > > I can understand why, as I may need to do the same thing. > > > > Company A needs monitoring, so does Company B - you only have 1 box to > > run Nagios off of, and you don't want Company A seeing what's up/down at > > Company B. > > > > :) > > > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 02:13:35 2004 From: marc at ena.com (Marc Powell) Date: Mon, 4 Oct 2004 19:13:35 -0500 Subject: multiple instances of nagios Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BB0A@mismail.ena.com> As has been stated numerous times, this can be accomplished with Nagios 1.x with only one instance of Nagios and using just one URL. They'll just log in with different usernames. LOGIN USERS ONLY SEE HOSTS AND SERVICES THAT THEY ARE AUTHORIZED CONTACTS FOR. I don't know how to be any more clear than that. Define all the hosts for CompanyA. Create a hostgroup containing all the hosts for CompanyA. Make CompanyAGroup the contact_group for that hostgroup. Define all the services for CompanyA. Make CompanyAGroup the contact_group for those services. Make a contact called UserA. Define its notification timeperiod to be 'none' or make it actually send email somewhere, your choice. Make UserA a member of contact_group CompanyAGroup. Create an htaccess password for UserA. UserA goes to http://nagios.blahbla.com.br/ logs in and sees only hosts and services for CompanyA. If you want multiple logins for this company, create UserA1, UserA2, foobar1, foobar99 and make them all members of contact_group CompanyAGroup. Define all the hosts for CompanyB. Create a hostgroup containing all the hosts for CompanyB. Make CompanyBGroup the contact_group for that hostgroup. Define all the services for CompanyB. Make CompanyBGroup the contact_group for those services. Make a contact called UserB. Define its notification timeperiod to be 'none' or make it actually send email somewhere, your choice. Make UserB a member of contact_group CompanyBGroup. Create an htaccess password for UserB. UserB goes to http://nagios.blahbla.com.br/ logs in and sees only hosts and services for CompanyB. If you want multiple logins for this company, create Userb1, Userb2, foobar1, foobar99 and make them all members of contact_group CompanyBGroup. Yes, contacts can be authorized to see both groups easily. Etc, etc, etc. That's it in a nutshell. I know it works as advertised because I do it myself. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Mario Sergio Candian > Sent: Monday, October 04, 2004 12:20 PM > To: Jonathan Nichols > Cc: Jan Scholten; Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] multiple instances of nagios > > > exactly! :) > > my configuration in Company A e.g (server1.companyA.com.br) > (nagios.blabla.com.br/companyA) i will monitor DNS, Mysql; in > server2.companyA.com.br i will monitor POP3 and SMTP; in companyB > (nagios.blabla.com.br/companyB) (server1.companyB.com.br) i will monitor > VNC and Mysql, in server2.companyB.com.br i will monitor Radius, POP3 and > SMTP... > > do u know how i can do it? > > Mario Sergio > > On Mon, 4 Oct 2004, Jonathan Nichols wrote: > > > Jan Scholten wrote: > > > > > If someone knew he answer he will probably posted it.. but writing a > > > second mail just 4 hours later is.. not very kind?! > > > > > > I don't know the answer, cause i don't understand what you want to do, > > > so i keep my mouth shut.. maybe you should try to explain better.. i > > > don't get why you need multiple instances, and i didn't find any > > > explanation what you tried to make it work.. apart from copying s.th. > > > > > > You can restrict the view of services for differnet contact groups (if > > > you have different customers) so i really don't understand why you > want > > > two seperate instances running.. and copying the directory with > exactly > > > the same configuration seems to be a bit strange ?!? > > > > > > > I can understand why, as I may need to do the same thing. > > > > Company A needs monitoring, so does Company B - you only have 1 box to > > run Nagios off of, and you don't want Company A seeing what's up/down at > > Company B. > > > > :) > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Tue Oct 5 04:57:52 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 5 Oct 2004 10:57:52 +0800 Subject: Monitoring SMB shares? In-Reply-To: References: Message-ID: <20041005025752.GA32556@quex.org> On Mon, Oct 04, 2004 at 10:24:45AM +0200, Xavier wrote: > After a undetected incident this weekend, our management asked to > monitor something special: > > A windows client copies files to a SMB share (W2K server). > Once processed by another application, files are removed. > The client is a "blackbox" for us, so we would like to be notified > when no new files are stored on the share. > > Question: how? Possible? This should be pretty easy to do with smbclient from Samba and a bit of scripting. The only issue I think you're likely to run into is if the server requires encrypted connections. Our 2k3 domain controllers require this so I can't connect to them from the Linux machines, but the 2k3 workstations are fine. I did read somewhere about the CIFS driver supporting this stuff. You could also mount the share using smbfs or cifs, and then just check the files with ls or expand a shell glob. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Tue Oct 5 06:41:24 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 5 Oct 2004 14:41:24 +1000 Subject: Monitoring SMB shares? In-Reply-To: References: Message-ID: <20041005044122.GA215@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Mon, Oct 04, 2004 at 08:46:05PM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 1 > Date: Tue, 5 Oct 2004 10:57:52 +0800 > From: nagios at mm.quex.org > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring SMB shares? > > On Mon, Oct 04, 2004 at 10:24:45AM +0200, Xavier wrote: > > > After a undetected incident this weekend, our management asked to > > monitor something special: > > > > A windows client copies files to a SMB share (W2K server). > > Once processed by another application, files are removed. > > The client is a "blackbox" for us, so we would like to be notified > > when no new files are stored on the share. > > > > Question: how? Possible? > .. snip ... Yes this is possible and even easy with the caveats noted below. Prob the way to go is via a language that supports access to libsmbclient (such as Perl via a CPAN module whose name escapes me; other languages such as Python prob have bindings too). This lets you perform the SMB equivalent of a stat() (it may even be called that in the Perl module) on an exported file or directory. That said, I am not sure if there is a libsmbclient shared object that handles the extra requirements of 2kn or XP. > bit of scripting. The only issue I think you're likely to run > into is if the server requires encrypted connections. Our 2k3 > domain controllers require this so I can't connect to them from > the Linux machines, but the 2k3 workstations are fine. I did > read somewhere about the CIFS driver supporting this stuff. > You need support for kerberos authentication in your client for this to work (plus you need all the parephenalia [machine accounts] set up). smbclient from Samba 3.0 has this, but I haven't got it going. There is quite a bit of Kerb stuff to get ones head around. > You could also mount the share using smbfs or cifs, and then > just check the files with ls or expand a shell glob. > > Provided these file systems support 2k3 etc. > > --__--__-- > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > End of Nagios-users Digest Yours sincerely. -- Stanley Hopcroft NEIGHBORHOOD BULLY (Words and Music by Bob Dylan) Well, the neighborhood bully, he's just one man, His enemies say he's on their land. They got him outnumbered about a million to one, He got no place to escape to, no place to run. He's the neighborhood bully. The neighborhood bully just lives to survive, He's criticized and condemned for being alive. He's not supposed to fight back, he's supposed to have thick skin, He's supposed to lay down and die when his door is kicked in. He's the neighborhood bully. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulk at world2web.com Tue Oct 5 07:31:12 2004 From: atulk at world2web.com (Atul Kamat) Date: Tue, 5 Oct 2004 11:01:12 +0530 (IST) Subject: Nagios nrpe on Remote host In-Reply-To: References: Message-ID: <40395.192.168.0.7.1096954272.squirrel@mail2.world2web.com> Hi Vincent, I`m stuck with the same error....i tried recompiling nrpe and reinstalling nagios-plugins from source on the remote machine but to no avail.Followed all the things u mentioned very closely. The error when i run the command "/usr/local/nagios/libexec/check_nrpe -H nyx -n -c check_ssh -a nyx" is CHECK_NRPE: Error receiving data from daemon. In the nagios interface i get "(No output returned from plugin)" Regards Atul Kamat Linux Network Engineer, World2Web Soft Technologies Private Ltd, 26, Koramangala Industrial Layout, Bangalore - 560095, INDIA Phone :98860 24705 e-mail: atulk at world2web.com > Atul, > I guess you should use: > /usr/local/nagios/libexec/check_nrpe -H nyx -n -c check_ssh -a nyx > > To pass arguments, NRPE should be compiled with correct option > (--enable-command-args), your nrpe conf file should have > "dont_blame_nrpe=1", and your nrpe.conf shoud have this line: > command[check_ssh]=/usr/local/nagios/libexec/check_ssh $ARG1$ > > In your checkcommands.cfg, you can use: > > define command { > command_name check_nrpe > command_line $USER1$/check_nrpe -n -t 10 -H > $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ > } > > Regards, > > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East IT Services > Texas Instruments France > > E-Mail: v-alloo at ti.com > Phone: +33 4 93 22 26 97 > Mobile: +33 6 82 13 00 80 > >> -----Original Message----- >> From: Atul Kamat [mailto:atulk at world2web.com] >> Sent: Thursday, September 30, 2004 12:49 PM >> To: Alloo, Vincent >> Cc: atulk at world2web.com; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host >> >> Hi Vincent! >> >> The xinetd -nrpe file was exactly the same..so i tried running nrpe as > a >> daemon..tried telnetting from the nagios host inot the remote machine > and >> it was successful after i fixed the nrpe.cfg file . >> Now my nagios web interface gives the following error >> >> CHECK_NRPE: Error receiving data from daemon. >> >> if i try to run check_nrpe from the command prompt with something like >> >> /usr/local/nagios/libexec/check_nrpe -H nyx -n >> /usr/local/nagios/libexec/check_ssh -H nyx >> >> i get the same error. >> >> Help wanted!! >> >> Atul Kamat >> Linux Network Engineer, >> World2Web Soft Technologies Private Ltd, >> 26, Koramangala Industrial Layout, >> Bangalore - 560095, >> INDIA >> Phone :98860 24705 >> e-mail: atulk at world2web.com >> > Atul, >> > I don't know if it can help, but here my nrpe xinetd conf: >> > >> > % cat /etc/xinetd.d/nrpe >> > # default: on >> > # description: The rshd server is the server for the rcmd(3) routine >> > and, \ >> > # consequently, for the rsh(1) program. The server provides \ >> > # remote execution facilities with authentication based on \ >> > # privileged port numbers from trusted hosts. >> > service nrpe >> > { >> > flags = REUSE >> > disable = no >> > socket_type = stream >> > wait = no >> > user = nagios >> > log_on_failure += USERID >> > server = /apps/nagios/nrpe/nrpe >> > server_args = -c /db/sysadmin/nagios/nrpe.cfg >> > --inetd >> > } >> > >> > Regards, >> > >> > Vincent Alloo >> > TI France Design Systems Operations Manager >> > Europe and Middle East IT Services >> > Texas Instruments France >> > >> > E-Mail: v-alloo at ti.com >> > Phone: +33 4 93 22 26 97 >> > Mobile: +33 6 82 13 00 80 >> >> -----Original Message----- >> >> From: Atul Kamat [mailto:atulk at world2web.com] >> >> Sent: Wednesday, September 29, 2004 2:15 PM >> >> To: Alloo, Vincent >> >> Cc: nagios-users at lists.sourceforge.net >> >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host >> >> >> >> Hi Vincent! >> >> >> >> I made the change as u per your advice . But i`ve got a feeling > that >> > the >> >> preoblem is with the xinetd configuration on the remote host.if i >> > check >> >> the /var/log/messages i get the following error: >> >> >> >> Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: >> > Atul;nyx;/dev/hda1 >> >> Free Space;CRITICAL;notify-by-epager;Connection refused by host >> >> Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: >> > Atul;nyx;/dev/hda1 >> >> Free Space;CRITICAL;notify-by-email;Connection refused by host >> >> >> >> The following is what`s in the /etc/xinetd.d/nrpe file >> >> >> >> # default:on >> >> # description:NRPE >> >> service nrpe >> >> { >> >> flags = REUSE >> >> socket_type= stream >> >> wait = no >> >> user = nagios >> >> server = /usr/local/nagios/nrpe >> >> server_args = -i /usr/local/nagios/nrpe.cfg >> >> log_on_failure+=USERID >> >> disable = no >> >> } >> >> I also tried changing the user to root...but that didnt help >> > either.The >> >> user nagios exists on the machine >> >> >> >> I havent made ne changes to the nrpe.cfg file except enabled > debugging >> > . >> >> Shud i make ne changed to the nrpe.cfg file?? >> >> >> >> the following are the excerpts of the nrpe.cfg file on the remote > host >> >> # ALLOWED HOST ADDRESSES >> >> # This is a comma-delimited list of IP address of hosts that are >> > allowed >> >> # to talk to the NRPE daemon. >> >> # >> >> # NOTE: The daemon only does rudimentary checking of the client's > IP >> >> # address. I would highly recommend adding entries in your >> >> # /etc/hosts.allow file to allow only the specified host to > connect >> >> # to the port you are running this daemon on. >> >> # >> >> # NOTE: This option is ignored if NRPE is running under either > inetd >> > or >> >> xinetd >> >> >> >> allowed_hosts=127.0.0.1 >> >> >> >> does this thing have nething to do with the problem .. >> >> Please Advice >> >> >> >> Atul Kamat >> >> Linux Network Engineer, >> >> World2Web Soft Technologies Private Ltd, >> >> 26, Koramangala Industrial Layout, >> >> Bangalore - 560095, >> >> INDIA >> >> Phone :98860 24705 >> >> e-mail: atulk at world2web.com >> >> >> >> >> >> > You should use: >> >> > define command{ >> >> > command_name check_nrpe >> >> > command_line /usr/local/nagios/libexec/check_nrpe -H >> >> > $HOSTADDRESS$ -c $ARG1$ >> >> > } >> >> > >> >> > Notice the -H ... >> >> > >> >> > Regards, >> >> > >> >> > Vincent Alloo >> >> > TI France Design Systems Operations Manager >> >> >> >> > Europe and Middle East IT Services >> >> > Texas Instruments France >> >> > >> >> > E-Mail: v-alloo at ti.com >> >> > Phone: +33 4 93 22 26 97 >> >> > Mobile: +33 6 82 13 00 80 >> >> >> -----Original Message----- >> >> >> From: nagios-users-admin at lists.sourceforge.net >> > [mailto:nagios-users- >> >> admin at lists.sourceforge.net] On Behalf Of Atul Kamat >> >> >> Sent: Wednesday, September 29, 2004 7:57 AM >> >> >> To: nagios-users at lists.sourceforge.net >> >> >> Subject: [Nagios-users] Nagios nrpe on Remote host >> >> >> Hi! >> >> >> I installed and configured nagios to monitor our servers and > it >> > took >> >> > me >> >> >> a whole day thanx to an error in the documentation. >> >> >> I installed a utility called NRPE so that i cud execute > commands >> > on >> >> >> remote machine.i setup xinetd and installed the plugins on the >> > remote >> >> host as well.Below are the excerpts of the::: >> >> >> services.cfg file: >> >> >> define service{ >> >> >> use generic-service > ; Name >> >> > of service >> >> >> template to use >> >> >> host_name nyx >> >> >> service_description /dev/hda1 Free Space >> >> >> is_volatile 0 >> >> >> check_period 24x7 >> >> >> max_check_attempts 3 >> >> >> normal_check_interval 5 >> >> >> retry_check_interval 1 >> >> >> contact_groups linux-admins >> >> >> notification_interval 120 >> >> >> notification_period 24x7 >> >> >> notification_options w,u,c,r >> >> >> check_command check_nrpe!check_disk1 >> >> >> } >> >> >> checkcommands.cfg file:: >> >> >> define command{ >> >> >> command_name check_nrpe >> >> >> command_line usr/local/nagios/libexec/check_nrpe >> >> > $HOSTADDRESS$ >> >> >> -c $ARG1$ >> >> >> } >> >> >> nrpe.cfg file on the remote machine:: >> >> >> #command i want to execute >> >> >> command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 > -c >> > 10 >> >> > -p >> >> >> /dev/hda1 >> >> >> could neone tell me what`s going wrong. >> >> >> Nagios display the disk space data of the local machine rather > than >> >> > the >> >> >> remote machine. >> >> >> Thanx, >> >> >> Warm Regards >> >> >> Atul Kamat >> >> >> Linux Network Engineer, >> >> >> World2Web Soft Technologies Private Ltd, >> >> >> 26, Koramangala Industrial Layout, >> >> >> Bangalore - 560095, >> >> >> INDIA >> >> >> Phone :98860 24705 >> >> >> e-mail: atulk at world2web.com >> >> >> ------------------------------------------------------- >> >> >> This SF.net email is sponsored by: IT Product Guide on >> >> > ITManagersJournal >> >> >> Use IT products in your business? Tell us what you think of > them. >> > Give >> >> > us >> >> >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find >> > out >> >> more >> >> >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> >> >> _______________________________________________ >> >> >> Nagios-users mailing list >> >> >> Nagios-users at lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> ::: 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: IT Product Guide on >> > ITManagersJournal >> >> Use IT products in your business? Tell us what you think of them. > Give >> >> us >> >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find >> > out >> >> more >> >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl >> >> > _______________________________________________ >> >> > Nagios-users mailing list >> >> > Nagios-users at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > ::: 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: IT Product Guide on > ITManagersJournal >> > Use IT products in your business? Tell us what you think of them. > Give >> us >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find > out >> > more >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcflei at gmx.de Tue Oct 5 07:41:54 2004 From: mcflei at gmx.de (Marcus Fleige) Date: Tue, 05 Oct 2004 07:41:54 +0200 Subject: WAP Interface and NOCIA 6230 In-Reply-To: <42089.62.154.151.2.1096641958.squirrel@mf.homedns.org> References: <55138.80.185.189.68.1092929158.squirrel@ipx20164.ipxserver.de> <42089.62.154.151.2.1096641958.squirrel@mf.homedns.org> Message-ID: <41623422.2020508@gmx.de> Hi again, > I just remember that one "subscreen" was not working well with all of > them And exactly that has been my problem, i was unable to see unsolved problems or acknowledge them. however, i couldn't believe my brand new mobile should not be able to browse the WAP interface. So, after completely resegnating, I tried a quick & dirty hack of the statuswml.c. After setting the WML-Version in document_header() from WML 1.1 to WML 2.0 and recompiling, i copied the new statuswml.cgi to a new statuswml2.cgi in the CGI-Path of Nagios. Voila: After that, i was able to browse the WAP interface without any problems, even though the links in the Document still point to the original statuswml.cgi... So, after all, it really seems to be a problem with the WAP Implementation of the Nokia 6230, as it seems not to be downwards compatible to WAP 1.1. so long, Marcus -- file deletion is murder! -- file deletion is murder! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulk at world2web.com Tue Oct 5 08:10:12 2004 From: atulk at world2web.com (Atul Kamat) Date: Tue, 5 Oct 2004 11:40:12 +0530 (IST) Subject: Nagios nrpe on Remote host Message-ID: <41594.192.168.0.7.1096956612.squirrel@mail2.world2web.com> Hi Vincent, I`m stuck with the same error....i tried recompiling nrpe and reinstalling nagios-plugins from source on the remote machine but to no avail.Followed all the things u mentioned very closely. The error when i run the command "/usr/local/nagios/libexec/check_nrpe -H nyx -n -c check_ssh -a nyx" is CHECK_NRPE: Error receiving data from daemon. In the nagios interface i get "(No output returned from plugin)" Regards Atul Kamat Linux Network Engineer, World2Web Soft Technologies Private Ltd, 26, Koramangala Industrial Layout, Bangalore - 560095, INDIA Phone :98860 24705 e-mail: atulk at world2web.com > Atul, > I guess you should use: > /usr/local/nagios/libexec/check_nrpe -H nyx -n -c check_ssh -a nyx > > To pass arguments, NRPE should be compiled with correct option > (--enable-command-args), your nrpe conf file should have > "dont_blame_nrpe=1", and your nrpe.conf shoud have this line: > command[check_ssh]=/usr/local/nagios/libexec/check_ssh $ARG1$ > > In your checkcommands.cfg, you can use: > > define command { > command_name check_nrpe > command_line $USER1$/check_nrpe -n -t 10 -H > $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ > } > > Regards, > > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East IT Services > Texas Instruments France > > E-Mail: v-alloo at ti.com > Phone: +33 4 93 22 26 97 > Mobile: +33 6 82 13 00 80 > >> -----Original Message----- >> From: Atul Kamat [mailto:atulk at world2web.com] >> Sent: Thursday, September 30, 2004 12:49 PM >> To: Alloo, Vincent >> Cc: atulk at world2web.com; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host >> >> Hi Vincent! >> >> The xinetd -nrpe file was exactly the same..so i tried running nrpe as > a >> daemon..tried telnetting from the nagios host inot the remote machine > and >> it was successful after i fixed the nrpe.cfg file . >> Now my nagios web interface gives the following error >> >> CHECK_NRPE: Error receiving data from daemon. >> >> if i try to run check_nrpe from the command prompt with something like >> >> /usr/local/nagios/libexec/check_nrpe -H nyx -n >> /usr/local/nagios/libexec/check_ssh -H nyx >> >> i get the same error. >> >> Help wanted!! >> >> Atul Kamat >> Linux Network Engineer, >> World2Web Soft Technologies Private Ltd, >> 26, Koramangala Industrial Layout, >> Bangalore - 560095, >> INDIA >> Phone :98860 24705 >> e-mail: atulk at world2web.com >> > Atul, >> > I don't know if it can help, but here my nrpe xinetd conf: >> > >> > % cat /etc/xinetd.d/nrpe >> > # default: on >> > # description: The rshd server is the server for the rcmd(3) routine and, \ >> > # consequently, for the rsh(1) program. The server provides \ # remote execution facilities with authentication based on \ # privileged port numbers from trusted hosts. >> > service nrpe >> > { >> > flags = REUSE >> > disable = no >> > socket_type = stream >> > wait = no >> > user = nagios >> > log_on_failure += USERID >> > server = /apps/nagios/nrpe/nrpe >> > server_args = -c /db/sysadmin/nagios/nrpe.cfg >> > --inetd >> > } >> > >> > Regards, >> > >> > Vincent Alloo >> > TI France Design Systems Operations Manager >> > Europe and Middle East IT Services >> > Texas Instruments France >> > >> > E-Mail: v-alloo at ti.com >> > Phone: +33 4 93 22 26 97 >> > Mobile: +33 6 82 13 00 80 >> >> -----Original Message----- >> >> From: Atul Kamat [mailto:atulk at world2web.com] >> >> Sent: Wednesday, September 29, 2004 2:15 PM >> >> To: Alloo, Vincent >> >> Cc: nagios-users at lists.sourceforge.net >> >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host >> >> >> >> Hi Vincent! >> >> >> >> I made the change as u per your advice . But i`ve got a feeling > that >> > the >> >> preoblem is with the xinetd configuration on the remote host.if i >> > check >> >> the /var/log/messages i get the following error: >> >> >> >> Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: >> > Atul;nyx;/dev/hda1 >> >> Free Space;CRITICAL;notify-by-epager;Connection refused by host Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: >> > Atul;nyx;/dev/hda1 >> >> Free Space;CRITICAL;notify-by-email;Connection refused by host >> >> >> >> The following is what`s in the /etc/xinetd.d/nrpe file >> >> >> >> # default:on >> >> # description:NRPE >> >> service nrpe >> >> { >> >> flags = REUSE >> >> socket_type= stream >> >> wait = no >> >> user = nagios >> >> server = /usr/local/nagios/nrpe >> >> server_args = -i /usr/local/nagios/nrpe.cfg >> >> log_on_failure+=USERID >> >> disable = no >> >> } >> >> I also tried changing the user to root...but that didnt help >> > either.The >> >> user nagios exists on the machine >> >> >> >> I havent made ne changes to the nrpe.cfg file except enabled > debugging >> > . >> >> Shud i make ne changed to the nrpe.cfg file?? >> >> >> >> the following are the excerpts of the nrpe.cfg file on the remote > host >> >> # ALLOWED HOST ADDRESSES >> >> # This is a comma-delimited list of IP address of hosts that are >> > allowed >> >> # to talk to the NRPE daemon. >> >> # >> >> # NOTE: The daemon only does rudimentary checking of the client's > IP >> >> # address. I would highly recommend adding entries in your # /etc/hosts.allow file to allow only the specified host to > connect >> >> # to the port you are running this daemon on. >> >> # >> >> # NOTE: This option is ignored if NRPE is running under either > inetd >> > or >> >> xinetd >> >> >> >> allowed_hosts=127.0.0.1 >> >> >> >> does this thing have nething to do with the problem .. >> >> Please Advice >> >> >> >> Atul Kamat >> >> Linux Network Engineer, >> >> World2Web Soft Technologies Private Ltd, >> >> 26, Koramangala Industrial Layout, >> >> Bangalore - 560095, >> >> INDIA >> >> Phone :98860 24705 >> >> e-mail: atulk at world2web.com >> >> >> >> >> >> > You should use: >> >> > define command{ >> >> > command_name check_nrpe >> >> > command_line /usr/local/nagios/libexec/check_nrpe -H >> >> > $HOSTADDRESS$ -c $ARG1$ >> >> > } >> >> > >> >> > Notice the -H ... >> >> > >> >> > Regards, >> >> > >> >> > Vincent Alloo >> >> > TI France Design Systems Operations Manager >> >> >> >> > Europe and Middle East IT Services >> >> > Texas Instruments France >> >> > >> >> > E-Mail: v-alloo at ti.com >> >> > Phone: +33 4 93 22 26 97 >> >> > Mobile: +33 6 82 13 00 80 >> >> >> -----Original Message----- >> >> >> From: nagios-users-admin at lists.sourceforge.net >> > [mailto:nagios-users- >> >> admin at lists.sourceforge.net] On Behalf Of Atul Kamat >> >> >> Sent: Wednesday, September 29, 2004 7:57 AM >> >> >> To: nagios-users at lists.sourceforge.net >> >> >> Subject: [Nagios-users] Nagios nrpe on Remote host >> >> >> Hi! >> >> >> I installed and configured nagios to monitor our servers and > it >> > took >> >> > me >> >> >> a whole day thanx to an error in the documentation. >> >> >> I installed a utility called NRPE so that i cud execute > commands >> > on >> >> >> remote machine.i setup xinetd and installed the plugins on the >> > remote >> >> host as well.Below are the excerpts of the::: >> >> >> services.cfg file: >> >> >> define service{ >> >> >> use generic-service > ; Name >> >> > of service >> >> >> template to use >> >> >> host_name nyx >> >> >> service_description /dev/hda1 Free Space >> >> >> is_volatile 0 >> >> >> check_period 24x7 >> >> >> max_check_attempts 3 >> >> >> normal_check_interval 5 >> >> >> retry_check_interval 1 >> >> >> contact_groups linux-admins >> >> >> notification_interval 120 >> >> >> notification_period 24x7 >> >> >> notification_options w,u,c,r >> >> >> check_command check_nrpe!check_disk1 >> >> >> } >> >> >> checkcommands.cfg file:: >> >> >> define command{ >> >> >> command_name check_nrpe >> >> >> command_line usr/local/nagios/libexec/check_nrpe >> >> > $HOSTADDRESS$ >> >> >> -c $ARG1$ >> >> >> } >> >> >> nrpe.cfg file on the remote machine:: >> >> >> #command i want to execute >> >> >> command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 > -c >> > 10 >> >> > -p >> >> >> /dev/hda1 >> >> >> could neone tell me what`s going wrong. >> >> >> Nagios display the disk space data of the local machine rather > than >> >> > the >> >> >> remote machine. >> >> >> Thanx, >> >> >> Warm Regards >> >> >> Atul Kamat >> >> >> Linux Network Engineer, >> >> >> World2Web Soft Technologies Private Ltd, >> >> >> 26, Koramangala Industrial Layout, >> >> >> Bangalore - 560095, >> >> >> INDIA >> >> >> Phone :98860 24705 >> >> >> e-mail: atulk at world2web.com >> >> >> ------------------------------------------------------- >> >> >> This SF.net email is sponsored by: IT Product Guide on >> >> > ITManagersJournal >> >> >> Use IT products in your business? Tell us what you think of > them. >> > Give >> >> > us >> >> >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find >> > out >> >> more >> >> >> http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ >> >> >> Nagios-users mailing list >> >> >> Nagios-users at lists.sourceforge.net >> >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on >> > ITManagersJournal >> >> Use IT products in your business? Tell us what you think of them. > Give >> >> us >> >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find >> > out >> >> more >> >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl >> >> > _______________________________________________ >> >> > Nagios-users mailing list >> >> > Nagios-users at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > ::: 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: IT Product Guide on > ITManagersJournal >> > Use IT products in your business? Tell us what you think of them. > Give >> us >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find > out >> > more >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Linux Systems Engineer, World2Web Soft Technologies Private Ltd, 26, Koramangala Industrial Layout, Bangalore - 560095, INDIA Phone :98860 24705 e-mail: atulk at world2web.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xavier at rootshell.be Tue Oct 5 08:58:24 2004 From: xavier at rootshell.be (Xavier) Date: Tue, 5 Oct 2004 08:58:24 +0200 (CEST) Subject: Nagios presentation/training slides? Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi *, I need to present Nagios in a few words with a training to a small group of agents... Does somebody has already made slides or any other kind of documenation? Xavier - -- It is easier to fix Unix than to live with NT. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (OpenBSD) Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/ iD8DBQFBYkYZQtAG/VGtfywRAlPDAKC/LMCcS7QZlaIw4BklYkOOUpdLvACggalL iVhiKXRQmPiwbfMOW2or73A= =ue5f -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ph at whatever.nu Tue Oct 5 09:04:10 2004 From: ph at whatever.nu (Per-Henrik Persson) Date: Tue, 5 Oct 2004 09:04:10 +0200 Subject: Reporting problems In-Reply-To: References: <20041004072003.GA4222@whatever.nu> Message-ID: <20041005070410.GA18306@whatever.nu> * S?bastien Cantos [041004 10:44]: > I got the same problem and finded out how to solve it: > In the "first assumed state" list you have to choose for example "Service > OK" or "Current State". Maybe this not the correct solution, I'm curious to > know if there's a better solution. Thanks for your reply, I have tried that and yes, I get reports. The problem is that there seems to be data missing. Regards, PH -- Per-Henrik Persson epost: ph at whatever.nu telefon: 0703-68 53 86 hemsida: www.whatever.nu ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 09:14:02 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Oct 2004 09:14:02 +0200 Subject: Monitoring SMB shares? In-Reply-To: <20041005044122.GA215@IPAustralia.Gov.AU> References: <20041005044122.GA215@IPAustralia.Gov.AU> Message-ID: <416249BA.7090906@op5.se> Stanley Hopcroft wrote: > Dear Sir, > > I am writing to thank you for your letter and say, > > On Mon, Oct 04, 2004 at 08:46:05PM -0700, nagios-users-request at lists.sourceforge.net wrote: > >>Message: 1 >>Date: Tue, 5 Oct 2004 10:57:52 +0800 >>From: nagios at mm.quex.org >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] Monitoring SMB shares? >> >>On Mon, Oct 04, 2004 at 10:24:45AM +0200, Xavier wrote: >> >> >>>After a undetected incident this weekend, our management asked to >>>monitor something special: >>> >>>A windows client copies files to a SMB share (W2K server). >>>Once processed by another application, files are removed. >>>The client is a "blackbox" for us, so we would like to be notified >>>when no new files are stored on the share. >>> >>>Question: how? Possible? >> > > .. snip ... > > Yes this is possible and even easy with the caveats noted below. > > Prob the way to go is via a language that supports access to > libsmbclient (such as Perl via a CPAN module whose name escapes me; > other languages such as Python prob have bindings too). This lets you > perform the SMB equivalent of a stat() (it may even be called that in > the Perl module) on an exported file or directory. > I'd say the easiest way to go is to simply mount the disk read-only from the monitoring server. Then write the 30 or so lines of C-code to parse the directory, read the filemtime and check if none of the files is fresh enough. Return warning or critical accordingly. It's simplicity itself when done in C, so there's really no need to involve any slower language. > That said, I am not sure if there is a libsmbclient shared object that > handles the extra requirements of 2kn or XP. > > >>bit of scripting. The only issue I think you're likely to run >>into is if the server requires encrypted connections. Our 2k3 >>domain controllers require this so I can't connect to them from >>the Linux machines, but the 2k3 workstations are fine. I did >>read somewhere about the CIFS driver supporting this stuff. >> > > > You need support for kerberos authentication in your client for this to > work (plus you need all the parephenalia [machine accounts] set up). > > smbclient from Samba 3.0 has this, but I haven't got it going. There is > quite a bit of Kerb stuff to get ones head around. > > >>You could also mount the share using smbfs or cifs, and then >>just check the files with ls or expand a shell glob. >> >> > > > Provided these file systems support 2k3 etc. > > >>--__--__-- >> >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >>End of Nagios-users Digest > > > Yours sincerely. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From v-alloo at ti.com Tue Oct 5 09:59:28 2004 From: v-alloo at ti.com (Alloo, Vincent) Date: Tue, 5 Oct 2004 09:59:28 +0200 Subject: Nagios nrpe on Remote host Message-ID: Atul, What about your service definition? Do you have the "nrpe" entry in the /etc/services? My conf is: /etc/nsswitch.conf => services: files nis % ypcat -k services | grep nrpe 5666/tcp nrpe 5666/tcp # NRPE If you don't use NIS for your services, you should add the "nrpe" entry in the /etc/services file. Regards, Vincent Alloo TI France Design Systems Operations Manager Europe and Middle East IT Services Texas Instruments France E-Mail: v-alloo at ti.com Phone: +33 4 93 22 26 97 Mobile: +33 6 82 13 00 80 > -----Original Message----- > From: Atul Kamat [mailto:atulk at world2web.com] > Sent: Tuesday, October 05, 2004 7:31 AM > To: Alloo, Vincent > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios nrpe on Remote host > > Hi Vincent, > > I`m stuck with the same error....i tried recompiling nrpe and > reinstalling nagios-plugins from source on the remote machine but to no > avail.Followed all the things u mentioned very closely. > The error when i run the command "/usr/local/nagios/libexec/check_nrpe -H > nyx -n -c check_ssh -a nyx" is > CHECK_NRPE: Error receiving data from daemon. > > In the nagios interface i get "(No output returned from plugin)" > Regards > Atul Kamat > Linux Network Engineer, > World2Web Soft Technologies Private Ltd, > 26, Koramangala Industrial Layout, > Bangalore - 560095, > INDIA > Phone :98860 24705 > e-mail: atulk at world2web.com > > > Atul, > > I guess you should use: > > /usr/local/nagios/libexec/check_nrpe -H nyx -n -c check_ssh -a nyx > > > > To pass arguments, NRPE should be compiled with correct option > > (--enable-command-args), your nrpe conf file should have > > "dont_blame_nrpe=1", and your nrpe.conf shoud have this line: > > command[check_ssh]=/usr/local/nagios/libexec/check_ssh $ARG1$ > > > > In your checkcommands.cfg, you can use: > > > > define command { > > command_name check_nrpe > > command_line $USER1$/check_nrpe -n -t 10 -H > > $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ > > } > > > > Regards, > > > > Vincent Alloo > > TI France Design Systems Operations Manager > > Europe and Middle East IT Services > > Texas Instruments France > > > > E-Mail: v-alloo at ti.com > > Phone: +33 4 93 22 26 97 > > Mobile: +33 6 82 13 00 80 > > > >> -----Original Message----- > >> From: Atul Kamat [mailto:atulk at world2web.com] > >> Sent: Thursday, September 30, 2004 12:49 PM > >> To: Alloo, Vincent > >> Cc: atulk at world2web.com; nagios-users at lists.sourceforge.net > >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host > >> > >> Hi Vincent! > >> > >> The xinetd -nrpe file was exactly the same..so i tried running nrpe as > > a > >> daemon..tried telnetting from the nagios host inot the remote machine > > and > >> it was successful after i fixed the nrpe.cfg file . > >> Now my nagios web interface gives the following error > >> > >> CHECK_NRPE: Error receiving data from daemon. > >> > >> if i try to run check_nrpe from the command prompt with something like > >> > >> /usr/local/nagios/libexec/check_nrpe -H nyx -n > >> /usr/local/nagios/libexec/check_ssh -H nyx > >> > >> i get the same error. > >> > >> Help wanted!! > >> > >> Atul Kamat > >> Linux Network Engineer, > >> World2Web Soft Technologies Private Ltd, > >> 26, Koramangala Industrial Layout, > >> Bangalore - 560095, > >> INDIA > >> Phone :98860 24705 > >> e-mail: atulk at world2web.com > >> > Atul, > >> > I don't know if it can help, but here my nrpe xinetd conf: > >> > > >> > % cat /etc/xinetd.d/nrpe > >> > # default: on > >> > # description: The rshd server is the server for the rcmd(3) routine > >> > and, \ > >> > # consequently, for the rsh(1) program. The server provides \ > >> > # remote execution facilities with authentication based on \ > >> > # privileged port numbers from trusted hosts. > >> > service nrpe > >> > { > >> > flags = REUSE > >> > disable = no > >> > socket_type = stream > >> > wait = no > >> > user = nagios > >> > log_on_failure += USERID > >> > server = /apps/nagios/nrpe/nrpe > >> > server_args = -c /db/sysadmin/nagios/nrpe.cfg > >> > --inetd > >> > } > >> > > >> > Regards, > >> > > >> > Vincent Alloo > >> > TI France Design Systems Operations Manager > >> > Europe and Middle East IT Services > >> > Texas Instruments France > >> > > >> > E-Mail: v-alloo at ti.com > >> > Phone: +33 4 93 22 26 97 > >> > Mobile: +33 6 82 13 00 80 > >> >> -----Original Message----- > >> >> From: Atul Kamat [mailto:atulk at world2web.com] > >> >> Sent: Wednesday, September 29, 2004 2:15 PM > >> >> To: Alloo, Vincent > >> >> Cc: nagios-users at lists.sourceforge.net > >> >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host > >> >> > >> >> Hi Vincent! > >> >> > >> >> I made the change as u per your advice . But i`ve got a feeling > > that > >> > the > >> >> preoblem is with the xinetd configuration on the remote host.if i > >> > check > >> >> the /var/log/messages i get the following error: > >> >> > >> >> Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: > >> > Atul;nyx;/dev/hda1 > >> >> Free Space;CRITICAL;notify-by-epager;Connection refused by host > >> >> Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: > >> > Atul;nyx;/dev/hda1 > >> >> Free Space;CRITICAL;notify-by-email;Connection refused by host > >> >> > >> >> The following is what`s in the /etc/xinetd.d/nrpe file > >> >> > >> >> # default:on > >> >> # description:NRPE > >> >> service nrpe > >> >> { > >> >> flags = REUSE > >> >> socket_type= stream > >> >> wait = no > >> >> user = nagios > >> >> server = /usr/local/nagios/nrpe > >> >> server_args = -i /usr/local/nagios/nrpe.cfg > >> >> log_on_failure+=USERID > >> >> disable = no > >> >> } > >> >> I also tried changing the user to root...but that didnt help > >> > either.The > >> >> user nagios exists on the machine > >> >> > >> >> I havent made ne changes to the nrpe.cfg file except enabled > > debugging > >> > . > >> >> Shud i make ne changed to the nrpe.cfg file?? > >> >> > >> >> the following are the excerpts of the nrpe.cfg file on the remote > > host > >> >> # ALLOWED HOST ADDRESSES > >> >> # This is a comma-delimited list of IP address of hosts that are > >> > allowed > >> >> # to talk to the NRPE daemon. > >> >> # > >> >> # NOTE: The daemon only does rudimentary checking of the client's > > IP > >> >> # address. I would highly recommend adding entries in your > >> >> # /etc/hosts.allow file to allow only the specified host to > > connect > >> >> # to the port you are running this daemon on. > >> >> # > >> >> # NOTE: This option is ignored if NRPE is running under either > > inetd > >> > or > >> >> xinetd > >> >> > >> >> allowed_hosts=127.0.0.1 > >> >> > >> >> does this thing have nething to do with the problem .. > >> >> Please Advice > >> >> > >> >> Atul Kamat > >> >> Linux Network Engineer, > >> >> World2Web Soft Technologies Private Ltd, > >> >> 26, Koramangala Industrial Layout, > >> >> Bangalore - 560095, > >> >> INDIA > >> >> Phone :98860 24705 > >> >> e-mail: atulk at world2web.com > >> >> > >> >> > >> >> > You should use: > >> >> > define command{ > >> >> > command_name check_nrpe > >> >> > command_line /usr/local/nagios/libexec/check_nrpe -H > >> >> > $HOSTADDRESS$ -c $ARG1$ > >> >> > } > >> >> > > >> >> > Notice the -H ... > >> >> > > >> >> > Regards, > >> >> > > >> >> > Vincent Alloo > >> >> > TI France Design Systems Operations Manager > >> >> > >> >> > Europe and Middle East IT Services > >> >> > Texas Instruments France > >> >> > > >> >> > E-Mail: v-alloo at ti.com > >> >> > Phone: +33 4 93 22 26 97 > >> >> > Mobile: +33 6 82 13 00 80 > >> >> >> -----Original Message----- > >> >> >> From: nagios-users-admin at lists.sourceforge.net > >> > [mailto:nagios-users- > >> >> admin at lists.sourceforge.net] On Behalf Of Atul Kamat > >> >> >> Sent: Wednesday, September 29, 2004 7:57 AM > >> >> >> To: nagios-users at lists.sourceforge.net > >> >> >> Subject: [Nagios-users] Nagios nrpe on Remote host > >> >> >> Hi! > >> >> >> I installed and configured nagios to monitor our servers and > > it > >> > took > >> >> > me > >> >> >> a whole day thanx to an error in the documentation. > >> >> >> I installed a utility called NRPE so that i cud execute > > commands > >> > on > >> >> >> remote machine.i setup xinetd and installed the plugins on the > >> > remote > >> >> host as well.Below are the excerpts of the::: > >> >> >> services.cfg file: > >> >> >> define service{ > >> >> >> use generic-service > > ; Name > >> >> > of service > >> >> >> template to use > >> >> >> host_name nyx > >> >> >> service_description /dev/hda1 Free Space > >> >> >> is_volatile 0 > >> >> >> check_period 24x7 > >> >> >> max_check_attempts 3 > >> >> >> normal_check_interval 5 > >> >> >> retry_check_interval 1 > >> >> >> contact_groups linux-admins > >> >> >> notification_interval 120 > >> >> >> notification_period 24x7 > >> >> >> notification_options w,u,c,r > >> >> >> check_command check_nrpe!check_disk1 > >> >> >> } > >> >> >> checkcommands.cfg file:: > >> >> >> define command{ > >> >> >> command_name check_nrpe > >> >> >> command_line usr/local/nagios/libexec/check_nrpe > >> >> > $HOSTADDRESS$ > >> >> >> -c $ARG1$ > >> >> >> } > >> >> >> nrpe.cfg file on the remote machine:: > >> >> >> #command i want to execute > >> >> >> command[check_disk1]=/usr/local/nagios/libexec/check_disk -w 20 > > -c > >> > 10 > >> >> > -p > >> >> >> /dev/hda1 > >> >> >> could neone tell me what`s going wrong. > >> >> >> Nagios display the disk space data of the local machine rather > > than > >> >> > the > >> >> >> remote machine. > >> >> >> Thanx, > >> >> >> Warm Regards > >> >> >> Atul Kamat > >> >> >> Linux Network Engineer, > >> >> >> World2Web Soft Technologies Private Ltd, > >> >> >> 26, Koramangala Industrial Layout, > >> >> >> Bangalore - 560095, > >> >> >> INDIA > >> >> >> Phone :98860 24705 > >> >> >> e-mail: atulk at world2web.com > >> >> >> ------------------------------------------------------- > >> >> >> This SF.net email is sponsored by: IT Product Guide on > >> >> > ITManagersJournal > >> >> >> Use IT products in your business? Tell us what you think of > > them. > >> > Give > >> >> > us > >> >> >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > > find > >> > out > >> >> more > >> >> >> http://productguide.itmanagersjournal.com/guidepromo.tmpl > >> >> >> _______________________________________________ > >> >> >> Nagios-users mailing list > >> >> >> Nagios-users at lists.sourceforge.net > >> >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> >> >> ::: 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: IT Product Guide on > >> > ITManagersJournal > >> >> Use IT products in your business? Tell us what you think of them. > > Give > >> >> us > >> >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > > find > >> > out > >> >> more > >> >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl > >> >> > _______________________________________________ > >> >> > Nagios-users mailing list > >> >> > Nagios-users at lists.sourceforge.net > >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> >> > ::: 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: IT Product Guide on > > ITManagersJournal > >> > Use IT products in your business? Tell us what you think of them. > > Give > >> us > >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find > > out > >> > more > >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl > >> > _______________________________________________ > >> > Nagios-users mailing list > >> > Nagios-users at lists.sourceforge.net > >> > https://lists.sourceforge.net/lists/listinfo/nagios-users > >> > ::: 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: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give > us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atulk at world2web.com Tue Oct 5 11:00:46 2004 From: atulk at world2web.com (Atul Kamat) Date: Tue, 5 Oct 2004 14:30:46 +0530 (IST) Subject: Nagios nrpe on Remote host In-Reply-To: References: Message-ID: <45995.192.168.0.7.1096966846.squirrel@mail2.world2web.com> Hi Vincent , I`m running the nrpe client as a daemon with the command (no errors) ./nrpe -c nrpe.cfg -d telnet nyx 5666 works perfectly fine . i`ve got nrpe 5666/tcp # NRPE in /etc/services can i have ur check_nrpe definition in services...??? Atul Kamat Linux Network Engineer, World2Web Soft Technologies Private Ltd, e-mail: atulk at world2web.com > Atul, > What about your service definition? > Do you have the "nrpe" entry in the /etc/services? > My conf is: > /etc/nsswitch.conf => > services: files nis > > % ypcat -k services | grep nrpe > 5666/tcp nrpe 5666/tcp # NRPE > > If you don't use NIS for your services, you should add the "nrpe" entry > in the /etc/services file. > > Regards, > > Vincent Alloo > TI France Design Systems Operations Manager > Europe and Middle East IT Services > Texas Instruments France > > E-Mail: v-alloo at ti.com > Phone: +33 4 93 22 26 97 > Mobile: +33 6 82 13 00 80 > >> -----Original Message----- >> From: Atul Kamat [mailto:atulk at world2web.com] >> Sent: Tuesday, October 05, 2004 7:31 AM >> To: Alloo, Vincent >> Cc: nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host >> >> Hi Vincent, >> >> I`m stuck with the same error....i tried recompiling nrpe and >> reinstalling nagios-plugins from source on the remote machine but to > no >> avail.Followed all the things u mentioned very closely. >> The error when i run the command "/usr/local/nagios/libexec/check_nrpe > -H >> nyx -n -c check_ssh -a nyx" is >> CHECK_NRPE: Error receiving data from daemon. >> >> In the nagios interface i get "(No output returned from plugin)" >> Regards >> Atul Kamat >> Linux Network Engineer, >> World2Web Soft Technologies Private Ltd, >> 26, Koramangala Industrial Layout, >> Bangalore - 560095, >> INDIA >> Phone :98860 24705 >> e-mail: atulk at world2web.com >> >> > Atul, >> > I guess you should use: >> > /usr/local/nagios/libexec/check_nrpe -H nyx -n -c check_ssh -a nyx >> > >> > To pass arguments, NRPE should be compiled with correct option >> > (--enable-command-args), your nrpe conf file should have >> > "dont_blame_nrpe=1", and your nrpe.conf shoud have this line: >> > command[check_ssh]=/usr/local/nagios/libexec/check_ssh $ARG1$ >> > >> > In your checkcommands.cfg, you can use: >> > >> > define command { >> > command_name check_nrpe >> > command_line $USER1$/check_nrpe -n -t 10 -H >> > $HOSTADDRESS$ -c $ARG1$ -a $ARG2$ $ARG3$ $ARG4$ >> > } >> > >> > Regards, >> > >> > Vincent Alloo >> > TI France Design Systems Operations Manager >> > Europe and Middle East IT Services >> > Texas Instruments France >> > >> > E-Mail: v-alloo at ti.com >> > Phone: +33 4 93 22 26 97 >> > Mobile: +33 6 82 13 00 80 >> > >> >> -----Original Message----- >> >> From: Atul Kamat [mailto:atulk at world2web.com] >> >> Sent: Thursday, September 30, 2004 12:49 PM >> >> To: Alloo, Vincent >> >> Cc: atulk at world2web.com; nagios-users at lists.sourceforge.net >> >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host >> >> >> >> Hi Vincent! >> >> >> >> The xinetd -nrpe file was exactly the same..so i tried running nrpe > as >> > a >> >> daemon..tried telnetting from the nagios host inot the remote > machine >> > and >> >> it was successful after i fixed the nrpe.cfg file . >> >> Now my nagios web interface gives the following error >> >> >> >> CHECK_NRPE: Error receiving data from daemon. >> >> >> >> if i try to run check_nrpe from the command prompt with something > like >> >> >> >> /usr/local/nagios/libexec/check_nrpe -H nyx -n >> >> /usr/local/nagios/libexec/check_ssh -H nyx >> >> >> >> i get the same error. >> >> >> >> Help wanted!! >> >> >> >> Atul Kamat >> >> Linux Network Engineer, >> >> World2Web Soft Technologies Private Ltd, >> >> 26, Koramangala Industrial Layout, >> >> Bangalore - 560095, >> >> INDIA >> >> Phone :98860 24705 >> >> e-mail: atulk at world2web.com >> >> > Atul, >> >> > I don't know if it can help, but here my nrpe xinetd conf: >> >> > >> >> > % cat /etc/xinetd.d/nrpe >> >> > # default: on >> >> > # description: The rshd server is the server for the rcmd(3) > routine >> >> > and, \ >> >> > # consequently, for the rsh(1) program. The server > provides \ >> >> > # remote execution facilities with authentication based on > \ >> >> > # privileged port numbers from trusted hosts. >> >> > service nrpe >> >> > { >> >> > flags = REUSE >> >> > disable = no >> >> > socket_type = stream >> >> > wait = no >> >> > user = nagios >> >> > log_on_failure += USERID >> >> > server = /apps/nagios/nrpe/nrpe >> >> > server_args = -c > /db/sysadmin/nagios/nrpe.cfg >> >> > --inetd >> >> > } >> >> > >> >> > Regards, >> >> > >> >> > Vincent Alloo >> >> > TI France Design Systems Operations Manager >> >> > Europe and Middle East IT Services >> >> > Texas Instruments France >> >> > >> >> > E-Mail: v-alloo at ti.com >> >> > Phone: +33 4 93 22 26 97 >> >> > Mobile: +33 6 82 13 00 80 >> >> >> -----Original Message----- >> >> >> From: Atul Kamat [mailto:atulk at world2web.com] >> >> >> Sent: Wednesday, September 29, 2004 2:15 PM >> >> >> To: Alloo, Vincent >> >> >> Cc: nagios-users at lists.sourceforge.net >> >> >> Subject: RE: [Nagios-users] Nagios nrpe on Remote host >> >> >> >> >> >> Hi Vincent! >> >> >> >> >> >> I made the change as u per your advice . But i`ve got a feeling >> > that >> >> > the >> >> >> preoblem is with the xinetd configuration on the remote host.if > i >> >> > check >> >> >> the /var/log/messages i get the following error: >> >> >> >> >> >> Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: >> >> > Atul;nyx;/dev/hda1 >> >> >> Free Space;CRITICAL;notify-by-epager;Connection refused by host >> >> >> Sep 29 17:32:44 phoenix nagios: SERVICE NOTIFICATION: >> >> > Atul;nyx;/dev/hda1 >> >> >> Free Space;CRITICAL;notify-by-email;Connection refused by host >> >> >> >> >> >> The following is what`s in the /etc/xinetd.d/nrpe file >> >> >> >> >> >> # default:on >> >> >> # description:NRPE >> >> >> service nrpe >> >> >> { >> >> >> flags = REUSE >> >> >> socket_type= stream >> >> >> wait = no >> >> >> user = nagios >> >> >> server = /usr/local/nagios/nrpe >> >> >> server_args = -i /usr/local/nagios/nrpe.cfg >> >> >> log_on_failure+=USERID >> >> >> disable = no >> >> >> } >> >> >> I also tried changing the user to root...but that didnt help >> >> > either.The >> >> >> user nagios exists on the machine >> >> >> >> >> >> I havent made ne changes to the nrpe.cfg file except enabled >> > debugging >> >> > . >> >> >> Shud i make ne changed to the nrpe.cfg file?? >> >> >> >> >> >> the following are the excerpts of the nrpe.cfg file on the > remote >> > host >> >> >> # ALLOWED HOST ADDRESSES >> >> >> # This is a comma-delimited list of IP address of hosts that are >> >> > allowed >> >> >> # to talk to the NRPE daemon. >> >> >> # >> >> >> # NOTE: The daemon only does rudimentary checking of the > client's >> > IP >> >> >> # address. I would highly recommend adding entries in > your >> >> >> # /etc/hosts.allow file to allow only the specified host to >> > connect >> >> >> # to the port you are running this daemon on. >> >> >> # >> >> >> # NOTE: This option is ignored if NRPE is running under either >> > inetd >> >> > or >> >> >> xinetd >> >> >> >> >> >> allowed_hosts=127.0.0.1 >> >> >> >> >> >> does this thing have nething to do with the problem .. >> >> >> Please Advice >> >> >> >> >> >> Atul Kamat >> >> >> Linux Network Engineer, >> >> >> World2Web Soft Technologies Private Ltd, >> >> >> 26, Koramangala Industrial Layout, >> >> >> Bangalore - 560095, >> >> >> INDIA >> >> >> Phone :98860 24705 >> >> >> e-mail: atulk at world2web.com >> >> >> >> >> >> >> >> >> > You should use: >> >> >> > define command{ >> >> >> > command_name check_nrpe >> >> >> > command_line /usr/local/nagios/libexec/check_nrpe > -H >> >> >> > $HOSTADDRESS$ -c $ARG1$ >> >> >> > } >> >> >> > >> >> >> > Notice the -H ... >> >> >> > >> >> >> > Regards, >> >> >> > >> >> >> > Vincent Alloo >> >> >> > TI France Design Systems Operations Manager >> >> >> >> >> >> > Europe and Middle East IT Services >> >> >> > Texas Instruments France >> >> >> > >> >> >> > E-Mail: v-alloo at ti.com >> >> >> > Phone: +33 4 93 22 26 97 >> >> >> > Mobile: +33 6 82 13 00 80 >> >> >> >> -----Original Message----- >> >> >> >> From: nagios-users-admin at lists.sourceforge.net >> >> > [mailto:nagios-users- >> >> >> admin at lists.sourceforge.net] On Behalf Of Atul Kamat >> >> >> >> Sent: Wednesday, September 29, 2004 7:57 AM >> >> >> >> To: nagios-users at lists.sourceforge.net >> >> >> >> Subject: [Nagios-users] Nagios nrpe on Remote host >> >> >> >> Hi! >> >> >> >> I installed and configured nagios to monitor our servers > and >> > it >> >> > took >> >> >> > me >> >> >> >> a whole day thanx to an error in the documentation. >> >> >> >> I installed a utility called NRPE so that i cud execute >> > commands >> >> > on >> >> >> >> remote machine.i setup xinetd and installed the plugins on > the >> >> > remote >> >> >> host as well.Below are the excerpts of the::: >> >> >> >> services.cfg file: >> >> >> >> define service{ >> >> >> >> use generic-service >> > ; Name >> >> >> > of service >> >> >> >> template to use >> >> >> >> host_name nyx >> >> >> >> service_description /dev/hda1 Free Space >> >> >> >> is_volatile 0 >> >> >> >> check_period 24x7 >> >> >> >> max_check_attempts 3 >> >> >> >> normal_check_interval 5 >> >> >> >> retry_check_interval 1 >> >> >> >> contact_groups linux-admins >> >> >> >> notification_interval 120 >> >> >> >> notification_period 24x7 >> >> >> >> notification_options w,u,c,r >> >> >> >> check_command check_nrpe!check_disk1 >> >> >> >> } >> >> >> >> checkcommands.cfg file:: >> >> >> >> define command{ >> >> >> >> command_name check_nrpe >> >> >> >> command_line usr/local/nagios/libexec/check_nrpe >> >> >> > $HOSTADDRESS$ >> >> >> >> -c $ARG1$ >> >> >> >> } >> >> >> >> nrpe.cfg file on the remote machine:: >> >> >> >> #command i want to execute >> >> >> >> command[check_disk1]=/usr/local/nagios/libexec/check_disk -w > 20 >> > -c >> >> > 10 >> >> >> > -p >> >> >> >> /dev/hda1 >> >> >> >> could neone tell me what`s going wrong. >> >> >> >> Nagios display the disk space data of the local machine > rather >> > than >> >> >> > the >> >> >> >> remote machine. >> >> >> >> Thanx, >> >> >> >> Warm Regards >> >> >> >> Atul Kamat >> >> >> >> Linux Network Engineer, >> >> >> >> World2Web Soft Technologies Private Ltd, >> >> >> >> 26, Koramangala Industrial Layout, >> >> >> >> Bangalore - 560095, >> >> >> >> INDIA >> >> >> >> Phone :98860 24705 >> >> >> >> e-mail: atulk at world2web.com >> >> >> >> ------------------------------------------------------- >> >> >> >> This SF.net email is sponsored by: IT Product Guide on >> >> >> > ITManagersJournal >> >> >> >> Use IT products in your business? Tell us what you think of >> > them. >> >> > Give >> >> >> > us >> >> >> >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to >> > find >> >> > out >> >> >> more >> >> >> >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> >> >> >> _______________________________________________ >> >> >> >> Nagios-users mailing list >> >> >> >> Nagios-users at lists.sourceforge.net >> >> >> >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> >> ::: 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: IT Product Guide on >> >> > ITManagersJournal >> >> >> Use IT products in your business? Tell us what you think of > them. >> > Give >> >> >> us >> >> >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to >> > find >> >> > out >> >> >> more >> >> >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl >> >> >> > _______________________________________________ >> >> >> > Nagios-users mailing list >> >> >> > Nagios-users at lists.sourceforge.net >> >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> >> > ::: 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: IT Product Guide on >> > ITManagersJournal >> >> > Use IT products in your business? Tell us what you think of them. >> > Give >> >> us >> >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find >> > out >> >> > more >> >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl >> >> > _______________________________________________ >> >> > Nagios-users mailing list >> >> > Nagios-users at lists.sourceforge.net >> >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> >> > ::: 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: IT Product Guide on > ITManagersJournal >> > Use IT products in your business? Tell us what you think of them. > Give >> us >> > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find > out >> > more >> > http://productguide.itmanagersjournal.com/guidepromo.tmpl >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Tue Oct 5 09:35:48 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Tue, 05 Oct 2004 08:35:48 +0100 Subject: memory error In-Reply-To: <416160F5.5070704@op5.se> References: <41611D5B.7080800@scarceskills.com> <41612DE7.5030702@op5.se> <41615C2F.7070705@scarceskills.com> <416160F5.5070704@op5.se> Message-ID: <41624ED4.3080707@scarceskills.com> Andreas, It is good to hear some one say it's not something I have done in the configuration files that is causing the problem. In 'ps -ef' I see no checks hanging. Any where else to look ? I use only the standard Nagios plugins. As of this morning, Nagios is using 37% memory, so it is still going up. Another thing which I believe I should mention here, I am also running NSCA on this machine, under the same user name. Just for a bit more information, Nagios is now using 37% (from 'top'). Andreas Ericsson wrote: > Martinus Nel wrote: > >> Andreas, >> >> I have seen the complaints to do with the embedded perl interpreter, >> but I was under the impression that is only for Nagions 2.0 ? On top >> of that, like I said, this has been running without problems until >> recently. I have a feeling it is something I have switched on in the >> configuration - the problem is, I don't know where to start searching >> for a problem. >> > > It's not. Nagios won't eat memory unless like that unless something is > wrong with the code, and the only thing I can think of is the embedded > perl interpreter. > >> As it is going now, I switched on 09:00 this morning, it was using >> 22%. Now, it's 15:20 and I am on 33%. Memory = 128 MB. Current >> checks = 128 active, 10 passive over 33 hosts. >> > > Then perhaps some of your checks are hanging in non-interruptable mode? > Are you using any plugins that you've rolled yourself? > >> As for the PID ... it's just a number I typed in, I don't think you >> will easily see 12345 as a PID/PPID. >> > > Unless you've fiddled with the kernel, pids are allocated in a round > robin manner from 1 to 2^16 in which case 12345 is actually more likely > to see than any higher number. Just a mathematical sidetrack. > -- Martinus Nel System Administrator Scarce Skills Ltd. http://www.scarceskills.com Tel: +44 (0) 1633 225461 --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-users at uit.co.uk Tue Oct 5 11:50:57 2004 From: nagios-users at uit.co.uk (Niall Mansfield) Date: Tue, 05 Oct 2004 10:50:57 +0100 Subject: host notifications -- bug? Message-ID: A host has notification_options n but I still get Host DOWN alerts for it. This seems to contravene the documented behaviour: "Each host definition contains options that determine whether or not notifications can be sent out when the host goes down, becomes unreachable, or recovers. If the host or service notification does not pass these options, no one gets notified." Have I overlooked something? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cornelius.koelbel at lsexperts.de Tue Oct 5 12:58:19 2004 From: cornelius.koelbel at lsexperts.de (=?ISO-8859-1?Q?Cornelius_K=F6lbel?=) Date: Tue, 05 Oct 2004 12:58:19 +0200 Subject: host_image Message-ID: <41627E4B.3070403@lsexperts.de> Hello, I always fail to define host_images for my hosts. I am running nagios 1.2 on debian. I added the xedtemplatefile into the cgi.cfg, but obviously he does not parse this file, because he does not complain about an invalid filename... Where can I search for the problem? Regards Cornelius ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From steve at patter.mine.nu Tue Oct 5 13:15:43 2004 From: steve at patter.mine.nu (Stephen Patterson) Date: Tue, 5 Oct 2004 12:15:43 +0100 Subject: nagios only alerting 1 contact Message-ID: <20041005111542.GA5250@seagoon.localdomain> I have nagios (with postgres) set up with several defined contacts and contactgroups, and have (until recently) for testing had it configured to alert everything to nagiosadmin, and though I have changed it to alert everything to several hostgroups it still continues to alert evrything to nagiosadmin. The notifications log lists all notifications for notify-by-email and host-notify-by-email as having been only sent to nagiosadmin. I've checked over the config several times, and each hostgroup and service is set to alert several contactgroups. The configuration that I'm using is as follows, so any ideas? # standard host template define host { name default notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 5 notification_interval 0 # don't send reminders notification_period 24x7 notification_options d,u,r check_command check-host-alive register 0 } # sample host define host { host_name CNE-ROUTER1 use default address 192.168.253.1 alias CNE Router 1 parents CNE-12-CS2 } # service template define service{ ; The 'name' of this service template, referenced in other service definitions name generic-service active_checks_enabled 1 passive_checks_enabled 1 parallelize_check 1 check_freshness 1 notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 0 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 check_period 24x7 contact_groups itservicedesk notification_interval 0 notification_period 24x7 notification_options w,c,r notification_period 24x7 notification_options w,c,r register 0 } # sample service define service { name generic-ping use generic-service check_command check-host-alive register 0 } define service{ use generic-ping host_name CNE-ROUTER1 service_description PING } # hostgroup definition for this host define hostgroup { hostgroup_name switches_cne alias Ciscos - CNE contact_groups network-admins,itservicedesk members CNE-ROUTER1 } -- Stephen Patterson http://patter.mine.nu/ steveSPAM at .patter.mine.nu remove SPAM to reply Linux Counter No: 142831 GPG Public key: 252B8B37 Caution: breathing may be hazardous to your health. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From nagios-users at uit.co.uk Tue Oct 5 14:02:49 2004 From: nagios-users at uit.co.uk (Niall Mansfield) Date: Tue, 05 Oct 2004 13:02:49 +0100 Subject: host notifications -- bug? Message-ID: The answer: /etc/init.d/nagios restart in fact started a second instance of nagios. The Host DOWN alerts were coming from the old instance of Nagios, reading the old version of the config files, which did have notifications enabled for the host in question. > A host has > notification_options n > but I still get Host DOWN alerts for it. This seems to contravene > the documented behaviour: > > "Each host definition contains options that determine whether or not > notifications can be sent out when the host goes down, becomes > unreachable, or recovers. If the host or service notification does > not pass these options, no one gets notified." > > Have I overlooked something? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jritchie at bible.edu Tue Oct 5 14:42:56 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Tue, 5 Oct 2004 08:42:56 -0400 Subject: Newbie: chech_ssh not defined Message-ID: <20041005084256.4e7c0fe1@penguin> I'm messing around with Nagios and am really impressed. Most of what I've done has simply been editing the default config. I tried to add a service check like this: # Service definition define service{ use generic-service ; Name of service template to use host_name nathan service_description SSH is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ssh } and when I check the config, get this: Error: Service check command 'check_ssh' specified in service 'SSH' for host 'nathan' not defined anywhere! Where do I need to define this. I thought maybe in my miscommands.cfg, but that wasn't it. I expect that one of you guys sitting around waiting to answer an easy one while gleaning from the lists wisdom can answer this. Thank you for your time. I'm running Gentoo with almost all the plugins installed from portage. I searched for check_ssh and found it @ /usr/nagios/libexec/check_ssh. check_ping is in 2 places, but I'm guessing the contrib is extra: /usr/nagios/libexec/check_ping /usr/nagios/libexec/contrib/aix/check_ping JSR/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Oct 5 15:28:15 2004 From: benny at bennyvision.com (C. Bensend) Date: Tue, 5 Oct 2004 08:28:15 -0500 (CDT) Subject: Newbie: chech_ssh not defined In-Reply-To: <20041005084256.4e7c0fe1@penguin> References: <20041005084256.4e7c0fe1@penguin> Message-ID: <65075.63.227.74.41.1096982917.squirrel@63.227.74.41> > Error: Service check command 'check_ssh' specified in service 'SSH' for > host 'nathan' not defined anywhere! New check commands need to be added to checkcommands.cfg. :) Benny -- "Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes." -- .sig on Slashdot ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 16:26:45 2004 From: marc at ena.com (Marc Powell) Date: Tue, 5 Oct 2004 09:26:45 -0500 Subject: Newbie: chech_ssh not defined Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BB29@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Josiah Ritchie Sent: Tuesday, October 05, 2004 7:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Newbie: chech_ssh not defined > I'm messing around with Nagios and am really impressed. Most of what I've > done has simply been editing the default config. I tried to add a service > check like this: > > # Service definition > define service{ > use generic-service ; Name of > service template to use > > host_name nathan > service_description SSH > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options c,r > check_command check_ssh > } > > and when I check the config, get this: > > Error: Service check command 'check_ssh' specified in service 'SSH' for host > 'nathan' not defined anywhere! > > Where do I need to define this. I thought maybe in my miscommands.cfg, but > that wasn't it. Every check_command that you use must be defined somewhere, typically in [mis]commands.cfg. There are not example command definitions created for all the plugins so there will be some you need to create yourself, especially if/when you start creating your own checks. This is one of those it seems. Your command definition will look something like: # 'check_ssh' command definition define command{ command_name check_ssh command_line $USER1$/check_ssh $HOSTADDRESS$ -t 30 } You can of course modify it to suit your needs. Run /usr/local/nagios/libexec/check_ssh --help to see what command line arguments it understands and their meaning. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Tue Oct 5 16:41:37 2004 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 05 Oct 2004 09:41:37 -0500 Subject: check_nrpe solaris woes Message-ID: <4162B2A1.9050400@ha-solutions.net> List folks, Ok, I've been a long time user of nagios and love it. Recently I have added a new Solaris 9 box to the mix and wanted to utilize the nrpe goodies to monitor disk/procs/messages and such but ran into a huge roadblock. All libs are present, the nrpe daemon fires up ok, config looks good(the same a other working linux/bsd clients except for the actual params) What I get from the chck_nrpe -H hostname -c check_disk NRPE: Unable to read output I thought it was firewall related so I moved it to the same local subnet. No luck. I thought it was config issues, so I hacked away with new values. No luck I thought it was compile issues, so I recompiled with any feasable options(no ssl just to be complete). No luck. There are no messages logged to syslog(even with debug enabled...go figure). All plugins called to be exacuted on the remote host work fine on the nagios host(both are solaris 9 sparc) check_nrpe works fine on all other Intel hosts fine. Any thoughts or words of wisdom? _Terry ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Tue Oct 5 16:30:20 2004 From: victor at ambra.ro (victor) Date: Tue, 05 Oct 2004 17:30:20 +0300 Subject: compiling nagios 2 Message-ID: <4162AFFC.1000504@ambra.ro> I get the following error when I compile: /home/victor/nagios-cvs/cgi/statusmap.c:2218: undefined reference to `gdImageCreateFromJpeg' Thank you. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scantos at technodiva.com Tue Oct 5 17:26:09 2004 From: scantos at technodiva.com (Sébastien Cantos) Date: Tue, 5 Oct 2004 17:26:09 +0200 Subject: check_nrpe solaris woes In-Reply-To: <4162B2A1.9050400@ha-solutions.net> References: <4162B2A1.9050400@ha-solutions.net> Message-ID: Hi, I got the same issue. The problem lies in the SSL usage. When I compile a check_nrpe module without using SSL it works well. Regards, -- S?bastien Cantos Responsable r?seau et syst?mes Neopost DIVA > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Terry L. Inzauro > Envoy? : mardi 5 octobre 2004 16:42 > ? : nagios-users at lists.sourceforge.net > Objet : [Nagios-users] check_nrpe solaris woes > > List folks, > > Ok, I've been a long time user of nagios and love it. > Recently I have > added a new Solaris 9 box to the mix and wanted to utilize the nrpe > goodies to monitor disk/procs/messages and such but ran into a huge > roadblock. > > All libs are present, the nrpe daemon fires up ok, config > looks good(the > same a other working linux/bsd clients except for the actual params) > > What I get from the chck_nrpe -H hostname -c check_disk > > NRPE: Unable to read output > > I thought it was firewall related so I moved it to the same local > subnet. No luck. > I thought it was config issues, so I hacked away with new > values. No luck > I thought it was compile issues, so I recompiled with any feasable > options(no ssl just to be complete). No luck. > > > There are no messages logged to syslog(even with debug enabled...go > figure). All plugins called to be exacuted on the remote > host work fine > on the nagios host(both are solaris 9 sparc) check_nrpe works fine on > all other Intel hosts fine. > > Any thoughts or words of wisdom? > > > _Terry > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Oct 5 19:48:23 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 5 Oct 2004 10:48:23 -0700 Subject: host notifications -- bug? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC738F@dw-mail.dataway.com> Please post more detailed information about your configuration. It is likely you overlooked something somewhere. -----Original Message----- From: Niall Mansfield [mailto:nagios-users at uit.co.uk] Sent: Tuesday, October 05, 2004 2:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host notifications -- bug? A host has notification_options n but I still get Host DOWN alerts for it. This seems to contravene the documented behaviour: "Each host definition contains options that determine whether or not notifications can be sent out when the host goes down, becomes unreachable, or recovers. If the host or service notification does not pass these options, no one gets notified." Have I overlooked something? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mscandian at freebsdbrasil.com.br Tue Oct 5 19:59:50 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Tue, 5 Oct 2004 14:59:50 -0300 (BRT) Subject: multiple instances Message-ID: <20041005144854.F977-100000@cyberdine.freebsdbrasil.com.br> Oks guys, i will edit the cgi.cfg, and i will need to define some attributes as like: main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg url_html_path=/nagios url_html_path=/companyA url_html_path=/companyB authorized_for_system_information=admin,userA,userB will i need to copy the etc (with the .cfg files) for other directory (/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files in the /nagios/etc? then, i will define the hosts, hostgroups, services, and i need to create the aliases scripts: ScriptAlias /companyA/cgi-bin/ /usr/home/eksffa/public_html/nagios/companyA/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ScriptAlias /companyB/cgi-bin/ /usr/home/eksffa/public_html/nagios/CompanyB/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all Is this correcty? Mario Sergio ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jritchie at bible.edu Tue Oct 5 20:42:04 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Tue, 5 Oct 2004 14:42:04 -0400 Subject: Newbie: chech_ssh not defined In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC25BB29@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC25BB29@mismail.ena.com> Message-ID: <20041005144204.533f1f8b@penguin> Thanks all, I've got this stuff up and running. A whole new world. :-) I'm really very impressed with Nagios. The time it will save me and the improvement in reporting that it will provide will be phenomenal. Thanks, JSR/ On Tue, 5 Oct 2004 09:26:45 -0500 "Marc Powell" wrote: > ----Original Message---- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Josiah > Ritchie > Sent: Tuesday, October 05, 2004 7:43 AM To: > nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Newbie: chech_ssh not defined > > > I'm messing around with Nagios and am really impressed. Most of what > I've > > done has simply been editing the default config. I tried to add a > service > > check like this: > > > > # Service definition > > define service{ > > use generic-service ; Name > of > > service template to use > > > > host_name nathan > > service_description SSH > > is_volatile 0 > > check_period 24x7 > > max_check_attempts 3 > > normal_check_interval 5 > > retry_check_interval 1 > > contact_groups admins > > notification_interval 120 > > notification_period 24x7 > > notification_options c,r > > check_command check_ssh > > } > > > > and when I check the config, get this: > > > > Error: Service check command 'check_ssh' specified in service 'SSH' > for host > > 'nathan' not defined anywhere! > > > > Where do I need to define this. I thought maybe in my miscommands.cfg, > but > > that wasn't it. > > Every check_command that you use must be defined somewhere, typically in > [mis]commands.cfg. There are not example command definitions created for > all the plugins so there will be some you need to create yourself, > especially if/when you start creating your own checks. This is one of > those it seems. Your command definition will look something like: > > # 'check_ssh' command definition > define command{ > command_name check_ssh > command_line $USER1$/check_ssh $HOSTADDRESS$ -t 30 > } > > You can of course modify it to suit your needs. Run > /usr/local/nagios/libexec/check_ssh --help to see what command line > arguments it understands and their meaning. > > -- > Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianbmacdonald at gmail.com Tue Oct 5 20:50:28 2004 From: ianbmacdonald at gmail.com (Ian MacDonald) Date: Tue, 5 Oct 2004 14:50:28 -0400 Subject: Nagio "Pending" Message-ID: <5cc262ea0410051150292905b7@mail.gmail.com> Hey gang, I have a Nagios install, running on Debian Sid. Specifically, ii nagios-plugins 1.3.1.0-9 Plugins for the nagios network monitoring an ii nagios-text 1.2-3.6 A host/service/network monitoring and manage I have run the -v option, confirming my configuration is clean. Status.log, Nagios.log show no indication of any errors. Nagios automatically built me a default host on my gw using the default generic-host template. define host{ use generic-host ; Name of host template to use host_name gw alias Default Gateway address 10.x.x.x check_command check-host-alive max_check_attempts 20 notification_interval 60 notification_period 24x7 notification_options d,u,r } My service template for this host uses again the default template, which just pings: define service{ use generic-service ; Name of service template to use host_name gw service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups router-admins notification_interval 240 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } Anyhow, the host is pingable, but in the status map I just get "Pending..." on a green background. No data anywhere.. No errors, just idle Nagios. Lots of disk space everywhere. Is there somewhere I can get more information on what is hung up? On the command line I see: # /usr/lib/nagios/plugins/check_fping -H 10.x.x.x FPING OK - 10.20.0.74 (loss=0.000000%, rta=2.830000 ms) # Permissions are all set to the 'nagios' user. The named pipe 'nagios.cmd' disappears when nagios is stopped, and reappears when it is started. In my status.log, all I see is: SERVICE;gw;PING;PENDING;0/3;HARD;0;1097002350;ACTIVE;0;0;0;0;0;OK;0;0;0;0;0;0;0;0;0;0;0;0.0;0;1;1;1;Service check scheduled for Tue Oct 5 14:52:30 2004 In my Nagios.log, all I see is: [1097001364] Nagios 1.2 starting... (PID=628) Any ideas? thanks, Ian. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ianbmacdonald at gmail.com Tue Oct 5 20:56:47 2004 From: ianbmacdonald at gmail.com (Ian MacDonald) Date: Tue, 5 Oct 2004 14:56:47 -0400 Subject: Nagio "Pending" resolved Message-ID: <5cc262ea04100511561dce85f9@mail.gmail.com> Well, it turns out all the 'Pending' was a result of nothing being enabled. Following some links around in the interface, I commited some enable service commands and away it goes... Maybe Pending... should say Disabled... .. it really made me think something was about to happen and was not. Ian. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagiosmaillist.4.lgetschel at spamgourmet.com Tue Oct 5 20:59:49 2004 From: nagiosmaillist.4.lgetschel at spamgourmet.com (nagiosmaillist.4.lgetschel at spamgourmet.com) Date: Tue, 05 Oct 2004 12:59:49 -0600 Subject: sending mails with nagios In-Reply-To: References: Message-ID: <4162EF25.5090701@denver.westerngeco.slb.com> > 2. sending mails with nagios (Nagios) >Date: Sun, 3 Oct 2004 15:32:26 +0200 >To: nagios-users at lists.sourceforge.net >From: Nagios >Reply-To: Nagios >Subject: [Nagios-users] sending mails with nagios > >i'm looking for examples to customize the mail sending with nagios >.

Is it possible to avoid sendmail and directly send on a port 25 = >to >a mail server ? > I don't have any examples for you (I'm still a newbie to nagios, trying to understand the manual and configurations), But I've used a program called mailsend (http://www.muquit.com/muquit/software/mailsend/mailsend.html) on both Windows and Linux that sends to port 25 on mail servers, and it works very well for me. See if it fits your needs. Lewis ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 21:12:21 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 05 Oct 2004 21:12:21 +0200 Subject: compiling nagios 2 In-Reply-To: <4162AFFC.1000504@ambra.ro> References: <4162AFFC.1000504@ambra.ro> Message-ID: <4162F215.3090706@op5.se> victor wrote: > I get the following error when I compile: > > /home/victor/nagios-cvs/cgi/statusmap.c:2218: undefined reference to > `gdImageCreateFromJpeg' > You have somehow managed to get the gd header files installed, but the gd dso's are either corrupt or missing. Either way, ldd can't find them. Remove all traces of gd from your system and then re-install it. > Thank you. > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Kevin.Andersen at 247RealMedia.com Tue Oct 5 21:28:13 2004 From: Kevin.Andersen at 247RealMedia.com (Andersen, Kevin J.) Date: Tue, 5 Oct 2004 15:28:13 -0400 Subject: escalations Message-ID: Anyone have any input on this one? It would help me out! Thanks -----Original Message----- From: Andersen, Kevin J. [mailto:Kevin.Andersen at 247RealMedia.com] Sent: Thursday, September 30, 2004 8:16 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] escalations Can escalations be set for a service template? I have over 1400 service checks, but only 12 templates. I know I can set escalations by host groups, but what about service templates? Thanks ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SGilbert at nvidia.com Tue Oct 5 22:10:39 2004 From: SGilbert at nvidia.com (Steve Gilbert) Date: Tue, 5 Oct 2004 13:10:39 -0700 Subject: Custom notification commands...old question with new twist... Message-ID: I've got a variation on a question that has been asked here several times before. Please bear with me... I want to modify my notification messages to include such things as physical location, serial number, user contact list, vendor contract numbers, etc. This is simple to do via changing the misccommands.cfg file...lots of folks seem to be just having it grep for the appropriate info from a flat file or database or whatever. Simple enough. Here's where I'd like to do it a little differently...and I'm not sure if this is possible or not. I'd really like to have all this info come straight from my hosts.cfg file somehow. Is it possible to add in another directive to a hosts definition? I've played around with just trying to use the alias directive to hold all this info, but it's pretty ugly. I'd love to have some sort of "notes" directive in here that would populate a macro...preferably being able to hold multiple lines of info. It would just be nice to store all this info in one place and not have to maintain a hosts.cfg and a separate notes file. Would this require a modification to the core Nagios code? Thanks! Steve Gilbert Unix Systems Administrator sgilbert at nvidia.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Oct 5 22:11:55 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 06 Oct 2004 09:11:55 +1300 Subject: check_nrpe solaris woes In-Reply-To: <4162B2A1.9050400@ha-solutions.net> References: <4162B2A1.9050400@ha-solutions.net> Message-ID: Longtime user? Maybe NRPE Server and Plugin are different Versions? It will not work with a 1.X Server and a 2.0 check_nrpe or vice versa. Jan > List folks, > > Ok, I've been a long time user of nagios and love it. Recently I have > added a new Solaris 9 box to the mix and wanted to utilize the nrpe > goodies to monitor disk/procs/messages and such but ran into a huge > roadblock. All libs are present, the nrpe daemon fires up ok, config > looks good(the same a other working linux/bsd clients except for the > actual params) > > What I get from the chck_nrpe -H hostname -c check_disk > NRPE: Unable to read output > > I thought it was firewall related so I moved it to the same local > subnet. No luck. I thought it was config issues, so I hacked away with > new values. No luck > I thought it was compile issues, so I recompiled with any feasable > options(no ssl just to be complete). No luck. > > > There are no messages logged to syslog(even with debug enabled...go > figure). All plugins called to be exacuted on the remote host work fine > on the nagios host(both are solaris 9 sparc) check_nrpe works fine on > all other Intel hosts fine. > > Any thoughts or words of wisdom? > > > _Terry > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Oct 5 22:21:45 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 06 Oct 2004 09:21:45 +1300 Subject: multiple instances In-Reply-To: <20041005144854.F977-100000@cyberdine.freebsdbrasil.com.br> References: <20041005144854.F977-100000@cyberdine.freebsdbrasil.com.br> Message-ID: No! Not correct. As i see no use in that way but you seem to insist on different instances try it that way: Install nagios && configure compile a second nagios and take care of the piont in the installation process: [quote] Run the configure script to initialize variables and create a Makefile as follows... ./configure --prefix=prefix --with-cgiurl=cgiurl --with-htmurl=htmurl --with-nagios-user=someuser --with-nagios-grp=somegroup Replace prefix with the installation directory that you created in the step above (default is /usr/local/nagios) Replace cgiurl with the actual url you will be using to access the CGIs (default is /nagios/cgi-bin). Do NOT append a slash at the end of the url. Replace htmurl with the actual url you will be using to access the HTML for the main interface and documentation (default is /nagios/) Replace someuser with the name of a user on your system that will be used for setting permissions on the installed files (default is nagios) Replace somegroup with the name of a group on your system that will be used for setting permissions on the installed files (default is nagios) [/quote] choose different prefixes (and create the different directorys) afterwards you should have a second nagios in a different directory configure this instance as well.. use a different alias in the httpd.conf of course and it should work.. What you try to do below is NOT working! (But i don't know wheter my approach is better.. but .. i will be quiet now. Jan > > Oks guys, > > i will edit the cgi.cfg, and i will need to define some attributes as > like: > > main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg > main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg > > url_html_path=/nagios > url_html_path=/companyA > url_html_path=/companyB > > authorized_for_system_information=admin,userA,userB > > will i need to copy the etc (with the .cfg files) for other directory > (/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files > in the /nagios/etc? > > then, i will define the hosts, hostgroups, services, and i need to create > the aliases scripts: > > ScriptAlias /companyA/cgi-bin/ > /usr/home/eksffa/public_html/nagios/companyA/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > ScriptAlias /companyB/cgi-bin/ > /usr/home/eksffa/public_html/nagios/CompanyB/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Is this correcty? > > Mario Sergio > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at tany.com Tue Oct 5 22:50:08 2004 From: tim at tany.com (Tim Palmer) Date: Tue, 05 Oct 2004 16:50:08 -0400 Subject: multiple instances In-Reply-To: <20041005144854.F977-100000@cyberdine.freebsdbrasil.com.br> References: <20041005144854.F977-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <6.1.2.0.2.20041005162923.02cf6870@mail.tany.com> No, you are making this far more complicated than it needs to be. One nagios.cfg, one cgi.cfg, one webspace, one ScriptAlias, one Alias. You don't need all this extra stuff. When a user logs into apache, the account that they use to login will be matched to a contact in your contacts.cfg. What that person will see is determined by which hosts/hostgroups/services use the contactgroup that this contact is a member of. In general, don't put any contacts besides maybe a "superuser" in the cgi.cfg "authorized_for_..." lines. Read - very carefully, as many times as necessary - the section in the docs called "Configuring Authentication for the CGIs". Make sure you understand the "definitions" section near the top. tim At 01:59 PM 10/5/2004, Mario Sergio Candian wrote: >Oks guys, > >i will edit the cgi.cfg, and i will need to define some attributes as >like: > >main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg >main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg >main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg > >url_html_path=/nagios >url_html_path=/companyA >url_html_path=/companyB > >authorized_for_system_information=admin,userA,userB > >will i need to copy the etc (with the .cfg files) for other directory >(/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files >in the /nagios/etc? > >then, i will define the hosts, hostgroups, services, and i need to create >the aliases scripts: > > ScriptAlias /companyA/cgi-bin/ >/usr/home/eksffa/public_html/nagios/companyA/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > ScriptAlias /companyB/cgi-bin/ >/usr/home/eksffa/public_html/nagios/CompanyB/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > >Is this correcty? > >Mario Sergio > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mscandian at freebsdbrasil.com.br Tue Oct 5 22:37:47 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Tue, 5 Oct 2004 17:37:47 -0300 (BRT) Subject: multiple instances In-Reply-To: References: Message-ID: <20041005173625.Q977-100000@cyberdine.freebsdbrasil.com.br> Oks Jan, but, if i do it, i will have many nagios installed. Can i do it with only one nagios installed? or is it impossible? Mario Sergio On Wed, 6 Oct 2004, Jan Scholten wrote: > No! Not correct. > > As i see no use in that way but you seem to insist on different instances > try it that way: > > Install nagios && configure > > compile a second nagios and take care of the piont in the installation > process: > [quote] > Run the configure script to initialize variables and create a Makefile as > follows... > > ./configure --prefix=prefix --with-cgiurl=cgiurl --with-htmurl=htmurl > --with-nagios-user=someuser --with-nagios-grp=somegroup > > Replace prefix with the installation directory that you created in the > step above (default is /usr/local/nagios) > Replace cgiurl with the actual url you will be using to access the CGIs > (default is /nagios/cgi-bin). Do NOT append a slash at the end of the url. > Replace htmurl with the actual url you will be using to access the HTML > for the main interface and documentation (default is /nagios/) > Replace someuser with the name of a user on your system that will be used > for setting permissions on the installed files (default is nagios) > Replace somegroup with the name of a group on your system that will be > used for setting permissions on the installed files (default is nagios) > [/quote] > > choose different prefixes (and create the different directorys) > > afterwards you should have a second nagios in a different directory > configure this instance as well.. use a different alias in the httpd.conf > of course and it should work.. > > What you try to do below is NOT working! (But i don't know wheter my > approach is better.. but .. i will be quiet now. > > Jan > > > > > Oks guys, > > > > i will edit the cgi.cfg, and i will need to define some attributes as > > like: > > > > main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > > main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg > > main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg > > > > url_html_path=/nagios > > url_html_path=/companyA > > url_html_path=/companyB > > > > authorized_for_system_information=admin,userA,userB > > > > will i need to copy the etc (with the .cfg files) for other directory > > (/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files > > in the /nagios/etc? > > > > then, i will define the hosts, hostgroups, services, and i need to create > > the aliases scripts: > > > > ScriptAlias /companyA/cgi-bin/ > > /usr/home/eksffa/public_html/nagios/companyA/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > ScriptAlias /companyB/cgi-bin/ > > /usr/home/eksffa/public_html/nagios/CompanyB/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > Is this correcty? > > > > Mario Sergio > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > -- > Jan Scholten > Research and Development Intern > Iconz.co.nz > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 5 22:53:50 2004 From: marc at ena.com (Marc Powell) Date: Tue, 5 Oct 2004 15:53:50 -0500 Subject: Nagio "Pending" resolved Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BB78@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian MacDonald Sent: Tuesday, October 05, 2004 1:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagio "Pending" resolved > Well, it turns out all the 'Pending' was a result of nothing being enabled. > > Following some links around in the interface, I commited some enable service > commands and away it goes... You should not have to do this. Do you have checks enabled in nagios.cfg (execute_service_checks=1)? You'll also need to enable active checks in your service template if you want them to be checked and to apply to all services (active_checks_enabled 1), otherwise you can do it on a per-service basis. Whoever built those default entries for you (and it wasn't nagios; probably the package maintainer), was nice, but they were incomplete or unclear. Perhaps his documentation covered that piece of information... -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Tue Oct 5 23:20:45 2004 From: tinzauro at ha-solutions.net (Terry L. Inzauro) Date: Tue, 05 Oct 2004 16:20:45 -0500 Subject: check_nrpe solaris woes In-Reply-To: References: <4162B2A1.9050400@ha-solutions.net> Message-ID: <1097011245.6332.4.camel@wiseguy> Tried that as well. In fact, I went out of my way to create identical build environments on the nagios host and the client. both have the ssl/libgcc/* libs. I even built nrpe/check_crpe on the client and I build one on the nagios host. just be certain. No luck. Any other thoughts? _Terry On Tue, 2004-10-05 at 15:11, Jan Scholten wrote: > Longtime user? > > Maybe NRPE Server and Plugin are different Versions? It will not work with > a 1.X Server and a 2.0 check_nrpe or vice versa. > > Jan > > List folks, > > > > Ok, I've been a long time user of nagios and love it. Recently I have > > added a new Solaris 9 box to the mix and wanted to utilize the nrpe > > goodies to monitor disk/procs/messages and such but ran into a huge > > roadblock. All libs are present, the nrpe daemon fires up ok, config > > looks good(the same a other working linux/bsd clients except for the > > actual params) > > > > What I get from the chck_nrpe -H hostname -c check_disk > > NRPE: Unable to read output > > > > I thought it was firewall related so I moved it to the same local > > subnet. No luck. I thought it was config issues, so I hacked away with > > new values. No luck > > I thought it was compile issues, so I recompiled with any feasable > > options(no ssl just to be complete). No luck. > > > > > > There are no messages logged to syslog(even with debug enabled...go > > figure). All plugins called to be exacuted on the remote host work fine > > on the nagios host(both are solaris 9 sparc) check_nrpe works fine on > > all other Intel hosts fine. > > > > Any thoughts or words of wisdom? > > > > > > _Terry > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Tue Oct 5 23:43:08 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 05 Oct 2004 16:43:08 -0500 Subject: event handlers and a parameter Message-ID: <20041005214308.29400.qmail@restricted.dyndns.org> hi guys, I need some help on how I will be able to capture the result of a check that I wrote myself and be able to use this value as an input to the event_handler check I wrote too. Any ideas? Thanks. neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CWaters at jeld-wen.com Wed Oct 6 00:37:23 2004 From: CWaters at jeld-wen.com (CWaters at jeld-wen.com) Date: Tue, 5 Oct 2004 15:37:23 -0700 Subject: Custom notification commands...old question wi th new twist... Message-ID: I had a similar requirement. I decided to just use a mysql backend. My notifications include the nagios info plus the info out of the db gotten by a query when an outage occurs. On the alias line for the hosts.cfg, I included a link to the mysql data so that you can pull the additional info from the db right in the nagios interface. I know it's not what you want. But here's why I mentioned my solution. One thing about putting additional info is when you put a link in the alias field, it tends to break the 3d maps. I did not use them so I did not worry about them. I have found that it's not that big of a deal to maintain the hosts file and the mysql db because the db gets populated first (usually) and then the nagios config is done from the info in the db. Good luck! -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Steve Gilbert Sent: Tuesday, October 05, 2004 1:11 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Custom notification commands...old question with new twist... I've got a variation on a question that has been asked here several times before. Please bear with me... I want to modify my notification messages to include such things as physical location, serial number, user contact list, vendor contract numbers, etc. This is simple to do via changing the misccommands.cfg file...lots of folks seem to be just having it grep for the appropriate info from a flat file or database or whatever. Simple enough. Here's where I'd like to do it a little differently...and I'm not sure if this is possible or not. I'd really like to have all this info come straight from my hosts.cfg file somehow. Is it possible to add in another directive to a hosts definition? I've played around with just trying to use the alias directive to hold all this info, but it's pretty ugly. I'd love to have some sort of "notes" directive in here that would populate a macro...preferably being able to hold multiple lines of info. It would just be nice to store all this info in one place and not have to maintain a hosts.cfg and a separate notes file. Would this require a modification to the core Nagios code? Thanks! Steve Gilbert Unix Systems Administrator sgilbert at nvidia.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From strombrg at dcs.nac.uci.edu Wed Oct 6 01:27:02 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 05 Oct 2004 16:27:02 -0700 Subject: nagios <-> netreo interoperability? Message-ID: <1097018821.4460.858.camel@tesuji.nac.uci.edu> Has anyone found a way to link a nagios server with a netreo omniscient server, without incurring the extra costs of "distributed servers" in the netreo licensing scheme? Thanks. -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From teng at dataway.com Wed Oct 6 02:23:45 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 5 Oct 2004 17:23:45 -0700 Subject: event handlers and a parameter Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7391@dw-mail.dataway.com> Can't you use the $OUTPUT$ macro? -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Tuesday, October 05, 2004 2:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] event handlers and a parameter hi guys, I need some help on how I will be able to capture the result of a check that I wrote myself and be able to use this value as an input to the event_handler check I wrote too. Any ideas? Thanks. neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Oct 6 05:06:47 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 06 Oct 2004 16:06:47 +1300 Subject: host_image In-Reply-To: <41627E4B.3070403@lsexperts.de> References: <41627E4B.3070403@lsexperts.de> Message-ID: You must build nagios with --with-template-extinfo you may want to check http://luebben-home.de/forum/thread.php?threadid=677&boardid=15&styleid=5 Greets Jan > Hello, > > I always fail to define host_images for my hosts. > > I am running nagios 1.2 on debian. > > I added the xedtemplatefile into the cgi.cfg, but obviously he does not > parse this file, because he does not complain about an invalid > filename... > > Where can I search for the problem? > > Regards > Cornelius > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From goldenhawk at rogers.com Wed Oct 6 05:14:58 2004 From: goldenhawk at rogers.com (Daniel Benoy) Date: Tue, 5 Oct 2004 23:14:58 -0400 Subject: Contact methods In-Reply-To: <4161186D.5070702@op5.se> References: <200410031727.18469.goldenhawk@rogers.com> <4161186D.5070702@op5.se> Message-ID: <200410052314.58468.goldenhawk@rogers.com> > You only need one contact to log in. Set up jdoe (for email), jdoe-pager > (for pager alerts) jdoe-im (for im) and so on. Use jdoe to log in. Put > them all in the same contactgroup and you're good to go. So, if I put jdoe, jdoe-pager and jdoe-im into the group 'jdoe-user' jdoe will be able to access things, even if jdoe-pager is the only contact for a specific service (and jdoe is not) ? -- Daniel Benoy *Shameless signature advertisement: *Know anyone who's looking for a network administrator? Tell them about me. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Oct 6 08:23:20 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 06 Oct 2004 01:23:20 -0500 Subject: event handlers and a parameter In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC7391@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC7391@dw-mail.dataway.com> Message-ID: <20041006062320.68530.qmail@restricted.dyndns.org> Oh, I never thought that $OUTPUT$ can be used too in event handlers. Thanks buddy... Tedman Eng writes: > Can't you use the $OUTPUT$ macro? > > > -----Original Message----- > From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] > Sent: Tuesday, October 05, 2004 2:43 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] event handlers and a parameter > > > > hi guys, > > I need some help on how I will be able to capture the result of a check that > > I wrote myself and be able to use this value as an input to the > event_handler check I wrote too. Any ideas? > > Thanks. > > neil > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed Oct 6 09:09:29 2004 From: m.borsani at it.net (Marco Borsani) Date: Wed, 6 Oct 2004 09:09:29 +0200 Subject: extract data Message-ID: Hi ! We need to extract data (numbers) regarding the metrics controlled. I mean CPU charge, disk occupation and so on to use in some statistic charts. How can I obtain those king of numbers? Marco Borsani e-mail: m.borsani at IT.net Unix System Administrator ITnet S.r.l. - Direzione e coordinamento di Enel S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Direzione Centrale e Amministrativa: Via Pacinotti, 39 I-16151 GENOVA (ITALY) tel.: +39 010 4310100 fax: +39 010 4310297 http://www.IT.net mailto:info at IT.net ____________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net ____________________________________________________________ ITnet is associated to CIX Commercial IP eXchange and RIPE. ITnet is associated to AIIP (Associazione Italiana Internet Providers). -------------- next part -------------- An HTML attachment was scrubbed... URL: From victor at ambra.ro Wed Oct 6 09:59:06 2004 From: victor at ambra.ro (victor) Date: Wed, 06 Oct 2004 10:59:06 +0300 Subject: Starting nagios 2 Message-ID: <4163A5CA.5030501@ambra.ro> I installed nagios 2. When I try to start it I gewt the following message in nagios.log. [1097060377] Nagios 2.0a1 starting... (PID=14803) [1097060377] LOG VERSION: 2.0 [1097060377] Finished daemonizing... (New PID=14804) [1097060377] Caught SIGSEGV, shutting down... How can I fix this? Thank you. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ludo.Bosmans at aureusim.be Wed Oct 6 09:58:50 2004 From: Ludo.Bosmans at aureusim.be (Ludo Bosmans) Date: Wed, 6 Oct 2004 09:58:50 +0200 Subject: check_nrpe solaris woes Message-ID: <02769B432700E649B14C0847840DC83B042A81@becompanysrv020.consulting.becompany> Hi, I have a solaris box, with several diff. boot disk. Currently i'm unable to reboot solaris 9 but i have some tips, since i had comparable problems on sol 7 and 8. I have no ssl libraries on the solaris system, so i compiled without that option. Start ./configure with disable-ssl option. Also the check_nrpe must be runned with that option disable, so initial i recompiled version 2 also with the disable-ssl options and renamed the check_nrpe to check_nrpe_sol. Later i found that there is a -n option that force the check_nrpe without ssl. As referred in the nrpe.cfg file at the solaris site, i have made a nagios account and nagios group, the account shell itself is set to /usr/bin/false. In case of problems, also have a look in the syslog and/or messages file for error msg's. best regards, ludo -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Terry L. Inzauro Sent: dinsdag 5 oktober 2004 16:42 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_nrpe solaris woes List folks, Ok, I've been a long time user of nagios and love it. Recently I have added a new Solaris 9 box to the mix and wanted to utilize the nrpe goodies to monitor disk/procs/messages and such but ran into a huge roadblock. All libs are present, the nrpe daemon fires up ok, config looks good(the same a other working linux/bsd clients except for the actual params) What I get from the chck_nrpe -H hostname -c check_disk NRPE: Unable to read output I thought it was firewall related so I moved it to the same local subnet. No luck. I thought it was config issues, so I hacked away with new values. No luck I thought it was compile issues, so I recompiled with any feasable options(no ssl just to be complete). No luck. There are no messages logged to syslog(even with debug enabled...go figure). All plugins called to be exacuted on the remote host work fine on the nagios host(both are solaris 9 sparc) check_nrpe works fine on all other Intel hosts fine. Any thoughts or words of wisdom? _Terry ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e.vanmourik at zhew.nl Wed Oct 6 10:41:05 2004 From: e.vanmourik at zhew.nl (Elmar van Mourik) Date: Wed, 6 Oct 2004 10:41:05 +0200 Subject: extract data Message-ID: <8DA75072BA437146A23E36D54D7059B402F7C2@WOLK.wshd.waterschap.adm> Hi Marco, You can use the performace data to collect statistics. Store them in rrdtool and graph it..... Elmar van Mourik -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]Namens Marco Borsani Verzonden: woensdag 6 oktober 2004 9:09 Aan: NAGIOS Onderwerp: [Nagios-users] extract data Hi ! We need to extract data (numbers) regarding the metrics controlled. I mean CPU charge, disk occupation and so on to use in some statistic charts. How can I obtain those king of numbers? Marco Borsani e-mail: m.borsani at IT.net Unix System Administrator ITnet S.r.l. - Direzione e coordinamento di Enel S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Direzione Centrale e Amministrativa: Via Pacinotti, 39 I-16151 GENOVA (ITALY) tel.: +39 010 4310100 fax: +39 010 4310297 http://www.IT.net mailto:info at IT.net ____________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net ____________________________________________________________ ITnet is associated to CIX Commercial IP eXchange and RIPE. ITnet is associated to AIIP (Associazione Italiana Internet Providers). Door de electronische verzending van het bericht kunnen er geen rechten ontleend worden aan de informatie. Als u deze e-mail onterecht heeft ontvangen, waarschuwt u dan de afzender via postmaster at zhew.nl en verwijder de gegevens van de computer. ZHEW wordt opgeheven. Vanaf 1 januari 2005 zijn de watertaken van het zuiveringsschap ondergebracht bij drie ?all-in? waterschappen. Meer informatie: Zuiveringsschap Hollandse Eilanden en Waarden, Dordrecht tel: +31 (0)78 6397100 fax: +31 (0)78 6311871 web: http://www.zhew.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Wed Oct 6 13:43:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Oct 2004 13:43:55 +0200 Subject: check_nrpe solaris woes In-Reply-To: <1097011245.6332.4.camel@wiseguy> References: <4162B2A1.9050400@ha-solutions.net> <1097011245.6332.4.camel@wiseguy> Message-ID: <4163DA7B.7040903@op5.se> Terry L. Inzauro wrote: > Tried that as well. In fact, I went out of my way to create identical > build environments on the nagios host and the client. both have the > ssl/libgcc/* libs. > > I even built nrpe/check_crpe on the client and I build one on the nagios > host. just be certain. No luck. > This is what you HAVE to do. The server-side nrpe must be built on the server being monitored. The client-side check_nrpe must be built on the server doing the monitoring. Make sure NRPE is running on the server being monitored, and check the syslog on that same server. > > Any other thoughts? > Make heavy use of ldd on both computers and make sure all the required libraries are there. Try running check_nrpe without specifying a command and make sure you get something back before experimenting with anything else. > > _Terry > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 6 13:56:27 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Oct 2004 13:56:27 +0200 Subject: Custom notification commands...old question with new twist... In-Reply-To: References: Message-ID: <4163DD6B.3010705@op5.se> Steve Gilbert wrote: > I've got a variation on a question that has been asked here several > times before. Please bear with me... > > I want to modify my notification messages to include such things as > physical location, serial number, user contact list, vendor contract > numbers, etc. > > This is simple to do via changing the misccommands.cfg file...lots of > folks seem to be just having it grep for the appropriate info from a > flat file or database or whatever. Simple enough. > > Here's where I'd like to do it a little differently...and I'm not sure > if this is possible or not. I'd really like to have all this info come > straight from my hosts.cfg file somehow. Is it possible to add in > another directive to a hosts definition? Yes, but it requires a bit of meddling with the C-code. Nagios is a monitoring tool, not an inventory system. > I've played around with just > trying to use the alias directive to hold all this info, but it's pretty > ugly. I'd love to have some sort of "notes" directive in here that > would populate a macro... I'm working on adding a $HOSTNOTESURL$ macro to Nagios 2.0 (from hostextinfo). That way you can connect it to whatever web-based system you want. > preferably being able to hold multiple lines of info. This would require rather vast changes. Everything in Nagios is based on 'one-line' assumptions. Each variable have only one value, and each value needs to be on one line only. I'm sure this could be changed somehow, but that requires a bit of fiddling. > It would just be nice to store all this info in one place and not > have to maintain a hosts.cfg and a separate notes file. Like I said before. Nagios is not an inventory system. > Would this require a modification to the core Nagios code? > Yes. > Thanks! > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 6 14:08:41 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Oct 2004 14:08:41 +0200 Subject: Contact methods In-Reply-To: <200410052314.58468.goldenhawk@rogers.com> References: <200410031727.18469.goldenhawk@rogers.com> <4161186D.5070702@op5.se> <200410052314.58468.goldenhawk@rogers.com> Message-ID: <4163E049.6030901@op5.se> Daniel Benoy wrote: >>You only need one contact to log in. Set up jdoe (for email), jdoe-pager >>(for pager alerts) jdoe-im (for im) and so on. Use jdoe to log in. Put >>them all in the same contactgroup and you're good to go. > > > So, if I put jdoe, jdoe-pager and jdoe-im into the group 'jdoe-user' jdoe > will be able to access things, even if jdoe-pager is the only contact for a > specific service (and jdoe is not) ? > Yes but wrong. jdoe will be a designated contact because of his membership in the "jdoe-user" group. The contact 'jdoe' doesn't need to get notifications 24x7 though, and that's what you wanted, wasn't it? On a side note; It's customarily preferrable to have emails sent 24x7 to all admins that are to be contacted one way or another for a particular host/service, since it doesn't interfere with their lunch-hours/sleep/vacation/whatever, but still lets them keep track of whatever problems has occured when they get back to the office. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Oct 6 14:41:19 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 6 Oct 2004 14:41:19 +0200 Subject: check output NSClient Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B70@epsewr01.ewrlan.ewr.int> Hi! I had long time big problems with NSClient on two of 15 Terminal Server (same Hardware) Tried really everything form changing language file over changing port. Now i want to test if the problem is between two systems, so is it possible to get the output from the nsclient directly on the host?? I mean the information to the server where the nsclient runs. Thanks for helping me! bye ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Oct 6 15:19:33 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 6 Oct 2004 15:19:33 +0200 Subject: Custom notification commands...old question with new twist... Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B73@epsewr01.ewrlan.ewr.int> Hello! Maybe you want to take a look at > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Wednesday, October 06, 2004 1:56 PM > To: Steve Gilbert > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Custom notification > commands...old question > with new twist... > > > Steve Gilbert wrote: > > I've got a variation on a question that has been asked here several > > times before. Please bear with me... > > > > I want to modify my notification messages to include such things as > > physical location, serial number, user contact list, vendor contract > > numbers, etc. > > > > This is simple to do via changing the misccommands.cfg > file...lots of > > folks seem to be just having it grep for the appropriate info from a > > flat file or database or whatever. Simple enough. > > > > Here's where I'd like to do it a little differently...and > I'm not sure > > if this is possible or not. I'd really like to have all > this info come > > straight from my hosts.cfg file somehow. Is it possible to add in > > another directive to a hosts definition? > > Yes, but it requires a bit of meddling with the C-code. Nagios is a > monitoring tool, not an inventory system. > > > I've played around with just > > trying to use the alias directive to hold all this info, > but it's pretty > > ugly. I'd love to have some sort of "notes" directive in here that > > would populate a macro... > > I'm working on adding a $HOSTNOTESURL$ macro to Nagios 2.0 (from > hostextinfo). That way you can connect it to whatever > web-based system > you want. > > > preferably being able to hold multiple lines of info. > > This would require rather vast changes. Everything in Nagios > is based on > 'one-line' assumptions. Each variable have only one value, and each > value needs to be on one line only. I'm sure this could be changed > somehow, but that requires a bit of fiddling. > > > It would just be nice to store all this info in one place and not > > have to maintain a hosts.cfg and a separate notes file. > > Like I said before. Nagios is not an inventory system. > > > Would this require a modification to the core Nagios code? > > > > Yes. > > > Thanks! > > > > You're welcome. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Oct 6 15:13:24 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 6 Oct 2004 15:13:24 +0200 Subject: NRPE Memory Limit 2GB ?? Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B71@epsewr01.ewrlan.ewr.int> Hi Andreas, i would like to come back to this posting... Until now i used NSClient, but it caused some errors on several machines... Now i want to update the file where the 2GB problem resides... Can you help and tell me which file i have to change??? Thanks a lot! > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Friday, August 27, 2004 6:55 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NRPE Memory Limit 2GB ?? > > > Wengrzik, Andreas wrote: > > Hello i run nagios 1.2 with nrpe > > the nsclient shows me the correct value of ram, but nrpe stops at > > each server at an amount of 2 GB. > > > > This problem has nothing to do with nrpe, but the limited > functionality > of the plugin or its underlying datasource (i.e. another program). > > I imagine the program where the bug resides uses a signed int > to store > the values of the available RAM. A signed int stores exactly > 2GB, so if > it's more than that it would fail (most likely showing > negative numbers > instead). You can easily patch this yourself by looking up > the variable > declaration and change it from int to unsigned long long, which is > capable of holding a number greater than all bytes of RAM > available on > this planet, and shuld thus suffice until it can be properly worked > around. ;-) > > > SOme one has same problems?? > > If I'm correct, then everybody does, but it's not sure that many have > noticed. > > > Thanks! > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by BEA Weblogic Workshop > FREE Java Enterprise J2EE developer tools! > Get your free copy of BEA WebLogic Workshop 8.1 today. > http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Oct 6 15:22:04 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 6 Oct 2004 15:22:04 +0200 Subject: Custom notification commands...old question with new twist... Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B74@epsewr01.ewrlan.ewr.int> Hi! Maybe you will take a look at http://www.i-doit.org/ It?s now under the Artistic License 2.0 so you can use it. Its a really nice feature and if you take a look at: http://www.i-doit.de/produkt/module/anzeige.php?modul=5 (perhaps you will click to the english button) They want to include some information from nagios! So try it! bye > -----Original Message----- > From: Andreas Ericsson [mailto:ae at op5.se] > Sent: Wednesday, October 06, 2004 1:56 PM > To: Steve Gilbert > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Custom notification > commands...old question > with new twist... > > > Steve Gilbert wrote: > > I've got a variation on a question that has been asked here several > > times before. Please bear with me... > > > > I want to modify my notification messages to include such things as > > physical location, serial number, user contact list, vendor contract > > numbers, etc. > > > > This is simple to do via changing the misccommands.cfg > file...lots of > > folks seem to be just having it grep for the appropriate info from a > > flat file or database or whatever. Simple enough. > > > > Here's where I'd like to do it a little differently...and > I'm not sure > > if this is possible or not. I'd really like to have all > this info come > > straight from my hosts.cfg file somehow. Is it possible to add in > > another directive to a hosts definition? > > Yes, but it requires a bit of meddling with the C-code. Nagios is a > monitoring tool, not an inventory system. > > > I've played around with just > > trying to use the alias directive to hold all this info, > but it's pretty > > ugly. I'd love to have some sort of "notes" directive in here that > > would populate a macro... > > I'm working on adding a $HOSTNOTESURL$ macro to Nagios 2.0 (from > hostextinfo). That way you can connect it to whatever > web-based system > you want. > > > preferably being able to hold multiple lines of info. > > This would require rather vast changes. Everything in Nagios > is based on > 'one-line' assumptions. Each variable have only one value, and each > value needs to be on one line only. I'm sure this could be changed > somehow, but that requires a bit of fiddling. > > > It would just be nice to store all this info in one place and not > > have to maintain a hosts.cfg and a separate notes file. > > Like I said before. Nagios is not an inventory system. > > > Would this require a modification to the core Nagios code? > > > > Yes. > > > Thanks! > > > > You're welcome. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 6 15:24:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Oct 2004 15:24:55 +0200 Subject: Starting nagios 2 In-Reply-To: <4163A5CA.5030501@ambra.ro> References: <4163A5CA.5030501@ambra.ro> Message-ID: <4163F227.7030106@op5.se> Victor wrote: > I installed nagios 2. > When I try to start it I gewt the following message in nagios.log. > > [1097060377] Nagios 2.0a1 starting... (PID=14803) > [1097060377] LOG VERSION: 2.0 > [1097060377] Finished daemonizing... (New PID=14804) > [1097060377] Caught SIGSEGV, shutting down... > > How can I fix this? > Thank you. > It's due to a bug with perfdata-file stuff being strdup'ed without being checked for NULL'ness first. Download latest CVS snapshot and recompile. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LLawrence at osc.uscg.mil Wed Oct 6 15:21:55 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Wed, 6 Oct 2004 09:21:55 -0400 Subject: Custom notification commands...old question with new twist... Message-ID: <13828F680182D511893300508BD6831706E5833D@oscex2.osc.uscg.mil> Steve, I am not sure that this is what you want, but I have taken advantage of the fact that comment lines in the .cfg files are ignored to save additional info in my config files. For instance, I have a config file for a clustered service where check_cluster is used to check the cluster. Rather than having a separate file for the cluster service defs, I mark the cluster services with '##', and pick them up when the check command is run. You could do something similar by tagging comments, though it might be tedious. ## host1 serial_no nnn-nn-nnnn ## host1 location Main floor, cabinet 183 define host { use generic_host host_name host1 alias host1 address ip_goes_here } Here is the config I am using, as an example. File cust01_jabber.cfg: #=========================================================================== === # This file contains configuration for monitoring the CUST01 jabber servers. # They operate as an active/passive cluster where the jabber service should # be available on one or other of the servers at all times. #=========================================================================== === #--------------------------------------------------------------------------- --- # Hosts defs #--------------------------------------------------------------------------- --- # the actual hosts define host { use generic_host host_name cust01-prod-jabber01 alias cust01-prod-jabber01 address ip_goes_here } define host { use generic_host host_name cust01-prod-jabber02 alias cust01-prod-jabber02 address ip_goes_here } # A pseudo host representing the cluster define host { use generic_host_nocheck host_name cust01-prod-jabber alias cust01-prod-jabber address None } #--------------------------------------------------------------------------- --- # Services #--------------------------------------------------------------------------- --- # No notifications if a single cust01 jabber service is not available - # check_cluster used to alarm if both are down. # define service { use generic-service host_name cust01-prod-jabber01,cust01-prod-jabber02 service_description jabber check_command check_jabber notification_options n } define service { use generic-service host_name cust01-prod-jabber service_description jabber_cluster check_command check_cluster_service!2!2!etc/cust01_jabber.cfg } #--------------------------------------------------------------------------- --- # check_cluster_service input starts with a '##' #--------------------------------------------------------------------------- --- ## cust01-prod-jabber01;jabber ## cust01-prod-jabber02;jabber My cluster check command looks like this: # # Use this to check a service cluster. The file named by $ARG3$ should contain # lines beginning with '##'. Each of these lines should contain a # ; following the '##', with optional spaces in between # define command { command_name check_cluster_service command_line cat /usr/local/nagios/$ARG3$ | grep '^##' | sed 's/## *//' | $USER1$/check_cluster --service /usr/local/nagios/var/status.log $ARG1$ $ARG2$ } > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Steve > Gilbert > Sent: Tuesday, October 05, 2004 4:11 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Custom notification commands...old > question with > new twist... > > > > I've got a variation on a question that has been asked here several > times before. Please bear with me... > > I want to modify my notification messages to include such things as > physical location, serial number, user contact list, vendor contract > numbers, etc. > > This is simple to do via changing the misccommands.cfg file...lots of > folks seem to be just having it grep for the appropriate info from a > flat file or database or whatever. Simple enough. > > Here's where I'd like to do it a little differently...and I'm not sure > if this is possible or not. I'd really like to have all this > info come > straight from my hosts.cfg file somehow. Is it possible to add in > another directive to a hosts definition? I've played around with just > trying to use the alias directive to hold all this info, but > it's pretty > ugly. I'd love to have some sort of "notes" directive in here that > would populate a macro...preferably being able to hold > multiple lines of > info. It would just be nice to store all this info in one > place and not > have to maintain a hosts.cfg and a separate notes file. Would this > require a modification to the core Nagios code? > > Thanks! > > Steve Gilbert > Unix Systems Administrator > sgilbert at nvidia.com > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Wed Oct 6 15:33:57 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Wed, 06 Oct 2004 08:33:57 -0500 Subject: check_nrpe solaris woes In-Reply-To: <4163DA7B.7040903@op5.se> References: <4162B2A1.9050400@ha-solutions.net> <1097011245.6332.4.camel@wiseguy> <4163DA7B.7040903@op5.se> Message-ID: <4163F445.4010209@ha-solutions.net> wow. i'll give that a whirl a bit later today. thanks Adreas! _Terry Andreas Ericsson wrote: > Terry L. Inzauro wrote: > >> Tried that as well. In fact, I went out of my way to create identical >> build environments on the nagios host and the client. both have the >> ssl/libgcc/* libs. >> >> I even built nrpe/check_crpe on the client and I build one on the nagios >> host. just be certain. No luck. > > > This is what you HAVE to do. The server-side nrpe must be built on the > server being monitored. The client-side check_nrpe must be built on the > server doing the monitoring. > > Make sure NRPE is running on the server being monitored, and check the > syslog on that same server. > >> >> Any other thoughts? >> > > Make heavy use of ldd on both computers and make sure all the required > libraries are there. Try running check_nrpe without specifying a command > and make sure you get something back before experimenting with anything > else. > >> >> _Terry >> >> > -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 402.212.1450 (mobile) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 6 15:30:00 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Oct 2004 15:30:00 +0200 Subject: escalations In-Reply-To: References: Message-ID: <4163F358.2030904@op5.se> Andersen, Kevin J. wrote: > Anyone have any input on this one? It would help me out! I'm sure it would, and I'm equally sure that posting the above doesn't make people friendlier toward you or more willing to answer your question. > Thanks > > -----Original Message----- > From: Andersen, Kevin J. [mailto:Kevin.Andersen at 247RealMedia.com] > Sent: Thursday, September 30, 2004 8:16 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] escalations > > > Can escalations be set for a service template? I have over 1400 service > checks, but only 12 templates. I know I can set escalations by host groups, > but what about service templates? No. A template isn't actually used by nagios at run-time. It's only expanded at load-time and then the memory holding template is free()'d, so other objects can't reference to it (although other objects can be referenced FROM it (there's a difference)). > Thanks > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 6 15:26:13 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Oct 2004 15:26:13 +0200 Subject: NRPE Memory Limit 2GB ?? In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209B71@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209B71@epsewr01.ewrlan.ewr.int> Message-ID: <4163F275.6040301@op5.se> Wengrzik, Andreas wrote: > Hi Andreas, > > i would like to come back to this posting... > Until now i used NSClient, but it caused some errors on several machines... > > Now i want to update the file where the 2GB problem resides... > Can you help and tell me which file i have to change??? > That would be the check_swap or check_mem source-code file. > Thanks a lot! > > >>-----Original Message----- >>From: Andreas Ericsson [mailto:ae at op5.se] >>Sent: Friday, August 27, 2004 6:55 PM >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] NRPE Memory Limit 2GB ?? >> >> >>Wengrzik, Andreas wrote: >> >>>Hello i run nagios 1.2 with nrpe >>>the nsclient shows me the correct value of ram, but nrpe stops at >>>each server at an amount of 2 GB. >>> >> >>This problem has nothing to do with nrpe, but the limited >>functionality >>of the plugin or its underlying datasource (i.e. another program). >> >>I imagine the program where the bug resides uses a signed int >>to store >>the values of the available RAM. A signed int stores exactly >>2GB, so if >>it's more than that it would fail (most likely showing >>negative numbers >>instead). You can easily patch this yourself by looking up >>the variable >>declaration and change it from int to unsigned long long, which is >>capable of holding a number greater than all bytes of RAM >>available on >>this planet, and shuld thus suffice until it can be properly worked >>around. ;-) >> >> >>>SOme one has same problems?? >> >>If I'm correct, then everybody does, but it's not sure that many have >>noticed. >> >> >>>Thanks! >>> >> >>-- >>Andreas Ericsson andreas.ericsson at op5.se >>OP5 AB www.op5.se >>Lead Developer >> >> >>------------------------------------------------------- >>This SF.Net email is sponsored by BEA Weblogic Workshop >>FREE Java Enterprise J2EE developer tools! >>Get your free copy of BEA WebLogic Workshop 8.1 today. >>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS >>when reporting any issue. >>::: Messages without supporting info will risk being sent to /dev/null > > > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Oct 6 15:41:08 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 6 Oct 2004 15:41:08 +0200 Subject: NRPE Memory Limit 2GB ?? Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B75@epsewr01.ewrlan.ewr.int> > > That would be the check_swap or check_mem source-code file. > Hi! There are some files for the memload check: memload_nrpe_nt.cpp memload_nrpe_nt.dsp memload_nrpe_nt.dsw memload_nrpe_nt.ncb memload_nrpe_nt.opt memload_nrpe_nt.plg I searched for 'signed int' in these files but there was no result :/ > > Thanks a lot! > > > > > >>-----Original Message----- > >>From: Andreas Ericsson [mailto:ae at op5.se] > >>Sent: Friday, August 27, 2004 6:55 PM > >>To: nagios-users at lists.sourceforge.net > >>Subject: Re: [Nagios-users] NRPE Memory Limit 2GB ?? > >> > >> > >>Wengrzik, Andreas wrote: > >> > >>>Hello i run nagios 1.2 with nrpe > >>>the nsclient shows me the correct value of ram, but nrpe stops at > >>>each server at an amount of 2 GB. > >>> > >> > >>This problem has nothing to do with nrpe, but the limited > >>functionality > >>of the plugin or its underlying datasource (i.e. another program). > >> > >>I imagine the program where the bug resides uses a signed int > >>to store > >>the values of the available RAM. A signed int stores exactly > >>2GB, so if > >>it's more than that it would fail (most likely showing > >>negative numbers > >>instead). You can easily patch this yourself by looking up > >>the variable > >>declaration and change it from int to unsigned long long, which is > >>capable of holding a number greater than all bytes of RAM > >>available on > >>this planet, and shuld thus suffice until it can be properly worked > >>around. ;-) > >> > >> > >>>SOme one has same problems?? > >> > >>If I'm correct, then everybody does, but it's not sure that > many have > >>noticed. > >> > >> > >>>Thanks! > >>> > >> > >>-- > >>Andreas Ericsson andreas.ericsson at op5.se > >>OP5 AB www.op5.se > >>Lead Developer > >> > >> > >>------------------------------------------------------- > >>This SF.Net email is sponsored by BEA Weblogic Workshop > >>FREE Java Enterprise J2EE developer tools! > >>Get your free copy of BEA WebLogic Workshop 8.1 today. > >>http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS > >>when reporting any issue. > >>::: Messages without supporting info will risk being sent > to /dev/null > > > > > > > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Wed Oct 6 16:07:20 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 06 Oct 2004 10:07:20 -0400 Subject: checks continuing to be run when disabled Message-ID: <1097071640.4348.83.camel@pel> Recently I changed a few (260) of the active checks on my nagios install to go from active to passive. I disabled active checks through the webpage, and enabled passive checks through the webpage. I also updated the config files. Everything seemed to be fine, however when I laster went and checked the logs on the remote machines, I realized that the active checks were still being performed, even though they results weren't being recorded. It continued to do this until I restarted nagios. This seems like a bug to me. Has anyone else noticed this? Is there a better place to report this? Also, I notice that when I have a large number of passive-only checks, they still show up in the scheduling queue as disabled. This also seems a little wrong to me since those active checks will never get run and their presence is causing the scheduling queue to not start out as evenly spaced as it could. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teleneko at gmail.com Wed Oct 6 16:20:38 2004 From: teleneko at gmail.com (Oscar Ramos) Date: Wed, 6 Oct 2004 16:20:38 +0200 Subject: Custom notification commands...old question with new twist... In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209B74@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209B74@epsewr01.ewrlan.ewr.int> Message-ID: <28d813b604100607201d621e61@mail.gmail.com> > Yes, but it requires a bit of meddling with the C-code. Nagios is a > monitoring tool, not an inventory system. Do you mind to recomend an inventory system to be integrated with nagios whose documentation is available in English. And of course with code available. R-ds, oScar. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gmail.com Wed Oct 6 16:24:46 2004 From: nagios at gmail.com (Tomas Morales) Date: Wed, 6 Oct 2004 08:24:46 -0600 Subject: First, Ack and Recovery notifications only Message-ID: <9ec4112a041006072464a39fa7@mail.gmail.com> I have a need to configure a contact group (or a contact if possible) to only receive 3 notifications on host or service problems: First, Acknowledgement and Recovery. There are other contact groups that don't have such a need but need to be part of the same hostgroup contact as a requirement. >From the list archive, I've arrived to the conclusion that is only posible by creating two contacts, one with normal notification options and the second one with recovery only option (i.e. host(or service)_notification_option = r), preserving the same destination address, then use escalations for filtering out message. Could someone confirm how that is accomplished or whether there is simpler way to accomplish this request. In any case I'd appreciate too if some key parameters for the definitions are provided. Thanks in advance, Tomas M. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Carstensen at hq.transcom.mil Wed Oct 6 17:26:31 2004 From: Nicholas.Carstensen at hq.transcom.mil (Carstensen Nicholas Contractor USTC) Date: Wed, 6 Oct 2004 10:26:31 -0500 Subject: Application Version checker? Message-ID: <8CC98E2BFB1C7B49A1224067593F5C2401B8CC0C@USTCVEX14.hq.ds.transcom.mil> Does anyone know of an application version checker for nagios. I have searched the archives and can not find anything. Mostly need something to be able to tell me what version of ssh or openssl I am running. Thanks for the help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Wengrzik at ewr.de Wed Oct 6 17:46:17 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 6 Oct 2004 17:46:17 +0200 Subject: NRPE Memory Limit 2GB ?? Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B79@epsewr01.ewrlan.ewr.int> > > That would be the check_swap or check_mem source-code file. > Hi! There are some files for the memload check: memload_nrpe_nt.cpp memload_nrpe_nt.dsp memload_nrpe_nt.dsw memload_nrpe_nt.ncb memload_nrpe_nt.opt memload_nrpe_nt.plg I searched for 'signed int' in these files but there was no result :/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Oct 6 17:55:16 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 06 Oct 2004 10:55:16 -0500 Subject: OUTPUT variable Message-ID: <20041006155516.11905.qmail@restricted.dyndns.org> Hi guys, Is there a way to get around with the limitation on the length of the $OUTPUT$ variable? Thanks. Neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Wed Oct 6 18:00:59 2004 From: martinus.nel at scarceskills.com (Martinus Nel) Date: Wed, 06 Oct 2004 17:00:59 +0100 Subject: checks continuing to be run when disabled In-Reply-To: <1097071640.4348.83.camel@pel> References: <1097071640.4348.83.camel@pel> Message-ID: <20041006.fUK.58436300@192.168.1.99> Sean, >From first hand experiance, you need to clean your state retention file if you go from active to passive check on a service. There is another sulotion that I have read off, manualy submit a check result - but I have no experiance on it. As for the checks showing 'disabled', I would also like to know why Martinus. Sean Dilda (agrajag at dragaera.net) wrote: > > Recently I changed a few (260) of the active checks on my nagios install > to go from active to passive. I disabled active checks through the > webpage, and enabled passive checks through the webpage. I also updated > the config files. Everything seemed to be fine, however when I laster > went and checked the logs on the remote machines, I realized that the > active checks were still being performed, even though they results > weren't being recorded. It continued to do this until I restarted > nagios. > > This seems like a bug to me. Has anyone else noticed this? Is there a > better place to report this? > > Also, I notice that when I have a large number of passive-only checks, > they still show up in the scheduling queue as disabled. This also seems > a little wrong to me since those active checks will never get run and > their presence is causing the scheduling queue to not start out as > evenly spaced as it could. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 6 18:03:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 06 Oct 2004 18:03:46 +0200 Subject: Custom notification commands...old question with new twist... In-Reply-To: <28d813b604100607201d621e61@mail.gmail.com> References: <90D32590BAD135448DC12C1EA3EB4482209B74@epsewr01.ewrlan.ewr.int> <28d813b604100607201d621e61@mail.gmail.com> Message-ID: <41641762.7000700@op5.se> Oscar Ramos wrote: > > Yes, but it requires a bit of meddling with the C-code. Nagios is a > > monitoring tool, not an inventory system. > > Do you mind to recomend an inventory system to be integrated with > nagios whose documentation is available in English. And of course with > code available. > I don't know of any opensource based solutions, but I'm sure you'd be able to write one yourself using PHP and MySQL if you give it a month or two. Start easy at first and add ordering forms and such later. It shouldn't be too hard. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Oct 6 18:06:43 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 6 Oct 2004 09:06:43 -0700 Subject: Application Version checker? In-Reply-To: <8CC98E2BFB1C7B49A1224067593F5C2401B8CC0C@USTCVEX14.hq.ds.transcom.mil> References: <8CC98E2BFB1C7B49A1224067593F5C2401B8CC0C@USTCVEX14.hq.ds.transcom.mil> Message-ID: <20041006160642.GA31458@zippy.toger.us> $ openssl version OpenSSL 0.9.7d 17 Mar 2004 $ ssh -V OpenSSH_3.8.1p1, OpenSSL 0.9.7d 17 Mar 2004 However, this isn't really a Nagios issue unless you are monitoring that the version # doesn't change. If you are looking to manage a set of files and make sure they don't change, I recommend http://www.cfengine.org/ as it is specificaly designed for that. -Jason Martin On Wed, Oct 06, 2004 at 10:26:31AM -0500, Carstensen Nicholas Contractor USTC wrote: > Does anyone know of an application version checker for nagios. I have > searched the archives and can not find anything. Mostly need something > to be able to tell me what version of ssh or openssl I am running. -- Cause of crash: Inadvertent contact with the ground. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From jcobb at optibrand.com Wed Oct 6 18:20:31 2004 From: jcobb at optibrand.com (Justin Cobb) Date: Wed, 06 Oct 2004 10:20:31 -0600 Subject: Application Version checker? In-Reply-To: <8CC98E2BFB1C7B49A1224067593F5C2401B8CC0C@USTCVEX14.hq.ds.transcom.mil> References: <8CC98E2BFB1C7B49A1224067593F5C2401B8CC0C@USTCVEX14.hq.ds.transcom.mil> Message-ID: <41641B4F.6050805@optibrand.com> Why dont you just write a script that does it for you. It would be easy to do in perl. Then you can either run it locally or use nrpe to run remotely. Carstensen Nicholas Contractor USTC wrote: > Does anyone know of an application version checker for nagios. I have > searched the archives and can not find anything. Mostly need > something to be able to tell me what version of ssh or openssl I am > running. Thanks for the help. > > > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jritchie at bible.edu Wed Oct 6 18:58:34 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Wed, 6 Oct 2004 12:58:34 -0400 Subject: User Administration - Access Message-ID: <20041006125834.24f8a8d2@penguin> I'd like to have a user who is not responsible for responding to failure and so needn't get an email when things fail be able to look over the running services and see what's up and down. Specifically, my boss. Can I tune things in that way? I was looking over the docs and it wasn't becoming plain to me. The docs are terrific in many ways and probably the best FOSS docs I've ever seen, but a touch lacking in this area unless I just didn't find the right spot. Any points in the right direction would help. Thanks, JSR/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Wed Oct 6 19:19:05 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 06 Oct 2004 13:19:05 -0400 Subject: checks continuing to be run when disabled In-Reply-To: <20041006.fUK.58436300@192.168.1.99> References: <20041006.fUK.58436300@192.168.1.99> Message-ID: <1097083145.4348.97.camel@pel> On Wed, 2004-10-06 at 12:00, Martinus Nel wrote: > Sean, > > >From first hand experiance, you need to clean your state retention file if you > go from active to passive check on a service. Thanks for your response. I'm aware of working with the retention file. That's why I manually change the status of them through the nagios commands file. This changes the internal state of the running nagios process which in turn changes the contents of the state retention file, thus allowing me to avoid wiping it. However, even after I did that, nagios continued to execute the active checks. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at usc.edu Wed Oct 6 19:28:49 2004 From: phil at usc.edu (Phil Dibowitz) Date: Wed, 6 Oct 2004 10:28:49 -0700 Subject: User Administration - Access In-Reply-To: <20041006125834.24f8a8d2@penguin> References: <20041006125834.24f8a8d2@penguin> Message-ID: <20041006172849.GI5754@usc.edu> On Wed, Oct 06, 2004 at 12:58:34PM -0400, Josiah Ritchie wrote: > I'd like to have a user who is not responsible for responding to failure > and so needn't get an email when things fail be able to look over the > running services and see what's up and down. Specifically, my boss. Can I > tune things in that way? > > I was looking over the docs and it wasn't becoming plain to me. The docs > are terrific in many ways and probably the best FOSS docs I've ever seen, > but a touch lacking in this area unless I just didn't find the right spot. > Any points in the right direction would help. Sure, set up the user in the contacts.cfg file, then, assign him privelege in the cgi.cfg file, but don't put him in any contactgroups (you'll get a warning on startup, but that's okay, they're just warnings). -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From cmailhebuau at nerim.net Wed Oct 6 19:35:03 2004 From: cmailhebuau at nerim.net (Christophe Mailhebuau) Date: Wed, 6 Oct 2004 19:35:03 +0200 Subject: how much Message-ID: <20041006173503.GD3351@elohim.justlinux.org> Hi, I need to install nagios on different plateforms, and how many plugin nagios can it carry out in same time ? is it possible to launch the checks in a precise order? Best regards, -- Cordialement, Christophe Mailhebuau http://www.justlinux.org http://www.abul.org GPG: 1024D/75B07F8D: BD18 2D01 D954 A339 E35B 9EA1 4240 0410 75B0 7F8D -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From jhmartin at toger.us Wed Oct 6 19:55:58 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 6 Oct 2004 10:55:58 -0700 Subject: how much In-Reply-To: <20041006173503.GD3351@elohim.justlinux.org> References: <20041006173503.GD3351@elohim.justlinux.org> Message-ID: <20041006175557.GC31458@zippy.toger.us> On Wed, Oct 06, 2004 at 07:35:03PM +0200, Christophe Mailhebuau wrote: > I need to install nagios on different plateforms, and > how many plugin nagios can it carry out in same time ? As many as your nagios server can handle; give us an idea of how many services you are thinking about and we can give you a better idea. > is it possible to launch the checks in a precise order? No. Your scripts must not make any assumptions about frequency ,order, or concurrency of execution. -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From SGilbert at nvidia.com Wed Oct 6 20:15:59 2004 From: SGilbert at nvidia.com (Steve Gilbert) Date: Wed, 6 Oct 2004 11:15:59 -0700 Subject: Custom notification commands...old question with new twist... Message-ID: Thanks Andreas, and everyone else who's replied to this. I think I might try the suggestion from Lynne Lawrence regarding using comments to store the data I want. Otherwise, the tried and true method of just using a separate file will do. Steve Gilbert Unix Systems Administrator sgilbert at nvidia.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Wednesday, October 06, 2004 4:56 AM To: Steve Gilbert Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Custom notification commands...old question with new twist... Steve Gilbert wrote: > I've got a variation on a question that has been asked here several > times before. Please bear with me... > > I want to modify my notification messages to include such things as > physical location, serial number, user contact list, vendor contract > numbers, etc. > > This is simple to do via changing the misccommands.cfg file...lots of > folks seem to be just having it grep for the appropriate info from a > flat file or database or whatever. Simple enough. > > Here's where I'd like to do it a little differently...and I'm not sure > if this is possible or not. I'd really like to have all this info > come straight from my hosts.cfg file somehow. Is it possible to add > in another directive to a hosts definition? Yes, but it requires a bit of meddling with the C-code. Nagios is a monitoring tool, not an inventory system. > I've played around with just > trying to use the alias directive to hold all this info, but it's > pretty ugly. I'd love to have some sort of "notes" directive in here > that would populate a macro... I'm working on adding a $HOSTNOTESURL$ macro to Nagios 2.0 (from hostextinfo). That way you can connect it to whatever web-based system you want. > preferably being able to hold multiple lines of info. This would require rather vast changes. Everything in Nagios is based on 'one-line' assumptions. Each variable have only one value, and each value needs to be on one line only. I'm sure this could be changed somehow, but that requires a bit of fiddling. > It would just be nice to store all this info in one place and not have > to maintain a hosts.cfg and a separate notes file. Like I said before. Nagios is not an inventory system. > Would this require a modification to the core Nagios code? > Yes. > Thanks! > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Oct 6 20:33:40 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 6 Oct 2004 11:33:40 -0700 Subject: OUTPUT variable Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC7393@dw-mail.dataway.com> The two methods I know of: use an external file to hold the necessary data, or edit the nagios source. If this is continuation to question regarding the custom plugin you wrote, the first method is simple enough to do. Make your plugin output a unique string, and write the long output to a temp file identified by the unique string. Your event handler would then use the output from the plugin to know which temp file to look in. -----Original Message----- From: Neil [mailto:neil-on-nagios at restricted.dyndns.org] Sent: Wednesday, October 06, 2004 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] OUTPUT variable Hi guys, Is there a way to get around with the limitation on the length of the $OUTPUT$ variable? Thanks. Neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 6 20:43:53 2004 From: marc at ena.com (Marc Powell) Date: Wed, 6 Oct 2004 13:43:53 -0500 Subject: User Administration - Access Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BBE5@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Josiah Ritchie > Sent: Wednesday, October 06, 2004 11:59 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] User Administration - Access > > I'd like to have a user who is not responsible for responding to failure > and so needn't get an email when things fail be able to look over the > running services and see what's up and down. Specifically, my boss. Can I > tune things in that way? Yup. Just set his service_notification_period and host_notification_period to 'none' in his contact definition, add him as a member to the contact_group(s) for the hosts and services you want him to see and create an htaccess account for him. That should do it. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From avance at speakeasy.net Wed Oct 6 20:38:47 2004 From: avance at speakeasy.net (Andy Vance) Date: Wed, 6 Oct 2004 11:38:47 -0700 Subject: HOST DOWN notification not getting resent In-Reply-To: References: Message-ID: although this may have not been a bug I never found the "misconfiguration" that was causing this. I did however find a workaround that allows me to receive multiple notifications from my service checks even though the host is down. I removed the check_command from the host definition and now the host is always assumed up. Andy -----Original Message----- From: Andy Vance [mailto:avance at speakeasy.net] Sent: Monday, September 27, 2004 7:31 AM To: nagios-users at lists.sourceforge.net Subject: Re: Re: HOST DOWN notification not getting resent Gerd, Thanks for the response. Yes I did confirm my generic-user didn't have notification-interval set to 0. Here is the template in question... # Generic host definition template define host{ name generic-host notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } Andy ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jritchie at bible.edu Wed Oct 6 20:46:43 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Wed, 6 Oct 2004 14:46:43 -0400 Subject: hostgroup_name in services definition halts nagios start Message-ID: <20041006144643.3f0b75f8@penguin> nagios -v /etc/nagios/nagios.cfg results in Error: Service description, host name, or check command is NULL Error: Could not register service (config file '/etc/nagios/services.cfg', line 36) Line 36 and following 16 following lines: define service{ use generic-service hostgroup_name switches,windows-boxes,security-boxes ; host_name iprism,shaper,sarah,ruth,rachel,penguin,noah service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ping!100.0,20%!500.0,60% } It looks to me like everything is filled in. If I comment out hostgroup_name and uncomment host_name it works fine. I'd rather go by hostgroup for ease of administration. Is this a bug in the checking or am I seriously missing something? JSR/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Wed Oct 6 20:56:10 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Wed, 6 Oct 2004 11:56:10 -0700 Subject: OUTPUT variable In-Reply-To: <20041006155516.11905.qmail@restricted.dyndns.org> References: <20041006155516.11905.qmail@restricted.dyndns.org> Message-ID: nagios-1.2/common/objects.h #define MAX_PLUGINOUTPUT_LENGTH 352 /* max. length of plugin output */ I changed the value to 704 and have run for several months with no ill effects.... Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil Sent: Wednesday, October 06, 2004 8:55 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] OUTPUT variable Hi guys, Is there a way to get around with the limitation on the length of the $OUTPUT$ variable? Thanks. Neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Wed Oct 6 21:06:47 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Wed, 06 Oct 2004 15:06:47 -0400 Subject: Distributed nagios problem - service definition not found! Message-ID: I just recently setup distributed nagios. I followed the directions very closely. I first had a problem running the nsca daemon through xinetd. It just wouldn't listen for incoming on 5667. I added the line to /etc/services also. Here is my config: service nsca { flags = REUSE socket_type = stream wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nsca server_args = -c /usr/local/nagios/etc/nsca.cfg log_on_failure += USERID disable = no only_from = 10.12.225.50 } If I run it from command line in daemon mode it works fine. My main problem, is that when passive checks are sent to the central server I keep getting this error: Oct 6 15:02:28 noc-mon nsca[31620]: Connection from 10.12.225.50 port 38784 Oct 6 15:02:28 noc-mon nsca[31620]: Host address checks out ok Oct 6 15:02:28 noc-mon nsca[31620]: Handling the connection... Oct 6 15:02:29 noc-mon nsca[31620]: SERVICE CHECK -> Host Name: 'localhost', Service Description: 'cpu', Return Code: '0', Output: 'OK - load average: 0.00, 0.00, 0.00' Oct 6 15:02:29 noc-mon nsca[31620]: End of connection... Oct 6 15:02:30 noc-mon nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;localhost;cpu;0;OK - load average: 0.00, 0.00, 0.00 Oct 6 15:02:39 noc-mon nsca[31817]: Connection from 10.12.225.50 port 39040 Oct 6 15:02:39 noc-mon nsca[31817]: Host address checks out ok Oct 6 15:02:39 noc-mon nsca[31817]: Handling the connection... Oct 6 15:02:40 noc-mon nsca[31817]: SERVICE CHECK -> Host Name: 'acdmz-inside-sw2', Service Description: 'Check Host Alive', Return Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.83 ms' Oct 6 15:02:40 noc-mon nsca[31817]: End of connection... Oct 6 15:02:40 noc-mon nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;acdmz-inside-sw2;Check Host Alive;0;PING OK - Packet loss = 0%, RTA = 0.83 ms Oct 6 15:02:44 noc-mon nagios: Warning: Message queue contained results for service 'Check Host Alive' on host 'acdmz-inside-sw2'. The service could not be found! The localhost check acts like it works, but the simple check-host-alive service definition is not. I know that that service definition is on both servers. They are both running v1.2. Also, should I see something on my central server's web gui showing these hosts down? My host count has not been affected at all by the hosts added to the distributed server. Am I missing something? Is there something wrong with the default check-host-alive service check? Thanks for any help, -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS -------------- next part -------------- An HTML attachment was scrubbed... URL: From CBallowe at usg.com Wed Oct 6 21:44:38 2004 From: CBallowe at usg.com (Ballowe, Charles) Date: Wed, 6 Oct 2004 13:44:38 -0600 Subject: User Administration - Access Message-ID: <20942DC78B4BBB49A1567DB0E5E81EB509E94981@dctr-exbe-001.usg.net> Alternately, put him in contact groups, but in the user options set host_notification_options and service_notification_options such that the user never actually gets sent alerts (include an "n" as one of the options). That way the user will only be able to see the systems that are in his department or whatever without actually getting e-mail about them. > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Phil Dibowitz > Sent: Wednesday, October 06, 2004 12:29 PM > To: Josiah Ritchie > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] User Administration - Access > > > On Wed, Oct 06, 2004 at 12:58:34PM -0400, Josiah Ritchie wrote: > > I'd like to have a user who is not responsible for responding to > > failure and so needn't get an email when things fail be > able to look > > over the running services and see what's up and down. > Specifically, my > > boss. Can I tune things in that way? > > > > I was looking over the docs and it wasn't becoming plain to me. The > > docs are terrific in many ways and probably the best FOSS docs I've > > ever seen, but a touch lacking in this area unless I just > didn't find > > the right spot. Any points in the right direction would help. > > Sure, set up the user in the contacts.cfg file, then, assign > him privelege in the cgi.cfg file, but don't put him in any > contactgroups (you'll get a warning on startup, but that's > okay, they're just warnings). > > -- > Phil Dibowitz > Systems Architect and Administrator > Enterprise Infrastructure / ISD / USC > UCC 174 - 213-821-5427 > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Oct 6 22:07:13 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 06 Oct 2004 15:07:13 -0500 Subject: OUTPUT variable In-Reply-To: <20041006185321.25B83294BC@paraluman.restricted.dyndns.org> References: <20041006185321.25B83294BC@paraluman.restricted.dyndns.org> Message-ID: <20041006200713.31288.qmail@restricted.dyndns.org> Thanks buddy. I hope there was a way to modify the compiled code and just modify that instead :D Harper Mann writes: > nagios-1.2/common/objects.h > > #define MAX_PLUGINOUTPUT_LENGTH 352 /* max. length > of plugin output */ > > I changed the value to 704 and have run for several months with no ill > effects.... > > Regards, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil > Sent: Wednesday, October 06, 2004 8:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] OUTPUT variable > > Hi guys, > > Is there a way to get around with the limitation on the length of the > $OUTPUT$ variable? > > Thanks. > > Neil > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Wed Oct 6 22:08:16 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 06 Oct 2004 15:08:16 -0500 Subject: OUTPUT variable In-Reply-To: <20041006185321.25B83294BC@paraluman.restricted.dyndns.org> References: <20041006185321.25B83294BC@paraluman.restricted.dyndns.org> Message-ID: <20041006200816.31367.qmail@restricted.dyndns.org> I'll just use temp file and use tilde and cat combo. I might ruin our production nagios. Thanks for the tip... ;) Harper Mann writes: > nagios-1.2/common/objects.h > > #define MAX_PLUGINOUTPUT_LENGTH 352 /* max. length > of plugin output */ > > I changed the value to 704 and have run for several months with no ill > effects.... > > Regards, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Neil > Sent: Wednesday, October 06, 2004 8:55 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] OUTPUT variable > > Hi guys, > > Is there a way to get around with the limitation on the length of the > $OUTPUT$ variable? > > Thanks. > > Neil > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Oct 6 22:51:05 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 07 Oct 2004 09:51:05 +1300 Subject: Distributed nagios problem - service definition not found! In-Reply-To: References: Message-ID: Can you supply the relevant part of services.cfg? It seems you have a misconfiguration. Are you sure the service is Check Host Alive and not PING (like default)? I don't know whether Nagios likes a servie_name with a blank, so try it without! So the return value ServiceName("Check Host Alive" in your case) must be the same as your service_description in the services.cfg for that host. Jan > I just recently setup distributed nagios. I followed the directions > very closely. I first had a problem running the nsca daemon through > xinetd. It just wouldn't listen for incoming on 5667. I added the line > to /etc/services also. Here is my config: > service nsca > { > flags = REUSE > socket_type = stream > wait = no > user = nagios > group = nagios > server = /usr/local/nagios/bin/nsca > server_args = -c /usr/local/nagios/etc/nsca.cfg > log_on_failure += USERID > disable = no > only_from = 10.12.225.50 > } > > If I run it from command line in daemon mode it works fine. > My main problem, is that when passive checks are sent to the central > server I keep getting this error: > Oct 6 15:02:28 noc-mon nsca[31620]: Connection from 10.12.225.50 port > 38784 > Oct 6 15:02:28 noc-mon nsca[31620]: Host address checks out ok > Oct 6 15:02:28 noc-mon nsca[31620]: Handling the connection... > Oct 6 15:02:29 noc-mon nsca[31620]: SERVICE CHECK -> Host Name: > 'localhost', Service Description: 'cpu', Return Code: '0', Output: 'OK - > load average: 0.00, 0.00, 0.00' > Oct 6 15:02:29 noc-mon nsca[31620]: End of connection... > Oct 6 15:02:30 noc-mon nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;localhost;cpu;0;OK - load average: 0.00, > 0.00, 0.00 > Oct 6 15:02:39 noc-mon nsca[31817]: Connection from 10.12.225.50 port > 39040 > Oct 6 15:02:39 noc-mon nsca[31817]: Host address checks out ok > Oct 6 15:02:39 noc-mon nsca[31817]: Handling the connection... > Oct 6 15:02:40 noc-mon nsca[31817]: SERVICE CHECK -> Host Name: > 'acdmz-inside-sw2', Service Description: 'Check Host Alive', Return > Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.83 ms' > Oct 6 15:02:40 noc-mon nsca[31817]: End of connection... > Oct 6 15:02:40 noc-mon nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;acdmz-inside-sw2;Check Host Alive;0;PING OK > - Packet loss = 0%, RTA = 0.83 ms > Oct 6 15:02:44 noc-mon nagios: Warning: Message queue contained > results for service 'Check Host Alive' on host 'acdmz-inside-sw2'. The > service could not be found! > > The localhost check acts like it works, but the simple check-host-alive > service definition is not. I know that that service definition is on > both servers. They are both running v1.2. Also, should I see something > on my central server's web gui showing these hosts down? My host count > has not been affected at all by the hosts added to the distributed > server. Am I missing something? Is there something wrong with the > default check-host-alive service check? > Thanks for any help, > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Oct 7 04:35:30 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 07 Oct 2004 15:35:30 +1300 Subject: hostgroup_name in services definition halts nagios start In-Reply-To: <20041006144643.3f0b75f8@penguin> References: <20041006144643.3f0b75f8@penguin> Message-ID: On Wed, 6 Oct 2004 14:46:43 -0400, Josiah Ritchie wrote: Isn't the normal comment sign the "#" ? I use hostgroup_name in services but as far as i know you can't use both at once so NO define service{ .. hostgroup_name somegroups host_name some additional hosts .. } You need one service entry with only host_name and one with hostgroup_name, but you can use multiple grous or hosts in every of them. Jan > nagios -v /etc/nagios/nagios.cfg results in > > Error: Service description, host name, or check command is NULL > Error: Could not register service (config file > '/etc/nagios/services.cfg', > line 36) > > Line 36 and following 16 following lines: > > define service{ > use generic-service > > hostgroup_name switches,windows-boxes,security-boxes > ; host_name iprism,shaper,sarah,ruth,rachel,penguin,noah > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ping!100.0,20%!500.0,60% > } > > It looks to me like everything is filled in. If I comment out > hostgroup_name and uncomment host_name it works fine. I'd rather go by > hostgroup for ease of administration. > > Is this a bug in the checking or am I seriously missing something? > > JSR/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tomas.hautala at adm.vxu.se Thu Oct 7 09:29:52 2004 From: tomas.hautala at adm.vxu.se (Tomas Hautala) Date: Thu, 07 Oct 2004 09:29:52 +0200 Subject: Application Version checker? In-Reply-To: <8CC98E2BFB1C7B49A1224067593F5C2401B8CC0C@USTCVEX14.hq.ds.transcom.mil> References: <8CC98E2BFB1C7B49A1224067593F5C2401B8CC0C@USTCVEX14.hq.ds.transcom.mil> Message-ID: <4164F070.4030103@adm.vxu.se> Try check_ssh -v That should solve your problem. Tomas Carstensen Nicholas Contractor USTC wrote: > Does anyone know of an application version checker for nagios. I have > searched the archives and can not find anything. Mostly need > something to be able to tell me what version of ssh or openssl I am > running. Thanks for the help. > > > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Thu Oct 7 10:09:56 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Thu, 7 Oct 2004 10:09:56 +0200 Subject: Different Notification Periods for different Notification ways? Message-ID: <200410071009.56289.benoit.panizzon@imp.ch> Hi all I seam to run into the next problem. Remember we had NOC and SYSADMINS with Overleaping Notification Periods. Only solution what to add every person twice in the contacts.cfg once with 24x7 and once with workhours and then distribute them to the appropriate hostgroups. Now next tricky bit... Emails should get received 24x7 (so you can read what happened during last night). Pagers should only run during 'operating hours' eg 07:00-22:00 so that admins that are not on duty get some sleep. Do I fear right, that this would mean doubling the entries in the contacts.cfg again? Doing four entries for each admin? - 24x7 by email. - 24x7 by pager. - workhours by pager. - workhours by email. (well you could get rid of this...) -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 7 10:49:12 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 07 Oct 2004 10:49:12 +0200 Subject: NRPE Memory Limit 2GB ?? In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209B79@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209B79@epsewr01.ewrlan.ewr.int> Message-ID: <41650308.2020408@op5.se> Wengrzik, Andreas wrote: >>That would be the check_swap or check_mem source-code file. >> > > Hi! > > There are some files for the memload check: > > memload_nrpe_nt.cpp > memload_nrpe_nt.dsp > memload_nrpe_nt.dsw > memload_nrpe_nt.ncb > memload_nrpe_nt.opt > memload_nrpe_nt.plg > > I searched for 'signed int' in these files but there was no result :/ > Variables are signed by default. Search for 'int' and see how it's used. I'm sure you'll be able to deduce the variable name, and then you can simply change its declaration to be make it unsigned long long. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Thu Oct 7 11:01:51 2004 From: victor at ambra.ro (victor) Date: Thu, 07 Oct 2004 12:01:51 +0300 Subject: Nagios 2 and mysql Message-ID: <416505FF.50904@ambra.ro> I was using nagios 1.2 until last week. Now I installed nagios 2 and I have a problem. All my coordinates were keept in mysql. Using the same database, resource.cfg file and cgi.cfg file(as in nagios 1.2) I get the following message when I try to acces the 2d map using as layout method "user suplied coords": "You have not supplied any host drawing coordinates" Are there any diffreces in using nagios 2 with mysql and nagios 1.2 with mysql? Thank you. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Thu Oct 7 11:25:55 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 7 Oct 2004 11:25:55 +0200 Subject: NRPE Memory Limit 2GB ?? Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B80@epsewr01.ewrlan.ewr.int> > Wengrzik, Andreas wrote: > >>That would be the check_swap or check_mem source-code file. > >> > > > > Hi! > > > > There are some files for the memload check: > > > > memload_nrpe_nt.cpp > > memload_nrpe_nt.dsp > > memload_nrpe_nt.dsw > > memload_nrpe_nt.ncb > > memload_nrpe_nt.opt > > memload_nrpe_nt.plg > > > > I searched for 'signed int' in these files but there was no > result :/ > > > > Variables are signed by default. Search for 'int' and see how > it's used. > I'm sure you'll be able to deduce the variable name, and then you can > simply change its declaration to be make it unsigned long long. > Sorry about maybe boring you... i?ve found these part of a file: int main(int argc, char* argv[]) { int freeswap_memory; int totalswap_memory; int freephys_memory; int totalphys_memory; int warning_threshold; int critical_threshold; MEMORYSTATUS stat; /* Get Values from command line */ if (argc != 3) { printf ("NRPE_NT Plugin, MEMORY Load, GX Networks, Stephen Strudwick\n"); printf ("usage: memload warning threshold(%%) critical threshold(%%)\n"); printf ("example: 70 90\n"); return Unknown; } warning_threshold = atoi(argv[1]); critical_threshold = atoi(argv[2]); GlobalMemoryStatus (&stat); totalphys_memory = stat.dwTotalPhys/1048576; freephys_memory = stat.dwAvailPhys/1048576; totalswap_memory = stat.dwTotalPageFile/1048576; freeswap_memory = stat.dwAvailPageFile/1048576; if (!totalswap_memory) { return Unknown; } if (!freephys_memory) { return Unknown; } if (!totalphys_memory) { return Unknown; } if (!freeswap_memory) { return Unknown; } double mean_used = ((double)((totalphys_memory)-(freephys_memory)) / (double)totalphys_memory) * 100; double mean_free = ((double)freephys_memory / (double)totalphys_memory) * 100; double mean_pused = ((double)((totalswap_memory)-(freeswap_memory)) / (double)totalswap_memory) * 100; double mean_pfree = ((double)freeswap_memory / (double)totalswap_memory) * 100; printf("Mem: %d MB (%d%%) / %d MB (%d%%) ", ((totalphys_memory)-(freephys_memory)), (int)floor(mean_used), (totalphys_memory), (int)floor(mean_free)); /* hack, on some systems the paged memory values are reversed !?? So dont print out anything if its fscked */ if (mean_pused >= 0 && mean_pused <= 100) { printf("Paged Mem: %d MB (%d%%) / %d MB (%d%%)\n", ((totalswap_memory)-(freeswap_memory)), (int)floor(mean_pused), (totalswap_memory), (int)floor(mean_pfree)); } There are a lot of information with int, is this the right way? I really don?t know which int i should change and which one should stay :( I think this is the last question to success. Thanks for all your help!!! I?ve often look into the list and about 70% of the solutions comes from you :) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From linickx at gmail.com Thu Oct 7 11:35:07 2004 From: linickx at gmail.com (LINICKX) Date: Thu, 7 Oct 2004 10:35:07 +0100 Subject: NewB - Why Didn't i Get am e-mail alert ? Message-ID: Hi, I've recently installed nagios on a Solaris9 Box, All is good I've got serveral servers & services monitored, and if/when stuff fails I get alerts... except yesterday :-( I had two servers fail , I got e-mail alerts for one & not the other... I've looked in the event log & found..... [10-06-2004 14:32:08] HOST NOTIFICATION: support;ns0;DOWN;host-notify-by-email;CRITICAL - Plugin timed out after 10 seconds [10-06-2004 14:32:08] HOST ALERT: ns0;DOWN;HARD;10;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:31:58] HOST ALERT: ns0;DOWN;SOFT;9;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:31:48] HOST ALERT: ns0;DOWN;SOFT;8;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:31:38] HOST ALERT: ns0;DOWN;SOFT;7;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:31:28] HOST ALERT: ns0;DOWN;SOFT;6;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:31:18] HOST ALERT: ns0;DOWN;SOFT;5;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:31:08] HOST ALERT: ns0;DOWN;SOFT;4;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:30:58] HOST ALERT: ns0;DOWN;SOFT;3;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:30:48] HOST ALERT: ns0;DOWN;SOFT;2;CRITICAL - Plugin timed out after 10 seconds Host Down[10-06-2004 14:30:38] HOST ALERT: ns0;DOWN;SOFT;1;CRITICAL - Plugin timed out after 10 seconds Can someone please offer some idea on how I'd troubleshoot this ? Many Thanks. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at ODJFS.STATE.OH.US Thu Oct 7 13:51:38 2004 From: MOORET10 at ODJFS.STATE.OH.US (TIM MOORE) Date: Thu, 07 Oct 2004 07:51:38 -0400 Subject: Distributed nagios problem - service definition not found! Message-ID: Jan, Here are the lines from the services.cfg of the distributed server: define service { host_name localhost service_description cpu check_command check_local_load!3!5 use generic-service max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 check_period 24x7 notifications_enabled 0 notification_interval 0 notification_period 24x7 notification_options w,u,c,r contact_groups admins } define service { hostgroup_name ACDMZ_Switches,ACDMZ_Firewalls service_description Check Host Alive check_command check-host-alive max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 0 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 contact_groups noc } My check_command is check-host-alive and not ping. Funny thing is that when the localhost cpu sends its checks, it seems to work. Although, I still don't know what to look for on the central server. Should I see some new hosts being added or does it only alarm when it fails? Do I also have to add the hosts to the central server? I only have the hosts in the ACDMZ_Switches defined on the distributed server. Just curious how we get notified of problems from the distributed server. I have a couple devices that I cannot reach via ping (check-host-alive) and they still never show as down on the central server gui. Thanks for the help. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS >>> "Jan Scholten" 10/6/2004 4:51:05 PM >>> Can you supply the relevant part of services.cfg? It seems you have a misconfiguration. Are you sure the service is Check Host Alive and not PING (like default)? I don't know whether Nagios likes a servie_name with a blank, so try it without! So the return value ServiceName("Check Host Alive" in your case) must be the same as your service_description in the services.cfg for that host. Jan > I just recently setup distributed nagios. I followed the directions > very closely. I first had a problem running the nsca daemon through > xinetd. It just wouldn't listen for incoming on 5667. I added the line > to /etc/services also. Here is my config: > service nsca > { > flags = REUSE > socket_type = stream > wait = no > user = nagios > group = nagios > server = /usr/local/nagios/bin/nsca > server_args = -c /usr/local/nagios/etc/nsca.cfg > log_on_failure += USERID > disable = no > only_from = 10.12.225.50 > } > > If I run it from command line in daemon mode it works fine. > My main problem, is that when passive checks are sent to the central > server I keep getting this error: > Oct 6 15:02:28 noc-mon nsca[31620]: Connection from 10.12.225.50 port > 38784 > Oct 6 15:02:28 noc-mon nsca[31620]: Host address checks out ok > Oct 6 15:02:28 noc-mon nsca[31620]: Handling the connection... > Oct 6 15:02:29 noc-mon nsca[31620]: SERVICE CHECK -> Host Name: > 'localhost', Service Description: 'cpu', Return Code: '0', Output: 'OK - > load average: 0.00, 0.00, 0.00' > Oct 6 15:02:29 noc-mon nsca[31620]: End of connection... > Oct 6 15:02:30 noc-mon nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;localhost;cpu;0;OK - load average: 0.00, > 0.00, 0.00 > Oct 6 15:02:39 noc-mon nsca[31817]: Connection from 10.12.225.50 port > 39040 > Oct 6 15:02:39 noc-mon nsca[31817]: Host address checks out ok > Oct 6 15:02:39 noc-mon nsca[31817]: Handling the connection... > Oct 6 15:02:40 noc-mon nsca[31817]: SERVICE CHECK -> Host Name: > 'acdmz-inside-sw2', Service Description: 'Check Host Alive', Return > Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.83 ms' > Oct 6 15:02:40 noc-mon nsca[31817]: End of connection... > Oct 6 15:02:40 noc-mon nagios: EXTERNAL COMMAND: > PROCESS_SERVICE_CHECK_RESULT;acdmz-inside-sw2;Check Host Alive;0;PING OK > - Packet loss = 0%, RTA = 0.83 ms > Oct 6 15:02:44 noc-mon nagios: Warning: Message queue contained > results for service 'Check Host Alive' on host 'acdmz-inside-sw2'. The > service could not be found! > > The localhost check acts like it works, but the simple check-host-alive > service definition is not. I know that that service definition is on > both servers. They are both running v1.2. Also, should I see something > on my central server's web gui showing these hosts down? My host count > has not been affected at all by the hosts added to the distributed > server. Am I missing something? Is there something wrong with the > default check-host-alive service check? > Thanks for any help, > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > -- Jan Scholten Research and Development Intern Iconz.co.nz -------------- next part -------------- A non-text attachment was scrubbed... Name: TEXT.htm Type: application/octet-stream Size: 8908 bytes Desc: not available URL: From Wengrzik at ewr.de Thu Oct 7 14:25:52 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Thu, 7 Oct 2004 14:25:52 +0200 Subject: NRPE Memory Limit 2GB ??[UPDATE!!!] Message-ID: <90D32590BAD135448DC12C1EA3EB4482209B87@epsewr01.ewrlan.ewr.int> Hi! I?ve got some more Information about this problem from the developer: <===== S. Strudwick ==============> Hi, Ive encountered this problem also, at first thought the same it was because I used type int, however changing it to a larger type didnt fix it. After some research it seemed to be a windows API problem, incorrectly reporting after 2gig. from msdn: On computers with more than 4 GB of memory, the GlobalMemoryStatus function can return incorrect information. Windows 2000 and later report a value of -1 to indicate an overflow. Earlier versions of Windows NT report a value that is the real amount of memory, modulo 4 GB. For this reason, use the GlobalMemoryStatusEx function instead. On Intel x86 computers with more than 2 GB and less than 4 GB of memory, the GlobalMemoryStatus function will always return 2 GB in the dwTotalPhys member of the MEMORYSTATUS structure. So I used GlobalMemoryStatusEx instead but I got reports that didnt fix it either. The problem is I dont have an NT box with 2gig of ram to test it on, so any change is a guess. Im sure its not a difficult problem to fix, when I get my hands on a 2gig server I can develop on i'll fix it and let you know, however I cant say when that will be. p.s if you manage to fix it then please let me know :) - Stephen Strudwick Advanced Development Engineer Development Group, Technical Services PIPEX Maybe someone can help me correct this problem... Thanks ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonoj05 at yahoo.com Thu Oct 7 14:33:31 2004 From: jonoj05 at yahoo.com (jon quidilla) Date: Thu, 7 Oct 2004 05:33:31 -0700 (PDT) Subject: three-way TCP Message-ID: <20041007123332.40032.qmail@web51607.mail.yahoo.com> Hi! I just need verify if nagios is using a three-way TCP protocol in services such as http. Thanks, jon __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 7 15:15:38 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 07 Oct 2004 15:15:38 +0200 Subject: NRPE Memory Limit 2GB ?? In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209B80@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209B80@epsewr01.ewrlan.ewr.int> Message-ID: <4165417A.3070004@op5.se> Wengrzik, Andreas wrote: >>Wengrzik, Andreas wrote: >> >>>>That would be the check_swap or check_mem source-code file. >>>> >>> >>>Hi! >>> >>>There are some files for the memload check: >>> >>>memload_nrpe_nt.cpp >>>memload_nrpe_nt.dsp >>>memload_nrpe_nt.dsw >>>memload_nrpe_nt.ncb >>>memload_nrpe_nt.opt >>>memload_nrpe_nt.plg >>> >>>I searched for 'signed int' in these files but there was no >> >>result :/ >> >>Variables are signed by default. Search for 'int' and see how >>it's used. >>I'm sure you'll be able to deduce the variable name, and then you can >>simply change its declaration to be make it unsigned long long. >> > > > Sorry about maybe boring you... i?ve found these part of a file: > > int main(int argc, char* argv[]) > { > int freeswap_memory; > int totalswap_memory; > int freephys_memory; > int totalphys_memory; > int warning_threshold; > int critical_threshold; > MEMORYSTATUS stat; > Change the int's to unsigned long long. I expect that's how they're declared in the header files for the MEMORYSTATUS structure (MEMORYSTATUS is most likely a macro. The struct will be named something else). > /* Get Values from command line */ > if (argc != 3) { > printf ("NRPE_NT Plugin, MEMORY Load, GX Networks, Stephen Strudwick\n"); > printf ("usage: memload warning threshold(%%) critical threshold(%%)\n"); > printf ("example: 70 90\n"); > return Unknown; > } > > warning_threshold = atoi(argv[1]); > critical_threshold = atoi(argv[2]); > > GlobalMemoryStatus (&stat); > > totalphys_memory = stat.dwTotalPhys/1048576; > freephys_memory = stat.dwAvailPhys/1048576; > totalswap_memory = stat.dwTotalPageFile/1048576; > freeswap_memory = stat.dwAvailPageFile/1048576; > > if (!totalswap_memory) { > return Unknown; > } > > if (!freephys_memory) { > return Unknown; > } > > if (!totalphys_memory) { > return Unknown; > } > > if (!freeswap_memory) { > return Unknown; > } > > double mean_used = ((double)((totalphys_memory)-(freephys_memory)) / (double)totalphys_memory) * 100; > double mean_free = ((double)freephys_memory / (double)totalphys_memory) * 100; > > double mean_pused = ((double)((totalswap_memory)-(freeswap_memory)) / (double)totalswap_memory) * 100; > double mean_pfree = ((double)freeswap_memory / (double)totalswap_memory) * 100; > Using double here seems wildly inappropriate, since binary division returns integer values. You might want to have a chat with the plugin author about that. > printf("Mem: %d MB (%d%%) / %d MB (%d%%) ", ((totalphys_memory)-(freephys_memory)), (int)floor(mean_used), (totalphys_memory), (int)floor(mean_free)); > You'll also need to change the %d to %llu here to use the unsigned long long values. The compiler should be able to handle this by itself, but if it's a tacky one it won't, and you'll end up with very strange output. > /* hack, on some systems the paged memory values are reversed !?? So dont print out anything if its fscked */ > if (mean_pused >= 0 && mean_pused <= 100) { > printf("Paged Mem: %d MB (%d%%) / %d MB (%d%%)\n", ((totalswap_memory)-(freeswap_memory)), (int)floor(mean_pused), (totalswap_memory), (int)floor(mean_pfree)); > } > > > > > There are a lot of information with int, is this the right way? No. Signed int (int without 'unsigned' in front of it) can store values between -2G and 2G-1 on 32bit OS'es (32 bits wide, with one bit being the 'sign' bit (positive or negative number) makes 2^31 = 2G). unsigned long long is 64 bits wide on most 32bit OS'es (double the width, and unsigned means we don't care about negative numbers), so it holds a maximum of 2^64, or 4G*4G, which is more than the number of bytes of RAM available on this entire planet. It should suffice. > I really don?t know which int i should change and which one should stay :( Change them all. The OS should report them as 64 bit numbers, or provide a multiplier to use to get values above the 32 bit limitation. You'll know which one when you try to compile it. > I think this is the last question to success. I'd say so, yes. > Thanks for all your help!!! You're welcome. > I?ve often look into the list and about 70% of the solutions comes from you :) > He. I don't like TV, so I have to find other amusements, and there aren't enough new movies out at the cinema to keep me very busy. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 7 15:17:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 07 Oct 2004 15:17:24 +0200 Subject: Nagios 2 and mysql In-Reply-To: <416505FF.50904@ambra.ro> References: <416505FF.50904@ambra.ro> Message-ID: <416541E4.8080801@op5.se> victor wrote: > I was using nagios 1.2 until last week. > Now I installed nagios 2 and I have a problem. > > All my coordinates were keept in mysql. > Using the same database, resource.cfg file and cgi.cfg file(as in nagios > 1.2) I get the following message when I try to acces the 2d map using as > layout method "user suplied coords": > "You have not supplied any host drawing coordinates" > > Are there any diffreces in using nagios 2 with mysql and nagios 1.2 with > mysql? > Pretty severe such, yes. Nagios 2.0 has dropped database support completely, which makes it sort of hard for it to use your database tables. You should be able to hack up a script to put it in flat files pretty easily though. > Thank you. > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From fmartinezg at endesa.es Thu Oct 7 15:32:53 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Thu, 7 Oct 2004 15:32:53 +0200 Subject: More than one parent Message-ID: Hello, my question is: Can any host to have more than one parent? regards ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Thu Oct 7 15:30:05 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Thu, 7 Oct 2004 15:30:05 +0200 Subject: Servicegroups? Message-ID: <200410071530.05949.benoit.panizzon@imp.ch> Hi all Next Problem... We have different Groups being responsible for a different hostgroups... Well the organization and notification for the host of the right person is easy by ways of hostgroups. But how about services? The Service 'SMTP' has a list of all Mailservers. So how do I configure that SMTP outages in Hostgroup A should go to ContactGroup ONE and SMTP outages in Hostgroup B to ContactGroup TWO? Would I need to add a hostgroup for each Contactgroup? There is no such thing as 'servicegroups' as far as I see... Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dischide at hotmail.com Thu Oct 7 15:41:30 2004 From: dischide at hotmail.com (dave dischiave) Date: Thu, 07 Oct 2004 13:41:30 +0000 Subject: Perfdata Message-ID: I am trying to use performance data to create graphs using the nagiosgraph scripts. I ran a make clean followed by ./configure --with-default-perfdata make all make install I have the following in my nagios.cfg process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata This is how my misccommands.cfg looks: I have tired all of the following to either create a file or run the insert.pl script: define command { command_name process-service-perfdata command_line /usr/local/nagios/nagiosgraph/insert.pl "$LASTCHECK$||$HOSTNAME$||$SERVICEDESC$||$OUTPUT$||$PERFDATA$" } define command{ command_name process-host-perfdata command_line /bin/echo -e "$HOSTNAME$\t$PERFDATA$" >> /usr/local/nagios/var/host-perfdata } #define command{ command_name process-host-perfdata command_line /bin/echo -e "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$OUTPUT$\t$ PERFDATA$" >> /usr/local/nagios/var/host-perfdata } # 'process-host-perfdata' command definition define command{ command_name process-host-perfdata command_line /usr/bin/printf "%b" "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$OU TPUT$\t$PERFDATA$" >> /usr/local/nagios/var/host-perfdata.out } # 'process-service-perfdata' command definition define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b" "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERVICEATTEMPT$\t$STATETYPE$\ t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" >> /usr/local/nagios/var/service-perfdata.out } Nothing seems to work. I do not think that I am getting perfdata. There is no reference to perfdata in my log files (nagios.log, nagiosgraph.log, syslog) and the service-perfdata and host-perfdata file are not being created either. I appreciate any help you are able to offer. Thank you _________________________________________________________________ Get ready for school! Find articles, homework help and more in the Back to School Guide! http://special.msn.com/network/04backtoschool.armx ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ken.satkunam at northstartechnologygroup.com Thu Oct 7 15:44:26 2004 From: ken.satkunam at northstartechnologygroup.com (Ken E. Satkunam) Date: Thu, 7 Oct 2004 08:44:26 -0500 Subject: apache.conf Message-ID: <496D4D40DDBB294F814529DAD96FC12E2A56@ntg1.northstartechnologygroup.com> I am very new to Linux and am trying to setup a test nagios box. I am at the point to edit the apache.conf file to setup the web interface. I am running Apache 1.3x, but have no idea where to place the ScriptAlias and Alias sections detailed in the documentation. My apache.conf file has this section. I don't understand where to add the lines with the "IfModule" sections. Help! # # Note that if you include a trailing / on fakename then the server will # require it to be present in the URL. So "/icons" isn't aliased in this # example, only "/icons/". If the fakename is slash-terminated, then the # realname must also be slash terminated, and if the fakename omits the # trailing slash, the realname must also omit it. # Alias /icons/ "/srv/www/icons/" Options Indexes MultiViews AllowOverride None Order allow,deny Allow from all # This Alias will project the on-line documentation tree under /manual/ # even if you change the DocumentRoot. Comment it if you don't want to # provide access to the on-line documentation. # Alias /manual/ "/srv/www/htdocs/manual/" Options Indexes FollowSymlinks MultiViews AllowOverride None Order allow,deny Allow from all # # ScriptAlias: This controls which directories contain server scripts. # ScriptAliases are essentially the same as Aliases, except that # documents in the realname directory are treated as applications and # run by the server when requested rather than as documents sent to the client. # The same rules about trailing "/" apply to ScriptAlias directives as to # Alias. # ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/" # Provide two aliases to the same cgi-bin directory, # to see the effects of the 2 different mod_perl modes. # for Apache::Registry Mode ScriptAlias /perl/ "/srv/www/cgi-bin/" # for Apache::Perlrun Mode ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" # # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased # CGI directory exists, if you have that configured. # AllowOverride None Options None Order allow,deny Allow from all # End of aliases. -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmartinezg at endesa.es Thu Oct 7 15:59:11 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Thu, 7 Oct 2004 15:59:11 +0200 Subject: More than one parent Message-ID: ok test and work ok parent1,parent2,etc thx -----Mensaje original----- De: Martinez Gonzalez, Francisco Enviado el: jueves, 07 de octubre de 2004 15:33 Para: nagios-users at lists.sourceforge.net Asunto: [Nagios-users] More than one parent Hello, my question is: Can any host to have more than one parent? regards ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 7 16:00:01 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 07 Oct 2004 16:00:01 +0200 Subject: three-way TCP In-Reply-To: <20041007123332.40032.qmail@web51607.mail.yahoo.com> References: <20041007123332.40032.qmail@web51607.mail.yahoo.com> Message-ID: <41654BE1.1070806@op5.se> jon quidilla wrote: > Hi! > > I just need verify if nagios is using a three-way TCP > protocol in services such as http. > Yes. It's fairly easy to sniff out using strace. Look for the argument to connect() and match it against the later close()'s calls arguments. The kernel takes care of sending FIN and friends from there on. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bench at silentmedia.com Thu Oct 7 16:34:47 2004 From: bench at silentmedia.com (Ben) Date: Thu, 7 Oct 2004 07:34:47 -0700 Subject: Nagios 2 and mysql In-Reply-To: <416505FF.50904@ambra.ro> References: <416505FF.50904@ambra.ro> Message-ID: <09D66DFC-186E-11D9-8A0D-000A95BF2A8C@silentmedia.com> Yeah, nagios 2 doesn't support databases anymore. It does have support for an event broker, which you can use to insert stuff into a database. Of course, you'll have to re-write the cgi's to take advantage of that. On Oct 7, 2004, at 2:01 AM, victor wrote: > I was using nagios 1.2 until last week. > Now I installed nagios 2 and I have a problem. > > All my coordinates were keept in mysql. > Using the same database, resource.cfg file and cgi.cfg file(as in > nagios 1.2) I get the following message when I try to acces the 2d map > using as layout method "user suplied coords": > "You have not supplied any host drawing coordinates" > > Are there any diffreces in using nagios 2 with mysql and nagios 1.2 > with mysql? > > Thank you. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give > us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 7 16:42:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 07 Oct 2004 16:42:37 +0200 Subject: More than one parent In-Reply-To: References: Message-ID: <416555DD.6090207@op5.se> Martinez Gonzalez, Francisco wrote: > Hello, my question is: > > Can any host to have more than one parent? > Rules of nagios-users (sort of); 1. Read the manual. 2. Test if it's possible. 3. Read the list archives. 4. If none of the above answers your questions, ask the list. Do NOT ask the list if you haven't done all of the above to at least some extent. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 7 16:38:50 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 07 Oct 2004 16:38:50 +0200 Subject: Servicegroups? In-Reply-To: <200410071530.05949.benoit.panizzon@imp.ch> References: <200410071530.05949.benoit.panizzon@imp.ch> Message-ID: <416554FA.9050906@op5.se> Benoit Panizzon wrote: > Hi all > > Next Problem... > > We have different Groups being responsible for a different hostgroups... > > Well the organization and notification for the host of the right person is > easy by ways of hostgroups. > > But how about services? > Each service definition has its own contact_groups definition. Nagios 2.0 changes hostgroup and host object definitions so that contacts are set in each host-object as well. > The Service 'SMTP' has a list of all Mailservers. > > So how do I configure that SMTP outages in Hostgroup A should go to > ContactGroup ONE and SMTP outages in Hostgroup B to ContactGroup TWO? > > Would I need to add a hostgroup for each Contactgroup? > No, you would need to add each contactgroup to each service. I suggest making heavy use of either templates or some fairly strong seditive. > There is no such thing as 'servicegroups' as far as I see... > Nagios 2.0 supports this, but not with contactgroups, as explained above. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Thu Oct 7 16:43:23 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Thu, 7 Oct 2004 16:43:23 +0200 Subject: More than one parent In-Reply-To: References: Message-ID: <200410071643.23989.benoit.panizzon@imp.ch> Am Donnerstag, 7. Oktober 2004 15.32 schrieb Martinez Gonzalez, Francisco: > Hello, my question is: > > Can any host to have more than one parent? Yup, just specify them delimited by commas... So you can map a network with redundant routers. Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Oct 7 16:44:58 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 7 Oct 2004 07:44:58 -0700 Subject: three-way TCP In-Reply-To: <41654BE1.1070806@op5.se> References: <20041007123332.40032.qmail@web51607.mail.yahoo.com> <41654BE1.1070806@op5.se> Message-ID: <20041007144457.GF31458@zippy.toger.us> On Thu, Oct 07, 2004 at 04:00:01PM +0200, Andreas Ericsson wrote: > jon quidilla wrote: > >I just need verify if nagios is using a three-way TCP > >protocol in services such as http. > Yes. It's fairly easy to sniff out using strace. Look for the argument > to connect() and match it against the later close()'s calls arguments. > The kernel takes care of sending FIN and friends from there on. I don't see how nagios would be able to check any TCP service w/o doing the usual 3-way handshake; what are you seeing that brings up the question? -Jason Martin -- Useless Invention: Kickstand for a tank. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From aaron at plusthree.com Thu Oct 7 17:27:17 2004 From: aaron at plusthree.com (Aaron Ross) Date: Thu, 07 Oct 2004 11:27:17 -0400 Subject: [OT] Re: apache.conf In-Reply-To: <496D4D40DDBB294F814529DAD96FC12E2A56@ntg1.northstartechnologygroup.com> References: <496D4D40DDBB294F814529DAD96FC12E2A56@ntg1.northstartechnologygroup.com> Message-ID: <41656055.5030508@plusthree.com> IfModule is just a directive that tell apache to only use this section of the config file if a particular module is loaded. In this case, the mod_alias module. You can check in the config file for LoadModule and/or an AddModule command for mod_alias.c You can add the Nagios config inside this section if you want. You can probably also add it outside, b/c the default apache installs almost always use mod_alias. Aaron Ken E. Satkunam wrote: > I am very new to Linux and am trying to setup a test nagios box. I am > at the point to edit the apache.conf file to setup the web interface. I > am running Apache 1.3x, but have no idea where to place the ScriptAlias > and Alias sections detailed in the documentation. My apache.conf file > has this section. I don?t understand where to add the lines with the > ?IfModule? sections. Help! > > > > > > > > > > # > > # Note that if you include a trailing / on fakename then the server will > > # require it to be present in the URL. So "/icons" isn't aliased in > this > > # example, only "/icons/". If the fakename is slash-terminated, > then the > > # realname must also be slash terminated, and if the fakename omits the > > # trailing slash, the realname must also omit it. > > # > > Alias /icons/ "/srv/www/icons/" > > > > > > Options Indexes MultiViews > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > # This Alias will project the on-line documentation tree under /manual/ > > # even if you change the DocumentRoot. Comment it if you don't want to > > # provide access to the on-line documentation. > > # > > Alias /manual/ "/srv/www/htdocs/manual/" > > > > > > Options Indexes FollowSymlinks MultiViews > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > # > > # ScriptAlias: This controls which directories contain server scripts. > > # ScriptAliases are essentially the same as Aliases, except that > > # documents in the realname directory are treated as applications and > > # run by the server when requested rather than as documents sent to > the client. > > # The same rules about trailing "/" apply to ScriptAlias directives > as to > > # Alias. > > # > > ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/" > > > > > > # Provide two aliases to the same cgi-bin directory, > > # to see the effects of the 2 different mod_perl modes. > > # for Apache::Registry Mode > > ScriptAlias /perl/ "/srv/www/cgi-bin/" > > # for Apache::Perlrun Mode > > ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" > > > > # > > # "/srv/www/cgi-bin" should be changed to whatever your ScriptAliased > > # CGI directory exists, if you have that configured. > > # > > > > AllowOverride None > > Options None > > Order allow,deny > > Allow from all > > > > > > > > # End of aliases. > > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Thu Oct 7 17:26:19 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 7 Oct 2004 11:26:19 -0400 Subject: Nagios 2 and mysql Message-ID: Nagios 2.0 has dropped database support? Is this a permanent decision, or will it be integrated again later? If it is permanent, should I get busy converting my existing installs back to flat files, as a preparation for eventual upgrade to the 2.x series? Do I ask too many questions in a row? Sorry if this has come up before, I'm new to the list. :P -- Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Andreas Ericsson [mailto:ae at op5.se] Sent: Thursday, October 07, 2004 9:17 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2 and mysql Pretty severe such, yes. Nagios 2.0 has dropped database support completely, which makes it sort of hard for it to use your database tables. You should be able to hack up a script to put it in flat files pretty easily though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Thu Oct 7 17:39:02 2004 From: shorn at lssi.net (Spencer Horn) Date: Thu, 07 Oct 2004 11:39:02 -0400 Subject: More than one parent In-Reply-To: References: Message-ID: <41656316.5060503@lssi.net> Yes. It is comma delimited. Spencer Martinez Gonzalez, Francisco wrote: >Hello, my question is: > >Can any host to have more than one parent? > >regards > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Thu Oct 7 17:50:33 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 7 Oct 2004 11:50:33 -0400 Subject: apache.conf Message-ID: You can put the ScriptAlias and Alias related lines in the IfModule section. I'd suggest putting them near the bottom, and adding a # comment so you can remember what you did later. :-) For example: (bunch of stuff) ... ... ScriptAlias /nagios/cgi-bin/ /usr/lib/cgi-bin/nagios/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all It doesn't /need to/ go inside of the IfModule mod_alias.c section, but there's no harm in putting it there. At least.. I think that's what you're asking for. :-) -- Daniel Maher System Engineer ACE TECHNOLOGY INC. _____ From: Ken E. Satkunam [mailto:ken.satkunam at northstartechnologygroup.com] Sent: Thursday, October 07, 2004 9:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] apache.conf I am very new to Linux and am trying to setup a test nagios box. I am at the point to edit the apache.conf file to setup the web interface. I am running Apache 1.3x, but have no idea where to place the ScriptAlias and Alias sections detailed in the documentation. My apache.conf file has this section. I don't understand where to add the lines with the "IfModule" sections. Help! -------------- next part -------------- An HTML attachment was scrubbed... URL: From scantos at technodiva.com Thu Oct 7 17:52:09 2004 From: scantos at technodiva.com (Sébastien Cantos) Date: Thu, 7 Oct 2004 17:52:09 +0200 Subject: three-way TCP In-Reply-To: <20041007144457.GF31458@zippy.toger.us> References: <20041007144457.GF31458@zippy.toger.us> Message-ID: Hi, You can check if a service (tcp port) is responding just by completing 2 parts of the 3 way handshake. 1/ Client send a Syn to the server 2/ Server respond with a Syn/Ack This is called *stealh* scanning. Regards, -- S?bastien Cantos Responsable r?seau et syst?mes Neopost DIVA > -----Message d'origine----- > De : nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] De la part > de Jason Martin > Envoy? : jeudi 7 octobre 2004 16:45 > ? : nagios-users at lists.sourceforge.net > Objet : Re: [Nagios-users] three-way TCP > > On Thu, Oct 07, 2004 at 04:00:01PM +0200, Andreas Ericsson wrote: > > jon quidilla wrote: > > >I just need verify if nagios is using a three-way TCP > > >protocol in services such as http. > > Yes. It's fairly easy to sniff out using strace. Look for > the argument > > to connect() and match it against the later close()'s calls > arguments. > > The kernel takes care of sending FIN and friends from there on. > I don't see how nagios would be able to check any TCP service > w/o doing the usual 3-way handshake; what are you seeing that > brings up the question? > > -Jason Martin > -- > Useless Invention: Kickstand for a tank. > This message is PGP/MIME signed. > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 7 17:48:31 2004 From: marc at ena.com (Marc Powell) Date: Thu, 7 Oct 2004 10:48:31 -0500 Subject: More than one parent Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BC51@mismail.ena.com> It is very clear in the documentation and in the terminology for the directive that you can do this. -- Marc ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Martinez Gonzalez, Francisco Sent: Thursday, October 07, 2004 8:59 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] More than one parent > ok > > test and work ok > > parent1,parent2,etc > > > thx > > > -----Mensaje original----- > De: Martinez Gonzalez, Francisco > Enviado el: jueves, 07 de octubre de 2004 15:33 > Para: nagios-users at lists.sourceforge.net > Asunto: [Nagios-users] More than one parent > > > > Hello, my question is: > > Can any host to have more than one parent? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Oct 7 17:54:38 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 7 Oct 2004 08:54:38 -0700 Subject: three-way TCP In-Reply-To: <20041007155211.B08491E631@zippy.toger.us> References: <20041007144457.GF31458@zippy.toger.us> <20041007155211.B08491E631@zippy.toger.us> Message-ID: <20041007155438.GH31458@zippy.toger.us> On Thu, Oct 07, 2004 at 05:52:09PM +0200, S?bastien Cantos wrote: > You can check if a service (tcp port) is responding just by completing 2 > parts of the 3 way handshake. > > 1/ Client send a Syn to the server > 2/ Server respond with a Syn/Ack > > This is called *stealh* scanning. I see; however check_http generally posts some data into the webserver and listens for the response, which would naturally require the full 3-way handshake. What benefit would there by in doing a 2-way vs a 3-way? -Jason Martin -- No one ever said "if I'd only spent more time in the office" This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Thu Oct 7 18:10:48 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 07 Oct 2004 18:10:48 +0200 Subject: Nagios 2 and mysql In-Reply-To: References: Message-ID: <41656A88.4010608@op5.se> Daniel maher wrote: > Nagios 2.0 has dropped database support? Yes. > Is this a permanent decision, > or will it be integrated again later? Yes (I love doing that) :). Nothing's permanent, but the database stuff caused more trouble than it was worth, so Ethan decided to drop it for now. > If it is permanent, should I get > busy converting my existing installs back to flat files, as a > preparation for eventual upgrade to the 2.x series? Yes. > Do I ask too many questions in a row? > No. The gibbering between the questions is what keeps the traffic up. I actually find your concise way of asking refreshing. > Sorry if this has come up before, I'm new to the list. :P > There is a list archive at sourceforge. Browse it for a while, and also read the 2.0 changelog. It'll tell you the why's as well as the what's (to some extent anyways). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Oct 7 18:27:58 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 7 Oct 2004 10:27:58 -0600 Subject: Perfdata Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE4A1E@golden-m.mactec.com> You may need to make a change from within the Nagios 'Process Info' cgi. To do this, log in to your Nagios site as the administrative user, go to the 'Process Info' page, and at the bottom of the Process Information box, ensure you have: Performance Data Being Processed? Yes If Performance Data is not being processed, click the 'Enable performance data' link in the 'Process Commands' box. If this doesn't work, then look at the plugins. Have you installed the latest plugins with support for PerfData? -g nagios-users-admin at lists.sourceforge.net wrote: > I am trying to use performance data to create graphs using > the nagiosgraph > scripts. > > I ran a make clean followed by > > ./configure --with-default-perfdata > > make all > > make install > > I have the following in my nagios.cfg > > process_performance_data=1 > > host_perfdata_command=process-host-perfdata > service_perfdata_command=process-service-perfdata > > > This is how my misccommands.cfg looks: > > I have tired all of the following to either create a file or run the > insert.pl script: > > define command { > command_name process-service-perfdata > command_line /usr/local/nagios/nagiosgraph/insert.pl > "$LASTCHECK$||$HOSTNAME$||$SERVICEDESC$||$OUTPUT$||$PERFDATA$" } > > define command{ > command_name process-host-perfdata > command_line /bin/echo -e "$HOSTNAME$\t$PERFDATA$" >> > /usr/local/nagios/var/host-perfdata > } > > #define command{ > command_name process-host-perfdata > command_line /bin/echo -e > "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETY > PE$\t$EXECUTIONTIME$\t$OUTPUT$\t$ > PERFDATA$" >> /usr/local/nagios/var/host-perfdata > } > > # 'process-host-perfdata' command definition > define command{ > command_name process-host-perfdata > command_line /usr/bin/printf "%b" > "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETY > PE$\t$EXECUTIONTIME$\t$OU TPUT$\t$PERFDATA$" >> > /usr/local/nagios/var/host-perfdata.out } > > # 'process-service-perfdata' command definition > define command{ > command_name process-service-perfdata > command_line /usr/bin/printf "%b" > "$LASTCHECK$\t$HOSTNAME$\t$SERVICEDESC$\t$SERVICESTATE$\t$SERV > ICEATTEMPT$\t$STATETYPE$\ > t$EXECUTIONTIME$\t$LATENCY$\t$OUTPUT$\t$PERFDATA$" >> > /usr/local/nagios/var/service-perfdata.out } > > Nothing seems to work. I do not think that I am getting > perfdata. There is > no reference to perfdata in my log files (nagios.log, nagiosgraph.log, > syslog) and the service-perfdata and host-perfdata file are not being > created either. > > I appreciate any help you are able to offer. > > > > Thank you > > _________________________________________________________________ > Get ready for school! Find articles, homework help and more > in the Back to > School Guide! http://special.msn.com/network/04backtoschool.armx > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal Use IT products in your business? Tell us what you > think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users >>>> 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shihchao.lin at gmail.com Thu Oct 7 18:32:49 2004 From: shihchao.lin at gmail.com (Joseph Lin) Date: Thu, 7 Oct 2004 09:32:49 -0700 Subject: What is the best way to set 2 services with different warnings? Message-ID: <631d451b0410070932714e51f1@mail.gmail.com> Hi, What is the best way to set up a services but have 2 separate warning thresholds?? I am looking for groupA gets warning,critical,unknown groupB gets warning,critical for the same same service HTTP thanks ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmartin at gsi-kc.com Thu Oct 7 18:54:11 2004 From: jmartin at gsi-kc.com (Martin, Jeremy) Date: Thu, 7 Oct 2004 11:54:11 -0500 Subject: Problem when using postgre or mysql Message-ID: Hi, I'm having some problems getting Nagios 1.2 to compile using pgsql or mysql. I was asked to get it working with pgsql but I had no luck with either. I've set up lots of 'normal' Nagios servers but this is the first time I attempted to use a database instead of the normal log file. The reason I was asked to set this up is so we could set up some automated email reports showing the total number alerts for servers etc once in a while. I tried using postgre sql in RedHat9 with Nagios 1.2 and postgresql-7.3.2-3 / postgresql-server-7.3.2-3 / postgresql-libs-7.3.2-3 / postgresql-devel-7.3.2-3 from RedHat... Also I tried in CentOS 3.3 (free RedHat ES3 clone) using rh-postgresql-7.3.4-9 / rh-postgresql-devel-7.3.4-9 / rh-postgresql-libs-7.3.4-9 / rh-postgresql-docs-7.3.4-9 ... For MySQL I tried in CentOS 3.3 using MySQL 4.0.20 from mysql.com. I was going to try using something from postgre's website but it was having problems last night and I couldn't get the 'download' page to come up. For both postgre and mysql the compile errors looked pretty similar. I could ./configure fine but make all would fail. Anyone have an idea of how to get this set up? I did some searching but couldn't find anything. I was asked to try to use postgre if possible though I'm much more used to mysql... Cheers! #################################################################### ./configure --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql-status --with-mysql-xdata --with-mysql-lib=/var/lib/mysql/ --with-mysql-inc=/usr/include/mysql/ General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /bin/traceroute External Data Routines: ------------------------ Status data: Database (MySQL) Object data: Template-based (text file) Comment data: Database (MySQL) Downtime data: Database (MySQL) Retention data: Database (MySQL) Peformance data: Default (external commands) Extended info data: Database (MySQL) [root at orinoco nagios-1.2]# make all cd ./base && make make[1]: Entering directory `/usr/local/src/nagios-1.2/base' gcc -g -O2 -I/usr/include/mysql/ -DHAVE_CONFIG_H -DNSCORE -L/var/lib/mysql/ nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios sretention.o(.text+0x27): In function `save_state_information': /usr/local/src/nagios-1.2/base/sretention.c:86: undefined reference to `xrddefault_save_state_information' sretention.o(.text+0x87): In function `read_initial_state_information': /usr/local/src/nagios-1.2/base/sretention.c:122: undefined reference to `xrddefault_read_state_information' /tmp/ccDreMLr.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/ccDreMLr.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/ccDreMLr.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference to `mysql_close' ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /tmp/cclf8JjX.o(.text+0xc41):../xdata/xdddb.c:1107: undefined reference to `mysql_fetch_row' /tmp/cclf8JjX.o(.text+0xd23):../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /tmp/cclf8JjX.o(.text+0xd40):../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/cclf8JjX.o(.text+0xd95): In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /tmp/cclf8JjX.o(.text+0xdb9):../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /tmp/cclf8JjX.o(.text+0xe9f):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /tmp/cclf8JjX.o(.text+0xebc):../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-1.2/base' make: *** [all] Error 2 #################################################################### (I can't seem to find "libpq-fe.h" anywhere) ./configure --with-pgsql-comments --with-pgsql-extinfo --with-pgsql-retention --with-pgsql-downtime--with-pgsql-status --with-pgsql-xdata; --with-pgsql-lib=/var/lib/pgsql/ --with-pgsql-inc=/usr/include/pgsql/ General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /bin/traceroute External Data Routines: ------------------------ Status data: Database (PostgreSQL) Object data: Template-based (text file) Comment data: Database (PostgreSQL) Downtime data: Database (PostgreSQL) Retention data: Database (PostgreSQL) Peformance data: Default (external commands) Extended info data: Database (PostgreSQL) ## in CentOS 3.3 [root at orinoco nagios-1.2]# make all cd ./base && make make[1]: Entering directory `/usr/local/src/nagios-1.2/base' gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -lpq nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:46:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xrddb.c:63: syntax error before '*' token ../xdata/xrddb.c:63: warning: data definition has no type or storage class ../xdata/xrddb.c:64: syntax error before '*' token ../xdata/xrddb.c:64: warning: data definition has no type or storage class ../xdata/xrddb.c: In function `xrddb_connect': ../xdata/xdddb.c:1304: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1307: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 1 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 2 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 4 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 5 of `add_service_downtime' makes pointer from integer without a cast make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-1.2/base' make: *** [all] Error 2 ## in RedHat 9 [root at fbdnms01 nagios-1.2]# make all cd ./base && make make[1]: Entering directory `/root/nagios-1.2/base' gcc -g -O2 -I/usr/include/pgsql/ -DHAVE_CONFIG_H -DNSCORE -L/var/lib/pgsql/ -lpq nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:46:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xrddb.c:63: parse error before '*' token ../xdata/xrddb.c:63: warning: data definition has no type or storage class ../xdata/xrddb.c:64: parse error before '*' token ../xdata/xrddb.c:64: warning: data definition has no type or storage class ../xdata/xdddb.c: In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1292: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1295: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1298: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1301: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1304: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1307: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 1 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 2 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 4 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 5 of `add_service_downtime' makes pointer from integer without a cast make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/root/nagios-1.2/base' make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From agrajag at dragaera.net Thu Oct 7 19:07:31 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Thu, 07 Oct 2004 13:07:31 -0400 Subject: three-way TCP In-Reply-To: <20041007123332.40032.qmail@web51607.mail.yahoo.com> References: <20041007123332.40032.qmail@web51607.mail.yahoo.com> Message-ID: <1097168851.7744.1.camel@pel> On Thu, 2004-10-07 at 08:33, jon quidilla wrote: > Hi! > > I just need verify if nagios is using a three-way TCP > protocol in services such as http. > Nagios is merely a framework for doing monitoring. It leaves the actual checking, and thus TCP actions to separate programs it calls plugins. There is a 'standard' set of plugins for nagios, but you're not required to use them, and if they don't do what you need, its easy to write you own plugin to do what you need, and you can write it in any language. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shorn at lssi.net Thu Oct 7 20:29:39 2004 From: shorn at lssi.net (Spencer Horn) Date: Thu, 07 Oct 2004 14:29:39 -0400 Subject: What is the best way to set 2 services with different warnings? In-Reply-To: <631d451b0410070932714e51f1@mail.gmail.com> References: <631d451b0410070932714e51f1@mail.gmail.com> Message-ID: <41658B13.1070404@lssi.net> Define it using the, service_notification_options c,r tag. Spencer Joseph Lin wrote: >Hi, > >What is the best way to set up a services but have 2 separate warning >thresholds?? > >I am looking for > >groupA gets warning,critical,unknown >groupB gets warning,critical > >for the same same service HTTP > >thanks > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gmail.com Thu Oct 7 20:40:29 2004 From: nagios at gmail.com (Tomas Morales) Date: Thu, 7 Oct 2004 12:40:29 -0600 Subject: 3 Notifications only, howto? Message-ID: <9ec4112a041007114063e29378@mail.gmail.com> I have a need to configure a contact group to only receive 3 notifications on host or service problems: Down, Acknowledgement and Recovery. >From the list archive, I've arrived to the conclusion that is only posible by creating two contacts, one with normal notification options and the second one with recovery only option (i.e. host(or service)_notification_option = r), preserving the same destination address, then use escalations for filtering out message. Could someone confirm how that is accomplished or whether there is simpler way to accomplish this request. In any case I'd appreciate too if some key parameters for the definitions are provided. Thanks in advance, Tomas M. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 7 21:04:04 2004 From: marc at ena.com (Marc Powell) Date: Thu, 7 Oct 2004 14:04:04 -0500 Subject: Nagios 2 and mysql Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BC84@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Daniel maher Sent: Thursday, October 07, 2004 10:26 AM To: nagios-users at lists.sourceforge.net Cc: ae at op5.se Subject: RE: [Nagios-users] Nagios 2 and mysql > Nagios 2.0 has dropped database support? Is this a permanent decision, or > will it be integrated again later? If it is permanent, should I get busy > converting my existing installs back to flat files, as a preparation for > eventual upgrade to the 2.x series? Do I ask too many questions in a row? > > Sorry if this has come up before, I'm new to the list. :P Search the archives. You'll find plenty of discussion on the topic. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gpoiret at altern.org Thu Oct 7 22:28:16 2004 From: gpoiret at altern.org (Gilles POIRET) Date: Thu, 7 Oct 2004 22:28:16 +0200 Subject: Memory size question on a single nagios process In-Reply-To: <2FDA6C38B2BFD4119D2400D0B784BE6F06FBFBF6@stoexchange.state.fl.us> References: <2FDA6C38B2BFD4119D2400D0B784BE6F06FBFBF6@stoexchange.state.fl.us> Message-ID: Hi, I'm looking for the same kind of tips : I've a P4 2.8GHz, dual-proc/hyperthreading, 512 Mo RAM, 2 Go swap, and near than 4000 services on 300 hosts. (embedded-perl snmp checks + rrd bases access in most of the case) and i have trouble with performances : - average check latency is 20min - swap is almost full, - interface web is slow.. Well, after tuning, CPU is now ok (thanks to max_concurrent_check=350) use, but latency is always too important ; same thing for swap usage problem. Any idea to improve things will be apreciated.. Thanks. Regards, -- Gilles POIRET "Platt, Nicholas" Sent by: nagios-users-admin at lists.sourceforge.net 21/04/2004 16:34 To: "'nagios-users at lists.sourceforge.net'" cc: "Tedder, Brandon" , "Radcliffe, David" , "Chelette, Robert" Subject: [Nagios-users] Memory size question on a single nagios process Hello everyone: I've been working on tuning our production server running Nagios which monitors currently 1500 services and will eventually monitor 5000. I was able to lower the CPU spikes and keep Linux from swapping by lowering the max_concurrent_check=325 and command_check_interval=2 based on the formula depicted in the documentation. We are currently monitoring the latest check time to the earliest check time and we are find that it is an average of 8-10 minutes which currently is not acceptable. Any recommendations on minimizing that time would be appreciated. Linux System: P4 2.8 Ghz with 768 RAM My second question has to do with why individual Nagios check processes take up 3172KB of memory. That's a lot in my opinion especially if you multiple that times the number of checks. Is there an explanation? Can it be lowered? See attachment. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Production Nagios-TOP.JPG Type: image/jpeg Size: 111117 bytes Desc: not available URL: From Jan.Scholten at iconz.net Thu Oct 7 23:15:06 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 08 Oct 2004 10:15:06 +1300 Subject: Distributed nagios problem - service definition not found! In-Reply-To: References: Message-ID: As far as i know every host and every Service needs to be in the central hosts.cfg/Services.cfg (even those, that are not actively checked), so they are displayed. So you need the "Check Host Alive" (which is in the default config named PING) to be configured for acdmz-inside-sw2. Passive checks must be enabled for this servicecheck active checks should be disabled: active_checks_enabled 0 passive_checks_enabled 1 You can easyliey see what is missing: > EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;acdmz-inside-sw2;Check > Host Alive;0;PING OK - Packet loss = 0%, RTA = 0.83 ms > Oct 6 15:02:44 noc-mon nagios: Warning: Message queue contained > results for service 'Check Host Alive' on host 'acdmz-inside-sw2'. The > service could not be found! You need the service "Check Host Alive" defined for Host "acdmz-inside-sw2" which does noit seem to work Have you tried using Service Desriptions without Blanks? --> Change to Check_Host_Alive ? YOU NEED TO DEFINE ALL HOSTS on the Central Server as well (you use check_dummy 0 as Host check or set check_poeriod to none) Jan > Jan, > Here are the lines from the services.cfg of the distributed server: > define service { > host_name localhost > service_description cpu > check_command check_local_load!3!5 > use generic-service > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > check_period 24x7 > notifications_enabled 0 > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > contact_groups admins > } > define service { > hostgroup_name ACDMZ_Switches,ACDMZ_Firewalls > service_description Check Host Alive > check_command check-host-alive > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > contact_groups noc > } > My check_command is check-host-alive and not ping. Funny thing is that > when the localhost cpu sends its checks, it seems to work. Although, I > still don't know what to look for on the central server. Should I see > some new hosts being added or does it only alarm when it fails? Do I > also have to add the hosts to the central server? I only have the hosts > in the ACDMZ_Switches defined on the distributed server. Just curious > how we get notified of problems from the distributed server. I have a > couple devices that I cannot reach via ping (check-host-alive) and they > still never show as down on the central server gui. > Thanks for the help. > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > >>>> "Jan Scholten" 10/6/2004 4:51:05 PM >>> > > Can you supply the relevant part of services.cfg? > > It seems you have a misconfiguration. Are you sure the service is Check > Host Alive and not PING (like default)? > I don't know whether Nagios likes a servie_name with a blank, so try it > without! > So the return value ServiceName("Check Host Alive" in your case) must be > the same as your service_description in the services.cfg for that host. > > > Jan > >> I just recently setup distributed nagios. I followed the directions >> very closely. I first had a problem running the nsca daemon through >> xinetd. It just wouldn't listen for incoming on 5667. I added the line >> to /etc/services also. Here is my config: >> service nsca >> { >> flags = REUSE >> socket_type = stream >> wait = no >> user = nagios >> group = nagios >> server = /usr/local/nagios/bin/nsca >> server_args = -c /usr/local/nagios/etc/nsca.cfg >> log_on_failure += USERID >> disable = no >> only_from = 10.12.225.50 >> } >> >> If I run it from command line in daemon mode it works fine. >> My main problem, is that when passive checks are sent to the central >> server I keep getting this error: >> Oct 6 15:02:28 noc-mon nsca[31620]: Connection from 10.12.225.50 port >> 38784 >> Oct 6 15:02:28 noc-mon nsca[31620]: Host address checks out ok >> Oct 6 15:02:28 noc-mon nsca[31620]: Handling the connection... >> Oct 6 15:02:29 noc-mon nsca[31620]: SERVICE CHECK -> Host Name: >> 'localhost', Service Description: 'cpu', Return Code: '0', Output: 'OK - >> load average: 0.00, 0.00, 0.00' >> Oct 6 15:02:29 noc-mon nsca[31620]: End of connection... >> Oct 6 15:02:30 noc-mon nagios: EXTERNAL COMMAND: >> PROCESS_SERVICE_CHECK_RESULT;localhost;cpu;0;OK - load average: 0.00, >> 0.00, 0.00 >> Oct 6 15:02:39 noc-mon nsca[31817]: Connection from 10.12.225.50 port >> 39040 >> Oct 6 15:02:39 noc-mon nsca[31817]: Host address checks out ok >> Oct 6 15:02:39 noc-mon nsca[31817]: Handling the connection... >> Oct 6 15:02:40 noc-mon nsca[31817]: SERVICE CHECK -> Host Name: >> 'acdmz-inside-sw2', Service Description: 'Check Host Alive', Return >> Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.83 ms' >> Oct 6 15:02:40 noc-mon nsca[31817]: End of connection... >> Oct 6 15:02:40 noc-mon nagios: EXTERNAL COMMAND: >> PROCESS_SERVICE_CHECK_RESULT;acdmz-inside-sw2;Check Host Alive;0;PING OK >> - Packet loss = 0%, RTA = 0.83 ms >> Oct 6 15:02:44 noc-mon nagios: Warning: Message queue contained >> results for service 'Check Host Alive' on host 'acdmz-inside-sw2'. The >> service could not be found! >> >> The localhost check acts like it works, but the simple check-host-alive >> service definition is not. I know that that service definition is on >> both servers. They are both running v1.2. Also, should I see something >> on my central server's web gui showing these hosts down? My host count >> has not been affected at all by the hosts added to the distributed >> server. Am I missing something? Is there something wrong with the >> default check-host-alive service check? >> Thanks for any help, >> -------------------------------------- >> Tim Moore >> DNS/Linux/Cisco Admin >> ODJFS >> > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mscandian at freebsdbrasil.com.br Thu Oct 7 22:53:47 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Thu, 7 Oct 2004 17:53:47 -0300 (BRT) Subject: multiple instances In-Reply-To: <6.1.2.0.2.20041005162923.02cf6870@mail.tany.com> References: <6.1.2.0.2.20041005162923.02cf6870@mail.tany.com> Message-ID: <20041007174037.K973-100000@cyberdine.freebsdbrasil.com.br> Hi Tim, i do what u tell me. I copied the nagios.cfg and cgi.cfg for the directory of the companyA, and companyB. Then, I edited the files, and I put the following form: In /companyA/etc/cgi.cfg: main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg physical_html_path=/usr/home/eksffa/public_html/nagios/share url_html_path=/companyA authorized_for_configuration_information=companyA ... In /companyA/etc/nagios.cfg log_file=/usr/home/eksffa/public_html/nagios/companyA/var/nagios.log ... cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg ... status_file=/usr/home/eksffa/public_html/nagios/companyA/var/status.log nagios_user=nagios ... the same for the companyB (cgi.cfg and nagios.cfg) modifying only the names. My cgi.cfg and nagios.cfg default is: cgi.cfg: main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg physical_html_path=/usr/home/eksffa/public_html/nagios/share url_html_path=/nagios use_authentication=1 authorized_for_system_information=admin ... And my nagios.cfg is: log_file=/usr/home/eksffa/public_html/nagios/var/nagios.log cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg ... comment_file=/usr/home/eksffa/public_html/nagios/var/comment.log ... In my httpd.conf: ScriptAlias /nagios/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all ScriptAlias /companyA/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all require user mdbrasil ScriptAlias /companyB/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all require user twi Options None AllowOverride AuthConfig Order allow,deny Allow from all Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all require user mdbrasil Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all require user twi Do I need to run the nagios.cfg of the companyA and companyB directory? e.g: ./nagios -d /usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg and ./nagios -d /usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg or, only nagios.cfg of the /usr/home/eksffa/public_html/nagios/etc directory? Thanks! Mario Sergio On Tue, 5 Oct 2004, Tim Palmer wrote: > No, you are making this far more complicated than it needs to be. > > One nagios.cfg, one cgi.cfg, one webspace, one ScriptAlias, one Alias. You > don't need all this extra stuff. > > When a user logs into apache, the account that they use to login will be > matched to a contact in your contacts.cfg. What that person will see is > determined by which hosts/hostgroups/services use the contactgroup that > this contact is a member of. > > In general, don't put any contacts besides maybe a "superuser" in the > cgi.cfg "authorized_for_..." lines. > > Read - very carefully, as many times as necessary - the section in the docs > called "Configuring Authentication for the CGIs". Make sure you understand > the "definitions" section near the top. > > tim > > At 01:59 PM 10/5/2004, Mario Sergio Candian wrote: > > >Oks guys, > > > >i will edit the cgi.cfg, and i will need to define some attributes as > >like: > > > >main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > >main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg > >main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg > > > >url_html_path=/nagios > >url_html_path=/companyA > >url_html_path=/companyB > > > >authorized_for_system_information=admin,userA,userB > > > >will i need to copy the etc (with the .cfg files) for other directory > >(/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files > >in the /nagios/etc? > > > >then, i will define the hosts, hostgroups, services, and i need to create > >the aliases scripts: > > > > ScriptAlias /companyA/cgi-bin/ > >/usr/home/eksffa/public_html/nagios/companyA/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > ScriptAlias /companyB/cgi-bin/ > >/usr/home/eksffa/public_html/nagios/CompanyB/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > >Is this correcty? > > > >Mario Sergio > > > > > > > >------------------------------------------------------- > >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > >Use IT products in your business? Tell us what you think of them. Give us > >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > >http://productguide.itmanagersjournal.com/guidepromo.tmpl > >_______________________________________________ > >Nagios-users mailing list > >Nagios-users at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-users > >::: 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: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Oct 7 23:49:42 2004 From: benny at bennyvision.com (C. Bensend) Date: Thu, 7 Oct 2004 16:49:42 -0500 (CDT) Subject: NRPE 2.0 + IRIX 6.5.22 == no joy :( Message-ID: <2441.134.244.169.17.1097185804.squirrel@134.244.169.17> Hey folks, I'm trying to build NRPE on an IRIX build machine, and I'm having no luck: SGI:granite.nagios->make all cd ./src/; make ; cd .. cc -g -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl -lsocket nrpe.c: cc-1070 cc: ERROR File = nrpe.c, Line = 1442 The indicated type is incomplete. static struct option long_options[]={ ^ cc-1020 cc: ERROR File = nrpe.c, Line = 1443 The identifier "required_argument" is undefined. {"config", required_argument, 0, 'c'}, ^ cc-1020 cc: ERROR File = nrpe.c, Line = 1444 The identifier "no_argument" is undefined. {"inetd", no_argument, 0, 'i'}, ^ 3 errors detected in the compilation of "nrpe.c". utils.c: *** Error code 2 (bu21) *** Error code 1 (bu21) This is using the SGI compiler. This is a product build machine, so I cannot install gcc or anything like that. Can anyone with a little more programming knowlege take a quick look and maybe help out with a patch? OK, a _lot_ more knowlege, I'm a dunce when it comes to C. :) Thanks! Benny -- "Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes." -- .sig on Slashdot ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri Oct 8 00:08:37 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 07 Oct 2004 18:08:37 -0400 Subject: check_snmp hard question Message-ID: Hi all, I have some kind of problem with check_snmp. When I use the command... ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.2.2.1.8.1 ...to test the command on a router, the result is :"SNMP OK - up(1)" When I use the same command inside Nagios, the result is :"OK - 1" How can I get my "up" back? --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 8 00:17:18 2004 From: marc at ena.com (Marc Powell) Date: Thu, 7 Oct 2004 17:17:18 -0500 Subject: multiple instances Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BCAA@mismail.ena.com> Mr Candian, I am sure that I speak for many on this list when I say to please stop what you are doing. Stop trying to configure Nagios in the way that you are as it will not work as you expect. Please re-read the documentation, please re-read what I and others have told you is the correct way to allow multiple logins to see different hosts and services from each other. It's exceedingly simple; don't overcomplicate it. Please re-read what Tim said in the very email you responded to which was clearly directing you to do something other than what you did. Then read the documentation again, specifically the parts about contacts, contact_groups, and CGI Authentication. I suggest that you might want to start from the very beginning again. You need one installation of Nagios. That's it. That one installation of Nagios can serve as the front end for tens, hundreds or thousands of companies and they would have no idea the others existed. If, after all of the above, you still do not understand, you may want to contact a Linux User Group in your area. Chances are someone there has experience with Nagios that can sit down with you and show you hands on what you need to do. There are also commercial entities that will help you set up Nagios as well. I only mention these options because your repeated queries on this subject show that you do not yet understand the basic operation of Nagios and do not appear to understand the advice that has been provided to you. -- Marc ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mario Sergio Candian Sent: Thursday, October 07, 2004 3:54 PM To: Tim Palmer Cc: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] multiple instances > Hi Tim, > > i do what u tell me. I copied the nagios.cfg and cgi.cfg for the directory of > the companyA, and companyB. Then, I edited the files, and I put the following > form: > > In /companyA/etc/cgi.cfg: > > main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios .cfg > > physical_html_path=/usr/home/eksffa/public_html/nagios/share > > url_html_path=/companyA > > authorized_for_configuration_information=companyA > ... > > In /companyA/etc/nagios.cfg > > log_file=/usr/home/eksffa/public_html/nagios/companyA/var/nagios.log > > ... > > cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg > cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg > cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg > ... > > status_file=/usr/home/eksffa/public_html/nagios/companyA/var/status.log > > nagios_user=nagios > > ... > > the same for the companyB (cgi.cfg and nagios.cfg) modifying only the names. > > My cgi.cfg and nagios.cfg default is: > > cgi.cfg: > > main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > > physical_html_path=/usr/home/eksffa/public_html/nagios/share > > url_html_path=/nagios > > use_authentication=1 > > authorized_for_system_information=admin > ... > > And my nagios.cfg is: > > log_file=/usr/home/eksffa/public_html/nagios/var/nagios.log > > cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg > cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg > cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg > > ... > > comment_file=/usr/home/eksffa/public_html/nagios/var/comment.log > > ... > > In my httpd.conf: > > ScriptAlias /nagios/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > > ScriptAlias /companyA/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > require user mdbrasil > > > ScriptAlias /companyB/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > require user twi > > > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > require user mdbrasil > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > require user twi > > > Do I need to run the nagios.cfg of the companyA and companyB directory? > e.g: > ./nagios -d /usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg > and > ./nagios -d /usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg > > or, only nagios.cfg of the /usr/home/eksffa/public_html/nagios/etc > directory? > > Thanks! > > Mario Sergio > > On Tue, 5 Oct 2004, Tim Palmer wrote: > > > No, you are making this far more complicated than it needs to be. > > > > One nagios.cfg, one cgi.cfg, one webspace, one ScriptAlias, one Alias. > > You don't need all this extra stuff. > > > > When a user logs into apache, the account that they use to login will > > be matched to a contact in your contacts.cfg. What that person will > > see is determined by which hosts/hostgroups/services use the > > contactgroup that this contact is a member of. > > > > In general, don't put any contacts besides maybe a "superuser" in the > > cgi.cfg "authorized_for_..." lines. > > > > Read - very carefully, as many times as necessary - the section in the > > docs called "Configuring Authentication for the CGIs". Make sure you > > understand the "definitions" section near the top. > > > > tim > > > > At 01:59 PM 10/5/2004, Mario Sergio Candian wrote: > > > > > Oks guys, > > > > > > i will edit the cgi.cfg, and i will need to define some attributes as > > > like: > > > > > > main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > > > main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nag > > > ios.cfg > > > main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nag > > > ios.cfg > > > > > > url_html_path=/nagios > > > url_html_path=/companyA > > > url_html_path=/companyB > > > > > > authorized_for_system_information=admin,userA,userB > > > > > > will i need to copy the etc (with the .cfg files) for other directory > > > (/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files in > > > the /nagios/etc? > > > > > > then, i will define the hosts, hostgroups, services, and i need to create > > > the aliases scripts: > > > > > > ScriptAlias /companyA/cgi-bin/ > > > /usr/home/eksffa/public_html/nagios/companyA/sbin/ > > > > > > AllowOverride AuthConfig > > > Options ExecCGI > > > Order allow,deny > > > Allow from all > > > > > > > > > ScriptAlias /companyB/cgi-bin/ > > > /usr/home/eksffa/public_html/nagios/CompanyB/sbin/ > > > > > > AllowOverride AuthConfig > > > Options ExecCGI > > > Order allow,deny > > > Allow from all > > > > > > > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > > Options > > > None AllowOverride AuthConfig > > > Order allow,deny > > > Allow from all > > > > > > > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > > Options > > > None AllowOverride AuthConfig > > > Order allow,deny > > > Allow from all > > > > > > > > > Is this correcty? > > > > > > Mario Sergio ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ken.satkunam at northstartechnologygroup.com Fri Oct 8 00:17:29 2004 From: ken.satkunam at northstartechnologygroup.com (Ken E. Satkunam) Date: Thu, 7 Oct 2004 17:17:29 -0500 Subject: apache.conf Message-ID: <496D4D40DDBB294F814529DAD96FC12E27A6@ntg1.northstartechnologygroup.com> Thank you so much! That seems to have done the trick...I am getting the nagios web come up..however, icons, etc aren't loading correctly. When I check the /usr/local/nagios folder, I only see 4 folders.../bin, /sbin, /share and /var. The /etc folder is not there. When I ran the configure script, I just typed ./configure (read where it just uses the defaults...which is fine. Other than that, I just followed the docs... Ken -----Original Message----- From: twelsh [mailto:twelsh at square-box.com] Sent: Thursday, October 07, 2004 5:50 PM To: Ken E. Satkunam Subject: Re: [Nagios-users] apache.conf Hi Ken, Take a look at our demo configs at http://demo.square-box.com they are the configs we used to setup the nagios demo site that you link to from the nagios website. You will find a whole section devoted to apache including a sample virtual host HTH Tom On Thu, 2004-10-07 at 09:44, Ken E. Satkunam wrote: > I am very new to Linux and am trying to setup a test nagios box. I am > at the point to edit the apache.conf file to setup the web interface. > I am running Apache 1.3x, but have no idea where to place the > ScriptAlias and Alias sections detailed in the documentation. My > apache.conf file has this section. I don't understand where to add > the lines with the "IfModule" sections. Help! > > > > > > > > > > # > > # Note that if you include a trailing / on fakename then the > server will > > # require it to be present in the URL. So "/icons" isn't aliased > in this > > # example, only "/icons/". If the fakename is slash-terminated, > then the > > # realname must also be slash terminated, and if the fakename > omits the > > # trailing slash, the realname must also omit it. > > # > > Alias /icons/ "/srv/www/icons/" > > > > > > Options Indexes MultiViews > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > # This Alias will project the on-line documentation tree under > /manual/ > > # even if you change the DocumentRoot. Comment it if you don't > want to > > # provide access to the on-line documentation. > > # > > Alias /manual/ "/srv/www/htdocs/manual/" > > > > > > Options Indexes FollowSymlinks MultiViews > > AllowOverride None > > Order allow,deny > > Allow from all > > > > > > # > > # ScriptAlias: This controls which directories contain server > scripts. > > # ScriptAliases are essentially the same as Aliases, except that > > # documents in the realname directory are treated as applications > and > > # run by the server when requested rather than as documents sent > to the client. > > # The same rules about trailing "/" apply to ScriptAlias > directives as to > > # Alias. > > # > > ScriptAlias /cgi-bin/ "/srv/www/cgi-bin/" > > > > > > # Provide two aliases to the same cgi-bin directory, > > # to see the effects of the 2 different mod_perl modes. > > # for Apache::Registry Mode > > ScriptAlias /perl/ "/srv/www/cgi-bin/" > > # for Apache::Perlrun Mode > > ScriptAlias /cgi-perl/ "/srv/www/cgi-bin/" > > > > # > > # "/srv/www/cgi-bin" should be changed to whatever your > ScriptAliased > > # CGI directory exists, if you have that configured. > > # > > > > AllowOverride None > > Options None > > Order allow,deny > > Allow from all > > > > > > > > # End of aliases. > > > > > > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Fri Oct 8 01:06:40 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 08 Oct 2004 12:06:40 +1300 Subject: NSClient custom counter question In-Reply-To: <2F6750F2110CAD41BE0BC33BB428B56806535F@net-sql2.int.netways.de> References: <2F6750F2110CAD41BE0BC33BB428B56806535F@net-sql2.int.netways.de> Message-ID: Sorry for pulling an old topic, but i came to this right now :) I have a similar problem: ./check_nt -H 192.168.100.54 -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" -w 35 -c 90 Paging File Usage is %.2f%% = 38 ^^^^^^^ Ugly Wortking but i can't get it being wellformated. So what must i do to geht this as 37.66% or something like that. I tried different Versions like "%.2f %%" "% .2f %" "%%.2f %%" "% .2f %%" but no luck.. Any hints? Jan > Hi, > >> I've got my Nagios install set up to check the paging file on several >> Windows 200 hosts thus: >> >> define command { >> command_name check_nt_pagingfile >> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >> COUNTER -l "\\Paging File(_Total)\\%Usage","Paging File Usage >> is %.2f%%" >> -w $ARG1$ -c $ARG2$ >> } >> >> I'm passing 75 and 90 as the warning and critical levels respectively, >> but every host I'm checking returns the same result - Paging >> File Usage >> is 0.00% > > I think, you need a blank between "%" and "Usage": > > -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" > > Julian > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Fri Oct 8 01:42:17 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Thu, 7 Oct 2004 16:42:17 -0700 Subject: NSClient custom counter question In-Reply-To: References: Message-ID: Try %2.2f%% Example: [root at milano root]# cat foo.c main() { printf("foo is %2.2f%%\n:", 37.66); } [root at milano root]# make foo cc foo.c -o foo [root at milano root]# ./foo foo is 37.66% You may also need to escape the % in the check_nt statement: \%2.2f\%\%. Hope that works, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan Scholten Sent: Thursday, October 07, 2004 4:07 PM To: Julian Hein; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient custom counter question Sorry for pulling an old topic, but i came to this right now :) I have a similar problem: ./check_nt -H 192.168.100.54 -p 1248 -v COUNTER -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" -w 35 -c 90 Paging File Usage is %.2f%% = 38 ^^^^^^^ Ugly Wortking but i can't get it being wellformated. So what must i do to geht this as 37.66% or something like that. I tried different Versions like "%.2f %%" "% .2f %" "%%.2f %%" "% .2f %%" but no luck.. Any hints? Jan > Hi, > >> I've got my Nagios install set up to check the paging file on several >> Windows 200 hosts thus: >> >> define command { >> command_name check_nt_pagingfile >> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >> COUNTER -l "\\Paging File(_Total)\\%Usage","Paging File Usage >> is %.2f%%" >> -w $ARG1$ -c $ARG2$ >> } >> >> I'm passing 75 and 90 as the warning and critical levels respectively, >> but every host I'm checking returns the same result - Paging >> File Usage >> is 0.00% > > I think, you need a blank between "%" and "Usage": > > -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" > > Julian > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Fri Oct 8 01:48:10 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 08 Oct 2004 12:48:10 +1300 Subject: NSClient custom counter question In-Reply-To: <20041007234143.41DD080B03@hel.iconz.co.nz> References: <20041007234143.41DD080B03@hel.iconz.co.nz> Message-ID: Nope no luck with that.. it seems NSClient is ignoring the whole %.2f%% Stuff and does not parse it. at least not here :-) It's working but not looking good. But thanks for trying! Jan > Try %2.2f%% > > Example: > [root at milano root]# cat foo.c > main() { > printf("foo is %2.2f%%\n:", 37.66); > } > > [root at milano root]# make foo > cc foo.c -o foo > [root at milano root]# ./foo > foo is 37.66% > > You may also need to escape the % in the check_nt statement: \%2.2f\%\%. > > Hope that works, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan > Scholten > Sent: Thursday, October 07, 2004 4:07 PM > To: Julian Hein; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient custom counter question > > Sorry for pulling an old topic, but i came to this right now :) > > I have a similar problem: > > /check_nt -H 192.168.100.54 -p 1248 -v COUNTER -l "\\Paging > File(_Total)\\% Usage","Paging File Usage is %.2f%%" -w 35 -c 90 > Paging File Usage is %.2f%% = 38 > ^^^^^^^ Ugly > > > Wortking but i can't get it being wellformated. So what must i do to geht > this as 37.66% or something like that. > > I tried different Versions like "%.2f %%" "% .2f %" "%%.2f %%" "% .2f %%" > but no luck.. > Any hints? > > Jan > > >> Hi, >> >>> I've got my Nagios install set up to check the paging file on several >>> Windows 200 hosts thus: >>> >>> define command { >>> command_name check_nt_pagingfile >>> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >>> COUNTER -l "\\Paging File(_Total)\\%Usage","Paging File Usage >>> is %.2f%%" >>> -w $ARG1$ -c $ARG2$ >>> } >>> >>> I'm passing 75 and 90 as the warning and critical levels respectively, >>> but every host I'm checking returns the same result - Paging >>> File Usage >>> is 0.00% >> >> I think, you need a blank between "%" and "Usage": >> >> -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" >> >> Julian >> > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Fri Oct 8 01:54:55 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Thu, 7 Oct 2004 16:54:55 -0700 Subject: NSClient custom counter question In-Reply-To: References: Message-ID: One other thought: try single quoting (') the format string. It looks like check_nt is taking it as a literal. - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Thursday, October 07, 2004 4:48 PM To: hmann at itgroundwork.com; 'Julian Hein'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient custom counter question Nope no luck with that.. it seems NSClient is ignoring the whole %.2f%% Stuff and does not parse it. at least not here :-) It's working but not looking good. But thanks for trying! Jan > Try %2.2f%% > > Example: > [root at milano root]# cat foo.c > main() { > printf("foo is %2.2f%%\n:", 37.66); > } > > [root at milano root]# make foo > cc foo.c -o foo > [root at milano root]# ./foo > foo is 37.66% > > You may also need to escape the % in the check_nt statement: \%2.2f\%\%. > > Hope that works, > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan > Scholten > Sent: Thursday, October 07, 2004 4:07 PM > To: Julian Hein; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient custom counter question > > Sorry for pulling an old topic, but i came to this right now :) > > I have a similar problem: > > /check_nt -H 192.168.100.54 -p 1248 -v COUNTER -l "\\Paging > File(_Total)\\% Usage","Paging File Usage is %.2f%%" -w 35 -c 90 > Paging File Usage is %.2f%% = 38 > ^^^^^^^ Ugly > > > Wortking but i can't get it being wellformated. So what must i do to geht > this as 37.66% or something like that. > > I tried different Versions like "%.2f %%" "% .2f %" "%%.2f %%" "% .2f %%" > but no luck.. > Any hints? > > Jan > > >> Hi, >> >>> I've got my Nagios install set up to check the paging file on several >>> Windows 200 hosts thus: >>> >>> define command { >>> command_name check_nt_pagingfile >>> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >>> COUNTER -l "\\Paging File(_Total)\\%Usage","Paging File Usage >>> is %.2f%%" >>> -w $ARG1$ -c $ARG2$ >>> } >>> >>> I'm passing 75 and 90 as the warning and critical levels respectively, >>> but every host I'm checking returns the same result - Paging >>> File Usage >>> is 0.00% >> >> I think, you need a blank between "%" and "Usage": >> >> -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" >> >> Julian >> > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Fri Oct 8 02:26:03 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 08 Oct 2004 13:26:03 +1300 Subject: NSClient custom counter question In-Reply-To: <20041007235417.3F42780A44@hel.iconz.co.nz> References: <20041007235417.3F42780A44@hel.iconz.co.nz> Message-ID: Strange! I'm Running it from a Debian 3.1 testing to a Win2k Server with NSClient ./check_nt -V check_nt (nagios-plugins 1.4.0alpha1) 1.21 ok.. command back.. if i use the Version of 1.3 its working fine. Args! Thanks man! Jan On Thu, 7 Oct 2004 16:54:55 -0700, Harper Mann wrote: > One other thought: try single quoting (') the format string. It looks > like > check_nt is taking it as a literal. > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > > > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Thursday, October 07, 2004 4:48 PM > To: hmann at itgroundwork.com; 'Julian Hein'; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient custom counter question > > Nope no luck with that.. it seems NSClient is ignoring the whole %.2f%% > Stuff and does not parse it. > > at least not here :-) > > It's working but not looking good. > > But thanks for trying! > > Jan > >> Try %2.2f%% >> >> Example: >> [root at milano root]# cat foo.c >> main() { >> printf("foo is %2.2f%%\n:", 37.66); >> } >> >> [root at milano root]# make foo >> cc foo.c -o foo >> [root at milano root]# ./foo >> foo is 37.66% >> >> You may also need to escape the % in the check_nt statement: \%2.2f\%\%. >> >> Hope that works, >> >> - Harper >> >> Harper Mann >> Groundwork Open Source Solutions >> 510-599-2075 (cell) >> >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan >> Scholten >> Sent: Thursday, October 07, 2004 4:07 PM >> To: Julian Hein; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NSClient custom counter question >> >> Sorry for pulling an old topic, but i came to this right now :) >> >> I have a similar problem: >> >> /check_nt -H 192.168.100.54 -p 1248 -v COUNTER -l "\\Paging >> File(_Total)\\% Usage","Paging File Usage is %.2f%%" -w 35 -c 90 >> Paging File Usage is %.2f%% = 38 >> ^^^^^^^ Ugly >> >> >> Wortking but i can't get it being wellformated. So what must i do to >> geht >> this as 37.66% or something like that. >> >> I tried different Versions like "%.2f %%" "% .2f %" "%%.2f %%" "% .2f >> %%" >> but no luck.. >> Any hints? >> >> Jan >> >> >>> Hi, >>> >>>> I've got my Nagios install set up to check the paging file on several >>>> Windows 200 hosts thus: >>>> >>>> define command { >>>> command_name check_nt_pagingfile >>>> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >>>> COUNTER -l "\\Paging File(_Total)\\%Usage","Paging File Usage >>>> is %.2f%%" >>>> -w $ARG1$ -c $ARG2$ >>>> } >>>> >>>> I'm passing 75 and 90 as the warning and critical levels respectively, >>>> but every host I'm checking returns the same result - Paging >>>> File Usage >>>> is 0.00% >>> >>> I think, you need a blank between "%" and "Usage": >>> >>> -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" >>> >>> Julian >>> >> >> >> > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Fri Oct 8 02:33:26 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Thu, 7 Oct 2004 17:33:26 -0700 Subject: NSClient custom counter question In-Reply-To: References: Message-ID: [root at milano plugins]# !./ch ./check_nt -H torino -p 1248 -v COUNTER -l "\\Paging File(_Total)\% Usage",'Paging File Usage is %2.2f%%' -w 40 -c 90 Paging File Usage is %2.2f%% = 3 [root at milano plugins]# ./check_nt -V check_nt (nagios-plugins 1.4.0alpha1) 1.21 Nagios-1.4.0alph1 is wrong for me as well.... - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: Jan Scholten [mailto:Jan.Scholten at iconz.net] Sent: Thursday, October 07, 2004 5:26 PM To: hmann at itgroundwork.com; 'Julian Hein'; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSClient custom counter question Strange! I'm Running it from a Debian 3.1 testing to a Win2k Server with NSClient ./check_nt -V check_nt (nagios-plugins 1.4.0alpha1) 1.21 ok.. command back.. if i use the Version of 1.3 its working fine. Args! Thanks man! Jan On Thu, 7 Oct 2004 16:54:55 -0700, Harper Mann wrote: > One other thought: try single quoting (') the format string. It looks > like > check_nt is taking it as a literal. > > - Harper > > Harper Mann > Groundwork Open Source Solutions > 510-599-2075 (cell) > > > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Thursday, October 07, 2004 4:48 PM > To: hmann at itgroundwork.com; 'Julian Hein'; > nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSClient custom counter question > > Nope no luck with that.. it seems NSClient is ignoring the whole %.2f%% > Stuff and does not parse it. > > at least not here :-) > > It's working but not looking good. > > But thanks for trying! > > Jan > >> Try %2.2f%% >> >> Example: >> [root at milano root]# cat foo.c >> main() { >> printf("foo is %2.2f%%\n:", 37.66); >> } >> >> [root at milano root]# make foo >> cc foo.c -o foo >> [root at milano root]# ./foo >> foo is 37.66% >> >> You may also need to escape the % in the check_nt statement: \%2.2f\%\%. >> >> Hope that works, >> >> - Harper >> >> Harper Mann >> Groundwork Open Source Solutions >> 510-599-2075 (cell) >> >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jan >> Scholten >> Sent: Thursday, October 07, 2004 4:07 PM >> To: Julian Hein; nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NSClient custom counter question >> >> Sorry for pulling an old topic, but i came to this right now :) >> >> I have a similar problem: >> >> /check_nt -H 192.168.100.54 -p 1248 -v COUNTER -l "\\Paging >> File(_Total)\\% Usage","Paging File Usage is %.2f%%" -w 35 -c 90 >> Paging File Usage is %.2f%% = 38 >> ^^^^^^^ Ugly >> >> >> Wortking but i can't get it being wellformated. So what must i do to >> geht >> this as 37.66% or something like that. >> >> I tried different Versions like "%.2f %%" "% .2f %" "%%.2f %%" "% .2f >> %%" >> but no luck.. >> Any hints? >> >> Jan >> >> >>> Hi, >>> >>>> I've got my Nagios install set up to check the paging file on several >>>> Windows 200 hosts thus: >>>> >>>> define command { >>>> command_name check_nt_pagingfile >>>> command_line $USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v >>>> COUNTER -l "\\Paging File(_Total)\\%Usage","Paging File Usage >>>> is %.2f%%" >>>> -w $ARG1$ -c $ARG2$ >>>> } >>>> >>>> I'm passing 75 and 90 as the warning and critical levels respectively, >>>> but every host I'm checking returns the same result - Paging >>>> File Usage >>>> is 0.00% >>> >>> I think, you need a blank between "%" and "Usage": >>> >>> -l "\\Paging File(_Total)\\% Usage","Paging File Usage is %.2f%%" >>> >>> Julian >>> >> >> >> > > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Duling at biola.edu Fri Oct 8 05:15:36 2004 From: Mark.Duling at biola.edu (Mark Duling) Date: Thu, 07 Oct 2004 20:15:36 -0700 Subject: check_radius plugin Message-ID: I've got the check_radius plugin built and installed, but I can't get it to work. And I have allowed client requests for nagios box on the radius server. I've setup radiusclient.conf ok I think. Is anyone else using it that can share tips? I also tried using the 1.4 alpha plugin version but it returns a "bus error". Thanks. Mark ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joelf at fast.net Fri Oct 8 05:44:37 2004 From: joelf at fast.net (joel) Date: Thu, 07 Oct 2004 20:44:37 -0700 Subject: allot of processes Message-ID: <1097207077.6309.188.camel@joelf-ws.labs.corp.yahoo.com> Is this normal? distro:/etc/nagios# ps fauwwx | grep nagios | wc -l 89 I am monitoring 137 hosts right now. ~joel ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Fri Oct 8 06:55:14 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 7 Oct 2004 23:55:14 -0500 (CDT) Subject: Memory size question on a single nagios process In-Reply-To: References: Message-ID: On Thu, 7 Oct 2004, Gilles POIRET wrote: > Hi, > > I'm looking for the same kind of tips : > I've a P4 2.8GHz, dual-proc/hyperthreading, 512 Mo RAM, 2 Go swap, and > near than 4000 services on 300 hosts. (embedded-perl snmp checks + rrd > bases access in most of the case) > > and i have trouble with performances : > - average check latency is 20min > - swap is almost full, > - interface web is slow.. > The first thing I would do is add more real RAM, at least another 512 MB to bring it to 1 GB. Also, 2 GB swap seems large to me for this type of system but that's not a big deal. I know from my configuration that running with embedded perl will cause the Nagios process to leak memory. I have combatted this leak with a weekly Nagios restart from cron. Finally, with 4k services, the best thing you could do would be to setup a Distributed Nagios configuration. Configure say two boxes to do the actual active checks then have those two send service status to a Central Nagios using nsca. This will dramatically reduce your latency and improve your web front end performance. You might also consider the chained hash patch which has been floating around. Good luck. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elmarvmo at gmail.com Fri Oct 8 07:43:19 2004 From: elmarvmo at gmail.com (Elmar van Mourik) Date: Fri, 8 Oct 2004 07:43:19 +0200 Subject: allot of processes In-Reply-To: <1097207077.6309.188.camel@joelf-ws.labs.corp.yahoo.com> References: <1097207077.6309.188.camel@joelf-ws.labs.corp.yahoo.com> Message-ID: Hi Joel, This isn't strange at all. My situation is similar. The number of processes changes all the time between 1 and about 100. Elmar On Thu, 07 Oct 2004 20:44:37 -0700, joel wrote: > Is this normal? > > distro:/etc/nagios# ps fauwwx | grep nagios | wc -l > 89 > > I am monitoring 137 hosts right now. > > ~joel > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at usc.edu Fri Oct 8 09:55:48 2004 From: phil at usc.edu (Phil Dibowitz) Date: Fri, 8 Oct 2004 00:55:48 -0700 Subject: Fixing Nagios' email alerts Message-ID: <20041008075548.GS5754@usc.edu> This is a repost, but is there a way to make Nagios set a "Subject" and a "To" field in it's email alerts? -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ae at op5.se Fri Oct 8 11:00:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Oct 2004 11:00:46 +0200 Subject: three-way TCP In-Reply-To: References: Message-ID: <4166573E.5040103@op5.se> S?bastien Cantos wrote: > Hi, > > You can check if a service (tcp port) is responding just by completing 2 > parts of the 3 way handshake. > > 1/ Client send a Syn to the server > 2/ Server respond with a Syn/Ack > This is quite obviously not the case with the nagios plugins, for a number of reasons. 1. It generally causes some distress for the targeted servers (handles left open pending timeout), which Nagios checks wouldn't do. 2. SYN scanning requires access to raw sockets, which isn't permitted to regular users on any unix system I'm aware of. The plugins doesn't run as root, so they wouldn't be able to obtain a raw socket (also, raw sockets are very much more difficult to handle programmatically and since they're not needed, it's just plain dumb to use them). There are exceptions ofcourse (check_icmp and check_dhcp for instance, for protocol reasons) but the source is freely available so you can easily vet the relevant plugins. 3. Checks are written to mimic client behaviour. Proper clients don't go out of their way to stir up mischief. Unproper ones might, but the checks aren't designed to be pen-testing apps, but rather tests of proper standards-compliant functionality. > This is called *stealh* scanning. > No, it's called SYN scanning. Probing with FIN, FIN(URG|PUSH) and empty (NULL) packets is called stealth scanning (although lots of tools have been developed to detect those too since nmap became a fairly standard tool). Try to read more than one script-kiddie hacking page every once in a while. If nothing else, it should keep you occupied with something legal. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 8 11:06:34 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Oct 2004 11:06:34 +0200 Subject: multiple instances In-Reply-To: <349555FA607F3A4CBDA9326035D1A7FC25BCAA@mismail.ena.com> References: <349555FA607F3A4CBDA9326035D1A7FC25BCAA@mismail.ena.com> Message-ID: <4166589A.3040808@op5.se> Marc Powell wrote: > Mr Candian, > > I am sure that I speak for many on this list when I say to please stop > what you are doing. Stop trying to configure Nagios in the way that you > are as it will not work as you expect. Please re-read the documentation, > please re-read what I and others have told you is the correct way to > allow multiple logins to see different hosts and services from each > other. It's exceedingly simple; don't overcomplicate it. Please re-read > what Tim said in the very email you responded to which was clearly > directing you to do something other than what you did. Then read the > documentation again, specifically the parts about contacts, > contact_groups, and CGI Authentication. I suggest that you might want to > start from the very beginning again. You need one installation of > Nagios. That's it. That one installation of Nagios can serve as the > front end for tens, hundreds or thousands of companies and they would > have no idea the others existed. > > If, after all of the above, you still do not understand, you may want to > contact a Linux User Group in your area. Chances are someone there has > experience with Nagios that can sit down with you and show you hands on > what you need to do. There are also commercial entities that will help > you set up Nagios as well. I only mention these options because your > repeated queries on this subject show that you do not yet understand the > basic operation of Nagios and do not appear to understand the advice > that has been provided to you. > > -- > Marc > *clap, clap, clap* (Sorry, I know this goes against good list etiquette, but I just couldn't help it) I couldn't have said it better myself, and you actually managed to stay polite all the time. That's rather extraordinary. :) > ----Original Message---- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mario > Sergio > Candian Sent: Thursday, October 07, 2004 3:54 PM To: Tim Palmer > Cc: Nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] multiple instances > > >>Hi Tim, >> >>i do what u tell me. I copied the nagios.cfg and cgi.cfg for the > > directory of > >>the companyA, and companyB. Then, I edited the files, and I put the > > following > >>form: >> >>In /companyA/etc/cgi.cfg: >> >> > > main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios > .cfg > >>physical_html_path=/usr/home/eksffa/public_html/nagios/share >> >>url_html_path=/companyA >> >>authorized_for_configuration_information=companyA >>... >> >>In /companyA/etc/nagios.cfg >> >>log_file=/usr/home/eksffa/public_html/nagios/companyA/var/nagios.log >> >>... >> >>cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg >>cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg >>cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg >>... >> >> > > status_file=/usr/home/eksffa/public_html/nagios/companyA/var/status.log > >>nagios_user=nagios >> >>... >> >>the same for the companyB (cgi.cfg and nagios.cfg) modifying only the > > names. > >>My cgi.cfg and nagios.cfg default is: >> >>cgi.cfg: >> >>main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg >> >>physical_html_path=/usr/home/eksffa/public_html/nagios/share >> >>url_html_path=/nagios >> >>use_authentication=1 >> >>authorized_for_system_information=admin >>... >> >>And my nagios.cfg is: >> >>log_file=/usr/home/eksffa/public_html/nagios/var/nagios.log >> >>cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg >>cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg >>cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg >> >>... >> >>comment_file=/usr/home/eksffa/public_html/nagios/var/comment.log >> >>... >> >>In my httpd.conf: >> >> ScriptAlias /nagios/cgi-bin/ > > /usr/home/eksffa/public_html/nagios/sbin/ > >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> >> ScriptAlias /companyA/cgi-bin/ > > /usr/home/eksffa/public_html/nagios/sbin/ > >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> require user mdbrasil >> >> >> ScriptAlias /companyB/cgi-bin/ > > /usr/home/eksffa/public_html/nagios/sbin/ > >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> require user twi >> >> >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> require user mdbrasil >> >> >> Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> require user twi >> >> >>Do I need to run the nagios.cfg of the companyA and companyB > > directory? > >>e.g: >>./nagios -d > > /usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg > >>and >>./nagios -d > > /usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg > >>or, only nagios.cfg of the /usr/home/eksffa/public_html/nagios/etc >>directory? >> >>Thanks! >> >>Mario Sergio >> >>On Tue, 5 Oct 2004, Tim Palmer wrote: >> >> >>>No, you are making this far more complicated than it needs to be. >>> >>>One nagios.cfg, one cgi.cfg, one webspace, one ScriptAlias, one > > Alias. > >>>You don't need all this extra stuff. >>> >>>When a user logs into apache, the account that they use to login > > will > >>>be matched to a contact in your contacts.cfg. What that person will >>>see is determined by which hosts/hostgroups/services use the >>>contactgroup that this contact is a member of. >>> >>>In general, don't put any contacts besides maybe a "superuser" in > > the > >>>cgi.cfg "authorized_for_..." lines. >>> >>>Read - very carefully, as many times as necessary - the section in > > the > >>>docs called "Configuring Authentication for the CGIs". Make sure you >>>understand the "definitions" section near the top. >>> >>>tim >>> >>>At 01:59 PM 10/5/2004, Mario Sergio Candian wrote: >>> >>> >>>>Oks guys, >>>> >>>>i will edit the cgi.cfg, and i will need to define some attributes > > as > >>>>like: >>>> >>>> > > main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > > main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nag > >>>>ios.cfg >>>> > > main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nag > >>>>ios.cfg >>>> >>>>url_html_path=/nagios >>>>url_html_path=/companyA >>>>url_html_path=/companyB >>>> >>>>authorized_for_system_information=admin,userA,userB >>>> >>>>will i need to copy the etc (with the .cfg files) for other > > directory > >>>>(/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg > > files in > >>>>the /nagios/etc? >>>> >>>>then, i will define the hosts, hostgroups, services, and i need to > > create > >>>>the aliases scripts: >>>> >>>> ScriptAlias /companyA/cgi-bin/ >>>>/usr/home/eksffa/public_html/nagios/companyA/sbin/ >>>> >>>> AllowOverride AuthConfig >>>> Options ExecCGI >>>> Order allow,deny >>>> Allow from all >>>> >>>> >>>> ScriptAlias /companyB/cgi-bin/ >>>>/usr/home/eksffa/public_html/nagios/CompanyB/sbin/ >>>> >>>> AllowOverride AuthConfig >>>> Options ExecCGI >>>> Order allow,deny >>>> Allow from all >>>> >>>> >>>> Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ >>>> > > Options > >>>> None AllowOverride AuthConfig >>>> Order allow,deny >>>> Allow from all >>>> >>>> >>>> Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ >>>> > > Options > >>>> None AllowOverride AuthConfig >>>> Order allow,deny >>>> Allow from all >>>> >>>> >>>>Is this correcty? >>>> >>>>Mario Sergio > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 8 11:12:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Oct 2004 11:12:46 +0200 Subject: Fixing Nagios' email alerts In-Reply-To: <20041008075548.GS5754@usc.edu> References: <20041008075548.GS5754@usc.edu> Message-ID: <41665A0E.8080909@op5.se> Phil Dibowitz wrote: > This is a repost, but is there a way to make Nagios set a "Subject" and a "To" > field in it's email alerts? > If the To field isn't set, you wouldn't get any notifications. Read the manpage for your system's mail command and check your syntax of the notification command. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elmarvmo at gmail.com Fri Oct 8 11:10:28 2004 From: elmarvmo at gmail.com (Elmar van Mourik) Date: Fri, 8 Oct 2004 11:10:28 +0200 Subject: Fixing Nagios' email alerts In-Reply-To: <20041008075548.GS5754@usc.edu> References: <20041008075548.GS5754@usc.edu> Message-ID: Phil, This is setup in misccommands.cfg: # 'notify-by-email' command definition define command{ command_name notify-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: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ a lert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } The subject is (/usr/bin/mail -s): "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" The "To" fiels is $CONTACTEMAIL$ This is depending on the contactgroups.cfg and contacts.cfg and the contact_group in your service config. Elmar On Fri, 8 Oct 2004 00:55:48 -0700, Phil Dibowitz wrote: > This is a repost, but is there a way to make Nagios set a "Subject" and a "To" > field in it's email alerts? > > -- > Phil Dibowitz > Systems Architect and Administrator > Enterprise Infrastructure / ISD / USC > UCC 174 - 213-821-5427 > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florian.beese at infoconsult.nu Fri Oct 8 11:46:28 2004 From: florian.beese at infoconsult.nu (Florian Beese) Date: Fri, 8 Oct 2004 11:46:28 +0200 Subject: Nagios Usermanagement Message-ID: <1097228788.416661f4389f9@webmail.mediascape.de> hello, I got a question on the nagius user-management. As described you can assign contactgroups to hostgroups, so that just persons added to that contactgroup can view information on hosts of this hostgroup (using contact_groups "myhostgroup" in hostgroups.cfg). This doesn't realy work properly in our installation as I am still allowed as ClientAdmin to view the services of Server-Machines, which are in the group servers and as their contactgroup is "server-admins" and not "win-admins". When I watch the "Host Detail" at the nagios webinterface I can just see the windows-clients and in all other related pages like "Status Summary" and "Status Overview" aso... , but in the "Service Detail" I can view all services for all hosts. When I click on the "host"(-name) of the hosts, that I shouldn't be allowed to view, I get an access violation like "It appears as though you do not have permission to view information for this host..." and so on, but when I click on the service (in this case "Ping" for testing), I can access the "service state information" which also contains a lot of information on the host (server). I don't think that this should be possible! How can I avoid getting this bug? I just want the nagios users to be able to view machines they are related to in the webinterface. regards Florian Beese ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From florian.beese at infoconsult.nu Fri Oct 8 12:05:58 2004 From: florian.beese at infoconsult.nu (Florian Beese) Date: Fri, 8 Oct 2004 12:05:58 +0200 Subject: Nagios Usermanagement Message-ID: <1097229958.416666861ee5f@webmail.mediascape.de> Sorry for the last mail! I found the mistake myself. I used the wrong template (the ones for clients) in the services.cfg therefor the wrong group was reported at services. Sorry for the last mail, just forget :) Thx to anyone anyway, who already thought about it :) bye Florian ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 8 12:11:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Oct 2004 12:11:11 +0200 Subject: Nagios Usermanagement In-Reply-To: <1097228788.416661f4389f9@webmail.mediascape.de> References: <1097228788.416661f4389f9@webmail.mediascape.de> Message-ID: <416667BF.6090908@op5.se> Florian Beese wrote: > hello, > > I got a question on the nagius user-management. As described you can assign > contactgroups to hostgroups, so that just persons added to that contactgroup > can view information on hosts of this hostgroup (using > contact_groups "myhostgroup" in hostgroups.cfg). > > This doesn't realy work properly in our installation as I am still allowed as > ClientAdmin to view the services of Server-Machines, which are in the group > servers and as their contactgroup is "server-admins" and not "win-admins". > > When I watch the "Host Detail" at the nagios webinterface I can just see the > windows-clients and in all other related pages like "Status Summary" > and "Status Overview" aso... , but in the "Service Detail" I can view all > services for all hosts. > > When I click on the "host"(-name) of the hosts, that I shouldn't be allowed to > view, I get an access violation like "It appears as though you do not have > permission to view information for this host..." and so on, but when I click on > the service (in this case "Ping" for testing), I can access the "service state > information" which also contains a lot of information on the host (server). > > I don't think that this should be possible! How can I avoid getting this bug? I > just want the nagios users to be able to view machines they are related to in > the webinterface. > It's not a bug. Services have their own contactgroups. If you're in the service contactgroup but not the host, the only page you won't be able to see is the extinfo page for the host (and I imagine the Host/Hostgruop detail should leave a few out). This is sort of proper, since you pretty much have to know the host is there if you're administering the services available on it, don't you think? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at usc.edu Fri Oct 8 13:20:57 2004 From: phil at usc.edu (Phil Dibowitz) Date: Fri, 8 Oct 2004 04:20:57 -0700 Subject: Fixing Nagios' email alerts In-Reply-To: References: <20041008075548.GS5754@usc.edu> Message-ID: <20041008112057.GU5754@usc.edu> On Fri, Oct 08, 2004 at 11:10:28AM +0200, Elmar van Mourik wrote: > Phil, > > This is setup in misccommands.cfg: Ah! How did I miss that! Thanks so much! -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From phil at usc.edu Fri Oct 8 13:20:23 2004 From: phil at usc.edu (Phil Dibowitz) Date: Fri, 8 Oct 2004 04:20:23 -0700 Subject: Fixing Nagios' email alerts In-Reply-To: <41665A0E.8080909@op5.se> References: <20041008075548.GS5754@usc.edu> <41665A0E.8080909@op5.se> Message-ID: <20041008112023.GT5754@usc.edu> On Fri, Oct 08, 2004 at 11:12:46AM +0200, Andreas Ericsson wrote: > Phil Dibowitz wrote: > >This is a repost, but is there a way to make Nagios set a "Subject" and a > >"To" > >field in it's email alerts? > > > > If the To field isn't set, you wouldn't get any notifications. > Read the manpage for your system's mail command and check your syntax of > the notification command. You're thinking envelope headers, I'm thinking message headers. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From scantos at technodiva.com Fri Oct 8 13:27:32 2004 From: scantos at technodiva.com (Sébastien Cantos) Date: Fri, 8 Oct 2004 13:27:32 +0200 Subject: three-way TCP In-Reply-To: <4166573E.5040103@op5.se> References: <4166573E.5040103@op5.se> Message-ID: > S?bastien Cantos wrote: > > Hi, > > > > You can check if a service (tcp port) is responding just by > completing 2 > > parts of the 3 way handshake. > > > > 1/ Client send a Syn to the server > > 2/ Server respond with a Syn/Ack > > > > This is quite obviously not the case with the nagios plugins, for a > number of reasons. I'm agree that Nagios is a monitoring tool and that it can do full TCP connexions to check the availability of a service. I think that you have not seen my answer in the right context. I was just trying to find out why he was asking this question. I don't understand why you waste your time with the next comments ... Maybe you feel the need to demonstrate your knowown ... Do you feel frustated ? :) So I'll also waste some of my time to comment your comments : > 1. It generally causes some distress for the targeted servers > (handles > left open pending timeout), which Nagios checks wouldn't do. Right, but as you're just sending one Syn every check period (5 mn for example), the SYN_RECV state will timeout on the server. We are not dealing here with Synflood attacks. > 2. SYN scanning requires access to raw sockets, which isn't > permitted to > regular users on any unix system I'm aware of. The plugins > doesn't run > as root, so they wouldn't be able to obtain a raw socket (also, raw > sockets are very much more difficult to handle programmatically and > since they're not needed, it's just plain dumb to use them). > There are > exceptions ofcourse (check_icmp and check_dhcp for instance, for > protocol reasons) but the source is freely available so you > can easily > vet the relevant plugins. You said it! there are exeptions. What about if you have to check a service which is behind some firewall which doesn't allow full TCP connexion establishment ? Just to demonstrate that it could be usefull. > 3. Checks are written to mimic client behaviour. Proper > clients don't go > out of their way to stir up mischief. Unproper ones might, but the > checks aren't designed to be pen-testing apps, but rather tests of > proper standards-compliant functionality. Sometimes you cannot be in the *real* client side to do the checks, so you have to adapt the checks. > > > This is called *stealh* scanning. > > > > No, it's called SYN scanning. Probing with FIN, FIN(URG|PUSH) > and empty > (NULL) packets is called stealth scanning (although lots of > tools have > been developed to detect those too since nmap became a fairly > standard > tool). Try to read more than one script-kiddie hacking page > every once > in a while. If nothing else, it should keep you occupied with > something > legal. Stealth scanning is used for every scan method that doesn't acomplish full tcp connexion (SYN, FIN etc ...). So if you want to be more acurate we can say Syn scanning or better Half open scanning. If you have ever read this: http://www.phrack.org/show.php?p=51&a=11 you surely know that SYN scanning or half open scanning is also called syn *stealth* scanning. Do you mean Phrack is a script-kiddie hacking page ? :) Regards, -- /* truff * http://www.projet7.org (Security Researchs) * gpg: http://www.projet7.org/gpgkeys/truff.asc */ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Fri Oct 8 13:45:22 2004 From: victor at ambra.ro (victor) Date: Fri, 08 Oct 2004 14:45:22 +0300 Subject: Many ip's in one host Message-ID: <41667DD2.5040203@ambra.ro> Can I define many ip's in one host? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Fri Oct 8 13:58:45 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Oct 2004 13:58:45 +0200 Subject: three-way TCP In-Reply-To: <20041008112733.A6B616BCBE@smtp-gw1.op5.se> References: <20041008112733.A6B616BCBE@smtp-gw1.op5.se> Message-ID: <416680F5.1020205@op5.se> S?bastien Cantos wrote: >>S?bastien Cantos wrote: >> >>>Hi, >>> >>>You can check if a service (tcp port) is responding just by >> >>completing 2 >> >>>parts of the 3 way handshake. >>> >>>1/ Client send a Syn to the server >>>2/ Server respond with a Syn/Ack >>> >> >>This is quite obviously not the case with the nagios plugins, for a >>number of reasons. > > > > I'm agree that Nagios is a monitoring tool and that it can do full TCP > connexions to check the availability of a service. > I think that you have not seen my answer in the right context. I was just > trying to find out why he was asking this question. > I'm glad that you agree. > > > > > I don't understand why you waste your time with the next comments ... Maybe > you feel the need to demonstrate your knowown ... Do you feel frustated ? :) > > > So I'll also waste some of my time to comment your comments : > > >>1. It generally causes some distress for the targeted servers >>(handles >>left open pending timeout), which Nagios checks wouldn't do. > > > Right, but as you're just sending one Syn every check period (5 mn for > example), the SYN_RECV state will timeout on the server. We are not dealing > here with Synflood attacks. > Enter the case of a failed service/host check. Host-checks are executed in serial, so a host with a max check attempt of 10 would leave 10 sockets waiting with all sorts of resources clanged down. > > >>2. SYN scanning requires access to raw sockets, which isn't >>permitted to >>regular users on any unix system I'm aware of. The plugins >>doesn't run >>as root, so they wouldn't be able to obtain a raw socket (also, raw >>sockets are very much more difficult to handle programmatically and >>since they're not needed, it's just plain dumb to use them). >>There are >>exceptions ofcourse (check_icmp and check_dhcp for instance, for >>protocol reasons) but the source is freely available so you >>can easily >>vet the relevant plugins. > > > You said it! there are exeptions. For programs that require access to raw sockets because of the protocol involved in doing the checking. TCP checking does not. ICMP, however, does. > What about if you have to check a service > which is behind some firewall which doesn't allow full TCP connexion > establishment ? Just to demonstrate that it could be usefull. > If you have firewalls that let everything but RST through, you've either been swindled by your dealer, or you're completely incompetent and should be flogged with ethernet cables. Simple as that. > > >>3. Checks are written to mimic client behaviour. Proper >>clients don't go >>out of their way to stir up mischief. Unproper ones might, but the >>checks aren't designed to be pen-testing apps, but rather tests of >>proper standards-compliant functionality. > > > Sometimes you cannot be in the *real* client side to do the checks, so you > have to adapt the checks. > True, but I can't think of any one single occasion where that would include not completing the three way handshake. > > >>>This is called *stealh* scanning. >>> >> >>No, it's called SYN scanning. Probing with FIN, FIN(URG|PUSH) >>and empty >>(NULL) packets is called stealth scanning (although lots of >>tools have >>been developed to detect those too since nmap became a fairly >>standard >>tool). Try to read more than one script-kiddie hacking page >>every once >>in a while. If nothing else, it should keep you occupied with >>something >>legal. > > > Stealth scanning is used for every scan method that doesn't acomplish full > tcp connexion (SYN, FIN etc ...). So if you want to be more acurate we can > say Syn scanning or better Half open scanning. A connection initiation attempt is not stealth. Most servers log the failure to complete an initiated three way handshake, while most also skip logging of FIN and empty packets. > If you have ever read this: http://www.phrack.org/show.php?p=51&a=11 you > surely know that SYN scanning or half open scanning is also called syn > *stealth* scanning. > Do you mean Phrack is a script-kiddie hacking page ? :) > Yes. It was a long time since anything was published there that's not a clean rip-off from bugtraq or equivalent. Read the linenoise and you'll know what I mean. I'm sure you'll find your name there somewhere. > > > Regards, > -- > /* truff > * http://www.projet7.org (Security Researchs) > * gpg: http://www.projet7.org/gpgkeys/truff.asc > */ > > I'm sure your mother acted properly impressed by the awesome C skills required to put a comment in your .sig. I'm equally sure we don't need another l337 web-page containing nothing but papers and code written by others. Cheers, wee one. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MOORET10 at odjfs.state.oh.us Fri Oct 8 14:02:11 2004 From: MOORET10 at odjfs.state.oh.us (TIM MOORE) Date: Fri, 08 Oct 2004 08:02:11 -0400 Subject: Distributed nagios problem - service definition not found! Message-ID: Thanks for your help Jan. I added the hosts to the central server with checks_enabled set to 0. Then I added the two hosts to a service and set passive_checks enabled and active_checks disabled (maybe I don't need both set). And it worked. It added both devices and they are now showing green from the data received by the external command file. I used "Check Host Alive" as the service description to match the service description on the distributed server. Thanks for the help. I will now try to add some hosts through a firewall and we will see if there are any other complications. -------------------------------------- Tim Moore DNS/Linux/Cisco Admin ODJFS >>> "Jan Scholten" 10/7/2004 5:15:06 PM >>> As far as i know every host and every Service needs to be in the central hosts.cfg/Services.cfg (even those, that are not actively checked), so they are displayed. So you need the "Check Host Alive" (which is in the default config named PING) to be configured for acdmz-inside-sw2. Passive checks must be enabled for this servicecheck active checks should be disabled: active_checks_enabled 0 passive_checks_enabled 1 You can easyliey see what is missing: > EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;acdmz-inside-sw2;Check > Host Alive;0;PING OK - Packet loss = 0%, RTA = 0.83 ms > Oct 6 15:02:44 noc-mon nagios: Warning: Message queue contained > results for service 'Check Host Alive' on host 'acdmz-inside-sw2'. The > service could not be found! You need the service "Check Host Alive" defined for Host "acdmz-inside-sw2" which does noit seem to work Have you tried using Service Desriptions without Blanks? --> Change to Check_Host_Alive ? YOU NEED TO DEFINE ALL HOSTS on the Central Server as well (you use check_dummy 0 as Host check or set check_poeriod to none) Jan > Jan, > Here are the lines from the services.cfg of the distributed server: > define service { > host_name localhost > service_description cpu > check_command check_local_load!3!5 > use generic-service > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > check_period 24x7 > notifications_enabled 0 > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > contact_groups admins > } > define service { > hostgroup_name ACDMZ_Switches,ACDMZ_Firewalls > service_description Check Host Alive > check_command check-host-alive > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > check_period 24x7 > notification_interval 0 > notification_period 24x7 > notification_options w,u,c,r > notifications_enabled 1 > contact_groups noc > } > My check_command is check-host-alive and not ping. Funny thing is that > when the localhost cpu sends its checks, it seems to work. Although, I > still don't know what to look for on the central server. Should I see > some new hosts being added or does it only alarm when it fails? Do I > also have to add the hosts to the central server? I only have the hosts > in the ACDMZ_Switches defined on the distributed server. Just curious > how we get notified of problems from the distributed server. I have a > couple devices that I cannot reach via ping (check-host-alive) and they > still never show as down on the central server gui. > Thanks for the help. > -------------------------------------- > Tim Moore > DNS/Linux/Cisco Admin > ODJFS > >>>> "Jan Scholten" 10/6/2004 4:51:05 PM >>> > > Can you supply the relevant part of services.cfg? > > It seems you have a misconfiguration. Are you sure the service is Check > Host Alive and not PING (like default)? > I don't know whether Nagios likes a servie_name with a blank, so try it > without! > So the return value ServiceName("Check Host Alive" in your case) must be > the same as your service_description in the services.cfg for that host. > > > Jan > >> I just recently setup distributed nagios. I followed the directions >> very closely. I first had a problem running the nsca daemon through >> xinetd. It just wouldn't listen for incoming on 5667. I added the line >> to /etc/services also. Here is my config: >> service nsca >> { >> flags = REUSE >> socket_type = stream >> wait = no >> user = nagios >> group = nagios >> server = /usr/local/nagios/bin/nsca >> server_args = -c /usr/local/nagios/etc/nsca.cfg >> log_on_failure += USERID >> disable = no >> only_from = 10.12.225.50 >> } >> >> If I run it from command line in daemon mode it works fine. >> My main problem, is that when passive checks are sent to the central >> server I keep getting this error: >> Oct 6 15:02:28 noc-mon nsca[31620]: Connection from 10.12.225.50 port >> 38784 >> Oct 6 15:02:28 noc-mon nsca[31620]: Host address checks out ok >> Oct 6 15:02:28 noc-mon nsca[31620]: Handling the connection... >> Oct 6 15:02:29 noc-mon nsca[31620]: SERVICE CHECK -> Host Name: >> 'localhost', Service Description: 'cpu', Return Code: '0', Output: 'OK - >> load average: 0.00, 0.00, 0.00' >> Oct 6 15:02:29 noc-mon nsca[31620]: End of connection... >> Oct 6 15:02:30 noc-mon nagios: EXTERNAL COMMAND: >> PROCESS_SERVICE_CHECK_RESULT;localhost;cpu;0;OK - load average: 0.00, >> 0.00, 0.00 >> Oct 6 15:02:39 noc-mon nsca[31817]: Connection from 10.12.225.50 port >> 39040 >> Oct 6 15:02:39 noc-mon nsca[31817]: Host address checks out ok >> Oct 6 15:02:39 noc-mon nsca[31817]: Handling the connection... >> Oct 6 15:02:40 noc-mon nsca[31817]: SERVICE CHECK -> Host Name: >> 'acdmz-inside-sw2', Service Description: 'Check Host Alive', Return >> Code: '0', Output: 'PING OK - Packet loss = 0%, RTA = 0.83 ms' >> Oct 6 15:02:40 noc-mon nsca[31817]: End of connection... >> Oct 6 15:02:40 noc-mon nagios: EXTERNAL COMMAND: >> PROCESS_SERVICE_CHECK_RESULT;acdmz-inside-sw2;Check Host Alive;0;PING OK >> - Packet loss = 0%, RTA = 0.83 ms >> Oct 6 15:02:44 noc-mon nagios: Warning: Message queue contained >> results for service 'Check Host Alive' on host 'acdmz-inside-sw2'. The >> service could not be found! >> >> The localhost check acts like it works, but the simple check-host-alive >> service definition is not. I know that that service definition is on >> both servers. They are both running v1.2. Also, should I see something >> on my central server's web gui showing these hosts down? My host count >> has not been affected at all by the hosts added to the distributed >> server. Am I missing something? Is there something wrong with the >> default check-host-alive service check? >> Thanks for any help, >> -------------------------------------- >> Tim Moore >> DNS/Linux/Cisco Admin >> ODJFS >> > > > -- Jan Scholten Research and Development Intern Iconz.co.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Oct 8 14:54:24 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 08 Oct 2004 14:54:24 +0200 Subject: Many ip's in one host In-Reply-To: <41667DD2.5040203@ambra.ro> References: <41667DD2.5040203@ambra.ro> Message-ID: <41668E00.1080506@op5.se> victor wrote: > Can I define many ip's in one host? > No. It's a one-to-one relation. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tinzauro at ha-solutions.net Fri Oct 8 14:54:38 2004 From: tinzauro at ha-solutions.net (Terry Inzauro) Date: Fri, 08 Oct 2004 07:54:38 -0500 Subject: check_nrpe solaris woes In-Reply-To: References: <4162B2A1.9050400@ha-solutions.net> Message-ID: <41668E0E.5070701@ha-solutions.net> thank you to all who replied. The issue was: I "thought" I had copied the necesary plugins to the client machine. After a few sware word and throwing of mice across the room, I found that I was missing the 2 plugins that I was testing. So, to all: Please check file availability, corectness and excution bits, chances are us dumb users missed something. _Terry Jan Scholten wrote: > Longtime user? > > Maybe NRPE Server and Plugin are different Versions? It will not work > with a 1.X Server and a 2.0 check_nrpe or vice versa. > > Jan > >> List folks, >> >> Ok, I've been a long time user of nagios and love it. Recently I >> have added a new Solaris 9 box to the mix and wanted to utilize the >> nrpe goodies to monitor disk/procs/messages and such but ran into a >> huge roadblock. All libs are present, the nrpe daemon fires up ok, >> config looks good(the same a other working linux/bsd clients except >> for the actual params) >> >> What I get from the chck_nrpe -H hostname -c check_disk >> NRPE: Unable to read output >> >> I thought it was firewall related so I moved it to the same local >> subnet. No luck. I thought it was config issues, so I hacked away >> with new values. No luck >> I thought it was compile issues, so I recompiled with any feasable >> options(no ssl just to be complete). No luck. >> >> >> There are no messages logged to syslog(even with debug enabled...go >> figure). All plugins called to be exacuted on the remote host work >> fine on the nagios host(both are solaris 9 sparc) check_nrpe works >> fine on all other Intel hosts fine. >> >> Any thoughts or words of wisdom? >> >> >> _Terry >> >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >> Use IT products in your business? Tell us what you think of them. Give us >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find >> out more >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> >> > > > -- Terry Inzauro Principal Consultant HA Solutions 4923 South 24th Street Suite 210 Omaha, NE 68107 402.884.7967 (phone) 402.212.1450 (mobile) 888.884.7967 (toll free) 402.884.7970 (fax) http://ha-solutions.net ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scantos at technodiva.com Fri Oct 8 15:05:18 2004 From: scantos at technodiva.com (Sébastien Cantos) Date: Fri, 8 Oct 2004 15:05:18 +0200 Subject: three-way TCP In-Reply-To: <416680F5.1020205@op5.se> References: <416680F5.1020205@op5.se> Message-ID: Some final words just because I don't want to feed the troll. > Yes. It was a long time since anything was published there > that's not a > clean rip-off from bugtraq or equivalent. Read the linenoise and > you'll know what I mean. I'm sure you'll find your name there > somewhere. Very funny, take a look at issue #61: it says: 10 Infecting Loadable Kernel Modules (.txt) truff Far from being in the Linenoise and far from being ripped in this bad mailing list called bugtraq. > > * http://www.projet7.org (Security Researchs) > I'm sure your mother acted properly impressed by the awesome C skills > required to put a comment in your .sig. I'm equally sure we > don't need > another l337 web-page containing nothing but papers and code > written by > others. If you take a look at it (releases) you will see that most of the code and papers are mine. The END. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Oct 8 15:07:04 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 8 Oct 2004 08:07:04 -0500 (CDT) Subject: Fixing Nagios' email alerts In-Reply-To: <20041008075548.GS5754@usc.edu> References: <20041008075548.GS5754@usc.edu> Message-ID: <65163.63.227.74.41.1097240846.squirrel@63.227.74.41> > This is a repost, but is there a way to make Nagios set a "Subject" and a > "To" > field in it's email alerts? Incredible lack of details there, like the operating system you're running. However, I'm going to assume you're on a commercial UNIX, and recommend you take a look at 'mailx' instead of 'mail' in your *notify-by-email commands (misccommands.cfg). Benny -- "Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes." -- .sig on Slashdot ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Oct 8 15:22:26 2004 From: gmueller at netways.de (=?iso-8859-1?Q?Gerd_M=FCller?=) Date: Fri, 8 Oct 2004 15:22:26 +0200 Subject: Many ip's in one host Message-ID: <1097241746.3953.2.camel@localhost> Am Fr, den 08.10.2004 schrieb Andreas Ericsson um 14:54: > victor wrote: > > Can I define many ip's in one host? > > > > No. It's a one-to-one relation. But you can check as many interfaces/ips as service as you like /Gerd -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: From boinger at tradingtechnologies.com Fri Oct 8 16:21:05 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 08 Oct 2004 09:21:05 -0500 Subject: Fixing Nagios' email alerts In-Reply-To: <20041008112023.GT5754@usc.edu> References: <20041008112023.GT5754@usc.edu> Message-ID: <1097245265.24601.136.camel@localhost> On Fri, 2004-10-08 at 06:20 -0500, Phil Dibowitz wrote: > > If the To field isn't set, you wouldn't get any notifications. > > Read the manpage for your system's mail command and check your syntax > of > > the notification command. > You're thinking envelope headers, I'm thinking message headers. What? The "To" field works the same regardless the message being electronic or dead-tree. If it's not *to* anyone, how would it possibly be delivered? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Fri Oct 8 17:13:55 2004 From: victor at ambra.ro (victor) Date: Fri, 08 Oct 2004 18:13:55 +0300 Subject: Many ip's in one host In-Reply-To: <1097241746.3953.2.camel@localhost> References: <1097241746.3953.2.camel@localhost> Message-ID: <4166AEB3.109@ambra.ro> How? Can you give me an example? I see that at service definition I can't specify a ip address(ip addresses are only at hosts). You mean to define many services on a host? But how I define a service that pings to a diffrent ip that the ip of the host? Gerd M?ller wrote: >Am Fr, den 08.10.2004 schrieb Andreas Ericsson um 14:54: > > >>victor wrote: >> >> >>>Can I define many ip's in one host? >>> >>> >>> >>No. It's a one-to-one relation. >> >> > >But you can check as many interfaces/ips as service as you like > >/Gerd > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rnelson at windchannel.com Fri Oct 8 17:19:59 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Fri, 8 Oct 2004 11:19:59 -0400 Subject: three-way TCP Message-ID: > Enter the case of a failed service/host check. Host-checks > are executed > in serial, so a host with a max check attempt of 10 would leave 10 > sockets waiting with all sorts of resources clanged down. If it fails to respond with a syn/ack packet, then I don't think any resources are available. In any case, unlikely to impact it. > If you have firewalls that let everything but RST through, > you've either > been swindled by your dealer, or you're completely incompetent and > should be flogged with ethernet cables. Simple as that. For a loooooong time, Checkpoint-1 had problems like that. Specifically, if you sent a packet with a fragment ID higher than 1, it assumed that fragment 1 had already traversed the ruleset and let it go through. You could also fill its log, and some things would break after that. Probably not as useful in normal testing, but it's unlikely that anyone working on Nagios should be flogged for the purchase of such a product from a highly respected company who provides useful products! > >>3. Checks are written to mimic client behaviour. Proper > >>clients don't go > >>out of their way to stir up mischief. Unproper ones might, but the > >>checks aren't designed to be pen-testing apps, but rather tests of > >>proper standards-compliant functionality. > > > > > > Sometimes you cannot be in the *real* client side to do the > checks, so you > > have to adapt the checks. > > > > True, but I can't think of any one single occasion where that would > include not completing the three way handshake. The material he was responding to simply said that plugins should all be "safe", i.e. not have the potential to cause problems. However, there are times you may have to run plugins that can cause damage. HP Jetdirects are fragile, even with the safe plugins, after all :) It might be better to say that the nagios-plugins package provides checks of standards-compliant functionality. Saying that no check plugin should test in a non-standards compliant manner is overstepping the bounds a bit. > Yes. It was a long time since anything was published there > that's not a > clean rip-off from bugtraq or equivalent. Read the linenoise and > you'll know what I mean. I'm sure you'll find your name there > somewhere. And as we all know, no-one ever made progress by looking at what others did and collecting it one place, right? Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmueller at netways.de Fri Oct 8 17:26:32 2004 From: gmueller at netways.de (=?iso-8859-15?Q?Gerd_M=FCller?=) Date: Fri, 8 Oct 2004 17:26:32 +0200 Subject: Many ip's in one host Message-ID: <1097249192.3740.5.camel@localhost> Am Fr, den 08.10.2004 schrieb victor um 17:13: > How? > Can you give me an example? > I see that at service definition I can't specify a ip address(ip > addresses are only at hosts). > > You mean to define many services on a host? > But how I define a service that pings to a diffrent ip that the ip of > the host? It's not so hard. Just configure a new check_ip_ping based on the check_ping command like that: define command { command_name check_ip_ping command_line $USER1$/check_ping $ARG1$ 40 70 100.0 300.0 -p 5 } and than on the host's services define a service per each ip: define service { use generic-service host_name multi-homed service_description ping eth0 check_command check_ip_ping!192.168.1.1 } /Gerd --------------- Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: From jhmartin at toger.us Fri Oct 8 17:52:32 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 8 Oct 2004 08:52:32 -0700 Subject: three-way TCP In-Reply-To: References: Message-ID: <20041008155231.GL31458@zippy.toger.us> On Fri, Oct 08, 2004 at 11:19:59AM -0400, Robert Nelson wrote: > It might be better to say that the nagios-plugins package provides > checks of standards-compliant functionality. Saying that no check plugin > should test in a non-standards compliant manner is overstepping the > bounds a bit. Plugins in general should be well-behaved unless there is a specific necessary reason to misbehave. The monitoring system should have as minimal impact as possible. -Jason Martin -- OPERATOR! Trace this call and tell me where I am. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From training24_7 at yahoo.com Fri Oct 8 18:41:32 2004 From: training24_7 at yahoo.com (Charles V. Boehnlein) Date: Fri, 8 Oct 2004 09:41:32 -0700 (PDT) Subject: Error 127 troubles In-Reply-To: <20041007144457.GF31458@zippy.toger.us> References: <20041007144457.GF31458@zippy.toger.us> Message-ID: <20041008164132.75313.qmail@web40003.mail.yahoo.com> I am still having problems with Nagios. It looks like everything is setup OK but the service check fails for the check_ping plugin. I can manually run the check_ping and the host-a-live with good return data. Nagios can't run it for some reason. Please take a look at my setup and let me know if anything sticks out of being wrong. I have searched the archives and google with no solution yet. I must be missing something. Thanks in advance, Charles ============================= Nagios 1.2 Mandrake 10 >From nagios.log [1097252224] Warning: Return code of 127 for check of service 'PING' on host 'N-PINEVIEW-2924' was out of bounds. Make sure the plugin you're trying to run actually exists. I can manually run the check_ping or host-a-live with good return data. The owner and group of the CFG files is nagios >From services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name N-GSB-DMZPIX service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups linux-admins notification_interval 30 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } >From command.cfg command[check_ping]=/usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100% >From checkcommands.cfg # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } [root at NAFCS etc]# ls -lga total 228 drwxrwxr-x 3 nagios 4096 Oct 8 12:28 ./ drwxrwxrwx 8 root 4096 Oct 4 16:20 ../ -rw-rw-r-- 1 nagios 17196 Oct 4 16:23 cgi.cfg -rwxrwxrwx 1 nagios 4475 Sep 29 09:50 checkcommands.cfg* -rwxrwxrwx 1 nagios 15874 Oct 4 16:08 command.cfg* -rwxrwxrwx 1 nagios 629 Sep 29 09:50 contactgroups.cfg* -rwxrwxrwx 1 nagios 735 Sep 29 09:50 contacts.cfg* -rwxrwxrwx 1 nagios 115 Sep 29 09:50 dependencies.cfg* -rwxrwxrwx 1 nagios 795 Sep 29 09:50 escalations.cfg* -rwxrwxrwx 1 nagios 1059 Sep 29 09:50 esclations2.cfg* -rwxrwxrwx 1 nagios 7701 Sep 29 09:50 hostgroups.cfg* -rwxrwxrwx 1 nagios 18980 Sep 29 09:50 hosts.cfg* -rw-r--r-- 1 nagios 47 Sep 30 15:40 htpasswd.users -rwxrwxrwx 1 nagios 4234 Sep 29 09:50 misccommands.cfg* -rw-rw-r-- 1 nagios 21327 Sep 30 07:10 nagios.cfg -rwxrwxrwx 1 nagios 14 Oct 4 16:57 passwd* -rwxrwxrwx 1 nagios 3069 Oct 4 16:50 resource.cfg* drwxrwxrwx 2 nagios 4096 Sep 29 09:43 sample/ -rwxrwxrwx 1 nagios 25213 Oct 4 16:26 services.cfg* -rwxrwxrwx 1 nagios 1589 Sep 29 09:50 timeperiods.cfg* -rwxrwxrwx 1 nagios 17358 Sep 29 16:09 Xcgi.cfg* -rwxr-xr-x 1 nagios 20 Oct 4 16:56 xgroup* -rwxrwxrwx 1 nagios 21271 Sep 29 16:12 Xnagios.cfg* [root at NAFCS etc]# [root at NAFCS nagios]# ls -lga total 32 drwxrwxrwx 8 root 4096 Oct 4 16:20 ./ drwxr-xr-x 16 root 4096 Sep 29 16:43 ../ drwxrwxr-x 2 nagios 4096 Oct 4 14:46 bin/ drwxrwxr-x 3 nagios 4096 Oct 8 12:28 etc/ drwxrwxrwx 2 nagios 4096 Oct 4 14:50 libexec/ drwxrwxr-x 2 nagios 4096 Oct 4 14:46 sbin/ drwxrwxr-x 9 nagios 4096 Oct 4 14:46 share/ drwxrwxr-x 4 nagios 4096 Oct 8 12:29 var/ [root at NAFCS nagios]# [root at NAFCS libexec]# ls -lga total 3592 drwxrwxrwx 2 nagios 4096 Oct 4 14:50 ./ drwxrwxrwx 8 root 4096 Oct 4 16:20 ../ -rwxr-xr-x 1 nagios 2267 Oct 4 14:50 check_breeze* -rwxr-xr-x 1 nagios 131537 Oct 4 14:50 check_by_ssh* -rwxr-xr-x 1 nagios 129675 Oct 4 14:50 check_dig* -rwxr-xr-x 1 nagios 176116 Oct 4 14:50 check_disk* -rwxr-xr-x 1 nagios 8049 Oct 4 14:50 check_disk_smb* -rwxr-xr-x 1 nagios 131880 Oct 4 14:50 check_dns* -rwxr-xr-x 1 nagios 72555 Oct 4 14:50 check_dummy* -rwxr-xr-x 1 nagios 3095 Oct 4 14:50 check_file_age* -rwxr-xr-x 1 nagios 6400 Oct 4 14:50 check_flexlm* -rwxr-xr-x 1 nagios 131612 Oct 4 14:50 check_fping* lrwxrwxrwx 1 nagios 9 Oct 4 14:50 check_ftp -> check_tcp* -rwxr-xr-x 1 nagios 129274 Oct 4 14:50 check_hpjd* -rwxr-xr-x 1 nagios 165425 Oct 4 14:50 check_http* -rwxr-xr-x 1 nagios 14847 Oct 4 14:50 check_ifoperstatus* -rwxr-xr-x 1 nagios 12857 Oct 4 14:50 check_ifstatus* lrwxrwxrwx 1 nagios 9 Oct 4 14:50 check_imap -> check_tcp* -rwxr-xr-x 1 nagios 7437 Oct 4 14:50 check_ircd* -rwxr-xr-x 1 nagios 104267 Oct 4 14:50 check_load* -rwxr-xr-x 1 nagios 5823 Oct 4 14:50 check_log* -rwxr-xr-x 1 nagios 20843 Oct 4 14:50 check_mailq* -rwxr-xr-x 1 nagios 82044 Oct 4 14:50 check_mrtg* -rwxr-xr-x 1 nagios 80862 Oct 4 14:50 check_mrtgtraf* -rwxr-xr-x 1 nagios 104014 Oct 4 14:50 check_nagios* lrwxrwxrwx 1 nagios 9 Oct 4 14:50 check_nntp -> check_tcp* -rwxr-xr-x 1 nagios 111268 Oct 4 14:50 check_nt* -rwxr-xr-x 1 nagios 13286 Oct 4 14:50 check_ntp* -rwxr-xr-x 1 nagios 123015 Oct 4 14:50 check_nwstat* -rwxr-xr-x 1 nagios 7637 Oct 4 14:50 check_oracle* -rwxr-xr-x 1 nagios 108481 Oct 4 14:50 check_overcr* -rwxr-xr-x 1 nagios 135857 Oct 4 14:50 check_ping* lrwxrwxrwx 1 nagios 9 Oct 4 14:50 check_pop -> check_tcp* -rwxr-xr-x 1 nagios 114443 Oct 4 14:50 check_procs* -rwxr-xr-x 1 nagios 105321 Oct 4 14:50 check_real* -rwxr-xr-x 1 nagios 9712 Oct 4 14:50 check_rpc* -rwxr-xr-x 1 nagios 1176 Oct 4 14:50 check_sensors* lrwxrwxrwx 1 nagios 9 Oct 4 14:50 check_simap -> check_tcp* -rwxr-xr-x 1 nagios 105146 Oct 4 14:50 check_smtp* -rwxr-xr-x 1 nagios 124017 Oct 4 14:50 check_snmp* lrwxrwxrwx 1 nagios 9 Oct 4 14:50 check_spop -> check_tcp* -rwxr-xr-x 1 nagios 101498 Oct 4 14:50 check_ssh* -rwxr-xr-x 1 nagios 105149 Oct 4 14:50 check_swap* -rwxr-xr-x 1 nagios 145931 Oct 4 14:50 check_tcp* -rwxr-xr-x 1 nagios 104552 Oct 4 14:50 check_time* -rwxr-xr-x 1 nagios 102337 Oct 4 14:50 check_udp* lrwxrwxrwx 1 nagios 9 Oct 4 14:50 check_udp2 -> check_tcp* -rwxr-xr-x 1 nagios 111762 Oct 4 14:50 check_ups* -rwxr-xr-x 1 nagios 101714 Oct 4 14:50 check_users* -rwxr-xr-x 1 nagios 3024 Oct 4 14:50 check_wave* -rwxr-xr-x 1 nagios 101668 Oct 4 14:50 negate* -rwxr-xr-x 1 nagios 99809 Oct 4 14:50 urlize* -rwxr-xr-x 1 nagios 2477 Oct 4 14:50 utils.pm* -rwxr-xr-x 1 nagios 876 Oct 4 14:50 utils.sh* [root at NAFCS libexec]# The Best Computer Upgrades - Check it out! --------------------------------- Do you Yahoo!? vote.yahoo.com - Register online to vote today! -------------- next part -------------- An HTML attachment was scrubbed... URL: From mscandian at freebsdbrasil.com.br Fri Oct 8 18:27:06 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Fri, 8 Oct 2004 13:27:06 -0300 (BRT) Subject: multiple instances In-Reply-To: <6.1.2.0.2.20041007174618.02c6b080@mail.tany.com> References: <6.1.2.0.2.20041007174618.02c6b080@mail.tany.com> Message-ID: <20041008131621.Q1003-100000@cyberdine.freebsdbrasil.com.br> Hi Tim, I thought that i should need many config files, nagios.cfg, and cgi.cfg for each one. I configured, using one nagios.cfg, cgi.cfg and it work fine now. Thank you very much for help me! Thanks for all attention and help of the community. Mario Sergio On Thu, 7 Oct 2004, Tim Palmer wrote: > Hi Mario, > > You're still not getting it. You only need one Nagios, one set of files. > You don't need all these extra companyA/B things. You just need to > 1) Read the documenation more throughly, especially the section I pointed > you to > 2) setup your contacts and contactgroups to reflect the companies. > > One Nagios installation, with one set of config files, does all the > monitoring. What your users see is determined by the user/password they use > to log in. > > At 04:53 PM 10/7/2004, you wrote: > > >Hi Tim, > > > >i do what u tell me. I copied the nagios.cfg and cgi.cfg for the directory > >of the companyA, and companyB. Then, I edited the files, and I put the > >following form: > > > >In /companyA/etc/cgi.cfg: > > > >main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg > > > >physical_html_path=/usr/home/eksffa/public_html/nagios/share > > > >url_html_path=/companyA > > > >authorized_for_configuration_information=companyA > >... > > > >In /companyA/etc/nagios.cfg > > > >log_file=/usr/home/eksffa/public_html/nagios/companyA/var/nagios.log > > > >... > > > >cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg > >cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg > >cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg > >... > > > >status_file=/usr/home/eksffa/public_html/nagios/companyA/var/status.log > > > >nagios_user=nagios > > > >... > > > >the same for the companyB (cgi.cfg and nagios.cfg) modifying only the > >names. > > > >My cgi.cfg and nagios.cfg default is: > > > >cgi.cfg: > > > >main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > > > >physical_html_path=/usr/home/eksffa/public_html/nagios/share > > > >url_html_path=/nagios > > > >use_authentication=1 > > > >authorized_for_system_information=admin > >... > > > >And my nagios.cfg is: > > > >log_file=/usr/home/eksffa/public_html/nagios/var/nagios.log > > > >cfg_file=/usr/home/eksffa/public_html/nagios/etc/contactgroups.cfg > >cfg_file=/usr/home/eksffa/public_html/nagios/etc/contacts.cfg > >cfg_file=/usr/home/eksffa/public_html/nagios/etc/dependencies.cfg > > > >... > > > >comment_file=/usr/home/eksffa/public_html/nagios/var/comment.log > > > >... > > > >In my httpd.conf: > > > > ScriptAlias /nagios/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > > > ScriptAlias /companyA/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > require user mdbrasil > > > > > > ScriptAlias /companyB/cgi-bin/ /usr/home/eksffa/public_html/nagios/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > require user twi > > > > > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > require user mdbrasil > > > > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > > > Options None > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > require user twi > > > > > >Do I need to run the nagios.cfg of the companyA and companyB directory? > >e.g: > >./nagios -d /usr/home/eksffa/public_html/nagios/companyA/etc/nagios.cfg > >and > >./nagios -d /usr/home/eksffa/public_html/nagios/companyB/etc/nagios.cfg > > > >or, only nagios.cfg of the /usr/home/eksffa/public_html/nagios/etc > >directory? > > > >Thanks! > > > >Mario Sergio > > > >On Tue, 5 Oct 2004, Tim Palmer wrote: > > > > > No, you are making this far more complicated than it needs to be. > > > > > > One nagios.cfg, one cgi.cfg, one webspace, one ScriptAlias, one Alias. You > > > don't need all this extra stuff. > > > > > > When a user logs into apache, the account that they use to login will be > > > matched to a contact in your contacts.cfg. What that person will see is > > > determined by which hosts/hostgroups/services use the contactgroup that > > > this contact is a member of. > > > > > > In general, don't put any contacts besides maybe a "superuser" in the > > > cgi.cfg "authorized_for_..." lines. > > > > > > Read - very carefully, as many times as necessary - the section in the docs > > > called "Configuring Authentication for the CGIs". Make sure you understand > > > the "definitions" section near the top. > > > > > > tim > > > > > > At 01:59 PM 10/5/2004, Mario Sergio Candian wrote: > > > > > > >Oks guys, > > > > > > > >i will edit the cgi.cfg, and i will need to define some attributes as > > > >like: > > > > > > > >main_config_file=/usr/home/eksffa/public_html/nagios/etc/nagios.cfg > > > >main_config_file=/usr/home/eksffa/public_html/nagios/companyA/etc/nagio > > s.cfg > > > >main_config_file=/usr/home/eksffa/public_html/nagios/companyB/etc/nagio > > s.cfg > > > > > > > >url_html_path=/nagios > > > >url_html_path=/companyA > > > >url_html_path=/companyB > > > > > > > >authorized_for_system_information=admin,userA,userB > > > > > > > >will i need to copy the etc (with the .cfg files) for other directory > > > >(/companyA/etc) and (/companyB/etc)? Or will i can edit the .cfg files > > > >in the /nagios/etc? > > > > > > > >then, i will define the hosts, hostgroups, services, and i need to create > > > >the aliases scripts: > > > > > > > > ScriptAlias /companyA/cgi-bin/ > > > >/usr/home/eksffa/public_html/nagios/companyA/sbin/ > > > > > > > > AllowOverride AuthConfig > > > > Options ExecCGI > > > > Order allow,deny > > > > Allow from all > > > > > > > > > > > > ScriptAlias /companyB/cgi-bin/ > > > >/usr/home/eksffa/public_html/nagios/CompanyB/sbin/ > > > > > > > > AllowOverride AuthConfig > > > > Options ExecCGI > > > > Order allow,deny > > > > Allow from all > > > > > > > > > > > > Alias /companyA/ /usr/home/eksffa/public_html/nagios/share/ > > > > > > > > Options None > > > > AllowOverride AuthConfig > > > > Order allow,deny > > > > Allow from all > > > > > > > > > > > > Alias /companyB/ /usr/home/eksffa/public_html/nagios/share/ > > > > > > > > Options None > > > > AllowOverride AuthConfig > > > > Order allow,deny > > > > Allow from all > > > > > > > > > > > >Is this correcty? > > > > > > > >Mario Sergio > > > > > > > > > > > > > > > >------------------------------------------------------- > > > >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > > >Use IT products in your business? Tell us what you think of them. Give us > > > >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > > more > > > >http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > >_______________________________________________ > > > >Nagios-users mailing list > > > >Nagios-users at lists.sourceforge.net > > > >https://lists.sourceforge.net/lists/listinfo/nagios-users > > > >::: 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: IT Product Guide on ITManagersJournal > > > Use IT products in your business? Tell us what you think of them. Give us > > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Oct 8 20:31:19 2004 From: benny at bennyvision.com (C. Bensend) Date: Fri, 8 Oct 2004 13:31:19 -0500 (CDT) Subject: Many ip's in one host In-Reply-To: <4166AEB3.109@ambra.ro> References: <1097241746.3953.2.camel@localhost> <4166AEB3.109@ambra.ro> Message-ID: <4740.134.244.169.17.1097260301.squirrel@134.244.169.17> > But how I define a service that pings to a diffrent ip that the ip of > the host? Create a new check_* command that uses check_ping (or check_icmp), that simply uses a $USERx$ macro instead of the $HOSTADDRESS$ macro in the generic check_ping. Then, pass the IP in the actual service definition. Benny -- "Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes." -- .sig on Slashdot ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phil at usc.edu Fri Oct 8 20:47:19 2004 From: phil at usc.edu (Phil Dibowitz) Date: Fri, 8 Oct 2004 11:47:19 -0700 Subject: Fixing Nagios' email alerts In-Reply-To: <65163.63.227.74.41.1097240846.squirrel@63.227.74.41> References: <20041008075548.GS5754@usc.edu> <65163.63.227.74.41.1097240846.squirrel@63.227.74.41> Message-ID: <20041008184719.GZ5754@usc.edu> On Fri, Oct 08, 2004 at 08:07:04AM -0500, C. Bensend wrote: > > > This is a repost, but is there a way to make Nagios set a "Subject" and a > > "To" > > field in it's email alerts? > > Incredible lack of details there, like the operating system you're running. > > However, I'm going to assume you're on a commercial UNIX, and recommend > you take a look at 'mailx' instead of 'mail' in your *notify-by-email > commands (misccommands.cfg). > As soon as I found the misccomands.cfg definition for notify-by-email I saw it was mail and changed it to mailx and that makes things work MUCH better. Yeah, solaris. I don't know why I didn't find that a few weeks ago when I looked -- I guess I grep'd for 'sendmail' or something silly like that. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From phil at usc.edu Fri Oct 8 20:53:33 2004 From: phil at usc.edu (Phil Dibowitz) Date: Fri, 8 Oct 2004 11:53:33 -0700 Subject: Fixing Nagios' email alerts In-Reply-To: <1097245265.24601.136.camel@localhost> References: <20041008112023.GT5754@usc.edu> <1097245265.24601.136.camel@localhost> Message-ID: <20041008185333.GB5754@usc.edu> On Fri, Oct 08, 2004 at 09:21:05AM -0500, jeff vier wrote: > On Fri, 2004-10-08 at 06:20 -0500, Phil Dibowitz wrote: > > > If the To field isn't set, you wouldn't get any notifications. > > > Read the manpage for your system's mail command and check your syntax > > of > > > the notification command. > > You're thinking envelope headers, I'm thinking message headers. > > What? The "To" field works the same regardless the message being > electronic or dead-tree. > > If it's not *to* anyone, how would it possibly be delivered? ::sigh:: > helo metallica.usc.edu > MAIL FROM: phil at usc.edu > RCPT TO: phil at usc.edu > DATA > bla > . 250 2.5.0 OK Which has an envelope TO, but no body TO. WHich gets delievered but shows up as: "To: undisclosed-reciepients" (or similar depending on MTAs it hits) and: telnet your.mail.host 25 > helo metallica.usc.edu > MAIL FROM: phil at usc.edu > RCPT TO: phil at usc.edu > DATA > To: Phil Dibowitz > From: Phil Dibowitz > Subject: This is a test. > > This is some data > . 250 2.5.0 OK Which will have a To field your MUA sees and a subject. mailx takes care of that for you, while mail (on solaris) does not. -- Phil Dibowitz Systems Architect and Administrator Enterprise Infrastructure / ISD / USC UCC 174 - 213-821-5427 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Bill.Barkell at mail.house.gov Fri Oct 8 20:57:22 2004 From: Bill.Barkell at mail.house.gov (Barkell, Bill) Date: Fri, 8 Oct 2004 14:57:22 -0400 Subject: Check_snmp problems Message-ID: <9362C7DD6454114882BF5E53EF88F65D0476A7A8@hrm24.houseexchange.us.house.gov> I was unable to find a solution to this problem from a search of the list. When using check_snmp to check cpu usage on a host, I get warnings even when the retrieved value falls within an acceptable range. Assuming that my syntax was wrong, I tried multiple variations, but the result is the same. Does anyone have a solution to this problem? Here is the session: Note the different values and syntax for the -w (warning) and -c (critical) inputs. monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c 90: -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP CRITICAL - *1* monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP WARNING - *1* monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w :100 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 2 SNMP WARNING - 2 monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 100:0 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP WARNING - *1* monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 0:100 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 2 SNMP WARNING - 2 monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 0:70 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP WARNING - 1 Bill Barkell Bill Barkell -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lane.Williams at jhuapl.edu Fri Oct 8 22:01:37 2004 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Fri, 8 Oct 2004 16:01:37 -0400 Subject: options in nagios.cfg vise a template directive Message-ID: I have nagios setup with flap detection enable and process performance data enable via the nagios.cfg file. When I turn these options off via a template, the template directives are ignored. Should I not enable these in nagios.cfg and enable them in the template? Or if I do not enable them in nagios.cfg will thay work at all? Thanks for any help, Lane -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bill.Barkell at mail.house.gov Fri Oct 8 17:05:48 2004 From: Bill.Barkell at mail.house.gov (Barkell, Bill) Date: Fri, 8 Oct 2004 11:05:48 -0400 Subject: Snmp warnings when retrieved value is outside the warning range Message-ID: <9362C7DD6454114882BF5E53EF88F65D0476A7A6@hrm24.houseexchange.us.house.gov> I was unable to find a solution to this problem from a search of the list. When using check_snmp to check cpu usage on a host, I get warnings even when the retrieved value falls within an acceptable range. Assuming that my syntax was wrong, I tried multiple variations, but the result is the same. Does anyone have a solution to this problem? Here is the session: Note the different values and syntax for the -w (warning) and -c (critical) inputs. monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c 90: -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP CRITICAL - *1* monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP WARNING - *1* monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w :100 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 2 SNMP WARNING - 2 monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 100:0 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP WARNING - *1* monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 0:100 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 2 SNMP WARNING - 2 monitor-server# ./check_snmp -v -H 192.168.123.156 -o .1.3.6.1.2.1.25.3.3.1.2.1 -w 0:70 -c :90 -C public /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156:161 .1.3.6.1.2.1.25.3.3.1.2.1 HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 SNMP WARNING - 1 Bill Barkell -------------- next part -------------- An HTML attachment was scrubbed... URL: From Stefan.Giesen at firstgate.de Fri Oct 8 18:19:16 2004 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Fri, 08 Oct 2004 18:19:16 +0200 Subject: Many ip's in one host In-Reply-To: <1097249192.3740.5.camel@localhost> References: <1097249192.3740.5.camel@localhost> Message-ID: <1097252354.17277.51.camel@giesen-lx.firstgate.local> Am Fr, den 08.10.2004 schrieb Gerd M?ller um 17:26: > Am Fr, den 08.10.2004 schrieb victor um 17:13: > > How? > > Can you give me an example? > > I see that at service definition I can't specify a ip address(ip > > addresses are only at hosts). > [...] > and than on the host's services define a service per each ip: > > define service { > use generic-service > host_name multi-homed > service_description ping eth0 > check_command check_ip_ping!192.168.1.1 > } There is an elegant alternative for this, assuming you've the following (common) setup: 1. Two interfaces for the host in different networks (e.g. 10.10.10.10 and 10.20.20.10) 2. One dummy interface (to which the DNS entry points and which is e.g. announced via RIP, as in "myhost.mynet.local IN A 192.168.0.10"). Then you can modify your "normal" check commands to use the $HOSTNAME$ instead the $HOSTADDRESS$, e.g.: # 'check_telnet' command definition define command{ command_name check_telnet command_line /usr/lib/nagios/plugins/check_tcp -H $HOSTNAME$ -p 23 } Then you set the HOSTADDRESS entry for this host to both IP addresses, seperated by spaces or commas (depends on how your check command works, see below), a sample host entry would look like this: define host{ use linux-host ; template to use check_command check-host-multiple-alive host_name myhost.mynet.local address 10.1.1.10,10.2.2.10 alias My Server } The corresponding check command should look like this: # 'check-host-multiple-alive' command definition define command{ command_name check-host-multiple-alive command_line /path/to/my/own/new/check_mping $HOSTADDRESS$ } "check_mping" has to be a script/programm which is able to ping multiple IP adresses and give the corresponding return values for nagios (maybe a wrapper script for the standard "ping" command which should issue a WARNING if one of the interfaces goes down and an ERROR if both aren't reachable). The biggest advantage which this solution is that you can have other checks which also use both IP addresses as well as checks for the virtual host adddress which can be reached over both interfaces (e.g. the webserver running on that machine). Beside that you don't have thousands of service checks just for the second IP address on every host, so your monitoring pages are still compact. And not to forget that your monitoring is much better tunable regarding notifications if just one interface goes down (maybe you don't want to be waked up in the night because of just one interface failing - while the server itself ist still up, running and reachable via the other one). If you've an extra service for each IP address, you've to use check_cluster or similar to get the same flexibility. Regards, Stefan Giesen -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE Internet AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Sat Oct 9 12:00:33 2004 From: jhein at netways.de (Julian Hein) Date: Sat, 9 Oct 2004 12:00:33 +0200 (CEST) Subject: Check_snmp problems In-Reply-To: <9362C7DD6454114882BF5E53EF88F65D0476A7A8@hrm24.houseexchange.us.house.gov> References: <9362C7DD6454114882BF5E53EF88F65D0476A7A8@hrm24.houseexchange.us.house.gov> Message-ID: <20041009100033.BA7894F40E8@desire.netways.de> Hi Bill, > I was unable to find a solution to this problem from a search of the list. > > When using check_snmp to check cpu usage on a host, I get warnings even when > the retrieved value falls within an acceptable range. Assuming that my > syntax was wrong, I tried multiple variations, but the result is the same. > > Does anyone have a solution to this problem? > > monitor-server# ./check_snmp -v -H 192.168.123.156 -o > .1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c 90: -C public > /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156: 161 > .1.3.6.1.2.1.25.3.3.1.2.1 > HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 > SNMP CRITICAL - *1* This is a flaw with check_snmp and MIBs with incorrect syntax. If you use OIDs, you could just disable MIB parsing with "-m :". It is also documented in the Nagios FAQ: http://www.nagios.org/faqs/viewfaq .php?faq_id=208 Julian ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shivani.vaid at rediffmail.com Sat Oct 9 15:20:57 2004 From: shivani.vaid at rediffmail.com (Shivani Vaid) Date: 9 Oct 2004 13:20:57 -0000 Subject: Help Urgent Message-ID: <20041009132057.22642.qmail@webmail29.rediffmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ? >Hi, >I need an urgent help , please respond to this or hssworld mail Id. > >I have written my own plugin in nagios, it uses ACE to connect to peer ACE program and returns the metric status of some info. I have linked this with default plugin files with which every plugin compiles i.e. netutils.h/c, utils.h/c, common.h and popen.c/h. > >This plugin works fine when run from commandline. >./check_meas -H 192.168.206.15 -w 2500,2500,2500,2500 -c 5000,5000,5000,5000 >MEAS OK - SMS_RCDV=1 SMS_SENT=2 SMS_BUFRD=3 SMS_RETXD=5 > >But when I give this command in the checkcommands.cfg to be exected by Nagios web interface. It shows in the service status as STATE as OK but Status information as (No output!). I am not able to make out this. > > >I have done hundreds of perms and combs. > >Please help. > >regards >Shivani Vaid From shivani.vaid at rediffmail.com Sat Oct 9 15:22:14 2004 From: shivani.vaid at rediffmail.com (Shivani Vaid) Date: 9 Oct 2004 13:22:14 -0000 Subject: Please Help: Urgent Message-ID: <20041009132214.15277.qmail@webmail32.rediffmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ?Hi, >I need an urgent help , please respond to this or hssworld mail Id. > >I have written my own plugin in nagios, it uses ACE to connect to peer ACE program and returns the metric status of some info. I have linked this with default plugin files with which every plugin compiles i.e. netutils.h/c, utils.h/c, common.h and popen.c/h. > >This plugin works fine when run from commandline. >./check_meas -H 192.168.206.15 -w 2500,2500,2500,2500 -c 5000,5000,5000,5000 >MEAS OK - SMS_RCDV=1 SMS_SENT=2 SMS_BUFRD=3 SMS_RETXD=5 > >But when I give this command in the checkcommands.cfg to be exected by Nagios web interface. It shows in the service status as STATE as OK but Status information as (No output!). I am not able to make out this. > > >I have done hundreds of perms and combs. > >Please help. > >regards >Shivani Vaid From gmueller at netways.de Sat Oct 9 16:08:25 2004 From: gmueller at netways.de (=?iso-8859-15?Q?Gerd_M=FCller?=) Date: Sat, 9 Oct 2004 16:08:25 +0200 Subject: Please Help: Urgent Message-ID: <1097330905.3700.0.camel@localhost> Hi, does it run from commandline under user "nagios"? Gerd Am Sa, den 09.10.2004 schrieb Shivani Vaid um 15:22: > Hi, > >I need an urgent help , please respond to this or hssworld mail Id. > > > >I have written my own plugin in nagios, it uses ACE to connect to peer ACE program and returns the metric status of some info. I have linked this with default plugin files with which every plugin compiles i.e. netutils.h/c, utils.h/c, common.h and popen.c/h. > > > >This plugin works fine when run from commandline. > >./check_meas -H 192.168.206.15 -w 2500,2500,2500,2500 -c 5000,5000,5000,5000 > >MEAS OK - SMS_RCDV=1 SMS_SENT=2 SMS_BUFRD=3 SMS_RETXD=5 > > > >But when I give this command in the checkcommands.cfg to be exected by Nagios web interface. It shows in the service status as STATE as OK but Status information as (No output!). I am not able to make out this. > > > > > >I have done hundreds of perms and combs. > > > >Please help. > > > >regards > >Shivani Vaid Mit freundlichen Gr??en aus N?rnberg, Gerd M?ller -- Gerd M?ller NETWAYS GmbH Senior Systems Engineer Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-33 gmueller at netways.de http://www.netways.de -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Dies ist ein digital signierter Nachrichtenteil URL: From Bill.Barkell at mail.house.gov Sat Oct 9 16:14:20 2004 From: Bill.Barkell at mail.house.gov (Barkell, Bill) Date: Sat, 9 Oct 2004 10:14:20 -0400 Subject: Check_snmp problems Message-ID: <9362C7DD6454114882BF5E53EF88F65D0476A7AA@hrm24.houseexchange.us.house.gov> Thanks Julian, I'll give it a try. Bill -------------------------- Sent from my BlackBerry Wireless Handheld -----Original Message----- From: nagios-users-admin at lists.sourceforge.net To: Nagios-users at lists.sourceforge.net Sent: Sat Oct 09 06:00:33 2004 Subject: Re: [Nagios-users] Check_snmp problems Hi Bill, > I was unable to find a solution to this problem from a search of the list. > > When using check_snmp to check cpu usage on a host, I get warnings even when > the retrieved value falls within an acceptable range. Assuming that my > syntax was wrong, I tried multiple variations, but the result is the same. > > Does anyone have a solution to this problem? > > monitor-server# ./check_snmp -v -H 192.168.123.156 -o > .1.3.6.1.2.1.25.3.3.1.2.1 -w 100: -c 90: -C public > /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public 192.168.123.156: 161 > .1.3.6.1.2.1.25.3.3.1.2.1 > HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 > SNMP CRITICAL - *1* This is a flaw with check_snmp and MIBs with incorrect syntax. If you use OIDs, you could just disable MIB parsing with "-m :". It is also documented in the Nagios FAQ: http://www.nagios.org/faqs/viewfaq .php?faq_id=208 Julian ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: From pankaj.bafana at rediffmail.com Sun Oct 10 19:28:21 2004 From: pankaj.bafana at rediffmail.com (Pankaj Bafana) Date: 10 Oct 2004 17:28:21 -0000 Subject: Ping alive check thru nagios Message-ID: <20041010172821.28978.qmail@webmail18.rediffmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ? Does nagios requires any plugin to check simple ping host alive. I am new to nagios just got nagios installed with web interface up. It shows "Return code of 127 is out of bounds - plugin may be missing" Pankaj From b00mer at gmx.net Sun Oct 10 20:58:42 2004 From: b00mer at gmx.net (Hendrik B) Date: Sun, 10 Oct 2004 20:58:42 +0200 Subject: Ping alive check thru nagios In-Reply-To: <20041010172821.28978.qmail@webmail18.rediffmail.com> References: <20041010172821.28978.qmail@webmail18.rediffmail.com> Message-ID: <1455964230.20041010205842@gmx.net> Guten Tag Pankaj Bafana, am Sonntag, 10. Oktober 2004 um 19:28 schrieben Sie: PB> ? PB> Does nagios requires any plugin to check simple ping host alive. PB> I am new to nagios just got nagios installed with web interface up. PB> It shows "Return code of 127 is out of bounds - plugin may be missing" PB> Pankaj Hi and welcome to Nagios, you have to define a check command in your services.cfg and in your checkcommands.cfg. #checkcommands.cfg # 'check_ping' command definition define command{ command_name check_ping command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100% } #services.cfg #'TEST' host definitions define service{ host_name TEST service_description PING is_volatile 0 check_period 24x7 check_command check_ping max_check_attempts 4 notification_interval 3600 notification_period 24x7 obsess_over_service 1 notifications_enabled 1 notification_options r,c normal_check_interval 600 retry_check_interval 1 contact_groups admin } just have a look at the realy good documentation! The checkcommand 'check_ping' fires up a plugin stored in /usr/local/nagios/libexec/check_plugin, the special about this plugins is, that they returns values between -1 and 2 (i think) which stands for UNKNOWN, CRITICAL, WARNING and OK. These Return-Codes are "readable" by the Nagios Process. Hope this helps a little. Best regards, Hendrik ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelvin.wu at gmail.com Mon Oct 11 03:53:40 2004 From: kelvin.wu at gmail.com (Kelvin Wu) Date: Mon, 11 Oct 2004 09:53:40 +0800 Subject: strange log archive name Message-ID: hello, i have a script to scan archived log files to get the status report, and found a strange log name: 899557 Oct 9 23:58 nagios-10-10-2004-00.log 782508 Oct 11 00:00 nagios-10-10-2004-23.log nagios-10-10-2004-23.log should be nagios-10-11-2004-00.log why is like that? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Mon Oct 11 07:41:13 2004 From: g.vickers at qut.edu.au (Greg Vickers) Date: Mon, 11 Oct 2004 15:41:13 +1000 Subject: Who is using Nagios 2.0? Message-ID: <416A1CF9.5020005@qut.edu.au> Hi all, I'm wondering who is using Nagios 2.0 in a production environment? Our Nagios 1.2 installation is chugging pretty badly (well, the web server is anyway, when web information is requested) with 7,500 services (the traversal algorithms, right?) and I am going to split off the ~5000 lab host services onto a separate (and less powerful) server. I understand that Nagios 2.0 has much faster traversal algorithms and so (hopefully) will be just as fast if not faster on the second server. Just wondering how many ppl are using 2.0 (feel free to drop me a direct line rather than replying to the list) and how you've gone with the CVS snapshots? -- Greg Vickers Information Technology Services Queensland University of Technology email: g.vickers at qut.edu.au phone: (07) 3864 9536 CIROS code: 00213J ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelvin.wu at gmail.com Mon Oct 11 08:05:20 2004 From: kelvin.wu at gmail.com (Kelvin Wu) Date: Mon, 11 Oct 2004 14:05:20 +0800 Subject: Who is using Nagios 2.0? In-Reply-To: <416A1CF9.5020005@qut.edu.au> References: <416A1CF9.5020005@qut.edu.au> Message-ID: my experience, i had around 7000 services installed in my nagios 1.2, the web interface is too slow to use. i have spilt one nagios into 5 nagios on one server, each nagios running on his own port with less than 2000 services(each nagios only needs services.cfg etc, libexec and lots of cfg files can be shared, checkcommands.cfg for example). now web interface is very fast. the problem is the status.cgi program, it loads and parses whole services.cfg every time when a click from web interface. when you have huge amount of services defined, parsing of services.cfg will kill the server. so make services.cfg as small as you can to speed up web interface. On Mon, 11 Oct 2004 15:41:13 +1000, Greg Vickers wrote: > Hi all, > > I'm wondering who is using Nagios 2.0 in a production environment? Our > Nagios 1.2 installation is chugging pretty badly (well, the web server > is anyway, when web information is requested) with 7,500 services (the > traversal algorithms, right?) and I am going to split off the ~5000 lab > host services onto a separate (and less powerful) server. > I understand that Nagios 2.0 has much faster traversal algorithms and so > (hopefully) will be just as fast if not faster on the second server. > > Just wondering how many ppl are using 2.0 (feel free to drop me a direct > line rather than replying to the list) and how you've gone with the CVS > snapshots? > > -- > Greg Vickers > Information Technology Services > Queensland University of Technology > > email: g.vickers at qut.edu.au > phone: (07) 3864 9536 > > CIROS code: 00213J > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From victor at ambra.ro Mon Oct 11 10:17:14 2004 From: victor at ambra.ro (victor) Date: Mon, 11 Oct 2004 11:17:14 +0300 Subject: Plugin - No output Message-ID: <416A418A.90801@ambra.ro> [1097482044] HOST ALERT: 1;DOWN;SOFT;1;(No output!) I made a very simple plugin called check_mping. The problem is that it gives me "No output". The plugin owner is nagios, and the rights are 777. Tha checkcommand is like this: define command{ command_name check-host-alive command_line $USER1$/check_mping -H $HOSTADDRESS$ -s 1400 -p 1 } The plugin is made in perl(check_mping): #! /usr/bin/perl -wT use strict; use utils qw(%ERRORS &print_revision &support &usage); my @addresses; my $pachete; my $size; for(0..$#ARGV) { if($ARGV[$_] eq '-H') { @addresses = split(/,/, $ARGV[$_+1]); foreach(@addresses){ print "Unknown Argument incorect: $_" if($_!~m/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/); } } elsif($ARGV[$_] eq '-p') { print "Unknown Argument incorect: $ARGV[$_+1]" if($ARGV[$_+1]!~m/^\d{1,}$/); } elsif($ARGV[$_] eq '-s') { print "Unknown Argument incorect: $ARGV[$_+1]" if($ARGV[$_+1]!~m/^\d{1,}$/); } } if(!$addresses[0]) { print "Adrese insuficiente"; } if(!$pachete) { $pachete = 5; } if(!$size) { $size = 1000; } my $time = time; $time = localtime($time); my $ret = 'CRITICAL'; foreach(@addresses) { if($_!~m/^127/) { my $raspuns = `/bin/ping $_ -s $size -c $pachete -i 0.2 -w 2`; $raspuns=~m/(\d{1,})\% packet loss/; if($1==0) { $ret='OK'; open(LOG, ">>/var/log/mping.log"); print LOG "$time $ret, @ARGV ".$ERRORS{'OK'}."\n"; close(LOG); print "OK\n"; exit $ERRORS{'OK'}; } } } open(LOG, ">>/var/log/mping.log"); print LOG "$time $ret, @ARGV ".$ERRORS{'CRITICAL'}."\n"; close(LOG); print "CRITICAL"; exit $ERRORS{'CRITICAL'}; Thank you. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johan at henes.no Mon Oct 11 10:52:57 2004 From: johan at henes.no (Johan Henes) Date: Mon, 11 Oct 2004 10:52:57 +0200 Subject: Hostgroups in Hostextinfo.cfg Message-ID: <1097484777.3224.4.camel@johans.smartnet.no> Hi ! I have tried to use 'hostgroups' instead of hostname in hostextinfo.cfg without success. My wish is to use the same graphics for each hostgroup (switches etc.) so I don't have to configure more than the hosts.cfg / hostgroups.cfg for a new host. Any way to achieve this ?? - Are there a different approach to this in 2.0 ?? Best regards, Johan ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecasbas at unav.es Mon Oct 11 11:05:57 2004 From: ecasbas at unav.es (Emilio Casbas) Date: Mon, 11 Oct 2004 11:05:57 +0200 Subject: syntax errors verify Message-ID: <416A4CF5.4080201@unav.es> Hi, Before running nagios, Is there a option for verify syntax errors from the services.cfg file? Thanks Emilio C. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wdh at belbone.be Mon Oct 11 11:41:28 2004 From: wdh at belbone.be (Wim) Date: Mon, 11 Oct 2004 11:41:28 +0200 Subject: syntax errors verify In-Reply-To: <416A4CF5.4080201@unav.es> References: <416A4CF5.4080201@unav.es> Message-ID: <416A5548.60704@belbone.be> Hi Emilio, You should try it with the '-v' option: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg Your complete configuration will be checked. Cheers! Wim Emilio Casbas wrote: > Hi, > > Before running nagios, > Is there a option for verify syntax errors from the services.cfg file? > > > Thanks > Emilio C. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cdoblado at pulsartec.com Mon Oct 11 12:02:22 2004 From: cdoblado at pulsartec.com (C.Doblado) Date: Mon, 11 Oct 2004 12:02:22 +0200 Subject: syntax errors verify In-Reply-To: <416A4CF5.4080201@unav.es> References: <416A4CF5.4080201@unav.es> Message-ID: <416A5A2E.2040805@pulsartec.com> Try /etc/init.d/nagios configtest Regards, Cristina Emilio Casbas wrote: > Hi, > > Before running nagios, > Is there a option for verify syntax errors from the services.cfg file? > > > Thanks > Emilio C. > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cshobe at osss.net Mon Oct 11 13:46:30 2004 From: cshobe at osss.net (Casey Allen Shobe) Date: Mon, 11 Oct 2004 11:46:30 +0000 Subject: Nagios statistics access Message-ID: <310A8487-1B7B-11D9-B6A5-000A95CCF9F2@osss.net> The company I'm working for is creating a reporting system where they want to show availability of services based on Nagios data. In the Nagios CGI, I can click "View Availability Report For This Service", and see the percentages I want to use. How can I access these from the command-line where the nagios server is running? Thanks, -- Casey Allen Shobe | http://casey.allen.shobe.info cshobe at osss.net | ICQ: 1494523 | AIM: SomeLinuxGuy -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: text/enriched Size: 504 bytes Desc: not available URL: From Lane.Williams at jhuapl.edu Mon Oct 11 14:28:21 2004 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Mon, 11 Oct 2004 08:28:21 -0400 Subject: Nagios statistics access Message-ID: Here is a perl script that I modified to fit my needs. It dumps the total availability for services for one work week...during working hours.....your site will probably be different. #!/usr/bin/perl use LWP::UserAgent; use Time::Local; use Data::Dumper; use Date::Manip qw (ParseDate DateCalc UnixDate); @work_week = ("monday","tuesday","wednesday","thursday","friday"); @stime = ("07","30",00); @etime = (18,00,00); $username = @ARGV[0]; $password = @ARGV[1]; print "Days Used:"; foreach $nday (@work_week){ @date = &UnixDate("last $nday","\%m \%d \%Y \%A"),"\n"; foreach $date (@date){ ($mon,$day,$year,$tday) = split ' ', $date; $tday .= "service"; #PUT code HERE and push data in hashes for later processing print "$mon-$day-$year, "; use vars qw($local/perl/agent); my $nagios_url = " http://nagios-server/nagios/cgi-bin"; $agent = new LWP::UserAgent(); $agent->agent("Mozilla/6.0"); $agent->timeout(600); #service request happens here........ my $srequest = new HTTP::Request(GET => "$nagios_url/avail.cgi?show_log_entries=&host=all&service=all&timeperiod=cus tom&smon=$mon&sday=$day&syear=$year&shour=$stime[0]&smin=$stime[1]&ssec=0&em on=$mon&eday=$day&eyear=$year&ehour=$etime[0]&emin=$etime[1]&esec=0&assumein itialstates=yes&assumestateretention=yes&initialassumedstate=0&backtrack=10& csvoutput= HTTP/1.1"); $srequest->header('Accept' => 'text/html'); $srequest->authorization_basic($username, $password); my $sresponse = $agent->request($srequest); if (!$sresponse->is_success()) { exit; } (@sresponse) = split '\n' , $sresponse->content(); #pass all service requested data into 5 hashes for each work day of work week foreach $line (@sresponse){ if ($line !~ /^HOST_NAME/){ (@info) = split ',' , $line; @info[0] = map {uc} @info[0]; $info[0] =~ s/"//g; $info[1] =~ s/"//g; push @{$$tday{$info[0]}{$info[1]}},($info[10],($info[19]+$info[28]+$info[37])); } } } }print "\n"; foreach $server (keys %Mondayservice){ foreach $service (keys %{$Mondayservice{$server}}){ push @{$stotal{$server}{$service}},(("@{$Mondayservice{$server}{$service}}[0]"+"@ {$Tuesdayservice{$server}{$service}}[0]"+"@{$Wednesdayservice{$server}{$serv ice}}[0]"+"@{$Thursdayservice{$server}{$service}}[0]"+"@{$Fridayservice{$ser ver}{$service}}[0]")/"5", ("@{$Mondayservice{$server}{$service}}[1]"+"@{$Tuesdayservice{$server}{$serv ice}}[1]"+"@{$Wednesdayservice{$server}{$service}}[1]"+"@{$Thursdayservice{$ server}{$service}}[1]"+"@{$Fridayservice{$server}{$service}}[1]")/"5"); } } foreach $host (sort keys %stotal){ #print "$host,"; foreach $service (sort keys %{$stotal{$host}}){ print "$host,$service,$stotal{$host}{$service}[0],$stotal{$host}{$service}[1]\n"; }print "\n"; } -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Casey Allen Shobe Sent: Monday, October 11, 2004 7:47 AM To: Nagios Subject: [Nagios-users] Nagios statistics access The company I'm working for is creating a reporting system where they want to show availability of services based on Nagios data. In the Nagios CGI, I can click "View Availability Report For This Service", and see the percentages I want to use. How can I access these from the command-line where the nagios server is running? Thanks, -- Casey Allen Shobe | http://casey.allen.shobe.info cshobe at osss.net | ICQ: 1494523 | AIM: SomeLinuxGuy -------------- next part -------------- An HTML attachment was scrubbed... URL: From victor at ambra.ro Mon Oct 11 15:20:47 2004 From: victor at ambra.ro (victor) Date: Mon, 11 Oct 2004 16:20:47 +0300 Subject: Nagios2 hostextinfo - statusmap.cgi - host image Message-ID: <416A88AF.40709@ambra.ro> I can't make the host image to appear in the statusmap(statusmap_image). Statusmap_image is a gd2 image, uncompressed. The coordonates are working. Thank you define hostextinfo{ host_name 171 notes 171 notes_url url action_url url icon_image cutia1.gif icon_image_alt cutia2.gif vrml_image cutia3.gif statusmap_image cutia4.gd2 2d_coords 2718,1384 3d_coords 27.18,13.84,1 } ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pankaj.bafana at rediffmail.com Mon Oct 11 14:07:24 2004 From: pankaj.bafana at rediffmail.com (Pankaj Bafana) Date: 11 Oct 2004 12:07:24 -0000 Subject: Ping alive check thru nagios Message-ID: <20041011120724.18150.qmail@webmail32.rediffmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ? Some how /usr/local/nagios/libexec directory is missing in my installation. What I need to do now reinstall nagios ?? On Mon, 11 Oct 2004 Hendrik B wrote : >Guten Tag Pankaj Bafana, > >am Sonntag, 10. Oktober 2004 um 19:28 schrieben Sie: > >PB> >PB> Does nagios requires any plugin to check simple ping host alive. >PB> I am new to nagios just got nagios installed with web interface up. >PB> It shows "Return code of 127 is out of bounds - plugin may be missing" > >PB> Pankaj > > > > >Hi and welcome to Nagios, > >you have to define a check command in your services.cfg and in your >checkcommands.cfg. > >#checkcommands.cfg ># 'check_ping' command definition >define command{ > command_name check_ping > command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100% > } > >#services.cfg >#'TEST' host definitions >define service{ > host_name TEST > service_description PING > is_volatile 0 > check_period 24x7 > check_command check_ping > max_check_attempts 4 > notification_interval 3600 > notification_period 24x7 > obsess_over_service 1 > notifications_enabled 1 > notification_options r,c > normal_check_interval 600 > retry_check_interval 1 > contact_groups admin > } > >just have a look at the realy good documentation! > >The checkcommand 'check_ping' fires up a plugin stored in >/usr/local/nagios/libexec/check_plugin, the special about this >plugins is, that they returns values between -1 and 2 (i think) which >stands for UNKNOWN, CRITICAL, WARNING and OK. These Return-Codes are >"readable" by the Nagios Process. > >Hope this helps a little. > >Best regards, >Hendrik > From boinger at tradingtechnologies.com Mon Oct 11 16:06:27 2004 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 11 Oct 2004 09:06:27 -0500 Subject: Who is using Nagios 2.0? In-Reply-To: <416A1CF9.5020005@qut.edu.au> References: <416A1CF9.5020005@qut.edu.au> Message-ID: <1097503587.32653.14.camel@localhost> On Mon, 2004-10-11 at 15:41 +1000, Greg Vickers wrote: > I'm wondering who is using Nagios 2.0 in a production environment? Our > Nagios 1.2 installation is chugging pretty badly (well, the web server > is anyway, when web information is requested) with 7,500 services (the > traversal algorithms, right?) and I am going to split off the ~5000 lab > host services onto a separate (and less powerful) server. > I understand that Nagios 2.0 has much faster traversal algorithms and so > (hopefully) will be just as fast if not faster on the second server. I upgraded to 2.0 very early in the process due to some specific features that made it very attractive (and I have the programming skills to fix things if something acts "wrongly" if I need to). It has been pretty much rock-solid from the beginning, quite surprisingly. Your set up sound considerably larger than ours. I cover ~450 hosts with ~2230 services, and I have a geographically distributed system (both for off-loading of the central server as well as networking requirements), so I can't say how our performance will compare. here are my stats, though: min max avg services: Check Execution Time: 0.00 sec 15.39 sec 2.543 sec Check Latency: 0.00 sec 606.13 sec 2.851 sec hosts: Check Execution Time: 0.00 sec 5.08 sec 4.019 sec Check Latency: 0.00 sec 8.03 sec 0.068 sec > Just wondering how many ppl are using 2.0 (feel free to drop me a direct > line rather than replying to the list) and how you've gone with the CVS > snapshots? I pull from cvs and rebuild quite regularly. Only a few times have I had to roll-back a cvs build (I keep the previously working version around for a few days/weeks/until-i-remember-to-delete-it. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrobinson852 at yahoo.com Mon Oct 11 16:15:03 2004 From: jrobinson852 at yahoo.com (J Robinson) Date: Mon, 11 Oct 2004 07:15:03 -0700 (PDT) Subject: Nagios 1.2 & NRPE 1.X? In-Reply-To: <416A88AF.40709@ambra.ro> References: <416A88AF.40709@ambra.ro> Message-ID: <20041011141503.13434.qmail@web51402.mail.yahoo.com> Hello All: I currently using nagios 1.2 to monitor some systems. Which is the best version of NRPE to use with nagios 1.2? Thanks jrobinson __________________________________ Do you Yahoo!? Yahoo! Mail - Helps protect you from nasty viruses. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lmcilwain at opnet.com Mon Oct 11 16:27:14 2004 From: lmcilwain at opnet.com (Lovell Mcilwain) Date: Mon, 11 Oct 2004 10:27:14 -0400 Subject: issue sending out emails when host goes down Message-ID: <416A9842.5030104@opnet.com> Hello all, I am having this issue with Nagios where it is sending me pager notifications about a host being down but it doesn't send me an e mail to my e mail client letting me know the same information. Whatever emails it does send are blank and the only reason I know it is from Nagios is because the sender says "Nagios Account", otherwise the subject line and the e mail content are both empty. Has anyone ever encountered this? Any help is appreciated. Thanks Here are some clippings of my files to give you an idea of my settings: *Contacts.cfg *# 'Lovell Mcilwain' contact definition define contact{ contact_name lmcilwain alias Lovell Mcilwain service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email,notify-by-epager host_notification_commands host-notify-by-email,host-notify-by-epager email lmcilwain at opnet.com pager 1234567890 at skytel.com } *Contactgroups.cfg: *# 'OPNET Admin's' contact group definition define contactgroup{ contactgroup_name opnet-admins alias OPNET Administrators members lmcilwain } *Hosts.cfg:* # 'Jello' host definition define host{ use generic-host ; Name of host template to use host_name jello alias jello address 12.34.56.78 check_command check_ping2 max_check_attempts 10 notification_interval 30 notification_period 24x7 notification_options d,u,r } *Services.cfg:* # Service definition define service{ use generic-service ; Name of service template to use host_name jello service_description check_ping2 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups opnet-admins notification_interval 120 notification_period 24x7 notification_options u,c,r check_command check_ping2 } -------------- next part -------------- An HTML attachment was scrubbed... URL: From gmueller at netways.de Mon Oct 11 16:28:28 2004 From: gmueller at netways.de (Gerd Müller) Date: Mon, 11 Oct 2004 16:28:28 +0200 (CEST) Subject: Nagios2 hostextinfo - statusmap.cgi - host image In-Reply-To: <416A88AF.40709@ambra.ro> References: <416A88AF.40709@ambra.ro> Message-ID: <20041011142828.A50CA4F40E8@desire.netways.de> Hi victor I gues your using linux. Which distribution are you using? The nagios 1.2 debian pakage has got this problem... - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://nagiosexchange.de/nagios-users.1488.0.html?&tx_maillisttofaq_pi1[s howUid]=664 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Oct 11 16:39:15 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 11 Oct 2004 07:39:15 -0700 Subject: Who is using Nagios 2.0? In-Reply-To: References: <416A1CF9.5020005@qut.edu.au> Message-ID: <20041011143915.GW31458@zippy.toger.us> On Mon, Oct 11, 2004 at 02:05:20PM +0800, Kelvin Wu wrote: > server. so make services.cfg as small as you can to speed up web > interface. That is just a workaround, I don't think anyone will argue that it is a good final solution. -Jason Martin -- Hi. I'll be your tagline for this evening. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From gmueller at netways.de Mon Oct 11 16:37:24 2004 From: gmueller at netways.de (Gerd Müller) Date: Mon, 11 Oct 2004 16:37:24 +0200 (CEST) Subject: Plugin - No output In-Reply-To: <416A418A.90801@ambra.ro> References: <416A418A.90801@ambra.ro> Message-ID: <20041011143724.84D7A4F40E8@desire.netways.de> Hi victor does it run as user nagios? - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://nagiosexchange.de/nagios-users.1488.0.html?&tx_maillisttofaq_pi1[s howUid]=654 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Oct 11 16:39:38 2004 From: benny at bennyvision.com (C. Bensend) Date: Mon, 11 Oct 2004 09:39:38 -0500 (CDT) Subject: Ping alive check thru nagios In-Reply-To: <20041011120724.18150.qmail@webmail32.rediffmail.com> References: <20041011120724.18150.qmail@webmail32.rediffmail.com> Message-ID: <1504.134.244.169.17.1097505600.squirrel@134.244.169.17> > Some how /usr/local/nagios/libexec directory is missing in my > installation. > What I need to do now reinstall nagios ?? No, not at all. Just install the plugins. They are separate from the Nagios installation. Benny -- "Even if a man chops off your hand with a sword, you still have two nice, sharp bones to stick in his eyes." -- .sig on Slashdot ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Mon Oct 11 16:44:42 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 11 Oct 2004 07:44:42 -0700 Subject: Consolidated Availability statistics Message-ID: <20041011144442.GX31458@zippy.toger.us> Has anyone put together a script that will generate a consolidated availability report for a hostgroup? I'm thinking of a report that calculates the availability statistic of a hostgroup such that any service being in alert status counts as if the entire hostgroup was unavailable. Thanks, -Jason Martin -- Hi. I'll be your tagline for this evening. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Mon Oct 11 16:51:00 2004 From: marc at ena.com (Marc Powell) Date: Mon, 11 Oct 2004 09:51:00 -0500 Subject: Ping alive check thru nagios Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BD56@mismail.ena.com> You must install the nagios-plugins. They're available via the downloads page or at http://nagiosplug.sourceforge.net. Also, please do not post to this list in HTML formatted messages, especially ones that include advertising loaded off of remote web servers. It's very rude and for all we know you could be trying to take advantage of a well publicized image exploit -- -- Marc ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Pankaj Bafana Sent: Monday, October 11, 2004 7:07 AM To: Hendrik B Cc: nagios-users at lists.sourceforge.net Subject: Re: Re: [Nagios-users] Ping alive check thru nagios Some how /usr/local/nagios/libexec directory is missing in my installation. What I need to do now reinstall nagios ?? On Mon, 11 Oct 2004 Hendrik B wrote : >Guten Tag Pankaj Bafana, > >am Sonntag, 10. Oktober 2004 um 19:28 schrieben Sie: > >PB> >PB> Does nagios requires any plugin to check simple ping host alive. >PB> I am new to nagios just got nagios installed with web interface up. >PB> It shows "Return code of 127 is out of bounds - plugin may be missing" > >PB> Pankaj > > > > >Hi and welcome to Nagios, > >you have to define a check command in your services.cfg and in your >checkcommands.cfg. > >#checkcommands.cfg ># 'check_ping' command definition >define command{ > command_name check_ping > command_line /usr/local/nagios/libexec/check_ping -H $HOSTADDRESS$ -w 10:20% -c 60:100% > } > >#services.cfg >#'TEST' host definitions >define service{ > host_name TEST > service_description PING > is_volatile 0 > check_period 24x7 > check_command check_ping > max_check_attempts 4 > notification_interval 3600 > notification_period 24x7 > obsess_over_service 1 > notifications_enabled 1 > notification_options r,c > normal_check_interval 600 > retry_check_interval 1 > contact_groups admin > } > >just have a look at the realy good documentation! > >The checkcommand 'check_ping' fires up a plugin stored in >/usr/local/nagios/libexec/check_plugin, the special about this >plugins is, that they returns values between -1 and 2 (i think) which >stands for UNKNOWN, CRITICAL, WARNING and OK. These Return-Codes are >"readable" by the Nagios Process. > >Hope this helps a little. > >Best regards, >Hendrik > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 linint.net Mon Oct 11 17:00:31 2004 From: nagios at linint.net (Nagios) Date: Mon, 11 Oct 2004 17:00:31 +0200 Subject: syntax for hostextinfo Message-ID: <10afb85fb66f8921eb292793dcd5570a@213.190.64.72> An HTML attachment was scrubbed... URL: From jhmartin at toger.us Mon Oct 11 18:56:09 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 11 Oct 2004 09:56:09 -0700 Subject: check_nt & counter alarms Message-ID: <20041011165608.GA31458@zippy.toger.us> Has anyone written a wrapper for check_nt that allows thresholds to be put on performance counters? I'd like to be able to check that certain Exchange parameters are within thresholds. Thanks, -Jason Martin -- This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From Jan.Scholten at iconz.net Mon Oct 11 22:45:50 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 12 Oct 2004 09:45:50 +1300 Subject: Hostgroups in Hostextinfo.cfg In-Reply-To: <1097484777.3224.4.camel@johans.smartnet.no> References: <1097484777.3224.4.camel@johans.smartnet.no> Message-ID: As far as i know it's not working! You can only use host_name, the "*" is not working too. The use hostgroups is a feature i really miss! Jan > Hi ! > > I have tried to use 'hostgroups' instead of hostname in hostextinfo.cfg > without success. My wish is to use the same graphics for each hostgroup > (switches etc.) so I don't have to configure more than the hosts.cfg / > hostgroups.cfg for a new host. > > Any way to achieve this ?? > - Are there a different approach to this in 2.0 ?? > > Best regards, > > Johan > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From icedtea at gamebox.net Tue Oct 12 03:04:03 2004 From: icedtea at gamebox.net (icedtea) Date: Tue, 12 Oct 2004 09:04:03 +0800 Subject: check_disk and check_by_ssh References: <1095233982.3649.2.camel@hellontoast> <20040915074855.GA25331@quex.org> Message-ID: <416B2D83.3030808@gamebox.net> I tried to run check_disk thru check_by_ssh but I encountered "permission denied, please try again error" but when I try to run "./check_by_ssh -H host -C '/usr/local/libexec/check_disk -w 85% -c 70%" it runs ok. here's a copy of my "services.cfg" # Service definition define service{ use generic-service ; Name of service template to use host_name host service_description Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups sys-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_by_ssh!check_disk } and checkcommands.cfg # "check_disk" DISK command definition define command{ command_name check_disk command_line $USER1$/check_disk $ARG1$ } # "check_by_ssh" command definition define command{ command_name check_by_ssh command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "/usr/local/libexec/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$" } also, i tried it on other machines but now I encountered "host key verification failed". but when I tried to ssh directly to the machine, I can access it passwordless. Any kind of help will be greatly appreciated. tnx ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mm.quex.org Tue Oct 12 07:22:16 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 12 Oct 2004 13:22:16 +0800 Subject: check_disk and check_by_ssh In-Reply-To: <416B2D83.3030808@gamebox.net> References: <1095233982.3649.2.camel@hellontoast> <20040915074855.GA25331@quex.org> <416B2D83.3030808@gamebox.net> Message-ID: <20041012052216.GA15832@quex.org> On Tue, Oct 12, 2004 at 09:04:03AM +0800, icedtea wrote: > I tried to run check_disk thru check_by_ssh but I encountered > "permission denied, please try again error" > > but when I try to run "./check_by_ssh -H host -C > '/usr/local/libexec/check_disk -w 85% -c 70%" it runs ok. > > here's a copy of my "services.cfg" > > # Service definition > define service{ > check_command check_by_ssh!check_disk > } > > and checkcommands.cfg > > # "check_by_ssh" command definition > define command{ > command_name check_by_ssh > command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C > "/usr/local/libexec/check_disk -p $ARG1$ -w $ARG2$ -c $ARG3$" > } The $ARG1$ you're passing to the check_by_ssh command is check_disk, and the above command looks like you'll then be telling check_disk to check the free space on the path "check_disk", which probably isn't what you want. Additionally, you are supplying the warning or critical values to the check command, so even if you were checking a valid path, it wouldn't work anyway. > also, i tried it on other machines but now I encountered "host key > verification failed". but when I tried to ssh directly to the machine, > I can access it passwordless. > > Any kind of help will be greatly appreciated. tnx Have you tried running the check_by_ssh plugin as the user that Nagios runs as (typically "nagios")? It sounds like you have a permissions problem and you haven't set up keys to allow the Nagios user to log in to the remote system. It doesn't matter if YOUR user account can - the plugins will be executed under the same account the Nagios daemon runs as. You can use "su - nagios" to switch your user context to the Nagios user, and try it all from there. Once you can do it from the command line as the appropriate user, Nagios shouldn't have any problems doing it automatically. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Tue Oct 12 07:46:45 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 12 Oct 2004 07:46:45 +0200 Subject: Perfdata Message-ID: <90D32590BAD135448DC12C1EA3EB4482209BA0@epsewr01.ewrlan.ewr.int> Hi! Is there some way to only push performance data of selected hosts or selected services?? I use Nagiostat for my graphs and got a lot of trash in my log file... I just use this log for debugging, but there its also a lot of data which i dont need... Thanks! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Oct 12 08:36:53 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 11 Oct 2004 23:36:53 -0700 Subject: Perfdata Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC739C@dw-mail.dataway.com> I noticed that when switching from originally not using perfdata and then later started wanting to use perfdata, I had to clear out the status.sav before the perfdata commands became active. I'm guessing that the original perfdata state, "process perf_data 0", got saved in the retention file, which does not automatically toggle even after changing to "process_perf_data 1" in the config file. I can't find a web-interface way to enable perfdata on a per-service basis, but the config files do allow granular control of which services use perf data. For example, I am using perfdata only for ping services. My perfdata command is just a simple command that write to log files. global nagios.cfg: process_performance_data=1 I have my generic service template setup without perf data: define service{ name generic-service process_perf_data 0 register 0 My ping service template is the only one running perf data: define service{ name service-ping use generic-service process_perf_data 1 register 0 -----Original Message----- From: Wengrzik, Andreas [mailto:Wengrzik at ewr.de] Sent: Monday, October 11, 2004 10:47 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Perfdata Hi! Is there some way to only push performance data of selected hosts or selected services?? I use Nagiostat for my graphs and got a lot of trash in my log file... I just use this log for debugging, but there its also a lot of data which i dont need... Thanks! ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Oct 12 09:23:48 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 12 Oct 2004 09:23:48 +0200 Subject: Perfdata Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594126@SYGOMAIL.GOE.AD.SYCOR.DE> > Hi! > > Is there some way to only push performance data of selected > hosts or selected services?? > I use Nagiostat for my graphs and got a lot of trash in my > log file... I just use this log for debugging, but there its > also a lot of data which i dont need... > > Thanks! Yes there is a way. Just use process_perf_data [0/1] in the service/host definition. Regards, Philipp _____________________________ Philipp Sand OC-CC-TEC-SYS SYCOR GmbH Heinrich-von-Stephan-Stra?e 1-5 D - 37073 G?ttingen Telefon +49 (0) 551 / 490 - 0 Telefax +49 (0) 551 / 490 - 232468 philipp.sand at sycor.de www.sycor.de ------------------------------------------------ ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 12 09:23:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 12 Oct 2004 09:23:55 +0200 Subject: Who is using Nagios 2.0? In-Reply-To: <20041011143915.GW31458@zippy.toger.us> References: <416A1CF9.5020005@qut.edu.au> <20041011143915.GW31458@zippy.toger.us> Message-ID: <416B868B.20303@op5.se> Jason Martin wrote: > On Mon, Oct 11, 2004 at 02:05:20PM +0800, Kelvin Wu wrote: > >>server. so make services.cfg as small as you can to speed up web >>interface. > > That is just a workaround, I don't think anyone will argue that > it is a good final solution. > It's also quite irrelevant. Reading 1MB takes only slightly longer than reading 10KB. If you want it to be faster, you should sort all the objects in reversed alphabetical order. This will make each list traversal as fast as they can be. Each object depending on others sort by their 'master' object first (services sort by host_name and then service_description). > -Jason Martin -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 12 09:25:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 12 Oct 2004 09:25:43 +0200 Subject: Hostgroups in Hostextinfo.cfg In-Reply-To: References: <1097484777.3224.4.camel@johans.smartnet.no> Message-ID: <416B86F7.4050508@op5.se> Jan Scholten wrote: > As far as i know it's not working! > > You can only use host_name, the "*" is not working too. > > The use hostgroups is a feature i really miss! > It works. Just specify hostgroup_name instead of host_name. Nagios 2 does it that way for all objects that refer to hosts. Very nifty actually. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Tue Oct 12 09:49:56 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Tue, 12 Oct 2004 08:49:56 +0100 Subject: syntax for hostextinfo Message-ID: <57aa0cf38c4825296f25c6991255ba01@vega.scarceskills.com> Dear, You should check if you don't use templates. If so, add the following into your cgi.cfg: #Extendid info xedtemplate_config_file=/etc/nagios/hostextinfo.cfg xedtemplate_config_file=/etc/nagios/serviceextinfo.cfg Then, in the cfg files you should have something like: for hostextinfo.cfg: define hostextinfo{ host_name UNUSED icon_image win40.png icon_image_alt Windows XP vrml_image win40.png statusmap_image win40.png 2d_coords 550,500 3d_coords 100.0,50.0,75.0 } for serviceextinfo.cfg: define serviceextinfo{ host_name neptune service_description NTP notes_url /nagios/serviceextinfo/neptune/ntp.conf icon_image ../extinfo.gif icon_image_alt View Additional Notes For This Service } Of course, this is all very nicely explained in the manual :-) Martinus. Nagios wrote: >i'm trying to add a new picture with a nagios version 1.2

in the >cgi.cfg i add the following >line

hostextinfo[PROXY1]=;squid.gif;squid.gif;squid.gif;PR0XY Squid >1;;;

on the model given >:

#hostextinfo[rosie]=/serverinfo/rosie.html;win40.gif;win40.jpg;win40.gd2;NT >Server 4.0;;;

and i put the picture squid.gif on >/usr/local/nagios/share/images/logos/

But when i try to see my >statusmap result , i don't see the picture .

What is wrong on my >parameter ?

thanks for any clue .

Guilhem michel ( href="http://www.linint.net">http://www.linint.net )

>
>________________________________________________
>Message envoy? par le serveur smtp de l'Eurl Linint
> > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > -- --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Sand at sycor.de Tue Oct 12 11:42:58 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Tue, 12 Oct 2004 11:42:58 +0200 Subject: Who is using Nagios 2.0? Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E594132@SYGOMAIL.GOE.AD.SYCOR.DE> Just a thought, but wouldn't it be nice, when nagios would do it automatically everytime it starts/restarts? Maybe copying the hole runtime cfg in the ram or in a temporay file? I'm not a programmer, so I don't know if this is possible... But i like the idea ... Would be a nice new feature for 2.0a2 or so :) Regards, Philipp > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Andreas Ericsson > Sent: Tuesday, October 12, 2004 9:24 AM > To: Nagios > Subject: Re: [Nagios-users] Who is using Nagios 2.0? > > Jason Martin wrote: > > On Mon, Oct 11, 2004 at 02:05:20PM +0800, Kelvin Wu wrote: > > > >>server. so make services.cfg as small as you can to speed up web > >>interface. > > > > That is just a workaround, I don't think anyone will argue > that it is > > a good final solution. > > > > It's also quite irrelevant. Reading 1MB takes only slightly > longer than reading 10KB. If you want it to be faster, you > should sort all the objects in reversed alphabetical order. > This will make each list traversal as fast as they can be. > Each object depending on others sort by their 'master' object > first (services sort by host_name and then service_description). > > > > -Jason Martin > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal Use IT products in your business? Tell us > what you think of them. Give us Your Opinions, Get Free > ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ************************************************ sycor plastics - die neue Branchenl?sung f?r die Kunststoffindustrie www.sycor-plastics.de ************************************************ Diese E-Mail ist vertraulich und kann dar?ber hinaus pers?nliche Informationen beinhalten. Wenn Sie nicht der bestimmungsgem??e Empf?nger sind, l?schen Sie bitte die E-Mail und deren Anh?nge sofort und benachrichtigen Sie uns dar?ber. Die Firma sycor willigt in keine Vertr?ge oder vertragliche Verpflichtungen ein oder ?bermittelt rechtsverbindliche Angebote, die in Form von E-Mail versandt werden, sofern dies nicht ausdr?cklich in schriftlicher Form zwischen den Parteien vereinbart wurde. This e-mail is confidential and may contain personal and/or privileged information. If you are not the intended recipient please delete this e-mail and all attachments immediately and inform us. The company sycor does not agree with contracts or contract obligations sent by e-mail, neither do we transmit legally binding offers by e-mail, unless this is not expressly agreed upon between the parties and documented in written form. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Tue Oct 12 12:00:51 2004 From: surcouf at debianfr.net (=?ISO-8859-15?Q?Rapha=EBl_=27SurcouF=27_Bordet?=) Date: Tue, 12 Oct 2004 12:00:51 +0200 Subject: NagMIN and MySQL Message-ID: <416BAB53.2070803@debianfr.net> Hi, I want to use NagMIN to have an interface to configure Nagios for my users because Nawui doesn't yet support all features of nagios'configurations files. After install webmin, I've add NagMIN module using webmin interface. When configuring this module, I can't set "MySQL Administration Login and password" correctly: all fails. I can log into mysql using mysql client and MySQL module can also connect to mysql databases and perform some requests... Any idea ? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 12 13:03:00 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 12 Oct 2004 13:03:00 +0200 Subject: Who is using Nagios 2.0? In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E594132@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E594132@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <416BB9E4.6020200@op5.se> Sand Philipp wrote: > Just a thought, but wouldn't it be nice, when nagios would do it > automatically everytime it starts/restarts? > Maybe copying the hole runtime cfg in the ram or in a temporay file? Nagios 2 does this. It creates a file called 'objects.cache', which is properly sorted and expanded, in the var-directory. I believe that's the main reason for the speed-up, actually, since it removes three very CPU-expensive steps from the config-parsing (sorting, expanding (importing template values) and uniqueifying (in lack of a better word for creating slave objects for each of the objects master-objects)). -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Tue Oct 12 13:06:08 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Tue, 12 Oct 2004 13:06:08 +0200 Subject: Acknowledgement of 'soft' problems? Message-ID: <200410121306.08239.benoit.panizzon@imp.ch> Hi all I have a request from our supporters here. Most of the checks are run two or three times before they get into 'hard' status and notifications get sent. Now some of our supporters keep watching the 'Service Problems' screen and would like to be able to acknowledge a problem before it get's to 'hard' status so that notifications don't get sent out at all. Is there a way to achieve this behavior? Similar question. Is there a way to suppress 'soft' problems in the 'Service Problems' overview? Regards -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From surcouf at debianfr.net Tue Oct 12 13:06:47 2004 From: surcouf at debianfr.net (=?ISO-8859-15?Q?Rapha=EBl_=27SurcouF=27_Bordet?=) Date: Tue, 12 Oct 2004 13:06:47 +0200 Subject: NagMIN and MySQL Message-ID: <416BBAC7.1020409@debianfr.net> Hi, I want to use NagMIN to have an interface to configure Nagios for my users because Nawui doesn't yet support all features of nagios'configurations files. After install webmin, I've add NagMIN module using webmin interface. When configuring this module, I can't set "MySQL Administration Login and password" correctly: all fails. I can log into mysql using mysql client and MySQL module can also connect to mysql databases and perform some requests... Any idea ? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From martinus.nel at scarceskills.com Tue Oct 12 14:12:32 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Tue, 12 Oct 2004 13:12:32 +0100 Subject: check_proc & NTP Message-ID: Dear all, I have tried the plugin-help list, but could not find an answer there, so: I am having a minor issue with check_procs: # ps -efl | grep ntp 5 S ntp 1076 1 0 75 0 - 598 schedu 10:14 ? 00:00:00 [ntpd] # /usr/lib/nagios/plugins/check_procs -c 1:1 -s RSZDT -a ntp CRITICAL - 0 processes running with STATE = RSZDT, args ntp # /usr/lib/nagios/plugins/check_procs -c 1:1 -a ntp OK - 1 processes running with args ntp Why is it that when I leave out RSZDT check_procs finds ntp, but when I use RSZDT (just for testing, I want it to be RS) check_procs does not find ntp ? Martinus. -- --------------------------------------------------------------------------- DISCLAIMER This e-mail message and any attachments are confidential and may also be a privileged communication. It is intended solely for the person(s) to whom it is addressed. If you are not the intended addressee of the message you must take no action based on it. Please reply to this message to let us know you received it in error and also delete the message from your system. Internet e-mails are not necessarily secure and you should be mindful of this when e-mailing us. The contents of an attachment to this e-mail may contain software viruses which could damage your own computer system. Whilst we have taken every reasonable precaution to minimise this risk, we cannot accept liability for any damage which you sustain as a result of software viruses. You should carry out your own virus checks before opening the attachment. --------------------------------------------------------------------------- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Oct 12 15:52:31 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 12 Oct 2004 07:52:31 -0600 Subject: Acknowledgement of 'soft' problems? Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE4AC8@golden-m.mactec.com> nagios-users-admin at lists.sourceforge.net wrote: > Hi all > > I have a request from our supporters here. > > Most of the checks are run two or three times before they get into > 'hard' status and notifications get sent. > > Now some of our supporters keep watching the 'Service Problems' > screen and would like to be able to acknowledge a problem before it > get's to 'hard' status so that notifications don't get sent out at > all. > > Is there a way to achieve this behavior? > > Similar question. Is there a way to suppress 'soft' problems in the > 'Service Problems' overview? > > Regards I don't believe that this is supported, and don't know if it ever will be. However, why not just have your supporters turn off notifications when a host/service goes into a soft state. Then, if it reaches a hard state before they can fix it, notifications should not be sent out, and they can acknowledge it if they so choose. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit.panizzon at imp.ch Tue Oct 12 16:35:50 2004 From: benoit.panizzon at imp.ch (Benoit Panizzon) Date: Tue, 12 Oct 2004 16:35:50 +0200 Subject: Acknowledgement of 'soft' problems? In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0DDE4AC8@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0DDE4AC8@golden-m.mactec.com> Message-ID: <200410121635.50291.benoit.panizzon@imp.ch> > I don't believe that this is supported, and don't know if it ever will > be. However, why not just have your supporters turn off notifications > when a host/service goes into a soft state. Then, if it reaches a hard > state before they can fix it, notifications should not be sent out, and > they can acknowledge it if they so choose. Hi Garry Because they are lazy and don't want to have to click around if they don't have to :-) Often we have Services 'flapping' example: Process monitoring. While reloading a very busy nameserver you get two named processes running for a few minutes... If you get two processes permanently something is wrong. So there need to be three checks for named reporting more than two processes to get into 'hard' error status. But the 'Service Problem' overview already shows the problem while in 'soft' state. They don't want to see it. Or if they know they messed up the DNS they want to acknowledge the problem before the pickett get's notified :-) -- Beno?t Panizzon, ------------------------------------------------------------------------ ImproWare AG, UNIXSP & ISP Phone: +41 61 826 93 00 Zurlindenstrasse 29 Fax: +41 61 826 93 01 CH-4133 Pratteln Net: http://www.imp.ch/ ------------------------------------------------------------------------ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johan at henes.no Tue Oct 12 16:35:09 2004 From: johan at henes.no (Johan Henes) Date: Tue, 12 Oct 2004 16:35:09 +0200 Subject: Hostgroups in Hostextinfo.cfg In-Reply-To: <416B86F7.4050508@op5.se> References: <1097484777.3224.4.camel@johans.smartnet.no> <416B86F7.4050508@op5.se> Message-ID: <1097591708.3161.1.camel@johans.smartnet.no> Are You positive about this in 1.2 ?? I use hostgroup_name in all my configfiles except of hostextinfo.cfg... Regards, Johan On Tue, 2004-10-12 at 09:25, Andreas Ericsson wrote: > Jan Scholten wrote: > > As far as i know it's not working! > > > > You can only use host_name, the "*" is not working too. > > > > The use hostgroups is a feature i really miss! > > > > It works. Just specify hostgroup_name instead of host_name. Nagios 2 > does it that way for all objects that refer to hosts. Very nifty actually. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Tue Oct 12 17:04:18 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Tue, 12 Oct 2004 11:04:18 -0400 Subject: check_snmp hard question Message-ID: Hi all, I have some kind of problem with check_snmp. When I use the command... ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.2.2.1.8.1 ...to test the command on a router, the result is :"SNMP OK - up(1)" When I use the same command inside Nagios, the result is :"OK - 1" How can I get my "up" back? --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Tue Oct 12 17:10:23 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 12 Oct 2004 10:10:23 -0500 Subject: checking windows services remotely Message-ID: <20041012151023.50482.qmail@restricted.dyndns.org> Hey guys, Has anyone created a check that verifies a remote Windows' services such as Cluster Service, W3SVC or any service on a remote machine using username/password check? I'm sure that this could utilize the samba libraries. NRPE agent is not an option now. Thanks guys, neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Tue Oct 12 19:14:56 2004 From: b00mer at gmx.net (Hendrik B) Date: Tue, 12 Oct 2004 19:14:56 +0200 Subject: checking windows services remotely In-Reply-To: <20041012151023.50482.qmail@restricted.dyndns.org> References: <20041012151023.50482.qmail@restricted.dyndns.org> Message-ID: <214580778.20041012191456@gmx.net> Guten Tag Neil, am Dienstag, 12. Oktober 2004 um 17:10 schrieben Sie: N> Hey guys, N> Has anyone created a check that verifies a remote Windows' services such as N> Cluster Service, W3SVC or any service on a remote machine using N> username/password check? I'm sure that this could utilize the samba N> libraries. NRPE agent is not an option now. N> Thanks guys, N> neil N> ------------------------------------------------------- N> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal N> Use IT products in your business? Tell us what you think of them. Give us N> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more N> http://productguide.itmanagersjournal.com/guidepromo.tmpl N> _______________________________________________ N> Nagios-users mailing list N> Nagios-users at lists.sourceforge.net N> https://lists.sourceforge.net/lists/listinfo/nagios-users N> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. N> ::: Messages without supporting info will risk being sent to /dev/null Hi, if NRPE is no option for you try NSClient. A simple Client for the Windows-Box and a Nagios Plugin for: check_nt (nagios-plugins 1.3.1) 1.7 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2000 Yves Rubin (rubiyz at yahoo.com) This plugin attempts to contact the NSClient service running on a Windows NT/2000/XP server to gather the requested system information. Usage: check_nt -H host -v variable [-p port] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout] Options: -H, --hostname=HOST Name of the host to check -p, --port=INTEGER Optional port number (default: 1248) -s Password needed for the request -v, --variable=STRING Variable to check. Valid variables are: CLIENTVERSION = Get the NSClient version CPULOAD = Average CPU load on last x minutes. Request a -l parameter with the following syntax: -l ,,. should be less than 24*60. Thresholds are percentage and up to 10 requests can be done in one shot. ie: -l 60,90,95,120,90,95 UPTIME = Get the uptime of the machine. No specific parameters. No warning or critical threshold USEDDISKSPACE = Size and percentage of disk use. Request a -l parameter containing the drive letter only. Warning and critical thresholds can be specified with -w and -c. MEMUSE = Memory use. Warning and critical thresholds can be specified with -w and -c. SERVICESTATE = Check the state of one or several services. Request a -l parameters with the following syntax: -l ,,,... You can specify -d SHOWALL in case you want to see working services in the returned string. PROCSTATE = Check if one or several process are running. Same syntax as SERVICESTATE. COUNTER = Check any performance counter of Windows NT/2000. Request a -l parameters with the following syntax: -l "\\\\counter","" The parameter is optional and is given to a printf output command which require a float parameters. Some examples: "Paging file usage is %.2f %%" or "%.f %% paging file used." -w, --warning=INTEGER Threshold which will result in a warning status -c, --critical=INTEGER Threshold which will result in a critical status -t, --timeout=INTEGER Seconds before connection attempt times out (default: 10) -h, --help Print this help screen -V, --version Print version information Notes: - The NSClient service should be running on the server to get any information. - Critical thresholds should be lower than warning thresholds -- Mit freundlichen Gr??en Hendrik B mailto:b00mer at gmx.net ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 cyberlot.net Tue Oct 12 20:26:56 2004 From: lists at cyberlot.net (Richard Thomas) Date: Tue, 12 Oct 2004 13:26:56 -0500 Subject: Preventing false errors Message-ID: <416C21F0.2000702@cyberlot.net> Is there a way to setup the monitoring service so it monitors its own server and does not send errors if its down.. Example Server 1 - Nagios Server Server 2 - Monitored Server If the ISP for server 1 hiccups I get errors reporting Server 2, I would like to prevent this. -- Richard Thomas Cyberlot Technologies Group Inc. 507.398.4124 - Voice ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Tue Oct 12 20:47:11 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 12 Oct 2004 13:47:11 -0500 Subject: checking windows services remotely In-Reply-To: <214580778.20041012191456@gmx.net> References: <20041012151023.50482.qmail@restricted.dyndns.org> <214580778.20041012191456@gmx.net> Message-ID: <20041012184711.66818.qmail@restricted.dyndns.org> Sorry guys, I should have been much more detailed. Installation of an agent is not an option. I know nsclient and been using it to get performance counters. It's cool though but there are company policies here that prevents us from installing agents on production systems. Thanks! Hendrik B writes: > Guten Tag Neil, > > am Dienstag, 12. Oktober 2004 um 17:10 schrieben Sie: > > N> Hey guys, > > N> Has anyone created a check that verifies a remote Windows' services such as > N> Cluster Service, W3SVC or any service on a remote machine using > N> username/password check? I'm sure that this could utilize the samba > N> libraries. NRPE agent is not an option now. > > N> Thanks guys, > > N> neil > > > N> ------------------------------------------------------- > N> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > N> Use IT products in your business? Tell us what you think of them. Give us > N> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > N> http://productguide.itmanagersjournal.com/guidepromo.tmpl > N> _______________________________________________ > N> Nagios-users mailing list > N> Nagios-users at lists.sourceforge.net > N> https://lists.sourceforge.net/lists/listinfo/nagios-users > N> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > N> ::: Messages without supporting info will risk being sent to /dev/null > > Hi, > > if NRPE is no option for you try NSClient. > > A simple Client for the Windows-Box and a Nagios Plugin for: > > check_nt (nagios-plugins 1.3.1) 1.7 > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > copies of the plugins under the terms of the GNU General Public License. > For more information about these matters, see the file named COPYING. > Copyright (c) 2000 Yves Rubin (rubiyz at yahoo.com) > > This plugin attempts to contact the NSClient service running on a Windows NT/2000/XP server to > gather the requested system information. > > Usage: check_nt -H host -v variable [-p port] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout] > > Options: > -H, --hostname=HOST > Name of the host to check > -p, --port=INTEGER > Optional port number (default: 1248) > -s > Password needed for the request > -v, --variable=STRING > Variable to check. Valid variables are: > CLIENTVERSION = Get the NSClient version > CPULOAD = Average CPU load on last x minutes. Request a -l parameter with the following syntax: > -l ,,. should be less than 24*60. > Thresholds are percentage and up to 10 requests can be done in one shot. ie: -l 60,90,95,120,90,95 > UPTIME = Get the uptime of the machine. No specific parameters. No warning or critical threshold > USEDDISKSPACE = Size and percentage of disk use. Request a -l parameter containing the drive letter only. > Warning and critical thresholds can be specified with -w and -c. > MEMUSE = Memory use. Warning and critical thresholds can be specified with -w and -c. > SERVICESTATE = Check the state of one or several services. Request a -l parameters with the following syntax: > -l ,,,... You can specify -d SHOWALL in case you want to see working services > in the returned string. > PROCSTATE = Check if one or several process are running. Same syntax as SERVICESTATE. > COUNTER = Check any performance counter of Windows NT/2000. Request a -l parameters with the following syntax: > -l "\\\\counter","" The parameter is optional and > is given to a printf output command which require a float parameters. Some examples: > "Paging file usage is %.2f %%" or "%.f %% paging file used." > -w, --warning=INTEGER > Threshold which will result in a warning status > -c, --critical=INTEGER > Threshold which will result in a critical status > -t, --timeout=INTEGER > Seconds before connection attempt times out (default: 10) > -h, --help > Print this help screen > -V, --version > Print version information > > Notes: > - The NSClient service should be running on the server to get any information. > - Critical thresholds should be lower than warning thresholds > > > > -- > Mit freundlichen Gr??en > Hendrik B > mailto:b00mer at gmx.net > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From strombrg at dcs.nac.uci.edu Tue Oct 12 21:32:09 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 12 Oct 2004 12:32:09 -0700 Subject: checking windows services remotely In-Reply-To: <20041012184711.66818.qmail@restricted.dyndns.org> References: <20041012151023.50482.qmail@restricted.dyndns.org> <214580778.20041012191456@gmx.net> <20041012184711.66818.qmail@restricted.dyndns.org> Message-ID: <1097609529.8133.1996.camel@tesuji.nac.uci.edu> You could always just nmap the system to see what ports are open, and then set up various check_tcp's and check_udp's for the ones that are important. nmap defaults to tcp mode, but I believe -sU will do a UDP scan. On Tue, 2004-10-12 at 11:47, Neil wrote: > Sorry guys, I should have been much more detailed. Installation of an agent > is not an option. I know nsclient and been using it to get performance > counters. It's cool though but there are company policies here that prevents > us from installing agents on production systems. > > Thanks! > > Hendrik B writes: > > > Guten Tag Neil, > > > > am Dienstag, 12. Oktober 2004 um 17:10 schrieben Sie: > > > > N> Hey guys, > > > > N> Has anyone created a check that verifies a remote Windows' services such as > > N> Cluster Service, W3SVC or any service on a remote machine using > > N> username/password check? I'm sure that this could utilize the samba > > N> libraries. NRPE agent is not an option now. > > > > N> Thanks guys, > > > > N> neil > > > > > > N> ------------------------------------------------------- > > N> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > N> Use IT products in your business? Tell us what you think of them. Give us > > N> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > > N> http://productguide.itmanagersjournal.com/guidepromo.tmpl > > N> _______________________________________________ > > N> Nagios-users mailing list > > N> Nagios-users at lists.sourceforge.net > > N> https://lists.sourceforge.net/lists/listinfo/nagios-users > > N> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > N> ::: Messages without supporting info will risk being sent to /dev/null > > > > Hi, > > > > if NRPE is no option for you try NSClient. > > > > A simple Client for the Windows-Box and a Nagios Plugin for: > > > > check_nt (nagios-plugins 1.3.1) 1.7 > > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute > > copies of the plugins under the terms of the GNU General Public License. > > For more information about these matters, see the file named COPYING. > > Copyright (c) 2000 Yves Rubin (rubiyz at yahoo.com) > > > > This plugin attempts to contact the NSClient service running on a Windows NT/2000/XP server to > > gather the requested system information. > > > > Usage: check_nt -H host -v variable [-p port] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout] > > > > Options: > > -H, --hostname=HOST > > Name of the host to check > > -p, --port=INTEGER > > Optional port number (default: 1248) > > -s > > Password needed for the request > > -v, --variable=STRING > > Variable to check. Valid variables are: > > CLIENTVERSION = Get the NSClient version > > CPULOAD = Average CPU load on last x minutes. Request a -l parameter with the following syntax: > > -l ,,. should be less than 24*60. > > Thresholds are percentage and up to 10 requests can be done in one shot. ie: -l 60,90,95,120,90,95 > > UPTIME = Get the uptime of the machine. No specific parameters. No warning or critical threshold > > USEDDISKSPACE = Size and percentage of disk use. Request a -l parameter containing the drive letter only. > > Warning and critical thresholds can be specified with -w and -c. > > MEMUSE = Memory use. Warning and critical thresholds can be specified with -w and -c. > > SERVICESTATE = Check the state of one or several services. Request a -l parameters with the following syntax: > > -l ,,,... You can specify -d SHOWALL in case you want to see working services > > in the returned string. > > PROCSTATE = Check if one or several process are running. Same syntax as SERVICESTATE. > > COUNTER = Check any performance counter of Windows NT/2000. Request a -l parameters with the following syntax: > > -l "\\\\counter","" The parameter is optional and > > is given to a printf output command which require a float parameters. Some examples: > > "Paging file usage is %.2f %%" or "%.f %% paging file used." > > -w, --warning=INTEGER > > Threshold which will result in a warning status > > -c, --critical=INTEGER > > Threshold which will result in a critical status > > -t, --timeout=INTEGER > > Seconds before connection attempt times out (default: 10) > > -h, --help > > Print this help screen > > -V, --version > > Print version information > > > > Notes: > > - The NSClient service should be running on the server to get any information. > > - Critical thresholds should be lower than warning thresholds > > > > > > > > -- > > Mit freundlichen Gr??en > > Hendrik B > > mailto:b00mer at gmx.net > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Dan Stromberg DCS/NACS/UCI -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part URL: From neil-on-nagios at restricted.dyndns.org Tue Oct 12 21:44:03 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Tue, 12 Oct 2004 14:44:03 -0500 Subject: checking windows services remotely In-Reply-To: <1097609529.8133.1996.camel@tesuji.nac.uci.edu> References: <20041012151023.50482.qmail@restricted.dyndns.org> <214580778.20041012191456@gmx.net> <20041012184711.66818.qmail@restricted.dyndns.org> <1097609529.8133.1996.camel@tesuji.nac.uci.edu> Message-ID: <20041012194404.71163.qmail@restricted.dyndns.org> This for sure will work but systems are behind a firewall wherein only port 137-139 or 445 is open. And also, this approach will not work for other services that's not bound to a TCP or UDP port. Thanks! Dan Stromberg writes: > > You could always just nmap the system to see what ports are open, and > then set up various check_tcp's and check_udp's for the ones that are > important. nmap defaults to tcp mode, but I believe -sU will do a UDP > scan. > > On Tue, 2004-10-12 at 11:47, Neil wrote: >> Sorry guys, I should have been much more detailed. Installation of an agent >> is not an option. I know nsclient and been using it to get performance >> counters. It's cool though but there are company policies here that prevents >> us from installing agents on production systems. >> >> Thanks! >> >> Hendrik B writes: >> >> > Guten Tag Neil, >> > >> > am Dienstag, 12. Oktober 2004 um 17:10 schrieben Sie: >> > >> > N> Hey guys, >> > >> > N> Has anyone created a check that verifies a remote Windows' services such as >> > N> Cluster Service, W3SVC or any service on a remote machine using >> > N> username/password check? I'm sure that this could utilize the samba >> > N> libraries. NRPE agent is not an option now. >> > >> > N> Thanks guys, >> > >> > N> neil >> > >> > >> > N> ------------------------------------------------------- >> > N> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >> > N> Use IT products in your business? Tell us what you think of them. Give us >> > N> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >> > N> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> > N> _______________________________________________ >> > N> Nagios-users mailing list >> > N> Nagios-users at lists.sourceforge.net >> > N> https://lists.sourceforge.net/lists/listinfo/nagios-users >> > N> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> > N> ::: Messages without supporting info will risk being sent to /dev/null >> > >> > Hi, >> > >> > if NRPE is no option for you try NSClient. >> > >> > A simple Client for the Windows-Box and a Nagios Plugin for: >> > >> > check_nt (nagios-plugins 1.3.1) 1.7 >> > The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute >> > copies of the plugins under the terms of the GNU General Public License. >> > For more information about these matters, see the file named COPYING. >> > Copyright (c) 2000 Yves Rubin (rubiyz at yahoo.com) >> > >> > This plugin attempts to contact the NSClient service running on a Windows NT/2000/XP server to >> > gather the requested system information. >> > >> > Usage: check_nt -H host -v variable [-p port] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout] >> > >> > Options: >> > -H, --hostname=HOST >> > Name of the host to check >> > -p, --port=INTEGER >> > Optional port number (default: 1248) >> > -s >> > Password needed for the request >> > -v, --variable=STRING >> > Variable to check. Valid variables are: >> > CLIENTVERSION = Get the NSClient version >> > CPULOAD = Average CPU load on last x minutes. Request a -l parameter with the following syntax: >> > -l ,,. should be less than 24*60. >> > Thresholds are percentage and up to 10 requests can be done in one shot. ie: -l 60,90,95,120,90,95 >> > UPTIME = Get the uptime of the machine. No specific parameters. No warning or critical threshold >> > USEDDISKSPACE = Size and percentage of disk use. Request a -l parameter containing the drive letter only. >> > Warning and critical thresholds can be specified with -w and -c. >> > MEMUSE = Memory use. Warning and critical thresholds can be specified with -w and -c. >> > SERVICESTATE = Check the state of one or several services. Request a -l parameters with the following syntax: >> > -l ,,,... You can specify -d SHOWALL in case you want to see working services >> > in the returned string. >> > PROCSTATE = Check if one or several process are running. Same syntax as SERVICESTATE. >> > COUNTER = Check any performance counter of Windows NT/2000. Request a -l parameters with the following syntax: >> > -l "\\\\counter","" The parameter is optional and >> > is given to a printf output command which require a float parameters. Some examples: >> > "Paging file usage is %.2f %%" or "%.f %% paging file used." >> > -w, --warning=INTEGER >> > Threshold which will result in a warning status >> > -c, --critical=INTEGER >> > Threshold which will result in a critical status >> > -t, --timeout=INTEGER >> > Seconds before connection attempt times out (default: 10) >> > -h, --help >> > Print this help screen >> > -V, --version >> > Print version information >> > >> > Notes: >> > - The NSClient service should be running on the server to get any information. >> > - Critical thresholds should be lower than warning thresholds >> > >> > >> > >> > -- >> > Mit freundlichen Gr??en >> > Hendrik B >> > mailto:b00mer at gmx.net >> > >> > >> >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >> Use IT products in your business? Tell us what you think of them. Give us >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > -- > Dan Stromberg DCS/NACS/UCI > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhein at netways.de Tue Oct 12 22:18:54 2004 From: jhein at netways.de (Julian Hein) Date: Tue, 12 Oct 2004 22:18:54 +0200 (CEST) Subject: checking windows services remotely In-Reply-To: <20041012184711.66818.qmail@restricted.dyndns.org> References: <20041012184711.66818.qmail@restricted.dyndns.org> Message-ID: <20041012201854.0F50D4F40E8@desire.netways.de> Hi Neil > Sorry guys, I should have been much more detailed. Installation of an agent > is not an option. I know nsclient and been using it to get performance > counters. It's cool though but there are company policies here that prevents > us from installing agents on production systems. I for one think, your company's policy is not very reasonable. Does it also prevent to install applications on the production servers? :-) You could also give check_snmp a try. - Julian Hein ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.1488.0.html?&tx_maillisttofaq_ pi1[showUid]=701 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Tue Oct 12 22:32:16 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 13 Oct 2004 09:32:16 +1300 Subject: Hostgroups in Hostextinfo.cfg In-Reply-To: <416B86F7.4050508@op5.se> References: <1097484777.3224.4.camel@johans.smartnet.no> <416B86F7.4050508@op5.se> Message-ID: >> As far as i know it's not working! >> You can only use host_name, the "*" is not working too. >> The use hostgroups is a feature i really miss! >> > > It works. Just specify hostgroup_name instead of host_name. Nagios 2 > does it that way for all objects that refer to hosts. Very nifty > actually. For me it's not working inside the hostextinfo.cfg (with Nagios 1.2). I can use host_name with a single name or multiple comma-seperated names, but i can't use * or hostgroup_name. Tested: define hostextinfo{ host_name NagiosPC,wephost1,wephost2,db,sensei,mangle icon_image debian.png icon_image_alt Debian Server statusmap_image debian.gd2 } works. define hostextinfo{ hostgroup_name Web_Server icon_image Server.png icon_image_alt Debian Server statusmap_image Server.gd2 } Does not work (but does not give an error). Maybe it's working with Nagios 2 but i doubt that it works with V1.2 :-0 Jan -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue Oct 12 22:54:31 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 12 Oct 2004 13:54:31 -0700 Subject: Preventing false errors Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC739F@dw-mail.dataway.com> Simple solution: add the ISP's router as parent to all internet-based hosts. Parent can be specified in the template host, which should make the change relatively painless. Nagios | | ISP router / \ / \ / \ host1 host2 -----Original Message----- From: Richard Thomas [mailto:lists at cyberlot.net] Sent: Tuesday, October 12, 2004 11:27 AM To: Nagios Subject: [Nagios-users] Preventing false errors Is there a way to setup the monitoring service so it monitors its own server and does not send errors if its down.. Example Server 1 - Nagios Server Server 2 - Monitored Server If the ISP for server 1 hiccups I get errors reporting Server 2, I would like to prevent this. -- Richard Thomas Cyberlot Technologies Group Inc. 507.398.4124 - Voice ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Tue Oct 12 23:02:59 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Tue, 12 Oct 2004 14:02:59 -0700 Subject: Preventing false errors In-Reply-To: <416C21F0.2000702@cyberlot.net> References: <416C21F0.2000702@cyberlot.net> Message-ID: Make the router at the ISP the parent_host of the target "Monitored Server". You should be able to determine the IP with traceroute. http://nagios.sourceforge.net/docs/1_0/networkreachability.html http://nagios.sourceforge.net/docs/1_0/networkoutages.html http://nagios.sourceforge.net/docs/1_0/dependencies.html Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Richard Thomas Sent: Tuesday, October 12, 2004 11:27 AM To: Nagios Subject: [Nagios-users] Preventing false errors Is there a way to setup the monitoring service so it monitors its own server and does not send errors if its down.. Example Server 1 - Nagios Server Server 2 - Monitored Server If the ISP for server 1 hiccups I get errors reporting Server 2, I would like to prevent this. -- Richard Thomas Cyberlot Technologies Group Inc. 507.398.4124 - Voice ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 cyberlot.net Tue Oct 12 23:29:49 2004 From: lists at cyberlot.net (Richard Thomas) Date: Tue, 12 Oct 2004 16:29:49 -0500 Subject: Preventing false errors In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC739F@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC739F@dw-mail.dataway.com> Message-ID: <416C4CCD.80403@cyberlot.net> Thanks, I figured that out after I asked the question, did a host based depenency, I should RTFM more Tedman Eng wrote: > Simple solution: add the ISP's router as parent to all internet-based hosts. > Parent can be specified in the template host, which should make the change > relatively painless. > > Nagios > | > | > ISP router > / \ > / \ > / \ > host1 host2 > > -----Original Message----- > From: Richard Thomas [mailto:lists at cyberlot.net] > Sent: Tuesday, October 12, 2004 11:27 AM > To: Nagios > Subject: [Nagios-users] Preventing false errors > > > Is there a way to setup the monitoring service so it monitors its own > server and does not send errors if its down.. > > Example > > Server 1 - Nagios Server > > > Server 2 - Monitored Server > > If the ISP for server 1 hiccups I get errors reporting Server 2, I would > like to prevent this. -- Richard Thomas Cyberlot Technologies Group Inc. 507.398.4124 - Voice ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Wed Oct 13 03:02:37 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Tue, 12 Oct 2004 18:02:37 -0700 Subject: Acknowledgement of 'soft' problems? In-Reply-To: <41FD7929498A174DAB86C45F28E0EC0DDE4AC8@golden-m.mactec.com> References: <41FD7929498A174DAB86C45F28E0EC0DDE4AC8@golden-m.mactec.com> Message-ID: Disable notifications on the service. Re-enable when fixed... Or, quick like a bunny, schedule downtime for the service.... Downtime has the advantage of automatically re-enabling... If you click on the "Critical" link in the upper right of the problems screen, you get a screen that shows only "Critical" problems. http://192.168.3.54/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=22 4&hoststatustypes=15 Regards, - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cook, Garry Sent: Tuesday, October 12, 2004 6:53 AM To: Benoit Panizzon; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Acknowledgement of 'soft' problems? nagios-users-admin at lists.sourceforge.net wrote: > Hi all > > I have a request from our supporters here. > > Most of the checks are run two or three times before they get into > 'hard' status and notifications get sent. > > Now some of our supporters keep watching the 'Service Problems' > screen and would like to be able to acknowledge a problem before it > get's to 'hard' status so that notifications don't get sent out at > all. > > Is there a way to achieve this behavior? > > Similar question. Is there a way to suppress 'soft' problems in the > 'Service Problems' overview? > > Regards I don't believe that this is supported, and don't know if it ever will be. However, why not just have your supporters turn off notifications when a host/service goes into a soft state. Then, if it reaches a hard state before they can fix it, notifications should not be sent out, and they can acknowledge it if they so choose. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Wed Oct 13 05:13:12 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 13 Oct 2004 16:13:12 +1300 Subject: How to look at history of a specific Service? Message-ID: I'd like to see the history of Check Results. I have switches that send Traps and i want to receive every trap but i don't want to be notificated on every trap. So I have maybe Syslog Traps which i want to read, but that have the status Ok. I have a cold reboot Trap that should switch the status to critical. So i have a configuration with snmptrapd, snmptt, some custom wrapper scripts which check for the host that has sent the Trap and create an appropiate EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT. In the Services i have a entry: define service{ use generic-service ; Name of service template to use host_name vincepix service_description TRAP is_volatile 0 check_period none max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups Admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_none } passive checks are enabled. With max_check_attemps it should notificate at once (when a warning or critical flagged TRAP is received) i have no problem with getting the service back to Ok when receiving a syslog (OK-Status) Trap, but maybe i create different Services for that.. My problem is: (wow that took long) I receive a lot of TRAPS that are "OK" but is it possible to see the output of the transmitted check result? I tried every point for View XX history and i'm out of luck. I just want to have the ability to read all the Results for OK Messages.. Hope somebody can understand that.. I'm confused Jan -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Wengrzik at ewr.de Wed Oct 13 08:44:05 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 13 Oct 2004 08:44:05 +0200 Subject: Check Traffic How To ? Message-ID: <90D32590BAD135448DC12C1EA3EB4482209BC0@epsewr01.ewrlan.ewr.int> Hello! I want to check the traffic of some Cisco Catalyst 3550. Anyone done this before? Is there a better Plugin than check_traffic? I read some oppinons about that - not all the best... Maybe someone written a basic documentation about how to check traffic of a host or a switch or router or something else ?! Im happy about all help!! Thanks a lot!! Andreas W. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aviroz at deloitte.co.il Wed Oct 13 10:20:25 2004 From: aviroz at deloitte.co.il (Rozner, Avi (IL - Tel-Aviv)) Date: Wed, 13 Oct 2004 10:20:25 +0200 Subject: Netapp Filer plugin Message-ID: <06C55848F8B5D04CBDA81EB8B0CADB7F01A00E5B@iltlv0410.atrema.deloitte.com> Hi, I would like to monitor Netapp Filer . Where can I find nagios plugin for it ? Thanks, Avi. IMPORTANT NOTICE ! ! ! This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited and may be unlawful. If you have received this communication in error, please return it to securitydep at deloitte.co.il then delete the email and destroy any copies of it. Thank you! -------------- next part -------------- An HTML attachment was scrubbed... URL: From johan at henes.no Wed Oct 13 10:35:52 2004 From: johan at henes.no (Johan Henes) Date: Wed, 13 Oct 2004 10:35:52 +0200 Subject: Hostgroups in Hostextinfo.cfg References: <1097484777.3224.4.camel@johans.smartnet.no> <416B86F7.4050508@op5.se> Message-ID: <001901c4b0ff$a6422bc0$6504000a@smartnet.no> Tanks, Jan ! My expeirience exactly :-) /Johan ----- Original Message ----- From: "Jan Scholten" To: "Andreas Ericsson" ; Sent: Tuesday, October 12, 2004 10:32 PM Subject: Re: [Nagios-users] Hostgroups in Hostextinfo.cfg >>> As far as i know it's not working! >>> You can only use host_name, the "*" is not working too. >>> The use hostgroups is a feature i really miss! >>> >> >> It works. Just specify hostgroup_name instead of host_name. Nagios 2 >> does it that way for all objects that refer to hosts. Very nifty >> actually. > > For me it's not working inside the hostextinfo.cfg (with Nagios 1.2). > I can use host_name with a single name or multiple comma-seperated names, > but i can't use * or hostgroup_name. > > Tested: > > define hostextinfo{ > host_name NagiosPC,wephost1,wephost2,db,sensei,mangle > icon_image debian.png > icon_image_alt Debian Server > statusmap_image debian.gd2 > } > works. > > define hostextinfo{ > hostgroup_name Web_Server > icon_image Server.png > icon_image_alt Debian Server > statusmap_image Server.gd2 > } > > Does not work (but does not give an error). > > Maybe it's working with Nagios 2 but i doubt that it works with V1.2 :-0 > > Jan > > > > -- > Jan Scholten > Research and Development Intern > Iconz.co.nz > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.vanremortel at ha.be Wed Oct 13 10:50:05 2004 From: t.vanremortel at ha.be (Toni Van Remortel) Date: Wed, 13 Oct 2004 10:50:05 +0200 Subject: Undetermined states Message-ID: <1097657405.9841.10.camel@localhost> Hello all, I have nagios running for a few months now, and I configured it to use a database to store all the data. When I request a trend or availability histogram of any switch or server that hasn't been down since the nagios start, it contains no data until a moment the switch or server goes down. After that point, the data is collected nicely. So the '% Time Undetermined' is for some hosts '100.000%' and for others close to 0%. Anybody a clue how this can be? System: Gentoo Linux Kernel: 2.6.5 Nagios: 1.2 (nagios-core : 1.2-r2) Regards, -- Toni Van Remortel HA - Dept. Ontwerpwetenschappen ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Wed Oct 13 12:15:54 2004 From: andre.bergei at ementor.no (=?ISO-8859-1?Q?Andr=E9?= Bergei) Date: Wed, 13 Oct 2004 12:15:54 +0200 Subject: Soft problems and Tactical overview on Nagios 1.2 In-Reply-To: <1097609529.8133.1996.camel@tesuji.nac.uci.edu> References: <20041012151023.50482.qmail@restricted.dyndns.org> <214580778.20041012191456@gmx.net> <20041012184711.66818.qmail@restricted.dyndns.org> <1097609529.8133.1996.camel@tesuji.nac.uci.edu> Message-ID: <1097662553.9086.23.camel@6-allhosts> Hi group. I would like to patch the tac.cgi in order to filter out "soft" problems from "unhandeled problems" , the way I see it an service is not down before it reaches hard state, and it's important that the tactical overview reflect this. Just want to check if anyone out there have done this allready, and might want to share the patch :) cheers /andr? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jritchie at bible.edu Wed Oct 13 14:03:14 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Wed, 13 Oct 2004 08:03:14 -0400 Subject: Your Mail Command Message-ID: <20041013080314.29dab2f8@penguin> Just out of dull curiosity and wondering if I can learn something or get some good ideas for improvement, I'm wondering if everyone wouldn't mind sharing the command they use to send email from nagios out to others. I'll start: /usr/bin/printf "Subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$\n **\n %b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/sbin/ssmtp $CONTACTEMAIL$ This is mostly the default modified so that I can use ssmtp, a simple ssmtp daemon allowing me to send email to others, but it does not receive anything. Configuration is also incredibly simple. I use it on a number of my Gentoo boxes so they can talk back to me. I moved the Subject line into the first line of the body of the message to be compatible with ssmtp. JSR/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsandoval at achs.cl Wed Oct 13 15:33:13 2004 From: jsandoval at achs.cl (Sandoval, Julio) Date: Wed, 13 Oct 2004 09:33:13 -0400 Subject: Preventing false errors Message-ID: <706C33200E04994E9BB6EE3E21E4C15E6F6294@ACHS-E2K01.achs.cl> Considered Nagios List, I need to know the parent schema in the following case: <> I believed this: The parent for the host (serverx) is the next hop to Internet, but reading the documentation, it say that the parent of the host is the next hop to Nagios Server. Note: Sorry for my english, and for the rich text mail. Plase i hope for yours responses. Thank! Julio Sandoval Schwartzmann -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Tedman Eng Enviado el: martes, 12 de octubre de 2004 16:55 Para: Nagios CC: 'Richard Thomas' Asunto: RE: [Nagios-users] Preventing false errors Simple solution: add the ISP's router as parent to all internet-based hosts. Parent can be specified in the template host, which should make the change relatively painless. Nagios | | ISP router / \ / \ / \ host1 host2 -----Original Message----- From: Richard Thomas [mailto:lists at cyberlot.net] Sent: Tuesday, October 12, 2004 11:27 AM To: Nagios Subject: [Nagios-users] Preventing false errors Is there a way to setup the monitoring service so it monitors its own server and does not send errors if its down.. Example Server 1 - Nagios Server Server 2 - Monitored Server If the ISP for server 1 hiccups I get errors reporting Server 2, I would like to prevent this. -- Richard Thomas Cyberlot Technologies Group Inc. 507.398.4124 - Voice ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: ole0.bmp Type: image/bmp Size: 9662 bytes Desc: ole0.bmp URL: From Tom.DeBlende at dhl.com Wed Oct 13 15:06:14 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Wed, 13 Oct 2004 15:06:14 +0200 Subject: Your Mail Command In-Reply-To: <20041013080314.29dab2f8@penguin> References: <20041013080314.29dab2f8@penguin> Message-ID: <416D2846.3080406@dhl.com> /bin/echo -e '***** Nagios 2.0 *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$\n\nDuration: $SERVICEDURATION$' | REPLYTO=tom.deblende at dhl.com /usr/bin/mutt -s '** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$: $SERVICEDESC$ is $SERVICESTATE$ **' $CONTACTEMAIL$ Josiah Ritchie wrote: >Just out of dull curiosity and wondering if I can learn something or get >some good ideas for improvement, I'm wondering if everyone wouldn't mind >sharing the command they use to send email from nagios out to others. > >I'll start: > /usr/bin/printf "Subject: ** $NOTIFICATIONTYPE$ alert - >$HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$\n **\n %b" "***** Nagios >*****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: >$SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: >$SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | >/usr/sbin/ssmtp $CONTACTEMAIL$ > >This is mostly the default modified so that I can use ssmtp, a simple ssmtp >daemon allowing me to send email to others, but it does not receive >anything. Configuration is also incredibly simple. I use it on a number of >my Gentoo boxes so they can talk back to me. I moved the Subject line into >the first line of the body of the message to be compatible with ssmtp. > >JSR/ > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 13 15:06:37 2004 From: marc at ena.com (Marc Powell) Date: Wed, 13 Oct 2004 08:06:37 -0500 Subject: Undetermined states Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BE03@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Toni Van Remortel > Sent: Wednesday, October 13, 2004 3:50 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Undetermined states > > Hello all, > > I have nagios running for a few months now, and I configured it to use a > database to store all the data. > > When I request a trend or availability histogram of any switch or server > that hasn't been down since the nagios start, it contains no data until > a moment the switch or server goes down. After that point, the data is > collected nicely. > > So the '% Time Undetermined' is for some hosts '100.000%' and for others > close to 0%. > > Anybody a clue how this can be? Nagios cannot determine the initial state of the host or service within your selected reporting period. http://www.nagios.org/faqs/viewfaq.php?faq_id=136 If you restart nagios often then logging of initial states on restart will help as well. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 13 15:17:23 2004 From: marc at ena.com (Marc Powell) Date: Wed, 13 Oct 2004 08:17:23 -0500 Subject: How to look at history of a specific Service? Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BE05@mismail.ena.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Jan Scholten > Sent: Tuesday, October 12, 2004 10:13 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to look at history of a specific Service? > > I'd like to see the history of Check Results. > > My problem is: > (wow that took long) > > I receive a lot of TRAPS that are "OK" but is it possible to see the > output of the transmitted check result? > I tried every point for View XX history and i'm out of luck. > I just want to have the ability to read all the Results for OK Messages.. > > Hope somebody can understand that.. I'm confused Nagios only really logs status changes. You can tell it to log initial states, host/service retries and passive checks as well by enabling those options in nagios.cfg. If you retrieve your trap results through active checks then I do not believe that you can log all the OK states. If you retrieve your trap results through passive checks then the option to log_passive_service_checks may provide the functionality you're looking for but I'm not sure the reporting cgi's will display those results. You'll have to test that. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Wed Oct 13 15:43:30 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 13 Oct 2004 09:43:30 -0400 Subject: Undetermined states In-Reply-To: <1097657405.9841.10.camel@localhost> References: <1097657405.9841.10.camel@localhost> Message-ID: <1097675010.18951.17.camel@pel> On Wed, 2004-10-13 at 04:50, Toni Van Remortel wrote: > Hello all, > > I have nagios running for a few months now, and I configured it to use a > database to store all the data. > > When I request a trend or availability histogram of any switch or server > that hasn't been down since the nagios start, it contains no data until > a moment the switch or server goes down. After that point, the data is > collected nicely. > > So the '% Time Undetermined' is for some hosts '100.000%' and for others > close to 0%. > > Anybody a clue how this can be? Nagios assumes a host is up and doesn't actually check if its up or not until one of its services hits a non-OK state. Thus, all the time before the first error is undetermined. You can fix this in your graphs by telling it to assume all hosts start as up. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmaher at acetechnology.com Wed Oct 13 16:04:47 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 13 Oct 2004 10:04:47 -0400 Subject: Nagios 2.0 hanging on startup, consuming 99% CPU Message-ID: Hello all, I grabbed the 2.x CVS release yesterday. Nagios compiled clean, much to my delight. After reading through the changelog and making the required edits to my 1.x config files, I started Nagios up. Unfortunately, it hung. A quick look at top showed that it was consuming 99% CPU while it was hung. I ctrl-c'd out, and checked the logfiles. syslog had only the following entries: Oct 13 09:45:09 am2dev nagios: Nagios 2.0a1 starting... (PID=31022) Oct 13 09:45:09 am2dev nagios: LOG VERSION: 2.0 I ran the config file syntax checker (nagios -v), and received the following output: Nagios 2.0a1 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 11-18-2003 License: GPL Reading configuration data... Running pre-flight check on configuration data... Checking services... Checked 8 services. Checking hosts... Checked 4 hosts. Checking host groups... Checked 3 host groups. Checking service groups... Checked 0 service groups. Checking contacts... That's where it hangs and eats the processor. I let it sit for about 10 minutes before finally ctrl-c'ing out. The symptoms are easily reproducible. Here is the *only* contact definition in my contacts.cfg: define contact{ contact_name nagios alias Nagios Admin service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email dmaher at acetechnology.com } Does anybody have any ideas? -- Daniel Maher System Engineer ACE TECHNOLOGY INC. 593-100, boul Alexis-Nihon St-Laurent (Qu?bec) H4M 2P1 Tel: 514-485-2307 Fax: 514-485-2494 dmaher at acetechnology.com www.acetechnology.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From rwaddell at ritzcamera.com Wed Oct 13 16:06:31 2004 From: rwaddell at ritzcamera.com (Randie Waddell) Date: Wed, 13 Oct 2004 10:06:31 -0400 Subject: Unreachable hosts not showing on the tactical overview Message-ID: <200410131006.31657.rwaddell@ritzcamera.com> Hello to all, I have recently upgraded from 1.2 to 2.0a1 and noticed a little problem, that I can't explain. I have 2000 hosts, and 1000 of those hosts have a parent to each. The problem I'm noticing is that if one of the parents goes 'DOWN', it also says that the child host behind it is 'DOWN' as well. But if I look at the trends for the child host, it shows up as 'UNREACHABLE' on the graph. I did not experience this problem with 1.2 and was curious if anyone else out that as seen the same problem, or has fixed it? Under 1.2, if the parent went 'DOWN' the child host behind it would go into the 'UNREACHABLE' column in that tactical overview. Any information would be appreciated. Randie ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 13 15:59:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Oct 2004 15:59:11 +0200 Subject: Preventing false errors In-Reply-To: <706C33200E04994E9BB6EE3E21E4C15E6F6294@ACHS-E2K01.achs.cl> References: <706C33200E04994E9BB6EE3E21E4C15E6F6294@ACHS-E2K01.achs.cl> Message-ID: <416D34AF.7020004@op5.se> Sandoval, Julio wrote: > Considered Nagios List, > > I need to know the parent schema in the following case: > > <> > > I believed this: The parent for the host (serverx) is the next hop to > Internet, but reading the documentation, it say that the parent of > the host is the next hop to Nagios Server. > > Note: Sorry for my english, and for the rich text mail. > > Plase i hope for yours responses. Thank! Julio Sandoval Schwartzmann > The documentation doesn't lie (usually). Get used to trusting it. It will save you a lot of headache later on. > > -----Mensaje original----- De: > nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de Tedman > Eng Enviado el: martes, 12 de octubre de 2004 16:55 Para: Nagios CC: > 'Richard Thomas' Asunto: RE: [Nagios-users] Preventing false errors > > > Simple solution: add the ISP's router as parent to all internet-based > hosts. Parent can be specified in the template host, which should > make the change relatively painless. > > Nagios | | ISP router / \ / \ / \ host1 host2 > > -----Original Message----- From: Richard Thomas > [mailto:lists at cyberlot.net] Sent: Tuesday, October 12, 2004 11:27 AM > To: Nagios Subject: [Nagios-users] Preventing false errors > > > Is there a way to setup the monitoring service so it monitors its own > server and does not send errors if its down.. > > Example > > Server 1 - Nagios Server > > > Server 2 - Monitored Server > > If the ISP for server 1 hiccups I get errors reporting Server 2, I > would like to prevent this. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 13 15:56:13 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Oct 2004 15:56:13 +0200 Subject: Your Mail Command In-Reply-To: <20041013080314.29dab2f8@penguin> References: <20041013080314.29dab2f8@penguin> Message-ID: <416D33FD.6040908@op5.se> Josiah Ritchie wrote: > Just out of dull curiosity and wondering if I can learn something or get > some good ideas for improvement, I'm wondering if everyone wouldn't mind > sharing the command they use to send email from nagios out to others. > We do it something like this: notify -m "$CONTACTEMAIL$" -p "$CONTACTPAGER$" -u "$CONTACTNAME$" -t "$NOTIFICATIONTYPE$" HOSTNAME="$HOSTNAME$" SERVICEDESC="$SERVICEDESC$" and so on. It's really quite nifty, because it lets us use skins to format the email in a much prettier way than pasting an entire message body in the configuration file. It would be simple to select a skin of a particular language based on locale settings. The skin-file is selected based on notification type and whether it's an email or pager notification (it handles both in one go). Each user can also have their own message look if they like, without specifying a load of different and annoyingly long notification commands. > I'll start: > /usr/bin/printf "Subject: ** $NOTIFICATIONTYPE$ alert - > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$\n **\n %b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | > /usr/sbin/ssmtp $CONTACTEMAIL$ > > This is mostly the default modified so that I can use ssmtp, a simple ssmtp > daemon allowing me to send email to others, but it does not receive > anything. Configuration is also incredibly simple. I use it on a number of > my Gentoo boxes so they can talk back to me. I moved the Subject line into > the first line of the body of the message to be compatible with ssmtp. > > JSR/ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Bill.Barkell at mail.house.gov Wed Oct 13 16:27:52 2004 From: Bill.Barkell at mail.house.gov (Barkell, Bill) Date: Wed, 13 Oct 2004 10:27:52 -0400 Subject: Check_snmp problems Message-ID: <9362C7DD6454114882BF5E53EF88F65D0476A7AF@hrm24.houseexchange.us.house.gov> Julian, The -m: option fixed the problem! Thanks for your help. Bill Barkell -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Julian Hein Sent: Saturday, October 09, 2004 6:01 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_snmp problems Hi Bill, > I was unable to find a solution to this problem from a search of the list. > > When using check_snmp to check cpu usage on a host, I get warnings even when > the retrieved value falls within an acceptable range. Assuming that my > syntax was wrong, I tried multiple variations, but the result is the same. > > Does anyone have a solution to this problem? > > monitor-server# ./check_snmp -v -H 192.168.123.156 -o > .1.3.6.1.2.1.25.3.3.1.2.1 -w 0:70 -c 0:90 -C public > /usr/local/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public > 192.168.123.156: 161 > .1.3.6.1.2.1.25.3.3.1.2.1 > HOST-RESOURCES-MIB::hrProcessorLoad.1 = INTEGER: 1 > SNMP WARNING - 1 This is a flaw with check_snmp and MIBs with incorrect syntax. If you use OIDs, you could just disable MIB parsing with "-m :". It is also documented in the Nagios FAQ: http://www.nagios.org/faqs/viewfaq .php?faq_id=208 Julian ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed Oct 13 16:48:27 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 13 Oct 2004 07:48:27 -0700 Subject: Nagios 2.0 hanging on startup, consuming 99% CPU In-Reply-To: References: Message-ID: <20041013144827.GG31458@zippy.toger.us> On Wed, Oct 13, 2004 at 10:04:47AM -0400, Daniel maher wrote: > That's where it hangs and eats the processor. I let it sit > for about 10 minutes before finally ctrl-c'ing out. The > symptoms are easily reproducible. Here is the *only* contact > definition in my contacts.cfg: Does it exhibit the behavior if you add another contact? I seem to recall a list posting about a bug in the circular-dependency code that occured if there is only one object. I think a patch was posted as well. -Jason Martin -- Facts are stubborn things. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From marc at ena.com Wed Oct 13 16:45:54 2004 From: marc at ena.com (Marc Powell) Date: Wed, 13 Oct 2004 09:45:54 -0500 Subject: Preventing false errors Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BE0F@mismail.ena.com> The checks originate from Nagios not the Internet so Nagios is the center of the universe. All parents are determined by their relationship to Nagios and the host being monitored. Remember, parenting is used to determine why Nagios might not be able to reach a specific host, not whether that host can reach the Internet. -- Marc ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Sandoval, Julio Sent: Wednesday, October 13, 2004 8:33 AM To: Nagios Cc: Richard Thomas Subject: RE: [Nagios-users] Preventing false errors Considered Nagios List, I need to know the parent schema in the following case: ole0.bmp I believed this: The parent for the host (serverx) is the next hop to Internet, but reading the documentation, it say that the parent of the host is the next hop to Nagios Server. Note: Sorry for my english, and for the rich text mail. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From LLawrence at osc.uscg.mil Wed Oct 13 17:30:30 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Wed, 13 Oct 2004 11:30:30 -0400 Subject: Undetermined states Message-ID: <13828F680182D511893300508BD6831706E58344@oscex2.osc.uscg.mil> Folks, We have also noticed this feature of nagios availability reporting. Though the options for selecting the initial state and/or backtracking through archives supply a solution, the solution is really not very intuitive and is difficult to explain to users. I have been considering looking at the code to see if dumping a current status into each log file as it is created (when it is automatically rolled) might be a solution. Does anyone familiar with the code have any comments on whether this idea is likely to be effective or problematic? Thanks, Lynne Lawrence QSS/USCG > > Hello all, > > > > I have nagios running for a few months now, and I > configured it to use > a > > database to store all the data. > > > > When I request a trend or availability histogram of any switch or > server > > that hasn't been down since the nagios start, it contains no data > until > > a moment the switch or server goes down. After that point, > the data is > > collected nicely. > > > > So the '% Time Undetermined' is for some hosts '100.000%' and for > others > > close to 0%. > > > > Anybody a clue how this can be? > > Nagios cannot determine the initial state of the host or > service within > your selected reporting period. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=136 > > If you restart nagios often then logging of initial states on restart > will help as well. > > -- > Marc > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal > Use IT products in your business? Tell us what you think of > them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to > find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Wed Oct 13 17:36:17 2004 From: b00mer at gmx.net (Hendrik B) Date: Wed, 13 Oct 2004 17:36:17 +0200 Subject: Undetermined states In-Reply-To: <1097675010.18951.17.camel@pel> References: <1097657405.9841.10.camel@localhost> <1097675010.18951.17.camel@pel> Message-ID: <1279472876.20041013173617@gmx.net> Guten Tag Sean Dilda, am Mittwoch, 13. Oktober 2004 um 15:43 schrieben Sie: SD> On Wed, 2004-10-13 at 04:50, Toni Van Remortel wrote: >> Hello all, >> >> I have nagios running for a few months now, and I configured it to use a >> database to store all the data. >> >> When I request a trend or availability histogram of any switch or server >> that hasn't been down since the nagios start, it contains no data until >> a moment the switch or server goes down. After that point, the data is >> collected nicely. >> >> So the '% Time Undetermined' is for some hosts '100.000%' and for others >> close to 0%. >> >> Anybody a clue how this can be? SD> Nagios assumes a host is up and doesn't actually check if its up or not SD> until one of its services hits a non-OK state. Thus, all the time SD> before the first error is undetermined. SD> You can fix this in your graphs by telling it to assume all hosts start SD> as up. SD> ------------------------------------------------------- SD> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal SD> Use IT products in your business? Tell us what you think of them. Give us SD> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more SD> http://productguide.itmanagersjournal.com/guidepromo.tmpl SD> _______________________________________________ SD> Nagios-users mailing list SD> Nagios-users at lists.sourceforge.net SD> https://lists.sourceforge.net/lists/listinfo/nagios-users SD> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. SD> ::: Messages without supporting info will risk being sent to /dev/null Hi there, on this part I have a question. Has anyone a tip for me how I can say that Nagios / the CGIs should automatically should assume a host to be up? I think the default is to say they are indeterminated, can I change this default? Best regards Hendrik ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 13 17:59:42 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Oct 2004 17:59:42 +0200 Subject: Nagios 2.0 hanging on startup, consuming 99% CPU In-Reply-To: <20041013144827.GG31458@zippy.toger.us> References: <20041013144827.GG31458@zippy.toger.us> Message-ID: <416D50EE.7010201@op5.se> Jason Martin wrote: > On Wed, Oct 13, 2004 at 10:04:47AM -0400, Daniel maher wrote: > >>That's where it hangs and eats the processor. I let it sit >>for about 10 minutes before finally ctrl-c'ing out. The >>symptoms are easily reproducible. Here is the *only* contact >>definition in my contacts.cfg: > > Does it exhibit the behavior if you add another contact? I seem > to recall a list posting about a bug in the circular-dependency > code that occured if there is only one object. I think a patch > was posted as well. > That's somewhat correct. It's not a circular dependency, but rather a linked list circularity where Nagios doesn't check if ->next is first, so to speak, so it parses the same object over and over again. I too remember someone crude-hacking their way around this, but I can't say for sure it will fix the problem or not. > -Jason Martin -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt at bravenet.com Wed Oct 13 19:55:46 2004 From: matt at bravenet.com (Matthew Kent) Date: Wed, 13 Oct 2004 10:55:46 -0700 Subject: Nagios 2.0 hanging on startup, consuming 99% CPU In-Reply-To: References: Message-ID: <1097690145.3846.31.camel@fuego> > That?s where it hangs and eats the processor. I let it sit for about > 10 minutes before finally ctrl-c?ing out. The symptoms are easily > reproducible. Here is the *only* contact definition in my > contacts.cfg: Try applying this patch http://article.gmane.org/gmane.network.nagios.devel/1180 Might be worth subscribing to nagios-devel too. -- Matthew Kent \ SA \ bravenet.com ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Wed Oct 13 19:17:42 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 13 Oct 2004 13:17:42 -0400 Subject: check_snmp hard question Message-ID: Hi all, I have some kind of problem with check_snmp. When I use the command... ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.2.2.1.8.1 ...to test the command on a router, the result is :"SNMP OK - up(1)" When I use the same command inside Nagios, the result is :"OK - 1" How can I get my "up" back? --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From carlosandres_23 at yahoo.com Wed Oct 13 19:41:07 2004 From: carlosandres_23 at yahoo.com (Carlos Medina) Date: Wed, 13 Oct 2004 10:41:07 -0700 (PDT) Subject: check_traffic not working Message-ID: <20041013174107.39884.qmail@web60008.mail.yahoo.com> Hi all, im trying to check the traffic of some of my network routers. For this im using the check_traffic plug-in. I have 2 routers, one of them is a CISCO the other one is a LINKSYS. All what i added to the configuration of each one is the community group that i leave as same as on the nagios check traffic configuration file. I have SNMP installed on the nagios machine. I run the make-config (nagios check_traffic configuration file) script to detect the network interfaces, for CISCO detects 3 interfaces, ETHERNET0. SERIAL0 and SERIAL1. For LINKSYS doesnt detect any interface. When i check the service on the nagios WEB Site, the service for both routers is OK but it doesnt show any statistics, appears the following: OKTotal RX Bytes: 0.00 MB, Total TX Bytes: 0.00 MB Average Traffic: 0.00 B/s (0.0%) in, 0.00 B/s (0.0%) out I dont know if maybe i have something wrong on the check_traffic configuration file, or maybe i have to configure an additional parameter in the routers. I dont know either how can i do to display the graphics. Any help would be useful. Thanks a lot. Carlos Andres Medina --------------------------------- Do you Yahoo!? Express yourself with Y! Messenger! Free. Download now. -------------- next part -------------- An HTML attachment was scrubbed... URL: From cortez at tiscali.it Wed Oct 13 19:53:05 2004 From: cortez at tiscali.it (Luca Corti) Date: Wed, 13 Oct 2004 19:53:05 +0200 Subject: CGI problems Message-ID: <1097689985.3037.8.camel@luca> Hello, I have a problem with the web interface CGIs. I get the following error: Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' for update! The permissions on the external command file and/or directory may be incorrect. Read the FAQs on how to setup proper permissions. An error occurred while attempting to commit your command for processing. Return from whence you came This happens if I try to force an immediate check on a host, or if I try to set anything, while I can safely "browse" and see the host and services status. It seems an issue with writing to '/usr/local/nagios/var/rw/nagios.cmd' but: prw-rw---- 1 nagios nagios 0 Oct 4 22:21 nagios.cmd any ideas? thanks Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Oct 13 20:08:23 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 13 Oct 2004 20:08:23 +0200 Subject: Undetermined states In-Reply-To: <13828F680182D511893300508BD6831706E58344@oscex2.osc.uscg.mil> References: <13828F680182D511893300508BD6831706E58344@oscex2.osc.uscg.mil> Message-ID: <416D6F17.9010901@op5.se> Lawrence, Lynne wrote: > Folks, > > We have also noticed this feature of nagios availability reporting. Though > the options for selecting the initial state and/or backtracking through > archives supply a solution, the solution is really not very intuitive and is > difficult to explain to users. I have been considering looking at the code > to see if dumping a current status into each log file as it is created (when > it is automatically rolled) might be a solution. I suggested this myself to Ethan, and he agreed that it was the best solution and told me he would implement it in CVS for 2.0. I haven't seen it there though, but it might be a new config option that I haven't read about yet. > Does anyone familiar with > the code have any comments on whether this idea is likely to be effective or > problematic? > > Thanks, > > Lynne Lawrence > QSS/USCG > >>>Hello all, >>> >>>I have nagios running for a few months now, and I >> >>configured it to use >>a >> >>>database to store all the data. >>> >>>When I request a trend or availability histogram of any switch or >> >>server >> >>>that hasn't been down since the nagios start, it contains no data >> >>until >> >>>a moment the switch or server goes down. After that point, >> >>the data is >> >>>collected nicely. >>> >>>So the '% Time Undetermined' is for some hosts '100.000%' and for >> >>others >> >>>close to 0%. >>> >>>Anybody a clue how this can be? >> >>Nagios cannot determine the initial state of the host or >>service within >>your selected reporting period. >> >>http://www.nagios.org/faqs/viewfaq.php?faq_id=136 >> >>If you restart nagios often then logging of initial states on restart >>will help as well. >> >>-- >>Marc >> >> >> >>------------------------------------------------------- >>This SF.net email is sponsored by: IT Product Guide on >>ITManagersJournal >>Use IT products in your business? Tell us what you think of >>them. Give us >>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to >>find out more >>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onramp at theoffice.net Wed Oct 13 21:03:48 2004 From: onramp at theoffice.net (Ronald) Date: Thu, 14 Oct 2004 05:03:48 +1000 Subject: Question: Service Availability Report Message-ID: Hi guys, Nagios Ver: 1.2 Customisations: none Viewing the availability report -> host -> period (last month) -> first assumed state (host up) I get 100% Unscheduled Up time. State breakdown for host services shows the following: Service,% Time OK,% Time Warning,% Time Unknown,% Time Critical,% Time Undetermined HTTP,48.694% (99.963%),0.000% (0.000%),0.000% (0.000%),0.018% (0.037%),51.288% If I then view the service - and change "First assumed service state:" from "unspecified" to "service OK" - I now get a reading approximating 100% (less the critical time). My question(1): how do I remove "% time undertermined" - short of changing the source. It must be a configuration error on my part because it's calculated "% time OK" for 48.694% of the month without me having to change the "First assumed service state:" Q2: For the different service I'm getting the following CRITICAL state breakdown: State,Type / Reason,Time,% Total Time,% Known Time Unscheduled,49710d 5h 25m 40s,-0.145%,-0.145%, Scheduled,0d 1h 51m 6s,0.257%,0.257%, Total 0d 0h 48m 30s 0.112% 0.112% How did it get "49710d 5h 25m 40s" ?? BTW I've had a look through all system clocks and it's synced. Appreciate any response! Ronald ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 13 21:08:55 2004 From: marc at ena.com (Marc Powell) Date: Wed, 13 Oct 2004 14:08:55 -0500 Subject: CGI problems Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BE39@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Luca Corti Sent: Wednesday, October 13, 2004 12:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CGI problems > Hello, > > I have a problem with the web interface CGIs. I get the following error: > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for update! > > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > > An error occurred while attempting to commit your command for processing. > > Return from whence you came > > This happens if I try to force an immediate check on a host, or if I try to > set anything, while I can safely "browse" and see the host and services > status. It seems an issue with writing to > '/usr/local/nagios/var/rw/nagios.cmd' but: > > prw-rw---- 1 nagios nagios 0 Oct 4 22:21 nagios.cmd > > > any ideas? The above isn't how the documentation explains how to set up external command functionality but will work if your web server is part of the nagios group. Is it? Have you restarted your web server since adding it to that group? If not, you should read the documentation on External Commands, specifically the page about setting proper permissions. There's nothing magical about it and it follows standard unix file permission logic. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ialsafa at getcollc.com Wed Oct 13 22:28:14 2004 From: ialsafa at getcollc.com (Israfil Alsafa) Date: Wed, 13 Oct 2004 15:28:14 -0500 Subject: CGI problems Message-ID: Make sure the sticky bit is on /usr/local/nagios/var/rw directory. Also, make sure that the webserver which may be called 'wwwrun' is part of the same group as nagios. Then, it should work with no problems. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc Powell Sent: Wednesday, October 13, 2004 2:09 PM To: Luca Corti; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] CGI problems ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Luca Corti Sent: Wednesday, October 13, 2004 12:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CGI problems > Hello, > > I have a problem with the web interface CGIs. I get the following error: > > Error: Could not open command file '/usr/local/nagios/var/rw/nagios.cmd' > for update! > > The permissions on the external command file and/or directory may be > incorrect. Read the FAQs on how to setup proper permissions. > > An error occurred while attempting to commit your command for processing. > > Return from whence you came > > This happens if I try to force an immediate check on a host, or if I try to > set anything, while I can safely "browse" and see the host and services > status. It seems an issue with writing to > '/usr/local/nagios/var/rw/nagios.cmd' but: > > prw-rw---- 1 nagios nagios 0 Oct 4 22:21 nagios.cmd > > > any ideas? The above isn't how the documentation explains how to set up external command functionality but will work if your web server is part of the nagios group. Is it? Have you restarted your web server since adding it to that group? If not, you should read the documentation on External Commands, specifically the page about setting proper permissions. There's nothing magical about it and it follows standard unix file permission logic. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gboutwel at valleyhope.com Wed Oct 13 22:36:24 2004 From: gboutwel at valleyhope.com (George P Boutwell) Date: Wed, 13 Oct 2004 15:36:24 -0500 Subject: How to get Nagios to monitor Windows NIC Stats Message-ID: <10976997795909000@mail2.ruraltel.net> Hey, I'm trying to get Nagios (on Linux) to Monitor Windows NT 4 (a couple) and Windows 2000 Server (a dozen or so) server's NIC stats. I tried with NSClient which is already doing a bang-up job monitoring several other Performance Counters for us, but the following (for example) doesn't work: ./check_nt -H 192.168.9.254 -v COUNTER -l "\\Network Interface\\Bytes Total/sec\\" It returns 0, and puts an ITEM_NOT_VALID error in the Event Log. Anyone else using Nagios to monitor Windows Bandwidth/NIC stats? Specifically we'd like to monitor: Current Bandwidth Total Bytes/sec Total Bytes Sent/sec Total Bytes Received/sec Which are all available in the WMI/Performance counters. Thanks, George --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.776 / Virus Database: 523 - Release Date: 10/12/2004 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 13 22:41:29 2004 From: marc at ena.com (Marc Powell) Date: Wed, 13 Oct 2004 15:41:29 -0500 Subject: Question: Service Availability Report Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BE4D@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ronald Sent: Wednesday, October 13, 2004 2:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question: Service Availability Report > Hi guys, > > Nagios Ver: 1.2 > Customisations: none > > Viewing the availability report -> host -> period (last month) > -> first assumed state (host up) > > I get 100% Unscheduled Up time. > > State breakdown for host services shows the following: > > Service,% Time OK,% Time Warning,% Time Unknown,% Time Critical,% Time > Undetermined HTTP,48.694% (99.963%),0.000% (0.000%),0.000% (0.000%),0.018% > (0.037%),51.288% > > If I then view the service - and change "First assumed service state:" from > "unspecified" to "service OK" - I now get a reading approximating 100% (less > the critical time). > > My question(1): how do I remove "% time undertermined" - short of changing > the source. It must be a configuration error on my part because it's > calculated "% time OK" for 48.694% of the month without me having to change > the "First assumed service state:" Please see the discussion from this morning on this very subject. Nagios won't lie to you and say it's OK if it can't determine from the log files that it was in fact OK, hence the Undetermined block. The FAQ's have an answer to this as well. > Q2: For the different service I'm getting the following CRITICAL state > breakdown: > > State,Type / Reason,Time,% Total Time,% Known Time Unscheduled,49710d 5h 25m > 40s,-0.145%,-0.145%, Scheduled,0d 1h 51m 6s,0.257%,0.257%, > > Total 0d 0h 48m 30s 0.112% 0.112% > > How did it get "49710d 5h 25m 40s" ?? > > BTW I've had a look through all system clocks and it's synced. That's bizarre and something I have not ever seen before. Is there anything unusual about your log files? Did you change the log rotation rate at any time or have a massive time slew? What was your reporting period and report options? Is this a new service or one that's existed for the entire duration of your reporting period? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onramp at theoffice.net Thu Oct 14 00:12:45 2004 From: onramp at theoffice.net (Ronald) Date: Thu, 14 Oct 2004 08:12:45 +1000 Subject: Question: Service Availability Report Message-ID: <72c89605.8ed5790d.edcbe00@gol-mas2.austarnet.com.au> >> Q2: For the different service I'm getting the following CRITICAL state >> breakdown: >> >> State,Type / Reason,Time,% Total Time,% Known Time Unscheduled,49710d >5h 25m >> 40s,-0.145%,-0.145%, Scheduled,0d 1h 51m 6s,0.257%,0.257%, >> >> Total 0d 0h 48m 30s 0.112% 0.112% >> >> How did it get "49710d 5h 25m 40s" ?? >> >> BTW I've had a look through all system clocks and it's synced. > >That's bizarre and something I have not ever seen before. Is there >anything unusual about your log files? Did you change the log rotation >rate at any time or have a massive time slew? What was your reporting >period and report options? Is this a new service or one that's existed >for the entire duration of your reporting period? 1) There is maybe - 12 services and 12 hosts - this is the only service showing this behaviour 2) No time slew. As an aside, the system clock is synced via NTP nightly 3) Log rotation has remained the same 4) It's a new service which has existed for more the last 6 weeks. The report was generated for the last month. 5) Reporting options: Assume initial State: YEs First assumed state: Service OK Report period: Current time range Assume state retention: Yes Backtracked archives: 1 Browsing through the service log entries, I noticed the following: Event Start Time,Event End Time,Event Duration,Event/State Type,Event/State Information 13-10-2004 03:36:12,13-10-2004 03:42:22,0d 0h 6m 10s,SERVICE CRITICAL,Connection refused by host 13-10-2004 03:42:22,01-10-2004 00:00:00,49698d 2h 45m 54s+ ,SERVICE OK,HTTP ok: HTTP/1.1 200 OK - 4.735 second response time The entries are for October - but the report was generated for the month of September. Clues as to what I'm doing wrong? Thanks! Ronald ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Oct 14 00:34:54 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 14 Oct 2004 11:34:54 +1300 Subject: How to get Nagios to monitor Windows NIC Stats In-Reply-To: <10976997795909000@mail2.ruraltel.net> References: <10976997795909000@mail2.ruraltel.net> Message-ID: <00df01c4b174$dc78bf40$b004d882@itss.auckland.ac.nz> You can do this with nsclient, but remember that a network interface statistic has multiple instances. Therefore, you need to specify the instance... this can produce horribly complex command lines. ./check_nt -H 192.168.9.254 -v COUNTER -l '\Network Interface(My network card instance name)\Bytes Total/sec" You use a similar method for everything else that uses instances (eg Disk). We are using nsclient here for monitoring network interfaces, disk, and countless other things with no problems. Steve --- Steve Shipway: ITSS, University of Auckland Email: s.shipway at auckland.ac.nz Web: http://www.steveshipway.org/ ** We can only discover new oceans when we have the ** ** courage to lose sight of the shore. ** >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >George P Boutwell >Sent: Thursday, 14 October 2004 9:36 a.m. >To: nagios-users at lists.sf.net >Subject: [Nagios-users] How to get Nagios to monitor Windows NIC Stats > > >Hey, > > I'm trying to get Nagios (on Linux) to Monitor Windows NT 4 >(a couple) and Windows 2000 Server (a dozen or so) server's NIC stats. > > I tried with NSClient which is already doing a bang-up job >monitoring several other Performance Counters for us, but the >following (for example) doesn't work: > >./check_nt -H 192.168.9.254 -v COUNTER -l "\\Network >Interface\\Bytes Total/sec\\" > > It returns 0, and puts an ITEM_NOT_VALID error in the Event Log. > > Anyone else using Nagios to monitor Windows Bandwidth/NIC stats? > >Specifically we'd like to monitor: > > Current Bandwidth > Total Bytes/sec > Total Bytes Sent/sec > Total Bytes Received/sec > >Which are all available in the WMI/Performance counters. > >Thanks, > >George > >--- >Outgoing mail is certified Virus Free. >Checked by AVG anti-virus system (http://www.grisoft.com). >Version: 6.0.776 / Virus Database: 523 - Release Date: 10/12/2004 > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on >ITManagersJournal Use IT products in your business? Tell us >what you think of them. Give us Your Opinions, Get Free >ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guide>promo.tmpl > >_______________________________________________ > >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS >when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From cortez at tiscali.it Thu Oct 14 09:07:00 2004 From: cortez at tiscali.it (Luca Corti) Date: Thu, 14 Oct 2004 09:07:00 +0200 Subject: CGI problems In-Reply-To: References: Message-ID: <1097737620.9959.0.camel@luca> On Wed, 2004-10-13 at 15:28 -0500, Israfil Alsafa wrote: > Make sure the sticky bit is on /usr/local/nagios/var/rw directory. Also, make sure that the webserver which may be called 'wwwrun' is part of the same group as nagios. Then, it should work with no problems. Thanks a lot. THe problem was with the apache user not being in the nagios group. Luca CONFIDENTIALITY NOTICE This message and its attachments are confidential and may also be privileged. If you are not the named recipient, please notify the sender immediately, delete this message and do not disclose the contents to any other person, do not use it for any purpose or store or copy the information in any medium. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orth at enbiz.de Thu Oct 14 09:36:17 2004 From: orth at enbiz.de (=?ISO-8859-15?Q?G=FCnther_Orth?=) Date: Thu, 14 Oct 2004 09:36:17 +0200 Subject: nagios In-Reply-To: <416D1B90.5030401@scc.uni-weimar.de> References: <416D1B90.5030401@scc.uni-weimar.de> Message-ID: <416E2C71.5010005@enbiz.de> Hallo! J.Eismann schrieb: > guten tag, > vielleicht ne dumme frage: Es gibt keine dummen Fragen, nur dumme Antworten ;-) > ich wollte ?berr?fen ob ein beliebiger prozess l?uft oder nicht (z.b. > nfsd), habe dazu aber in den standard-plugins nichts gefunden. nfsd ist ein Programm, das ?ber rpc (remote procedure calls) gesteuert wird. In dieser Antwort liegt auch schon die L?sung f?r die ?berwachung check_rpc -v -H localhost -C nfs -c2,3 Bei der ?berpr?fung mit Nagios ist es sinnvoll die Option -v wegzulassen. Das ist nur f?r den Test ?ber die Kommandozeile. Hat man nfs nur in der Version 2, so ist nach beim Parameter -c nur 2 anzugeben. Mit dem Parameter -c2,3 pr?fe ich, ob beide Versionen am Laufen sind. Wenn ich wissen m?chte, welche Programme mit check_rpc abgefragt werden k?nnen, kann ich mit check_rpc -vv -H localhost nachschauen. > mit check_procs kann ich zwar die anzahl von bestimmten prozessen > feststellen und wenn die anzahl zu gro? ist bekomme ich eine meldung, > dass will ich aber nicht. was mu? ich benutzen um zu ?berpr?fen ob ein > prozess NICHT l?uft, d.h. die anzahl ist zu klein? Leider kann ich mit check_rpc nur schauen, ob ein Programm l?uft oder nicht. Wobei wenn ein Programm per rpc l?uft, dann "vermehrt" es sich auch bei jeder Anfrage (begrenzt auf eine gewisse Anzahl, die ich entweder dem Programm als Parameter mitgebe oder beim Kompilieren festlege). Mit check_procs kann ich wiederum die Anzahl der Prozesse herausfinden: check_procs -a nfsd Wobei der Parameter -a erm?glicht, nach einem String zu suchen. Da muss ich den Namen des Programms angeben. So kann ich dann die Anzahl der Prozesse bestimmen. > f?r einen tip w?re ich dankbar. > Ich hoffe, ich konnte weiterhelfen. Gru? G?nther -- -------------------------------------------------------------------- G?nther Orth [ orth at enbiz.de ] enbiz - engineering and business solutions - Kaiserslautern, Germany Fon +49 631 310 6847. Fax +49 631 310 6849. WWW http://www.enbiz.de/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dag at bakke.com Thu Oct 14 14:08:54 2004 From: dag at bakke.com (Dag Bakke) Date: Thu, 14 Oct 2004 04:08:54 -0800 Subject: Nagios 2.0 featurelist? Message-ID: <20041014120854.2EA5EEDEA2@ws6-1.us4.outblaze.com> Is there a more or less complete list of new features in Nagios 2.0? I couldn't find one, and being a complete newbie to Nagios I didn't feel like building/installing/configuring the CVS version to set up my own demo. Yet. I have just started playing with Nagios, and from looking at the demo site (which I assume is ver 1.2), there are a few things in particular I would love to see. I would like to have a custom context menu for each icon in the "Status Map" view. This menu could contain the entry 'Configure', which would spawn the executable (telnet://, anyone?) defined in the template for this type of host (or service). It should be possible to feed the executable parameters, so one could feed it for example the IPaddress of the host. Having a 'Traps' entry which would display the last 10/50/100/all SNMP traps received from this host would be useful as well. I am sure others have good ideas for such a menu. There are plenty of crossbrowser "custom context menu" examples around. The Lotus Notes web frontend makes extensive use of it. Other examples http://www.cgi-bin.com/cgi-bin/jump2.cgi?ID=5386 http://www.dynamicdrive.com/dynamicindex1/jsdomenu/ Does this hold sufficient 'hack value' (for someone with the necessary skills) to play with? Regards, Dag B ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sam.Harris at fns.usda.gov Thu Oct 14 15:12:20 2004 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Thu, 14 Oct 2004 09:12:20 -0400 Subject: how-to for generated reports Message-ID: Anybody ever had a requirement for a formal report, I would like to submit a monthly performance report to one the clients, any idea how I can accomplish that from Anglos. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Thu Oct 14 15:20:39 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Oct 2004 15:20:39 +0200 Subject: Nagios 2.0 featurelist? In-Reply-To: <20041014120854.2EA5EEDEA2@ws6-1.us4.outblaze.com> References: <20041014120854.2EA5EEDEA2@ws6-1.us4.outblaze.com> Message-ID: <416E7D27.9090406@op5.se> Dag Bakke wrote: > Is there a more or less complete list of new features in Nagios 2.0? It's in the 'Upcoming' section. > I have just started playing with Nagios, and from looking at the > demo site (which I assume is ver 1.2), there are a few things in > particular I would love to see. > > I would like to have a custom context menu for each icon in the > "Status Map" view. > > This menu could contain the entry 'Configure', which would spawn the > executable (telnet://, anyone?) defined in the template for this > type of host (or service). Supported via hostextinfo and notes_url (Nagios 2.0 also has action_url, which is supposed to be replace this, sort of). > It should be possible to feed the executable parameters, so one could > feed it for example the IPaddress of the host. > Supported, via the $HOSTADDRESS$ macro which is expanded for hostextinfo objects. > Having a 'Traps' entry which would display the last 10/50/100/all SNMP > traps received from this host would be useful as well. > Not supported, but pretty trivial to hack up by yourself, provided you have the traps logged on your server. > There are plenty of crossbrowser "custom context menu" examples around. > The Lotus Notes web frontend makes extensive use of it. > > Other examples > http://www.cgi-bin.com/cgi-bin/jump2.cgi?ID=5386 > http://www.dynamicdrive.com/dynamicindex1/jsdomenu/ > > > Does this hold sufficient 'hack value' (for someone with the necessary > skills) to play with? > Not really. Adding javascript code to the CGI's wouldn't exactly require a lot of skill, so feel free to do so if you like. All you need is pretty much the real_html_url_path variable (a global, I think) and a couple of lines of printf(). Not exactly earthshakingly innovative either, so I'm sure pretty much anyone should be able to do it. > Regards, > > Dag B > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From krcalhoo at mtu.edu Thu Oct 14 15:25:34 2004 From: krcalhoo at mtu.edu (kevin) Date: Thu, 14 Oct 2004 09:25:34 -0400 Subject: Netapp Filer plugin In-Reply-To: <06C55848F8B5D04CBDA81EB8B0CADB7F01A00E5B@iltlv0410.atrema.deloitte.com> References: <06C55848F8B5D04CBDA81EB8B0CADB7F01A00E5B@iltlv0410.atrema.deloitte.com> Message-ID: <416E7E4E.50208@mtu.edu> Rozner, Avi (IL - Tel-Aviv) wrote: > > Hi, > > I would like to monitor Netapp Filer . > > Where can I find nagios plugin for it ? > > Thanks, > > Avi. If you download the 1.4.0alpha1 plugins there is a check_netapp plugin in the contrib directory. It is a perl plugin that will monitor overtemp, failedfan, failedpsu, and nfsops on a netapp filer. Kevin Calhoon ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gboutwel at valleyhope.com Thu Oct 14 15:49:35 2004 From: gboutwel at valleyhope.com (George P Boutwell) Date: Thu, 14 Oct 2004 08:49:35 -0500 Subject: How to get Nagios to monitor Windows NIC Stats In-Reply-To: References: Message-ID: <109776177059014406@mail1.ruraltel.net> > -----Original Message----- > You can do this with nsclient, but remember that a network interface > statistic has multiple instances. Therefore, you need to specify the > instance... this can produce horribly complex command lines. > > ./check_nt -H 192.168.9.254 -v COUNTER -l '\Network Interface(My network > card instance name)\Bytes Total/sec" > > You use a similar method for everything else that uses instances (eg > Disk).We are using nsclient here for monitoring network interfaces, disk, > and countless other things with no problems. Awesome, exactly what we where looking for. I'll give this a whirl. We are using check_nt to do lots of monitoring and finding more and more ways to tap into the WMI and monitor even more every day. Starting to really get a good picture of the systems we run, thanks to the great Nagios and helpful addition of check_nt/NSClient combo. George --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.776 / Virus Database: 523 - Release Date: 10/12/2004 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 14 16:47:46 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Oct 2004 16:47:46 +0200 Subject: how-to for generated reports In-Reply-To: References: Message-ID: <416E9192.1020004@op5.se> Harris, Sam wrote: > Anybody ever had a requirement for a formal report, I would like to > submit a monthly performance report to one the clients, any idea how I > can accomplish that from Anglos. > From Anglos; I don't know. From Nagios; In a plethora of different ways. Either by parsing the logfiles (you'll have to figure out which ones to use based on log-rotation method) or by parsing the output of status.cgi. It can be run with a cron-script from command-line, so it shouldn't be all too difficult for you. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarr at brodart.com Thu Oct 14 16:56:23 2004 From: jmarr at brodart.com (Marr, Joe) Date: Thu, 14 Oct 2004 10:56:23 -0400 Subject: NTP Warning in Nagios Message-ID: <6035911CB587A2418E439316750F7067036B8FC1@mailserver.nexus.brodart.internal> This may be a silly question, so let me apologize in advance. How do I resolve the following NTP error? NTP WARNING: Offset 73.412901 msec > +/- 60 sec, jitter 25.740 msec Joe Marr -------------- next part -------------- An HTML attachment was scrubbed... URL: From jritchie at bible.edu Thu Oct 14 17:15:06 2004 From: jritchie at bible.edu (Josiah Ritchie) Date: Thu, 14 Oct 2004 11:15:06 -0400 Subject: NTP Warning in Nagios In-Reply-To: <6035911CB587A2418E439316750F7067036B8FC1@mailserver.nexus.brodart.internal> References: <6035911CB587A2418E439316750F7067036B8FC1@mailserver.nexus.brodart.internal> Message-ID: <20041014111506.7001ec6c@penguin> On Thu, 14 Oct 2004 10:56:23 -0400 "Marr, Joe" wrote: > This may be a silly question, so let me apologize in advance. > > > > How do I resolve the following NTP error? > > > > NTP WARNING: Offset 73.412901 msec > +/- 60 sec, jitter 25.740 msec The easiest would be to just set your -j and -k params appropriately, or setup and synchronize related computers regularly to an ntp server, which I'm assuming you are doing. See the help dialog below: [penguin 2] root > /usr/nagios/libexec/check_ntp -h check_ntp (nagios-plugins 1.3.1) 1.14.2.3 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2003 Bo Kersey/Karl DeBisschop Usage: check_ntp -H [-w ] [-c ] [-j ] [-k ] [-v verbose] Checks the local timestamp offset versus with ntpdate Checks the jitter/dispersion of clock signal between and its sys.peer with ntpq -w ( --warning) Clock offset in seconds at which a warning message will be generated. Defaults to 60. -c (--critical) Clock offset in seconds at which a critical message will be generated. Defaults to 120. -j (--jwarn) Clock jitter in milliseconds at which a warning message will be generated. Defaults to 5000. -k (--jcrit) Clock jitter in milliseconds at which a warning message will be generated. Defaults to 10000. If jitter/dispersion is specified with -j or -k and ntpq times out, then a warning is returned. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net JSR/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Thu Oct 14 17:41:25 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 14 Oct 2004 08:41:25 -0700 Subject: NTP Warning in Nagios In-Reply-To: <6035911CB587A2418E439316750F7067036B8FC1@mailserver.nexus.brodart.internal> References: <6035911CB587A2418E439316750F7067036B8FC1@mailserver.nexus.brodart.internal> Message-ID: <20041014154125.GR31458@zippy.toger.us> On Thu, Oct 14, 2004 at 10:56:23AM -0400, Marr, Joe wrote: > NTP WARNING: Offset 73.412901 msec > +/- 60 sec, jitter 25.740 msec You'll want to run the 'ntpdate' command and provide it the name of your time server, and also run the xntpd daemon so time will stay in sync. -Jason Martin -- If your attack is going well, then it's an ambush.. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From ae at op5.se Thu Oct 14 17:44:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Oct 2004 17:44:40 +0200 Subject: how-to for generated reports In-Reply-To: <416E9192.1020004@op5.se> References: <416E9192.1020004@op5.se> Message-ID: <416E9EE8.9000703@op5.se> Obiously I should refrain from thinking while talking on the phone. ;) Corrections below. Andreas Ericsson wrote: > Harris, Sam wrote: > >> Anybody ever had a requirement for a formal report, I would like to >> submit a monthly performance report to one the clients, any idea how I >> can accomplish that from Anglos. >> > > > From Anglos; I don't know. > From Nagios; In a plethora of different ways. Either by parsing the > logfiles (you'll have to figure out which ones to use based on > log-rotation method) log rotation interval, not method. > or by parsing the output of status.cgi. avail.cgi, not statis.cgi > It can be > run with a cron-script from command-line, so it shouldn't be all too > difficult for you. > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 14 17:55:59 2004 From: marc at ena.com (Marc Powell) Date: Thu, 14 Oct 2004 10:55:59 -0500 Subject: Question: Service Availability Report Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BE9F@mismail.ena.com> ----Original Message---- From: Ronald [mailto:onramp at theoffice.net] Sent: Wednesday, October 13, 2004 5:13 PM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Question: Service Availability Report > > > Q2: For the different service I'm getting the following CRITICAL state > > > breakdown: > > > > > > State,Type / Reason,Time,% Total Time,% Known Time Unscheduled,49710d 5h > > > 25m 40s,-0.145%,-0.145%, Scheduled,0d 1h 51m 6s,0.257%,0.257%, > > > > > > Total 0d 0h 48m 30s 0.112% 0.112% > > > > > > How did it get "49710d 5h 25m 40s" ?? > > > > > > BTW I've had a look through all system clocks and it's synced. > > > > That's bizarre and something I have not ever seen before. Is there > > anything unusual about your log files? Did you change the log rotation > > rate at any time or have a massive time slew? What was your reporting > > period and report options? Is this a new service or one that's existed > > for the entire duration of your reporting period? > > 1) There is maybe - 12 services and 12 hosts - this is the only service > showing this behaviour 2) No time slew. As an aside, the system clock is > synced via NTP nightly 3) Log rotation has remained the same > 4) It's a new service which has existed for more the last 6 weeks. The report > was generated for the last month. > > 5) Reporting options: > > Assume initial State: YEs > First assumed state: Service OK > Report period: Current time range > Assume state retention: Yes > Backtracked archives: 1 > > Browsing through the service log entries, I noticed the following: > > Event Start Time,Event End Time,Event Duration,Event/State Type,Event/State > Information > > 13-10-2004 03:36:12,13-10-2004 03:42:22,0d 0h 6m 10s,SERVICE CRITICAL,Connection refused by host > 13-10-2004 03:42:22,01-10-2004 00:00:00,49698d 2h 45m 54s+ ,SERVICE OK,HTTP ok: HTTP/1.1 200 OK - 4.735 > second response time > > The entries are for October - but the report was generated for the month of > September. > > Clues as to what I'm doing wrong? Well, I think it's pretty clear that the log entry where the date goes backward by 12 days is the problem but why it would log that without the date on the machine actually changing is beyond me. Can you find the corresponding entries in your nagios.log file or archives and post those, along with a few entries on either side for context? -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarr at brodart.com Thu Oct 14 18:05:09 2004 From: jmarr at brodart.com (Marr, Joe) Date: Thu, 14 Oct 2004 12:05:09 -0400 Subject: NTP Warning in Nagios Message-ID: <6035911CB587A2418E439316750F7067036B908A@mailserver.nexus.brodart.internal> I was going to fudge the ntp settings in the check_ntp plugin. My concern is that maybe I was having NTP issues with my server and the clock. I just checked and it appears that I'm not synched any more. Thanks for the help. Joe Marr -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Josiah Ritchie Sent: Thursday, October 14, 2004 11:15 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NTP Warning in Nagios On Thu, 14 Oct 2004 10:56:23 -0400 "Marr, Joe" wrote: > This may be a silly question, so let me apologize in advance. > > > > How do I resolve the following NTP error? > > > > NTP WARNING: Offset 73.412901 msec > +/- 60 sec, jitter 25.740 msec The easiest would be to just set your -j and -k params appropriately, or setup and synchronize related computers regularly to an ntp server, which I'm assuming you are doing. See the help dialog below: [penguin 2] root > /usr/nagios/libexec/check_ntp -h check_ntp (nagios-plugins 1.3.1) 1.14.2.3 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2003 Bo Kersey/Karl DeBisschop Usage: check_ntp -H [-w ] [-c ] [-j ] [-k ] [-v verbose] Checks the local timestamp offset versus with ntpdate Checks the jitter/dispersion of clock signal between and its sys.peer with ntpq -w ( --warning) Clock offset in seconds at which a warning message will be generated. Defaults to 60. -c (--critical) Clock offset in seconds at which a critical message will be generated. Defaults to 120. -j (--jwarn) Clock jitter in milliseconds at which a warning message will be generated. Defaults to 5000. -k (--jcrit) Clock jitter in milliseconds at which a warning message will be generated. Defaults to 10000. If jitter/dispersion is specified with -j or -k and ntpq times out, then a warning is returned. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net JSR/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Oct 14 18:05:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 14 Oct 2004 18:05:11 +0200 Subject: NTP Warning in Nagios In-Reply-To: <6035911CB587A2418E439316750F7067036B8FC1@mailserver.nexus.brodart.internal> References: <6035911CB587A2418E439316750F7067036B8FC1@mailserver.nexus.brodart.internal> Message-ID: <416EA3B7.2090803@op5.se> Marr, Joe wrote: > This may be a silly question, so let me apologize in advance. > > > > How do I resolve the following NTP error? > > > > NTP WARNING: Offset 73.412901 msec > +/- 60 sec, jitter 25.740 msec > > Keep your Nagios and NTP-servers in sync. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeff.Engstrom at fortix.net Thu Oct 14 19:21:23 2004 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Thu, 14 Oct 2004 10:21:23 -0700 Subject: Host / Service dependencies Message-ID: <6E8A7F9B09E71340A7BCFF709CBEC597A8324F@ftx2k3-pdc01> Greetings, After reading through the documentation at http://nagios.sourceforge.net/docs/1_0/dependencies.html I'm still at a loss on how exactly it works. What I would like to accomplish is that if a host is down that none of the services send an alert. Perhaps I could even have another notification triggered that would list what services are affected by the host being down? I thought about adding a PING check and making all other service checks dependent on the ping check. I'm just not sure that is the best way to configure things. Anyone have an idea how to accomplish this? Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmaher at acetechnology.com Thu Oct 14 19:31:08 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Thu, 14 Oct 2004 13:31:08 -0400 Subject: Nagios 2.0 hanging on startup, consuming 99% CPU Message-ID: Yes, that appears to have been the problem. I added a null contact and null group, and Nagios started (albeit with warnings). As per Mr. Kent's follow-up post, the patch solves the problem without the null-user bandaid solution. Thank you both. -- Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Wednesday, October 13, 2004 10:48 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios 2.0 hanging on startup, consuming 99% CPU On Wed, Oct 13, 2004 at 10:04:47AM -0400, Daniel maher wrote: > That's where it hangs and eats the processor. I let it sit > for about 10 minutes before finally ctrl-c'ing out. The > symptoms are easily reproducible. Here is the *only* contact > definition in my contacts.cfg: Does it exhibit the behavior if you add another contact? I seem to recall a list posting about a bug in the circular-dependency code that occured if there is only one object. I think a patch was posted as well. -Jason Martin -- Facts are stubborn things. This message is PGP/MIME signed. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at caretechgroup.com Thu Oct 14 19:34:11 2004 From: anthony at caretechgroup.com (Anthony Lieuallen) Date: Thu, 14 Oct 2004 13:34:11 -0400 Subject: Upgrade nagios, CGIs dead Message-ID: <416EB893.7020004@caretechgroup.com> I recently upgraded from 1.1 to 1.2 of nagios. Now, I get: [Thu Oct 14 13:25:29 2004] [error] [client 66.199.132.173] Premature end of script headers: /usr/local/nagios/sbin/status.cgi CGIs execute from command line, even when running as the same user as the web server. Details: t-bone at dinix nagios $ /usr/local/nagios/bin/nagios --version Nagios 1.2 Copyright (c) 1999-2004 Ethan Galstad (nagios at nagios.org) Last Modified: 02-02-2004 License: GPL This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. t-bone at dinix nagios $ cat /usr/local/apache/conf/httpd.conf . . . ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios/ /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all . . . t-bone at dinix nagios $ ls -lad sbin drwxrwxr-x 2 nagios nagios 4096 Oct 14 13:22 sbin/ t-bone at dinix nagios $ ls -la sbin total 2024 drwxrwxr-x 2 nagios nagios 4096 Oct 14 13:22 ./ drwxr-xr-x 9 root root 4096 Oct 14 13:08 ../ -rwxrwxr-x 1 nagios nagios 143824 Oct 14 13:22 avail.cgi* -rwxrwxr-x 1 nagios nagios 144924 Oct 14 13:22 cmd.cgi* -rwxrwxr-x 1 nagios nagios 113872 Oct 14 13:22 config.cgi* -rwxrwxr-x 1 nagios nagios 160292 Oct 14 13:22 extinfo.cgi* -rwxrwxr-x 1 nagios nagios 124208 Oct 14 13:22 histogram.cgi* -rwxrwxr-x 1 nagios nagios 105764 Oct 14 13:22 history.cgi* -rwxrwxr-x 1 nagios nagios 101604 Oct 14 13:22 notifications.cgi* -rwxrwxr-x 1 nagios nagios 98392 Oct 14 13:22 outages.cgi* -rwxrwxr-x 1 nagios nagios 100292 Oct 14 13:22 showlog.cgi* -rwxrwxr-x 1 nagios nagios 145148 Oct 14 13:22 status.cgi* -rwxrwxr-x 1 nagios nagios 127288 Oct 14 13:22 statusmap.cgi* -rwxrwxr-x 1 nagios nagios 114864 Oct 14 13:22 statuswml.cgi* -rwxrwxr-x 1 nagios nagios 108792 Oct 14 13:22 statuswrl.cgi* -rwxrwxr-x 1 nagios nagios 119184 Oct 14 13:22 summary.cgi* -rwxrwxr-x 1 nagios nagios 123100 Oct 14 13:22 tac.cgi* -rwxrwxr-x 1 nagios nagios 126448 Oct 14 13:22 trends.cgi* t-bone at dinix sbin $ REQUEST_METHOD=GET ./status.cgi Cache-Control: no-store Pragma: no-cache Refresh: 60 Last-Modified: Thu, 14 Oct 2004 17:33:35 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html Current Service Status ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gboutwel at valleyhope.com Thu Oct 14 19:45:14 2004 From: gboutwel at valleyhope.com (George P Boutwell) Date: Thu, 14 Oct 2004 12:45:14 -0500 Subject: Controlling the order of Services under an Host Message-ID: <109777591059011750@mail1.ruraltel.net> Hello, Is it possible (and if so how) to control the order of Services under the host. Basically we'd like Disk services grouped with disk service and Network services grouped with Network services, etc, instead of the Alphabetical display it has now. Thanks, George --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.776 / Virus Database: 523 - Release Date: 10/12/2004 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contractor6 at match.com Thu Oct 14 19:51:44 2004 From: contractor6 at match.com (Rodney Caston) Date: Thu, 14 Oct 2004 12:51:44 -0500 Subject: email alerting - 1 email only. Message-ID: <573F1E2597A7974E924A5F814CAC166D0DF27D1A@da0shme010.match.corp> Is there a way to make nagios only send an email on a alert the first time it detects it down, then send a email only the first time it see's it go back up. We have nagios tied to a ticketing system and currently the way it's setup resulting in a new email created on every detected failure. We only want one sent on the first detection, -------------- next part -------------- An HTML attachment was scrubbed... URL: From julien.touche at lycos.com Thu Oct 14 20:30:58 2004 From: julien.touche at lycos.com (Julien TOUCHE) Date: Thu, 14 Oct 2004 20:30:58 +0200 Subject: check_procs don't see some process Message-ID: <416EC5E2.1050700@lycos.com> with plugins 1.4.0alpha1, nagios 1.2 on whitebox linux, some process are not listed: # /opt/nagios/libexec/check_procs -C sshd PROCS OK: 0 processes with command name 'sshd' # ps axu|grep sshd root 1789 0.0 0.1 3668 1184 ? S Jul28 3:00 /usr/sbin/sshd root 14520 0.0 0.1 6884 1948 ? S 09:34 0:00 sshd: touche [priv] touche 14532 0.0 0.2 7056 2452 ? S 09:34 0:00 sshd: touche at pts/1 root 22564 0.0 0.0 3708 712 pts/0 S 10:42 0:00 grep sshd same with sendmail, syslogd, snmpd is there a way to look not for an exact match but for part of string or a regex in command ? Regards Julien ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jmarr at brodart.com Thu Oct 14 20:46:08 2004 From: jmarr at brodart.com (Marr, Joe) Date: Thu, 14 Oct 2004 14:46:08 -0400 Subject: NTP Warning in Nagios Message-ID: <6035911CB587A2418E439316750F7067036B91EF@mailserver.nexus.brodart.internal> That resolved it right there. ntpdate gatekeeper 14 Oct 14:44:56 ntpdate[19595]: step time server 10.3.0.78 offset 73.964945 sec ntpdate gatekeeper 14 Oct 14:45:01 ntpdate[19782]: adjust time server 10.3.0.78 offset 0.001466 sec Thanks, Joe Marr -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Andreas Ericsson Sent: Thursday, October 14, 2004 12:05 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NTP Warning in Nagios Marr, Joe wrote: > This may be a silly question, so let me apologize in advance. > > > > How do I resolve the following NTP error? > > > > NTP WARNING: Offset 73.412901 msec > +/- 60 sec, jitter 25.740 msec > > Keep your Nagios and NTP-servers in sync. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Thu Oct 14 21:01:23 2004 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Thu, 14 Oct 2004 16:01:23 -0300 Subject: "Comments" on Nagios Message-ID: <005f01c4b220$337ec4a0$7f023702@SAOE083> Hello Guys, I want to enable the comments option, but I didn't find anything about this. Can anybody help me ? Thank you. Cheers, Hugo -------------- next part -------------- A non-text attachment was scrubbed... Name: winmail.dat Type: application/ms-tnef Size: 1296 bytes Desc: not available URL: From jason-sourceforge at microlnk.net Thu Oct 14 21:17:33 2004 From: jason-sourceforge at microlnk.net (Jason Byrns) Date: Thu, 14 Oct 2004 14:17:33 -0500 Subject: email alerting - 1 email only. In-Reply-To: <573F1E2597A7974E924A5F814CAC166D0DF27D1A@da0shme010.match.corp> References: <573F1E2597A7974E924A5F814CAC166D0DF27D1A@da0shme010.match.corp> Message-ID: <416ED0CD.5020007@microlnk.net> This is already in the Nagios FAQ. Change your notification interval to 0, and you'll only get one notice for each failure and recovery. Rodney Caston wrote: > Is there a way to make nagios only send an email on a alert the first > time it detects it down, then send a email only the first time it see?s > it go back up. > > We have nagios tied to a ticketing system and currently the way it?s > setup resulting in a new email created on every detected failure. We > only want one sent on the first detection, -- Jason Byrns System Administrator, MicroLnk http://www.MicroLnk.com/ 402-328-8600 ext. 653 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 14 21:27:22 2004 From: marc at ena.com (Marc Powell) Date: Thu, 14 Oct 2004 14:27:22 -0500 Subject: email alerting - 1 email only. Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BEC8@mismail.ena.com> ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rodney Caston Sent: Thursday, October 14, 2004 12:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] email alerting - 1 email only. Is there a way to make nagios only send an email on a alert the first time it detects it down, then send a email only the first time it see's it go back up. We have nagios tied to a ticketing system and currently the way it's setup resulting in a new email created on every detected failure. We only want one sent on the first detection, Set your notification_interval to 0. -- notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Thu Oct 14 21:43:27 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 14 Oct 2004 14:43:27 -0500 Subject: recommendation in nrpe please Message-ID: <20041014194327.88692.qmail@restricted.dyndns.org> hey guys, I'm thinking of a way I can push the result of pathping command being executed by an nrpe agent on a Windows XP machine. How can I send the long result to nagios? I know that nrpe's output have a limitation. But once the result is in the nagios machine, I can do some magic using either perl or php. My problem is getting the long output. Thanks, Neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at caretechgroup.com Thu Oct 14 21:55:31 2004 From: anthony at caretechgroup.com (Anthony Lieuallen) Date: Thu, 14 Oct 2004 15:55:31 -0400 Subject: Upgrade nagios, CGIs dead In-Reply-To: <416EB893.7020004@caretechgroup.com> References: <416EB893.7020004@caretechgroup.com> Message-ID: <416ED9B3.605@caretechgroup.com> Anthony Lieuallen wrote: > I recently upgraded from 1.1 to 1.2 of nagios. > [Thu Oct 14 13:25:29 2004] [error] [client 66.199.132.173] Premature end > of script headers: /usr/local/nagios/sbin/status.cgi > ... I'm pleased to say that I fixed my own problem, though it took a few hours. It ended up being apache's fault, thanks to suexec. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Thu Oct 14 22:11:48 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 14 Oct 2004 13:11:48 -0700 Subject: email alerting - 1 email only. Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73A4@dw-mail.dataway.com> This is in the documentation. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#service notification_interval: This directive is used to define the number of "time units" to wait before re-notifying a contact that this service is still in a non-OK state. Unless you've changed the interval_length directive from the default value of 60, this number will mean minutes. If you set this value to 0, Nagios will not re-notify contacts about problems for this service - only one problem notification will be sent out. -----Original Message----- From: Rodney Caston [mailto:contractor6 at match.com] Sent: Thursday, October 14, 2004 10:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] email alerting - 1 email only. Is there a way to make nagios only send an email on a alert the first time it detects it down, then send a email only the first time it see's it go back up. We have nagios tied to a ticketing system and currently the way it's setup resulting in a new email created on every detected failure. We only want one sent on the first detection, ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Oct 14 22:11:17 2004 From: marc at ena.com (Marc Powell) Date: Thu, 14 Oct 2004 15:11:17 -0500 Subject: Host / Service dependencies Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BED2@mismail.ena.com> ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jeff Engstrom Sent: Thursday, October 14, 2004 12:21 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host / Service dependencies Greetings, After reading through the documentation at http://nagios.sourceforge.net/docs/1_0/dependencies.html I'm still at a loss on how exactly it works. What I would like to accomplish is that if a host is down that none of the services send an alert. Perhaps I could even have another notification triggered that would list what services are affected by the host being down? I thought about If the services are associated with the host (i.e. their host_name is the same as the host they are running on) then Nagios just does this and you don't need dependency definitions at all. If any service check fails, Nagios runs your defined host check_command. If that returns CRITICAL, notifications for services on that host are suppressed until the host recovers. There's no built in notification macro that would help you with the second part of your question. You _might_ be able to do something by parsing the status log to include the services on the host in the host notification. -- Marc P.s. Please try to post to the list in plain text only. It makes responding with proper quoting and context much easier and I'll bet that more people will read and respond to your questions. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jared at wordzoo.com Thu Oct 14 22:19:34 2004 From: jared at wordzoo.com (Jared Rhine) Date: Thu, 14 Oct 2004 13:19:34 -0700 Subject: ACKNOWLEDGE_SVC_PROBLEM docs for 2.0 missing Message-ID: <87vfddxdbd.wl@badger.wordzoo.com> Is the external command "ACKNOWLEDGE_SVC_PROBLEM" documented anywhere in the 2.0 (or 1.x) docs? -- jared at wordzoo.com "Better to be of a rare breed than a long line." -- TDK ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Oct 14 22:47:44 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 15 Oct 2004 09:47:44 +1300 Subject: check_procs don't see some process In-Reply-To: <416EC5E2.1050700@lycos.com> References: <416EC5E2.1050700@lycos.com> Message-ID: ./check_procs --help [..] -a, --argument-array=STRING Only scan for processes with args that contain STRING. so try: check_procs -a sshd Reading help(fiules) is recommended before asking the list! Jan > > with plugins 1.4.0alpha1, nagios 1.2 on whitebox linux, some process are > not listed: > > # /opt/nagios/libexec/check_procs -C sshd > PROCS OK: 0 processes with command name 'sshd' > # ps axu|grep sshd > root 1789 0.0 0.1 3668 1184 ? S Jul28 3:00 > /usr/sbin/sshd > root 14520 0.0 0.1 6884 1948 ? S 09:34 0:00 sshd: > touche [priv] > touche 14532 0.0 0.2 7056 2452 ? S 09:34 0:00 sshd: > touche at pts/1 > root 22564 0.0 0.0 3708 712 pts/0 S 10:42 0:00 grep sshd > > same with sendmail, syslogd, snmpd > > is there a way to look not for an exact match but for part of string or > a regex in command ? > > Regards > > Julien > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Oct 14 22:45:05 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 15 Oct 2004 09:45:05 +1300 Subject: "Comments" on Nagios In-Reply-To: <005f01c4b220$337ec4a0$7f023702@SAOE083> References: <005f01c4b220$337ec4a0$7f023702@SAOE083> Message-ID: Should be working fine if you enable external commands (at least it's working at my server) Jan > Hello Guys, > > I want to enable the comments option, but I didn't find anything about > this. > Can anybody help me ? > > Thank you. > > Cheers, > Hugo > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jan.Scholten at iconz.net Thu Oct 14 22:58:24 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 15 Oct 2004 09:58:24 +1300 Subject: nagios In-Reply-To: <416E2C71.5010005@enbiz.de> References: <416D1B90.5030401@scc.uni-weimar.de> <416E2C71.5010005@enbiz.de> Message-ID: You should write in English, because it's an english mailing list.. it's not polite! Regarding your question: I would advise not to use check_rpc (which should be disabled for security reasons) and use a combination of check_nrpe and the clientside server and the check_procs. check_procs -w 1:1 -c 1:1 -a nsfd should return a critical if count(nfsd) is outside 1 to 1 (everything apart from 1 will match warning and critical ranges --> critical! Tschuess Jan > Hallo! > J.Eismann schrieb: >> guten tag, >> vielleicht ne dumme frage: > > Es gibt keine dummen Fragen, nur dumme Antworten ;-) > >> ich wollte ?berr?fen ob ein beliebiger prozess l?uft oder nicht (z.b. >> nfsd), habe dazu aber in den standard-plugins nichts gefunden. > > nfsd ist ein Programm, das ?ber rpc (remote procedure calls) gesteuert > wird. In dieser Antwort liegt auch schon die L?sung f?r die ?berwachung > check_rpc -v -H localhost -C nfs -c2,3 > Bei der ?berpr?fung mit Nagios ist es sinnvoll die Option -v > wegzulassen. Das ist nur f?r den Test ?ber die Kommandozeile. > Hat man nfs nur in der Version 2, so ist nach beim Parameter -c nur 2 > anzugeben. Mit dem Parameter -c2,3 pr?fe ich, ob beide Versionen am > Laufen sind. > > Wenn ich wissen m?chte, welche Programme mit check_rpc abgefragt werden > k?nnen, kann ich mit > check_rpc -vv -H localhost > nachschauen. > >> mit check_procs kann ich zwar die anzahl von bestimmten prozessen >> feststellen und wenn die anzahl zu gro? ist bekomme ich eine meldung, >> dass will ich aber nicht. was mu? ich benutzen um zu ?berpr?fen ob ein >> prozess NICHT l?uft, d.h. die anzahl ist zu klein? > > Leider kann ich mit check_rpc nur schauen, ob ein Programm l?uft oder > nicht. Wobei wenn ein Programm per rpc l?uft, dann "vermehrt" es sich > auch bei jeder Anfrage (begrenzt auf eine gewisse Anzahl, die ich > entweder dem Programm als Parameter mitgebe oder beim Kompilieren > festlege). > > Mit check_procs kann ich wiederum die Anzahl der Prozesse herausfinden: > check_procs -a nfsd > Wobei der Parameter -a erm?glicht, nach einem String zu suchen. Da muss > ich den Namen des Programms angeben. So kann ich dann die Anzahl der > Prozesse bestimmen. > >> f?r einen tip w?re ich dankbar. >> > > Ich hoffe, ich konnte weiterhelfen. > > Gru? > G?nther > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.hicks at sap.com Thu Oct 14 23:28:45 2004 From: m.hicks at sap.com (Hicks, Matthew) Date: Thu, 14 Oct 2004 23:28:45 +0200 Subject: Best way to build this config? Message-ID: I'm running Nagios 2.0a. I have a service I want to add to/run on a hostgroup. The command for the service includes one parameter, tcp port, that is variable across hosts. Is there some way to be smart and configure this check for all hosts in a hostgroup? (That is, without having to create a separate service entry with the correct parameter for each host?) For instance, I would like to be able to do something clever in the config... A kind of $USERn$ macro, but for hosts, like so: define host { host_name prodserv address 10.10.10.10 HOST1 9999 ^^^^^^^^^^^^^^^^ ... } Define hostgroup { ... } define service { check_command tcp_port!$HOST1$ hostgroup_name many_servers ... } TIA, Matt ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From payal-nagios at scriptkitchen.com Thu Oct 14 23:44:24 2004 From: payal-nagios at scriptkitchen.com (Payal Rathod) Date: Thu, 14 Oct 2004 17:44:24 -0400 Subject: false alerts Message-ID: <20041014214424.GA32424@tranquility.scriptkitchen.com> Hi, Sometimes I get false alerts on nagios which says, [10-14-2004 02:54:23] SERVICE ALERT: designs2;FTP;CRITICAL;SOFT;2;CRITICAL - Socket timeout after 10 seconds But within a min I get, [10-14-2004 02:55:12] SERVICE ALERT: designs2;FTP;OK;SOFT;3;FTP OK - 1.004 second response time on port 21 [220 ProFTPD 1.2.9 Server (ProFTPD) This is quite bugging since I get a lot of mails and it is confusing whether the server/service is really down or not. What is the reason for this? The server which is being monitored is at our nearby company branch office. This happpens for all services. Can someone help out in this please? With warm regards, -Payal ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Oct 15 02:05:07 2004 From: teng at dataway.com (Tedman Eng) Date: Thu, 14 Oct 2004 17:05:07 -0700 Subject: false alerts Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73A5@dw-mail.dataway.com> These are not false alerts at all. You are experiencing poor performance from your internet connection to your branch office, or perhaps the server or network is experiencing congestion. The first 2 log entries "soft" means that it indeed failed. But your config likely requires 3 "soft" fails in a row to be considred "hard". Watch nagios closely, and as soon as it reports a soft fail, try it manually. Retry manually every minute to mimic Nagios's behavior. You'll see the problem firsthand, which should help direct you to source of the real problem, not Nagios. -----Original Message----- From: Payal Rathod [mailto:payal-nagios at scriptkitchen.com] Sent: Thursday, October 14, 2004 2:44 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] false alerts Hi, Sometimes I get false alerts on nagios which says, [10-14-2004 02:54:23] SERVICE ALERT: designs2;FTP;CRITICAL;SOFT;2;CRITICAL - Socket timeout after 10 seconds But within a min I get, [10-14-2004 02:55:12] SERVICE ALERT: designs2;FTP;OK;SOFT;3;FTP OK - 1.004 second response time on port 21 [220 ProFTPD 1.2.9 Server (ProFTPD) This is quite bugging since I get a lot of mails and it is confusing whether the server/service is really down or not. What is the reason for this? The server which is being monitored is at our nearby company branch office. This happpens for all services. Can someone help out in this please? With warm regards, -Payal ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From onramp at theoffice.net Fri Oct 15 02:18:37 2004 From: onramp at theoffice.net (Ronald) Date: Fri, 15 Oct 2004 10:18:37 +1000 Subject: Question: Service Availability Report Message-ID: <529198d9.8f64d3cd.81f8400@gol-mas2.austarnet.com.au> Hi Marc, Attached to this email is the filtered log file. >> The entries are for October - but the report was generated for the >month of >> September. >> >> Clues as to what I'm doing wrong? > >Well, I think it's pretty clear that the log entry where the date goes >backward by 12 days is the problem but why it would log that without the >date on the machine actually changing is beyond me. Can you find the >corresponding entries in your nagios.log file or archives and post >those, along with a few entries on either side for context? Ronald -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-10-01-2004-00.log Type: application/octet-stream Size: 6920 bytes Desc: not available URL: From icedtea at gamebox.net Fri Oct 15 03:33:37 2004 From: icedtea at gamebox.net (icedtea) Date: Fri, 15 Oct 2004 09:33:37 +0800 Subject: status map Message-ID: <416F28F1.9040006@gamebox.net> I would like to create a status map of disk usage across my servers. I already have check_disk plugin using check_by_ssh. I already installed nagiostat and rrdtool but for some reason i still cannot get the output on my nagios page. thanks very much itea ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Fri Oct 15 05:22:45 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Thu, 14 Oct 2004 22:22:45 -0500 Subject: recommendation in nrpe please In-Reply-To: <20041014194327.88692.qmail@restricted.dyndns.org> References: <20041014194327.88692.qmail@restricted.dyndns.org> Message-ID: <20041015032245.23632.qmail@restricted.dyndns.org> Hi everyone, Please disregard this question as I was able to come up with a solution using scheduler, cron jobs, passive check and ftp solution. Then I'll just use perl or php to parse the pathping output of WinXP. Neil writes: > hey guys, > > I'm thinking of a way I can push the result of pathping command being > executed by an nrpe agent on a Windows XP machine. How can I send the long > result to nagios? I know that nrpe's output have a limitation. > > But once the result is in the nagios machine, I can do some magic using > either perl or php. My problem is getting the long output. > > Thanks, > > Neil > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From orth at enbiz.de Fri Oct 15 08:53:39 2004 From: orth at enbiz.de (=?ISO-8859-15?Q?G=FCnther_Orth?=) Date: Fri, 15 Oct 2004 08:53:39 +0200 Subject: nagios In-Reply-To: References: <416D1B90.5030401@scc.uni-weimar.de> <416E2C71.5010005@enbiz.de> Message-ID: <416F73F3.4020507@enbiz.de> Jan Scholten schrieb: > You should write in English, because it's an english mailing list.. > it's not polite! Yes, i know. But the question reached me outsiede the list. I put the nagios-list to the reply ... perhaps someone is intrested in the answer ore someone (like you) knows a better answer. Thanks a lot! G?nther > > Regarding your question: > I would advise not to use check_rpc (which should be disabled for > security reasons) and use a combination of check_nrpe and the > clientside server and the check_procs. > > check_procs -w 1:1 -c 1:1 -a nsfd > should return a critical if count(nfsd) is outside 1 to 1 (everything > apart from 1 will match warning and critical ranges --> critical! > > Tschuess > Jan > > >> Hallo! >> J.Eismann schrieb: >> >>> guten tag, >>> vielleicht ne dumme frage: >> >> >> Es gibt keine dummen Fragen, nur dumme Antworten ;-) >> >>> ich wollte ?berr?fen ob ein beliebiger prozess l?uft oder nicht >>> (z.b. nfsd), habe dazu aber in den standard-plugins nichts gefunden. >> >> >> nfsd ist ein Programm, das ?ber rpc (remote procedure calls) >> gesteuert wird. In dieser Antwort liegt auch schon die L?sung f?r die >> ?berwachung >> check_rpc -v -H localhost -C nfs -c2,3 >> Bei der ?berpr?fung mit Nagios ist es sinnvoll die Option -v >> wegzulassen. Das ist nur f?r den Test ?ber die Kommandozeile. >> Hat man nfs nur in der Version 2, so ist nach beim Parameter -c nur 2 >> anzugeben. Mit dem Parameter -c2,3 pr?fe ich, ob beide Versionen am >> Laufen sind. >> >> Wenn ich wissen m?chte, welche Programme mit check_rpc abgefragt >> werden k?nnen, kann ich mit >> check_rpc -vv -H localhost >> nachschauen. >> >>> mit check_procs kann ich zwar die anzahl von bestimmten prozessen >>> feststellen und wenn die anzahl zu gro? ist bekomme ich eine >>> meldung, dass will ich aber nicht. was mu? ich benutzen um zu >>> ?berpr?fen ob ein prozess NICHT l?uft, d.h. die anzahl ist zu klein? >> >> >> Leider kann ich mit check_rpc nur schauen, ob ein Programm l?uft oder >> nicht. Wobei wenn ein Programm per rpc l?uft, dann "vermehrt" es sich >> auch bei jeder Anfrage (begrenzt auf eine gewisse Anzahl, die ich >> entweder dem Programm als Parameter mitgebe oder beim Kompilieren >> festlege). >> >> Mit check_procs kann ich wiederum die Anzahl der Prozesse herausfinden: >> check_procs -a nfsd >> Wobei der Parameter -a erm?glicht, nach einem String zu suchen. Da >> muss ich den Namen des Programms angeben. So kann ich dann die Anzahl >> der Prozesse bestimmen. >> >>> f?r einen tip w?re ich dankbar. >>> >> >> Ich hoffe, ich konnte weiterhelfen. >> >> Gru? >> G?nther >> >> > > > -- -------------------------------------------------------------------- G?nther Orth [ orth at enbiz.de ] enbiz - engineering and business solutions - Kaiserslautern, Germany Fon +49 631 310 6847. Fax +49 631 310 6849. WWW http://www.enbiz.de/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andreschmidt76 at arcor.de Fri Oct 15 10:49:12 2004 From: andreschmidt76 at arcor.de (andreschmidt76 at arcor.de) Date: Fri, 15 Oct 2004 10:49:12 +0200 (CEST) Subject: nagios 1.2 debian patch ? Message-ID: <5985019.1097830152808.JavaMail.ngmail@webmail08.arcor-online.net> hello, do i still need this patch for nagios-mysql 1.2 under debian? http://wiki.tryphon.org/LinuxWiki/NagiosInstall and if yes, is it still compatible with nagios 1.2 ? cheers, andre ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sushildeshmukh at sqtl.com Fri Oct 15 12:04:56 2004 From: sushildeshmukh at sqtl.com (sushildeshmukh) Date: Fri, 15 Oct 2004 15:34:56 +0530 Subject: problem with nagios Message-ID: <416FA0C8.1080304@sqtl.com> Hello Friends, I want to know if i am planning to host nsgios in a environment where near about 300 computers are supposed to be scan by nagios, in this case does it affects the service/host scanning speed of the nagios? My 3d statusmap displaying just a black screen however i have installed Freewrl can anyone help me? Regards sushil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Fri Oct 15 13:39:51 2004 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Fri, 15 Oct 2004 08:39:51 -0300 Subject: RES: "Comments" on Nagios In-Reply-To: References: Message-ID: <001101c4b2ab$b0153c70$7f023702@SAOE083> Where can I enable this option ? In nagios.cfg ? Thank you. Hugo -----Mensagem original----- De: Jan Scholten [mailto:Jan.Scholten at iconz.net] Enviada em: quinta-feira, 14 de outubro de 2004 17:45 Para: hugo.rebello at dhl.com; nagios-users at lists.sourceforge.net Assunto: Re: [Nagios-users] "Comments" on Nagios Should be working fine if you enable external commands (at least it's working at my server) Jan > Hello Guys, > > I want to enable the comments option, but I didn't find anything about > this. > Can anybody help me ? > > Thank you. > > Cheers, > Hugo > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serge.bianda at appiancorp.com Fri Oct 15 15:22:25 2004 From: serge.bianda at appiancorp.com (Serge Bianda) Date: Fri, 15 Oct 2004 09:22:25 -0400 Subject: Host DOWN alert for server2! Message-ID: Hello all: I have installed nagios on Red Hat Linux 3.0 on a server called server2, after successfully adding all our servers info and services, I keep on getting a notification from my nagios server about the below input. I went in and commented out in the hosts.cfg file that server, and I also commented out the services in services.cfg and restarted nagios, but after a little while I kept on getting that notification, and I don't even have any entry that matches the IP address listed in the notification and also the message just says State: DOWN, for which service I don't know. Can someone point on what is the problem here, and where whould I go to dig that info from. Note that I have installed the latest packages of nagios along with the plugins. Regards, Serge Here is the notification message I gets all the time: Subject: Host DOWN alert for server2! ***** Nagios ***** Notification Type: PROBLEM Host: server2 State: DOWN Address: 192.168.1.231 Info: (No output!) Date/Time: Wed Oct 6 16:01:49 EDT 2004 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 15 15:15:58 2004 From: marc at ena.com (Marc Powell) Date: Fri, 15 Oct 2004 08:15:58 -0500 Subject: "Comments" on Nagios Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BEF2@mismail.ena.com> Please see the documentation section entitled "External Commands". -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Hugo Rebello > Sent: Friday, October 15, 2004 6:40 AM > To: 'Jan Scholten'; nagios-users at lists.sourceforge.net > Subject: RES: [Nagios-users] "Comments" on Nagios > > Where can I enable this option ? In nagios.cfg ? > > Thank you. > > Hugo > > -----Mensagem original----- > De: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Enviada em: quinta-feira, 14 de outubro de 2004 17:45 > Para: hugo.rebello at dhl.com; nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] "Comments" on Nagios > > > Should be working fine if you enable external commands (at least it's > working at my server) > > Jan > > > Hello Guys, > > > > I want to enable the comments option, but I didn't find anything about > > this. > > Can anybody help me ? > > > > Thank you. > > > > Cheers, > > Hugo > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From payal-nagios at scriptkitchen.com Fri Oct 15 15:25:36 2004 From: payal-nagios at scriptkitchen.com ('Payal Rathod') Date: Fri, 15 Oct 2004 09:25:36 -0400 Subject: false alerts In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC73A5@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC73A5@dw-mail.dataway.com> Message-ID: <20041015132536.GA27705@tranquility.scriptkitchen.com> On Thu, Oct 14, 2004 at 05:05:07PM -0700, Tedman Eng wrote: > These are not false alerts at all. You are experiencing poor performance > from your internet connection to your branch office, or perhaps the server > or network is experiencing congestion. Ok. So what I did on your suggestion that I tried to connect manually to SMTP port immediately after the alert. And I found that it was working though somewhat slow. Can I increase the wait period of nagios so that it does not generate any false alerts? With warm regards, -Payal > The first 2 log entries "soft" means that it indeed failed. But your config > likely requires 3 "soft" fails in a row to be considred "hard". Watch > nagios closely, and as soon as it reports a soft fail, try it manually. > Retry manually every minute to mimic Nagios's behavior. You'll see the > problem firsthand, which should help direct you to source of the real > problem, not Nagios. > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From serge.bianda at appiancorp.com Fri Oct 15 15:51:37 2004 From: serge.bianda at appiancorp.com (Serge Bianda) Date: Fri, 15 Oct 2004 09:51:37 -0400 Subject: Host DOWN alert for infotech2! Message-ID: Can anyone tell me what plugin is this message referring to? And besides I do not have that IP address setup on that server2 either. Serge Subject: Host DOWN alert for server2! ***** Nagios ***** Notification Type: PROBLEM Host: server2 State: DOWN Address: 192.168.1.231 Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Fri Oct 15 09:49:28 EDT 2004 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri Oct 15 16:47:11 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 15 Oct 2004 10:47:11 -0400 Subject: check_snmp hard question Message-ID: Hi all, I have some kind of problem with check_snmp. When I use the command... ./check_snmp -H 10.0.0.1 -o .1.3.6.1.2.1.2.2.1.8.1 ...to test the command on a router, the result is :"SNMP OK - up(1)" When I use the same command inside Nagios, the result is :"OK - 1" How can I get my "up" back? --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 15 16:50:46 2004 From: marc at ena.com (Marc Powell) Date: Fri, 15 Oct 2004 09:50:46 -0500 Subject: false alerts Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BEFB@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of 'Payal Rathod' Sent: Friday, October 15, 2004 8:26 AM To: Tedman Eng Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] false alerts > On Thu, Oct 14, 2004 at 05:05:07PM -0700, Tedman Eng wrote: > > These are not false alerts at all. You are experiencing poor > > performance from your internet connection to your branch office, or > > perhaps the server or network is experiencing congestion. > > Ok. So what I did on your suggestion that I tried to connect manually to SMTP > port immediately after the alert. And I found that it was working though > somewhat slow. > Can I increase the wait period of nagios so that it does not generate any > false alerts? > Most plugins accept a -t parameter to set the timeout. It obviously can't be set longer than the plugin timeout you specified in nagios.cfg. Run your plugin with --help to see what parameters it accepts and modify your command definition accordingly. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mascalas at it.tiscali.com Fri Oct 15 16:52:41 2004 From: mascalas at it.tiscali.com (Marco Scalas) Date: Fri, 15 Oct 2004 16:52:41 +0200 Subject: Error checkin a windows service Message-ID: <416FE439.7060804@it.tiscali.com> Hi all!! :) I have a little problem with Nagios monitoring: if i run from command line ./check_nt -H 10.8.6.156 -p 1248 - v SERVICESTATE -l 'MSSQL$DBWSS' the result is "All services are running" but when i go to the status page in the Nagios web interface i see a error message that says " MSSQL$DBWSS$: Unknown" I don't know why Nagios append a $ synbol to the name of the service and return this error. This is the comman from the checkcommand file: define command{ command_name check_nt_dblms command_line $USER1$/check_nt -p 1248 -H $HOSTADDRESS$ -v SERVICESTATE -l 'MSSQL$DBLMS' } Can anyone help me please? Thanks in advance Marco ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Oct 15 16:52:35 2004 From: marc at ena.com (Marc Powell) Date: Fri, 15 Oct 2004 09:52:35 -0500 Subject: Host DOWN alert for server2! Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25BEFD@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Serge Bianda Sent: Friday, October 15, 2004 8:22 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host DOWN alert for server2! > Hello all: > > I have installed nagios on Red Hat Linux 3.0 on a server called server2, > after successfully adding all our servers info and services, I keep on > getting a notification from my nagios server about the below input. I went in > and commented out in the hosts.cfg file that server, and I also commented out > the services in services.cfg and restarted nagios, but after a little while I > kept on getting that notification, and I don't even have any entry that > matches the IP address listed in the notification and also the message just > says State: DOWN, for which service I don't know. Can someone point on what > is the problem here, and where whould I go to dig that info from. Note that I > have installed the latest packages of nagios along with the plugins. You've probably got multiple instances of nagios running. Stop it with the init script, use ps to verify that all have stopped and kill any that remain, then restart nagios. -- Marc ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Oct 15 18:20:41 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 15 Oct 2004 09:20:41 -0700 Subject: false alerts Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73A6@dw-mail.dataway.com> You should be able to change the service timeout in the main nagios.cfg file. -----Original Message----- From: 'Payal Rathod' [mailto:payal-nagios at scriptkitchen.com] Sent: Friday, October 15, 2004 6:26 AM To: Tedman Eng Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] false alerts On Thu, Oct 14, 2004 at 05:05:07PM -0700, Tedman Eng wrote: > These are not false alerts at all. You are experiencing poor performance > from your internet connection to your branch office, or perhaps the server > or network is experiencing congestion. Ok. So what I did on your suggestion that I tried to connect manually to SMTP port immediately after the alert. And I found that it was working though somewhat slow. Can I increase the wait period of nagios so that it does not generate any false alerts? With warm regards, -Payal > The first 2 log entries "soft" means that it indeed failed. But your config > likely requires 3 "soft" fails in a row to be considred "hard". Watch > nagios closely, and as soon as it reports a soft fail, try it manually. > Retry manually every minute to mimic Nagios's behavior. You'll see the > problem firsthand, which should help direct you to source of the real > problem, not Nagios. > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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_yem at agilent.com Fri Oct 15 18:27:12 2004 From: scott_yem at agilent.com (scott_yem at agilent.com) Date: Fri, 15 Oct 2004 09:27:12 -0700 Subject: Host DOWN alert for infotech2! Message-ID: <65213341217E8D458E7C78E6640C749503A7124E@waglmb01.labs.agilent.com> You probably have the host defined in your hosts.cfg file. You should check and at least do a grep for the IP address if you don't know where the reference is. This is definitely a host down alert. In the sample files, they have something similar to this. Scott Yem Research Computing Services Agilent Laboratories -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Serge Bianda Sent: Friday, October 15, 2004 6:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: Host DOWN alert for infotech2! Can anyone tell me what plugin is this message referring to? And besides I do not have that IP address setup on that server2 either. Serge Subject: Host DOWN alert for server2! ***** Nagios ***** Notification Type: PROBLEM Host: server2 State: DOWN Address: 192.168.1.231 Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Fri Oct 15 09:49:28 EDT 2004 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agrajag at dragaera.net Fri Oct 15 18:46:47 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Fri, 15 Oct 2004 12:46:47 -0400 Subject: Host DOWN alert for infotech2! In-Reply-To: References: Message-ID: <1097858806.4390.4.camel@pel> On Fri, 2004-10-15 at 09:51, Serge Bianda wrote: > Can anyone tell me what plugin is this message referring to? And besides > I do not have that IP address setup on that server2 either. Please, you only need to ask once. This is not a service, its the hostcheck that's failing. Its the 'check_command' defined in your host entry. As for not having a host defined for that.. you said you removed the entry. Did you restart nagios after removing the entry for server2? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Fri Oct 15 19:13:39 2004 From: teng at dataway.com (Tedman Eng) Date: Fri, 15 Oct 2004 10:13:39 -0700 Subject: Error checkin a windows service Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73A7@dw-mail.dataway.com> This is in the documentation. You need to escape the dollar sign. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#command command_line: This directive is used to define what is actually executed by Nagios when the command is used for service or host checks, notifications, or event handlers. Before the command line is executed, all valid macros are replaced with their respective values. See the documentation on macros for determining when you can use different macros. Note that the command line is not surrounded in quotes. Also, if you want to pass a dollar sign ($) on the command line, you have to escape it with another dollar sign. -----Original Message----- From: Marco Scalas [mailto:mascalas at it.tiscali.com] Sent: Friday, October 15, 2004 7:53 AM To: Nagios-User Subject: [Nagios-users] Error checkin a windows service Hi all!! :) I have a little problem with Nagios monitoring: if i run from command line ./check_nt -H 10.8.6.156 -p 1248 - v SERVICESTATE -l 'MSSQL$DBWSS' the result is "All services are running" but when i go to the status page in the Nagios web interface i see a error message that says " MSSQL$DBWSS$: Unknown" I don't know why Nagios append a $ synbol to the name of the service and return this error. This is the comman from the checkcommand file: define command{ command_name check_nt_dblms command_line $USER1$/check_nt -p 1248 -H $HOSTADDRESS$ -v SERVICESTATE -l 'MSSQL$DBLMS' } Can anyone help me please? Thanks in advance Marco ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri Oct 15 19:54:06 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 15 Oct 2004 10:54:06 -0700 Subject: NSClient & Windows Services Message-ID: <20041015175406.GA14674@zippy.toger.us> Has anyone come up with a way to utilize NSClient in such a way that it alarms if any Windows Service that is set to 'Automatic' mode isn't in Running status? It'd be easier to manage several hundred Wintel boxes if one didn't have to manually configure each service and keep that configuration up to date. Thanks, -Jason Martin -- Every thing in this world is an idea acted on. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 211 bytes Desc: not available URL: From payal-nagios at scriptkitchen.com Fri Oct 15 20:38:35 2004 From: payal-nagios at scriptkitchen.com ('Payal Rathod') Date: Fri, 15 Oct 2004 14:38:35 -0400 Subject: false alerts In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC73A6@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1AFC73A6@dw-mail.dataway.com> Message-ID: <20041015183835.GA5281@tranquility.scriptkitchen.com> On Fri, Oct 15, 2004 at 09:20:41AM -0700, Tedman Eng wrote: > You should be able to change the service timeout in the main nagios.cfg > file. But do you think that is the issue with my setup? With warm regards, -Payal > -----Original Message----- > From: 'Payal Rathod' [mailto:payal-nagios at scriptkitchen.com] > Sent: Friday, October 15, 2004 6:26 AM > To: Tedman Eng > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] false alerts > > > On Thu, Oct 14, 2004 at 05:05:07PM -0700, Tedman Eng wrote: > > These are not false alerts at all. You are experiencing poor performance > > from your internet connection to your branch office, or perhaps the server > > or network is experiencing congestion. > > Ok. So what I did on your suggestion that I tried to connect manually to > SMTP > port immediately after the alert. And I found that it was working though > somewhat slow. > Can I increase the wait period of nagios so that it does not generate any > false > alerts? > > With warm regards, > -Payal > > > The first 2 log entries "soft" means that it indeed failed. But your > config > > likely requires 3 "soft" fails in a row to be considred "hard". Watch > > nagios closely, and as soon as it reports a soft fail, try it manually. > > Retry manually every minute to mimic Nagios's behavior. You'll see the > > problem firsthand, which should help direct you to source of the real > > problem, not Nagios. > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From craigc at nortelnetworks.com Fri Oct 15 21:52:13 2004 From: craigc at nortelnetworks.com (craig) Date: Fri, 15 Oct 2004 15:52:13 -0400 Subject: check_nrpe solaris woes Message-ID: <1097869933.3640.70.camel@wnc0h0jy.us.nortel.com> Try copying the ssl libs from /usr/local/ssl/lib to /usr/local/lib Not sure if that is bad security wise, but I have used that trick before. If you run ./check_nrpe --? on Solaris it complains about not finding a ssl library, so give it one. Not sure if there is a better way of doing that though. (I just fixed the same problem you are having) Craig ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil-on-nagios at restricted.dyndns.org Fri Oct 15 22:03:00 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Fri, 15 Oct 2004 15:03:00 -0500 Subject: alerts - first time i've seen this Message-ID: <20041015200300.97993.qmail@restricted.dyndns.org> hey guys, what is wrong with our nagios, I'm getting a Host Down alert message in my email then goes back with Host UP alert It contains: No Information Returned From Host Check I didn't do anything? The only thing I remember is that, I moved all the archived to another slice because /usr ran out of space. Any thoughts? Thanks. Neil ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cwfox at fujitsu.com Sat Oct 16 00:30:27 2004 From: cwfox at fujitsu.com (Camron W. Fox) Date: Fri, 15 Oct 2004 12:30:27 -1000 Subject: Cannot build with mysql support Message-ID: <20041015223031.41B31168004@hilo.fujitsu.com> Alle, I'm trying to build nagios 1.2 with the "--with-mysql-XXXX" options and get several unref errors prior to an ld failure during the "make all". A build without the mysql options is successful. I'm running: RHEL3U3 Kernel 2.4.21-20.Elsmp MySQL-bench-4.0.18-0 MySQL-client-4.0.18-0 MySQL-server-4.0.18-0 MySQL-devel-4.0.18-0 Here is the command line configure with options: [cwfox at hiloII nagios-1.2]$ PERL=/usr/local/bin/perl ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql --enable-embedded-perl --with-perlcache Here is gcc line and the tail of the unref messages prior to the ld error: gcc -g -O2 -I/usr/include/mysql -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.3/i686-linux/CORE -DHAVE_CONFIG_H -DNSCORE -L/usr/lib/mysql -L/usr/lib -L/lib -L/usr/lib/mysql -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -rdynamic -L/usr/local/lib /usr/local/lib/perl5/5.8.3/i686-linux/auto/DynaLoader/DynaLoader.a -L/usr/local/lib/perl5/5.8.3/i686-linux/CORE -lperl -lnsl -ldl -lm -lcrypt -lutil -lc -lm -o nagios ... ... ... /tmp/ccSw3C3W.o(.text+0xd95): In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /tmp/ccSw3C3W.o(.text+0xdb9):../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /tmp/ccSw3C3W.o(.text+0xe9f):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /tmp/ccSw3C3W.o(.text+0xebc):../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/cwfox/src/nagios-1.2/base' make: *** [all] Error 2 [cwfox at hiloII nagios-1.2]$ Any help would greatly appreciated. Best Regards, Camron Camron W. Fox Hilo Office High Performance Computing Group Fujitsu America, INC. E-mail: cwfox at fujitsu.com Phone: (808) 934-4102 Pager: (808) 934-1290 Cell: (808) 937-5026 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any