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 issue. ::: Messages without supporting info will risk being sent to /dev/null From hmann at itgroundwork.com Sat Oct 16 00:12:36 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Fri, 15 Oct 2004 15:12:36 -0700 Subject: alerts - first time i've seen this In-Reply-To: <20041015200300.97993.qmail@restricted.dyndns.org> References: <20041015200300.97993.qmail@restricted.dyndns.org> Message-ID: You might want to verify that all Nagios processes stop on a shutdown. If not, kill all straggler processes, then restart. 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: Friday, October 15, 2004 1:03 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] alerts - first time i've seen this 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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boudbid at yahoo.fr Sat Oct 16 01:33:19 2004 From: boudbid at yahoo.fr (moulay ahmed boudbid) Date: Sat, 16 Oct 2004 01:33:19 +0200 (CEST) Subject: My firsts problems Message-ID: <20041015233319.1103.qmail@web25707.mail.ukl.yahoo.com> Hello everybody, i am a new user of nagios, i am using the version nagios-1.2 under redhat9 whitch i installed under virtual machine, and as every bigginers i have my first problems with nagios configuration i describe bellow : After having configured the server web Apache, the files nagios.cfg(/ usr/local/nagios/etc/nagios.cfg) and cgi.cfg (i mention that at the level of these two files, there were not big things to modify except if it was the opposite), and after having added the users who will have the right of access to the CGIs. While trying to verify if all is well configured, there were error messages of type unfortunately: "Error : Dependent service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere" and "Error : Service specified in service dependency for service 'Website #2' on host 'nt1' is not defined anywhere". Knowing that I didn't create any other virtual pc again (there is just only one of it at present), I've said that, maybe, it is not very astonishing to have these error messages, since there are no pc nor services that turn. I will be very thankful if you can help me. --------------------------------- Cr?ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Cr?ez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s pour dialoguer instantan?ment avec vos amis.T?l?chargez GRATUITEMENT ici ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From vze2t524 at verizon.net Sat Oct 16 04:22:48 2004 From: vze2t524 at verizon.net (yosh) Date: Fri, 15 Oct 2004 22:22:48 -0400 Subject: Cannot build with mysql support Message-ID: <417085F8.1060702@verizon.net> Hi Camron, At first I had problem even with ./configure - getting the error of checking for main in -lmysqlclient... no with MSQL lib not found When I run the 'full path' of lib and include ./configure worked. ./configure --prefix=/usr/local/nagios --with-cgiurl=/nagios/cgi-bin --with-htmurl=/nagios/ --with-nagios-user=nagios --with-nagios-grp=nagios --with-mysql-xdata --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-inc=/usr/local/mysql/include/mysql The second prob was when running 'make all' ../xdata/xcddb.c:49:25: mysql/mysql.h: No such file or directory ../xdata/xcddb.c:50:26: mysql/errmsg.h: No such file or directory ../xdata/xcddb.c:66: parse error before "xcddb_mysql" . . . ../xdata/xdddb.c:1242: `result_row' undeclared (first use in this function) make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/tmp/nagios-1.2/base' make: *** [all] Error 2 I got around these errors by redefining #include the following way: xdata]# grep "mysql.h" * xcddb.c:#include xdddb.c:#include xeddb.c:#include xrddb.c:#include xsddb.c:#include Note, that the path was in these files. 'make all' run without errors. If you tried to run this version you might want to run 'make distclean' before running ./configure as it was suggested in: msg_id=9472853. I hope it helps, Yosh ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From julien.touche at lycos.com Sat Oct 16 08:56:07 2004 From: julien.touche at lycos.com (Julien TOUCHE) Date: Sat, 16 Oct 2004 08:56:07 +0200 Subject: check_procs don't see some process In-Reply-To: References: <416EC5E2.1050700@lycos.com> Message-ID: <4170C607.2040904@lycos.com> Jan Scholten a ?crit : > ./check_procs --help > [..] > -a, --argument-array=STRING > Only scan for processes with args that contain STRING. args is not the same than command, maybe i misunderstood it as i check it. but real problem (in my sense) is on openbsd 3.5: $ /usr/local/libexec/nagios/check_procs -C sshd PROCS OK: 3 processes with command name 'sshd' $ /usr/local/libexec/nagios/check_procs -a sshd PROCS OK: 3 processes with args 'sshd' $ ps -axu |grep sshd root 143 0.0 0.2 288 808 ?? Is 24Sep04 0:03.60 /usr/sbin/sshd root 28833 0.0 0.5 384 1916 ?? Is 6:19AM 0:00.12 sshd: touche [priv] (sshd) touche 20312 0.0 0.3 416 1380 ?? S 6:19AM 0:00.07 sshd: touche at ttyp0 (sshd) touche 32454 0.0 0.0 96 180 p6 D+ 6:19AM 0:00.00 grep sshd and on my whitebox linux nothing with -C sshd $ /opt/nagios/libexec/check_procs -C sshd PROCS OK: 0 processes with command name 'sshd' $ /opt/nagios/libexec/check_procs -a sshd PROCS OK: 6 processes with args 'sshd' /opt/nagios/libexec/check_procs -a sshd $ ps axu|grep sshd root 1789 0.0 0.1 3668 1184 ? S Jul28 3:04 /usr/sbin/sshd root 14520 0.0 0.1 6884 1500 ? S Oct13 0:00 sshd: touche [priv] touche 14532 0.0 0.1 7056 2000 ? S Oct13 0:02 sshd: touche at pts/1 root 17587 0.0 0.1 6884 1488 ? S Oct13 0:00 sshd: touche [priv] touche 17614 0.0 0.1 7056 2004 ? S Oct13 0:00 sshd: touche at pts/5 touche 32233 0.0 0.0 3704 712 pts/3 S 07:52 0:00 grep sshd # /bin/ps -weo 'stat uid ppid vsz rss pcpu comm args'|grep sshd S 0 1 3668 1184 0.0 sshd /usr/sbin/sshd S 0 1789 6884 1500 0.0 sshd sshd: touche [priv] S 500 14520 7056 2000 0.0 sshd sshd: touche at pts/1 S 0 1789 6884 1488 0.0 sshd sshd: touche [priv] S 500 17587 7056 2004 0.0 sshd sshd: touche at pts/5 S 0 29186 3700 712 0.0 grep grep sshd $ /opt/nagios/libexec/check_procs -a sshd PROCS OK: 6 processes with args 'sshd' $ /opt/nagios/libexec/check_procs -C syslogd PROCS OK: 0 processes with command name 'syslogd' $ /opt/nagios/libexec/check_procs -a syslogd PROCS OK: 2 processes with args 'syslogd' $ ps axu|grep syslogd root 1715 0.0 0.0 1588 572 ? S Jul28 26:57 syslogd -m 0 touche 32351 0.0 0.0 3708 712 pts/3 S 07:53 0:00 grep syslogd and an extra: grep is count with -a (and not on openbsd) 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 gmueller at netways.de Sat Oct 16 14:52:46 2004 From: gmueller at netways.de (Gerd Müller) Date: Sat, 16 Oct 2004 14:52:46 +0200 (CEST) Subject: Cannot build with mysql support In-Reply-To: <20041015223031.41B31168004@hilo.fujitsu.com> References: <20041015223031.41B31168004@hilo.fujitsu.com> Message-ID: <20041016125246.3F51C4F40E8@desire.netways.de> Hi Camron I would suggest not using mysql because nagios 2.0 won't have any mysql support . - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.de/nagios-users.1488.0.html?&tx_maillisttofaq_p i1[showUid]=2091 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Oct 16 15:16:25 2004 From: gmueller at netways.de (Gerd Müller) Date: Sat, 16 Oct 2004 15:16:25 +0200 (CEST) Subject: Controlling the order of Services under an Host In-Reply-To: <109777591059011750@mail1.ruraltel.net> References: <109777591059011750@mail1.ruraltel.net> Message-ID: <20041016131625.61A474F40E8@desire.netways.de> Hi George we give every service an name representing its usage. e.g net-smtp,net-dn s, net-ssh and "disk /","disk /var","disk /home" and so on. That will sort them like you want them. - Gerd M?ller (gmueller) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.de/nagios-users.1488.0.html?&tx_maillisttofaq_p i1[showUid]=796 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Sun Oct 17 12:54:30 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Sun, 17 Oct 2004 12:54:30 +0200 Subject: Services not beeing checked Message-ID: <200410171254.37689.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am using nagios 1.0 on SuSE 8.2. Yes I know this is an old version, but for some political reasons we have to use it. I did set up netsaint / nagios already several times and never had such a strange problem. I googled for the problem but had no success. So please help: When I run nagios some services are not beeing cheked for a long time although I set up the normal_check_interval for 5 minutes. When I look to the Scheduling Queue I see that some checks are just not done properly and are waiting in the queue for hours (!). The Performance Info look like this: Active Checks: Time Frame Checks Completed <= 1 minute: 3 (4.9%) <= 5 minutes: 22 (36.1%) <= 15 minutes: 23 (37.7%) <= 1 hour: 23 (37.7%) Since program start: 29 (47.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 4 sec 0.295 sec Check Latency: < 1 sec 1 sec 0.016 sec When I click "Re-schedule the next check of this service" for a service which is due already for hours nagios does the check. The seup is quite stright forward. Nothing special: 13 hosts, 61 services. But I do have no idea why the scheduling / queueing does not work. Thanks for any help. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBck9sqndXpO3Yl5sRArFoAKCfzipX1YszJoUmWBaCHui61nVdgwCcDt3V +4TRBPNQht2vuaIFnYpMzQM= =vYRi -----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 Jan.Scholten at iconz.net Sun Oct 17 22:49:21 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 18 Oct 2004 09:49:21 +1300 Subject: check_procs don't see some process In-Reply-To: <4170C607.2040904@lycos.com> References: <416EC5E2.1050700@lycos.com> <4170C607.2040904@lycos.com> Message-ID: On Sat, 16 Oct 2004 08:56:07 +0200, Julien TOUCHE wrote: > Jan Scholten a ?crit : >> ./check_procs --help >> [..] >> -a, --argument-array=STRING >> Only scan for processes with args that contain STRING. > > args is not the same than command, maybe i misunderstood it as i check it yeah i know but it seems like it runs some kind of grep over the ps output. The helpfile from check_proc out of the 1.4.1 alpaha package is somewhat better (it didn't seem to change his behavior): Examples: check_procs -w 2:2 -c 2:1024 -C portsentry Warning if not two processes with command name portsentry. Critical if < 2 or > 1024 processes check_procs -w 10 -a '/usr/local/bin/perl' -u root Warning alert if > 10 processes with command arguments containing '/usr/local/bin/perl' and owned by root check_procs -w 50000 -c 100000 --metric=VSZ Alert if vsz of any processes over 50K or 100K check_procs -w 10 -c 20 --metric=CPU Alert if cpu of any processes over 101001145700r 20% -- 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 Sun Oct 17 23:20:51 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 18 Oct 2004 10:20:51 +1300 Subject: Services not beeing checked In-Reply-To: <200410171254.37689.misch@multinet.de> References: <200410171254.37689.misch@multinet.de> Message-ID: On Sun, 17 Oct 2004 12:54:30 +0200, Michael Schwartzkopff wrote: Just for my interest: what political reason is ity that keeps you sticking for 1.0? For your problem: i can't help you because i did enter the nagios world with 1.2.. the normal way is: stop, restart nagios, see if the problem, persists, if yes: install a new version (i really like the templates!) check if the problem exists with the new version. If not: force your bosses to say yes to nagios 1.2 (as it fixes problems), but if the problem exists after upgrading to 1.2 post your .cfg . I never had the problem you described (the only services that are scheduled, but not checked are the ones where i stopped services checks via Webinterface. But i know these political we stick to whatever we installed first, because.. :-) Jan > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I am using nagios 1.0 on SuSE 8.2. Yes I know this is an old version, > but for > some political reasons we have to use it. I did set up netsaint / nagios > already several times and never had such a strange problem. I googled > for the > problem but had no success. So please help: > > When I run nagios some services are not beeing cheked for a long time > although > I set up the normal_check_interval for 5 minutes. When I look to the > Scheduling Queue I see that some checks are just not done properly and > are > waiting in the queue for hours (!). The Performance Info look like this: > > Active Checks: Time Frame Checks Completed > <= 1 minute: 3 (4.9%) > <= 5 minutes: 22 (36.1%) > <= 15 minutes: 23 (37.7%) > <= 1 hour: 23 (37.7%) > Since program start: 29 (47.5%) > > Metric Min. Max. Average > > Check Execution Time: > < 1 sec 4 sec 0.295 sec > > Check Latency: > < 1 sec 1 sec 0.016 sec > > When I click "Re-schedule the next check of this service" for a service > which > is due already for hours nagios does the check. > > The seup is quite stright forward. Nothing special: 13 hosts, 61 > services. But > I do have no idea why the scheduling / queueing does not work. > > Thanks for any help. > > - -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Bretonischer Ring 7 > 85630 Grasbrunn > > Tel: (+49 89) 456 911 - 0 > Fax: (+49 89) 456 911 - 21 > mob: (+49 174) 343 28 75 > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFBck9sqndXpO3Yl5sRArFoAKCfzipX1YszJoUmWBaCHui61nVdgwCcDt3V > +4TRBPNQht2vuaIFnYpMzQM= > =vYRi > -----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 > > -- 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 Sun Oct 17 23:36:28 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 18 Oct 2004 10:36:28 +1300 Subject: check_snmp hard question In-Reply-To: References: Message-ID: I feel like i read this post every week.. i have the same experience i looked at the sourcecode but did not have a clue. But forwarding your mail on 10.8,07.10,12.10 and 15.10 is a bit rude(?) I don't know and because nobody seems to answer nobody else knows... feel free to debug the problem and post a patch! Jan > 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 > > -- 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 Mon Oct 18 00:09:30 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 18 Oct 2004 11:09:30 +1300 Subject: My firsts problems In-Reply-To: <20041015233319.1103.qmail@web25707.mail.ukl.yahoo.com> References: <20041015233319.1103.qmail@web25707.mail.ukl.yahoo.com> Message-ID: check the contents of your /.cfg files, there may be sample files which you should use and put your own host in it. Jan > > Hello everybody, i am a new user of nagios, i am using the version > nagios-1.2 under redhat9 whitch i installed under virtual machine, and > as every bigginers i have my first problems with nagios configuration i > describe bellow : > > After having configured the server web Apache, the files nagios.cfg(/ > usr/local/nagios/etc/nagios.cfg) and cgi.cfg (i mention that at the > level of these two files, there were not big things to modify except if > it was the opposite), and after having added the users who will have the > right of access to the CGIs. While trying to verify if all is well > configured, there were error messages of type unfortunately: "Error : > Dependent service specified in service dependency for service 'Website > #2' on host 'nt1' is not defined anywhere" and "Error : Service > specified in service dependency for service 'Website #2' on host 'nt1' > is not defined anywhere". > > > > Knowing that I didn't create any other virtual pc again (there is just > only one of it at present), I've said that, maybe, it is not very > astonishing to have these error messages, since there are no pc nor > services that turn. > > I will be very thankful if you can help me. > > > > --------------------------------- > Cr?ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! > Cr?ez votre Yahoo! Mail > > Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s > pour dialoguer instantan?ment avec vos amis.T?l?chargez GRATUITEMENT ici > ! -- 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 Mon Oct 18 00:07:47 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 18 Oct 2004 11:07:47 +1300 Subject: problem with nagios In-Reply-To: <416FA0C8.1080304@sqtl.com> References: <416FA0C8.1080304@sqtl.com> Message-ID: > 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? I don't really get your question.. scanning 300 host is not a problem, while scanning 300 host and 10000 Services would be a problem. I believe your are fine if you have a decent hardware, you can scan a lot of stuff then. But it depends on your scanning intervall (scanning 1000 Services with a 10 Second intervall may not be a good idea, the normal scanning (every 5 mins) would be ok. scanning 50 Servises at a short intervall while the rest is in a X Minute intervall should be ok too.. It depends on how many active or passive checks you use. But i think it's safe to say: Yes you can use that for scanning 300 host! > My 3d statusmap displaying just a black screen however i have installed > Freewrl can anyone help me? Don't know did not get vrml to work (no need to) > Regards sushil Jan > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 teng at dataway.com Mon Oct 18 00:19:17 2004 From: teng at dataway.com (Tedman Eng) Date: Sun, 17 Oct 2004 15:19:17 -0700 Subject: Services not beeing checked Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73A8@dw-mail.dataway.com> The important configuration info we need to help you with scheduling problems are: nagios.cfg values: intercheck/interleave settings max concurrent reaper frequnecy check timeout settings Also, please provide a rough breakdown of your services/check_interval settings. For example: 20 services (ping), check_interval=5 minutes 10 services (various), check interval=between 30-60 minutes 10 services (disk), check interval=1 day Total 40 services. Lastly, post service check configurations for the services that seem to be having problems. -----Original Message----- From: Michael Schwartzkopff [mailto:misch at multinet.de] Sent: Sunday, October 17, 2004 3:55 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Services not beeing checked -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am using nagios 1.0 on SuSE 8.2. Yes I know this is an old version, but for some political reasons we have to use it. I did set up netsaint / nagios already several times and never had such a strange problem. I googled for the problem but had no success. So please help: When I run nagios some services are not beeing cheked for a long time although I set up the normal_check_interval for 5 minutes. When I look to the Scheduling Queue I see that some checks are just not done properly and are waiting in the queue for hours (!). The Performance Info look like this: Active Checks: Time Frame Checks Completed <= 1 minute: 3 (4.9%) <= 5 minutes: 22 (36.1%) <= 15 minutes: 23 (37.7%) <= 1 hour: 23 (37.7%) Since program start: 29 (47.5%) Metric Min. Max. Average Check Execution Time: < 1 sec 4 sec 0.295 sec Check Latency: < 1 sec 1 sec 0.016 sec When I click "Re-schedule the next check of this service" for a service which is due already for hours nagios does the check. The seup is quite stright forward. Nothing special: 13 hosts, 61 services. But I do have no idea why the scheduling / queueing does not work. Thanks for any help. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBck9sqndXpO3Yl5sRArFoAKCfzipX1YszJoUmWBaCHui61nVdgwCcDt3V +4TRBPNQht2vuaIFnYpMzQM= =vYRi -----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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 18 01:07:11 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Mon, 18 Oct 2004 12:07:11 +1300 Subject: check_snmp hard question In-Reply-To: References: Message-ID: After some mails with Ted (thanks): check_snmp -H XXX -C public -P 1 -o .1.3.6.1.2.1.2.2.1.8.1 -m ALL Does result in (Nagios Webinterface): SNMP OK - up(1) That was what you were asking for? Jan! > 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 > > -- 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 Mon Oct 18 04:51:07 2004 From: icedtea at gamebox.net (icedtea) Date: Mon, 18 Oct 2004 10:51:07 +0800 Subject: disk usage thru check_by_ssh Message-ID: <41732F9B.6020408@gamebox.net> I would like to check my disk usage on all the servers im using thrue check_by_ssh and declare the command 'df -h' so i could see the status of all my partitions. I dont like to use snmp. is this possible? so far my setup is check_by_ssh then check_disk plugin on the remote server but i can only declare 1 partition. I would like to check all the partitions if it is possible. hope to hear from you, regards icedtea ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 18 05:14:26 2004 From: icedtea at gamebox.net (icedtea) Date: Mon, 18 Oct 2004 11:14:26 +0800 Subject: disk usage thru check_by_ssh References: <41732F9B.6020408@gamebox.net> Message-ID: <41733512.5060801@gamebox.net> is it also possible to declare external commands like 'top' or 'df' thru check_by_ssh? icedtea wrote: > I would like to check my disk usage on all the servers im using thrue > check_by_ssh and declare the command 'df -h' so i could see the status > of all my partitions. I dont like to use snmp. is this possible? so > far my setup is check_by_ssh then check_disk plugin on the remote > server but i can only declare 1 partition. I would like to check all > the partitions if it is possible. > > hope to hear from you, > regards > icedtea > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 Mon Oct 18 05:32:11 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Mon, 18 Oct 2004 11:32:11 +0800 Subject: disk usage thru check_by_ssh In-Reply-To: <41733512.5060801@gamebox.net> References: <41732F9B.6020408@gamebox.net> <41733512.5060801@gamebox.net> Message-ID: <20041018033211.GA16625@quex.org> On Mon, Oct 18, 2004 at 11:14:26AM +0800, icedtea wrote: >> I would like to check my disk usage on all the servers im using thrue >> check_by_ssh and declare the command 'df -h' so i could see the status >> of all my partitions. I dont like to use snmp. is this possible? so >> far my setup is check_by_ssh then check_disk plugin on the remote >> server but i can only declare 1 partition. I would like to check all >> the partitions if it is possible. > is it also possible to declare external commands like 'top' or 'df' > thru check_by_ssh? You might want to consider reading the documentation before you post to the list. To briefly answer your questions - check_disk, if you omit the path parameter, will check all partitions on the system against the warning and critical thresholds you specify. Alternatively, just add a service for each disk to check the appropriate path. If you have standardised partitioning schemes, you can add the service checks to multiple hosts easily using hostgroups. See the documentation for more info on that. For arbitrary commands, Nagios requires the check commands (plugins) to produce very specific output - that is, one line of text which is shown to users via the web interface & notification commands, and a status code which tells Nagios what state the host/service is in. 0 is for okay, 1 for warning, 2 for critical. You can't just run an arbitrary program and expect Nagios to magically know what its output means in terms of the status of a host. For 'top', look at either check_load or check_procs, depending on what you're trying to monitor. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 18 05:54:06 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Sun, 17 Oct 2004 22:54:06 -0500 Subject: alerts - first time i've seen this! [No Information Returned From Host Check] In-Reply-To: References: Message-ID: <20041018035406.44147.qmail@restricted.dyndns.org> Hi Harper, I've verified all the process that there are not any other nagios running. I actually killed everything again, and restart nagios. But I saw another alert with the same message. I don't know why it's like this now. Anyone please? Thanks, Harper Mann writes: > You might want to verify that all Nagios processes stop on a shutdown. If > not, kill all straggler processes, then restart. > > 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: Friday, October 15, 2004 1:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] alerts - first time i've seen this > > > 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 > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 lgavage at ulg.ac.be Mon Oct 18 07:36:32 2004 From: lgavage at ulg.ac.be (Lionel Gavage) Date: Mon, 18 Oct 2004 07:36:32 +0200 Subject: High memory occupation ... Message-ID: Hi, I use Nagios v1.2 on Redhat Enterprise release 3.0. The server is a bi Xeon 2.0Ghz with 2,5Go ram. I monitore about 910 services, 255 hosts. After 1 day of working, each nagios processes used about 180Mo of ram. For example, the result of "top" command : PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND 9400 nagios 21 0 139M 136M 1976 S 0.0 5.4 0:00 3 nagios 9404 nagios 21 0 139M 136M 1976 S 0.0 5.4 0:00 2 nagios 9408 nagios 21 0 139M 136M 1976 S 0.0 5.4 0:00 1 nagios 9412 nagios 21 0 139M 136M 1976 S 0.5 5.4 0:00 1 nagios 9422 nagios 21 0 139M 136M 1976 S 0.7 5.4 0:00 2 nagios 9426 nagios 21 0 139M 136M 1976 S 0.7 5.4 0:00 3 nagios 9433 nagios 25 0 139M 136M 1976 S 0.7 5.4 0:00 1 nagios 9441 nagios 25 0 139M 136M 1976 S 0.7 5.4 0:00 0 nagios 9444 nagios 25 0 139M 136M 1976 S 0.7 5.4 0:00 2 nagios 9447 nagios 25 0 139M 136M 1976 S 0.5 5.4 0:00 2 nagios 9450 nagios 25 0 139M 136M 1976 S 0.5 5.4 0:00 1 nagios 9453 nagios 25 0 139M 136M 1976 S 0.7 5.4 0:00 3 nagios 9467 nagios 25 0 139M 136M 1976 S 0.9 5.4 0:00 1 nagios 9456 nagios 25 0 139M 136M 1972 S 0.5 5.4 0:00 3 nagios 9460 nagios 25 0 139M 136M 1972 S 0.7 5.4 0:00 2 nagios Number of processes (often in the neighbourhoods of 150): [root at serv25 root]# ps auxwww |grep -i nagios |wc -l 58 I use, of course, the rpm packages from nagios site. [root at serv25 root]# rpm -qa |grep nagios nagios-devel-1.2-0.rhel3.dag nagios-plugins-1.4.0alpha1-1 nagios-1.2-0.rhel3.dag So how I can correct this problem of intensive occupation of the memory ? I fixed the nagios.cfg parameter "max_concurrent_checks" to 300. Thks in advance. Lionel Gavage Network Engineer (SeGI/ULg) Email: lgavage at ulg.ac.be ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 18 07:40:06 2004 From: icedtea at gamebox.net (icedtea) Date: Mon, 18 Oct 2004 13:40:06 +0800 Subject: check traffic on big iron Message-ID: <41735736.5030609@gamebox.net> I would like to monitor traffic on our big iron 8000 switch and check the interfaces on which port has the highest traffic. has any of you guys created a plugin for this switch already? Also, is there a way to monitor traffic with using snmp? I would like to use check_by_ssh only. working configs will be of great help. thanks very much icedtea ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pamela at rak.bb.euroweb.sk Mon Oct 18 09:13:44 2004 From: pamela at rak.bb.euroweb.sk (jan gregor) Date: Mon, 18 Oct 2004 09:13:44 +0200 Subject: Initscript bug in debian Message-ID: <20041018091344.A28076@rak.bb.euroweb.sk> Hello I have just found and reported problem in initscript of nagios in debian testing. It has this line in it: if /usr/lib/nagios/plugins/check_nagios -F /var/cache/nagios/status.log -e 5 -C 'nagios' > /dev/null; then When /var/cache/nagios/status.log does not exist (default configuration on debian, it is in /var/log/nagios/status.log) it fails to check whether nagios is running. This does nasty things when reloading config files. If anyone experienced hanging processes of nagios in testing after running /etc/init.d/nagios reload, this was possibly be the problem. Best regards Jan Gregor ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jaap.hogenberg at marketxs.com Mon Oct 18 12:23:30 2004 From: jaap.hogenberg at marketxs.com (Jaap Hogenberg) Date: Mon, 18 Oct 2004 12:23:30 +0200 Subject: check_nrpe solaris woes In-Reply-To: <1097869933.3640.70.camel@wnc0h0jy.us.nortel.com> References: <1097869933.3640.70.camel@wnc0h0jy.us.nortel.com> Message-ID: <1098095010.9654.4.camel@kyle> On Fri, 2004-10-15 at 21:52, craig wrote: > 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. You could also "export LD_LIBRARY_PATH=" for your nagios user. No need to copy files around.... HTH, Jaap ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Mon Oct 18 15:14:01 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 18 Oct 2004 15:14:01 +0200 Subject: Services not beeing checked In-Reply-To: References: <200410171254.37689.misch@multinet.de> Message-ID: <200410181514.11551.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, thank you for all the hints I received. In the ps table I saw that a lot of "zombied" nagios processes. After this discovery I did not have the energy to go into a detailed search. So I decided to upgrade to 1.2. Now everything works fine as expected. Thanks again. Nagios is great ! - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBc8GgqndXpO3Yl5sRAnyNAKDD1dYT+bwfgE2DgvJ5wCg1twfmfACeJpgS E+1IF7M8rXFbKQCutYiTslg= =0RfR -----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 ml at winfix.IT Mon Oct 18 15:37:27 2004 From: ml at winfix.IT (Jo) Date: Mon, 18 Oct 2004 15:37:27 +0200 Subject: NagiosExchange Message-ID: <4173C717.7060802@winfix.IT> Hi, I'm new to Nagios and new to this list. I think there should be a big fat link from the Nagios.org web site to the NagiosExchange web site! It took me a while before I found it, but it's a treasure cove for plugins. Jo ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boudbid at yahoo.fr Mon Oct 18 17:48:55 2004 From: boudbid at yahoo.fr (moulay ahmed boudbid) Date: Mon, 18 Oct 2004 17:48:55 +0200 (CEST) Subject: Problem with nagios configuration Message-ID: <20041018154855.92050.qmail@web25703.mail.ukl.yahoo.com> Hello, trying to start nagios i had the message error whitch said that it couldn't open the file commands. and i realized that i don't have this file and when i check the file nagios.log (/usr/local/nagios/var/nagios.log) i found that it couldn't open also the files misccommands.cfg, contacts.cfg et resources.cfg ... what i have to do ? should i create the file commands and if it's so what i have to write into. and what i have to do for the others files and thank you --------------------------------- Cr?ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Cr?ez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s pour dialoguer instantan?ment avec vos amis.T?l?chargez GRATUITEMENT ici ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From neil-on-nagios at restricted.dyndns.org Mon Oct 18 18:03:30 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 18 Oct 2004 11:03:30 -0500 Subject: stale message in nagios.log Message-ID: <20041018160330.98611.qmail@restricted.dyndns.org> hey everyone, I'm seeing tons of "....are stale by N seconds..." in nagios.log. Of course, N is just a variable there, it can be any number of seconds. But, is seeing it normal? What are the values that I should look at to find out if our nagios is underpower? 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 jhmartin at toger.us Mon Oct 18 18:18:25 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 18 Oct 2004 09:18:25 -0700 Subject: stale message in nagios.log In-Reply-To: <20041018160330.98611.qmail@restricted.dyndns.org> References: <20041018160330.98611.qmail@restricted.dyndns.org> Message-ID: <20041018161824.GB31187@zippy.toger.us> On Mon, Oct 18, 2004 at 11:03:30AM -0500, Neil wrote: > I'm seeing tons of "....are stale by N seconds..." in nagios.log. Of > course, N is just a variable there, it can be any number of seconds. But, > is seeing it normal? Stale usually has to do with freshness checking. Active checks should have check_freshness set to 0. Could that be the problem? Does the log go on to say it is forcing a check? -Jason Martin -- Money is the root of all evils. Send $20 for more info... 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 neil-on-nagios at restricted.dyndns.org Mon Oct 18 18:36:14 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 18 Oct 2004 11:36:14 -0500 Subject: stale message in nagios.log In-Reply-To: <20041018161824.GB31187@zippy.toger.us> References: <20041018160330.98611.qmail@restricted.dyndns.org> <20041018161824.GB31187@zippy.toger.us> Message-ID: <20041018163615.1428.qmail@restricted.dyndns.org> Hi Jason, Yeah, this is the remaining message: "I'm forcing an immediate check of the service." Also, my check_freshness is set to 1 Any ideas? Jason Martin writes: > On Mon, Oct 18, 2004 at 11:03:30AM -0500, Neil wrote: >> I'm seeing tons of "....are stale by N seconds..." in nagios.log. Of >> course, N is just a variable there, it can be any number of seconds. But, >> is seeing it normal? > Stale usually has to do with freshness checking. Active checks > should have check_freshness set to 0. Could that be the problem? > > Does the log go on to say it is forcing a check? > > -Jason Martin > -- > Money is the root of all evils. Send $20 for more info... > 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 Samba at guidemail.com Mon Oct 18 18:43:17 2004 From: Samba at guidemail.com (Samba) Date: Mon, 18 Oct 2004 11:43:17 -0500 Subject: Authenticating users to Nagios Externally Message-ID: We use an application called SiteMinder which protects all of our web servers. I have the ability to protect our Nagios server with this application and authenticate them before they get to the web server. What I would like to do is take the authenticated user's ID and pass that into Nagios. Any help is appreciated !! Josh Konkol, CCSE CNE MCSE Technical Research Specialist .~. GuideOne Insurance /V\ /( )\ ^^-^^ samba at guidemail.com This message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 18 18:56:57 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 18 Oct 2004 11:56:57 -0500 Subject: Authenticating users to Nagios Externally In-Reply-To: References: Message-ID: <20041018165657.3107.qmail@restricted.dyndns.org> Hi Josh, Solution can be similar to mine. I recompiled our apache with LDAP support. Now, authentication is redirected to our Windows 2000 DC machine. here is my entry in httpd.conf: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Indexes FollowSymLinks Order allow,deny Allow from all AuthName "ADS Nagios" AuthType Basic LDAP_Server 10.133.133.5 LDAP_Port 389 Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" Bind_DN "CN=svc_AppDeliveryServ,OU=Service Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" Bind_Pass "ha24sdf1" UID_Attr cn require valid-user Alias /nagios/ /usr/local/nagios/share/ Alias /nagios /usr/local/nagios/share/ Options None AllowOverride AuthConfig Order allow,deny Allow from all AuthName "ADS Nagios" AuthType Basic LDAP_Server 10.133.133.5 LDAP_Port 389 Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" Bind_DN "CN=svc_AppDeliveryServ,OU=Service Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" Bind_Pass "ha24sdf1" UID_Attr cn require valid-user Lastly, this is very important: You have to edit cgi.cfg. You will add the authorized usernames there Samba writes: > We use an application called SiteMinder which protects all of our web > servers. I have the ability to protect our Nagios server with this > application and authenticate them before they get to the web server. What I > would like to do is take the authenticated user's ID and pass that into > Nagios. > > Any help is appreciated !! > > Josh Konkol, CCSE CNE MCSE > Technical Research Specialist > .~. GuideOne Insurance > /V\ > /( )\ > ^^-^^ samba at guidemail.com > > > This message and accompanying documents are covered by the Electronic > Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information > intended for the specified individual(s) only. This information is > confidential. If you are not the intended recipient or an agent responsible > for delivering it to the intended recipient, you are hereby notified that > you have received this document in error and that any review, dissemination, > copying, or the taking of any action based on the contents of this > information is strictly prohibited. If you have received this communication > in error, please notify us immediately by e-mail, and delete the original > message. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 andreschmidt76 at arcor.de Mon Oct 18 19:05:33 2004 From: andreschmidt76 at arcor.de (Andre Schmidt) Date: Mon, 18 Oct 2004 19:05:33 +0200 Subject: network plan and configuration management ? Message-ID: <200410181905.33378.andreschmidt76@arcor.de> hello nagios community, i am on the last week of my internship and i finally got time for my project work "Network monitoring with Nagios". installation and tests are all done and now it's time for configuration. as i'm not experienced with big(~100 hosts) networks, i wanted to ask you about some concrete methods on doing things. how do you create the network plan ? how do you convert the plan to nagios configuration files ? how do you visualize the network plan (for documentation) ? how do you manage your nagios configuration files ? thank you, 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 jhmartin at toger.us Mon Oct 18 19:08:32 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 18 Oct 2004 10:08:32 -0700 Subject: stale message in nagios.log In-Reply-To: <20041018163615.1428.qmail@restricted.dyndns.org> References: <20041018160330.98611.qmail@restricted.dyndns.org> <20041018161824.GB31187@zippy.toger.us> <20041018163615.1428.qmail@restricted.dyndns.org> Message-ID: <20041018170832.GD31187@zippy.toger.us> On Mon, Oct 18, 2004 at 11:36:14AM -0500, Neil wrote: > Yeah, this is the remaining message: > "I'm forcing an immediate check of the service." > Also, my check_freshness is set to 1 Set check_freshness to 0; it is only needed for passive checks. -Jason Martin -- May your life be filled with experiences. 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 fmml at cedval.org Mon Oct 18 19:10:31 2004 From: fmml at cedval.org (fmml at cedval.org) Date: Mon, 18 Oct 2004 13:10:31 -0400 (EDT) Subject: Authenticating users to Nagios Externally In-Reply-To: <20041018165657.3107.qmail@restricted.dyndns.org> References: <20041018165657.3107.qmail@restricted.dyndns.org> Message-ID: <22190.206.47.191.243.1098119431.squirrel@whoami3.cedval.org> That is very nice, but if your are not using https (SSL), aren't your passwords going out in clear text on the wire? Francois > Hi Josh, > > Solution can be similar to mine. I recompiled our apache with LDAP > support. > Now, authentication is redirected to our Windows 2000 DC machine. > > here is my entry in httpd.conf: > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI Indexes FollowSymLinks > Order allow,deny > Allow from all > AuthName "ADS Nagios" > AuthType Basic > LDAP_Server 10.133.133.5 > LDAP_Port 389 > Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" > Bind_DN "CN=svc_AppDeliveryServ,OU=Service > Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" > Bind_Pass "ha24sdf1" > UID_Attr cn > require valid-user > > > Alias /nagios/ /usr/local/nagios/share/ > Alias /nagios /usr/local/nagios/share/ > > Options None > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "ADS Nagios" > AuthType Basic > LDAP_Server 10.133.133.5 > LDAP_Port 389 > Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" > Bind_DN "CN=svc_AppDeliveryServ,OU=Service > Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" > Bind_Pass "ha24sdf1" > UID_Attr cn > require valid-user > > > Lastly, this is very important: > > You have to edit cgi.cfg. You will add the authorized usernames there > > > > Samba writes: > >> We use an application called SiteMinder which protects all of our web >> servers. I have the ability to protect our Nagios server with this >> application and authenticate them before they get to the web server. >> What I >> would like to do is take the authenticated user's ID and pass that into >> Nagios. >> >> Any help is appreciated !! >> >> Josh Konkol, CCSE CNE MCSE >> Technical Research Specialist >> .~. GuideOne Insurance >> /V\ >> /( )\ >> ^^-^^ samba at guidemail.com >> >> >> This message and accompanying documents are covered by the Electronic >> Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains >> information >> intended for the specified individual(s) only. This information is >> confidential. If you are not the intended recipient or an agent >> responsible >> for delivering it to the intended recipient, you are hereby notified >> that >> you have received this document in error and that any review, >> dissemination, >> copying, or the taking of any action based on the contents of this >> information is strictly prohibited. If you have received this >> communication >> in error, please notify us immediately by e-mail, and delete the >> original >> message. >> >> >> ------------------------------------------------------- >> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >> Use IT products in your business? Tell us what you think of them. Give >> us >> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >> more >> http://productguide.itmanagersjournal.com/guidepromo.tmpl >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please 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 payal-nagios at scriptkitchen.com Mon Oct 18 19:20:18 2004 From: payal-nagios at scriptkitchen.com ('Payal Rathod') Date: Mon, 18 Oct 2004 13:20:18 -0400 Subject: adding new servers Message-ID: <20041018172018.GA26507@tranquility.scriptkitchen.com> Hi, I have started nagios monitoring only one server. Now, I want to add a few more to it. But it is a hectic process to add a machine and its services to check manually. Is there any easy way to do it? Thanks a lot in advance. 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 emildebian at gmail.com Mon Oct 18 20:44:00 2004 From: emildebian at gmail.com (Emil Getschko) Date: Mon, 18 Oct 2004 16:44:00 -0200 Subject: Checking/Monitoring DLCIs Message-ID: <14e0303104101811445d9f86f8@mail.gmail.com> Hi, How can I check the status of my DLCIs in my Frame Relay net with Nagios? Has nagios any plugin or config to do 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 joao.paulo at orbitel.com.br Mon Oct 18 19:52:51 2004 From: joao.paulo at orbitel.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Mon, 18 Oct 2004 15:52:51 -0200 Subject: Problems CGI Message-ID: <00c101c4b53b$4bf76960$1c5afcc8@SUPORTE2> Hi, My problem for CGI this's messenger : It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Please Help-me Jo?o Paulo -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bill.Barkell at mail.house.gov Mon Oct 18 21:07:10 2004 From: Bill.Barkell at mail.house.gov (Barkell, Bill) Date: Mon, 18 Oct 2004 15:07:10 -0400 Subject: Problems CGI Message-ID: <9362C7DD6454114882BF5E53EF88F65D0476A7C8@hrm24.houseexchange.us.house.gov> Joao, If you are using Apache as your web server, the permissions file defined in httpd.conf AuthUserFile directive must exist, and contain your username for the login. The file is created by using apache's htpasswd utility (/usr/local/apache/bin/htpasswd on my server). Bill Barkell -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jo?o Paulo Vaz da Silva Sent: Monday, October 18, 2004 1:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems CGI Hi, My problem for CGI this's messenger : It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Please Help-me Jo?o Paulo -------------- next part -------------- An HTML attachment was scrubbed... URL: From AHKAPLAN at PARTNERS.ORG Mon Oct 18 21:07:46 2004 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Mon, 18 Oct 2004 15:07:46 -0400 Subject: No Output error when checking by ssh Message-ID: <5593DA408212D511B0910002A513501F065594DA@phsexch20.mgh.harvard.edu> I am doing a check via ssh of two services on a remote host and for the past several days I have been getting a No output! error message. I ran the checks via the command line on both the nagios server (1.2) and the remote host (plugin's 1.3), and both came back fine. 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 JRadcliffe at iss.net Mon Oct 18 21:22:53 2004 From: JRadcliffe at iss.net (Radcliffe, Jerome (ISS Southfield)) Date: Mon, 18 Oct 2004 15:22:53 -0400 Subject: Last_check in DB off by an hour. Message-ID: <51540A3DDD507D40B6D47030C8C0C1910107134A@soumaiexcp01.iss.net> Hello, When I do a "SELECT last_check FROM servicestatus" in my nagios db (MySQL) the outputs are all off by 1 hour. For example a check that was just inserted will result in a last_check time of current time *PLUS* one hour. When you look in the web UI though, it's correctly showing current time. The DB and the Nagios server are both on the same timezone (GMT). Any ideas on why this occurs? Jay Jerome Radcliffe, CISSP Security Engineer Principal MSS Engineering Internet Security Systems ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.bills at mci.com Mon Oct 18 21:25:56 2004 From: larry.bills at mci.com (Larry Bills) Date: Mon, 18 Oct 2004 14:25:56 -0500 Subject: Authenticating users to Nagios Externally In-Reply-To: <22190.206.47.191.243.1098119431.squirrel@whoami3.cedval.org> References: <20041018165657.3107.qmail@restricted.dyndns.org> <22190.206.47.191.243.1098119431.squirrel@whoami3.cedval.org> Message-ID: <417418C4.3010407@mci.com> Josh Please disreguard all the info about recompiling apache etc. If your Nagios webserver is accessed via SiteMinder, it is vary easy to implement. All that is necessary is to set a variable in your SiteMinder file that is passed back to the Nagios application after auth. I will forward the info. ref the Siteminder configuration later today. We have over 10,000 users with no problems. . Sincerely Larry Bills fmml at cedval.org wrote: >That is very nice, but if your are not using https (SSL), aren't your >passwords going out in clear text on the wire? > >Francois > > > >>Hi Josh, >> >>Solution can be similar to mine. I recompiled our apache with LDAP >>support. >>Now, authentication is redirected to our Windows 2000 DC machine. >> >>here is my entry in httpd.conf: >> >>ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ >> >> AllowOverride AuthConfig >> Options ExecCGI Indexes FollowSymLinks >> Order allow,deny >> Allow from all >> AuthName "ADS Nagios" >> AuthType Basic >> LDAP_Server 10.133.133.5 >> LDAP_Port 389 >> Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" >> Bind_DN "CN=svc_AppDeliveryServ,OU=Service >>Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" >> Bind_Pass "ha24sdf1" >> UID_Attr cn >> require valid-user >> >> >>Alias /nagios/ /usr/local/nagios/share/ >>Alias /nagios /usr/local/nagios/share/ >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "ADS Nagios" >> AuthType Basic >> LDAP_Server 10.133.133.5 >> LDAP_Port 389 >> Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" >> Bind_DN "CN=svc_AppDeliveryServ,OU=Service >>Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" >> Bind_Pass "ha24sdf1" >> UID_Attr cn >> require valid-user >> >> >>Lastly, this is very important: >> >>You have to edit cgi.cfg. You will add the authorized usernames there >> >> >> >>Samba writes: >> >> >> >>>We use an application called SiteMinder which protects all of our web >>>servers. I have the ability to protect our Nagios server with this >>>application and authenticate them before they get to the web server. >>>What I >>>would like to do is take the authenticated user's ID and pass that into >>>Nagios. >>> >>>Any help is appreciated !! >>> >>>Josh Konkol, CCSE CNE MCSE >>>Technical Research Specialist >>> .~. GuideOne Insurance >>> /V\ >>>/( )\ >>>^^-^^ samba at guidemail.com >>> >>> >>>This message and accompanying documents are covered by the Electronic >>>Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains >>>information >>>intended for the specified individual(s) only. This information is >>>confidential. If you are not the intended recipient or an agent >>>responsible >>>for delivering it to the intended recipient, you are hereby notified >>>that >>>you have received this document in error and that any review, >>>dissemination, >>>copying, or the taking of any action based on the contents of this >>>information is strictly prohibited. If you have received this >>>communication >>>in error, please notify us immediately by e-mail, and delete the >>>original >>>message. >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>>Use IT products in your business? Tell us what you think of them. Give >>>us >>>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >>>more >>>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please 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 > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mscandian at freebsdbrasil.com.br Mon Oct 18 21:11:54 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Mon, 18 Oct 2004 17:11:54 -0200 (BRST) Subject: problem with authentication Message-ID: <20041018165449.B1553-100000@cyberdine.freebsdbrasil.com.br> hi guys, i have the following problem: my configuration in my httpd.conf: ServerName nagios.mydomain.com.br ServerAdmin info at mydomain.com.br DocumentRoot /usr/home/eksffa/public_html/nagios/ ErrorLog /var/log/nagios.mydomain.com.br-error_log CustomLog /var/log/nagios.mydomain.com.br-access_log common AllowOverride Options FileInfo 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 ScriptAlias /companyB/cgi-bin/ /usr/home/eksffa/public_html/nagios/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 /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 The problem is: when I type the address in my browser, e,g: nagios.mydomain.com.br/companyA it appears a box that I must inform login and password. I give the login and passwd, and I enter in my configuration of companyA. No problems yet. But, if I clear the address in my browser, and type, e.g: nagios.mydomain.com.br/companyB, I continue in same configuration of companyA, and dont appears a box where I should to give the login and passwd. If I close my browser, and open other, and type the address for companyB, it appears a box that I must give the login and passwd. I give the login and passwd, and I enter in my configuration of companyB. Why when I clear the address and I enter with other address for other company, dont appears a box with the login and passwd? Is this problem with my apache configuration? Someone know how I can to fix it? 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 joao.paulo at orbitel.com.br Mon Oct 18 20:47:27 2004 From: joao.paulo at orbitel.com.br (=?iso-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Mon, 18 Oct 2004 16:47:27 -0200 Subject: Fw: Problems CGI Message-ID: <017f01c4b542$ea5737f0$1c5afcc8@SUPORTE2> MessageBill I made what you it guided me to make but exactly thus the error continues! It will be that some configuration in CGI.CFG or NAGIOS.CFG exists that is missed? Jo?o Paulo ----- Original Message ----- From: Barkell, Bill To: 'Jo?o Paulo Vaz da Silva' ; nagios-users at lists.sourceforge.net Sent: Monday, October 18, 2004 5:07 PM Subject: RE: [Nagios-users] Problems CGI Joao, If you are using Apache as your web server, the permissions file defined in httpd.conf AuthUserFile directive must exist, and contain your username for the login. The file is created by using apache's htpasswd utility (/usr/local/apache/bin/htpasswd on my server). Bill Barkell -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jo?o Paulo Vaz da Silva Sent: Monday, October 18, 2004 1:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems CGI Hi, My problem for CGI this's messenger : It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. Please Help-me Jo?o Paulo -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Mon Oct 18 23:10:47 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 19 Oct 2004 10:10:47 +1300 Subject: adding new servers In-Reply-To: <20041018172018.GA26507@tranquility.scriptkitchen.com> References: <20041018172018.GA26507@tranquility.scriptkitchen.com> Message-ID: If it's hectic .. take your time! SCNR! I think it's ok to add hosts and Services by hand (as long as there are only some hunderd) for really large installations you should write your own script or check out if one of the many 0.X Versions out there fit your needs (the ones i saw didn't fit my..) Using templates makes the whole thing a bit more comfortable. Jan > Hi, > I have started nagios monitoring only one server. Now, I want > to add a few more to it. But it is a hectic process to add a machine > and its services to check manually. Is there any easy way to do it? > > Thanks a lot in advance. > 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 > > -- 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 Mon Oct 18 23:33:11 2004 From: serge.bianda at appiancorp.com (Serge Bianda) Date: Mon, 18 Oct 2004 17:33:11 -0400 Subject: Logos/Images Questions Message-ID: Hello All I have unpacked "Base" Logos to /usr/local/nagios/share/images/logos as indicated, and I also edited the cgi.cfg file accordingly (here is what I have set: hostextinfo[server2]=redhat.gif;redhat.jpg;redhat.gd2; Redhat Linux;100,50;3.5,0.0,-1.5;) Stopped nagios, restarted it, I still don't see any of the logo for my redhat machine. Am I missing something here? Serge Bianda Appian Corporation www.appiancorp.com Phone: 703 442 8844 x208 Fax: 703 442 8919 Mobile: 301 325 5734 Serge.Bianda at appiancorp.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 Mon Oct 18 23:45:02 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 19 Oct 2004 10:45:02 +1300 Subject: Logos/Images Questions In-Reply-To: References: Message-ID: Are you using Extinfo and templates(?)? if yes try: define hostextinfo{ host_name server2 icon_image redhat.png icon_image_alt Redhat Server statusmap_image redhat.gd2 } in hostextinfo.cfg Do you have any suspicous entrys in you logfiles (nagios/apache.log) Are the images belonging to nagios? Jan > Hello All > I have unpacked "Base" Logos to /usr/local/nagios/share/images/logos as > indicated, and I also edited the cgi.cfg file accordingly (here is what > I have set: hostextinfo[server2]=redhat.gif;redhat.jpg;redhat.gd2; > Redhat Linux;100,50;3.5,0.0,-1.5;) > Stopped nagios, restarted it, I still don't see any of the logo for my > redhat machine. Am I missing something here? > > > Serge Bianda > Appian Corporation > www.appiancorp.com > Phone: 703 442 8844 x208 > Fax: 703 442 8919 > Mobile: 301 325 5734 > Serge.Bianda at appiancorp.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 > > -- 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 neil-on-nagios at restricted.dyndns.org Tue Oct 19 00:08:46 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Mon, 18 Oct 2004 17:08:46 -0500 Subject: Authenticating users to Nagios Externally In-Reply-To: <22190.206.47.191.243.1098119431.squirrel@whoami3.cedval.org> References: <20041018165657.3107.qmail@restricted.dyndns.org> <22190.206.47.191.243.1098119431.squirrel@whoami3.cedval.org> Message-ID: <20041018220846.27353.qmail@restricted.dyndns.org> Actually, I can configure apache to use Secure LDAP. It's going to use another port other than 389. You know what, I am going to sniff the traffic between my workstation and apache but not Apache and LDAP since we already know it is insecure. I'll do some modifications within the month. :) Thanks, fmml at cedval.org writes: > That is very nice, but if your are not using https (SSL), aren't your > passwords going out in clear text on the wire? > > Francois > >> Hi Josh, >> >> Solution can be similar to mine. I recompiled our apache with LDAP >> support. >> Now, authentication is redirected to our Windows 2000 DC machine. >> >> here is my entry in httpd.conf: >> >> ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/sbin/ >> >> AllowOverride AuthConfig >> Options ExecCGI Indexes FollowSymLinks >> Order allow,deny >> Allow from all >> AuthName "ADS Nagios" >> AuthType Basic >> LDAP_Server 10.133.133.5 >> LDAP_Port 389 >> Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" >> Bind_DN "CN=svc_AppDeliveryServ,OU=Service >> Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" >> Bind_Pass "ha24sdf1" >> UID_Attr cn >> require valid-user >> >> >> Alias /nagios/ /usr/local/nagios/share/ >> Alias /nagios /usr/local/nagios/share/ >> >> Options None >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> AuthName "ADS Nagios" >> AuthType Basic >> LDAP_Server 10.133.133.5 >> LDAP_Port 389 >> Base_DN "OU=People,OU=ADS Users,DC=us,DC=ads,DC=internal" >> Bind_DN "CN=svc_AppDeliveryServ,OU=Service >> Accounts,OU=DataCenter,DC=us,DC=ads,DC=internal" >> Bind_Pass "ha24sdf1" >> UID_Attr cn >> require valid-user >> >> >> Lastly, this is very important: >> >> You have to edit cgi.cfg. You will add the authorized usernames there >> >> >> >> Samba writes: >> >>> We use an application called SiteMinder which protects all of our web >>> servers. I have the ability to protect our Nagios server with this >>> application and authenticate them before they get to the web server. >>> What I >>> would like to do is take the authenticated user's ID and pass that into >>> Nagios. >>> >>> Any help is appreciated !! >>> >>> Josh Konkol, CCSE CNE MCSE >>> Technical Research Specialist >>> .~. GuideOne Insurance >>> /V\ >>> /( )\ >>> ^^-^^ samba at guidemail.com >>> >>> >>> This message and accompanying documents are covered by the Electronic >>> Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains >>> information >>> intended for the specified individual(s) only. This information is >>> confidential. If you are not the intended recipient or an agent >>> responsible >>> for delivering it to the intended recipient, you are hereby notified >>> that >>> you have received this document in error and that any review, >>> dissemination, >>> copying, or the taking of any action based on the contents of this >>> information is strictly prohibited. If you have received this >>> communication >>> in error, please notify us immediately by e-mail, and delete the >>> original >>> message. >>> >>> >>> ------------------------------------------------------- >>> This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>> Use IT products in your business? Tell us what you think of them. Give >>> us >>> Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >>> more >>> http://productguide.itmanagersjournal.com/guidepromo.tmpl >>> _______________________________________________ >>> Nagios-users mailing list >>> Nagios-users at lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/nagios-users >>> ::: Please 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 icedtea at gamebox.net Tue Oct 19 03:59:37 2004 From: icedtea at gamebox.net (icedtea) Date: Tue, 19 Oct 2004 09:59:37 +0800 Subject: check_disk in MB display References: Message-ID: <41747509.20604@gamebox.net> im using check_disk (nagios-plugins 1.3.1) 1.7.2.4 and it doesnt have an option to show on MB, according to help file. Is there any available parameter or new version of check_disk to display the result in MB instead of very long KB. thanks very much, icedtea ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 04:15:51 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 19 Oct 2004 15:15:51 +1300 Subject: check_disk in MB display In-Reply-To: <41747509.20604@gamebox.net> References: <41747509.20604@gamebox.net> Message-ID: Use the Version in 1.4 it has the -m switch to have the output as MegaBytes. the old version has no such features (I believe) Jan > > im using check_disk (nagios-plugins 1.3.1) 1.7.2.4 and it doesnt have an > option to show on MB, according to help file. Is there any available > parameter or new version of check_disk to display the result in MB > instead of very long KB. > > thanks very much, > icedtea > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 19 04:28:15 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 19 Oct 2004 15:28:15 +1300 Subject: Logos/Images Questions In-Reply-To: References: Message-ID: Sorry RTFM! :-) But i have encounterd the Problem, that from these both etries only the first one ist used, so you can use a hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg or xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg But you can use a central file and put alle your extinfo in one file. So Have the entry: xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg in the cgi.cfg, and put following in your extinfo.cfg: ######################## define serviceextinfo{ host_name SSH,SSH1,ssh2 service_description SSH icon_image SSH.png icon_image_alt ssh } #extended Host Info # define hostextinfo{ host_name NagiosPC,db,samuel icon_image debian.png icon_image_alt Debian Server statusmap_image debian.gd2 } ######################### For more Options like coordinates check the DOCUMENTATION! I think it's a bug that only one file is used! Jan > I already created the hostextinfo.cfg, but what about the > serviceextinfo.cfg? if I create that file, what should the content look > like? > > Thanks > Serge > > -----Original Message----- > From: Jan Scholten [mailto:Jan.Scholten at iconz.net] > Sent: Monday, October 18, 2004 10:08 PM > To: Serge Bianda > Subject: Re: [Nagios-users] Logos/Images Questions > > Just create a hostextinfo: > vi /usr/local/nagios/etc/hostextinfo.cfg > > put this in: > > define hostextinfo{ > host_name server2 > icon_image redhat.png > icon_image_alt Redhat Server > statusmap_image redhat.gd2 > } > save.. chown to nagios if necessary. Now you have a hoistextinfo and > (when > everything is working you should see a image after restarting nagios. > > Jan > >> Jan, >> I think the two files you mentioned were never copied upon > installation >> is there a way you could send me those two. (the samples though) >> hostextinfo.cfg and serviceextinfo.cfg >> >> Thanks >> Serge >> >> -----Original Message----- >> From: Jan Scholten [mailto:Jan.Scholten at iconz.net] >> Sent: Monday, October 18, 2004 9:54 PM >> To: Serge Bianda >> Subject: Re: [Nagios-users] Logos/Images Questions >> >> When using Nagios 1.2 you have by defaultenable extended Hostinfo and >> Extended Service Info. >> Check the Documentation (Extended Information).. your version is only >> working when you have specified that when compiling! >> >> Check for these lines in your cgi.cfg: >> #@@@@@@@@@@@@@@ eXtended Data File @@@@@@@@@@@@ >> >> >> #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ >> >> create a hostextinfo.cfg (or copy the sample version) and put the >> following inside: >> >> define hostextinfo{ >> host_name server2 >> icon_image redhat.png >> icon_image_alt Redhat Server >> statusmap_image redhat.gd2 >> } >> >> Your Server2 should have an redhat symbol afterwards.! >> >> Jan >>> Jan, >>> I do not have a file called hostextinfo.cfg. How do I get that file? >> As >>> far as Extinfo and templates are concerned, I'm not sure whether I >>> understand that part, what are these? >>> >>> -----Original Message----- >>> From: Jan Scholten [mailto:Jan.Scholten at iconz.net] >>> Sent: Monday, October 18, 2004 5:45 PM >>> To: Serge Bianda; nagios-users at lists.sourceforge.net >>> Subject: Re: [Nagios-users] Logos/Images Questions >>> >>> Are you using Extinfo and templates(?)? if yes try: >>> define hostextinfo{ >>> host_name server2 >>> icon_image redhat.png >>> icon_image_alt Redhat Server >>> statusmap_image redhat.gd2 >>> } >>> in hostextinfo.cfg >>> >>> Do you have any suspicous entrys in you logfiles (nagios/apache.log) >> Are >>> >>> the images belonging to nagios? >>> >>> Jan >>> >>> >>>> Hello All >>>> I have unpacked "Base" Logos to /usr/local/nagios/share/images/logos >>> as >>>> indicated, and I also edited the cgi.cfg file accordingly (here is >>> what >>>> I have set: hostextinfo[server2]=redhat.gif;redhat.jpg;redhat.gd2; >>>> Redhat Linux;100,50;3.5,0.0,-1.5;) >>>> Stopped nagios, restarted it, I still don't see any of the logo for >> my >>>> redhat machine. Am I missing something here? >>>> >>>> >>>> Serge Bianda >>>> Appian Corporation >>>> www.appiancorp.com >>>> Phone: 703 442 8844 x208 >>>> Fax: 703 442 8919 >>>> Mobile: 301 325 5734 >>>> Serge.Bianda at appiancorp.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 >>>> >>>> >>> >>> >>> >> >> >> > > > -- 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 19 05:32:13 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 19 Oct 2004 16:32:13 +1300 Subject: Wheres my Notification: Message-ID: I catch SNMP Traps and submit the Data to nagios, i would like to get a notification when a warning or critical trap is received, but i would also like to have the Service resetted to green after a while: So i have define service{ use generic-service ; Name of service template to use host_name pix service_description TRAP is_volatile 0 check_period 24x7 active_checks_enabled 0 check_freshness 1 freshness_threshold 600 max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 contact_groups Test-Admins notification_interval 120 notification_period 24x7 notification_options c,w,r check_command check_none } check_none is check_dummy 0 i would believe i should get Mails, but [1098155265] SERVICE ALERT: pix;TRAP;WARNING;HARD;1;Authentication error on Device pix But no notification is send. Why? -- 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 ml at winfix.IT Tue Oct 19 08:04:25 2004 From: ml at winfix.IT (Jo) Date: Tue, 19 Oct 2004 08:04:25 +0200 Subject: network plan and configuration management ? In-Reply-To: <200410181905.33378.andreschmidt76@arcor.de> References: <200410181905.33378.andreschmidt76@arcor.de> Message-ID: <4174AE69.6090801@winfix.IT> Andre Schmidt wrote: >hello nagios community, > >i am on the last week of my internship and i finally got time for my project >work "Network monitoring with Nagios". > >installation and tests are all done and now it's time for configuration. > >as i'm not experienced with big(~100 hosts) networks, i wanted to ask you >about some concrete methods on doing things. > >how do you create the network plan ? >how do you convert the plan to nagios configuration files ? >how do you visualize the network plan (for documentation) ? >how do you manage your nagios configuration files ? > >thank you, >andre > > Hello Andr?, I just started using Nagios about a week ago. It's great to see all the things it can check upon and it's great to tweak it to do what we need. It will take you more than a week to get it all set up though, I'm afraid. 1. What I did to create the network plan is to make an inventory of all the machines that are on the same local subnet as. Those don't need a "parents=" line. Then you have a look at your default gateway. Give the Nagios server as its parent. We have a web server in the DMZ, so that gets the default gateway as its parent. We have an off site location. Its router also gets the default gateway as its parent. All the servers that are on this location get that router as its parent. To check for internet connectivity, I defined the outgoing router. Its parent is our default gateway. Then I do http checks on some web sites on the internet. 2. Experiment. Start small and extend from there. 3. Under monitoring, there is a link/button "Status Map". That gives a nice little map of the situation. 4. They are text files. I just use vi through ssh. Jo ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Tue Oct 19 10:33:30 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 19 Oct 2004 10:33:30 +0200 Subject: RRD addon for Nagios Message-ID: <200410191033.39274.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am looking for a graphics / RRD addon tool for Nagios. On the download site of Nagios I found at least 4: - - APAN - - nagiosgraph - - nagiostat - - SAT Please could you send me comments about software matureness, usability and long term perspectives of these addons. Thanks you for your help. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBdNFhqndXpO3Yl5sRAoYfAKCcNzaqr/w2lsYstFOsk5eVRBfecQCcDx3p cmB/bknr+KBJBXnfM81rVw4= =QBxg -----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 Wengrzik at ewr.de Tue Oct 19 10:42:16 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 19 Oct 2004 10:42:16 +0200 Subject: RRD addon for Nagios Message-ID: <90D32590BAD135448DC12C1EA3EB4482209C20@epsewr01.ewrlan.ewr.int> Hi! I use nagiostat... other i havent try yet. > -----Original Message----- > From: Michael Schwartzkopff [mailto:misch at multinet.de] > Sent: Tuesday, October 19, 2004 10:34 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] RRD addon for Nagios > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi, > > I am looking for a graphics / RRD addon tool for Nagios. On > the download site > of Nagios I found at least 4: > > - - APAN > - - nagiosgraph > - - nagiostat > - - SAT > > Please could you send me comments about software matureness, > usability and > long term perspectives of these addons. Thanks you for your help. > > - -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Bretonischer Ring 7 > 85630 Grasbrunn > > Tel: (+49 89) 456 911 - 0 > Fax: (+49 89) 456 911 - 21 > mob: (+49 174) 343 28 75 > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.2.4 (GNU/Linux) > > iD8DBQFBdNFhqndXpO3Yl5sRAoYfAKCcNzaqr/w2lsYstFOsk5eVRBfecQCcDx3p > cmB/bknr+KBJBXnfM81rVw4= > =QBxg > -----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 > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 10:46:11 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Tue, 19 Oct 2004 10:46:11 +0200 Subject: Nagios as loghost Message-ID: <90D32590BAD135448DC12C1EA3EB4482026B21@epsewr01.ewrlan.ewr.int> Hi! We have to install a loghost server in our server farm... now can nagios take over this part with a special plugin?? We need a loghost yor windows systems and unix systems, so both have to be logged by one host. Can anyone help 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 ml at winfix.IT Tue Oct 19 11:37:42 2004 From: ml at winfix.IT (Jo) Date: Tue, 19 Oct 2004 11:37:42 +0200 Subject: NagiosExchange In-Reply-To: <7A2D573DD70B3447AF010B62D9711C0F32377C@bottom.jnpr.net> References: <7A2D573DD70B3447AF010B62D9711C0F32377C@bottom.jnpr.net> Message-ID: <4174E066.6030405@winfix.IT> Ian Davidson wrote: >Whats the link then? > > > Sorry, here it is: http://www.nagiosexchange.org Jo ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 11:39:32 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Oct 2004 11:39:32 +0200 Subject: Nagios as loghost In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482026B21@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482026B21@epsewr01.ewrlan.ewr.int> Message-ID: <4174E0D4.9040408@op5.se> Wengrzik, Andreas wrote: > Hi! > > We have to install a loghost server in our server farm... now can nagios take over this part > with a special plugin?? > > We need a loghost yor windows systems and unix systems, so both have to be logged by one host. > This is not a task for Nagios, but for the syslog daemon which has had this capability for eons. Use NTSyslog and add -r to your Nagios server's syslogd startup options. You'll have to configure the sending machines too, ofcourse. > Can anyone help me ? > -- 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 Ralf.Wigand at rz.uni-karlsruhe.de Tue Oct 19 12:51:03 2004 From: Ralf.Wigand at rz.uni-karlsruhe.de (Ralf Wigand) Date: Tue, 19 Oct 2004 12:51:03 +0200 Subject: Host warning state? Message-ID: <5A71427437E8E8459E356079FEAC7D43D099@rzms-ex1.rz.uni-karlsruhe.de> hi! sometimes it would be nice to have hosts not only up or down but also in a warning state. for example: server1 with service_a, service_b and service_c service_b has a problem and is in an error state. so server1 is still ok. there it would be nice to have something like "well, the server is ok, but at least one service on it has a problem..." or, in other words: a warning state. is there a way to implement this? ciao, ralf --- System Management, CA, User-Helpdesk c/o Computing Center, University of Karlsruhe ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 13:25:48 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Tue, 19 Oct 2004 12:25:48 +0100 Subject: RRD addon for Nagios Message-ID: <05418a2497ada4276a101f8fcb28de77@vega.scarceskills.com> Andreas, I am trying to get nagiostat up and running for me. I have followed the README, and got to the point where I see broken images. Now, in my apache error_log I get : --- [Tue Oct 19 12:10:56 2004] [error] [client 192.168.1.1] ERROR: opening '/usr/share/nagios/nagiostat/archives/neptune-ping.rrd': No such file or directory, referer: http://mars.blablabla.com/nagios/nagiostat/nagiostat.cgi?graph_name=neptune-ping --- Simple, there is no neptune-ping.rrd file, and that is correct, I checked the archive directory, and nothing. There is nothing in the debug.log of nagiostat. For some reason it's not creating the rrd file. Here is the relevant part of nagiostat.conf: --- InsertValue neptune-ping.rrd ping_1min /neptune/ /PING/ ping_rta_pktloss Graph neptune-ping neptune-ping.rrd std_1year ping_rta default.html "Ping neptune RTA" --- All the template stuff I left as is. Right at the top I changed all the directories as appropriate. Enable performance data is switched on in nagios.cfg and the appropriate command is there. I have tested that the nagios user can run the performance data command and rrdtool bin. I have also tested with the nagios user that the archive directory is writable. Any input will be appreciated. Martinus. "Wengrzik, Andreas" wrote: >Hi! > >I use nagiostat... other i havent try yet. > >> -----Original Message----- >> From: Michael Schwartzkopff [mailto:misch at multinet.de] >> Sent: Tuesday, October 19, 2004 10:34 AM >> To: Nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] RRD addon for Nagios >> >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> I am looking for a graphics / RRD addon tool for Nagios. On >> the download site >> of Nagios I found at least 4: >> >> - - APAN >> - - nagiosgraph >> - - nagiostat >> - - SAT >> >> Please could you send me comments about software matureness, >> usability and >> long term perspectives of these addons. Thanks you for your help. >> >> - -- >> Dr. Michael Schwartzkopff >> MultiNET Services GmbH >> Bretonischer Ring 7 >> 85630 Grasbrunn >> >> Tel: (+49 89) 456 911 - 0 >> Fax: (+49 89) 456 911 - 21 >> mob: (+49 174) 343 28 75 >> >> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (GNU/Linux) >> >> iD8DBQFBdNFhqndXpO3Yl5sRAoYfAKCcNzaqr/w2lsYstFOsk5eVRBfecQCcDx3p >> cmB/bknr+KBJBXnfM81rVw4= >> =QBxg >> -----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 >> > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 joost at informatiefabriek.nl Tue Oct 19 14:12:55 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Tue, 19 Oct 2004 14:12:55 +0200 Subject: problem with check_http_site Message-ID: This is in my service.cfg define service{ use generic-service host_name ares service_description TEST SITE is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 960 notification_period 24x7 check_command check_http_site!" gathering.tweakers.net/forum/list_messages/967646" } This is in my checkcommands.cfg define command{ command_name check_http_site command_line $USER1$/check_http -H $ARG1$ } the command check_http_site!"gathering.tweakers.net/forum/list_messages/967646" gives as result: Name or service not known The adress is working (up). I Think it has to do with the slashes I used in the URL, because when I try a regular address like www.cnn.com it works fine. Anyone have an idea how I can call the function with a parameter containing slashes? regards, Joost Saanen www.Informatiefabriek.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at mm.quex.org Tue Oct 19 14:22:05 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 19 Oct 2004 20:22:05 +0800 Subject: problem with check_http_site In-Reply-To: References: Message-ID: <20041019122205.GA3957@quex.org> On Tue, Oct 19, 2004 at 02:12:55PM +0200, joost at informatiefabriek.nl wrote: > define command{ > command_name check_http_site > command_line $USER1$/check_http -H $ARG1$ > } > > the command > check_http_site!"gathering.tweakers.net/forum/list_messages/967646" gives > as result: Name or service not known > The adress is working (up). The -H parameter sets the hostname to check, not a URL. Look at the output of check_http -h to see the correct parameters; you'll need to specify the page to get (i.e. /forum/list_messages...) and you can specify an extra parameter to provide the hostname to send in the Host: header if the site needs it (named-based virtual hosts). ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nsahnoun at refco.fr Tue Oct 19 14:25:43 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Tue, 19 Oct 2004 14:25:43 +0200 Subject: problem with check_http_site Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C6FBCB2@SRPAREXCHG2> Hi, Try -u parameter as : command_line $USER1$/check_http -H $HOSTADDRESS$ -u /forum/list_messages/967646 and : check_http_site!gathering.tweakers.net and then, you can pass "/forum..." as paramters... NS -----Message d'origine----- De : joost at informatiefabriek.nl [mailto:joost at informatiefabriek.nl] Envoy? : mardi 19 octobre 2004 14:13 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] problem with check_http_site This is in my service.cfg define service{ use generic-service host_name ares service_description TEST SITE is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 960 notification_period 24x7 check_command check_http_site!"gathering.tweakers.net/forum/list_messages/967646" } This is in my checkcommands.cfg define command{ command_name check_http_site command_line $USER1$/check_http -H $ARG1$ } the command check_http_site!"gathering.tweakers.net/forum/list_messages/967646" gives as result: Name or service not known The adress is working (up). I Think it has to do with the slashes I used in the URL, because when I try a regular address like www.cnn.com it works fine. Anyone have an idea how I can call the function with a parameter containing slashes? regards, Joost Saanen www.Informatiefabriek.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From Bill.Barkell at mail.house.gov Tue Oct 19 14:27:37 2004 From: Bill.Barkell at mail.house.gov (Barkell, Bill) Date: Tue, 19 Oct 2004 08:27:37 -0400 Subject: Nagios as loghost Message-ID: <9362C7DD6454114882BF5E53EF88F65D0476A7CD@hrm24.houseexchange.us.house.gov> If the loghost is to be a UNIX platform, you may also wish to consider syslog-ng.....works like a charm. Bill Barkell -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wengrzik, Andreas Sent: Tuesday, October 19, 2004 4:46 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios as loghost Hi! We have to install a loghost server in our server farm... now can nagios take over this part with a special plugin?? We need a loghost yor windows systems and unix systems, so both have to be logged by one host. Can anyone help 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 jhein at netways.de Tue Oct 19 15:53:41 2004 From: jhein at netways.de (Julian Hein) Date: Tue, 19 Oct 2004 15:53:41 +0200 Subject: Host warning state? Message-ID: <2F6750F2110CAD41BE0BC33BB428B5680655A1@net-sql2.int.netways.de> Hi Ralf, > sometimes it would be nice to have hosts not only up or down > but also in a warning state. This is not possible without tweaking the source code. A host can only be Up, Down, Unreachable or Pending. Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.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 rnelson at windchannel.com Tue Oct 19 16:02:19 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Tue, 19 Oct 2004 10:02:19 -0400 Subject: network plan and configuration management ? Message-ID: Andre, Just commenting on a few things Jo said, otherwise a good action plan. > I just started using Nagios about a week ago. It's great to > see all the > things it can check upon and it's great to tweak it to do > what we need. > It will take you more than a week to get it all set up > though, I'm afraid. If you stick with a small portion of the network (this is an internship and a proper Pilot would only include a small portion anyway), it shouldn't be too hard to get nagios up and usable by the end of the week. I'd expect to spend some time at home fussing with the details. Word of advice - don't set up any email or pagers (that work) until Thursday, or you'll get real pissed off at the spam you generate when you typo names and IP's and check commands. > 1. What I did to create the network plan is to make an > inventory of all > the machines that are on the same local subnet as. Those don't need a > "parents=" line. > Then you have a look at your default gateway. Give the Nagios > server as > its parent. We have a web server in the DMZ, so that gets the default > gateway as its parent. We have an off site location. Its router also > gets the default gateway as its parent. All the servers that > are on this > location get that router as its parent. > To check for internet connectivity, I defined the outgoing > router. Its > parent is our default gateway. Then I do http checks on some > web sites > on the internet. A big note on this one: take your existing network diagram or plans and then rework them *from the perspective of the Nagios machine*! Nagios doesn't care if your core router is the center of the network; that's 4 hops away and lots of crap can die in between without taking down the core. Sometimes it's difficult to view things this way (in my network, only one device, a managed switch, has the Nagios host as a parent) but it has to be done. Also, remember that DNS is a great way to store IP information for Nagios, not just web sites. I use IP addresses for external items we monitor (such as a radius server someone else owns, but that is accessed from our network) and DNS names that I control for everything else. It's much easier to set up earlier rather than later. > 4. They are text files. I just use vi through ssh. If you're doing edits on a winders box, resize your notepad/wordpad window so that it's the same size as a host or service entry. Every time you fill in a host name and hit page down, you'll be on the host name line for the next entry. Makes things a *bit* easier for initial setup. 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 martinus.nel at scarceskills.com Tue Oct 19 16:11:20 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Tue, 19 Oct 2004 15:11:20 +0100 Subject: RRD addon for Nagios Message-ID: Andreas, As for the issue I am having with nagiostat, I have noticed that when I try to run the script from the shell, it's takes up 100% CPU and does not let go. I have read on the nagiostat mailing list of some other people who had the same problem, but there was no resolution posted. Perhaps you hold the answer ? :) Martinus. "Wengrzik, Andreas" wrote: >Hi! > >I use nagiostat... other i havent try yet. > >> -----Original Message----- >> From: Michael Schwartzkopff [mailto:misch at multinet.de] >> Sent: Tuesday, October 19, 2004 10:34 AM >> To: Nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] RRD addon for Nagios >> >> >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi, >> >> I am looking for a graphics / RRD addon tool for Nagios. On >> the download site >> of Nagios I found at least 4: >> >> - - APAN >> - - nagiosgraph >> - - nagiostat >> - - SAT >> >> Please could you send me comments about software matureness, >> usability and >> long term perspectives of these addons. Thanks you for your help. >> >> - -- >> Dr. Michael Schwartzkopff >> MultiNET Services GmbH >> Bretonischer Ring 7 >> 85630 Grasbrunn >> >> Tel: (+49 89) 456 911 - 0 >> Fax: (+49 89) 456 911 - 21 >> mob: (+49 174) 343 28 75 >> >> PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B >> >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.2.4 (GNU/Linux) >> >> iD8DBQFBdNFhqndXpO3Yl5sRAoYfAKCcNzaqr/w2lsYstFOsk5eVRBfecQCcDx3p >> cmB/bknr+KBJBXnfM81rVw4= >> =QBxg >> -----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 >> > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 agrajag at dragaera.net Tue Oct 19 16:16:59 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Tue, 19 Oct 2004 10:16:59 -0400 Subject: Host warning state? In-Reply-To: <5A71427437E8E8459E356079FEAC7D43D099@rzms-ex1.rz.uni-karlsruhe.de> References: <5A71427437E8E8459E356079FEAC7D43D099@rzms-ex1.rz.uni-karlsruhe.de> Message-ID: <1098195418.18197.28.camel@pel> On Tue, 2004-10-19 at 06:51, Ralf Wigand wrote: > sometimes it would be nice to have hosts not only up or down but also in > a warning state. for example: > > server1 with service_a, service_b and service_c > > service_b has a problem and is in an error state. so server1 is still > ok. there it would be nice to have something like "well, the server is > ok, but at least one service on it has a problem..." or, in other words: > a warning state. What's your goal in doing this? One thing you can do is add a service_d and use the check_cluster plugin so that service_d will be warning if any of the other services aren't ok. Nagios is designed to be able to try to figure out if its a service or host problem and notify the proper person. It can be very powerful when used that way, and what you suggest goes against that. I'm having a hard time figuring out what your intent could be that would make you want the hosts to have a warning state. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nickwales.co.uk Tue Oct 19 16:26:22 2004 From: nagios at nickwales.co.uk (Nick Wales) Date: Tue, 19 Oct 2004 15:26:22 +0100 Subject: NSClient download Message-ID: Can someone point me to where i might download an up to date version of NSClient. The http://support.tsmgsoftware.com/ website is down, and has been for ages. Thanks Nick ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 16:35:13 2004 From: jhein at netways.de (Julian Hein) Date: Tue, 19 Oct 2004 16:35:13 +0200 Subject: NSClient download Message-ID: <2F6750F2110CAD41BE0BC33BB428B5680655A3@net-sql2.int.netways.de> Hi, > Can someone point me to where i might download an up to date > version of NSClient. http://www.nagiosexchange.org/NsClient.1719.0.html Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.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 ml at winfix.IT Tue Oct 19 17:17:26 2004 From: ml at winfix.IT (Jo) Date: Tue, 19 Oct 2004 17:17:26 +0200 Subject: NSClient download In-Reply-To: <2F6750F2110CAD41BE0BC33BB428B5680655A3@net-sql2.int.netways.de> References: <2F6750F2110CAD41BE0BC33BB428B5680655A3@net-sql2.int.netways.de> Message-ID: <41753006.1050006@winfix.IT> Julian Hein wrote: >Hi, > > > >>Can someone point me to where i might download an up to date >>version of NSClient. >> >> > >http://www.nagiosexchange.org/NsClient.1719.0.html > >Julian > > > What can NSClient do that NRPE_NT doesn't do? It seems like NSClient is a project that has been abandoned twice now. Is it wise to start using it? Jo ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 19 17:44:13 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Tue, 19 Oct 2004 17:44:13 +0200 Subject: VRML problem Message-ID: Hello, when I click at StatusMap 3d, the browser try to download the cgi file, but I have installed the Cortona plugin and works correctly in other VRML webs. any idea? the others cgi works fine thanks Francisco Mart?nez Proyectos de Infraestructura Desarrollo Tecnol?gico ENDESA Servicios Avda. Paral?lel, 51 entl., 08004 Barcelona Tel?fono: 93 5091605 Interno: 31 16 05 mailto: fmartinezg at endesa.es ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dt_player at yahoo.com Tue Oct 19 19:14:24 2004 From: dt_player at yahoo.com (John David) Date: Tue, 19 Oct 2004 10:14:24 -0700 (PDT) Subject: acknowledging a service problem via email Message-ID: <20041019171424.45136.qmail@web13807.mail.yahoo.com> can someone help point me in the right direction? i'm on the road alot and need a way to acknowledge service and/or host problems via email. has this already been implemented? is there an external command that i can use to acknowledge a problem through a custom script? RIM and blackberry are HUGE nowadays. this would seem to be an invaluable script/tool. thanks, john _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.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 Sam.Harris at fns.usda.gov Tue Oct 19 18:16:37 2004 From: Sam.Harris at fns.usda.gov (Harris, Sam) Date: Tue, 19 Oct 2004 12:16:37 -0400 Subject: which client to use..Help! Message-ID: I am trying to get away from NRPE client, and use a client which would use secure connection to Microsoft boxes on the other side of the firewall in an encrypted manner if possible...or at least initiate the updates without Nagios server initiating it. Is there a such thing? Thanks Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lane.Williams at jhuapl.edu Tue Oct 19 19:24:33 2004 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Tue, 19 Oct 2004 13:24:33 -0400 Subject: Nagios as loghost Message-ID: Yes....I use Syslog-NG on my Nagios server....Microsoft machines send their logs via an application/service called 'Event Sentry'. Any unix host with syslog can send logs to Syslog-NG. I do not use my monitoring host as a loghost, only as a mechanism to read and process and report on large amounts of log data via Nagios. Since Nagios doesn't like '\n' (newlines) I had to re-write the check_log2.pl plugin to handle the data differently. My client machines dump data to Nagios for reading and then I use logrotate to clear the logs once a day.....We have a loghost elsewhere..... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Wengrzik, Andreas Sent: Tuesday, October 19, 2004 4:46 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios as loghost Hi! We have to install a loghost server in our server farm... now can nagios take over this part with a special plugin?? We need a loghost yor windows systems and unix systems, so both have to be logged by one host. Can anyone help 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 shorn at lssi.net Tue Oct 19 19:51:26 2004 From: shorn at lssi.net (Spencer Horn) Date: Tue, 19 Oct 2004 13:51:26 -0400 Subject: Active check Scheduling Message-ID: <4175541E.2010507@lssi.net> I am trying to setup a check that checks every other Tuesday. This check is active. Is there a way to define this in the timeperiod cfg file? or any other ideas? Thanks, Spencer ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joao.paulo at orbitel.com.br Tue Oct 19 20:07:42 2004 From: joao.paulo at orbitel.com.br (=?ISO-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Tue, 19 Oct 2004 16:07:42 -0200 Subject: What's This? Message-ID: <417557EE.30805@orbitel.com.br> Hi guys, help me what's this? [root at support libexec]# ./check_ping -H 10.4.1.70 -w 500.00,40% -c 1000.00,70% /bin/ping -n -U -c 5 10.4.1.70 Error: Could not interpret output from ping command ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 19 20:08:46 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 19 Oct 2004 11:08:46 -0700 Subject: Active check Scheduling In-Reply-To: <4175541E.2010507@lssi.net> References: <4175541E.2010507@lssi.net> Message-ID: <20041019180846.GH31187@zippy.toger.us> On Tue, Oct 19, 2004 at 01:51:26PM -0400, Spencer Horn wrote: > I am trying to setup a check that checks every other Tuesday. This check > is active. Is there a way to define this in the timeperiod cfg file? or > any other ideas? The timeperiod file doesn't have any way to specify this; you'd probably have to put something into the plugin that understands the different schedule. -Jason Martin -- Eagles may soar but weasels aren't sucked into jet engines! 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 joao.paulo at orbitel.com.br Tue Oct 19 20:35:49 2004 From: joao.paulo at orbitel.com.br (=?ISO-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Tue, 19 Oct 2004 16:35:49 -0200 Subject: What's this? Message-ID: <41755E85.4050105@orbitel.com.br> Hi guys, help me what's this? [root at support libexec]# ./check_ping -H 10.4.1.70 -w 500.00,40% -c 1000.00,70% /bin/ping -n -U -c 5 10.4.1.70 Error: Could not interpret output from ping command ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joao.paulo at orbitel.com.br Tue Oct 19 20:50:19 2004 From: joao.paulo at orbitel.com.br (=?ISO-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Tue, 19 Oct 2004 16:50:19 -0200 Subject: What's this Message-ID: <417561EB.7040909@orbitel.com.br> Hi guys, help me what's this? [root at support libexec]# ./check_ping -H 10.4.1.70 -w 500.00,40% -c 1000.00,70% /bin/ping -n -U -c 5 10.4.1.70 Error: Could not interpret output from ping command ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ohoyer at ohoyer.de Tue Oct 19 20:38:35 2004 From: ohoyer at ohoyer.de (Olaf Hoyer) Date: Tue, 19 Oct 2004 20:38:35 +0200 (CEST) Subject: which client to use..Help! In-Reply-To: References: Message-ID: <20041019203525.Y79192@gaff.hhhr.ision.net> On Tue, 19 Oct 2004, Harris, Sam wrote: > I am trying to get away from NRPE client, and use a client which would > use secure connection to Microsoft boxes on the other side of the > firewall in an encrypted manner if possible...or at least initiate the > updates without Nagios server initiating it. > Is there a such thing? > Basically you are looking for a solution that the client on the other side of the firewall is pushing data into the nagios machine? I can think of two approaches: - Do a distributed setup of those machines. Place a small nagios machine inside that firewalled segment, let it make those checks, and then push it to the big server. Then you could also use SNMP etc, whilst being e.g. in the management LAN - put on each Windows box some scripts, that are scheduled any 5 mins or so, and let them push their data to the nagios box via the standard distribution mechanism (NSCA) HTH Olaf -- Olaf Hoyer ohoyer at ohoyer.de Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese) ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joao.paulo at orbitel.com.br Tue Oct 19 21:09:28 2004 From: joao.paulo at orbitel.com.br (=?ISO-8859-1?Q?Jo=E3o_Paulo_Vaz_da_Silva?=) Date: Tue, 19 Oct 2004 17:09:28 -0200 Subject: Nagios don't check Message-ID: <41756668.4090208@orbitel.com.br> Hi guys, My Nagios don't check host command check_ping: 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 } # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } host.cfg # 'router1' host definition define host{ use generic-host ; Name of host template to use host_name router1 alias Router #1 address 10.4.1.70 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,u,r } service.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name router1 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups nagios-admin notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_ping } Thanks Jo?o Paulo ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 21:09:16 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Oct 2004 21:09:16 +0200 Subject: Active check Scheduling In-Reply-To: <4175541E.2010507@lssi.net> References: <4175541E.2010507@lssi.net> Message-ID: <4175665C.40408@op5.se> Spencer Horn wrote: > I am trying to setup a check that checks every other Tuesday. This check > is active. Is there a way to define this in the timeperiod cfg file? or > any other ideas? > Use cron and submit a passive check result. Nagios doesn't schedule things by dates and times, so you wouldn't be able to do it that way. > Thanks, > Spencer > -- 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 19 21:11:34 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 19 Oct 2004 21:11:34 +0200 Subject: What's This? In-Reply-To: <417557EE.30805@orbitel.com.br> References: <417557EE.30805@orbitel.com.br> Message-ID: <417566E6.7070307@op5.se> Jo?o Paulo Vaz da Silva wrote: > Hi guys, help me what's this? > > [root at support libexec]# ./check_ping -H 10.4.1.70 -w 500.00,40% -c > 1000.00,70% > /bin/ping -n -U -c 5 10.4.1.70 > Error: Could not interpret output from ping command > It means your check_ping plugin can't read the output of your ping command. It's a very concise error message, actually. You can try using the check_icmp plugin I contributed ages ago instead. It's somewhere at sourceforge.net/projects/nagiosplug (click contrib (I think) and then look for check_icmp). It's 99% ANSI C, so it will compile on just about any POSIX-compliant system you throw it at, and it's a helluva lot faster than check_ping as well. -- 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 Tue Oct 19 21:40:57 2004 From: marc at ena.com (Marc Powell) Date: Tue, 19 Oct 2004 14:40:57 -0500 Subject: Active check Scheduling Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25C04F@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Spencer Horn Sent: Tuesday, October 19, 2004 12:51 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Active check Scheduling > I am trying to setup a check that checks every other Tuesday. This check is > active. Is there a way to define this in the timeperiod cfg file? or any > other ideas? You can't do this directly as an active check. My suggestion would be to set it up as a passive check, create a small wrapper script for the plugin you want to execute as your check that runs the plugin and sends the results back via NRPE or by writing directly to the command file if it's local and run that out of cron on your schedule. -- 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 Tue Oct 19 21:49:51 2004 From: ialsafa at getcollc.com (Israfil Alsafa) Date: Tue, 19 Oct 2004 14:49:51 -0500 Subject: What's this Message-ID: This basically means that the executable check_ping is returning results that doesn't make sense to nagios. Nagios takes a printed output and a status code as a return from plugins. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Jo?o Paulo Vaz da Silva Sent: Tuesday, October 19, 2004 1:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] What's this Hi guys, help me what's this? [root at support libexec]# ./check_ping -H 10.4.1.70 -w 500.00,40% -c 1000.00,70% /bin/ping -n -U -c 5 10.4.1.70 Error: Could not interpret output from ping command ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 leoh at dcc.ufmg.br Tue Oct 19 21:55:10 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Tue, 19 Oct 2004 17:55:10 -0200 (BRST) Subject: Complex dependencies Message-ID: A have a complex dependency between my clients. Is there a... Nagios telling me which dependency fails when checking a e... service? I know that there is a error on my dependency fil... very big and complex configuration. It would be much easie... Too many errors encountered; the rest of the message is ignored: could tell us something like (in status.log): "Check PENDING. Dependecy failed on host X". I would be nice to have de dependency info on the web interface. It would make life easier for me :) Suggestions? -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 19 22:03:36 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 19 Oct 2004 13:03:36 -0700 Subject: What's This? In-Reply-To: <417557EE.30805@orbitel.com.br> References: <417557EE.30805@orbitel.com.br> Message-ID: <1098216215.28271.170.camel@tesuji.nac.uci.edu> On Tue, 2004-10-19 at 11:07, Jo?o Paulo Vaz da Silva wrote: > Hi guys, help me what's this? > > [root at support libexec]# ./check_ping -H 10.4.1.70 -w 500.00,40% -c > 1000.00,70% > /bin/ping -n -U -c 5 10.4.1.70 > Error: Could not interpret output from ping command This means that check_ping did not understand what was output by the ping command for your system. One solution is to modify your check_ping to understand your ping command's output. If you check the archives, there should be a patch I sent to the list that made check_ping work on RHEL 3, and likely FC2 as well. Another option is to get a plugin that isn't a wrapper for your system's ping, but rather does the pinging itself. I don't recall the name of that package, but it sounded pretty interesting. Hopefully the author will pipe up shortly. :) This too can likely be found in the archives though. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 strombrg at dcs.nac.uci.edu Tue Oct 19 22:12:40 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Tue, 19 Oct 2004 13:12:40 -0700 Subject: which client to use..Help! In-Reply-To: <20041019203525.Y79192@gaff.hhhr.ision.net> References: <20041019203525.Y79192@gaff.hhhr.ision.net> Message-ID: <1098216759.28271.179.camel@tesuji.nac.uci.edu> On Tue, 2004-10-19 at 11:38, Olaf Hoyer wrote: > On Tue, 19 Oct 2004, Harris, Sam wrote: > > > I am trying to get away from NRPE client, and use a client which would > > use secure connection to Microsoft boxes on the other side of the > > firewall in an encrypted manner if possible...or at least initiate the > > updates without Nagios server initiating it. > > Is there a such thing? > > > Basically you are looking for a solution that the client on the other > side of the firewall is pushing data into the nagios machine? > > I can think of two approaches: > > - Do a distributed setup of those machines. Place a small nagios machine > inside that firewalled segment, let it make those checks, and then push > it to the big server. Then you could also use SNMP etc, whilst being > e.g. in the management LAN > > - put on each Windows box some scripts, that are scheduled any 5 mins or > so, and let them push their data to the nagios box via the standard > distribution mechanism (NSCA) > > HTH > Olaf ...or set up check_by_ssh, and install ssh on your windoze box. -- 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 jhein at netways.de Tue Oct 19 22:42:29 2004 From: jhein at netways.de (Julian Hein) Date: Tue, 19 Oct 2004 22:42:29 +0200 Subject: NSClient download Message-ID: <2F6750F2110CAD41BE0BC33BB428B5680655AB@net-sql2.int.netways.de> Hi, > What can NSClient do that NRPE_NT doesn't do? Nothing. It is just much easier to use and maintain. There is no need to configure checks on your monitoring clients. Everything can be done on the Nagios Server. It basically gets you everything that is available in the Windows Performance Monitor. > It seems like NSClient is a project that has been abandoned > twice now. Is it wise to start using it? Well, we use it for 2 years now and had only very small problems with it. 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 Jan.Scholten at iconz.net Tue Oct 19 22:41:08 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 20 Oct 2004 09:41:08 +1300 Subject: NSClient download In-Reply-To: <41753006.1050006@winfix.IT> References: <2F6750F2110CAD41BE0BC33BB428B5680655A3@net-sql2.int.netways.de> <41753006.1050006@winfix.IT> Message-ID: I like the possibility to to check performance counter and is has the basic checks build in, so i don't need to write plugins.. The webpage was working some days ago (a week) so they may have a little problem.. if it's back again nobody will be unhappy if you take over the development of a new version ;-) Sourcecode was there.. Same with nagiosplug.. it would be great if someone would check all the bugs aso.. last cvs change was month ago.. Jan > Julian Hein wrote: > >> Hi, >>> Can someone point me to where i might download an up to date version >>> of NSClient. >>> >> >> http://www.nagiosexchange.org/NsClient.1719.0.html >> >> Julian >> >> > What can NSClient do that NRPE_NT doesn't do? It seems like NSClient is > a project that has been abandoned twice now. Is it wise to start using > it? > > Jo > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 19 22:41:54 2004 From: marc at ena.com (Marc Powell) Date: Tue, 19 Oct 2004 15:41:54 -0500 Subject: Nagios don't check Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25C05B@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jo?o Paulo Vaz da Silva Sent: Tuesday, October 19, 2004 2:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios don't check > Hi guys, > > My Nagios don't check host command check_ping: > > 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 > } > > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS$ -w > 3000.0,80% -c 5000.0,100% -p 1 > } [snip] > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > > host_name router1 > service_description PING > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups nagios-admin > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_ping > } > Your check_ping command definition is expecting two arguments passed to it as part of the service definition check_command. Specifically a warning point ($ARG1$) and a critical point ($ARG2$). Presuming that you want the same warning and critical values as you're using for your check-host-alive command then your service check_command should be 'check_ping!3000.0,80%!5000.0,100%' -- 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 Karl at multimap.com Tue Oct 19 23:45:08 2004 From: Karl at multimap.com (Karl Skidmore) Date: Tue, 19 Oct 2004 22:45:08 +0100 Subject: status.cgi - times out by 1 hour until I restart apache Message-ID: Hi All, I've found that 'sometimes' times displayed by status.cgi / showlog.cgi / etc can be exactly 1 hour out. The status and log entry content is up to date, but the times reported are offset by 1 hour. If I restart apache the times shown are correct - only for a while though. The system clock is always valid (and regularly sync'd with an NTP server). I've not worked out what triggers this offset to take hold yet. Has anyone else seen this issue? My apache config is rather esoteric (fcgi, gzip, ssl, authenticated via an external app), but I don't think this has anything to do with it. Cheers... Karl Principal Software Architect Multimap.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From icedtea at gamebox.net Wed Oct 20 03:13:49 2004 From: icedtea at gamebox.net (icedtea) Date: Wed, 20 Oct 2004 09:13:49 +0800 Subject: check traffic without snmp? Message-ID: <4175BBCD.8020202@gamebox.net> is it possible to check current network traffic without using snmp? 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 curlybraces at dialogsl.net Wed Oct 20 05:19:40 2004 From: curlybraces at dialogsl.net (Curlys) Date: Wed, 20 Oct 2004 09:19:40 +0600 Subject: some probs in configuring Message-ID: <019001c4b653$a2d6e670$0d1ea8c0@hazard1974> Hi Friends , I have Installed nagios 1.2 from rpm for Fedora core 2.. it was success. including this rpm files. nagios-1.2-1.i386.rpm nagios-devel-1.2-1.i386.rpm nagios-plugins-1.3.1-1.i386.rpm nagios-plugins-extras-1.3.1-1.i386.rpm nagios-www-1.2-1.i386.rpm nrpe-2.0-1.i386.rpm nrpe-plugin-2.0-1.i386.rpm according there documentation first i tried to Configuring Web Server Authentication. but there is few confuses . 1. - ---- coulkdn't find this location. do i have to create /usr/local/nagios/sbin by myself ?????? AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI 2. - ---- this path also missing . do i have to create it ?????? AllowOverride AuthConfig order allow,deny allow from all 3. AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users ------- this location also missing ........!!!!!!! require valid-user plz help me , i went through FAQ list also . but that try failed.....................i need to configure nagios asap. #### Is it possible to implement nagios, monitor the mobile network ( GSM , GPRS ) Thanx curlys -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Wed Oct 20 05:40:10 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 19 Oct 2004 20:40:10 -0700 Subject: status.cgi - times out by 1 hour until I resta rt apache Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73AC@dw-mail.dataway.com> Its possible that your nagios or apache accounts are running at system timezone and you're running in local timezone (though only within your user environment). The time displayed in the web interface is offset using your timezone setting (not sure if it's apache's or nagios' timezone). To set it systemwide, find the appropriate file (ie. /usr/share/zoneinfo/Europe/Zurich) and copy it over your system's timezone file (ie /etc/localtime). Also, check your UTC time (date -u) once more, and set the system's hardware clock (setclock) if needed. If the date changed dramatically, you may need to also restart the ntpd daemon if you use that. -----Original Message----- From: Karl Skidmore [mailto:Karl at multimap.com] Sent: Tuesday, October 19, 2004 2:45 PM To: Subject: [Nagios-users] status.cgi - times out by 1 hour until I restart apache Hi All, I've found that 'sometimes' times displayed by status.cgi / showlog.cgi / etc can be exactly 1 hour out. The status and log entry content is up to date, but the times reported are offset by 1 hour. If I restart apache the times shown are correct - only for a while though. The system clock is always valid (and regularly sync'd with an NTP server). I've not worked out what triggers this offset to take hold yet. Has anyone else seen this issue? My apache config is rather esoteric (fcgi, gzip, ssl, authenticated via an external app), but I don't think this has anything to do with it. Cheers... Karl Principal Software Architect Multimap.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 james at jamesmcdonald.id.au Wed Oct 20 06:36:08 2004 From: james at jamesmcdonald.id.au (James McDonald) Date: Wed, 20 Oct 2004 14:36:08 +1000 Subject: some probs in configuring References: <019001c4b653$a2d6e670$0d1ea8c0@hazard1974> Message-ID: <002001c4b65e$68156470$0100a8c0@apfoods.local> You just need to change it to the path that nagios html and the cgi dirs is installed to cat /etc/nagios/cgi.cfg | grep ^physical_html_path physical_html_path=/usr/share/nagios rpm -q nagios --list | grep cgi$ /usr/lib/nagios/cgi This is what the entries in my /etc/httpd/conf.d/nagios.conf file say AllowOverride AuthConfig Options ExecCGI order deny,allow deny from all allow from 127.0.0.1 192.168.0.0/24 Alias /nagios/ /usr/share/nagios/ AllowOverride AuthConfig Options None order deny,allow deny from all allow from 127.0.0.1 192.168.0.0/24 ----- Original Message ----- From: Curlys To: Nagios Sent: Wednesday, October 20, 2004 1:19 PM Subject: [Nagios-users] some probs in configuring Hi Friends , I have Installed nagios 1.2 from rpm for Fedora core 2.. it was success. including this rpm files. nagios-1.2-1.i386.rpm nagios-devel-1.2-1.i386.rpm nagios-plugins-1.3.1-1.i386.rpm nagios-plugins-extras-1.3.1-1.i386.rpm nagios-www-1.2-1.i386.rpm nrpe-2.0-1.i386.rpm nrpe-plugin-2.0-1.i386.rpm according there documentation first i tried to Configuring Web Server Authentication. but there is few confuses . 1. - ---- coulkdn't find this location. do i have to create /usr/local/nagios/sbin by myself ?????? AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI 2. - ---- this path also missing . do i have to create it ?????? AllowOverride AuthConfig order allow,deny allow from all 3. AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users ------- this location also missing ........!!!!!!! require valid-user plz help me , i went through FAQ list also . but that try failed.....................i need to configure nagios asap. #### Is it possible to implement nagios, monitor the mobile network ( GSM , GPRS ) Thanx curlys ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curlybraces at dialogsl.net Wed Oct 20 07:54:49 2004 From: curlybraces at dialogsl.net (Curlys) Date: Wed, 20 Oct 2004 11:54:49 +0600 Subject: Mobile Network Message-ID: <003c01c4b669$4f686700$0d1ea8c0@hazard1974> hi, #### Is it possible to implement nagios, monitor the mobile network ( GSM , GPRS ) thanx curlys -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhein at netways.de Wed Oct 20 08:20:36 2004 From: jhein at netways.de (Julian Hein) Date: Wed, 20 Oct 2004 08:20:36 +0200 Subject: check traffic without snmp? Message-ID: <2F6750F2110CAD41BE0BC33BB428B5680655AD@net-sql2.int.netways.de> Hi, > is it possible to check current network traffic without using > snmp? tnx Generally speaking yes, but it would be much more complicated, because you need a differerent plugin on every hardware / OS type (and you might need to write a few of them on your own): - Windows: NSClient from PerfMon - Linux: Grep ifconfig - Routers: Telnet and expect scripts and so on. If you think about this for security reasons, you could also try to tunnel snmp somehow or implement a management lan. Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.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 Wed Oct 20 08:28:48 2004 From: jhein at netways.de (Julian Hein) Date: Wed, 20 Oct 2004 08:28:48 +0200 Subject: Mobile Network Message-ID: <2F6750F2110CAD41BE0BC33BB428B5680655AE@net-sql2.int.netways.de> Hi, > #### Is it possible to implement nagios, monitor the mobile > network ( GSM , > GPRS ) Sure, Nagios can monitor anything, as long it has an address. Normaly, this is an IP adress, but it can also be something else. As you might have read in the documentation, the actual checks are done by Nagios Plugins. This little programs must know how to check the device and return a status information (OK, WARNING, CRITCAL, etc) back to Nagios. So all you need to do is write a plugin or find a existing one, that checks you specific device. GPRS Devices might have IP addresses, so it will be easy. For the GSM hardware I don't know, but if you can talk to them by a seriell connection, you could use a seriell port server and telnet to them, send some commands and parse the responses. Julian -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.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 neil-on-nagios at restricted.dyndns.org Wed Oct 20 09:03:26 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 20 Oct 2004 02:03:26 -0500 Subject: performance info values Message-ID: <20041020070326.75667.qmail@restricted.dyndns.org> hey guys, I have attached a screenshot of performance info in the nagios front end. Can someone tell me if my nagios machine is heavily used or under power/lacking power? Thanks, Neil -------------- next part -------------- A non-text attachment was scrubbed... Name: performance_info.gif Type: image/gif Size: 10153 bytes Desc: not available URL: From fmartinezg at endesa.es Wed Oct 20 09:24:26 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Wed, 20 Oct 2004 09:24:26 +0200 Subject: VRML problem Message-ID: Yes, but other VRML webs on inet works ok. ?????? -----Mensaje original----- De: WDougallJR at nwdtc.com [mailto:WDougallJR at nwdtc.com] Enviado el: mi?rcoles, 20 de octubre de 2004 0:21 Para: Martinez Gonzalez, Francisco Asunto: RE: [Nagios-users] VRML problem Check your browser security settings. I had to change mine from "log in anonymously" to "prompt for username and password". -William -----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: Tuesday, October 19, 2004 8:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] VRML problem Hello, when I click at StatusMap 3d, the browser try to download the cgi file, but I have installed the Cortona plugin and works correctly in other VRML webs. any idea? the others cgi works fine thanks Francisco Mart?nez Proyectos de Infraestructura Desarrollo Tecnol?gico ENDESA Servicios Avda. Paral?lel, 51 entl., 08004 Barcelona Tel?fono: 93 5091605 Interno: 31 16 05 mailto: fmartinezg at endesa.es ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Este mensaje de correo electr?nico y sus documentos adjuntos est?n dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La informaci?n contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opini?n de ENDESA. Si usted recibe este mensaje por ERROR, por favor comun?queselo inmediatamente al remitente y ELIM?NELO ya que usted NO ESTA AUTORIZADO al uso, revelaci?n, distribuci?n, impresi?n o copia de toda o alguna parte de la informaci?n contenida. Gracias. This e-mail message and any attached files are intended SOLELY for the addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information and may not necessarily represent the opinion of ENDESA. If you receive this message in ERROR, please immediately notify the sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose, distribute, print or copy all or part of the contained information. 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 ae at op5.se Wed Oct 20 10:04:51 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 10:04:51 +0200 Subject: performance info values In-Reply-To: <20041020070326.75667.qmail@restricted.dyndns.org> References: <20041020070326.75667.qmail@restricted.dyndns.org> Message-ID: <41761C23.8030102@op5.se> Neil wrote: > hey guys, > I have attached a screenshot of performance info in the nagios front > end. Can someone tell me if my nagios machine is heavily used or under > power/lacking power? Why not just read the docs and find out for yourself? But ok... Your check latency is a little high. If it keeps going steadily upwards you should probably either fiddle with your config settings or get some new hardware. Also use the uptime command to get the system load of your system. 1.0 means 100% (1 process in queue for processing). -- 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 icedtea at gamebox.net Wed Oct 20 10:31:48 2004 From: icedtea at gamebox.net (icedtea) Date: Wed, 20 Oct 2004 16:31:48 +0800 Subject: check traffic without snmp? References: <4175BBCD.8020202@gamebox.net> <41761B0E.3050702@op5.se> Message-ID: <41762274.4070002@gamebox.net> Andreas Ericsson wrote: > icedtea wrote: > >> is it possible to check current network traffic without using snmp? tnx >> > > Possible, yes, but very troublesome. You'd have to login via > telnet/ssh and fetch the proper values that way. Not very secure, and > definitely custom. > actually, i prefer ssh. Im having some troubles with snmp. I cannot seem too enable snmp service on my remote servers.... Is there a way to let say use check_by_ssh then issue the independent perl script ibmonitor "http://ibmonitor.sourceforge.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 Philipp.Sand at sycor.de Wed Oct 20 10:42:56 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 20 Oct 2004 10:42:56 +0200 Subject: performance info values Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E59417F@SYGOMAIL.GOE.AD.SYCOR.DE> I would have a look at the average check latency, 59secs isn't good at all. In normal cases it shouldn't be higher than maybe 5secs or something... > -----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 20, 2004 9:03 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] performance info values > > hey guys, > > I have attached a screenshot of performance info in the > nagios front end. > Can someone tell me if my nagios machine is heavily used or > under power/lacking power? > > Thanks, > > Neil > > ************************************************ 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 Kumar.Padiyath at psi.ch Wed Oct 20 10:56:08 2004 From: Kumar.Padiyath at psi.ch (Padiyath Sreekumaran) Date: Wed, 20 Oct 2004 10:56:08 +0200 Subject: checking port number and daemons Message-ID: Hello, Iam new to nagios . We have a license server where many SW licenses are running. The OS of the server is Linux. I want to know whether I can check the port number as well as the daemon of each installed licenses with nagios and how? Is there any scripts etc. available for this purpose? Is it possible to have these scripts? I will be very thankful for your help. If possible please send a copy of the mail in my following E-mail address also. Kumar.padiyath at psi.ch With regards, Sreekumar ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Wed Oct 20 16:29:10 2004 From: bohara-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Ben O'Hara) Date: Wed, 20 Oct 2004 15:29:10 +0100 Subject: nagios Plusgins / Solaris 7 Message-ID: <2b36e6604102007294ea0de8b@mail.gmail.com> Hi All, Im having some problems compiling the nagios-plugins-1.4.0alpha1 package on Solaris 7 and wondering if anyone has any ideas? Ive done the standard "./configure --prefix=/apps/nagios" without problems, however when moving onto the make im getting problems as below.... make[2]: Entering directory `/apps/src/ftp/nagios-plugins-1.4.0alpha1/plugins' gcc -g -O2 -L. -Lno/lib -o check_http check_http.o netutils.o utils.o ../lib/libnagiosplug.a getaddrinfo.o gethostbyname.o -lnsl -lsocket -lresolv -lssl -lcrypto ../intl/libintl.a -lgen -lnsl Undefined first referenced symbol in file RAND_status check_http.o ld: fatal: Symbol referencing errors. No output written to check_http make[2]: *** [check_http] Error 1 make[2]: Leaving directory `/apps/src/ftp/nagios-plugins-1.4.0alpha1/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/apps/src/ftp/nagios-plugins-1.4.0alpha1' make: *** [all] Error 2 This has worked fine on FreeBSD 4.10, however Solaris doesnt seem to like it.. Anybody seen this before or have any ideas? Cheers in advance Ben O'Hara ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagiosplug-devel mailing list Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Lattanzi at fitchratings.com Wed Oct 20 15:36:56 2004 From: Robert.Lattanzi at fitchratings.com (Robert.Lattanzi at fitchratings.com) Date: Wed, 20 Oct 2004 09:36:56 -0400 Subject: web transaction monitoring? Message-ID: Hello All- I'm wondering if there is a plug-in that allows one to step through a series of web transactions, such as logging in to a protected page and then checking for a string (similar to check_httpd) on the resulting page. It doesn't look like Nagios can do this "natively"- please correct me if I'm wrong. Thanks, Robert Robert Lattanzi FitchRatings 212.908.0348 Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 20 15:45:19 2004 From: serge.bianda at appiancorp.com (Serge Bianda) Date: Wed, 20 Oct 2004 09:45:19 -0400 Subject: Solaris disk monitoring issue Message-ID: Hello all: Can someone tell me why I'm not able to check the disk status on a Solaris box, but can do it on either redhat or SuSE machine? Below is a message that I get back from nagios. It's doing it for all the disk I'm trying to monitor. Note: before you answer my question, note that my Solaris machine is fine. ***** Nagios ***** Notification Type: PROBLEM Service: /usr Free Space Host: QA Solaris Devsol1 Address: 192.168.1.1 State: CRITICAL Date/Time: Wed Oct 20 09:38:39 EDT 2004 Additional Info: Disk /dev/dsk/c1t0d0s6 not mounted or nonexistent Serge ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Wed Oct 20 15:55:16 2004 From: danslists at conpoint.com (Dan Spray) Date: Wed, 20 Oct 2004 08:55:16 -0500 Subject: Problems with new install Message-ID: <200410200905843.SM01344@DANTECRA> Hello all, I have been running Nagios 1.2 on a RH 7.3 machine since it came out with no problems to speak of. I am in the process of phasing this server out and have loaded another machine with Fedora Core 2. I have compiled and installed nagios 1.2 on this new machine and just moved over my /etc folder. Nagios checks out fine and starts/runs just fine. However, I noticed that pings are not reporting correctly. While the old server is not reporting any errors at all the new server will have 10-20 services that are flapping. When I ping the same service from the command line of the new machine I am able to ping things just fine. Is there a problem with Fedora Core 2 and the Nagios call to Ping? It appears to only be causing trouble when Nagios initiates the ping. Any help with this would be greatly appreciated. Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.844.2308 Fax - 402.371.4515 "The porcupine with the sharpest quills gets stuck on a tree more often." -- ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amoore at dekalbmemorial.com Wed Oct 20 15:49:50 2004 From: amoore at dekalbmemorial.com (Aaron K. Moore) Date: Wed, 20 Oct 2004 08:49:50 -0500 Subject: VRML problem Message-ID: <60D398EB2DB948409CA1F50D8AF1225709AA21@exch1.dekalbmemorial.local> What browser are you using? I had a problem with the VRML output under Internet Explorer a few years ago when I first switched to Nagios. I had to comment out one of the headers returned from the statuswrl cgi call that generates the VRML output. I've attached a diff file of the changes I had to make to statuswrl.c. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN Phone: 260.920.2808 E-mail: amoore at dekalbmemorial.com -----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: Wednesday, October 20, 2004 2:24 AM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML problem Yes, but other VRML webs on inet works ok. ?????? -----Mensaje original----- De: WDougallJR at nwdtc.com [mailto:WDougallJR at nwdtc.com] Enviado el: mi?rcoles, 20 de octubre de 2004 0:21 Para: Martinez Gonzalez, Francisco Asunto: RE: [Nagios-users] VRML problem Check your browser security settings. I had to change mine from "log in anonymously" to "prompt for username and password". -William -----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: Tuesday, October 19, 2004 8:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] VRML problem Hello, when I click at StatusMap 3d, the browser try to download the cgi file, but I have installed the Cortona plugin and works correctly in other VRML webs. any idea? the others cgi works fine thanks Francisco Mart?nez Proyectos de Infraestructura Desarrollo Tecnol?gico ENDESA Servicios Avda. Paral?lel, 51 entl., 08004 Barcelona Tel?fono: 93 5091605 Interno: 31 16 05 mailto: fmartinezg at endesa.es ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Este mensaje de correo electr?nico y sus documentos adjuntos est?n dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La informaci?n contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opini?n de ENDESA. Si usted recibe este mensaje por ERROR, por favor comun?queselo inmediatamente al remitente y ELIM?NELO ya que usted NO ESTA AUTORIZADO al uso, revelaci?n, distribuci?n, impresi?n o copia de toda o alguna parte de la informaci?n contenida. Gracias. This e-mail message and any attached files are intended SOLELY for the addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information and may not necessarily represent the opinion of ENDESA. If you receive this message in ERROR, please immediately notify the sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose, distribute, print or copy all or part of the contained information. 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 -------------- next part -------------- A non-text attachment was scrubbed... Name: statuswrl.c.diff Type: application/octet-stream Size: 213 bytes Desc: statuswrl.c.diff URL: From josv-YF2jIvldYSM at public.gmane.org Wed Oct 20 17:42:48 2004 From: josv-YF2jIvldYSM at public.gmane.org (Jos Visser) Date: Wed, 20 Oct 2004 17:42:48 +0200 Subject: nagios Plusgins / Solaris 7 In-Reply-To: <2b36e6604102007294ea0de8b-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org> References: <2b36e6604102007294ea0de8b@mail.gmail.com> Message-ID: <20041020154248.GO747@Jos-Vissers-Computer.local> Which version of OpenSSL is linked in? ++Jos.uk On Wed, Oct 20, 2004 at 03:29:10PM +0100 it came to pass that Ben O'Hara wrote: > Hi All, > Im having some problems compiling the > nagios-plugins-1.4.0alpha1 package on Solaris 7 and wondering if > anyone has any ideas? > > Ive done the standard "./configure --prefix=/apps/nagios" without > problems, however when moving onto the make im getting problems as > below.... > > make[2]: Entering directory `/apps/src/ftp/nagios-plugins-1.4.0alpha1/plugins' > gcc -g -O2 -L. -Lno/lib -o check_http check_http.o netutils.o > utils.o ../lib/libnagiosplug.a getaddrinfo.o gethostbyname.o -lnsl > -lsocket -lresolv -lssl -lcrypto ../intl/libintl.a -lgen -lnsl > Undefined first referenced > symbol in file > RAND_status check_http.o > ld: fatal: Symbol referencing errors. No output written to check_http > make[2]: *** [check_http] Error 1 > make[2]: Leaving directory `/apps/src/ftp/nagios-plugins-1.4.0alpha1/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/apps/src/ftp/nagios-plugins-1.4.0alpha1' > make: *** [all] Error 2 > > This has worked fine on FreeBSD 4.10, however Solaris doesnt seem to like it.. > > Anybody seen this before or have any ideas? > > Cheers in advance > > Ben O'Hara > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagiosplug-devel mailing list > Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org > https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel > ::: Please include plugins version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Normally I am very careful before I ascribe [such] sinister motives to a government agency. Incompetence is the norm, and malevolence is much rarer. -- Bruce Schneier ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagiosplug-devel mailing list Nagiosplug-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f at public.gmane.org https://lists.sourceforge.net/lists/listinfo/nagiosplug-devel ::: Please include plugins 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 20 16:37:31 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 20 Oct 2004 07:37:31 -0700 Subject: Solaris disk monitoring issue In-Reply-To: References: Message-ID: <20041020143731.GI31187@zippy.toger.us> On Wed, Oct 20, 2004 at 09:45:19AM -0400, Serge Bianda wrote: > Hello all: > Can someone tell me why I'm not able to check the disk status on a > Solaris box, but can do it on either redhat or SuSE machine? Below is a Can you post the service definition? It looks like you are attempting to monitor the hardware device instead of the mountpoint. -Jason Martin -- I'm a nobody, nobody is perfect, therefore I'm perfect. 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 fmartinezg at endesa.es Wed Oct 20 16:56:32 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Wed, 20 Oct 2004 16:56:32 +0200 Subject: VRML problem Message-ID: I have using IE 6.0 SP1. I made the changes according to the diff file attached and have the same problem.... :.| thx -----Mensaje original----- De: Aaron K. Moore [mailto:amoore at dekalbmemorial.com] Enviado el: mi?rcoles, 20 de octubre de 2004 15:50 Para: Martinez Gonzalez, Francisco; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] VRML problem What browser are you using? I had a problem with the VRML output under Internet Explorer a few years ago when I first switched to Nagios. I had to comment out one of the headers returned from the statuswrl cgi call that generates the VRML output. I've attached a diff file of the changes I had to make to statuswrl.c. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN Phone: 260.920.2808 E-mail: amoore at dekalbmemorial.com -----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: Wednesday, October 20, 2004 2:24 AM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML problem Yes, but other VRML webs on inet works ok. ?????? -----Mensaje original----- De: WDougallJR at nwdtc.com [mailto:WDougallJR at nwdtc.com] Enviado el: mi?rcoles, 20 de octubre de 2004 0:21 Para: Martinez Gonzalez, Francisco Asunto: RE: [Nagios-users] VRML problem Check your browser security settings. I had to change mine from "log in anonymously" to "prompt for username and password". -William -----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: Tuesday, October 19, 2004 8:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] VRML problem Hello, when I click at StatusMap 3d, the browser try to download the cgi file, but I have installed the Cortona plugin and works correctly in other VRML webs. any idea? the others cgi works fine thanks Francisco Mart?nez Proyectos de Infraestructura Desarrollo Tecnol?gico ENDESA Servicios Avda. Paral?lel, 51 entl., 08004 Barcelona Tel?fono: 93 5091605 Interno: 31 16 05 mailto: fmartinezg at endesa.es ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Este mensaje de correo electr?nico y sus documentos adjuntos est?n dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La informaci?n contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opini?n de ENDESA. Si usted recibe este mensaje por ERROR, por favor comun?queselo inmediatamente al remitente y ELIM?NELO ya que usted NO ESTA AUTORIZADO al uso, revelaci?n, distribuci?n, impresi?n o copia de toda o alguna parte de la informaci?n contenida. Gracias. This e-mail message and any attached files are intended SOLELY for the addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information and may not necessarily represent the opinion of ENDESA. If you receive this message in ERROR, please immediately notify the sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose, distribute, print or copy all or part of the contained information. 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 Este mensaje de correo electr?nico y sus documentos adjuntos est?n dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La informaci?n contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opini?n de ENDESA. Si usted recibe este mensaje por ERROR, por favor comun?queselo inmediatamente al remitente y ELIM?NELO ya que usted NO ESTA AUTORIZADO al uso, revelaci?n, distribuci?n, impresi?n o copia de toda o alguna parte de la informaci?n contenida. Gracias. This e-mail message and any attached files are intended SOLELY for the addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information and may not necessarily represent the opinion of ENDESA. If you receive this message in ERROR, please immediately notify the sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose, distribute, print or copy all or part of the contained information. 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 bohara-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org Wed Oct 20 18:15:09 2004 From: bohara-Re5JQEeQqe8AvxtiuMwx3w at public.gmane.org (Ben O'Hara) Date: Wed, 20 Oct 2004 17:15:09 +0100 Subject: nagios Plusgins / Solaris 7 In-Reply-To: <20041020154248.GO747-4wy6lRdMUZ4Oj2hZX3jgsiKWrqvUleQurNQQ6b5fDX0@public.gmane.org> References: <2b36e6604102007294ea0de8b@mail.gmail.com> <20041020154248.GO747@Jos-Vissers-Computer.local> Message-ID: <2b36e6604102009156d4387ba@mail.gmail.com> On Wed, 20 Oct 2004 17:42:48 +0200, Jos Visser wrote: > Which version of OpenSSL is linked in? > Hi, OpenSSL is 0.9.7d installed from the sunfreeware package. I've attached a copy of the configure output. Ben -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: nagios-plugins-configure-out.txt URL: From jhmartin at toger.us Wed Oct 20 16:43:14 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 20 Oct 2004 07:43:14 -0700 Subject: web transaction monitoring? In-Reply-To: References: Message-ID: <20041020144314.GJ31187@zippy.toger.us> On Wed, Oct 20, 2004 at 09:36:56AM -0400, Robert.Lattanzi at fitchratings.com wrote: > series of web transactions, such as logging in to a protected page and then > checking for a string (similar to check_httpd) on the resulting page. It > doesn't look like Nagios can do this "natively"- please correct me if I'm > wrong. Thanks, Robert I don't know of any plugin that can do this. You'd probably have better luck with something like AWBot http://freshmeat.net/projects/awbot/ PasTMon http://freshmeat.net/projects/pastmon/ or TestMaker http://freshmeat.net/projects/testmaker/ and having them send a notification to Nagios about their results. Note: I haven't actually used these programs, but it is something I've been looking at doing someday. -Jason Martin -- I'm a nobody, nobody is perfect, therefore I'm perfect. 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 amyreagan at comcast.net Wed Oct 20 17:44:33 2004 From: amyreagan at comcast.net (amyreagan at comcast.net) Date: Wed, 20 Oct 2004 15:44:33 +0000 Subject: nagios monitoring - email alerts Message-ID: <102020041544.15464.417687E10008AA3800003C682200762302020E090E0A9D97030E@comcast.net> Hi all - I am running Nagios on a FreeBSD box that is NOT a mail server. I am trying to configure SSMPT (which the freebsd documentation says is a simple client to allow outgoing mail only). I can't get the notifications to send e-mails though. I am either missing a simple configuration on freebsd, or there is something I need to change in one of the nagios config files. Has anyone run into any problems like this before? Will the alerting work if I am NOT using 'sendmail' on this box?? Thanks, Amy Reagan amyreagan at comcast.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmartinezg at endesa.es Wed Oct 20 18:01:36 2004 From: fmartinezg at endesa.es (Martinez Gonzalez, Francisco) Date: Wed, 20 Oct 2004 18:01:36 +0200 Subject: VRML problem Message-ID: With Firefox the page works ok, the cortona player runs correctly... With the IE I can?t see the 3d map, but I can see other VRML webs (on inet) I test it on many computers of my corporation with the same result.... muy raro... regards -----Mensaje original----- De: Martinez Gonzalez, Francisco Enviado el: mi?rcoles, 20 de octubre de 2004 16:57 Para: nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] VRML problem I have using IE 6.0 SP1. I made the changes according to the diff file attached and have the same problem.... :.| thx -----Mensaje original----- De: Aaron K. Moore [mailto:amoore at dekalbmemorial.com] Enviado el: mi?rcoles, 20 de octubre de 2004 15:50 Para: Martinez Gonzalez, Francisco; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] VRML problem What browser are you using? I had a problem with the VRML output under Internet Explorer a few years ago when I first switched to Nagios. I had to comment out one of the headers returned from the statuswrl cgi call that generates the VRML output. I've attached a diff file of the changes I had to make to statuswrl.c. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN Phone: 260.920.2808 E-mail: amoore at dekalbmemorial.com -----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: Wednesday, October 20, 2004 2:24 AM To: 'nagios-users at lists.sourceforge.net' Subject: RE: [Nagios-users] VRML problem Yes, but other VRML webs on inet works ok. ?????? -----Mensaje original----- De: WDougallJR at nwdtc.com [mailto:WDougallJR at nwdtc.com] Enviado el: mi?rcoles, 20 de octubre de 2004 0:21 Para: Martinez Gonzalez, Francisco Asunto: RE: [Nagios-users] VRML problem Check your browser security settings. I had to change mine from "log in anonymously" to "prompt for username and password". -William -----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: Tuesday, October 19, 2004 8:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] VRML problem Hello, when I click at StatusMap 3d, the browser try to download the cgi file, but I have installed the Cortona plugin and works correctly in other VRML webs. any idea? the others cgi works fine thanks Francisco Mart?nez Proyectos de Infraestructura Desarrollo Tecnol?gico ENDESA Servicios Avda. Paral?lel, 51 entl., 08004 Barcelona Tel?fono: 93 5091605 Interno: 31 16 05 mailto: fmartinezg at endesa.es ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Este mensaje de correo electr?nico y sus documentos adjuntos est?n dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La informaci?n contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opini?n de ENDESA. Si usted recibe este mensaje por ERROR, por favor comun?queselo inmediatamente al remitente y ELIM?NELO ya que usted NO ESTA AUTORIZADO al uso, revelaci?n, distribuci?n, impresi?n o copia de toda o alguna parte de la informaci?n contenida. Gracias. This e-mail message and any attached files are intended SOLELY for the addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information and may not necessarily represent the opinion of ENDESA. If you receive this message in ERROR, please immediately notify the sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose, distribute, print or copy all or part of the contained information. 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 Este mensaje de correo electr?nico y sus documentos adjuntos est?n dirigidos EXCLUSIVAMENTE a los destinatarios especificados. La informaci?n contenida puede ser CONFIDENCIAL y/o estar LEGALMENTE PROTEGIDA y no necesariamente refleja la opini?n de ENDESA. Si usted recibe este mensaje por ERROR, por favor comun?queselo inmediatamente al remitente y ELIM?NELO ya que usted NO ESTA AUTORIZADO al uso, revelaci?n, distribuci?n, impresi?n o copia de toda o alguna parte de la informaci?n contenida. Gracias. This e-mail message and any attached files are intended SOLELY for the addressee/s identified herein. It may contain CONFIDENTIAL and/or LEGALLY PRIVILEGED information and may not necessarily represent the opinion of ENDESA. If you receive this message in ERROR, please immediately notify the sender and DELETE it since you ARE NOT AUTHORIZED to use, disclose, distribute, print or copy all or part of the contained information. 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 SrvFaucon at cslaval.qc.ca Wed Oct 20 18:22:29 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Wed, 20 Oct 2004 12:22:29 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20Re:=20[Nagios-users]=20check=5Fsnmp?= =?ISO-8859-1?Q?=20hard=20question?= Message-ID: Sorry about that, It seems that the spam solution for our offices is not too friendly with sourceforge. So I removed this email from it :) You wrote <<<<<<<<<<<<<<<<<< After some mails with Ted (thanks): check_snmp -H XXX -C public -P 1 -o .1.3.6.1.2.1.2.2.1.8.1 -m ALL Does result in (Nagios Webinterface): SNMP OK - up(1) That was what you were asking for? >>>>>>>>>>>>>>>>>>>>> Thats funny because I did tried that, in the Nagios Webinterface is still without the "up". What version of plugins are you using? Witch version of Nagios? I have Nagios 1.2 and ... check_snmp (nagios-plugins 1.3.99) 1.35 Thanks Alexandre --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> "Jan Scholten" 2004-10-17 17:36:28 >>> I feel like i read this post every week.. i have the same experience i looked at the sourcecode but did not have a clue. But forwarding your mail on 10.8,07.10,12.10 and 15.10 is a bit rude(?) I don't know and because nobody seems to answer nobody else knows... feel free to debug the problem and post a patch! Jan > 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 > > -- 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 Anthony_Brock at ous.edu Wed Oct 20 18:22:56 2004 From: Anthony_Brock at ous.edu (Anthony Brock) Date: Wed, 20 Oct 2004 09:22:56 -0700 Subject: nagios monitoring - email alerts Message-ID: Amy, First, you need to confirm that you can send email independently of Nagios. For example, I can successfully send mail via: nagios at test-nagios:~$ /usr/bin/mail -s "This is my subject" somebody at somewhere.com Once this is confirmed (eliminating SSMPT as the source of your problem), you can then look at any remaining problems with Nagios. Should it still fail, you will need to visit your notification commands. For example, our version of Nagios is configured with: # '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: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nInfo:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" -r $CONTACTEMAIL$ $CONTACTEMAIL$ } In our situation, we use the '/usr/bin/mail' executable for submitting the emails to sendmail (which I can test manually). You may need to adjust this to the appropriate utility on your system. Also, don't forget to run your manual tests as the Nagios user (in case of permission problems). Good luck, Tony >>> 10/20/04 08:44AM >>> Hi all - I am running Nagios on a FreeBSD box that is NOT a mail server. I am trying to configure SSMPT (which the freebsd documentation says is a simple client to allow outgoing mail only). I can't get the notifications to send e-mails though. I am either missing a simple configuration on freebsd, or there is something I need to change in one of the nagios config files. Has anyone run into any problems like this before? Will the alerting work if I am NOT using 'sendmail' on this box?? Thanks, Amy Reagan amyreagan at comcast.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 larry at opsource.net Wed Oct 20 18:35:55 2004 From: larry at opsource.net (Larry Guest) Date: Wed, 20 Oct 2004 09:35:55 -0700 Subject: web transaction monitoring? In-Reply-To: <20041020144314.GJ31187@zippy.toger.us> References: <20041020144314.GJ31187@zippy.toger.us> Message-ID: <001b01c4b6c2$dfa045f0$500118ac@LarrysIBM> Try the mount point and not physical path such as "/usr". That works for me. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Martin Sent: Wednesday, October 20, 2004 7:43 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] web transaction monitoring? On Wed, Oct 20, 2004 at 09:36:56AM -0400, Robert.Lattanzi at fitchratings.com wrote: > series of web transactions, such as logging in to a protected page and > then checking for a string (similar to check_httpd) on the resulting > page. It doesn't look like Nagios can do this "natively"- please > correct me if I'm wrong. Thanks, Robert I don't know of any plugin that can do this. You'd probably have better luck with something like AWBot http://freshmeat.net/projects/awbot/ PasTMon http://freshmeat.net/projects/pastmon/ or TestMaker http://freshmeat.net/projects/testmaker/ and having them send a notification to Nagios about their results. Note: I haven't actually used these programs, but it is something I've been looking at doing someday. -Jason Martin -- I'm a nobody, nobody is perfect, therefore I'm perfect. 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 jhmartin at toger.us Wed Oct 20 18:29:17 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 20 Oct 2004 09:29:17 -0700 Subject: nagios monitoring - email alerts In-Reply-To: <102020041544.15464.417687E10008AA3800003C682200762302020E090E0A9D97030E@comcast.net> References: <102020041544.15464.417687E10008AA3800003C682200762302020E090E0A9D97030E@comcast.net> Message-ID: <20041020162917.GN31187@zippy.toger.us> On Wed, Oct 20, 2004 at 03:44:33PM +0000, amyreagan at comcast.net wrote: > config files. Has anyone run into any problems like this > before? Will the alerting work if I am NOT using 'sendmail' > on this box?? Alerting will work so long as you can provide some command to Nagios to perform alerting. Try sending emails manually using ssmtp, then check your notification command and verify that it is configured to use the same options. -Jason Martin -- If things get any worse, I'll have to ask you to stop helping me. 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 Wed Oct 20 18:56:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 18:56:43 +0200 Subject: Problems with new install In-Reply-To: <200410200905843.SM01344@DANTECRA> References: <200410200905843.SM01344@DANTECRA> Message-ID: <417698CB.3070909@op5.se> Dan Spray wrote: > Hello all, > > > I have been running Nagios 1.2 on a RH 7.3 machine since it came out with no > problems to speak of. I am in the process of phasing this server out and > have loaded another machine with Fedora Core 2. I have compiled and > installed nagios 1.2 on this new machine and just moved over my /etc folder. > Nagios checks out fine and starts/runs just fine. However, I noticed that > pings are not reporting correctly. While the old server is not reporting > any errors at all the new server will have 10-20 services that are flapping. > When I ping the same service from the command line of the new machine I am > able to ping things just fine. Is there a problem with Fedora Core 2 and > the Nagios call to Ping? It appears to only be causing trouble when Nagios > initiates the ping. > > > > Any help with this would be greatly appreciated. > Try the check_icmp plugin by yours truly. It's available at http://oss.op5.se under the Nagios section. -- 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 calipah at free.fr Wed Oct 20 19:07:09 2004 From: calipah at free.fr (Childo) Date: Wed, 20 Oct 2004 19:07:09 +0200 Subject: Always pending Message-ID: <41769B3D.5010408@free.fr> Hi all, i've just install debian sid package nagios-text and configure it. All seems ok, nagios is running $ps aux |grep nagios $|nagios 2359 0.0 0.7 2112 960 ? SNs 16:52 0:00 /usr/sbin/nagios /etc/nagios/nagios.cfg |i read log files outputs like this one : "|[1098284941] SERVICE;debian;/dev/cache1 Free Space;PENDING;0/3;HARD;0;1098285016;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 Wed Oct 20 17:10:16 2004" *i've test nagios check* $||/usr/lib/nagios/plugins/check_nagios /var/log/nagios/status.log 5 'nagios' $Nagios ok: located 1 process, status log updated 3 seconds ago the problem is that in the web interface, the service's status for all hosts is always pending. I've also have strange time scheduling, it's 7 p.m in here and the next service check for one of my host is at 7 a.m :~( I would appreciate help on this one, thank's in advance. Cheers. | ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Wed Oct 20 19:14:23 2004 From: js at irishbroadband.ie (John Senior) Date: Wed, 20 Oct 2004 18:14:23 +0100 Subject: Acknowledging alerts with SMS. Message-ID: <8FF1B96416403640A9EB105C269BAA740F5EF1@dubmsv01.irishbroadband.ie> Hi Everyone, I would like to be able to acknowledge nagios alerts with SMS, I can receive alerts fine and already have an easy way to get an SMS to do arbitrary things but would like to know how best to go about integrating with Nagios. Any ideas you have would be much appreciated. All the best, John. -- John Senior ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:36:24 2004 From: Bill.Barkell at mail.house.gov (Barkell, Bill) Date: Wed, 20 Oct 2004 13:36:24 -0400 Subject: nagios monitoring - email alerts Message-ID: <9362C7DD6454114882BF5E53EF88F65D0476A7D5@hrm24.houseexchange.us.house.gov> Which version of FreeBSD? If a newer version, you can set sendmail_enable="NO" in rc.conf, which will enable the ability to send mail only. Then you should be able to use mail or sendmail client to send notifications. Bill Barkell -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of amyreagan at comcast.net Sent: Wednesday, October 20, 2004 11:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios monitoring - email alerts Hi all - I am running Nagios on a FreeBSD box that is NOT a mail server. I am trying to configure SSMPT (which the freebsd documentation says is a simple client to allow outgoing mail only). I can't get the notifications to send e-mails though. I am either missing a simple configuration on freebsd, or there is something I need to change in one of the nagios config files. Has anyone run into any problems like this before? Will the alerting work if I am NOT using 'sendmail' on this box?? Thanks, Amy Reagan amyreagan at comcast.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at gmail.com Wed Oct 20 19:47:21 2004 From: nagios at gmail.com (Tomas Morales) Date: Wed, 20 Oct 2004 11:47:21 -0600 Subject: Consolidated Availability statistics In-Reply-To: <20041011144442.GX31458@zippy.toger.us> References: <20041011144442.GX31458@zippy.toger.us> Message-ID: <9ec4112a04102010473e5ceb92@mail.gmail.com> This may not be exactly what you are looking for, but in case anyone is interested, I have added some computational code to avail.cgi (i.e avail.c) that displays an extra line at the bottom with the total AVERAGE value for each column. It works nicely for a hostgroup, all-hostgroups, all-hosts, and services. I could also apply the same feature for csv output if anyone cares. Just email me if anyone would like the patch or avail.c modified code. -Tomas On Mon, 11 Oct 2004 07:44:42 -0700, Jason Martin wrote: > 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. > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 19:50:46 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 20 Oct 2004 12:50:46 -0500 Subject: performance info values In-Reply-To: <41761C23.8030102@op5.se> References: <20041020070326.75667.qmail@restricted.dyndns.org> <41761C23.8030102@op5.se> Message-ID: <20041020175046.24885.qmail@restricted.dyndns.org> Hi Andreas, Thanks for the response. What values in nagios.cfg should I look at that would related to the poor performance? Here is my uptime output: 10:52am up 186 days, 21 min, 1 user, load average: 0.03, 0.07, 0.02 Andreas Ericsson writes: > Neil wrote: >> hey guys, >> I have attached a screenshot of performance info in the nagios front end. >> Can someone tell me if my nagios machine is heavily used or under >> power/lacking power? > > Why not just read the docs and find out for yourself? > But ok... Your check latency is a little high. If it keeps going steadily > upwards you should probably either fiddle with your config settings or get > some new hardware. Also use the uptime command to get the system load of > your system. 1.0 means 100% (1 process in queue for processing). > > -- > 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 jhmartin at toger.us Wed Oct 20 19:54:21 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 20 Oct 2004 10:54:21 -0700 Subject: Always pending In-Reply-To: <41769B3D.5010408@free.fr> References: <41769B3D.5010408@free.fr> Message-ID: <20041020175421.GQ31187@zippy.toger.us> On Wed, Oct 20, 2004 at 07:07:09PM +0200, Childo wrote: > the problem is that in the web interface, the service's status for all > hosts is always pending. I've also have strange time scheduling, it's 7 > p.m in here and the next service check for one of my host is at 7 a.m :~( Sounds like you have a check_period definied that starts monitoring at 7am. Check your configurations to see if you have any time periods defined. -Jason Martin -- Do invisible cats drink evaporated milk? 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 agrajag at dragaera.net Wed Oct 20 19:55:09 2004 From: agrajag at dragaera.net (Sean Dilda) Date: Wed, 20 Oct 2004 13:55:09 -0400 Subject: performance info values In-Reply-To: <41761C23.8030102@op5.se> References: <20041020070326.75667.qmail@restricted.dyndns.org> <41761C23.8030102@op5.se> Message-ID: <1098294909.22734.11.camel@pel> On Wed, 2004-10-20 at 04:04, Andreas Ericsson wrote: > Also use the uptime command to get > the system load of your system. 1.0 means 100% (1 process in queue for > processing). Note that that's 1.0 means 100% of a single processor. 100% of a dual-processor box would be 2.0 and 100% of a dual-processor box with hyper-threading would be 4.0. As for why the latency is so high.. what's your 'max_concurrent_checks' set to? Also, do you have any machines that are down? or a lot of services that aren't ok? When nagios detects a non-OK service, it then stops everything and verifies if the host in question is up or not. This can cause delays, especially if the host is slow to respond, or the host check command waits a long time before timing out with a down 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 mscandian at freebsdbrasil.com.br Wed Oct 20 19:57:14 2004 From: mscandian at freebsdbrasil.com.br (Mario Sergio Candian) Date: Wed, 20 Oct 2004 14:57:14 -0300 (BRST) Subject: problem with authentication In-Reply-To: <20041018165449.B1553-100000@cyberdine.freebsdbrasil.com.br> References: <20041018165449.B1553-100000@cyberdine.freebsdbrasil.com.br> Message-ID: <20041020143558.T560-100000@cyberdine.freebsdbrasil.com.br> Marcio, i try to do what u tell me in my particular mail, but, it doest work yet. I disable cookies, proxy, etc, in my browser, and the nagios get the same configuration with the user that i pass. I'm using only nagios.cfg and cgi.cfg (/usr/home/eksffa/public_html/nagios/etc/) for all company that i need to monitor following the procedures that were informed me in the list. I dont create more directory for each company. The problem is, when i enter with the address in my browser (http://nagios.mydomain.com/companyA/) appears a bellow where i need to put the login/passwd. I type the login/passwd and i enter in the nagios with the configuration about companyA. If i clear the address in my browser, and try to enter in other, e.g (http://nagios.mydomain.com/companyB/) doesnt appear the bellow where should i need to enter the login/passwd, and i continued in the same configuration about companyA. How can i do to fix it? I believe that I am close to finishing this. Mario Sergio On Mon, 18 Oct 2004, Mario Sergio Candian wrote: > > hi guys, > > i have the following problem: > > my configuration in my httpd.conf: > > ServerName nagios.mydomain.com.br > ServerAdmin info at mydomain.com.br > DocumentRoot /usr/home/eksffa/public_html/nagios/ > ErrorLog /var/log/nagios.mydomain.com.br-error_log > CustomLog /var/log/nagios.mydomain.com.br-access_log common > > AllowOverride Options FileInfo > > > 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 > > > ScriptAlias /companyB/cgi-bin/ /usr/home/eksffa/public_html/nagios/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 /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 > > > > The problem is: > > when I type the address in my browser, e,g: nagios.mydomain.com.br/companyA > it appears a box that I must inform login and password. I give the login > and passwd, and I enter in my configuration of companyA. No problems yet. > But, if I clear the address in my browser, and type, e.g: > nagios.mydomain.com.br/companyB, I continue in same configuration of > companyA, and dont appears a box where I should to give the login and > passwd. > > If I close my browser, and open other, and type the address for companyB, > it appears a box that I must give the login and passwd. I give the login > and passwd, and I enter in my configuration of companyB. > > Why when I clear the address and I enter with other address for other > company, dont appears a box with the login and passwd? Is this problem with > my apache configuration? Someone know how I can to fix it? > > 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 > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 20:23:14 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 20 Oct 2004 13:23:14 -0500 Subject: check for successful web authentication Message-ID: <20041020182315.27433.qmail@restricted.dyndns.org> hey guys, Has someone created a check that can login to a web form then verify if login was successful or not? My guess is that it would be something like http://ipaddress/login.asp?username=someone&passpword=secret I don't know.... :) So how did you do it? 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 james.mohr at elaxy.com Wed Oct 20 14:33:27 2004 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 20 Oct 2004 14:33:27 +0200 Subject: Message storms, service statuses, intervals and so on Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DBAE@srv-cob-00-0014.elaxy.org> Hi All! I was testing Nagios's behavior when encountering a message storm. Using send_nsca, I set a service to OK and then sent 10K critical messages. The script that calls send_nsca passes the current loop count as part of the message text, so I can see in nagios.log which message is currently being processed. Before each loop I reset the service to OK. I did this a couple of times and on our machine, nagios seems to be able to process about 40 messages a second. The service is defined like this: define service ( use generic-service ; Name of service template to use host_name sol-sys-02 service_description http is_volatile 0 check_period 24x7 active_checks_enabled 0 passive_checks_enabled 1 max_check_attempts 1 normal_check_interval 5 retry_check_interval 1 contact_groups vpo notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } We have a notification set up to create a trouble ticket in our help desk tool. That mechanism works fine. There are a couple of things that have made me curious that I cannot explain. To begin with, it is not the first event that creates the trouble ticket. Once it a was at count 150 another time was count 351. So why isn't the first event triggering the trouble ticket? If I understand it correctly, "max_check_attempts 1" says Nagios should react the very first time. How come it then waits for the 351st event before reacting? I could understand it if the notifcation is triggered and then notification program reads the current state (including the current event with the current count). By the time the notification gets around to ready the state info the count has increased. The next is the "Status Information" field in the web browser. The content is obviously changing as I can see that the count value increases almost up to the 10000. The status does not change, but the system is always getting the "current" message. My problem is I am not sure as to what mechanism is used to determine how long the system would wait before updating. The section in the doc "Service Check Scheduling" talks about rescheduling when a service is down, but I have not found anything (yet) that says how often the "Status Information" is updated. It is not the normal_check_interval because that is too long. However, the retry_check_interval *could* be it. Still, the retry_check_interval seems to imply that this is the time Nagios waits to retry to check the service and not necessarily the time between updating the "Status Information". Note that this is not an issue of updating the browser, as I am continually pressing the refresh button. Instead, I see this as an issue with Nagios. Any help is greatly appreaciated. Regards, Jim Mohr ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Oct 20 20:52:40 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 20 Oct 2004 11:52:40 -0700 Subject: web transaction monitoring? In-Reply-To: References: Message-ID: <1098298360.3601.55.camel@tesuji.nac.uci.edu> It wouldn't be too hard to write one, if there isn't one already. You could do one in shell using wget's --http-user and -http-passwd options, or python has a high level API for doing this sort of thing. On Wed, 2004-10-20 at 06:36, Robert.Lattanzi at fitchratings.com wrote: > Hello All- > I'm wondering if there is a plug-in that allows one to step through a > series of web transactions, such as logging in to a protected page and then > checking for a string (similar to check_httpd) on the resulting page. It > doesn't look like Nagios can do this "natively"- please correct me if I'm > wrong. Thanks, Robert > > > > > Robert Lattanzi > FitchRatings > 212.908.0348 > > > > > Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 strombrg at dcs.nac.uci.edu Wed Oct 20 21:06:27 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 20 Oct 2004 12:06:27 -0700 Subject: checking port number and daemons In-Reply-To: References: Message-ID: <1098299187.3601.66.camel@tesuji.nac.uci.edu> You could probably just do a check_tcp on any relevant ports, but what'd be Really Sweet, is if we had a plugin that would not only see if you can check out a license, but also generate a warning when the license will expire in n days. On Wed, 2004-10-20 at 01:56, Padiyath Sreekumaran wrote: > > Hello, > Iam new to nagios . We have a license server where many SW licenses are > running. The OS of the server is Linux. I want to know whether I can > check the port number as well as the daemon of each installed licenses > with nagios and how? Is there any scripts etc. available for this > purpose? Is it possible to have these scripts? I will be very thankful > for your help. If possible please send a copy of the mail in my following > > E-mail address also. > > Kumar.padiyath at psi.ch > > With regards, > Sreekumar > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 shihchao.lin at gmail.com Wed Oct 20 21:10:07 2004 From: shihchao.lin at gmail.com (Joseph Lin) Date: Wed, 20 Oct 2004 12:10:07 -0700 Subject: check for successful email send Message-ID: <631d451b041020121045bb0049@mail.gmail.com> Hi, I am trying to figure out a way to check that an email is successfully sent between 2 different mail servers.. any ideas?? Joe ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 21:17:37 2004 From: phil at usc.edu (Phil Dibowitz) Date: Wed, 20 Oct 2004 12:17:37 -0700 Subject: Problems with check_tcp Message-ID: <20041020191737.GM17717@usc.edu> I'm trying to check some spop and simap servers, and so I'm using check_spop and check_simap which are links to check_tcp. It was telling me it was getting an invalid response, so I dug through the code and realized there was a bug that was allowing the connection to proceed even if SSL negotiation failed. I posted a fix here: http://sourceforge.net/tracker/index.php?func=detail&aid=1030062&group_id=29880&atid=397597 Now, however, I get: [phil at frantic plugins]$ ./check_simap -H msg-mmp2.usc.edu -p 993 16950:error:1406D0CB:SSL routines:GET_SERVER_HELLO:peer error no cipher:s2_pkt.c:675: This, makes no sense to me, because: [phil at metallica phil]$ openssl s_client -connect msg-mmp2.usc.edu:993 gives: ... --- * OK [CAPABILITY IMAP4 IMAP4rev1 ACL QUOTA LITERAL+ NAMESPACE UIDPLUS CHILDREN BINARY LANGUAGE XSENDER X-NETSCAPE XSERVERINFO AUTH=PLAIN] Messaging Multiplexor (Sun Java(tm) System Messaging Server 6.1 Patch 0.02 (built Aug 25 2004)) And of course, simap is working. So I believe there's another SSL bug in the check_tcp code somewhere, but I can't seem to find it. This is nagios plugins 1.3.1 on Solaris 8/9. Thoughts appreciated. -- 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 strombrg at dcs.nac.uci.edu Wed Oct 20 21:33:37 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Wed, 20 Oct 2004 12:33:37 -0700 Subject: check for successful web authentication In-Reply-To: <20041020182315.27433.qmail@restricted.dyndns.org> References: <20041020182315.27433.qmail@restricted.dyndns.org> Message-ID: <1098300816.3601.82.camel@tesuji.nac.uci.edu> python has a high level API for accessing web pages that can POST information, authenticate with "basic auth" and get/send cookies. On Wed, 2004-10-20 at 11:23, Neil wrote: > hey guys, > > Has someone created a check that can login to a web form then verify if > login was successful or not? My guess is that it would be something like > > http://ipaddress/login.asp?username=someone&passpword=secret > > I don't know.... :) > > So how did you do it? > > 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 -- 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 ae at op5.se Wed Oct 20 21:53:51 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 21:53:51 +0200 Subject: performance info values In-Reply-To: <20041020175046.24885.qmail@restricted.dyndns.org> References: <20041020070326.75667.qmail@restricted.dyndns.org> <41761C23.8030102@op5.se> <20041020175046.24885.qmail@restricted.dyndns.org> Message-ID: <4176C24F.6000909@op5.se> Neil wrote: > Hi Andreas, > Thanks for the response. What values in nagios.cfg should I look at that > would related to the poor performance? > Here is my uptime output: > 10:52am up 186 days, 21 min, 1 user, load average: 0.03, 0.07, 0.02 > max_concurrent_checks (or something like that). With a system load below 0.5 you can easily try quintupling it without worrying about more hardware. Make sure to restart nagios when you've changed the value. > > Andreas Ericsson writes: > >> Neil wrote: >> >>> hey guys, >>> I have attached a screenshot of performance info in the nagios front >>> end. Can someone tell me if my nagios machine is heavily used or >>> under power/lacking power? >> >> >> Why not just read the docs and find out for yourself? >> But ok... Your check latency is a little high. If it keeps going >> steadily upwards you should probably either fiddle with your config >> settings or get some new hardware. Also use the uptime command to get >> the system load of your system. 1.0 means 100% (1 process in queue for >> processing). >> -- >> 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 > -- 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 20 21:50:39 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 21:50:39 +0200 Subject: =?ISO-8859-1?Q?R=E9p=2E_=3A_Re=3A_=5BNa?= =?ISO-8859-1?Q?gios-users=5D_check=5Fsnmp_hard_question?= In-Reply-To: References: Message-ID: <4176C18F.2020401@op5.se> Serveur-Faucon Surveillance wrote: > Sorry about that, It seems that the spam solution for our offices is > not too friendly with sourceforge. So I removed this email from it :) > > > You wrote <<<<<<<<<<<<<<<<<< After some mails with Ted (thanks): > check_snmp -H XXX -C public -P 1 -o .1.3.6.1.2.1.2.2.1.8.1 -m ALL > Does result in (Nagios Webinterface): SNMP OK - up(1) That was what > you were asking for? >>>>>>>>>>>>>>>>>>>>> > > > Thats funny because I did tried that, in the Nagios Webinterface is > still without the "up". > That's because the status message will only be updated after the check has failed and then turned back to OK again. > What version of plugins are you using? Witch version of Nagios? > > I have Nagios 1.2 and ... check_snmp (nagios-plugins 1.3.99) 1.35 > -- 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 Wed Oct 20 21:56:57 2004 From: phil at usc.edu (Phil Dibowitz) Date: Wed, 20 Oct 2004 12:56:57 -0700 Subject: Problems with check_tcp In-Reply-To: <20041020191737.GM17717@usc.edu> References: <20041020191737.GM17717@usc.edu> Message-ID: <20041020195657.GR17717@usc.edu> On Wed, Oct 20, 2004 at 12:17:37PM -0700, Phil Dibowitz wrote: > I'm trying to check some spop and simap servers, and so I'm using check_spop > and check_simap which are links to check_tcp. Okay, I found the problem: using SSLv2_client_method() instead of SSLv23_client_method(). I've posted a patch to fix both problems at the bugID I referenced earlier: > http://sourceforge.net/tracker/index.php?func=detail&aid=1030062&group_id=29880&atid=397597 -- 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 Wed Oct 20 22:00:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 22:00:52 +0200 Subject: web transaction monitoring? In-Reply-To: <1098298360.3601.55.camel@tesuji.nac.uci.edu> References: <1098298360.3601.55.camel@tesuji.nac.uci.edu> Message-ID: <4176C3F4.9070905@op5.se> Dan Stromberg wrote: > It wouldn't be too hard to write one, if there isn't one already. > > You could do one in shell using wget's --http-user and -http-passwd > options, or python has a high level API for doing this sort of thing. Or check_http --help. It can handle what you want. > > On Wed, 2004-10-20 at 06:36, Robert.Lattanzi at fitchratings.com wrote: > >>Hello All- >>I'm wondering if there is a plug-in that allows one to step through a >>series of web transactions, such as logging in to a protected page and then >>checking for a string (similar to check_httpd) on the resulting page. It >>doesn't look like Nagios can do this "natively"- please correct me if I'm >>wrong. Thanks, Robert >> >> -- 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 20 21:59:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 21:59:55 +0200 Subject: Message storms, service statuses, intervals and so on In-Reply-To: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DBAE@srv-cob-00-0014.elaxy.org> References: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DBAE@srv-cob-00-0014.elaxy.org> Message-ID: <4176C3BB.9060708@op5.se> Mohr James wrote: > Hi All! > > I was testing Nagios's behavior when encountering a message storm. Using > send_nsca, I set a service to OK and then sent 10K critical messages. > The script that calls send_nsca passes the current loop count as part of > the message text, so I can see in nagios.log which message is currently > being processed. Before each loop I reset the service to OK. I did this > a couple of times and on our machine, nagios seems to be able to process > about 40 messages a second. > That seems pretty consistent with some experiments I've done with named pipes. If you empty it as fast as you can, you can squeeze through about 200kB/second (PIII 833), but with the risk of dataloss. CPU speed doesn't seem to matter all that much. It drops to 180k on a PII 300, but jumps only to 210k for a P4 3.0 with HT enabled. Nagios has other things on its mind, so it doesn't empty the pipe as often as a completely mindless message-eater can. This can be increased rather simply though, by hacking the kernel and increasing the buffer for named pipes. It's hard to predict how that will affect other programs though, so it's probably best not to. > The service is defined like this: > > define service ( > use generic-service ; Name of > service template to use > > host_name sol-sys-02 > service_description http > is_volatile 0 > check_period 24x7 > active_checks_enabled 0 > passive_checks_enabled 1 > max_check_attempts 1 > normal_check_interval 5 > retry_check_interval 1 > contact_groups vpo > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_http > } > > We have a notification set up to create a trouble ticket in our help > desk tool. That mechanism works fine. > > There are a couple of things that have made me curious that I cannot > explain. To begin with, it is not the first event that creates the > trouble ticket. Once it a was at count 150 another time was count 351. > So why isn't the first event triggering the trouble ticket? If I > understand it correctly, "max_check_attempts 1" says Nagios should > react the very first time. How come it then waits for the 351st event > before reacting? I could understand it if the notifcation is triggered > and then notification program reads the current state (including the > current event with the current count). By the time the notification gets > around to ready the state info the count has increased. > > The next is the "Status Information" field in the web browser. The > content is obviously changing as I can see that the count value > increases almost up to the 10000. The status does not change, but the > system is always getting the "current" message. My problem is I am not > sure as to what mechanism is used to determine how long the system would > wait before updating. > > The section in the doc "Service Check Scheduling" talks about > rescheduling when a service is down, but I have not found anything (yet) > that says how often the "Status Information" is updated. It is not the > normal_check_interval because that is too long. However, the > retry_check_interval *could* be it. Still, the retry_check_interval > seems to imply that this is the time Nagios waits to retry to check the > service and not necessarily the time between updating the "Status > Information". Note that this is not an issue of updating the browser, as > I am continually pressing the refresh button. Instead, I see this as an > issue with Nagios. > > Any help is greatly appreaciated. > > Regards, > > Jim Mohr > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 throck at duke.edu Wed Oct 20 22:37:23 2004 From: throck at duke.edu (Tom Throckmorton) Date: Wed, 20 Oct 2004 16:37:23 -0400 Subject: web transaction monitoring? In-Reply-To: References: Message-ID: <4176CC83.1090601@duke.edu> Robert, Have you tried using the --authorization parameter w/ check_httpd? Something like: check_http -H yourhost -a username:password -u /some/url/path -r "search string" Note, if you're trying to check something on the target, not the login page, you may also need to use '-f follow', and, of course, you'd probably want to move the username:password pair into your resource.cfg, and call it as a variable: check_http -H yourhost -a $USER5$ -u /some/url/path -f follow -r "search string" Regards, -tt On 10/20/2004 09:36 AM, Robert.Lattanzi at fitchratings.com wrote: >Hello All- >I'm wondering if there is a plug-in that allows one to step through a >series of web transactions, such as logging in to a protected page and then >checking for a string (similar to check_httpd) on the resulting page. It >doesn't look like Nagios can do this "natively"- please correct me if I'm >wrong. Thanks, Robert > > > > >Robert Lattanzi >FitchRatings >212.908.0348 > > > > >Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > -- Tom Throckmorton OIT - CASI Duke 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 jhmartin at toger.us Wed Oct 20 22:41:14 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 20 Oct 2004 13:41:14 -0700 Subject: web transaction monitoring? In-Reply-To: <4176C3F4.9070905@op5.se> References: <1098298360.3601.55.camel@tesuji.nac.uci.edu> <4176C3F4.9070905@op5.se> Message-ID: <20041020204114.GS31187@zippy.toger.us> On Wed, Oct 20, 2004 at 10:00:52PM +0200, Andreas Ericsson wrote: > Or check_http --help. It can handle what you want. The original poster was looking for something a bit heavier than what check_http offers. Check_http allows for checking the response time of a particular query / web page. The poster was looking for something more along the lines of "How long does it take to submit an order", which might involve the step of authenticating via a non-HTTP-auth login (think amazon.com), put an item in a shopping cart, follow the steps for entering CC info, and finally hitting submit. This might involve 10 different webpages, but the desired functionality is for the overall time instead of just one particular click. This sort of monitoring requires sending queries and taking the output of a prior page and using it to generate the next query. As such check_http isn't really appropriate for this sort of task. It pretty much requires some sort of 'test engine', or at least a script that can do the multi-step process to come up with a timing. -Jason Martin -- 90% of everything is crud. The remainder is outright sh-t. 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 dt_player at yahoo.com Wed Oct 20 22:53:51 2004 From: dt_player at yahoo.com (John David) Date: Wed, 20 Oct 2004 13:53:51 -0700 (PDT) Subject: Acknowledging alerts with SMS. In-Reply-To: <8FF1B96416403640A9EB105C269BAA740F5EF1@dubmsv01.irishbroadband.ie> References: <8FF1B96416403640A9EB105C269BAA740F5EF1@dubmsv01.irishbroadband.ie> Message-ID: <20041020205351.40419.qmail@web13810.mail.yahoo.com> i am looking pretty much for the same thing. how are you doing it thus far john? my requirement is that i would like to acknowledge a service or host problem with my blackberry. so far i haven't heard anybody comment. did you find any documentation with regard to external commands? anyone else out there know if an external command exists for acknowledging a problem? is this even the right direction? john --- John Senior wrote: > Hi Everyone, > > I would like to be able to acknowledge nagios alerts > with SMS, I can > receive alerts fine and already have an easy way to > get an SMS to do > arbitrary things but would like to know how best to > go about integrating > with Nagios. Any ideas you have would be much > appreciated. > > All the best, > > John. > > -- > John Senior > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide > on ITManagersJournal > Use IT products in your business? Tell us what you > think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! > Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? Yahoo! Mail Address AutoComplete - You start. We finish. 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 neil-on-nagios at restricted.dyndns.org Wed Oct 20 22:53:29 2004 From: neil-on-nagios at restricted.dyndns.org (Neil) Date: Wed, 20 Oct 2004 15:53:29 -0500 Subject: performance info values In-Reply-To: <1098294909.22734.11.camel@pel> References: <20041020070326.75667.qmail@restricted.dyndns.org> <41761C23.8030102@op5.se> <1098294909.22734.11.camel@pel> Message-ID: <20041020205329.39188.qmail@restricted.dyndns.org> Hi Sean, Awesome information about the uptime values. Ok, here it is: max_concurrent_checks=30 Then yes, I have 30-36 services that are down always but goes up sometimes and should still be monitored. and result of nagios -s nagios.cfg is SERVICE SCHEDULING INFORMATION ------------------------------- Total services: 300 Total hosts: 123 Command check interval: 5 sec Check reaper interval: 10 sec Inter-check delay method: SMART Average check interval: 301.400 sec Inter-check delay: 1.005 sec Interleave factor method: SMART Average services per host: 2.439 Service interleave factor: 3 Initial service check scheduling info: -------------------------------------- First scheduled check: 1098305834 -> Wed Oct 20 13:57:14 2004 Last scheduled check: 1098306134 -> Wed Oct 20 14:02:14 2004 Rough guidelines for max_concurrent_checks value: ------------------------------------------------- Absolute minimum value: 10 Recommend value: 30 Any ideas? Thanks again! Sean Dilda writes: > On Wed, 2004-10-20 at 04:04, Andreas Ericsson wrote: >> Also use the uptime command to get >> the system load of your system. 1.0 means 100% (1 process in queue for >> processing). > > Note that that's 1.0 means 100% of a single processor. 100% of a > dual-processor box would be 2.0 and 100% of a dual-processor box with > hyper-threading would be 4.0. > > As for why the latency is so high.. what's your 'max_concurrent_checks' > set to? Also, do you have any machines that are down? or a lot of > services that aren't ok? When nagios detects a non-OK service, it then > stops everything and verifies if the host in question is up or not. > This can cause delays, especially if the host is slow to respond, or the > host check command waits a long time before timing out with a down 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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 23:00:56 2004 From: marc at ena.com (Marc Powell) Date: Wed, 20 Oct 2004 16:00:56 -0500 Subject: Message storms, service statuses, intervals and so on Message-ID: <349555FA607F3A4CBDA9326035D1A7FC25C0E8@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mohr James Sent: Wednesday, October 20, 2004 7:33 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Message storms, service statuses, intervals and so on [lots of stuff related to trying to overwhelm nagios removed] > We have a notification set up to create a trouble ticket in our help desk > tool. That mechanism works fine. > > There are a couple of things that have made me curious that I cannot explain. > To begin with, it is not the first event that creates the trouble ticket. > Once it a was at count 150 another time was count 351. > So why isn't the first event triggering the trouble ticket? If I understand > it correctly, "max_check_attempts 1" says Nagios should react the very first > time. How come it then waits for the 351st event before reacting? I could > understand it if the notifcation is triggered and then notification program > reads the current state (including the current event with the current count). > By the time the notification gets around to ready the state info the count > has increased. It should and does work for me unless there is something that is unique to setting the max_check_attempts to 1 which I am not aware of (I use 3). What does your host definition and specifically the check_command look like (and it's corresponding command definition)? Before sending a service notification, nagios will execute the host check and if that returns critical it will only send a host notification, not a service notification. Are you changing the host status during your testing? What does your nagios.log file look like around the time that it should send the first service notification (check result 1)? Does it try to send it? Are there any hints or pointers there? > > The next is the "Status Information" field in the web browser. The content is > obviously changing as I can see that the count value increases almost up to > the 10000. The status does not change, but the system is always getting the > "current" message. My problem is I am not sure as to what mechanism is used > to determine how long the system would wait before updating. I believe this is what you're looking for. In nagios.cfg -- # AGGREGATED STATUS UPDATES # This option determines whether or not Nagios will # aggregate updates of host, service, and program status # data. Normally, status data is updated immediately when # a change occurs. This can result in high CPU loads if # you are monitoring a lot of services. If you want Nagios # to only refresh status data every few seconds, disable # this option. # Values: 1 = enable aggregate updates, 0 = disable aggregate updates aggregate_status_updates=1 # AGGREGATED STATUS UPDATE INTERVAL # Combined with the aggregate_status_updates option, # this option determines the frequency (in seconds!) that # Nagios will periodically dump program, host, and # service status data. If you are not using aggregated # status data updates, this option has no effect. status_update_interval=15 -- 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 jhmartin at toger.us Wed Oct 20 23:08:25 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 20 Oct 2004 14:08:25 -0700 Subject: web transaction monitoring? In-Reply-To: <4176CC83.1090601@duke.edu> References: <4176CC83.1090601@duke.edu> Message-ID: <20041020210825.GT31187@zippy.toger.us> On Wed, Oct 20, 2004 at 04:37:23PM -0400, Tom Throckmorton wrote: > Have you tried using the --authorization parameter w/ check_httpd? That will work for pages that use the http-auth system, but many customer-facing sites use a cookie/session based method; think slashdot.org or amazon.com. -Jason Martin -- Pet Store: "Buy one, get one flea." 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 nagios at cooldarkplace.org Wed Oct 20 23:07:01 2004 From: nagios at cooldarkplace.org (nagios at cooldarkplace.org) Date: Wed, 20 Oct 2004 17:07:01 -0400 (EDT) Subject: Host warning state? Message-ID: <4472.130.91.13.24.1098306421.squirrel@130.91.13.24> >What"s your goal in doing this? One thing you can do is add a service_d >and use the check_cluster plugin so that service_d will be warning if any >of the other services aren"t ok. >Nagios is designed to be able to try to figure out if its a service or host >problem and notify the proper person. It can be very powerful when used >that way, and what you suggest goes against that. I"m having a hard time >figuring out what your intent could be that would make you want the hosts >to have a warning state. What would be really cool would be a variable either in the main nagios.cfg or a per host variable like: host_warn_on_service_failure=0 or 1. There may in fact be a way to do something like this already, but I haven't been able to find it in the documentation or 2 months of mailing list archives. I suspect his goal here(and I have a similar one), is that quite often the same person or persons who maintains the host itself is also responsible for the services, especially in smaller shops. In this situation, it makes a good amount of sense. If I have 10 services on every machine, and I'm responsible for both the host and service states of all of them, why not have service failure trigger some sort of host notification rather than defining notifications and escalations for each service on the machine? Imagine 4 admins managing 40 or so hosts. Each of the 4 admins has 10 hosts and associated services as their "primary" responsibilty. Another 10 hosts and associated services as their "secondary" responsibilty(covering in the event that the primary doesn't respond fast enough) and also needs to know if any of the other 20 hosts have been misbehaving for quite some time now(meaning neither the primary or secondary has acknowledged/addressed the problem). I am in such a situation right now. All my host escalations have been configured based on a chain similar to that above, and now I'm faced with configuring 10 times as many service escalations, all of which have rules identical to the service escalations. Forgetting the amount of work it represents for a moment, its going to make the config files a lot more unmanageable and simultaneously eat up 10 times more memory. I'm considering writing some sort of shell script to walk through my services file, scooping up all the services, and then using the host escalations I've already defined as a template to write out a gigantic escalations.cfg, but there would be so much redundant information in there even if I use massive templating, it seems like there has to be an easier way. Any ideas greatly appreciated! Thanks, -Tony ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 20 23:14:00 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 20 Oct 2004 14:14:00 -0700 Subject: Acknowledging alerts with SMS. In-Reply-To: <20041020205351.40419.qmail@web13810.mail.yahoo.com> References: <8FF1B96416403640A9EB105C269BAA740F5EF1@dubmsv01.irishbroadband.ie> <20041020205351.40419.qmail@web13810.mail.yahoo.com> Message-ID: <20041020211400.GU31187@zippy.toger.us> On Wed, Oct 20, 2004 at 01:53:51PM -0700, John David wrote: > anyone else out there know if an external command > exists for acknowledging a problem? is this even the > right direction? There necessairily must be a external command for it as the CGI's offer this functionality. It seems like it would be a fairily simple matter to set up a procmail recipe to receive emails and post the appropriate line into the external command file. I haven't seen this done yet but it should be fairily strightforward. -Jason Martin -- Pet Store: "Buy one, get one flea." 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 Wed Oct 20 23:37:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 23:37:14 +0200 Subject: check for successful email send In-Reply-To: <631d451b041020121045bb0049@mail.gmail.com> References: <631d451b041020121045bb0049@mail.gmail.com> Message-ID: <4176DA8A.40706@op5.se> Joseph Lin wrote: > Hi, > > I am trying to figure out a way to check that an email is successfully > sent between 2 different mail servers.. > > any ideas?? > check_email_loop.pl in contrib dir. Have fun. -- 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 20 23:42:29 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 20 Oct 2004 23:42:29 +0200 Subject: web transaction monitoring? In-Reply-To: <20041020204114.GS31187@zippy.toger.us> References: <1098298360.3601.55.camel@tesuji.nac.uci.edu> <4176C3F4.9070905@op5.se> <20041020204114.GS31187@zippy.toger.us> Message-ID: <4176DBC5.1090902@op5.se> Jason Martin wrote: > On Wed, Oct 20, 2004 at 10:00:52PM +0200, Andreas Ericsson wrote: > >>Or check_http --help. It can handle what you want. > > The original poster was looking for something a bit heavier than > what check_http offers. Check_http allows for checking the > response time of a particular query / web page. The poster was > looking for something more along the lines of "How long does it > take to submit an order", which might involve the step of > authenticating via a non-HTTP-auth login (think amazon.com), put > an item in a shopping cart, follow the steps for entering CC > info, and finally hitting submit. This might involve 10 > different webpages, but the desired functionality is for the > overall time instead of just one particular click. > > This sort of monitoring requires sending queries and taking the > output of a prior page and using it to generate the next query. > As such check_http isn't really appropriate for this sort of > task. It pretty much requires some sort of 'test engine', or at > least a script that can do the multi-step process to come up > with a timing. > Assuming he knows what he wants the script to buy, a simple shell/perl wrapper around check_http should do just fine. Whatever page is generated back is pretty irrelevant apart from perhaps a few key values (session ID and such, which can easily be grep'ed from output) since the next step is known before hand at all times. I'm thinking perl for at least millisecond precision, even though I'm not very fond of 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 Thu Oct 21 00:11:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 21 Oct 2004 00:11:36 +0200 Subject: Host warning state? In-Reply-To: <4472.130.91.13.24.1098306421.squirrel@130.91.13.24> References: <4472.130.91.13.24.1098306421.squirrel@130.91.13.24> Message-ID: <4176E298.9000706@op5.se> nagios at cooldarkplace.org wrote: >>What"s your goal in doing this? One thing you can do is add a service_d >>and use the check_cluster plugin so that service_d will be warning if > > any >of the other services aren"t ok. > > >>Nagios is designed to be able to try to figure out if its a service or > > host >problem and notify the proper person. It can be very powerful when > used >that way, and what you suggest goes against that. I"m having a > hard time >figuring out what your intent could be that would make you > want the hosts >to have a warning state. > > What would be really cool would be a variable either in the main > nagios.cfg or a per host variable like: host_warn_on_service_failure=0 or > 1. There may in fact be a way to do something like this already, but I > haven't been able to find it in the documentation or 2 months of mailing > list archives. > > > I suspect his goal here(and I have a similar one), is that quite often the > same person or persons who maintains the host itself is also responsible > for the services, especially in smaller shops. In this situation, it > makes a good amount of sense. If I have 10 services on every machine, and > I'm responsible for both the host and service states of all of them, why > not have service failure trigger some sort of host notification rather > than defining notifications and escalations for each service on the > machine? > > Imagine 4 admins managing 40 or so hosts. Each of the 4 admins has 10 > hosts and associated services as their "primary" responsibilty. Another > 10 hosts and associated services as their "secondary" > responsibilty(covering in the event that the primary doesn't respond fast > enough) and also needs to know if any of the other 20 hosts have been > misbehaving for quite some time now(meaning neither the primary or > secondary has acknowledged/addressed the problem). > > I am in such a situation right now. All my host escalations have been > configured based on a chain similar to that above, and now I'm faced with > configuring 10 times as many service escalations, all of which have rules > identical to the service escalations. Forgetting the amount of work it > represents for a moment, its going to make the config files a lot more > unmanageable and simultaneously eat up 10 times more memory. > Upgrade to Nagios 2.0 and use wildcard specifications in escalations, like so; dependent_host_name joes_host1,joes_host2 dependent_service_description * It should save you a lot of typing. > I'm considering writing some sort of shell script to walk through my > services file, scooping up all the services, and then using the host > escalations I've already defined as a template to write out a gigantic > escalations.cfg, but there would be so much redundant information in there > even if I use massive templating, it seems like there has to be an easier > way. > > Any ideas greatly appreciated! > > Thanks, > -Tony > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 Jan.Scholten at iconz.net Thu Oct 21 01:07:58 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 21 Oct 2004 12:07:58 +1300 Subject: =?iso-8859-15?Q?=5BNagios-users=5D_R=E9p._:_Re:_=5BNagio?= =?iso-8859-15?Q?s-users=5D_check=5Fsnmp_hard_question?= In-Reply-To: <4176C18F.2020401@op5.se> References: <4176C18F.2020401@op5.se> Message-ID: > Serveur-Faucon Surveillance wrote: >> Sorry about that, It seems that the spam solution for our offices is >> not too friendly with sourceforge. So I removed this email from it :) >> You wrote <<<<<<<<<<<<<<<<<< After some mails with Ted (thanks): >> check_snmp -H XXX -C public -P 1 -o .1.3.6.1.2.1.2.2.1.8.1 -m ALL Does >> result in (Nagios Webinterface): SNMP OK - up(1) That was what >> you were asking for? >>>>>>>>>>>>>>>>>>>>> >> Thats funny because I did tried that, in the Nagios Webinterface is >> still without the "up". Strange... It is working for me (and i have SNMP OK - up(1) in the Nagios Webinterface). check_snmp (nagios-plugins 1.4.0alpha1) 1.36 Nagios 1.2 But even with the 1.3 Plugin i have the same output (SNMP OK- up(1)) Maybe you have a bad MIB? I uses AGENTX-MIB.txt IF-MIB.txt RFC1155-SMI.txt SNMPv2-SMI.txt BGP4-MIB.txt INET-ADDRESS-MIB.txt RFC1213-MIB.txt SNMPv2-TC.txt BRIDGE-MIB.txt IP-FORWARD-MIB.txt RFC-1215.txt SNMPv2-TC-V1SMI.my CISCO-CONFIG-MAN-MIB.my IP-MIB.txt RIPv2-MIB.txt SNMPv2-TM.txt CISCO-SMI.my IPV6-ICMP-MIB.txt RMON-MIB.txt SNMP-VIEW-BASED-ACM-MIB.txt CISCO-SYSLOG-MIB-V1SMI.my IPV6-MIB.txt SMUX-MIB.txt SOURCE-ROUTING-MIB.txt DISMAN-SCHEDULE-MIB.txt IPV6-TCP-MIB.txt SNMP-COMMUNITY-MIB.txt TCP-MIB.txt DISMAN-SCRIPT-MIB.txt IPV6-TC.txt snmp.conf TEST_TRAP.txt EtherLike-MIB.txt IPV6-UDP-MIB.txt SNMP-FRAMEWORK-MIB.txt UCD-DEMO-MIB.txt GNOME-SMI.txt LM-SENSORS-MIB.txt SNMP-MPD-MIB.txt UCD-DISKIO-MIB.txt HCNUM-TC.txt NET-SNMP-AGENT-MIB.txt SNMP-NOTIFICATION-MIB.txt UCD-DLMOD-MIB.txt HOST-RESOURCES-MIB.txt NET-SNMP-EXAMPLES-MIB.txt SNMP-PROXY-MIB.txt UCD-IPFWACC-MIB.txt HOST-RESOURCES-TYPES.txt NET-SNMP-MIB.txt SNMP-TARGET-MIB.txt UCD-SNMP-MIB.txt IANA-ADDRESS-FAMILY-NUMBERS-MIB.txt NET-SNMP-TC.txt SNMP-USER-BASED-SM-MIB.txt UDP-MIB.txt IANAifType-MIB.txt NOTIFICATION-LOG-MIB.txt SNMP-USM-AES-MIB.txt IANA-LANGUAGE-MIB.txt OSPF-MIB.txt SNMPv2-CONF.txt IF-INVERTED-STACK-MIB.txt OSPF-TRAP-MIB.txt SNMPv2-MIB.txt ( net-snmp Mibs = some Cisco Mibs.) Can't see why it's not working.. does fine for me.. >> > > That's because the status message will only be updated after the check > has failed and then turned back to OK again. I don't understand that :-) everytime see state get's checked it says SNMP OK - up(1) >> What version of plugins are you using? Witch version of Nagios? >> I have Nagios 1.2 and ... check_snmp (nagios-plugins 1.3.99) 1.35 See above.. working with 1.40a and 1.31 -- 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 21 03:06:44 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 21 Oct 2004 14:06:44 +1300 Subject: Networkmap automatic drawing? Message-ID: Hi! Has anyone used a tool like Fluke Lan Mapshot http://www.flukenetworks.com/us/LAN/Monitoring+Analysis+Diagramming/LAN+MapShot/_free+trial.htm So i need to draw maps of our network, which has grown over the years. So i don't want to trace cables and i would not like to log into every switch to do a cdp neighbour or something equivalent (i never logged into these Juniper things). So does anyone know of a script/Programm that is free,easy to use which does that task (with snmp or something like that?) 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 icedtea at gamebox.net Thu Oct 21 03:19:02 2004 From: icedtea at gamebox.net (icedtea) Date: Thu, 21 Oct 2004 09:19:02 +0800 Subject: check traffic without snmp? References: <4175BBCD.8020202@gamebox.net> <41761B0E.3050702@op5.se> Message-ID: <41770E86.3050109@gamebox.net> Andreas Ericsson wrote: > icedtea wrote: > >> is it possible to check current network traffic without using snmp? tnx >> > > Possible, yes, but very troublesome. You'd have to login via > telnet/ssh and fetch the proper values that way. Not very secure, and > definitely custom. how do i check traffic using ssh? I would gladly appreciate your reply. regards, icedtea > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 03:27:31 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 21 Oct 2004 11:27:31 +1000 Subject: monitoring web transactions In-Reply-To: References: Message-ID: <20041021012730.GA87731@IPAustralia.Gov.AU> Dear Ladies and Gentlemen, > On Wed, Oct 20, 2004 at 09:36:56AM -0400, Robert.Lattanzi at fitchratings.com = > wrote: > > series of web transactions, such as logging in to a protected page and th= > en > > checking for a string (similar to check_httpd) on the resulting page. It > > doesn't look like Nagios can do this "natively"- please correct me if I'm > > wrong. Thanks, Robert > I don't know of any plugin that can do this. You'd probably have > better luck with something like=20 > AWBot http://freshmeat.net/projects/awbot/ > PasTMon http://freshmeat.net/projects/pastmon/=20 > or TestMaker http://freshmeat.net/projects/testmaker/ > and having them send a notification to Nagios about their > results. > > Note: I haven't actually used these programs, but it is > something I've been looking at doing someday. > You may be better off rolling your own completely since AwBot requires a two (2) phases (processe each URL and then analyse the result file) and PasTmon is a passive monitor. OTOH you could try WWW::Mechanize from CPAN ( http://search.cpan.org/dist/WWW-Mechanize/ ) , or lynx or LWP from within a Perl program to step through the list of URLs and match the HTML response against the patterns you provide. Probably the only code-free ways of doing this are commercial: site checking services or products like Rational Robot. With CPAN modules like WWW::Mechanize very much can be done with very little code on your part. Here's what it looks like $mech->get( "http://my.site.com" ); die "Can't even get the home page: ", $mech->response->status_line unless $mech->success; $mech->follow_link( "foo" ); die "Foo link failed: ", $mech->response->status_line unless $mech->success; and a page of example programs, none that for Nagios as yet. http://search.cpan.org/dist/WWW-Mechanize/lib/WWW/Mechanize/Examples.pod 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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From LMStone at rnome.com Thu Oct 21 04:30:15 2004 From: LMStone at rnome.com (L. Mark Stone) Date: Wed, 20 Oct 2004 22:30:15 -0400 Subject: Confusing Permissions Issue Message-ID: <200410202230.15431.LMStone@rnome.com> Running Nagios 1.2 installed on SuSE 8.2 from the SuSE rpms. The file nagios.cmd gets created in /var/spool/nagios, and we changed the permissions on this directory according to the FAQ. We also tried several variations, but are still having the same problem (and yes, we made sure to restart the apache web server after each change.) The problem is that if we restart the Nagios process from the web interface, we get no error that we don't have proper permissions, but as soon as we do this, all of the monitored hosts' service checks start generating 127 errors. Now, if we just go to the Nagios server's root command prompt and restart Nagios with an "rcnagios restart" command, Nagios starts up fine. Is there anything particular to SuSE that requires permissions slightly different from the FAQ? FWIW, the default permissions on /var/spool/nagios set by the SuSE rpms did not allow us to run any CGIs from the web interface. The ownership was root.root. Thanks, Mark -- ____________________________________________________ Another Message From... L. Mark Stone Reliable Networks of Maine, LLC 477 Congress Street Portland, ME 04101 Tel: (207) 772-5678 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 05:50:46 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 21 Oct 2004 13:50:46 +1000 Subject: [Nagios-devel] RFC Proof of concenpt patch: Restarting embedded Perl Nagios periodically to halt memory consumption. In-Reply-To: <4176D228.17747.2BC4DA2@localhost> References: <20040918023105.GB230@IPAustralia.Gov.AU> <4176D228.17747.2BC4DA2@localhost> Message-ID: <20041021035044.GB87731@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Wed, Oct 20, 2004 at 09:01:28PM -0500, Ethan Galstad wrote: > Following up on an old post that needs addressing... > > The info from the Perl docs you provided earlier state that lost > memory can only be freed by stopping the process. Agreed. > Rather than > including this functionality in Nagios (which would be a bit kludgy), > I would recommend another approach (which is still hackish, but > better IMO)... > > Use cron to periodically run a script that calls the check_vsz plugin > to determine the memory usage of the Nagios daemon. If the plugin > returns a critical state, restart Nagios using the init script. > Simple, but effective. > > Yes, this is a much better way (even periodic restarts from cron without checking mem use would be sufficient). Thank you for your constructive and helpful answer. 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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From nagios at mm.quex.org Thu Oct 21 06:14:00 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 21 Oct 2004 12:14:00 +0800 Subject: check traffic without snmp? In-Reply-To: <41770E86.3050109@gamebox.net> References: <4175BBCD.8020202@gamebox.net> <41761B0E.3050702@op5.se> <41770E86.3050109@gamebox.net> Message-ID: <20041021041400.GA1616@quex.org> On Thu, Oct 21, 2004 at 09:19:02AM +0800, icedtea wrote: > Andreas Ericsson wrote: >> icedtea wrote: >>> is it possible to check current network traffic without using snmp? tnx >> >> Possible, yes, but very troublesome. You'd have to login via >> telnet/ssh and fetch the proper values that way. Not very secure, and >> definitely custom. > > how do i check traffic using ssh? That's pretty hard to answer given we don't even know what platform you want to check with. You're going to have to put in some effort (a lot of effort, by the sound of things...) of your own to get this working. Things you'll need to work out: - allow the Nagios user to ssh to the remote hosts without any user input (i.e. without a password). Have a search on the internet for "ssh keys" for info on how to set this up. - get the traffic usage. This depends on the platform you're using; find some tool that will retrieve the information you need. - write a plugin. The plugin needs to output a single line (for informational purposes), and return a specific value so Nagios knows whether it's good or bad. You can find more info in the Nagios documentation on plugins. To write the plugin, you'll also need to determine what level of traffic is "good" and what is "bad", etc. Have fun. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 07:17:51 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 21 Oct 2004 13:17:51 +0800 Subject: checking port number and daemons In-Reply-To: <1098299187.3601.66.camel@tesuji.nac.uci.edu> References: <1098299187.3601.66.camel@tesuji.nac.uci.edu> Message-ID: <20041021051751.GB1616@quex.org> On Wed, Oct 20, 2004 at 12:06:27PM -0700, Dan Stromberg wrote: > On Wed, 2004-10-20 at 01:56, Padiyath Sreekumaran wrote: >> Iam new to nagios . We have a license server where many SW licenses are >> running. The OS of the server is Linux. I want to know whether I can >> check the port number as well as the daemon of each installed licenses >> with nagios and how? Is there any scripts etc. available for this >> purpose? Is it possible to have these scripts? I will be very thankful >> for your help. If possible please send a copy of the mail in my following > > You could probably just do a check_tcp on any relevant ports, but > what'd be Really Sweet, is if we had a plugin that would not only see > if you can check out a license, but also generate a warning when the > license will expire in n days. That would almost certainly be possible, but since there's been no mention of what licences need to be checked or how the license server even works, it's impossible to give a solution. SSL Certificates can be checked using the check_http plugin, with a warning state being entered X days before it expires. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 07:44:14 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 21 Oct 2004 13:44:14 +0800 Subject: Acknowledging alerts with SMS. In-Reply-To: <20041020211400.GU31187@zippy.toger.us> References: <8FF1B96416403640A9EB105C269BAA740F5EF1@dubmsv01.irishbroadband.ie> <20041020205351.40419.qmail@web13810.mail.yahoo.com> <20041020211400.GU31187@zippy.toger.us> Message-ID: <20041021054414.GC1616@quex.org> On Wed, Oct 20, 2004 at 02:14:00PM -0700, Jason Martin wrote: > On Wed, Oct 20, 2004 at 01:53:51PM -0700, John David wrote: >> anyone else out there know if an external command >> exists for acknowledging a problem? is this even the >> right direction? > There necessairily must be a external command for it as the > CGI's offer this functionality. It seems like it would be a > fairily simple matter to set up a procmail recipe to receive > emails and post the appropriate line into the external command > file. I haven't seen this done yet but it should be fairily > strightforward. You just need to add a line or two of text to Nagios' command pipe. The format is one of: [$timestamp] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;$txt [$timestamp] ADD_SVC_COMMENT;$host;$service;1;$author;$txt to acknowledge service problems, or: [$timestamp] ACKNOWLEDGE_HOST_PROBLEM;$host;1;$txt [$timestamp] ADD_HOST_COMMENT;$host;1;$author;$txt Replace the variables as you'd expect. The '1' in the acknowledgement command determines whether or not to notify people of the ack; the '1' in the comment command is the "persistent" flag, so you can change that to 0 if you don't want the comment to persist between Nagios restarts. If you don't add the comment, then it won't appear in the web interface like it does if you use the CGI to acknowledge a problem. The timestamp is the number of seconds since the epoch. In Perl, you can get this using 'time'; from a shell, you could use date +%s Just write the lines to the Nagios command pipe, and Nagios will do your bidding. The only tricky part is getting the host & service name. The SMS service we use is actually an email-to-SMS gateway, and it's also an SMS-to-email gateway. Outgoing SMS are each sent with a different number, and replies to the SMS are sent back to us as emails to whatever address originally sent the email to the gateway. i.e. foo at our.com -> +6141xxxx at sms.gateway -> SMS to +6141xxxx then, SMS reply -> sms.gateway -> foo at our.com I have a simple table in a database with unique ID's for each of the host/service pairs that we've sent a message for (generated on the fly if needed). When the reply comes back, we just match the ID against the table to get the host + service to send to Nagios, which makes replying via SMS (or email) very easy. Even if you don't have the luxury of an SMS gateway that knows which message you're replying to, you could use the same idea to generate short unique ID's for messages, and then have the responder include the ID in their message. Depending on the type of phone (or other device) being used to respond, you could make the ID's easier to type by using numbers, the first alpha character for each number. If everyone has "predictive text", using a random dictionary word might be easiest. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 07:49:23 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 21 Oct 2004 13:49:23 +0800 Subject: check for successful web authentication In-Reply-To: <1098300816.3601.82.camel@tesuji.nac.uci.edu> References: <20041020182315.27433.qmail@restricted.dyndns.org> <1098300816.3601.82.camel@tesuji.nac.uci.edu> Message-ID: <20041021054923.GD1616@quex.org> On Wed, Oct 20, 2004 at 12:33:37PM -0700, Dan Stromberg wrote: > On Wed, 2004-10-20 at 11:23, Neil wrote: >> >> Has someone created a check that can login to a web form then verify if >> login was successful or not? My guess is that it would be something like >> >> http://ipaddress/login.asp?username=someone&passpword=secret >> >> I don't know.... :) >> >> So how did you do it? > > python has a high level API for accessing web pages that can POST > information, authenticate with "basic auth" and get/send cookies. You might be able to use the standard check_http plugin for this, which has options for basic auth as well as POST input. The POST input looks like how you imagined it to. The command you would need to run will probably look something like: check_http -I ipaddress -u /login.asp \ --post='username=someone&password=secret' You could also use the -s (--string) parameter to look for some text in the page that confirms the login was successful. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 08:14:05 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 21 Oct 2004 16:14:05 +1000 Subject: Citrix ICA q1: does check_tcp -H metaframe -p 1494 -e 'ICA' work for anyone ? In-Reply-To: <20041018031515.5AECF1D2D12@sc8-sf-uberspam1.sourceforge.net> References: <20041018031515.5AECF1D2D12@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041021061405.GD87731@IPAustralia.Gov.AU> Dear Folks, Is anyone using check_tcp, with an expect string, for a rudimentary check of Citrix ICA/Metaframe servers ? tsitc> ./check_tcp -H 10.1.2.224 -p 1494 -e 'ICA' -t 2 Socket timeout after 2 seconds tsitc> ./check_tcp -h check_tcp (nagios-plugins 1.3.1) 1.13.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) 1999 Ethan Galstad (nagios at nagios.org) This plugin tests TCP connections with the specified host. Usage: check_tcp -H host -p port [-w warn_time] [-c crit_time] [-s send_string] [-e expect_string] [-q quit_string] [-m maxbytes] [-d delay] [-t to_sec] [-v] (but also the alpha release of 1.4 plugins) Here seems to be the relevant part of the trace 0.006532 10.1.2.252 -> 10.1.2.224 TCP 4606 > ica [SYN] Seq=0 Ack=0 Win=57344 Len=0 MSS=1460 WS=0 TSV=588114048 TSER=0 0.006669 10.1.2.224 -> 10.1.2.252 TCP ica > 4606 [SYN, ACK] Seq=0 Ack=1 Win=64512 Len=0 MSS=1460 WS=0 TSV=0 TSER=0 0.006701 10.1.2.252 -> 10.1.2.224 TCP 4606 > ica [ACK] Seq=1 Ack=1 Win=57920 Len=0 TSV=588114048 TSER=0 0.008198 10.1.2.224 -> 10.1.2.252 TCP ica > 4606 [PSH, ACK] Seq=1 Ack=1 Win=64512 Len=6 TSV=58844105 TSER=588114048 The last packet has the 'ICA' string in ASCII among the 6 bytes sent by the server (10.1.2.224). 0 1 2 3 4 5 0040 bc 81 7f 7f 49 43 41 00 ....ICA. 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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From Kumar.Padiyath at psi.ch Thu Oct 21 08:21:06 2004 From: Kumar.Padiyath at psi.ch (Padiyath Sreekumaran) Date: Thu, 21 Oct 2004 08:21:06 +0200 Subject: checking port number and daemons Message-ID: Hello, I asked about checking port numbers as well as daemons. I have NOT given the port number and daemon in my previous mail. One of The License daemon in Mathematica mathlm (/License/Mathematica/Actual/mathlm -pwfile /License/Mathematica/Actual/mathpass) and another License is IDL with the port number(7500). There is also a daemon(lmgrd) for IDL.I would like to have informations sent to me via E-mail os SMS when one of the daemon is not running. It is happened that the server was running but the daemons were NOT running.When the users complained then I looked the status of the daemons. I want to avoid this with nagios if possible. Is there any scripts etc. available to do this? With regards, Kumar -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios at mm.quex.org Sent: Donnerstag, 21. Oktober 2004 07:18 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] checking port number and daemons On Wed, Oct 20, 2004 at 12:06:27PM -0700, Dan Stromberg wrote: > On Wed, 2004-10-20 at 01:56, Padiyath Sreekumaran wrote: >> Iam new to nagios . We have a license server where many SW licenses are >> running. The OS of the server is Linux. I want to know whether I can >> check the port number as well as the daemon of each installed licenses >> with nagios and how? Is there any scripts etc. available for this >> purpose? Is it possible to have these scripts? I will be very thankful >> for your help. If possible please send a copy of the mail in my following > > You could probably just do a check_tcp on any relevant ports, but > what'd be Really Sweet, is if we had a plugin that would not only see > if you can check out a license, but also generate a warning when the > license will expire in n days. That would almost certainly be possible, but since there's been no mention of what licences need to be checked or how the license server even works, it's impossible to give a solution. SSL Certificates can be checked using the check_http plugin, with a warning state being entered X days before it expires. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 08:49:23 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 21 Oct 2004 16:49:23 +1000 Subject: Citrix ICA q2: RFC program neigbourhood checking (Citrix Metaframe XP). In-Reply-To: <20041018031515.5AECF1D2D12@sc8-sf-uberspam1.sourceforge.net> References: <20041018031515.5AECF1D2D12@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041021064923.GE87731@IPAustralia.Gov.AU> Dear Folks, Is anyone checking or interested in checking Citrix Metaframe XP 'Program Neigbourhood' ? Foremerly, Metaframe clients would use a UDP based protocol (contrib/check_citrix) to locate ICA servers, but with Metaframe XP this has been replaced by the program neigbourhood. The program neigbourhood (PN) is the Citrix Metaframe XP method of providing software Load Balancing for ICA clients. PN clients exchange 1 ICA packets with one of the 'Server Farm' ICA servers to get a list of applications the client user is authorised to run. 2 HTTP packets with the Citrix XML service (on one of the 'farm' servers) to determine which of the ICA servers the client should use for an ICA session to run the selected application. Like all things Citrix, the protocols are opaque and undocumented, but the HTTP exchange can be reverse engineered. This means that while the ICA dialogue can't be simulated (or decoded), the HTTP dialogue can. Here's an example of a prototype plugin that checks the PN by interacting with the PN servers to get the ICA servers for a particular app. It returns CRITICAL if the PN server fails to supply one of the ICA server addresses given on the command line (if people have really big PN farms, the configuration of the plugin may have to be done by file). tsitc> /usr/local/nagios/libexec/check_program_neigbourhood -h Copyright (c) 2004 Karl DeBisschop/S Hopcroft Check the Citrix Metaframe XP service by completing an HTTP dialogue with a Program Neigbourhood server (pn_server) that returns an ICA server in the named Server farm hosting the named application (in simple terms, an ICA server in a farm which runs some MS app). check_program_neigbourhood [-P | --pn_server] The name or address of the Citrix Metaframe XP Program Neigbourhood server (required). check_program_neigbourhood The PN server is a Farm server that is running the Citrix XML service. check_program_neigbourhood [-A | --pub_app] The name of an application published by the server farm (default 'Word 2003'). check_program_neigbourhood [-F | --server_farm] The name of a Citrix Metaframe XP server farm. (required). check_program_neigbourhood [-S | --app_server] The _IP addresses_ of _all of the Farms ICA servers that are expected to host the published application. Enter -S svr1 -S svr2 ... check_program_neigbourhood Since the PN servers round-robin the app servers to the clients, __all__ the server farm addresses must be specified or check_program_neigbourhood the check will fail (required). check_program_neigbourhood [-d | --debug] check_program_neigbourhood [-h | --help] check_program_neigbourhood [-x | --xml_debug] check_program_neigbourhood [-V | --version] tsitc> /usr/local/nagios/libexec/check_program_neigbourhood -P cbrmet01 -S 10.1.2.224 -S 10.1.2.225 -d -F IPAFARM01 Seq: 0 POST http://cbrmet01/scripts/WPnBr.dll Content-Type: text/xml Seq: 1 HTTP/1.1 200 OK Date: Thu, 21 Oct 2004 06:35:04 GMT Server: Citrix Web PN Server Content-Length: 253 Content-Type: text/xml Client-Date: Thu, 21 Oct 2004 06:35:04 GMT Client-Peer: 10.1.2.224:80 Client-Response-Num: 1 .. yada yada ... Seq: 11 HTTP/1.1 200 OK Date: Thu, 21 Oct 2004 06:35:06 GMT Server: Citrix Web PN Server Content-Length: 511 Content-Type: text/xml Client-Date: Thu, 21 Oct 2004 06:35:06 GMT Client-Peer: 10.1.2.224:80 Client-Response-Num: 1 10.1.2.225:1494 win32 tcp ica30 10.1.2.225 Citrix XML service Ok: App server "10.1.2.225" hosting "Word 2003". If anyone would like to test this plugin, please write me privately. 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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From hsuijs at whitehorses.nl Thu Oct 21 09:51:05 2004 From: hsuijs at whitehorses.nl (Herman Suijs) Date: Thu, 21 Oct 2004 09:51:05 +0200 Subject: Host warning state? In-Reply-To: <4472.130.91.13.24.1098306421.squirrel@[130.91.13.24]> References: <4472.130.91.13.24.1098306421.squirrel@[130.91.13.24]> Message-ID: <200410210951.41776a690e4d7@webmail.whitehorses.nl> On Wed, 20 Oct 2004 17:07:01 -0400 (EDT), wrote: > I'm considering writing some sort of shell script to walk through my > services file, scooping up all the services, and then using the host > escalations I've already defined as a template to write out a gigantic > escalations.cfg, but there would be so much redundant information in there > even if I use massive templating, it seems like there has to be an easier > way. For dependencies there is a similar problem. I monitor a set of hosts and most of the services are checked with nagios-stat. This means that if on 1 host the nagios-statd is down, then a mail is send for every check that is based on nagios-stat. To prevent this from happening I wanted to define a dependency for every service on every host dependent of the nagios-stat version check. This creates 2 problems: 1. The problem you mention. I define all my services on hostgroups, which means 1 service-definition needs 1 to 5 dependency definitions. 2. I wrote a script to generate all the dependencies I wanted (about 250), but now it seems that some dependencies generate errors. Nagios thinks the service on the particular host does not exist, because it is defined on the hostgroup. If there is a better way to do the escalations (e.g. on hosts for all defined services, on hostgroups for all defined hosts, etc) then my problems are solved. Otherwise, you may want to see my scripts to help you. The second problem however seems to me like a bug. Somebody else encountered this problem ? FYI: I'm using Debian with Nagios 1.1 (testing with Nagios 1.2) and plugins 1.3.1.0-9. Thanx. Herman Suijs =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Whitehorses B.V. Dukatenburg 84a, Nieuwegein, +31 (0)30 - 600 4720 Malburgse Sluis 27, Arnhem, +31 (0)26 - 322 6900 Mobiel: +31 (0)6 52002531 Meer weten over nieuwe en interessante Oracle en Java ontwikkelingen? Wat ze voor u betekenen en wat u er aan heeft? Lees dan onze maandelijkse Whitebooks op www.whitehorses.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 mcunietti at enter.it Thu Oct 21 11:16:05 2004 From: mcunietti at enter.it (Mariano Cunietti) Date: Thu, 21 Oct 2004 11:16:05 +0200 Subject: Nagios and collector References: Message-ID: <00e701c4b74e$980ce310$2c821dd4@oemkkk00ha67te> Hi all, I'm migrating a monitoring system from Netsaint to Nagios, latest release. Each of the hosts in my network has snmpd, snmptrapd and the collector installed. Can anyone tell me in which way the collector affects Nagios' behaviour? Does it have to be installed for Nagios monitoring to work? Thanks in advance Mariano ----------------------------- Mariano Cunietti, LPI2 System Administrator Enter S.r.l. Via Stefanardo da Vimercate, 28 20128 - Milano - Italy Tel. +39 02 25514319 Fax +39 02 25514303 mcunietti at enter.it www.enter.it - www.enterpoint.it ----------------------------- Gruppo Y2K - www.gruppoy2k.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 niederha at us.ibm.com Thu Oct 21 12:55:24 2004 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Thu, 21 Oct 2004 04:55:24 -0600 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 10/21/2004 and will not return until 10/24/2004. Family mini-vacation to see fall in the Ozarks. Please have the Solution Center page the AIX on-call if you need help. -------------- next part -------------- An HTML attachment was scrubbed... URL: From squalidstuff at gmail.com Thu Oct 21 13:35:32 2004 From: squalidstuff at gmail.com (Pybe) Date: Thu, 21 Oct 2004 12:35:32 +0100 Subject: Send email from in nagios Message-ID: Is there a way to change the from & reply to the notifications come from? If from a terminal i do: mail -s 'subject' -r user at domain.com -R user at domain.com recipient at domain.com It works correctly, I have specified the -r & -R in /etc/nagois/command.cfg and misccommands.cfg and it shows correctly in the web interface commands section but the messages still come from daemon at host.domain.com. Hope someone can help. Pybe ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu Oct 21 14:59:54 2004 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 21 Oct 2004 08:59:54 -0400 Subject: check_snmp hard question Message-ID: Hi Andreas, nan, I changed the -L option to be sure there was an update :) --------------------------------------------------- Alexandre Racine Montr?al, Qu?bec, Canada >>> Andreas Ericsson 2004-10-20 15:50:39 >>> Serveur-Faucon Surveillance wrote: > Sorry about that, It seems that the spam solution for our offices is > not too friendly with sourceforge. So I removed this email from it :) > > > You wrote <<<<<<<<<<<<<<<<<< After some mails with Ted (thanks): > check_snmp -H XXX -C public -P 1 -o .1.3.6.1.2.1.2.2.1.8.1 -m ALL > Does result in (Nagios Webinterface): SNMP OK - up(1) That was what > you were asking for? >>>>>>>>>>>>>>>>>>>>> > > > Thats funny because I did tried that, in the Nagios Webinterface is > still without the "up". > That's because the status message will only be updated after the check has failed and then turned back to OK again. > What version of plugins are you using? Witch version of Nagios? > > I have Nagios 1.2 and ... check_snmp (nagios-plugins 1.3.99) 1.35 > -- 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 nagios at mm.quex.org Thu Oct 21 15:07:38 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 21 Oct 2004 21:07:38 +0800 Subject: Send email from in nagios In-Reply-To: References: Message-ID: <20041021130738.GA7451@quex.org> On Thu, Oct 21, 2004 at 12:35:32PM +0100, Pybe wrote: > Is there a way to change the from & reply to the notifications come > from? > > If from a terminal i do: > > mail -s 'subject' -r user at domain.com -R user at domain.com recipient at domain.com > > It works correctly, I have specified the -r & -R in > /etc/nagois/command.cfg and misccommands.cfg and it shows correctly in > the web interface commands section but the messages still come from > daemon at host.domain.com. Your mail system is probably configured to only allow certain (trusted) users to override the from/reply addresses. You should be able to add the user Nagios run as to the trusted list. Alternatively, you could find another command-line mail utility (or write your own) that sends via SMTP. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Thu Oct 21 15:09:18 2004 From: james.mohr at elaxy.com (Mohr James) Date: Thu, 21 Oct 2004 15:09:18 +0200 Subject: AW: Message storms, service statuses, intervals and so on Message-ID: <369E6D11A6CCA64BB73C1D1EFDB0D2C156DBB6@srv-cob-00-0014.elaxy.org> > -----Urspr?ngliche Nachricht----- > Von: Marc Powell [mailto:marc at ena.com] > Gesendet: Mittwoch, 20. Oktober 2004 23:01 > An: Mohr James; Nagios-users at lists.sourceforge.net > Betreff: RE: [Nagios-users] Message storms, service statuses, > intervals and so on > > [lots of stuff related to trying to overwhelm nagios removed] > > > We have a notification set up to create a trouble ticket in our help > desk > > tool. That mechanism works fine. > > > > There are a couple of things that have made me curious that I cannot > explain. > > To begin with, it is not the first event that creates the trouble > ticket. > > Once it a was at count 150 another time was count 351. > > So why isn't the first event triggering the trouble ticket? If I > understand > > it correctly, "max_check_attempts 1" says Nagios should react the > very first > > time. How come it then waits for the 351st event before reacting? I > could > > understand it if the notifcation is triggered and then notification > program > > reads the current state (including the current event with > the current > count). > > By the time the notification gets around to ready the state info the > count > > has increased. > > It should and does work for me unless there is something that > is unique to setting the max_check_attempts to 1 which I am > not aware of (I use 3). What does your host definition and > specifically the check_command look like (and it's > corresponding command definition)? Before sending a service > notification, nagios will execute the host check and if that > returns critical it will only send a host notification, not a > service notification. Are you changing the host status during > your testing? What does your nagios.log file look like around > the time that it should send the first service notification > (check result 1)? Does it try to send it? Are there any hints > or pointers there? Hmmmmm. For the host I am using the default check-host-alive command and I am not changing the status of the host, just the service. What I got in Nagios.log was this: [1098363547] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;sol-sys-02;http;2;HELLO WORLD. This is my message. 38 [1098363549] SERVICE NOTIFICATION: ovsd;sol-sys-02;http;CRITICAL;generate-incident;HELLO WORLD. This is my message. 1 This says it was on message number 38, but sent message 1 to the trouble ticket system. I tried it a couple of other times and still got message on being sent to the trouble ticket system. Hmmmmm. I **know** that it created a trouble ticket with a different number yesterday because I can look at the old tickets and see it. Hmmmm. Hmmmm. We have aggregate_status_updates=1, so that explains why it only shows intermittent values. I don't think we're going to change this, but now I know why. Thanks. Regards, Jim Mohr ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thomas.Zimmer at oppenheim.de Thu Oct 21 15:40:30 2004 From: Thomas.Zimmer at oppenheim.de (Thomas.Zimmer at oppenheim.de) Date: Thu, 21 Oct 2004 15:40:30 +0200 Subject: eventhandler arguments? Message-ID: <3B1F009121A0D411AD7B0010E37C5BEC0B14C082@of-mxs02.oppenheim.de> hi all! did anyone ever try to execute eventhandlers with arguments? the verification of the config-files fails if the eventhandler has parameter. below you can see my configuration of a nrpe-restart-eventhandler, i?d like to pass the hostname (that functions) and a free-defined name of the nrpe-configuration file (per host) i configured the service via nawui, so think it should be correct define service { host_name machine service_description NRPE_CLIENT check_command check_nrpe_cvs!check_procs!-w 0:1024 -c 0:1024 -C sched register 1 use generic-service ; The \\\'name\\\ <\\\'name\\\> ' of this service template max_check_attempts 1 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 check_period 24x7 passive_checks_enabled 1 parallelize_check 1 event_handler restart_nrpe!nrpe.cfg event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 notification_interval 0 notification_period 24x7 notification_options c notifications_enabled 1 contact_groups nagios } define command { command_name restart_nrpe command_line /opt/prod/nagios/nagios_test/eventhandler/start_nrpe $HOSTNAME$ $ARG1$ } verification-output is: ... Error: Event handler command 'restart_nrpe!nrpe.cfg' specified in service 'NRPE_CLIENT' for host 'oftvwd03' not defined anywhere ... it works without the argument "nrpe.cfg". greetz, thomas. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sakkas at unimedcy.com Thu Oct 21 16:46:21 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Thu, 21 Oct 2004 17:46:21 +0300 Subject: SMS alerts My how-to Message-ID: <4177CBBD.2040002@unimedcy.com> Hi all, This is my quick and dirty way od doing SMS alerts. I anybody ccan sugest improvments or a better way, let me know. ( I will point out a couple of what I consider problem spots). First the System : Dell Optiplex GX270 running Debian Testing Kernel 2.4.27. Siemens S55 phone conected via serial port (ttyS0), phone will change, as this is my personal mobile phone... I am using only oficial debs for this. Software : Nagios 1.2, gsm-utils, libgsmme1c102. From gsm-utils I use the gsmsendsms command to do the actuall SMS sending. Now the dirty work: (creation a notification method by using gsmsendsms as part of the actual notify command didn't work) So, 1. Create a script that can transfer file contents to gsmsendsms: Script name smsspool.sh placed in /usr/local/scripts/ although this is a personal choice. Actual Script below----------- #!/bin/bash PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/scripts for i in /var/spool/sms/sms* do num=`cut -d @ -f 2 $i` msg=`cut -d @ -f 1 $i` /usr/bin/gsmsendsms -b 9600 -d /dev/mobilephone $num "$msg" logger "SMS Message Send to: $num" rm -f $i done exit 0 Script end------------- As you can see this script uses a spool directory. This needs to be rw to nagios(or globally). Now, getting nagios to create a spooled sms: In misccommands.cfg (in /etc/nagios/ for my setup) I defined an new notification method,(two actually, service and host, but currently they are exactly the same) Here is the notificaton command--------- define command{ command_name notify-by-sms command_line /usr/bin/printf "%b" "$NOTIFICATIONTYPE$: $HOSTNAME$: $SERVICEDESC$ is $SERVICE STATE$ ($OUTPUT$)@$CONTACTPAGER$" > /var/spool/sms/sms`date +%d%m%Y%H%M%S%N` } End of notification command------ Now all that is left is getting smsspool.sh to scan that directory periodicaly, a perfect job for cron : * * * * * root /usr/local/scripts/smsspool.sh Now the setup is complete, and nagios can bother you in the middle of the nigh abou anything it feels like... So, this works, but I have a small problem which, to be frank is not very importand, but its being a busy day, so if somenoe can tell me what I missed, I'd be gratefull... Problem : As you can see I use the logger command, in my script, in order to get something miningfull in my syslog, in case I need to check on whats going on. Problem is that even when there are no files in the spool directory the for loop is entered, generating unnesesary log traffic: Oct 21 17:36:05 localhost logger: SMS Message Send to: If there is a simple solution, that would solve this while not getting the script too complex, I would like to know... I'm sure its something simple (a while loop? - cant figure out a _simple_ way to hand it a file list as a condition), but it's got me stuck for now. So, thanks in advance for any feedback, Kyriacos Sakkas ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjd at compudentsystems.com Thu Oct 21 17:14:54 2004 From: bjd at compudentsystems.com (Brian J. Dent) Date: Thu, 21 Oct 2004 08:14:54 -0700 Subject: Restarting a service Message-ID: I have a service being monitored that occasionally dies and needs to be restarted. I thought there was a way to connect an action to attempt a restart from NAGIOS? Brian J. Dent -------------- next part -------------- An HTML attachment was scrubbed... URL: From squalidstuff at gmail.com Thu Oct 21 17:30:51 2004 From: squalidstuff at gmail.com (Pybe) Date: Thu, 21 Oct 2004 16:30:51 +0100 Subject: Send email from in nagios In-Reply-To: <20041021130738.GA7451@quex.org> References: <20041021130738.GA7451@quex.org> Message-ID: On Thu, 21 Oct 2004 21:07:38 +0800, nagios at mm.quex.org wrote: > > Your mail system is probably configured to only allow certain (trusted) > users to override the from/reply addresses. You should be able to > add the user Nagios run as to the trusted list. Any ideas where that might be? > > Alternatively, you could find another command-line mail utility (or > write your own) that sends via SMTP. > Has anyone had any sucsess with another utility they would recommend? Thanks Pybe ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 17:40:33 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 21 Oct 2004 08:40:33 -0700 Subject: Restarting a service In-Reply-To: References: Message-ID: <20041021154033.GX31187@zippy.toger.us> On Thu, Oct 21, 2004 at 08:14:54AM -0700, Brian J. Dent wrote: > I have a service being monitored that occasionally dies and needs to be > restarted. I thought there was a way to connect an action to attempt a > restart from NAGIOS? Check out the section of the manual about "Event Handlers" -Jason Martin -- Why is "easy listening" so hard to listen to? 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 Thu Oct 21 17:36:28 2004 From: gmueller at netways.de (Gerd Müller) Date: Thu, 21 Oct 2004 17:36:28 +0200 (CEST) Subject: Restarting a service In-Reply-To: References: Message-ID: <20041021153628.52B5E4F40E8@desire.netways.de> Hi Brian please, read the manual before mailing to the list: http://nagios.sourceforge.net/docs/1_0/eventhandlers.htmlhttp://nagios.so urceforge.net/docs/1_0/eventhandlers.html - 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]=2299 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From squalidstuff at gmail.com Thu Oct 21 17:45:54 2004 From: squalidstuff at gmail.com (Pybe) Date: Thu, 21 Oct 2004 16:45:54 +0100 Subject: Send email from in nagios In-Reply-To: References: <20041021130738.GA7451@quex.org> Message-ID: On Thu, 21 Oct 2004 16:30:51 +0100, Pybe wrote: > > > > Your mail system is probably configured to only allow certain (trusted) > > users to override the from/reply addresses. You should be able to > > add the user Nagios run as to the trusted list. > > Any ideas where that might be? > found this in /etc/mail/trusted-users: # # Note: # # The OSTYPE(`suse-linux') already already uses # mdom, wwwrun, root, uucp, daemon, and mail # set with the variable confTRUSTED_USERS. # Does that mean that it should allow daemon to override the from and reply? Pybe ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ndelrio2000 at hotmail.com Thu Oct 21 17:46:29 2004 From: ndelrio2000 at hotmail.com (=?iso-8859-1?B?Tmljb2zhcyBkZWwgUu1v?=) Date: Thu, 21 Oct 2004 15:46:29 +0000 Subject: Remote check Message-ID: Hi all, I want to check disk, cpu, mem usage, etc with nagios on a remote server. I'm new with this. Can anyone help me doing this or tell me how can i do it. (Pardon form my english, I from argentina and i don speak really good). Thanks for your help A.C. Nicol?s del R?o _________________________________________________________________ MSN Amor: busca tu ? naranja http://latam.msn.com/amor/ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 18:04:08 2004 From: jhmartin at toger.us (Jason Martin) Date: Thu, 21 Oct 2004 09:04:08 -0700 Subject: web transaction monitoring? In-Reply-To: References: Message-ID: <20041021160407.GY31187@zippy.toger.us> On Thu, Oct 21, 2004 at 11:59:51AM -0400, Robert.Lattanzi at fitchratings.com wrote: > Thanks Jason. I was trying that, until I woke up and remembered that I'm > loggin into a .jsp page, not Apache w/Basic auth. Any ideas on how to do > that? You'll have to write a script to either call check_http multiple times or use one of the other web-testing tools mentioned on the list. -Jason Martin -- ...file not found. Should I fake it? (Y/N) 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 Stanley.G.Martin at mail.sprint.com Thu Oct 21 17:59:43 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Thu, 21 Oct 2004 10:59:43 -0500 Subject: Restarting a service Message-ID: <516DA7BE5D87C8469D89F150CA0B49110579E1C6@PDAWB02C.ad.sprint.com> I had to write custom event handlers to do this. I think NRPE can do this on the Windows server if you know how to configure it (which I don't). Stanley G. Martin System Administrator Sprint - EAS Business Intelligence 913.762.8667 913.221.8241 PCS Stanley.G.Martin at mail.sprint.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Brian J. Dent Sent: Thursday, October 21, 2004 10:15 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Restarting a service I have a service being monitored that occasionally dies and needs to be restarted. I thought there was a way to connect an action to attempt a restart from NAGIOS? Brian J. Dent -------------- next part -------------- An HTML attachment was scrubbed... URL: From anders.bolinder at wirelesscar.com Thu Oct 21 18:23:13 2004 From: anders.bolinder at wirelesscar.com (Anders Bolinder) Date: Thu, 21 Oct 2004 18:23:13 +0200 Subject: Restarting a service Message-ID: <49FBD0CE1079B04F814A66E2259E691EB20A0E@SESRV11.wirelesscar.com> I use Monit for this, and check its status with nagios. www.tildeslash.com/monit Local daemon, automatic restart, and a https web GUI if you want. The web GUI can produce text or XML status output, which I parse using wget in a simple check_monit plugin. But it should work quite OK with NRPE and monit command-line. /Anders -----Original Message----- From: Brian J. Dent [mailto:bjd at compudentsystems.com] Sent: den 21 oktober 2004 17:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Restarting a service I have a service being monitored that occasionally dies and needs to be restarted. I thought there was a way to connect an action to attempt a restart from NAGIOS? Brian J. Dent ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 21 18:27:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 21 Oct 2004 18:27:35 +0200 Subject: Restarting a service In-Reply-To: References: Message-ID: <4177E377.9000204@op5.se> Brian J. Dent wrote: > I have a service being monitored that occasionally dies and needs to be > restarted. I thought there was a way to connect an action to attempt a > restart from NAGIOS? > Look up eventhandlers. It needs to be enabled in nagios.cfg as well as per service, I think. You'll also need to configure the eventhandler command, obviously. -- 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 calipah at free.fr Thu Oct 21 18:57:47 2004 From: calipah at free.fr (Childo) Date: Thu, 21 Oct 2004 18:57:47 +0200 Subject: Remote check In-Reply-To: References: Message-ID: <4177EA8B.3060008@free.fr> Nicol?s del R?o wrote: > Hi all, I want to check disk, cpu, mem usage, etc with nagios on a > remote server. I'm new with this. Can anyone help me doing this or > tell me how can i do it. > (Pardon form my english, I from argentina and i don speak really good). > > Thanks for your help > A.C. Nicol?s del R?o > all you need to get nagios working can be found in the documentation ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.G.Martin at mail.sprint.com Thu Oct 21 19:07:27 2004 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CGEY Contractor for Sprint]) Date: Thu, 21 Oct 2004 12:07:27 -0500 Subject: Restarting a service Message-ID: <516DA7BE5D87C8469D89F150CA0B49110579E1C8@PDAWB02C.ad.sprint.com> Straight from their web site: monit is a utility for managing and monitoring, processes, files, directories and devices on a Unix system. I guess the original post didn't specify Windows or Unix. I assumed Windows but that may be incorrect. Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Anders Bolinder Sent: Thursday, October 21, 2004 11:23 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Restarting a service I use Monit for this, and check its status with nagios. www.tildeslash.com/monit Local daemon, automatic restart, and a https web GUI if you want. The web GUI can produce text or XML status output, which I parse using wget in a simple check_monit plugin. But it should work quite OK with NRPE and monit command-line. /Anders -----Original Message----- From: Brian J. Dent [mailto:bjd at compudentsystems.com] Sent: den 21 oktober 2004 17:15 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Restarting a service I have a service being monitored that occasionally dies and needs to be restarted. I thought there was a way to connect an action to attempt a restart from NAGIOS? Brian J. Dent ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jwilliams at courtesymortgage.com Thu Oct 21 19:44:41 2004 From: jwilliams at courtesymortgage.com (Jason Williams) Date: Thu, 21 Oct 2004 10:44:41 -0700 Subject: Services available for checking with Nagios Message-ID: <6.1.2.0.0.20041021103828.02452a80@corpmail.courtesymortgage.com> Hello everyone. I just started working with Nagios this week and am really impressed with what I have seen. Before I go on, I want to say that I have read the FAQ as well as most if not all the documentation. I just wanted to ask a few question here to help me continue building my nagios server. First, i'd like to start off with the available plugins. I have installed the .rpm for nagios (I am running this on a Fedora Core 2 test machine, with latest stable release of nagios). I have about a dozen servers here at work, all running a variety of services: -mysql -apache -imap -pop -smtp and a few others. My question is specifically related to the check_command portion of the service. I tried a few of the examples i found in the configs that came with nagios: ping, http for instance. But what im trying to do is find out how to setup the check_command for other services, such as mysql, pqsql etc. So my question is, where can I find out how to setup the check_command for specific services? Is there a file that has more information for each plugin? I haven't been able to find any readme for each plugin so I thought i'd start here. Also, one last thing. I have a couple servers that I wanted to check for multiple services. Does that mean if I want to monitor lets say apache and mysql on one box, I need to add it twice to the services.cfg file, one for each service? I appreciate the help. Love the product. Cheers, Jason ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From js at irishbroadband.ie Thu Oct 21 15:59:43 2004 From: js at irishbroadband.ie (John Senior) Date: Thu, 21 Oct 2004 14:59:43 +0100 Subject: Acknowledging alerts with SMS. Message-ID: <8FF1B96416403640A9EB105C269BAA740F5EF2@dubmsv01.irishbroadband.ie> Thanks very much nagios, that's what I needed. I am using smstools http://www.meinemullemaus.de/ with a Siemens TC35 to send and receive SMSs. With the details below it was straightforward to parse a receceived SMS and acknowledge problems. Basically I just send an SMS like this: "ack hostname here is some text." I have thrown together a script to parse this and search through the Nagios status.log for critical hosts/services that match the hostname and acknowledge them with the additional text and the username set to the caller ID if it's available. It's pretty rough and ready but works for me. All the best, John. -----Original Message----- From: nagios at mm.quex.org [mailto:nagios at mm.quex.org] Sent: 21 October 2004 06:44 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Acknowledging alerts with SMS. On Wed, Oct 20, 2004 at 02:14:00PM -0700, Jason Martin wrote: > On Wed, Oct 20, 2004 at 01:53:51PM -0700, John David wrote: >> anyone else out there know if an external command >> exists for acknowledging a problem? is this even the >> right direction? > There necessairily must be a external command for it as the > CGI's offer this functionality. It seems like it would be a > fairily simple matter to set up a procmail recipe to receive > emails and post the appropriate line into the external command > file. I haven't seen this done yet but it should be fairily > strightforward. You just need to add a line or two of text to Nagios' command pipe. The format is one of: [$timestamp] ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;$txt [$timestamp] ADD_SVC_COMMENT;$host;$service;1;$author;$txt to acknowledge service problems, or: [$timestamp] ACKNOWLEDGE_HOST_PROBLEM;$host;1;$txt [$timestamp] ADD_HOST_COMMENT;$host;1;$author;$txt Replace the variables as you'd expect. The '1' in the acknowledgement command determines whether or not to notify people of the ack; the '1' in the comment command is the "persistent" flag, so you can change that to 0 if you don't want the comment to persist between Nagios restarts. If you don't add the comment, then it won't appear in the web interface like it does if you use the CGI to acknowledge a problem. The timestamp is the number of seconds since the epoch. In Perl, you can get this using 'time'; from a shell, you could use date +%s Just write the lines to the Nagios command pipe, and Nagios will do your bidding. The only tricky part is getting the host & service name. The SMS service we use is actually an email-to-SMS gateway, and it's also an SMS-to-email gateway. Outgoing SMS are each sent with a different number, and replies to the SMS are sent back to us as emails to whatever address originally sent the email to the gateway. i.e. foo at our.com -> +6141xxxx at sms.gateway -> SMS to +6141xxxx then, SMS reply -> sms.gateway -> foo at our.com I have a simple table in a database with unique ID's for each of the host/service pairs that we've sent a message for (generated on the fly if needed). When the reply comes back, we just match the ID against the table to get the host + service to send to Nagios, which makes replying via SMS (or email) very easy. Even if you don't have the luxury of an SMS gateway that knows which message you're replying to, you could use the same idea to generate short unique ID's for messages, and then have the responder include the ID in their message. Depending on the type of phone (or other device) being used to respond, you could make the ID's easier to type by using numbers, the first alpha character for each number. If everyone has "predictive text", using a random dictionary word might be easiest. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 serge.bianda at appiancorp.com Thu Oct 21 20:14:06 2004 From: serge.bianda at appiancorp.com (Serge Bianda) Date: Thu, 21 Oct 2004 14:14:06 -0400 Subject: Disk monitoring Message-ID: Hello All: I noticed that using the check_local_disk command, nagios can not read any extended partition. I'm able to read any thing from /dev/sda1 to /dev/sda5, but anything above like /dev/sda7, 8, 9, I get a an error saying : "Unable to read output: " Anyone knows why? Serge -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Thu Oct 21 20:24:53 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Thu, 21 Oct 2004 13:24:53 -0500 (CDT) Subject: Services available for checking with Nagios In-Reply-To: <6.1.2.0.0.20041021103828.02452a80@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041021103828.02452a80@corpmail.courtesymortgage.com> Message-ID: On Thu, 21 Oct 2004, Jason Williams wrote: > I have about a dozen servers here at work, all running a variety of services: > > -mysql > -apache > -imap > -pop > -smtp > > and a few others. > > My question is specifically related to the check_command portion of the > service. I tried a few of the examples i found in the configs that came > with nagios: ping, http for instance. > > But what im trying to do is find out how to setup the check_command for > other services, such as mysql, pqsql etc. > So my question is, where can I find out how to setup the check_command for > specific services? Is there a file that has more information for each > plugin? I haven't been able to find any readme for each plugin so I thought > i'd start here. > > Also, one last thing. I have a couple servers that I wanted to check for > multiple services. Does that mean if I want to monitor lets say apache and > mysql on one box, I need to add it twice to the services.cfg file, one for > each service? You need to craft the check_command lines that are appropriate for the services you wish to check. Then, you need to make entires in checkcommands.cfg to reflect the full arguments for the new checks. Here's an example on how to check a remote disk by ssh. services.cfg: # DISK # arg1 warning percentage free # arg2 critical percentage free # service depends on SSH define service{ use se-service service_description DISK hostgroup_name se-nonlocal check_command check-remote-disk!20%!10% } checkcommands.cfg # # check-remote-disk define command{ command_name check-remote-disk command_line $USER1$/check_by_ssh -H $HOSTADDRESS$ -C "$USER1$/check_disk -w $ARG1$ -c $ARG2$ -m" } So, the the check_command in services.cfg looks for an entry in checkcommands.cfg named check-remote-disk. The $ARG1$ and $ARG2$ are passed as 20% and 10% which form the warning and critical disk percentages free. To come up with the syntax for the checks you named above, first locate the relevant plugin then invoke that plugin with --help to see what arguments it expects. As for your last question, yes you would need two entries in services.cfg, one for mysql and one for apache. Hope that helps. --------------------------------------------------------------------- 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 dt_player at yahoo.com Thu Oct 21 21:18:25 2004 From: dt_player at yahoo.com (John David) Date: Thu, 21 Oct 2004 12:18:25 -0700 (PDT) Subject: Acknowledging alerts with SMS. In-Reply-To: <20041021054414.GC1616@quex.org> References: <20041021054414.GC1616@quex.org> Message-ID: <20041021191825.45143.qmail@web13811.mail.yahoo.com> very cool and useful! i am able now to basically tail the contents of a file into nagios.cmd. it works. i can ACK service and host problems. so it's simple for my admins, i'm planning on allowing them to simply reply to the nagios sender along with the original text, then parse for the host and/or service and pipe it into nagios.cmd. just out of curiousity... if you've done this already can you share some of your code? what did you use to write your parser? john --- nagios at mm.quex.org wrote: > On Wed, Oct 20, 2004 at 02:14:00PM -0700, Jason > Martin wrote: > > On Wed, Oct 20, 2004 at 01:53:51PM -0700, John > David wrote: > >> anyone else out there know if an external command > >> exists for acknowledging a problem? is this even > the > >> right direction? > > There necessairily must be a external command for > it as the > > CGI's offer this functionality. It seems like it > would be a > > fairily simple matter to set up a procmail recipe > to receive > > emails and post the appropriate line into the > external command > > file. I haven't seen this done yet but it should > be fairily > > strightforward. > > You just need to add a line or two of text to > Nagios' command pipe. > The format is one of: > > [$timestamp] > ACKNOWLEDGE_SVC_PROBLEM;$host;$service;1;$txt > [$timestamp] > ADD_SVC_COMMENT;$host;$service;1;$author;$txt > > to acknowledge service problems, or: > > [$timestamp] ACKNOWLEDGE_HOST_PROBLEM;$host;1;$txt > [$timestamp] ADD_HOST_COMMENT;$host;1;$author;$txt > > Replace the variables as you'd expect. The '1' in > the acknowledgement > command determines whether or not to notify people > of the ack; the '1' > in the comment command is the "persistent" flag, so > you can change that > to 0 if you don't want the comment to persist > between Nagios restarts. > > If you don't add the comment, then it won't appear > in the web interface > like it does if you use the CGI to acknowledge a > problem. > > The timestamp is the number of seconds since the > epoch. In Perl, you > can get this using 'time'; from a shell, you could > use date +%s > > Just write the lines to the Nagios command pipe, and > Nagios will do > your bidding. The only tricky part is getting the > host & service > name. The SMS service we use is actually an > email-to-SMS gateway, > and it's also an SMS-to-email gateway. Outgoing SMS > are each sent > with a different number, and replies to the SMS are > sent back to > us as emails to whatever address originally sent the > email to the > gateway. > > i.e. foo at our.com -> +6141xxxx at sms.gateway -> SMS > to +6141xxxx > then, SMS reply -> sms.gateway -> foo at our.com > > I have a simple table in a database with unique ID's > for each of > the host/service pairs that we've sent a message for > (generated > on the fly if needed). When the reply comes back, > we just match > the ID against the table to get the host + service > to send to > Nagios, which makes replying via SMS (or email) very > easy. > > Even if you don't have the luxury of an SMS gateway > that knows > which message you're replying to, you could use the > same idea to > generate short unique ID's for messages, and then > have the responder > include the ID in their message. Depending on the > type of phone (or > other device) being used to respond, you could make > the ID's easier > to type by using numbers, the first alpha character > for each number. > If everyone has "predictive text", using a random > dictionary word > might be easiest. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide > on ITManagersJournal > Use IT products in your business? Tell us what you > think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! > Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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!? Declare Yourself - Register online to vote today! http://vote.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 s.shipway at auckland.ac.nz Thu Oct 21 22:18:57 2004 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 22 Oct 2004 09:18:57 +1300 Subject: Restarting a service In-Reply-To: References: Message-ID: <01fd01c4b7ab$3239dcc0$b004d882@itss.auckland.ac.nz> We currently do this very successfully using Event Handlers, and a simple NRPE agent script. It makes it a lot easier if the Nagios Service_Description is the Windows Service Name, then you can write a generic event handler and NRPE plugin (since Event Handler's dont take parameters, the only way to get the Wervice name to pass to the NRPE plugin is from the Service_Description. Alternatively, code a separate event handler for every service....) 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 Brian J. Dent Sent: Friday, 22 October 2004 4:15 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Restarting a service I have a service being monitored that occasionally dies and needs to be restarted. I thought there was a way to connect an action to attempt a restart from NAGIOS? Brian J. Dent -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Steve Shipway.vcf Type: text/x-vcard Size: 154 bytes Desc: not available URL: From Jan.Scholten at iconz.net Thu Oct 21 22:44:16 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Fri, 22 Oct 2004 09:44:16 +1300 Subject: Services available for checking with Nagios In-Reply-To: <6.1.2.0.0.20041021103828.02452a80@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041021103828.02452a80@corpmail.courtesymortgage.com> Message-ID: ./check_PLUGINNAME --help is the best and normally the only why to do that :-) AFAIK there is no Plugin-Readme, but every plugin in the packages (not sure about the ones in contrib) has a --help switch! Jan > Hello everyone. > > I just started working with Nagios this week and am really impressed > with what I have seen. Before I go on, I want to say that I have read > the FAQ as well as most if not all the documentation. I just wanted to > ask a few question here to help me continue building my nagios server. > > First, i'd like to start off with the available plugins. I have > installed the .rpm for nagios (I am running this on a Fedora Core 2 test > machine, with latest stable release of nagios). > > I have about a dozen servers here at work, all running a variety of > services: > > -mysql > -apache > -imap > -pop > -smtp > > and a few others. > > My question is specifically related to the check_command portion of the > service. I tried a few of the examples i found in the configs that came > with nagios: ping, http for instance. > > But what im trying to do is find out how to setup the check_command for > other services, such as mysql, pqsql etc. > So my question is, where can I find out how to setup the check_command > for specific services? Is there a file that has more information for > each plugin? I haven't been able to find any readme for each plugin so I > thought i'd start here. > > Also, one last thing. I have a couple servers that I wanted to check for > multiple services. Does that mean if I want to monitor lets say apache > and mysql on one box, I need to add it twice to the services.cfg file, > one for each service? > > I appreciate the help. Love the product. > > Cheers, > > Jason > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 ml at winfix.IT Thu Oct 21 23:05:41 2004 From: ml at winfix.IT (Jo) Date: Thu, 21 Oct 2004 23:05:41 +0200 Subject: Services available for checking with Nagios In-Reply-To: <6.1.2.0.0.20041021103828.02452a80@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041021103828.02452a80@corpmail.courtesymortgage.com> Message-ID: <417824A5.5070907@winfix.IT> Hi Jason, I also started only last week with Nagios. Been planning to do it for a lot longer, but I was always but off by the first few lines in the manual. The rest of the comments are in-line. Jason Williams wrote: > > My question is specifically related to the check_command portion of > the service. I tried a few of the examples i found in the configs that > came with nagios: ping, http for instance. > > But what im trying to do is find out how to setup the check_command > for other services, such as mysql, pqsql etc. > So my question is, where can I find out how to setup the check_command > for specific services? Is there a file that has more information for > each plugin? I haven't been able to find any readme for each plugin so > I thought i'd start here. > If you found the directory with the plugins, you can execute them at the command line with the -h parameter, then you can find out how to use them. > Also, one last thing. I have a couple servers that I wanted to check > for multiple services. Does that mean if I want to monitor lets say > apache and mysql on one box, I need to add it twice to the > services.cfg file, one for each service? Yes, the services.cfg file gets pretty crowded. Look at the way you can reuse stuff by making templates. Jo ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Oct 22 01:44:18 2004 From: jsandoval at achs.cl (Sandoval, Julio) Date: Thu, 21 Oct 2004 19:44:18 -0400 Subject: statusmap_background_image Message-ID: <706C33200E04994E9BB6EE3E21E4C15E6F630F@ACHS-E2K01.achs.cl> Hello Nagios list, I need to know how to set the following: ............................................................................... 'Statusmap CGI Background Image Format: statusmap_background_image= Example: statusmap_background_image=statusmapbg.gd2 This option allows you to specify an image to be used as a background in the statusmap CGI. It is assumed that the image resides in the HTML images path (i.e. /usr/local/nagios/share/images). This path is automatically determined by appending "/images" to the path specified by the physical_html_path directive. Note: The image file must be in GD2 format (preferably in uncompressed format)!' ............................................................................... I didn?t do that!, i have the images in /images into physical_path, but, no works!! there are any other form?, please.... Thank.. Julio Sandoval -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]En nombre de martinus.nel at scarceskills.com Enviado el: martes, 12 de octubre de 2004 3:50 Para: Nagios; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] syntax for hostextinfo Importancia: Alta 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 "Este mensaje y cualquier archivo adjunto es confidencial y est? destinado exclusivamente a la persona o entidad a qui?n ha sido dirigido. Si usted no es el receptor individualizado en el mismo, le solicitamos notificar de ello al remitente de manera inmediata, estando prohibido y sancionado por la ley cualquier almacenamiento, divulgaci?n, distribuci?n o copia de su contenido" N?HY?????X???'???u??L??v?-??z??L??j???.?v?R??N??v?-?)???????z?zYn?Z?*.????? ???????.??b?*'?g???N??g??h??'??'?q?^?)brKh~)???f????????v?-???z+fjv?z?#???jW(??.???????je5?"???z?&j)b? b??Z?*,????X???(?? ~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From Karl at multimap.com Fri Oct 22 12:36:42 2004 From: Karl at multimap.com (Karl Skidmore) Date: Fri, 22 Oct 2004 11:36:42 +0100 Subject: status.cgi - times out by 1 hour until I restart apache Message-ID: Thanks for the advice. I tried those changes, but unfortunately the symptoms remain. Another finding: It seems that even on subsequent refreshes of the same page https://myhost/nagios/cgi-bin/showlog.cgi the time shown changes by exactly 1 hour. I can confirm this is not a caching issue as the events in the content returned are being updated each time. I never had this with Netsaint. Any ideas? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tedman Eng Sent: 20 October 2004 06:40 To: 'nagios-users at lists.sourceforge.net' Cc: Karl Skidmore Subject: RE: [Nagios-users] status.cgi - times out by 1 hour until I restart apache Its possible that your nagios or apache accounts are running at system timezone and you're running in local timezone (though only within your user environment). The time displayed in the web interface is offset using your timezone setting (not sure if it's apache's or nagios' timezone). To set it systemwide, find the appropriate file (ie. /usr/share/zoneinfo/Europe/Zurich) and copy it over your system's timezone file (ie /etc/localtime). Also, check your UTC time (date -u) once more, and set the system's hardware clock (setclock) if needed. If the date changed dramatically, you may need to also restart the ntpd daemon if you use that. -----Original Message----- From: Karl Skidmore [mailto:Karl at multimap.com] Sent: Tuesday, October 19, 2004 2:45 PM To: Subject: [Nagios-users] status.cgi - times out by 1 hour until I restart apache Hi All, I've found that 'sometimes' times displayed by status.cgi / showlog.cgi / etc can be exactly 1 hour out. The status and log entry content is up to date, but the times reported are offset by 1 hour. If I restart apache the times shown are correct - only for a while though. The system clock is always valid (and regularly sync'd with an NTP server). I've not worked out what triggers this offset to take hold yet. Has anyone else seen this issue? My apache config is rather esoteric (fcgi, gzip, ssl, authenticated via an external app), but I don't think this has anything to do with it. Cheers... Karl Principal Software Architect Multimap.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 Karl at multimap.com Fri Oct 22 14:22:36 2004 From: Karl at multimap.com (Karl Skidmore) Date: Fri, 22 Oct 2004 13:22:36 +0100 Subject: web transaction monitoring? Message-ID: I think what you're looking for is "Class for generating Nagios service checks of Web transactions" - see here... http://cpan.uwinnipeg.ca/search?query=nagios&mode=dist -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert.Lattanzi at fitchratings.com Sent: 20 October 2004 16:37 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] web transaction monitoring? Hello All- I'm wondering if there is a plug-in that allows one to step through a series of web transactions, such as logging in to a protected page and then checking for a string (similar to check_httpd) on the resulting page. It doesn't look like Nagios can do this "natively"- please correct me if I'm wrong. Thanks, Robert Robert Lattanzi FitchRatings 212.908.0348 Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 boudbid at yahoo.fr Fri Oct 22 17:34:45 2004 From: boudbid at yahoo.fr (moulay ahmed boudbid) Date: Fri, 22 Oct 2004 17:34:45 +0200 (CEST) Subject: Virtual Machine Message-ID: <20041022153445.10704.qmail@web25702.mail.ukl.yahoo.com> Hi everybody, I want to know if there is someone who work with nagios to monitore a virtual machine Thanks --------------------------------- Cr?ez gratuitement votre Yahoo! Mail avec 100 Mo de stockage ! Cr?ez votre Yahoo! Mail Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s pour dialoguer instantan?ment avec vos amis.T?l?chargez GRATUITEMENT ici ! -------------- next part -------------- An HTML attachment was scrubbed... URL: From terrykop at yahoo.com Fri Oct 22 17:57:50 2004 From: terrykop at yahoo.com (Terrence Kop) Date: Fri, 22 Oct 2004 08:57:50 -0700 (PDT) Subject: nagios on Fedora2 - unable to replace statusmap icons Message-ID: <20041022155750.57091.qmail@web53307.mail.yahoo.com> I don't seem to be able to replace icons on the statusmap. I have altered the hostextinfo.cfg and placed the icons in /usr/local/nagios/share/images/logos. They have the same permissions as the other files. Is there anything else I have to do? I thought I saw something in the archive about this happening on Debian. Not quite sure, but is this a bug? _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.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 terrykop at yahoo.com Fri Oct 22 17:54:17 2004 From: terrykop at yahoo.com (Terrence Kop) Date: Fri, 22 Oct 2004 08:54:17 -0700 (PDT) Subject: Nagios on Fedora2 - 3D Status Map not working Message-ID: <20041022155417.61728.qmail@web53308.mail.yahoo.com> When I try the 3D status Map button/link I get a popup indicating the following. The file "statuswrl.cgi" is of type x-world/x-vrml, and Mozilla does not know how to handle this file type. Is there a Mozilla plugin and where can I get it. _______________________________ Do you Yahoo!? Declare Yourself - Register online to vote today! http://vote.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 jhmartin at toger.us Fri Oct 22 18:19:01 2004 From: jhmartin at toger.us (Jason Martin) Date: Fri, 22 Oct 2004 09:19:01 -0700 Subject: Virtual Machine In-Reply-To: <20041022153445.10704.qmail@web25702.mail.ukl.yahoo.com> References: <20041022153445.10704.qmail@web25702.mail.ukl.yahoo.com> Message-ID: <20041022161901.GZ31187@zippy.toger.us> On Fri, Oct 22, 2004 at 05:34:45PM +0200, moulay ahmed boudbid wrote: > I want to know if there is someone who work with nagios to monitore a virtual machine What do you mean by virtual machine? In most cases you can treat that machine just like any other. -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 ae at op5.se Fri Oct 22 18:34:43 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 Oct 2004 18:34:43 +0200 Subject: Virtual Machine In-Reply-To: <20041022153445.10704.qmail@web25702.mail.ukl.yahoo.com> References: <20041022153445.10704.qmail@web25702.mail.ukl.yahoo.com> Message-ID: <417936A3.50208@op5.se> moulay ahmed boudbid wrote: > Hi everybody, > I want to know if there is someone who work with nagios to monitore a virtual machine You can monitor the physical machine beneath it and any services the virtual machine is supposed to deliver. I suppose one of those services could be to run its own version of NRPE or NSClient, so I think the answer would be: No work is going on since you can already do most of it 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 ae at op5.se Fri Oct 22 18:50:30 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 Oct 2004 18:50:30 +0200 Subject: Nagios on Fedora2 - 3D Status Map not working In-Reply-To: <20041022155417.61728.qmail@web53308.mail.yahoo.com> References: <20041022155417.61728.qmail@web53308.mail.yahoo.com> Message-ID: <41793A56.4050701@op5.se> Terrence Kop wrote: > When I try the 3D status Map button/link I get a > popup indicating the following. > > The file "statuswrl.cgi" is of type x-world/x-vrml, > and Mozilla does not know how to handle this file > type. > > Is there a Mozilla plugin and where can I get it. > Try http://www.mozilla.org http://www.google.com in that order. One of them is bound to take you to the right place. -- 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 serge.bianda at appiancorp.com Fri Oct 22 18:58:38 2004 From: serge.bianda at appiancorp.com (Serge Bianda) Date: Fri, 22 Oct 2004 12:58:38 -0400 Subject: HP Printer Status Message-ID: Hello There: I'm missing the check_hpjd plugin, can anyone point me to a place where I can find it? Thanks Serge -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Fri Oct 22 19:18:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 Oct 2004 19:18:37 +0200 Subject: SMS alerts My how-to In-Reply-To: <4177CBBD.2040002@unimedcy.com> References: <4177CBBD.2040002@unimedcy.com> Message-ID: <417940ED.1000507@op5.se> [ original mail rearranged for logical reading ] Kyriacos Sakkas wrote: > Problem : As you can see I use the logger command, in my script, in > order to get something miningfull in my syslog, in case I need to check > on whats going on. Problem is that even when there are no files in the > spool directory the for loop is entered, generating unnesesary log traffic: > > Oct 21 17:36:05 localhost logger: SMS Message Send to: > > If there is a simple solution, that would solve this while not getting > the script too complex, I've made the necessary changes below. It's simple enough and it works. It will also safeguard against symlink attacks on the root user in case somebody feels like sending /etc/shadow (or any protected file) to /var/log/messages. As an extra bonus, I fixed it to ensure that any of the variables contain only variables from one line. This doesn't really protect from anything but the most stupid of attackers, but it can't really hurt either. On a sidenote, you shouldn't really set that directory world writable. An attacker can create a file there that makes you remove any file he wants if you do. > Actual Script below----------- > #!/bin/bash > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/scripts > > > for i in /var/spool/sms/sms* > do # fixed. Protects from symlink attacks. test -f "$i" || continue # get one line only num=`head -n 1 "$i" | cut -d @ -f 2` msg=`head -n 2 "$i" | cut -d @ -f 1` > /usr/bin/gsmsendsms -b 9600 -d /dev/mobilephone $num "$msg" > logger "SMS Message Send to: $num" # don't remove anything but exactly this file # (double quotes is a meager safeguard, but better than nothing). rm -f "$i" > done > > exit 0 > Script end------------- > > So, thanks in advance for any feedback, > You're welcome. > Kyriacos Sakkas > > -- 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 joost at informatiefabriek.nl Fri Oct 22 21:15:44 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Fri, 22 Oct 2004 21:15:44 +0200 Subject: problem with install NRPE rpm on redhat 7.3 Message-ID: Hi there, I have a problem installing NRPE on my Redhat Linux 7.3. system When I install nagios-nrpe-2.0-1.rh73.dag.i386.rpm: rpm -ivh nagios-nrpe-2.0-1.rh73.dag.i386.rpm Preparing... ########################################### [100%]<-- it works fine when I want to upgrade it to 2.0-3: rpm -Uvh nagios-nrpe-2.0-3.rh73.dag.i386.rpm nagios-plugins is needed by nagios-nrpe-2.0-3.rh73.dag <-- I get an error when I try to install nagios-plugins: rpm -ivh nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm error: failed dependencies: nagios is needed by nagios-plugins-nrpe-2.0-3.rh73.dag <-- I get an error It seems that I have to install Nagios also on my client, but I don't want to this. I got the rpm's from http://dag.wieers.com/packages/nagios-nrpe/ Anyone have an idea what's going wrong here? Any help would very appreciated regards, Joost Saanen de Informatiefabriek Kelperheide 27 6037 SZ Kelpen T. 0495 - 65 24 35 F. 0495- 65 22 19 M. 06 - 22 7890 44 http://www.informatiefabriek.nl -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmourati at cm.math.uiuc.edu Fri Oct 22 21:46:41 2004 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Fri, 22 Oct 2004 14:46:41 -0500 (CDT) Subject: problem with install NRPE rpm on redhat 7.3 In-Reply-To: References: Message-ID: On Fri, 22 Oct 2004 joost at informatiefabriek.nl wrote: > Hi there, > > I have a problem installing NRPE on my Redhat Linux 7.3. system > > When I install nagios-nrpe-2.0-1.rh73.dag.i386.rpm: > rpm -ivh nagios-nrpe-2.0-1.rh73.dag.i386.rpm > Preparing... ########################################### > [100%]<-- it works fine > > when I want to upgrade it to 2.0-3: > rpm -Uvh nagios-nrpe-2.0-3.rh73.dag.i386.rpm > nagios-plugins is needed by nagios-nrpe-2.0-3.rh73.dag <-- I get an error > > when I try to install nagios-plugins: > rpm -ivh nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm > error: failed dependencies: > nagios is needed by nagios-plugins-nrpe-2.0-3.rh73.dag <-- I get > an error > > It seems that I have to install Nagios also on my client, but I don't want > to this. > > I got the rpm's from http://dag.wieers.com/packages/nagios-nrpe/ > > Anyone have an idea what's going wrong here? Any help would very > appreciated > Welcome to dependency hell. To get yourself out, you need to either manually satisfy all the dependencies, as you attempted above, or install the rpms with the --nodeps arguments to ignore the dependencies. Doing the later may have some bad effects but it shouldn't for what you describe above. I also use the dag rpms but for ES3 and I know that nagios-plugins does not depend on nagios in that release. Could be a overzealous requires line in the RPM spec file, pull it down and take a look if you are interested. --------------------------------------------------------------------- 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 hmann at itgroundwork.com Fri Oct 22 22:18:29 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Fri, 22 Oct 2004 13:18:29 -0700 Subject: HP Printer Status In-Reply-To: References: Message-ID: It's in the "plugins" directory from the standard nagios-plugins* archive (tar.gz): [root at milano root]# cd src/nagios-plugins-1.3.1/ [root at milano nagios-plugins-1.3.1]# cd plugins [root at milano plugins]# ls *hp* check_hpjd check_hpjd.c check_hpjd.o [root at milano plugins]# ./check_hpjd --help check_hpjd (nagios-plugins 1.3.1) 1.8.2.2 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 Ethan Galstad/Karl DeBisschop This plugin tests the STATUS of an HP printer with a JetDirect card. Net-snmp must be installed on the computer running the plugin. Usage: check_hpjd -H host [-C community] check_hpjd --help check_hpjd --version Options: -H, --hostname=STRING or IPADDRESS Check server on the indicated host -C, --community=STRING The SNMP community name (default=public) -h, --help Print detailed help screen -V, --version Print version information 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 [root at milano plugins]# - Harper Harper Mann Groundwork Open Source Solutions 510-599-2075 (cell) _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Serge Bianda Sent: Friday, October 22, 2004 9:59 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HP Printer Status Hello There: I'm missing the check_hpjd plugin, can anyone point me to a place where I can find it? Thanks Serge -------------- next part -------------- An HTML attachment was scrubbed... URL: From hmann at itgroundwork.com Fri Oct 22 22:20:38 2004 From: hmann at itgroundwork.com (Harper Mann) Date: Fri, 22 Oct 2004 13:20:38 -0700 Subject: Virtual Machine In-Reply-To: <417936A3.50208@op5.se> References: <417936A3.50208@op5.se> Message-ID: The plugins, and nagios 1.2 and 2.0 run without problems from VMWare, on either the Windows or Linux host versions. Linux seems a little faster.... Virtual machines have become decent.... 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 Andreas Ericsson Sent: Friday, October 22, 2004 9:35 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Virtual Machine moulay ahmed boudbid wrote: > Hi everybody, > I want to know if there is someone who work with nagios to monitore a virtual machine You can monitor the physical machine beneath it and any services the virtual machine is supposed to deliver. I suppose one of those services could be to run its own version of NRPE or NSClient, so I think the answer would be: No work is going on since you can already do most of it 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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Lattanzi at fitchratings.com Fri Oct 22 22:18:17 2004 From: Robert.Lattanzi at fitchratings.com (Robert.Lattanzi at fitchratings.com) Date: Fri, 22 Oct 2004 16:18:17 -0400 Subject: problem with install NRPE rpm on redhat 7.3 Message-ID: Installing all RPMs dependent on each other simultaneously fixes this. In this case "rpm -ivh nagios-nrpe-2.0-3.rh73.dag.i386.rpm nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm" Robert Lattanzi FitchRatings 212.908.0348 |---------+----------------------------------------> | | Demetri Mouratis | | | | | | Sent by: | | | nagios-users-admin at lists.sour| | | ceforge.net | | | | | | | | | 10/22/2004 03:46 PM | | | | |---------+----------------------------------------> >-----------------------------------------------------------------------------------------------------------------------------| | | | To: joost at informatiefabriek.nl | | cc: nagios-users at lists.sourceforge.net | | Subject: Re: [Nagios-users] problem with install NRPE rpm on redhat 7.3 | >-----------------------------------------------------------------------------------------------------------------------------| On Fri, 22 Oct 2004 joost at informatiefabriek.nl wrote: > Hi there, > > I have a problem installing NRPE on my Redhat Linux 7.3. system > > When I install nagios-nrpe-2.0-1.rh73.dag.i386.rpm: > rpm -ivh nagios-nrpe-2.0-1.rh73.dag.i386.rpm > Preparing... ########################################### > [100%]<-- it works fine > > when I want to upgrade it to 2.0-3: > rpm -Uvh nagios-nrpe-2.0-3.rh73.dag.i386.rpm > nagios-plugins is needed by nagios-nrpe-2.0-3.rh73.dag <-- I get an error > > when I try to install nagios-plugins: > rpm -ivh nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm > error: failed dependencies: > nagios is needed by nagios-plugins-nrpe-2.0-3.rh73.dag <-- I get > an error > > It seems that I have to install Nagios also on my client, but I don't want > to this. > > I got the rpm's from http://dag.wieers.com/packages/nagios-nrpe/ > > Anyone have an idea what's going wrong here? Any help would very > appreciated > Welcome to dependency hell. To get yourself out, you need to either manually satisfy all the dependencies, as you attempted above, or install the rpms with the --nodeps arguments to ignore the dependencies. Doing the later may have some bad effects but it shouldn't for what you describe above. I also use the dag rpms but for ES3 and I know that nagios-plugins does not depend on nagios in that release. Could be a overzealous requires line in the RPM spec file, pull it down and take a look if you are interested. --------------------------------------------------------------------- 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 ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ Confidentiality Notice: The information in this e-mail and any attachment(s) is confidential and for the use of the addressee(s) only. If you have received this e-mail in error, please delete this e-mail. Unauthorized use, reliance, disclosure or copying of the contents of this e-mail, or any similar action, is prohibited. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 22 22:29:52 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 Oct 2004 22:29:52 +0200 Subject: HP Printer Status In-Reply-To: References: Message-ID: <41796DC0.8020907@op5.se> Serge Bianda wrote: > Hello There: > > I'm missing the check_hpjd plugin, can anyone point me to a place where > I can find it? > Try the contrib dir. -- 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 22 22:32:57 2004 From: ae at op5.se (Andreas Ericsson) Date: Fri, 22 Oct 2004 22:32:57 +0200 Subject: problem with install NRPE rpm on redhat 7.3 In-Reply-To: References: Message-ID: <41796E79.9060803@op5.se> joost at informatiefabriek.nl wrote: > Hi there, > > I have a problem installing NRPE on my Redhat Linux 7.3. system > > When I install nagios-nrpe-2.0-1.rh73.dag.i386.rpm: > rpm -ivh nagios-nrpe-2.0-1.rh73.dag.i386.rpm > Preparing... ########################################### > [100%]<-- it works fine > > when I want to upgrade it to 2.0-3: > rpm -Uvh nagios-nrpe-2.0-3.rh73.dag.i386.rpm > nagios-plugins is needed by nagios-nrpe-2.0-3.rh73.dag <-- I get an error > > when I try to install nagios-plugins: > rpm -ivh nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm > error: failed dependencies: > nagios is needed by nagios-plugins-nrpe-2.0-3.rh73.dag <-- I get > an error > > It seems that I have to install Nagios also on my client, but I don't want > to this. > There's probably some error in the RPM package file. You can override it with these commands rpm -Uvh nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm --nodeps rpm -Uvh nagios-nrpe-2.0-3.blahblah.rpm --nodeps > I got the rpm's from http://dag.wieers.com/packages/nagios-nrpe/ > > Anyone have an idea what's going wrong here? Any help would very > appreciated > > regards, > > Joost Saanen > > de Informatiefabriek > Kelperheide 27 > 6037 SZ Kelpen > > T. 0495 - 65 24 35 > F. 0495- 65 22 19 > M. 06 - 22 7890 44 > > http://www.informatiefabriek.nl -- 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 serge.bianda at appiancorp.com Wed Oct 20 20:29:36 2004 From: serge.bianda at appiancorp.com (Serge Bianda) Date: Wed, 20 Oct 2004 14:29:36 -0400 Subject: Solaris disk monitoring issue Message-ID: Jason, The service command is the same that I use for Linux (Redhat and SuSe), so I'm trying to figure out why is it generating an error message when it comes to Solaris. Here is what I have on the service for Redhat: # Service definition define service{ use generic-service ; Name of service template to use host_name linserver2 service_description / Free Space 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_local_disk!70%!60%!/dev/sda3 } Here is what I have on the service for Solaris: # Service definition define service{ use generic-service ; Name of service template to use host_name sunserver1 service_description / Free Space 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_local_disk!70%!60%!/dev/dsk/c1t0d0s0 } Serge -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Martin Sent: Wednesday, October 20, 2004 10:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Solaris disk monitoring issue On Wed, Oct 20, 2004 at 09:45:19AM -0400, Serge Bianda wrote: > Hello all: > Can someone tell me why I'm not able to check the disk status on a > Solaris box, but can do it on either redhat or SuSE machine? Below is a Can you post the service definition? It looks like you are attempting to monitor the hardware device instead of the mountpoint. -Jason Martin -- I'm a nobody, nobody is perfect, therefore I'm perfect. 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 icedtea at gamebox.net Sat Oct 23 05:06:08 2004 From: icedtea at gamebox.net (icedtea) Date: Sat, 23 Oct 2004 11:06:08 +0800 Subject: check_traffic help please Message-ID: <4179CAA0.1070605@gamebox.net> I would like to use the check_traffic plugin. but im not sure bout what the -i ( Interface number assigned by SNMP agent) meant. where can i get this interface number? Im really very new with this snmp thing and would really appreciate it if you could send me your sample config file for check_traffic plugin and snmp.conf config. thanks very much. icedtea ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 23 11:29:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 23 Oct 2004 11:29:10 +0200 Subject: check_traffic help please In-Reply-To: <4179CAA0.1070605@gamebox.net> References: <4179CAA0.1070605@gamebox.net> Message-ID: <417A2466.40803@op5.se> icedtea wrote: > I would like to use the check_traffic plugin. but im not sure bout what > the -i ( Interface number assigned by SNMP agent) meant. where can i get > this interface number? snmpwalk -v 1 -c .1.3.6.1.2.1.2.2.1.2 -Oqn This will print a bunch of strings looking something like this (taken from a Cisco 1605R); .1.3.6.1.2.1.2.2.1.2.1 Ethernet0 .1.3.6.1.2.1.2.2.1.2.2 Ethernet1 .1.3.6.1.2.1.2.2.1.2.3 Null0 .1.3.6.1.2.1.2.2.1.2.4 Loopback0 .1.3.6.1.2.1.2.2.1.2.5 Tunnel1 The first part is the OID. The second part is the interface description. The last section (the part after the last dot) of the OID is the interface index number. This is what you need to pass to check_traffic. Note that on some particularly evil devices, the interface index number can change after a reboot. If you get some really weird values, this might be the case 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 icedtea at gamebox.net Sat Oct 23 13:04:49 2004 From: icedtea at gamebox.net (icedtea) Date: Sat, 23 Oct 2004 19:04:49 +0800 Subject: check_traffic help please References: <4179CAA0.1070605@gamebox.net> <417A2466.40803@op5.se> Message-ID: <417A3AD1.8070808@gamebox.net> Andreas Ericsson wrote: > icedtea wrote: > >> I would like to use the check_traffic plugin. but im not sure bout >> what the -i ( Interface number assigned by SNMP agent) meant. where >> can i get this interface number? > > > snmpwalk -v 1 -c .1.3.6.1.2.1.2.2.1.2 -Oqn > This will print a bunch of strings looking something like this (taken > from a Cisco 1605R); > .1.3.6.1.2.1.2.2.1.2.1 Ethernet0 > .1.3.6.1.2.1.2.2.1.2.2 Ethernet1 > .1.3.6.1.2.1.2.2.1.2.3 Null0 > .1.3.6.1.2.1.2.2.1.2.4 Loopback0 > .1.3.6.1.2.1.2.2.1.2.5 Tunnel1 > > The first part is the OID. The second part is the interface description. > The last section (the part after the last dot) of the OID is the > interface index number. This is what you need to pass to check_traffic. > > Note that on some particularly evil devices, the interface index > number can change after a reboot. If you get some really weird values, > this might be the case for you. > ========== I get the following after I issued the command: [root at hostname libexec]# snmpwalk -v 1 -c public -H hostname .1.3.6.1.2.1.2.2.1.2 -Oqn Configuration directives understood: In snmpwalk.conf and snmpwalk.local.conf: includeRequested (1|yes|true|0|no|false) printStatistics (1|yes|true|0|no|false) dontCheckOrdering (1|yes|true|0|no|false) In snmp.conf and snmp.local.conf: doDebugging (1|0) debugTokens token[,token...] logTimestamp (1|yes|true|0|no|false) mibdirs [mib-dirs|+mib-dirs] mibs [mib-tokens|+mib-tokens] mibfile mibfile-to-read showMibErrors (1|yes|true|0|no|false) strictCommentTerm (1|yes|true|0|no|false) mibAllowUnderline (1|yes|true|0|no|false) mibWarningLevel integerValue mibReplaceWithLatest (1|yes|true|0|no|false) printNumericEnums (1|yes|true|0|no|false) printNumericOids (1|yes|true|0|no|false) escapeQuotes (1|yes|true|0|no|false) dontBreakdownOids (1|yes|true|0|no|false) quickPrinting (1|yes|true|0|no|false) numericTimeticks (1|yes|true|0|no|false) oidOutputFormat integerValue suffixPrinting integerValue extendedIndex (1|yes|true|0|no|false) printHexText (1|yes|true|0|no|false) printValueOnly (1|yes|true|0|no|false) dumpPacket (1|yes|true|0|no|false) reverseEncodeBER (1|yes|true|0|no|false) defaultPort integerValue defCommunity string noTokenWarnings (1|yes|true|0|no|false) noRangeCheck (1|yes|true|0|no|false) defSecurityModel string defSecurityName string defContext string defPassphrase string defAuthPassphrase string defPrivPassphrase string defVersion 1|2c|3 defAuthType MD5|SHA defPrivType DES (AES support not available) defSecurityLevel noAuthNoPriv|authNoPriv|authPriv In snmpapp.conf and snmpapp.local.conf: engineID string engineIDType num engineIDNic string where is the interface number here? 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 ae at op5.se Sat Oct 23 13:20:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Sat, 23 Oct 2004 13:20:14 +0200 Subject: check_traffic help please In-Reply-To: <417A3AD1.8070808@gamebox.net> References: <4179CAA0.1070605@gamebox.net> <417A2466.40803@op5.se> <417A3AD1.8070808@gamebox.net> Message-ID: <417A3E6E.3000908@op5.se> icedtea wrote: > Andreas Ericsson wrote: > >> icedtea wrote: >> >>> I would like to use the check_traffic plugin. but im not sure bout >>> what the -i ( Interface number assigned by SNMP agent) meant. where >>> can i get this interface number? >> >> >> >> snmpwalk -v 1 -c .1.3.6.1.2.1.2.2.1.2 -Oqn >> This will print a bunch of strings looking something like this (taken >> from a Cisco 1605R); >> .1.3.6.1.2.1.2.2.1.2.1 Ethernet0 >> .1.3.6.1.2.1.2.2.1.2.2 Ethernet1 >> .1.3.6.1.2.1.2.2.1.2.3 Null0 >> .1.3.6.1.2.1.2.2.1.2.4 Loopback0 >> .1.3.6.1.2.1.2.2.1.2.5 Tunnel1 >> >> The first part is the OID. The second part is the interface description. >> The last section (the part after the last dot) of the OID is the >> interface index number. This is what you need to pass to check_traffic. >> >> Note that on some particularly evil devices, the interface index >> number can change after a reboot. If you get some really weird values, >> this might be the case for you. >> > ========== > > I get the following after I issued the command: > > > [root at hostname libexec]# snmpwalk -v 1 -c public -H hostname > .1.3.6.1.2.1.2.2.1.2 -Oqn I never said to use the '-H' switch for the snmpwalk command. Pay attention and type the command exactly as I did, or I'll start ignoring you altogether. snmpwalk --help clearly tells you (at the very top of the output) that snmpwalk -H lists understood configuration directives, which is exactly what it listed. Omit the -H switch and things should work splendidly. > Configuration directives understood: > In snmpwalk.conf and snmpwalk.local.conf: > includeRequested (1|yes|true|0|no|false) > printStatistics (1|yes|true|0|no|false) > dontCheckOrdering (1|yes|true|0|no|false) > In snmp.conf and snmp.local.conf: > doDebugging (1|0) > debugTokens token[,token...] > logTimestamp (1|yes|true|0|no|false) > mibdirs [mib-dirs|+mib-dirs] > mibs [mib-tokens|+mib-tokens] > mibfile mibfile-to-read > showMibErrors (1|yes|true|0|no|false) > strictCommentTerm (1|yes|true|0|no|false) > mibAllowUnderline (1|yes|true|0|no|false) > mibWarningLevel integerValue > mibReplaceWithLatest (1|yes|true|0|no|false) > printNumericEnums (1|yes|true|0|no|false) > printNumericOids (1|yes|true|0|no|false) > escapeQuotes (1|yes|true|0|no|false) > dontBreakdownOids (1|yes|true|0|no|false) > quickPrinting (1|yes|true|0|no|false) > numericTimeticks (1|yes|true|0|no|false) > oidOutputFormat integerValue > suffixPrinting integerValue > extendedIndex (1|yes|true|0|no|false) > printHexText (1|yes|true|0|no|false) > printValueOnly (1|yes|true|0|no|false) > dumpPacket (1|yes|true|0|no|false) > reverseEncodeBER (1|yes|true|0|no|false) > defaultPort integerValue > defCommunity string > noTokenWarnings (1|yes|true|0|no|false) > noRangeCheck (1|yes|true|0|no|false) > defSecurityModel string > defSecurityName string > defContext string > defPassphrase string > defAuthPassphrase string > defPrivPassphrase string > defVersion 1|2c|3 > defAuthType MD5|SHA > defPrivType DES (AES support not available) > defSecurityLevel noAuthNoPriv|authNoPriv|authPriv > In snmpapp.conf and snmpapp.local.conf: > engineID string > engineIDType num > engineIDNic string > -- 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 joost at informatiefabriek.nl Sat Oct 23 16:17:35 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Sat, 23 Oct 2004 16:17:35 +0200 Subject: problem with install NRPE rpm on redhat 7.3 and 9.0 In-Reply-To: <41796E79.9060803@op5.se> References: <41796E79.9060803@op5.se> Message-ID: hmmm.. I've got the same problem with Redhat 9. I tried to install version 2.0.3 of NRPE on a Redhat 9 system installing the RPM of 2.0.1 works fine, but, when I want to update it with nagios-nrpe-2.0-3.rh90.dag: rpm -Uvh nagios-nrpe-2.0-3.rh90.dag or rpm -ivh nagios-nrpe-2.0-3.rh90.dag I get the same dependencies problems. Maybe I have to install first version 2.0.-2 but I can't find any RPM of the version Is there some site which got newer version of nrpe available? I used this one: http://dag.wieers.com/packages/nagios-nrpe/ regards, Joost Saanen Andreas Ericsson Sent by: nagios-users-admin at lists.sourceforge.net 22-10-2004 22:32 To nagios-users at lists.sourceforge.net cc Subject Re: [Nagios-users] problem with install NRPE rpm on redhat 7.3 joost at informatiefabriek.nl wrote: > Hi there, > > I have a problem installing NRPE on my Redhat Linux 7.3. system > > When I install nagios-nrpe-2.0-1.rh73.dag.i386.rpm: > rpm -ivh nagios-nrpe-2.0-1.rh73.dag.i386.rpm > Preparing... ########################################### > [100%]<-- it works fine > > when I want to upgrade it to 2.0-3: > rpm -Uvh nagios-nrpe-2.0-3.rh73.dag.i386.rpm > nagios-plugins is needed by nagios-nrpe-2.0-3.rh73.dag <-- I get an error > > when I try to install nagios-plugins: > rpm -ivh nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm > error: failed dependencies: > nagios is needed by nagios-plugins-nrpe-2.0-3.rh73.dag <-- I get > an error > > It seems that I have to install Nagios also on my client, but I don't want > to this. > There's probably some error in the RPM package file. You can override it with these commands rpm -Uvh nagios-plugins-nrpe-2.0-3.rh73.dag.i386.rpm --nodeps rpm -Uvh nagios-nrpe-2.0-3.blahblah.rpm --nodeps > I got the rpm's from http://dag.wieers.com/packages/nagios-nrpe/ > > Anyone have an idea what's going wrong here? Any help would very > appreciated > > regards, > > Joost Saanen > > de Informatiefabriek > Kelperheide 27 > 6037 SZ Kelpen > > T. 0495 - 65 24 35 > F. 0495- 65 22 19 > M. 06 - 22 7890 44 > > http://www.informatiefabriek.nl -- 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From atmosfear at users.sourceforge.net Sat Oct 23 18:18:56 2004 From: atmosfear at users.sourceforge.net (Felix Buenemann) Date: Sat, 23 Oct 2004 18:18:56 +0200 Subject: How to use host_groups in service definitions Message-ID: <200410231818.56322.atmosfear@users.sourceforge.net> Hello, I have tried to find information on $subject elsewhere, but to no avail. How can I use hostgroups inside service definitions? I am using Nagios 1.2 on a Debian/testing system. Currently I am specifying each host a service definition applies to on it's own, which gets awfully unreadable long lines and is ugly to maintain. How can I use my host_group definitions here instead, like eg. gateways,servers-sometown,printers I tried several syntaxes but nagios -v was always bitching on me if I used host_group names instead of plain hosts. -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bnunn at loyno.edu Sun Oct 24 04:33:11 2004 From: bnunn at loyno.edu (Bruce Nunn) Date: Sat, 23 Oct 2004 21:33:11 -0500 (CDT) Subject: Building Nagios 1.2 on FreeBSD 5.2.1 In-Reply-To: <20041024014408.495511D0EBC@sc8-sf-uberspam1.sourceforge.net> References: <20041024014408.495511D0EBC@sc8-sf-uberspam1.sourceforge.net> Message-ID: I found that using the FreeBSD ports collection to get Nagios 1.2 installed on FreeBSD 5.2.1 left me with a aspects which did not match the Nagios documentation. 1) User and $HOME was /usr/local/nagios, but cgis, nagios binary and base Nagios 1.2 stuff was installed in /usr/local/share/nagios. 2) Since CGIs were compiled with default prefix as per Nagios documentation, I had to create simbolic link /usr/local/nagios to /usr/local/share/nagios and put in "allow FollowSymLinks" in Apache directory entry to get .cgis to work. 3) Nagios plugins were installed in /usr/local/libexec/nagios rather than /usr/local/nagios/libexec. Hacking up nagios.cfg files made this work. 4) The ps command, which is compiled into the check_status plugin assumed the output of GNU "ps -ef" not "ps -ax" so I had to hack up the cgi.cfg file to look for some arbitrary root process. This was to I did not get the dang "Nagios does not appear to be running" message rather than the web page. It left me with incorrect status information on the "tactical overview" web page, though. Later on, I succeeded in building the base distrbution and plugins from scratch and all the problems were solved such that my installation now matched the Nagios 1.2 documentation. But I had to do a few things a bit different from the documented ./configure, make all, make install procedure. Below are the notes I made so I can build it again on my box. I did not use the FreeBSD ports collection to install mysql or the GD libraries. On my box, I had trouble with the GD libraries and MRTG with the ports collection in the past, so it's installed from source too. ------- The distro is built for linux and just seems to read the GNU .elf ld linker stuff. So 1) create an /etc/ld.so.conf with the library paths and copy it to /etc/ld-elf.so.conf 2) as root, run ldconfig 3) Unpack the nagios distro as per it's documentation and run this configure script. It worked on my netmon.loyno.edu box anyway. ./configure --with-mysql-xdata --with-mysql-status --with-mysql-comments \ --with-mysql-extinfo --with-mysql-retention --with-mysql-downtime \ --with-mysql-lib=Path_to_mysql_libraries \ --with-mysql-include=Path_to_mysql_include_files \ --with-gd-lib=Path_to_gd_libraries \ --with-gd-include=Path_to_gd_include_files 4) Make sure the configure script found the proper mysql libraries and gd libraries. 5) Hack up these files in the distro archive to put the paths to the mysql and gd header files. xdata/xdddb.c xdata/xsddb.c xdata/xcddb.c xdata/xrddb.c xdata/xeddb.c You need to find "mysql.h" and "errmsg.h" at the top of the files and put in the absolute path to these header files. 6) Hack up these files in the distro archive to put the paths to the gd header files. cgi/statusmap.c cgi/trends.c cgi/histogram.c You need to find "gd.h" and "gdfonts.h" at the top of the files and put in the absolute path to these header files. 7) do a "make all" as per the nagios documentation. Nagios Plugin Notes Again, even though the configure script gets the arguments you pass it, some paths do not get passed on to the makefile. 1) For the check_mysql plugin, configure with this command. ./configure --with-mysql=Path_to_mysql_installation 2) Change to the distro archive plugins directory and hack up check_mysql.c. Put in the absolute path to "mysql.h" and "errmsg.h". 3) do a "make all" as per the nagios documentation. -- Bruce Nunn Loyola 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 nagios at mm.quex.org Sun Oct 24 06:36:21 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Sun, 24 Oct 2004 12:36:21 +0800 Subject: How to use host_groups in service definitions In-Reply-To: <200410231818.56322.atmosfear@users.sourceforge.net> References: <200410231818.56322.atmosfear@users.sourceforge.net> Message-ID: <20041024043621.GA24254@quex.org> On Sat, Oct 23, 2004 at 06:18:56PM +0200, Felix Buenemann wrote: > > I have tried to find information on $subject elsewhere, but to no > avail. > > How can I use hostgroups inside service definitions? I am using Nagios > 1.2 on a Debian/testing system. Currently I am specifying each host a > service definition applies to on it's own, which gets awfully > unreadable long lines and is ugly to maintain. > > How can I use my host_group definitions here instead, like eg. > gateways,servers-sometown,printers I tried several syntaxes but nagios > -v was always bitching on me if I used host_group names instead of > plain hosts. define service { ... hostgroup_name gateways,servers-sometown,printers ... } ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Oct 24 12:25:48 2004 From: gmueller at netways.de (Gerd Mueller) Date: Sun, 24 Oct 2004 12:25:48 +0200 Subject: check_traffic help please In-Reply-To: <417A3AD1.8070808@gamebox.net> References: <4179CAA0.1070605@gamebox.net> <417A2466.40803@op5.se> <417A3AD1.8070808@gamebox.net> Message-ID: <1098613548.4064.3.camel@localhost> Hi icetea, I wrote a small little script: http://www.nagiosexchange.org/SNMP_if_Traffic.1898.0.html Maybe it fits better to your needs. Gerd Am Sa, den 23.10.2004 schrieb icedtea um 13:04: > Andreas Ericsson wrote: > > > icedtea wrote: > > > >> I would like to use the check_traffic plugin. but im not sure bout > >> what the -i ( Interface number assigned by SNMP agent) meant. where > >> can i get this interface number? > > > > > > snmpwalk -v 1 -c .1.3.6.1.2.1.2.2.1.2 -Oqn > > This will print a bunch of strings looking something like this (taken > > from a Cisco 1605R); > > .1.3.6.1.2.1.2.2.1.2.1 Ethernet0 > > .1.3.6.1.2.1.2.2.1.2.2 Ethernet1 > > .1.3.6.1.2.1.2.2.1.2.3 Null0 > > .1.3.6.1.2.1.2.2.1.2.4 Loopback0 > > .1.3.6.1.2.1.2.2.1.2.5 Tunnel1 > > > > The first part is the OID. The second part is the interface description. > > The last section (the part after the last dot) of the OID is the > > interface index number. This is what you need to pass to check_traffic. > > > > Note that on some particularly evil devices, the interface index > > number can change after a reboot. If you get some really weird values, > > this might be the case for you. > > > ========== > > I get the following after I issued the command: > > > [root at hostname libexec]# snmpwalk -v 1 -c public -H hostname > .1.3.6.1.2.1.2.2.1.2 -Oqn > Configuration directives understood: > In snmpwalk.conf and snmpwalk.local.conf: > includeRequested (1|yes|true|0|no|false) > printStatistics (1|yes|true|0|no|false) > dontCheckOrdering (1|yes|true|0|no|false) > In snmp.conf and snmp.local.conf: > doDebugging (1|0) > debugTokens token[,token...] > logTimestamp (1|yes|true|0|no|false) > mibdirs [mib-dirs|+mib-dirs] > mibs [mib-tokens|+mib-tokens] > mibfile mibfile-to-read > showMibErrors (1|yes|true|0|no|false) > strictCommentTerm (1|yes|true|0|no|false) > mibAllowUnderline (1|yes|true|0|no|false) > mibWarningLevel integerValue > mibReplaceWithLatest (1|yes|true|0|no|false) > printNumericEnums (1|yes|true|0|no|false) > printNumericOids (1|yes|true|0|no|false) > escapeQuotes (1|yes|true|0|no|false) > dontBreakdownOids (1|yes|true|0|no|false) > quickPrinting (1|yes|true|0|no|false) > numericTimeticks (1|yes|true|0|no|false) > oidOutputFormat integerValue > suffixPrinting integerValue > extendedIndex (1|yes|true|0|no|false) > printHexText (1|yes|true|0|no|false) > printValueOnly (1|yes|true|0|no|false) > dumpPacket (1|yes|true|0|no|false) > reverseEncodeBER (1|yes|true|0|no|false) > defaultPort integerValue > defCommunity string > noTokenWarnings (1|yes|true|0|no|false) > noRangeCheck (1|yes|true|0|no|false) > defSecurityModel string > defSecurityName string > defContext string > defPassphrase string > defAuthPassphrase string > defPrivPassphrase string > defVersion 1|2c|3 > defAuthType MD5|SHA > defPrivType DES (AES support not available) > defSecurityLevel noAuthNoPriv|authNoPriv|authPriv > In snmpapp.conf and snmpapp.local.conf: > engineID string > engineIDType num > engineIDNic string > > > where is the interface number here? > > 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 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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Oct 24 15:01:49 2004 From: andreschmidt76 at arcor.de (Andre Schmidt) Date: Sun, 24 Oct 2004 15:01:49 +0200 Subject: How to use host_groups in service definitions In-Reply-To: <200410231818.56322.atmosfear@users.sourceforge.net> References: <200410231818.56322.atmosfear@users.sourceforge.net> Message-ID: <200410241501.49523.andreschmidt76@arcor.de> http://nagios.sourceforge.net/docs/1_0/templatetricks.html -andre On Saturday 23 October 2004 18:18, Felix Buenemann wrote: > Hello, > > I have tried to find information on $subject elsewhere, but to no avail. > > How can I use hostgroups inside service definitions? I am using Nagios 1.2 on > a Debian/testing system. Currently I am specifying each host a service > definition applies to on it's own, which gets awfully unreadable long lines > and is ugly to maintain. > > How can I use my host_group definitions here instead, like eg. > gateways,servers-sometown,printers > I tried several syntaxes but nagios -v was always bitching on me if I used > host_group names instead of plain hosts. > > -- > Best Regards, > Atmos > ____________________________________________ > - MPlayer Developer - http://mplayerhq.hu/ - > ____________________________________________ > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 curlybraces at dialogsl.net Mon Oct 25 03:18:12 2004 From: curlybraces at dialogsl.net (Curlys) Date: Mon, 25 Oct 2004 07:18:12 +0600 Subject: No lock file found in /var/run/nagios.pid Message-ID: <00d801c4ba30$7ed807a0$0d1ea8c0@hazard1974> hi , My OS is Fedora Core 2. I installed nagios-1.2-1 from certain rpms with all other packages. after did some changes in nagios.cfg and cgi.cfg files , i tried to start the nagios service. But it is giving ............ Starting network monitor: nagios No lock file found in /var/run/nagios.pid ....................... message. My installed GD version is gd-2.0.21-3. So, can somebody help me to solve this prob plz ???? Thanx' curlys -------------- next part -------------- An HTML attachment was scrubbed... URL: From nsahnoun at refco.fr Mon Oct 25 07:48:01 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Mon, 25 Oct 2004 07:48:01 +0200 Subject: No lock file found in /var/run/nagios.pid Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C6FBDE4@SRPAREXCHG2> Hi, touch /var/run/nagios.pid chown nagios.nagios /var/run/nagios.pid and before start nagios ! check config by running : from /nagios_directory/bin/ nagios -v ../etc/nagios.cfg NS -----Message d'origine----- De : Curlys [mailto:curlybraces at dialogsl.net] Envoy? : lundi 25 octobre 2004 03:18 ? : Nagios Objet : [Nagios-users] No lock file found in /var/run/nagios.pid hi , My OS is Fedora Core 2. I installed nagios-1.2-1 from certain rpms with all other packages. after did some changes in nagios.cfg and cgi.cfg files , i tried to start the nagios service. But it is giving ............ Starting network monitor: nagios No lock file found in /var/run/nagios.pid ....................... message. My installed GD version is gd-2.0.21-3. So, can somebody help me to solve this prob plz ???? Thanx' curlys -------------- next part -------------- An HTML attachment was scrubbed... URL: From morris+nagios at email.unc.edu Mon Oct 25 08:13:46 2004 From: morris+nagios at email.unc.edu (Joe Morris) Date: Mon, 25 Oct 2004 02:13:46 -0400 Subject: Monitoring clusters under v1.1? Message-ID: Still using Nagios version 1.1 (02 June 2003) and want to enhance our monitoring with the cluster functions. However, it appears they were not a part of our build. Do I need to upgrade, or can I just use the standard plugins available now? -- Joe Morris, Web Systems Manager ITS Communications University of North Carolina at Chapel Hill ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From curlybraces at dialogsl.net Mon Oct 25 08:30:25 2004 From: curlybraces at dialogsl.net (Curlys) Date: Mon, 25 Oct 2004 12:30:25 +0600 Subject: No lock file found in /var/run/nagios.pid References: <5F0A27BFF6A3D811A8200002A547CD3C6FBDE4@SRPAREXCHG2> Message-ID: <032a01c4ba5c$1d0c27f0$0d1ea8c0@hazard1974> No it is says , " NAGIOS CRITICAL - could not find proc file: /proc/1766600033 " , when i tried to start the nagios. but i couldn't do the " nagios -v ../etc/nagios.cfg " process .................. Where can be the error ? curlys ----- Original Message ----- From: SAHNOUN, Nadir To: 'Curlys' ; Nagios-List (E-mail) Sent: Monday, October 25, 2004 11:48 AM Subject: RE: [Nagios-users] No lock file found in /var/run/nagios.pid Hi, touch /var/run/nagios.pid chown nagios.nagios /var/run/nagios.pid and before start nagios ! check config by running : from /nagios_directory/bin/ nagios -v ../etc/nagios.cfg NS -----Message d'origine----- De : Curlys [mailto:curlybraces at dialogsl.net] Envoy? : lundi 25 octobre 2004 03:18 ? : Nagios Objet : [Nagios-users] No lock file found in /var/run/nagios.pid hi , My OS is Fedora Core 2. I installed nagios-1.2-1 from certain rpms with all other packages. after did some changes in nagios.cfg and cgi.cfg files , i tried to start the nagios service. But it is giving ............ Starting network monitor: nagios No lock file found in /var/run/nagios.pid ....................... message. My installed GD version is gd-2.0.21-3. So, can somebody help me to solve this prob plz ???? Thanx' curlys -------------- next part -------------- An HTML attachment was scrubbed... URL: From nsahnoun at refco.fr Mon Oct 25 08:39:53 2004 From: nsahnoun at refco.fr (SAHNOUN, Nadir) Date: Mon, 25 Oct 2004 08:39:53 +0200 Subject: No lock file found in /var/run/nagios.pid Message-ID: <5F0A27BFF6A3D811A8200002A547CD3C6FBDE7@SRPAREXCHG2> please confirme that nagios.cfg is located in directory /etc/nagios/ you need run : /where_is_your_nagios_install/bin/nagios -v /where_is_your_nagios_install/etc/nagios.cfg the -v option allow you to check configurations file ! The best is to install nagios on directory : /usr/local/nagios on this directory, you need find : bin (nagios process, used so start nagios and check nagios configuration files) etc (config file of nagios) libexec (plugins file wich will be executed) sbin (cgi file for web interface) share (html file for web interface) var (log file and nagios.lock file) very often, bad configuration files cause problem of nagios.lock file. nagios.lock store PID (process ID) of nagios process NS -----Message d'origine----- De : Curlys [mailto:curlybraces at dialogsl.net] Envoy? : lundi 25 octobre 2004 08:15 ? : SAHNOUN, Nadir Objet : Re: [Nagios-users] No lock file found in /var/run/nagios.pid First part done, but according to ur instructions i unable to find out "/nagios_directory/bin/".----- binaries installed location to run "nagios -v ../etc/nagios.cfg" command. i used to run this command with "/usr/sbin/nagios" path. unsuccesss !!!!! Could u help me further ..............plz, Nagios directories which r found in the pc as follows,,,,,,,,,,,,,,,,, /var/lock/subsys/nagios /var/log/nagios /var/spool/nagios /usr/sbin/nagios /usr/include/nagios /usr/share/nagios /usr/lib/nagios /etc/nagios /etc/rc.d/init.d/nagios Thanx curlys ----- Original Message ----- From: SAHNOUN, Nadir To: 'Curlys' ; Nagios-List (E-mail) Sent: Monday, October 25, 2004 11:48 AM Subject: RE: [Nagios-users] No lock file found in /var/run/nagios.pid Hi, touch /var/run/nagios.pid chown nagios.nagios /var/run/nagios.pid and before start nagios ! check config by running : from /nagios_directory/bin/ nagios -v ../etc/nagios.cfg NS -----Message d'origine----- De : Curlys [mailto:curlybraces at dialogsl.net] Envoy? : lundi 25 octobre 2004 03:18 ? : Nagios Objet : [Nagios-users] No lock file found in /var/run/nagios.pid hi , My OS is Fedora Core 2. I installed nagios-1.2-1 from certain rpms with all other packages. after did some changes in nagios.cfg and cgi.cfg files , i tried to start the nagios service. But it is giving ............ Starting network monitor: nagios No lock file found in /var/run/nagios.pid ....................... message. My installed GD version is gd-2.0.21-3. So, can somebody help me to solve this prob plz ???? Thanx' curlys -------------- next part -------------- An HTML attachment was scrubbed... URL: From atmosfear at users.sourceforge.net Mon Oct 25 06:29:34 2004 From: atmosfear at users.sourceforge.net (Felix Buenemann) Date: Mon, 25 Oct 2004 06:29:34 +0200 Subject: How to use host_groups in service definitions In-Reply-To: <200410241501.49523.andreschmidt76@arcor.de> References: <200410231818.56322.atmosfear@users.sourceforge.net> <200410241501.49523.andreschmidt76@arcor.de> Message-ID: <200410250629.34900.atmosfear@users.sourceforge.net> Thanks andre, I missed that page when flipping the docs. Now reading =) On Sunday 24 October 2004 15:01, Andre Schmidt wrote: > http://nagios.sourceforge.net/docs/1_0/templatetricks.html > > -andre > > On Saturday 23 October 2004 18:18, Felix Buenemann wrote: > > I have tried to find information on $subject elsewhere, but to no avail. [snip] -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samogonka at gmx.net Mon Oct 25 10:38:08 2004 From: samogonka at gmx.net (Alexander Schaefer) Date: Mon, 25 Oct 2004 10:38:08 +0200 Subject: RRD addon for Nagios References: <200410191033.39274.misch@multinet.de> Message-ID: <005601c4ba6d$f4912110$c70a280a@ges.local> Hello, after checking some tools (i can tell you very long and very dramatical story about trying it with NAGmin WebPortal features... but it is not realy helpfull: NAGmin is in very beta-state and it's developer hasn't realy time for this project ;O)) i am successfully using NAGIOSTAT: OK, configuration of NAGIOSTAT is a little bit difficult, but good documenteted. In my configuration i create a graphs about * bandwith utilisation on some interfaces of WAN-Routers * PING RTA values for some hosts The graphs look very nice. If you need another Nagios Service-Values to graph, then you can do it adjusting the configuration file of NAGIOSTAT. Good luck Alex ----- Original Message ----- From: "Michael Schwartzkopff" To: Sent: Tuesday, October 19, 2004 10:33 AM Subject: [Nagios-users] RRD addon for Nagios -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I am looking for a graphics / RRD addon tool for Nagios. On the download site of Nagios I found at least 4: - - APAN - - nagiosgraph - - nagiostat - - SAT Please could you send me comments about software matureness, usability and long term perspectives of these addons. Thanks you for your help. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBdNFhqndXpO3Yl5sRAoYfAKCcNzaqr/w2lsYstFOsk5eVRBfecQCcDx3p cmB/bknr+KBJBXnfM81rVw4= =QBxg -----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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 25 10:50:39 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Mon, 25 Oct 2004 10:50:39 +0200 Subject: Checking windows version Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E5941BC@SYGOMAIL.GOE.AD.SYCOR.DE> Hi list, I wonder if anyone got a plugin to check information about the installed windows version on a target host (Win 2000 Server, Win 2003 Server, State of Hotfixes etc.) Best practice would be if you could do it without any extra client but nsclient installed on the target system... 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 martinus.nel at scarceskills.com Mon Oct 25 11:15:50 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Mon, 25 Oct 2004 10:15:50 +0100 Subject: RRD addon for Nagios Message-ID: <1c76477a666b2ab3040a7efcb6c2580e@vega.scarceskills.com> Alexander, Would you be so kind as to share your ValueRegexTemplate templates ? :-) I have just started using nagiostat, but my regexp knowledge is limited, and I am having trouble with that part. Some things that I am looking for is getting negative values - NTP offset - and getting all 3 values from load - 5, 10, 15 min. If you want to be really kind, could you also share your RRDCreateTemplate, so that I can have a better understanding of how people build the graphs. >From there I can build the PlotTemplate my self. It would be nice - for other beginners like me - if the default .conf included all the standard nagios checks. Once I get to the point where my graphs is working correctly, I will submit all my configuration to the nagiostat developer for future inclusion. TIA Martinus. Alexander Schaefer wrote: >Hello, > >after checking some tools (i can tell you very long and very dramatical >story >about trying it with NAGmin WebPortal features... but it is not realy >helpfull: >NAGmin is in very beta-state and it's developer hasn't realy time for this > >project ;O)) i am successfully using NAGIOSTAT: > >OK, configuration of NAGIOSTAT is a little bit difficult, but good >documenteted. In my configuration i create a graphs about >* bandwith utilisation on some interfaces of WAN-Routers >* PING RTA values for some hosts > >The graphs look very nice. If you need another Nagios Service-Values to >graph, >then you can do it adjusting the configuration file of NAGIOSTAT. > >Good luck >Alex > > > >----- Original Message ----- >From: "Michael Schwartzkopff" >To: >Sent: Tuesday, October 19, 2004 10:33 AM >Subject: [Nagios-users] RRD addon for Nagios > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, > >I am looking for a graphics / RRD addon tool for Nagios. On the download >site >of Nagios I found at least 4: > >- - APAN >- - nagiosgraph >- - nagiostat >- - SAT > >Please could you send me comments about software matureness, usability and >long term perspectives of these addons. Thanks you for your help. > >- -- >Dr. Michael Schwartzkopff >MultiNET Services GmbH >Bretonischer Ring 7 >85630 Grasbrunn > >Tel: (+49 89) 456 911 - 0 >Fax: (+49 89) 456 911 - 21 >mob: (+49 174) 343 28 75 > >PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (GNU/Linux) > >iD8DBQFBdNFhqndXpO3Yl5sRAoYfAKCcNzaqr/w2lsYstFOsk5eVRBfecQCcDx3p >cmB/bknr+KBJBXnfM81rVw4= >=QBxg >-----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 > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 martin.kohlwes at gmx.de Mon Oct 25 11:18:19 2004 From: martin.kohlwes at gmx.de (Martin Kohlwes) Date: Mon, 25 Oct 2004 11:18:19 +0200 Subject: Acknowledging alerts with SMS Message-ID: <417CC4DB.2000509@gmx.de> Hello John, Can you please post your script or send me an email (martin.kohlwes at gmx.de) with the script? Thanks, Martin -----Original Message----- >I am using smstools http://www.meinemullemaus.de/ with a Siemens TC35 to >send and receive SMSs. With the details below it was straightforward to >parse a receceived SMS and acknowledge problems. >Basically I just send an SMS like this: "ack hostname here is some text." >I have thrown together a script to parse this and search through the >Nagios status.log for critical hosts/services that match the hostname and >acknowledge them with the additional text and the username set to the >caller ID if it's available. It's pretty rough and ready but works for >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 pascal at qflex.nl Mon Oct 25 11:32:41 2004 From: pascal at qflex.nl (Pascal) Date: Mon, 25 Oct 2004 11:32:41 +0200 (CEST) Subject: Nagios & MySQL Message-ID: Hi, I've installed Nagios 1.2 with MySQL support. I've compiled it in with MySQL support and configured stuff in resources.cfg and cgi.cfg. However no data gets inserted into the servicedowntime and hostdowntime tables. All other tables seem to work just fine though. When doing an availability report it seems to get all data from the archives (nagios.log) directory. Anyone knows what this may be? My compile options: ./configure --prefix=/usr/local/nagios --with-cgiurl=/cgi-bin --with-htmurl= --with-nagios-user=nagios --with-nagios-grp=nagios - -with-gd-lib=/usr/lib --with-gd-inc=/usr/include --with-perlcache --with-mysql-xdata --with-mysql-lib=/usr/local/mysql/lib/mysql/ -- with-mysql-inc=/usr/local/mysql/include/ --with-mysql-status --with-mysql-comments --with-mysql-extinfo --with-mysql-retention --wit h-mysql-downtime (as I understand --with-mysql-xdata should suffice) >From cgi.cfg: # DG EXTENDED DATA # Note: These config directives are only used if you compiled # in database support for extended data! # The user you specify here only needs SELECT privileges on the # 'hostextinfo' table in the database. xeddb_host=localhost xeddb_port=3306 xeddb_database=nagios xeddb_username=nagios_view xeddb_password=xxxx # DB STATUS DATA (Read-Only For CGIs) # Note: These config directives are only used if you compiled # in database support for status data! # The user you specify here only needs SELECT privileges on the # 'programstatus', 'hoststatus', and 'servicestatus' tables # in the database, as these values are only used by the CGIs. # The core program will read the directives you specify in # in a resource file. xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios_view xsddb_password=xxxx # DB COMMENT DATA (Read-Only For CGIs) # Note: These config directives are only used if you compiled # in database support for comment data! # The user you specify here only needs SELECT privileges on the # 'hostcomments', and 'servicecomments' tables in the database, # as these values are only used by the CGIs. The core program # will read the directives you specify in a resource file. xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios_view xcddb_password=xxxxx # DB DOWNTIME DATA (Read-Only For CGIs) # Note: These config directives are only used if you compiled # in database support for downtime data! # The user you specify here only needs SELECT privileges on the # 'hostdowntime', and 'servicedowntime' tables in the database, # as these values are only used by the CGIs. The core program # will read the directives you specify in a resource file. xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios_view xdddb_password=xxxx >From resources.cfg: # DB STATUS DATA # Note: These config directives are only used if you compiled # in database support for status data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'programstatus', 'hoststatus', # and 'servicestatus' tables in the database. xsddb_host=localhost xsddb_port=3306 xsddb_database=nagios xsddb_username=nagios xsddb_password=xxxxxx xsddb_optimize_data=1 xsddb_optimize_interval=3600 # DB COMMENT DATA # Note: These config directives are only used if you compiled # in database support for comment data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'hostcomments' and 'servicecomments' # tables in the database. xcddb_host=localhost xcddb_port=3306 xcddb_database=nagios xcddb_username=nagios xcddb_password=xxxxx xcddb_optimize_data=1 # DB DOWNTIME DATA # Note: These config directives are only used if you compiled # in database support for downtime data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'hostdowntime' and 'servicedowntime' # tables in the database. xdddb_host=localhost xdddb_port=3306 xdddb_database=nagios xdddb_username=nagios xdddb_password=xxxx xdddb_optimize_data=1 # DB RETENTION DATA # Note: These config directives are only used if you compiled # in database support for retention data! # The user you specify here needs SELECT, INSERT, UPDATE, and # DELETE privileges on the 'programretention', 'hostretention', # and 'serviceretention' tables in the database. xrddb_host=localhost xrddb_port=3306 xrddb_database=nagios xrddb_username=nagios xrddb_password=xxxx xrddb_optimize_data=1 The nagios user has full (select, insert, update, delete) rights on the database. The nagios_view user has only select rights. Does ayone have any clue? Thanks in advance Pascal ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sakkas at unimedcy.com Mon Oct 25 12:01:10 2004 From: sakkas at unimedcy.com (Kyriacos Sakkas) Date: Mon, 25 Oct 2004 13:01:10 +0300 Subject: SMS alerts My how-to In-Reply-To: <417940ED.1000507@op5.se> References: <4177CBBD.2040002@unimedcy.com> <417940ED.1000507@op5.se> Message-ID: <417CCEE6.1030207@unimedcy.com> Thanks to all for replies in how to make my script better, it now incorporates nearly all of the suggested improvments, plus some others of my own. I include the new current version below, together with an extra script used, found in debians bash-doc package. If you wish to discuss it further, please send To: me and cc to the list if you wish, otherwise I might not spot your message. Thanks to all, Kyriacos Sakkas. Scripts: smsspool.sh================================================== #!/bin/bash #simple sms spooling system, implemented for nagios #People who added code to this: #sakkas at unimedcy.com dennis at intouch.net andreas.ericsson at op5.se # PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/scripts for i in `ls /var/spool/sms/sms*` do if [ "$i" != "" ]; then # fixed. Protects from symlink attacks. test -f "$i" || continue # get one line only num=`head -n 1 "$i" | cut -d @ -f 2` msg=`head -n 2 "$i" | cut -d @ -f 1` /usr/local/scripts/timeout.sh -15 40 :2 +2 -- /usr/bin/gsmsendsms -b 9600 -d /dev/mobilephone $nu m "$msg" || exit 1 logger "SMS Message Send to: -$num-" # don't remove anything but exactly this file # (double quotes is a meager safeguard, but better than nothing). rm -f "$i" fi done exit 0 =========================================================== timeout.sh==================================================== #Newsgroups: comp.unix.admin,comp.unix.solaris,comp.unix.shell #From: gwc at root.co.uk (Geoff Clare) #Subject: Re: timeout -t (Re: How to give rsh a shorter timeout?) #Message-ID: #Date: Fri, 13 Feb 1998 18:23:52 GMT # # Conversion to bash v2 syntax done by Chet Ramey &2 ; exit 2 ;; esac ( for t in $timeout $delay do while (( $t > $interval )) do sleep $interval kill -0 $$ || exit t=$(( $t - $interval )) done sleep $t kill $SIG $$ && kill -0 $$ || exit SIG=-KILL done ) 2> /dev/null & exec "$@" ====================================================== ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Mon Oct 25 12:20:03 2004 From: az at whoever.org (az at whoever.org) Date: Mon, 25 Oct 2004 20:20:03 +1000 Subject: Authentication on cmd.cgi only (for example) Message-ID: <1098699603.417cd3533fa51@webmail.whoever.org> Greetings, I am trying to allow open access to Nagios except for cmd.cgi for obvious reasons. My cgi.cfg has: use_authentication=1 default_user_name=guest authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=admin authorized_for_all_host_commands=admin I have a .htaccess in the sbin directory: AuthName "Nagios Access" AuthType Basic AuthUserFile /somepath/htpasswd require valid-user And the htpasswd file has users for "guest", "admin" and some real users. The problem is, if I log in as guest, it lets me access cmd.cgi stuff. What have I got wrong? TIA. ### This message was scanned for viruses by Sophos Anti-Virus. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 12:22:55 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 25 Oct 2004 12:22:55 +0200 Subject: SMS alerts My how-to In-Reply-To: <417CCEE6.1030207@unimedcy.com> References: <4177CBBD.2040002@unimedcy.com> <417940ED.1000507@op5.se> <417CCEE6.1030207@unimedcy.com> Message-ID: <417CD3FF.5010808@op5.se> Kyriacos Sakkas wrote: > Thanks to all for replies in how to make my script better, it now > incorporates nearly all of the suggested improvments, plus some > others of my own. > > I include the new current version below, together with an extra script > used, found in debians bash-doc package. If you wish to discuss it > further, please send To: me and cc to the list if you wish, otherwise > I might not spot your message. > > Thanks to all, > > Kyriacos Sakkas. > > Scripts: > smsspool.sh================================================== > #!/bin/bash > #simple sms spooling system, implemented for nagios > #People who added code to this: > #sakkas at unimedcy.com dennis at intouch.net andreas.ericsson at op5.se > # > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/scripts > > > for i in `ls /var/spool/sms/sms*` > do This first if conditional is toothless, as $i will never be empty. If there aren't any files in /var/spool/sms/sms* then $i will contain the string /var/spool/sms/sms*. Save yourself the indentation level and remove it. > if [ "$i" != "" ]; then > # fixed. Protects from symlink attacks. > test -f "$i" || continue > # get one line only > num=`head -n 1 "$i" | cut -d @ -f 2` > msg=`head -n 2 "$i" | cut -d @ -f 1` > /usr/local/scripts/timeout.sh -15 40 :2 +2 -- > /usr/bin/gsmsendsms -b 9600 -d /dev/mobilephone $nu > m "$msg" || exit 1 > logger "SMS Message Send to: -$num-" > # don't remove anything but exactly this file > # (double quotes is a meager safeguard, but better > than nothing). > rm -f "$i" > fi > done > exit 0 > =========================================================== > timeout.sh==================================================== > #Newsgroups: comp.unix.admin,comp.unix.solaris,comp.unix.shell > #From: gwc at root.co.uk (Geoff Clare) > #Subject: Re: timeout -t (Re: How to give rsh a > shorter timeout?) > #Message-ID: > #Date: Fri, 13 Feb 1998 18:23:52 GMT > > # > # Conversion to bash v2 syntax done by Chet Ramey # UNTESTED > # > > prog=${0##*/} > usage="usage: $prog [-signal] [timeout] [:interval] [+delay] [--] > " > > SIG=-TERM # default signal sent to the process when the timer > expires > timeout=60 # default timeout > interval=15 # default interval between checks if the process is > still alive > delay=2 # default delay between posting the given signal and > # destroying the process (kill -KILL) > > while : > do > case $1 in > --) shift; break ;; > -*) SIG=$1 ;; > [0-9]*) timeout=$1 ;; > :*) EXPR='..\(.*\)' ; interval=`expr x"$1" : "$EXPR"` ;; > +*) EXPR='..\(.*\)' ; delay=`expr x"$1" : "$EXPR"` ;; > *) break ;; > esac > shift > done > > case $# in > 0) echo "$prog: $usage" >&2 ; exit 2 ;; > esac > > ( > for t in $timeout $delay > do > while (( $t > $interval )) > do > sleep $interval > kill -0 $$ || exit > t=$(( $t - $interval )) > done > sleep $t > kill $SIG $$ && kill -0 $$ || exit > SIG=-KILL > done > ) 2> /dev/null & > > exec "$@" > ====================================================== > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 p.prins at chello.nl Mon Oct 25 13:44:47 2004 From: p.prins at chello.nl (p.prins at chello.nl) Date: Mon, 25 Oct 2004 13:44:47 +0200 Subject: Statusmap logos, ignore hostextinfo.cfg Message-ID: <20041025114447.QQBC16455.amsfep12-int.chello.nl@localhost> Hello all, Yet another question about the logos that won't show-up in the nagios statusmap. I have read almost the complete mailing-list archive, but it seems there is no 'real' way to fix it. OS: RH8, kernel 2.4 Nagios: 1.2 I recompiled nagios, I installed gd-lib, zlib, pnglib, jpeg lib etc. and when I exceute the command % ldd statusmap.cgi the library dependencies are all pointing to existing paths and files. This is my hosextinfo file (only 1 host for example) define hostextinfo{ name windows-icons icon_image win40.png icon_image_alt Microsoft Windows 2000 vrml_image win40.png statusmap_image win40.gd2 register 0 # don"t register the template } define hostextinfo{ use windows-icons host_name windows2k_srv01 } also the xedtemplate_config_file variable is set propperly in the cgi.cfg file as the htmlpath and the logos do exist. I also renamed a win40.gd2 to unknown.gd2 to see if the format is supported, and yes it worked :) Who oh who can tell me what's going wrong here? Best regards, Peter ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From H.Blaauw at solweb.nl Mon Oct 25 15:36:47 2004 From: H.Blaauw at solweb.nl (Hans Blaauw) Date: Mon, 25 Oct 2004 15:36:47 +0200 Subject: Compiling NRPE-2.0 under SCO Openserver 5 Message-ID: Dear all, I tried to compile NRPE under SCO Openserver 5 but got the following errors. Anybody any idea what is going wrong and/or missing ? Many thanks in advance Hans Blaauw The errors: cd ./src/; make ; cd .. gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl -lsocket In file included from nrpe.c:21: ../common/common.h:64: parse error before `int16_t' ../common/common.h:64: warning: no semicolon at end of struct or union ../common/common.h:65: warning: data definition has no type or storage class ../common/common.h:67: parse error before `result_code' ../common/common.h:67: warning: data definition has no type or storage class ../common/common.h:69: parse error before `}' ../common/common.h:69: warning: data definition has no type or storage class nrpe.c:47: parse error before `*' nrpe.c: In function `wait_for_connections': nrpe.c:520: `socklen_t' undeclared (first use in this function) nrpe.c:520: (Each undeclared identifier is reported only once nrpe.c:520: for each function it appears in.) nrpe.c:520: parse error before `addrlen' nrpe.c:619: `addrlen' undeclared (first use in this function) nrpe.c: In function `handle_connection': nrpe.c:695: `packet' undeclared (first use in this function) nrpe.c:695: parse error before `receive_packet' nrpe.c:750: `receive_packet' undeclared (first use in this function) nrpe.c:900: `send_packet' undeclared (first use in this function) nrpe.c:906: `int16_t' undeclared (first use in this function) nrpe.c:906: parse error before `htons' nrpe.c:907: parse error before `htons' nrpe.c:908: parse error before `htons' nrpe.c: At top level: nrpe.c:1261: parse error before `*' nrpe.c: In function `validate_request': nrpe.c:1274: `pkt' undeclared (first use in this function) nrpe.c:1276: `packet' undeclared (first use in this function) In file included from utils.c:32: ../common/common.h:64: parse error before `int16_t' ../common/common.h:64: warning: no semicolon at end of struct or union ../common/common.h:65: warning: data definition has no type or storage class ../common/common.h:67: parse error before `result_code' ../common/common.h:67: warning: data definition has no type or storage class ../common/common.h:69: parse error before `}' ../common/common.h:69: warning: data definition has no type or storage class *** Error code 1 (bu21) *** Error code 1 (bu21) -------------- next part -------------- An HTML attachment was scrubbed... URL: From dmaher at acetechnology.com Mon Oct 25 16:06:27 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Mon, 25 Oct 2004 10:06:27 -0400 Subject: RRD addon for Nagios Message-ID: I concur, it would be of great help if you could share your RRD related templates with us all. :) -- Daniel Maher System Engineer ACE TECHNOLOGY INC. -----Original Message----- From: martinus.nel at scarceskills.com [mailto:martinus.nel at scarceskills.com] Sent: Monday, October 25, 2004 5:16 AM To: Alexander Schaefer; Michael Schwartzkopff; Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] RRD addon for Nagios Alexander, Would you be so kind as to share your ValueRegexTemplate templates ? :-) I have just started using nagiostat, but my regexp knowledge is limited, and I am having trouble with that part. Some things that I am looking for is getting negative values - NTP offset - and getting all 3 values from load - 5, 10, 15 min. If you want to be really kind, could you also share your RRDCreateTemplate, so that I can have a better understanding of how people build the graphs. >From there I can build the PlotTemplate my self. It would be nice - for other beginners like me - if the default .conf included all the standard nagios checks. Once I get to the point where my graphs is working correctly, I will submit all my configuration to the nagiostat developer for future inclusion. TIA Martinus. Alexander Schaefer wrote: >Hello, > >after checking some tools (i can tell you very long and very dramatical >story >about trying it with NAGmin WebPortal features... but it is not realy >helpfull: >NAGmin is in very beta-state and it's developer hasn't realy time for this > >project ;O)) i am successfully using NAGIOSTAT: > >OK, configuration of NAGIOSTAT is a little bit difficult, but good >documenteted. In my configuration i create a graphs about >* bandwith utilisation on some interfaces of WAN-Routers >* PING RTA values for some hosts > >The graphs look very nice. If you need another Nagios Service-Values to >graph, >then you can do it adjusting the configuration file of NAGIOSTAT. > >Good luck >Alex > > > >----- Original Message ----- >From: "Michael Schwartzkopff" >To: >Sent: Tuesday, October 19, 2004 10:33 AM >Subject: [Nagios-users] RRD addon for Nagios > > >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Hi, > >I am looking for a graphics / RRD addon tool for Nagios. On the download >site >of Nagios I found at least 4: > >- - APAN >- - nagiosgraph >- - nagiostat >- - SAT > >Please could you send me comments about software matureness, usability and >long term perspectives of these addons. Thanks you for your help. > >- -- >Dr. Michael Schwartzkopff >MultiNET Services GmbH >Bretonischer Ring 7 >85630 Grasbrunn > >Tel: (+49 89) 456 911 - 0 >Fax: (+49 89) 456 911 - 21 >mob: (+49 174) 343 28 75 > >PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (GNU/Linux) > >iD8DBQFBdNFhqndXpO3Yl5sRAoYfAKCcNzaqr/w2lsYstFOsk5eVRBfecQCcDx3p >cmB/bknr+KBJBXnfM81rVw4= >=QBxg >-----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 > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamesmarkcoggan at yahoo.com.br Mon Oct 25 16:45:05 2004 From: jamesmarkcoggan at yahoo.com.br (James Coggan) Date: Mon, 25 Oct 2004 12:45:05 -0200 Subject: Graphs Message-ID: <417D1171.6000206@yahoo.com.br> Hi, I'm using lots of nagios plugins, temperature, ping, vpn, nrpe and others. I would like to use some Graphs on these services, I found some add-ons on the nagiosexchange.org site But i didn't find any that mayde a graph for all these services Is there another good ad-on that isn't on the nagiosexchange site that I can try? Whitch one do you guys recommend to use on this case? -- Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e acredita-se estar livre de perigo. Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre atualizado. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 17:00:46 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Mon, 25 Oct 2004 16:00:46 +0100 Subject: Graphs Message-ID: James, Nagiostat is sure capable from what little I have seen to do what you want. As long as nagios can monitor it, and return some values, nagiostat can read that values and graph it with RRD. Nagiostat was simple to install and run for me. Now, all we need to do is share some of the nagiostat templates, as they are not easy to set up for everyone. Martinus. James Coggan wrote: >Hi, >I'm using lots of nagios plugins, temperature, ping, vpn, nrpe and others. >I would like to use some Graphs on these services, I found some add-ons >on the nagiosexchange.org site >But i didn't find any that mayde a graph for all these services >Is there another good ad-on that isn't on the nagiosexchange site that I >can try? >Whitch one do you guys recommend to use on this case? > > >-- >Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e > acredita-se estar livre de perigo. > >Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre >atualizado. > > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out >more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 adani at stevens.edu Mon Oct 25 17:18:22 2004 From: adani at stevens.edu (Alban Dani) Date: Mon, 25 Oct 2004 11:18:22 -0400 Subject: CPU scripts Message-ID: <0I6500CYEBUMME@nexus.stevens.edu> I have set up Nagios to check the CPU utilization of a catalyst 6500 which is the core of our network. Is it possible to tell Nagios to run a custom script when the CPU check sends me an alert? We have a script that finds and blocks abusers from the net and would like to run it every time we get a CPU utilization alert from Nagios. Thanks, Alban -------------- next part -------------- An HTML attachment was scrubbed... URL: From misch at multinet.de Mon Oct 25 17:33:36 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Mon, 25 Oct 2004 17:33:36 +0200 Subject: Graphs In-Reply-To: <417D1171.6000206@yahoo.com.br> References: <417D1171.6000206@yahoo.com.br> Message-ID: <200410251733.42105.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Montag, 25. Oktober 2004 16:45 schrieb James Coggan: > Hi, > I'm using lots of nagios plugins, temperature, ping, vpn, nrpe and others. > I would like to use some Graphs on these services, I found some add-ons > on the nagiosexchange.org site > But i didn't find any that mayde a graph for all these services > Is there another good ad-on that isn't on the nagiosexchange site that I > can try? > Whitch one do you guys recommend to use on this case? Well, I put this question on this list about one week ago. Most of the answers pointed towards nagiostat. I tried it am happy with it. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBfRzUqndXpO3Yl5sRAkVEAKCmNu7mNlHdzxzcg31EkUAsI62DMQCfRhop gN0OQ5HlB/s76P9vzsdosYA= =qNa5 -----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 martinus.nel at scarceskills.com Mon Oct 25 17:46:02 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Mon, 25 Oct 2004 16:46:02 +0100 Subject: CPU scripts Message-ID: <470cc89c0374dc24f66e7f376655ca3b@vega.scarceskills.com> Alban, This might help: http://nagios.sourceforge.net/docs/1_0/eventhandlers.html Always read the documentation, it will help a lot :-) http://nagios.sourceforge.net/docs/1_0/toc.html Martinus. Alban Dani wrote: >I have set up Nagios to check the CPU utilization of a catalyst 6500 which >is the core of our network. > > > > > >Is it possible to tell Nagios to run a custom script when the CPU check >sends me an alert? > >We have a script that finds and blocks abusers from the net and would like >to run it every time we get a CPU utilization alert from Nagios. > > > > > >Thanks, > > > > > >Alban > > > > > -- --------------------------------------------------------------------------- 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 martinus.nel at scarceskills.com Mon Oct 25 17:49:12 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Mon, 25 Oct 2004 16:49:12 +0100 Subject: Graphs Message-ID: <0b9d14fddb7b742fd5d5cd26a2232a17@vega.scarceskills.com> Michael, Since you are successful with it, may we lesser beings view some of your templates, especially the regexp ones ? :) Just in case someone here thinks that I am desperate ... yes I am, I just can't seem to get the hang of the regular expressions :-) Martinus. Michael Schwartzkopff wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Am Montag, 25. Oktober 2004 16:45 schrieb James Coggan: >> Hi, >> I'm using lots of nagios plugins, temperature, ping, vpn, nrpe and >others. >> I would like to use some Graphs on these services, I found some add-ons >> on the nagiosexchange.org site >> But i didn't find any that mayde a graph for all these services >> Is there another good ad-on that isn't on the nagiosexchange site that I >> can try? >> Whitch one do you guys recommend to use on this case? > >Well, I put this question on this list about one week ago. Most of the >answers >pointed towards nagiostat. I tried it am happy with it. > >- -- >Dr. Michael Schwartzkopff >MultiNET Services GmbH >Bretonischer Ring 7 >85630 Grasbrunn > >Tel: (+49 89) 456 911 - 0 >Fax: (+49 89) 456 911 - 21 >mob: (+49 174) 343 28 75 > >PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (GNU/Linux) > >iD8DBQFBfRzUqndXpO3Yl5sRAkVEAKCmNu7mNlHdzxzcg31EkUAsI62DMQCfRhop >gN0OQ5HlB/s76P9vzsdosYA= >=qNa5 >-----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 > -- --------------------------------------------------------------------------- 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 adani at stevens.edu Mon Oct 25 17:55:35 2004 From: adani at stevens.edu (Alban Dani) Date: Mon, 25 Oct 2004 11:55:35 -0400 Subject: CPU scripts Message-ID: <0I6500CWDDKNME@nexus.stevens.edu> Guys, I got it. Thanks a lot. You are right, the docs are very clear about this. I just was a bit impatient this morning. Alban -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Mon Oct 25 18:30:35 2004 From: ae at op5.se (Andreas Ericsson) Date: Mon, 25 Oct 2004 18:30:35 +0200 Subject: Graphs In-Reply-To: <0b9d14fddb7b742fd5d5cd26a2232a17@vega.scarceskills.com> References: <0b9d14fddb7b742fd5d5cd26a2232a17@vega.scarceskills.com> Message-ID: <417D2A2B.6040104@op5.se> martinus.nel at scarceskills.com wrote: > Michael, > > Since you are successful with it, may we lesser beings view some of your > templates, especially the regexp ones ? :) > > Just in case someone here thinks that I am desperate ... yes I am, I just > can't seem to get the hang of the regular expressions :-) > It's really pretty straightforward, so long as you remember a couple of simple rules; [abc] denotes a character class and matches any of the characters a, b or c. * means 'match any or none of the previous character (class)' . means 'match any char'. There are others as well, but those are the ones that doesn't require odd escaping. Fling around with grep and sed a bit and I'm sure you'll get the idea. For instance, try; grep '.*foo.*' and then type a lot of gibberish. The lines you type with 'foo' somewhere in them will match and be printed twice. Regex matching with substitutions works the same way, but it has delimiters at the beginning, the end and between the match and the substitution. The delimiter can be any char, but / and , and # and | are commonly seen in shell-scripts. thus sed 's/foo/bar/' (gibberish goes here) will replace (the leading s in the sed command means substitute) foo with bar in any text you type. Fool around a bit. It's the best way to learn, and you'll learn more as you go along. Should all else fail, pick up a book on perl. It's main feature is just that, regexing, so they're bound to be covered in detail. -- 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 teng at dataway.com Mon Oct 25 20:11:00 2004 From: teng at dataway.com (Tedman Eng) Date: Mon, 25 Oct 2004 11:11:00 -0700 Subject: Graphs Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73B8@dw-mail.dataway.com> Interactive regex creator: http://weitz.de/regex-coach/ -----Original Message----- From: martinus.nel at scarceskills.com [mailto:martinus.nel at scarceskills.com] Sent: Monday, October 25, 2004 8:49 AM To: Michael Schwartzkopff; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Graphs Michael, Since you are successful with it, may we lesser beings view some of your templates, especially the regexp ones ? :) Just in case someone here thinks that I am desperate ... yes I am, I just can't seem to get the hang of the regular expressions :-) Martinus. Michael Schwartzkopff wrote: >-----BEGIN PGP SIGNED MESSAGE----- >Hash: SHA1 > >Am Montag, 25. Oktober 2004 16:45 schrieb James Coggan: >> Hi, >> I'm using lots of nagios plugins, temperature, ping, vpn, nrpe and >others. >> I would like to use some Graphs on these services, I found some add-ons >> on the nagiosexchange.org site >> But i didn't find any that mayde a graph for all these services >> Is there another good ad-on that isn't on the nagiosexchange site that I >> can try? >> Whitch one do you guys recommend to use on this case? > >Well, I put this question on this list about one week ago. Most of the >answers >pointed towards nagiostat. I tried it am happy with it. > >- -- >Dr. Michael Schwartzkopff >MultiNET Services GmbH >Bretonischer Ring 7 >85630 Grasbrunn > >Tel: (+49 89) 456 911 - 0 >Fax: (+49 89) 456 911 - 21 >mob: (+49 174) 343 28 75 > >PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > >-----BEGIN PGP SIGNATURE----- >Version: GnuPG v1.2.4 (GNU/Linux) > >iD8DBQFBfRzUqndXpO3Yl5sRAkVEAKCmNu7mNlHdzxzcg31EkUAsI62DMQCfRhop >gN0OQ5HlB/s76P9vzsdosYA= >=qNa5 >-----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 > -- --------------------------------------------------------------------------- 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 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dgoggiano at doit.nv.gov Mon Oct 25 20:42:25 2004 From: dgoggiano at doit.nv.gov (Dan Goggiano) Date: Mon, 25 Oct 2004 11:42:25 -0700 Subject: SMTP Service Queue Monitoring (Windows) Message-ID: <6DB6E1ED582EFE45BE27468BD45B982F01190177@MX1.STATE.NV.US> All, We are running a relay system in Windows 2k3 to provide some spam filtering and virus scanning. We occasionally have the problem of inbound mail being received and queued but not sent out. We monitor the services and they (IIS + SMTP) are both running, but the queue just keeps going. I would like to monitor the number of files in the queue directory to make sure a certain threshold has not been exceeded. Has anyone successfully done this on the Windows side with Nagios, or is there a better way? Can't find any useful performance counters, etc...so help would be greatly appreciated! - Dan Goggiano Computer Operations Manager State of Nevada Department of Information Technology (775) 684-4306 This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to it is addressed. Any review, dissemination or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-Mail and delete all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andreschmidt76 at arcor.de Mon Oct 25 21:03:16 2004 From: andreschmidt76 at arcor.de (Andre Schmidt) Date: Mon, 25 Oct 2004 21:03:16 +0200 Subject: nagios-text In-Reply-To: <6DB6E1ED582EFE45BE27468BD45B982F01190177@MX1.STATE.NV.US> References: <6DB6E1ED582EFE45BE27468BD45B982F01190177@MX1.STATE.NV.US> Message-ID: <200410252103.16753.andreschmidt76@arcor.de> hast du was dagegen wenn ich stat nagios-mysql, mysql-text installiere... ich m?chte schon icons reinbauen, aber jedes mal wenn ich was updaten will muss ich wieder ins mysql schreiben... mit mysql-text k?nnte ich hostextinfo in ooo schreiben... On Monday 25 October 2004 20:42, Dan Goggiano wrote: > All, > > > > We are running a relay system in Windows 2k3 to provide some > spam filtering and virus scanning. We occasionally have the problem of > inbound mail being received and queued but not sent out. We monitor the > services and they (IIS + SMTP) are both running, but the queue just > keeps going. I would like to monitor the number of files in the queue > directory to make sure a certain threshold has not been exceeded. Has > anyone successfully done this on the Windows side with Nagios, or is > there a better way? Can't find any useful performance counters, > etc...so help would be greatly appreciated! > > > > > - Dan Goggiano > Computer Operations Manager > State of Nevada > Department of Information Technology > (775) 684-4306 > > This communication, including any attachments, may contain confidential > information and is intended only for the individual or entity to it is > addressed. Any review, dissemination or copying of this communication by > anyone other than the intended recipient is strictly prohibited. If you > are not the intended recipient, please contact the sender by reply > e-Mail and delete all copies of the original message. > > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 25 23:02:11 2004 From: andreschmidt76 at arcor.de (Andre Schmidt) Date: Mon, 25 Oct 2004 23:02:11 +0200 Subject: nagios-text In-Reply-To: <200410252103.16753.andreschmidt76@arcor.de> References: <6DB6E1ED582EFE45BE27468BD45B982F01190177@MX1.STATE.NV.US> <200410252103.16753.andreschmidt76@arcor.de> Message-ID: <200410252302.12008.andreschmidt76@arcor.de> ouch! sorry, wrong reply, lol :) i cant believe this happened.... On Monday 25 October 2004 21:03, Andre Schmidt wrote: > hast du was dagegen wenn ich stat nagios-mysql, mysql-text installiere... > ich m?chte schon icons reinbauen, aber jedes mal wenn ich was updaten will > muss ich wieder ins mysql schreiben... mit mysql-text k?nnte ich hostextinfo > in ooo schreiben... > > > > > On Monday 25 October 2004 20:42, Dan Goggiano wrote: > > All, > > > > > > > > We are running a relay system in Windows 2k3 to provide some > > spam filtering and virus scanning. We occasionally have the problem of > > inbound mail being received and queued but not sent out. We monitor the > > services and they (IIS + SMTP) are both running, but the queue just > > keeps going. I would like to monitor the number of files in the queue > > directory to make sure a certain threshold has not been exceeded. Has > > anyone successfully done this on the Windows side with Nagios, or is > > there a better way? Can't find any useful performance counters, > > etc...so help would be greatly appreciated! > > > > > > > > > > - Dan Goggiano > > Computer Operations Manager > > State of Nevada > > Department of Information Technology > > (775) 684-4306 > > > > This communication, including any attachments, may contain confidential > > information and is intended only for the individual or entity to it is > > addressed. Any review, dissemination or copying of this communication by > > anyone other than the intended recipient is strictly prohibited. If you > > are not the intended recipient, please contact the sender by reply > > e-Mail and delete all copies of the original message. > > > > > > > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please 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 CWaters at jeld-wen.com Mon Oct 25 21:08:59 2004 From: CWaters at jeld-wen.com (CWaters at jeld-wen.com) Date: Mon, 25 Oct 2004 12:08:59 -0700 Subject: Nagios Plugins on AIX 5.2 Message-ID: Does anyone have the nagios plugins compiled and working successfully on AIX 5.2? I really could use them but I have found so very little info on getting them to compile properly. I would really like to get my grubby little hands on them if someone on the list is willing to share. Thanks. Chris Waters -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jan.Scholten at iconz.net Mon Oct 25 23:07:26 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 26 Oct 2004 10:07:26 +1300 Subject: Statusmap logos, ignore hostextinfo.cfg In-Reply-To: <20041025114447.QQBC16455.amsfep12-int.chello.nl@localhost> References: <20041025114447.QQBC16455.amsfep12-int.chello.nl@localhost> Message-ID: I don't knwo if it solves your problem: Nagios use4s only the first extinfo file: #@@@@@@@@@@@@@@ eXtended Data File @@@@@@@@@@@@ #Only one file is parsed, so we put everything in one file! xedtemplate_config_file=/usr/local/nagios/etc/extinfo.cfg #xedtemplate_config_file=/usr/local/nagios/etc/serviceextinfo.cfg #xedtemplate_config_file=/usr/local/nagios/etc/hostextinfo.cfg #@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ So you have to put service and hostexitinfo in one file to have both. when having two "xedtemplate_config_file=" lines only the first one is used. I can't help any further, since it is working fine herte (Debian 3.1 selfcompiled Nagios) Jan > Hello all, > > Yet another question about the logos that won't show-up in the nagios > statusmap. I have read almost the complete mailing-list archive, but it > seems there is no 'real' way to fix it. > > OS: RH8, kernel 2.4 > Nagios: 1.2 > > I recompiled nagios, I installed gd-lib, zlib, pnglib, jpeg lib etc. and > when I exceute the command > % ldd statusmap.cgi the library dependencies are all pointing to > existing paths and files. > > This is my hosextinfo file (only 1 host for example) > > define hostextinfo{ > name windows-icons > icon_image win40.png > icon_image_alt Microsoft Windows 2000 > vrml_image win40.png > statusmap_image win40.gd2 > register 0 # don"t register the template > } > define hostextinfo{ > use windows-icons > host_name windows2k_srv01 > } > > also the xedtemplate_config_file variable is set propperly in the > cgi.cfg file as the htmlpath and the logos do exist. > I also renamed a win40.gd2 to unknown.gd2 to see if the format is > supported, and yes it worked :) > > Who oh who can tell me what's going wrong here? > > Best regards, > > Peter > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > Use IT products in your business? Tell us what you think of them. Give us > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out > more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 dgoggiano at doit.nv.gov Mon Oct 25 21:02:43 2004 From: dgoggiano at doit.nv.gov (Dan Goggiano) Date: Mon, 25 Oct 2004 12:02:43 -0700 Subject: SMTP Service Queue Monitoring (Windows) Message-ID: <6DB6E1ED582EFE45BE27468BD45B982F0119017A@MX1.STATE.NV.US> Duh. Just realized that the performance counters are not available unless the service is running! - Dan Goggiano Computer Operations Manager State of Nevada Department of Information Technology (775) 684-4306 This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to it is addressed. Any review, dissemination or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-Mail and delete all copies of the original message. ________________________________ From: Dan Goggiano Sent: Monday, October 25, 2004 11:42 AM To: 'nagios-users at lists.sourceforge.net' Subject: SMTP Service Queue Monitoring (Windows) All, We are running a relay system in Windows 2k3 to provide some spam filtering and virus scanning. We occasionally have the problem of inbound mail being received and queued but not sent out. We monitor the services and they (IIS + SMTP) are both running, but the queue just keeps going. I would like to monitor the number of files in the queue directory to make sure a certain threshold has not been exceeded. Has anyone successfully done this on the Windows side with Nagios, or is there a better way? Can't find any useful performance counters, etc...so help would be greatly appreciated! - Dan Goggiano Computer Operations Manager State of Nevada Department of Information Technology (775) 684-4306 This communication, including any attachments, may contain confidential information and is intended only for the individual or entity to it is addressed. Any review, dissemination or copying of this communication by anyone other than the intended recipient is strictly prohibited. If you are not the intended recipient, please contact the sender by reply e-Mail and delete all copies of the original message. -------------- next part -------------- An HTML attachment was scrubbed... URL: From ewtrowbr at yahoo.com Tue Oct 26 00:34:19 2004 From: ewtrowbr at yahoo.com (Erich Trowbridge) Date: Mon, 25 Oct 2004 17:34:19 -0500 Subject: trend reporting display Message-ID: <1098743659.2134.84.camel@littleboy.nois.net> I have a nagios system successfully monitoring 214 services in a server farm of 87 hosts for a government agency in Louisiana. This is a great tool - Thank You to everybody who's contributed. Is there somewhere that explains what exactly the reporting-> trends link in nagios displays? Sometime I run a report and it shows accurate availability graph. For other services, it claims that the service is 100% indeterminate. I can affect the display by manipulatingg the pull-down menus on the upper right, but I can't find where to set the defaults for these tabs. Can somebody advise me on where to find out more about these trends and reporting? I'd like to set the defaults of the availability report to the following parameters... Assume initial states: yes First assumed service state: Service OK Assume State Retention: yes Backtraced Archives: ??? I have screenshots displaying my problem at http://mail.nois.net/whatiwant.png and http://mail.nois.net/whatIhave.png Please advise, erich ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Oct 25 21:21:15 2004 From: strombrg at dcs.nac.uci.edu (Dan Stromberg) Date: Mon, 25 Oct 2004 12:21:15 -0700 Subject: SMS alerts My how-to In-Reply-To: <417CD3FF.5010808@op5.se> References: <4177CBBD.2040002@unimedcy.com> <417940ED.1000507@op5.se> <417CCEE6.1030207@unimedcy.com> <417CD3FF.5010808@op5.se> Message-ID: <1098732075.14027.282.camel@tesuji.nac.uci.edu> Actually, I believe there is a globbing parameter you can set in bash, that controls whether "foo*", upon matching nothing, will return "foo*" or "". On Mon, 2004-10-25 at 03:22, Andreas Ericsson wrote: > Kyriacos Sakkas wrote: > > Thanks to all for replies in how to make my script better, it now > > incorporates nearly all of the suggested improvments, plus some > > others of my own. > > > > I include the new current version below, together with an extra script > > used, found in debians bash-doc package. If you wish to discuss it > > further, please send To: me and cc to the list if you wish, otherwise > > I might not spot your message. > > > > Thanks to all, > > > > Kyriacos Sakkas. > > > > Scripts: > > smsspool.sh================================================== > > #!/bin/bash > > #simple sms spooling system, implemented for nagios > > #People who added code to this: > > #sakkas at unimedcy.com dennis at intouch.net andreas.ericsson at op5.se > > # > > PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/scripts > > > > > > for i in `ls /var/spool/sms/sms*` > > do > > This first if conditional is toothless, as $i will never be empty. > If there aren't any files in /var/spool/sms/sms* then $i will contain > the string /var/spool/sms/sms*. Save yourself the indentation level and > remove it. > > > if [ "$i" != "" ]; then > > # fixed. Protects from symlink attacks. > > test -f "$i" || continue > > # get one line only > > num=`head -n 1 "$i" | cut -d @ -f 2` > > msg=`head -n 2 "$i" | cut -d @ -f 1` > > /usr/local/scripts/timeout.sh -15 40 :2 +2 -- > > /usr/bin/gsmsendsms -b 9600 -d /dev/mobilephone $nu > > m "$msg" || exit 1 > > logger "SMS Message Send to: -$num-" > > # don't remove anything but exactly this file > > # (double quotes is a meager safeguard, but better > > than nothing). > > rm -f "$i" > > fi > > done > > exit 0 > > =========================================================== > > timeout.sh==================================================== > > #Newsgroups: comp.unix.admin,comp.unix.solaris,comp.unix.shell > > #From: gwc at root.co.uk (Geoff Clare) > > #Subject: Re: timeout -t (Re: How to give rsh a > > shorter timeout?) > > #Message-ID: > > #Date: Fri, 13 Feb 1998 18:23:52 GMT > > > > # > > # Conversion to bash v2 syntax done by Chet Ramey > # UNTESTED > > # > > > > prog=${0##*/} > > usage="usage: $prog [-signal] [timeout] [:interval] [+delay] [--] > > " > > > > SIG=-TERM # default signal sent to the process when the timer > > expires > > timeout=60 # default timeout > > interval=15 # default interval between checks if the process is > > still alive > > delay=2 # default delay between posting the given signal and > > # destroying the process (kill -KILL) > > > > while : > > do > > case $1 in > > --) shift; break ;; > > -*) SIG=$1 ;; > > [0-9]*) timeout=$1 ;; > > :*) EXPR='..\(.*\)' ; interval=`expr x"$1" : "$EXPR"` ;; > > +*) EXPR='..\(.*\)' ; delay=`expr x"$1" : "$EXPR"` ;; > > *) break ;; > > esac > > shift > > done > > > > case $# in > > 0) echo "$prog: $usage" >&2 ; exit 2 ;; > > esac > > > > ( > > for t in $timeout $delay > > do > > while (( $t > $interval )) > > do > > sleep $interval > > kill -0 $$ || exit > > t=$(( $t - $interval )) > > done > > sleep $t > > kill $SIG $$ && kill -0 $$ || exit > > SIG=-KILL > > done > > ) 2> /dev/null & > > > > exec "$@" > > ====================================================== > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: IT Product Guide on ITManagersJournal > > Use IT products in your business? Tell us what you think of them. Give us > > Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more > > http://productguide.itmanagersjournal.com/guidepromo.tmpl > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 ken.satkunam at northstartechnologygroup.com Mon Oct 25 23:42:07 2004 From: ken.satkunam at northstartechnologygroup.com (Ken E. Satkunam) Date: Mon, 25 Oct 2004 16:42:07 -0500 Subject: Axis cameras and send_nsca Message-ID: <496D4D40DDBB294F814529DAD96FC12E2AE5@ntg1.northstartechnologygroup.com> Has anyone in this group used nagios (more specifically the send_nsca addon for passive checks) on an Axis IP camera? -------------- next part -------------- An HTML attachment was scrubbed... URL: From RMontemayor at huntoil.com Tue Oct 26 00:24:23 2004 From: RMontemayor at huntoil.com (Rudy Montemayor) Date: Mon, 25 Oct 2004 17:24:23 -0500 Subject: Plugin timed out after 10 seconds Message-ID: Nagios Users, I have been getting a few notification messages of this type and I'm sure it's due to our network; however having said that how and where do I increase the timeout period to say 20 seconds. Notification Type: PROBLEM Service: Check /ORACLE/BP1/ORAARCH Host: HCIBP1 BW Prod State: CRITICAL Date/Time: Sun Oct 24 02:39:25 CDT 2004 Additional Info: CHECK_NRPE: Socket timeout after 10 seconds. Also like this: Notification Type: PROBLEM Host: PRT204-Calgary State: DOWN Info: CRITICAL - Plugin timed out after 10 seconds Date/Time: Mon Oct 25 11:29:56 CDT 2004 The next time the service is checked it recovers. Where is this 10 second limit set at? Thanks for your help in advance. Rudy Montemayor -------------- next part -------------- An HTML attachment was scrubbed... URL: From sheeri.kritzer at tufts.edu Mon Oct 25 22:49:42 2004 From: sheeri.kritzer at tufts.edu (Sheeri Kritzer) Date: Mon, 25 Oct 2004 16:49:42 -0400 Subject: dependencies not working? Message-ID: <1098737382.417d66e69874f@webmail.tufts.edu> Hey there, I have host dependencies working, that is, using the "parents" keyword in a host configuration. However, I'd like to set up dependencies for services -- for instance, having DISK on machine1 be dependent on NFS from machine2, because it mounts the disk from machine2 (and we don't have DISK monitoring on machine2). I set that up, and then firewalled the NFS server off the nagios server, so every service was down (well, actually the whole host is down). This is my service dependency define servicedependency{ host_name machine1 service_description DISK dependent_host_name machine2 dependent_service_description NFS execution_failure_criteria c,u notification_failure_criteria w,c,u } And nagios still went red for DISK on machine1, even after machine2 was down. >From my understanding of execution_failure_criteria, it shouldn't even bother to execute a check on DISK for machine1, because NFS on machine2 is down. Is this just because the whole host (machine2) was down? Is that a bug? Or did I configure this dependency wrong? -Sheeri Kritzer Systems Administrator University Systems Group Tufts University 617-627-3925 sheeri.kritzer at tufts.edu ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jwilliams at courtesymortgage.com Tue Oct 26 00:18:55 2004 From: jwilliams at courtesymortgage.com (Jason Williams) Date: Mon, 25 Oct 2004 15:18:55 -0700 Subject: SMS with Blackberries and Lotus Domino Message-ID: <6.1.2.0.0.20041025151623.024e0f50@corpmail.courtesymortgage.com> Hello everyone. I put up Nagios here recently and I really enjoy working with it. It is going to make my job a lot easier in letting me know what is going on with my network and servers. Great product. Thank you very much. My next task is to setup SMS to work with our Blackberries and Lotus Domino server. I was curious if anyone has a similar setup and if so, what they did to go about setting it up to work properly. I have yet to really look into this yet (not enough time in the day :) ), but I was curious if it is possible to some how configure the Nagios box to send a SMS message to the Domino Box, which then in turn will forward the messages to my Blackberry. This is just the first task I have to figure out. The next is to figure out how to get the messages out if my entire network goes down. :) I appreciate the help. I look forward to some suggestions. Cheers, Jason ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sgarcia at bak.rr.com Mon Oct 25 23:52:39 2004 From: sgarcia at bak.rr.com (Steve Garcia) Date: Mon, 25 Oct 2004 14:52:39 -0700 Subject: Compiling NRPE-2.0 under SCO Openserver 5 In-Reply-To: References: Message-ID: <417D75A7.6040608@bak.rr.com> I ran into this exact problem (today) trying to compile NRPE on Digital Unix. The problem appeared to be that int16_t is not defined on Digital Unix. I added: typedef short int16_t; to the common/config.h file, and that problem went away. Then it complained about socklen_t, and I added: typedef u_int32_t socklen_t; to the same file and that problem went away. Then it complained about the struct option long_options[] and now I'm back to trying to get netsaint_statd to behave. Jan Scholten wrote: > I think the licences for Linux are missing ;-) > > SCNR! > > Did you do a ./configure ? > > > README says: > ./configure > make all > > Jan > >> Dear all, >> >> >> I tried to compile NRPE under SCO Openserver 5 but got the following >> errors. Anybody any idea what is going wrong and/or missing ? >> >> Many thanks in advance >> >> Hans Blaauw >> >> >> The errors: >> >> cd ./src/; make ; cd .. >> >> gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl >> -lsocket >> >> In file included from nrpe.c:21: >> >> ./common/common.h:64: parse error before `int16_t' >> >> ./common/common.h:64: warning: no semicolon at end of struct or union >> >> ./common/common.h:65: warning: data definition has no type or storage >> class >> >> ./common/common.h:67: parse error before `result_code' >> >> ./common/common.h:67: warning: data definition has no type or storage >> class >> >> ./common/common.h:69: parse error before `}' >> >> ./common/common.h:69: warning: data definition has no type or storage >> class >> >> nrpe.c:47: parse error before `*' >> >> nrpe.c: In function `wait_for_connections': >> >> nrpe.c:520: `socklen_t' undeclared (first use in this function) >> >> nrpe.c:520: (Each undeclared identifier is reported only once >> >> nrpe.c:520: for each function it appears in.) >> >> nrpe.c:520: parse error before `addrlen' >> >> nrpe.c:619: `addrlen' undeclared (first use in this function) >> >> nrpe.c: In function `handle_connection': >> >> nrpe.c:695: `packet' undeclared (first use in this function) >> >> nrpe.c:695: parse error before `receive_packet' >> >> nrpe.c:750: `receive_packet' undeclared (first use in this function) >> >> nrpe.c:900: `send_packet' undeclared (first use in this function) >> >> nrpe.c:906: `int16_t' undeclared (first use in this function) >> >> nrpe.c:906: parse error before `htons' >> >> nrpe.c:907: parse error before `htons' >> >> nrpe.c:908: parse error before `htons' >> >> nrpe.c: At top level: >> >> nrpe.c:1261: parse error before `*' >> >> nrpe.c: In function `validate_request': >> >> nrpe.c:1274: `pkt' undeclared (first use in this function) >> >> nrpe.c:1276: `packet' undeclared (first use in this function) >> >> In file included from utils.c:32: >> >> ./common/common.h:64: parse error before `int16_t' >> >> ./common/common.h:64: warning: no semicolon at end of struct or union >> >> ./common/common.h:65: warning: data definition has no type or storage >> class >> >> ./common/common.h:67: parse error before `result_code' >> >> ./common/common.h:67: warning: data definition has no type or storage >> class >> >> ./common/common.h:69: parse error before `}' >> >> ./common/common.h:69: warning: data definition has no type or storage >> class >> >> *** Error code 1 (bu21) >> >> *** Error code 1 (bu21) >> >> > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 25 23:09:54 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Tue, 26 Oct 2004 10:09:54 +1300 Subject: Compiling NRPE-2.0 under SCO Openserver 5 In-Reply-To: References: Message-ID: I think the licences for Linux are missing ;-) SCNR! Did you do a ./configure ? README says: ./configure make all Jan > Dear all, > > > I tried to compile NRPE under SCO Openserver 5 but got the following > errors. Anybody any idea what is going wrong and/or missing ? > > Many thanks in advance > > Hans Blaauw > > > The errors: > > cd ./src/; make ; cd .. > > gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl > -lsocket > > In file included from nrpe.c:21: > > ./common/common.h:64: parse error before `int16_t' > > ./common/common.h:64: warning: no semicolon at end of struct or union > > ./common/common.h:65: warning: data definition has no type or storage > class > > ./common/common.h:67: parse error before `result_code' > > ./common/common.h:67: warning: data definition has no type or storage > class > > ./common/common.h:69: parse error before `}' > > ./common/common.h:69: warning: data definition has no type or storage > class > > nrpe.c:47: parse error before `*' > > nrpe.c: In function `wait_for_connections': > > nrpe.c:520: `socklen_t' undeclared (first use in this function) > > nrpe.c:520: (Each undeclared identifier is reported only once > > nrpe.c:520: for each function it appears in.) > > nrpe.c:520: parse error before `addrlen' > > nrpe.c:619: `addrlen' undeclared (first use in this function) > > nrpe.c: In function `handle_connection': > > nrpe.c:695: `packet' undeclared (first use in this function) > > nrpe.c:695: parse error before `receive_packet' > > nrpe.c:750: `receive_packet' undeclared (first use in this function) > > nrpe.c:900: `send_packet' undeclared (first use in this function) > > nrpe.c:906: `int16_t' undeclared (first use in this function) > > nrpe.c:906: parse error before `htons' > > nrpe.c:907: parse error before `htons' > > nrpe.c:908: parse error before `htons' > > nrpe.c: At top level: > > nrpe.c:1261: parse error before `*' > > nrpe.c: In function `validate_request': > > nrpe.c:1274: `pkt' undeclared (first use in this function) > > nrpe.c:1276: `packet' undeclared (first use in this function) > > In file included from utils.c:32: > > ./common/common.h:64: parse error before `int16_t' > > ./common/common.h:64: warning: no semicolon at end of struct or union > > ./common/common.h:65: warning: data definition has no type or storage > class > > ./common/common.h:67: parse error before `result_code' > > ./common/common.h:67: warning: data definition has no type or storage > class > > ./common/common.h:69: parse error before `}' > > ./common/common.h:69: warning: data definition has no type or storage > class > > *** Error code 1 (bu21) > > *** Error code 1 (bu21) > > -- 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 sgarcia at bak.rr.com Tue Oct 26 01:28:38 2004 From: sgarcia at bak.rr.com (Steve Garcia) Date: Mon, 25 Oct 2004 16:28:38 -0700 Subject: Debugging a plugin In-Reply-To: <1098737382.417d66e69874f@webmail.tufts.edu> References: <1098737382.417d66e69874f@webmail.tufts.edu> Message-ID: <417D8C26.5050401@bak.rr.com> Is there a way to log the actual command issued by nagios to perform a service check? I can see how the command is configured, but I'd like some way to log it as it is expanded, and if possible, to see the raw output. Here's my problem. I'm using netsaint_statd (2.15) to monitor disk space, etc on a remote machine. All the built in plugins work just fine, but all the netsaint_statd plugins show up in the Service Detail as "(no output!)". Nagios 1.2 is running on a Solaris 8 machine, and the remote machine is a Digital Unix system. I'm convinced the problem is with either my Nagios setup or with some sort of path issue on the Nagios host. When run from the command line, the check_disk.pl (and check_users.pl, etc.) works great. I had to hack both check_disk.pl and netsaint_statd a bit to get them to recognize some of the OSF1 disks: # ./check_du_disk.pl pegasus fac_domain#fac Disk ok - 5.44G (34%) free on /fac but that shouldn't affect this problem. If I delete the statd plugins, there's no difference. I still get "(No output!)". If I write a simple plugin that returns 0 and always prints "It's Broke" and drop it in place, I still get "(no output!)". I tried adding logging commands inside check_disk.pl, and got no logging. It logs fine when run from the command line. This makes me think that either the script is never being called, or if it is it fails so quickly (a perl problem maybe?) that it never gets to the logging statements. Anyone have any idea how I can track this down? Is there some way to log the actual commands issued, and even better, what the response/error messages might be? ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 02:43:38 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 26 Oct 2004 08:43:38 +0800 Subject: Plugin timed out after 10 seconds In-Reply-To: References: Message-ID: <20041026004338.GA18450@quex.org> On Mon, Oct 25, 2004 at 05:24:23PM -0500, Rudy Montemayor wrote: > I have been getting a few notification messages of this type and I'm > sure it's due to our network; however having said that how and where > do I increase the timeout period to say 20 seconds. > > Notification Type: PROBLEM > > Service: Check /ORACLE/BP1/ORAARCH > Host: HCIBP1 BW Prod > State: CRITICAL > CHECK_NRPE: Socket timeout after 10 seconds. This one looks like the plugin itself is enforcing the timeout, so look for a command-line switch to adjust the timeout. > Also like this: > > Notification Type: PROBLEM > Host: PRT204-Calgary > State: DOWN > Info: CRITICAL - Plugin timed out after 10 seconds This one looks to me like Nagios is timing it out itself, so for that one check the main config. > The next time the service is checked it recovers. Where is this 10 > second limit set at? Check the values of service_check_timeout and host_check_timeout in the main configuration file. Note that host checks, when they need to be done, kind of slow everything else down so it's better if they don't take ages and ages to run... Also, since host checks aren't repeated X number of times before the host is declared down, you may want to write a wrapper around it to repeat the test 2 or 3 times if you have hosts that are a little bit flaky, but you don't care if they stop responding for a short period of time. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 26 04:43:51 2004 From: jhmartin at toger.us (Jason Martin) Date: Mon, 25 Oct 2004 19:43:51 -0700 Subject: Debugging a plugin In-Reply-To: <417D8C26.5050401@bak.rr.com> References: <1098737382.417d66e69874f@webmail.tufts.edu> <417D8C26.5050401@bak.rr.com> Message-ID: <20041026024350.GN31187@zippy.toger.us> On Mon, Oct 25, 2004 at 04:28:38PM -0700, Steve Garcia wrote: > Is there a way to log the actual command issued by nagios to perform a > service check? A permutation of the 'strace' command can do that for you. -Jason Martin -- Who is Art, and why does life imitate him? 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 sushildeshmukh at sqtl.com Tue Oct 26 08:28:59 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Tue, 26 Oct 2004 11:58:59 +0530 (IST) Subject: I need sample evetn handlers (please send me a tar) Message-ID: Hello friends I have untared my nagios distribution & do not found event handlers in it. any way i will be very thankful if anybody can send me a 'tar' of these event handlers. thanks with warm 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 sushildeshmukh at sqtl.com Tue Oct 26 08:30:03 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Tue, 26 Oct 2004 12:00:03 +0530 (IST) Subject: I need sample evetn handlers (please send me a tar) Message-ID: Hello friends I have untared my nagios distribution & do not found event handlers (folder) in it. any way i will be very thankful if anybody can send me a 'tar' of these event handlers folder. this folder contains some sample event handler scripts thanks with warm 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 misch at multinet.de Tue Oct 26 09:44:47 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Tue, 26 Oct 2004 09:44:47 +0200 Subject: Graphs In-Reply-To: <0b9d14fddb7b742fd5d5cd26a2232a17@vega.scarceskills.com> References: <0b9d14fddb7b742fd5d5cd26a2232a17@vega.scarceskills.com> Message-ID: <200410260944.56005.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Montag, 25. Oktober 2004 17:49 schrieben Sie: > Michael, > > Since you are successful with it, may we lesser beings view some of your > templates, especially the regexp ones ? :) > > Just in case someone here thinks that I am desperate ... yes I am, I just > can't seem to get the hang of the regular expressions :-) > > Martinus. Hi, I am just beginning to play with nagiostat. Basically I only added templates for the handling of SNMP querys (Processor load with net-snmp .enterprises.2021.10...) ValueRegexTemplate load "output:load:/SNMP \\w+ - \\*?([0-9]+)\\*?/" Tracing the output in debug.log helps very much. Please also see "man 7 regex" to learn about regex. Please contact me if you have further questions. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBfgB2qndXpO3Yl5sRAshtAJ4qldJ5Kf5Azw6JU69u+T7McDAbWwCfcjFR bHOhB/jd2MiSnqov85bbeK0= =Unqa -----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 ae at op5.se Tue Oct 26 10:01:40 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 10:01:40 +0200 Subject: Nagios Plugins on AIX 5.2 In-Reply-To: References: Message-ID: <417E0464.8090105@op5.se> CWaters at jeld-wen.com wrote: > Does anyone have the nagios plugins compiled and working successfully on AIX > 5.2? I really could use them but I have found so very little info on > getting them to compile properly. I would really like to get my grubby > little hands on them if someone on the list is willing to share. > Try 'make -i' (ignore errors) and see which ones that fail. You should be able to get most of the plugins compiled (scripts, if nothing else) which should provide you with at least basic functionality. -- 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 26 10:06:36 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 10:06:36 +0200 Subject: Plugin timed out after 10 seconds In-Reply-To: <20041026004338.GA18450@quex.org> References: <20041026004338.GA18450@quex.org> Message-ID: <417E058C.6090903@op5.se> nagios at mm.quex.org wrote: > On Mon, Oct 25, 2004 at 05:24:23PM -0500, Rudy Montemayor wrote: > > >>I have been getting a few notification messages of this type and I'm >>sure it's due to our network; however having said that how and where >>do I increase the timeout period to say 20 seconds. >> >>Notification Type: PROBLEM >> >>Service: Check /ORACLE/BP1/ORAARCH >>Host: HCIBP1 BW Prod >>State: CRITICAL >>CHECK_NRPE: Socket timeout after 10 seconds. > > > This one looks like the plugin itself is enforcing the timeout, > so look for a command-line switch to adjust the timeout. > > >>Also like this: >> >>Notification Type: PROBLEM >>Host: PRT204-Calgary >>State: DOWN >>Info: CRITICAL - Plugin timed out after 10 seconds > > > This one looks to me like Nagios is timing it out itself, so for > that one check the main config. > Umm, no. If that was nagios then the above would also be nagios. This is the 'default' plugin output for networking plugins that time out. check_nrpe does it a bit differently so as to distinguish between the check_nrpe plugin timing out and the remote plugin it's executing doing the same. > >>The next time the service is checked it recovers. Where is this 10 >>second limit set at? > > > Check the values of service_check_timeout and host_check_timeout > in the main configuration file. Note that host checks, when they > need to be done, kind of slow everything else down so it's better > if they don't take ages and ages to run... > Ignore that, and check for the -t option in your checkcommands file. > Also, since host checks aren't repeated X number of times before > the host is declared down, That depends on max_check_attempts, but host checks are done in a serialized manner, so a temporary spike lasting longer than max_check_attempts * plugin timeout will render a critical. > you may want to write a wrapper around > it to repeat the test 2 or 3 times if you have hosts that are a > little bit flaky, but you don't care if they stop responding for > a short period of time. > -- 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 26 10:10:58 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 10:10:58 +0200 Subject: SMS alerts My how-to In-Reply-To: <1098732075.14027.282.camel@tesuji.nac.uci.edu> References: <4177CBBD.2040002@unimedcy.com> <417940ED.1000507@op5.se> <417CCEE6.1030207@unimedcy.com> <417CD3FF.5010808@op5.se> <1098732075.14027.282.camel@tesuji.nac.uci.edu> Message-ID: <417E0692.7060603@op5.se> Dan Stromberg wrote: > Actually, I believe there is a globbing parameter you can set in bash, > that controls whether "foo*", upon matching nothing, will return "foo*" > or "". > (running bash 2.05b here) That's true. I didn't know about that earlier. If the 'nullglob' option is disabled it behaves as I said. If it is set, the word is removed. There's also 'nocaseglob', which expands regardless of case. None of these are enabled by default. > On Mon, 2004-10-25 at 03:22, Andreas Ericsson wrote: > >>Kyriacos Sakkas wrote: >> >>>Thanks to all for replies in how to make my script better, it now >>>incorporates nearly all of the suggested improvments, plus some >>>others of my own. >>> >>>I include the new current version below, together with an extra script >>>used, found in debians bash-doc package. If you wish to discuss it >>>further, please send To: me and cc to the list if you wish, otherwise >>>I might not spot your message. >>> >>>Thanks to all, >>> >>>Kyriacos Sakkas. >>> >>>Scripts: >>>smsspool.sh================================================== >>>#!/bin/bash >>>#simple sms spooling system, implemented for nagios >>>#People who added code to this: >>>#sakkas at unimedcy.com dennis at intouch.net andreas.ericsson at op5.se >>># >>>PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/scripts >>> >>> >>>for i in `ls /var/spool/sms/sms*` >>>do >> >>This first if conditional is toothless, as $i will never be empty. >>If there aren't any files in /var/spool/sms/sms* then $i will contain >>the string /var/spool/sms/sms*. Save yourself the indentation level and >>remove it. >> >> >>>if [ "$i" != "" ]; then >>> # fixed. Protects from symlink attacks. >>> test -f "$i" || continue >>> # get one line only >>> num=`head -n 1 "$i" | cut -d @ -f 2` >>> msg=`head -n 2 "$i" | cut -d @ -f 1` >>> /usr/local/scripts/timeout.sh -15 40 :2 +2 -- >>>/usr/bin/gsmsendsms -b 9600 -d /dev/mobilephone $nu >>>m "$msg" || exit 1 >>> logger "SMS Message Send to: -$num-" >>> # don't remove anything but exactly this file >>> # (double quotes is a meager safeguard, but better >>>than nothing). >>> rm -f "$i" >>> fi >>>done >>>exit 0 >>>=========================================================== >>>timeout.sh==================================================== >>>#Newsgroups: comp.unix.admin,comp.unix.solaris,comp.unix.shell >>>#From: gwc at root.co.uk (Geoff Clare) >>>#Subject: Re: timeout -t (Re: How to give rsh a >>>shorter timeout?) >>>#Message-ID: >>>#Date: Fri, 13 Feb 1998 18:23:52 GMT >>> >>># >>># Conversion to bash v2 syntax done by Chet Ramey >># UNTESTED >>># >>> >>>prog=${0##*/} >>>usage="usage: $prog [-signal] [timeout] [:interval] [+delay] [--] >>>" >>> >>>SIG=-TERM # default signal sent to the process when the timer >>>expires >>>timeout=60 # default timeout >>>interval=15 # default interval between checks if the process is >>>still alive >>>delay=2 # default delay between posting the given signal and >>> # destroying the process (kill -KILL) >>> >>>while : >>>do >>> case $1 in >>> --) shift; break ;; >>> -*) SIG=$1 ;; >>> [0-9]*) timeout=$1 ;; >>> :*) EXPR='..\(.*\)' ; interval=`expr x"$1" : "$EXPR"` ;; >>> +*) EXPR='..\(.*\)' ; delay=`expr x"$1" : "$EXPR"` ;; >>> *) break ;; >>> esac >>> shift >>>done >>> >>>case $# in >>>0) echo "$prog: $usage" >&2 ; exit 2 ;; >>>esac >>> >>>( >>> for t in $timeout $delay >>> do >>> while (( $t > $interval )) >>> do >>> sleep $interval >>> kill -0 $$ || exit >>> t=$(( $t - $interval )) >>> done >>> sleep $t >>> kill $SIG $$ && kill -0 $$ || exit >>> SIG=-KILL >>> done >>>) 2> /dev/null & >>> >>>exec "$@" >>>====================================================== >>> >>> >>> >>> >>>------------------------------------------------------- >>>This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >>>Use IT products in your business? Tell us what you think of them. Give us >>>Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >>>http://productguide.itmanagersjournal.com/guidepromo.tmpl >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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 Tue Oct 26 10:15:11 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 10:15:11 +0200 Subject: Debugging a plugin In-Reply-To: <20041026024350.GN31187@zippy.toger.us> References: <1098737382.417d66e69874f@webmail.tufts.edu> <417D8C26.5050401@bak.rr.com> <20041026024350.GN31187@zippy.toger.us> Message-ID: <417E078F.9000500@op5.se> Jason Martin wrote: > On Mon, Oct 25, 2004 at 04:28:38PM -0700, Steve Garcia wrote: > >>Is there a way to log the actual command issued by nagios to perform a >>service check? > > A permutation of the 'strace' command can do that for you. > Or ./configure --enable-DEBUG3; make nagios and then run it as a foreground process with nagios nagios.cfg > output.log 2>&1 & to redirect all output to output.log and detach it from terminal. Then use the web-interface to force the check you wish to run. output.log should contain all the info you need (and plenty more as well). > -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 26 10:18:05 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 10:18:05 +0200 Subject: I need sample evetn handlers (please send me a tar) In-Reply-To: References: Message-ID: <417E083D.3070106@op5.se> sushilkumar wrote: > Hello friends > > I have untared my nagios distribution & do not found event handlers > (folder) in it. any way i will be very thankful if anybody can send me a > 'tar' of these event handlers folder. > There are no default event handlers. Nagios just provides support for running any executable in case things go wrong in the network. It's up to you to know how to tackle the problem and thus create that executable. > this folder contains some sample event handler scripts > So have a look at them before you create your own. They should provide you with a general sort of idea of how to do things properly. -- 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 nagios at mm.quex.org Tue Oct 26 10:36:40 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 26 Oct 2004 16:36:40 +0800 Subject: Plugin timed out after 10 seconds In-Reply-To: <417E058C.6090903@op5.se> References: <20041026004338.GA18450@quex.org> <417E058C.6090903@op5.se> Message-ID: <20041026083640.GA23285@quex.org> On Tue, Oct 26, 2004 at 10:06:36AM +0200, Andreas Ericsson wrote: > nagios at mm.quex.org wrote: > >> Also, since host checks aren't repeated X number of times before >> the host is declared down, > > That depends on max_check_attempts, but host checks are done in a > serialized manner, so a temporary spike lasting longer than > max_check_attempts * plugin timeout will render a critical. My mistake. I thought there was an earlier discussion which concluded that the max_check_attempts setting is ignored for host checks, at least in 1.x. Having just tested it on our 1.2 installation, I see that it does actually work as it's supposed to. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samogonka at gmx.net Tue Oct 26 10:49:09 2004 From: samogonka at gmx.net (Alexander Schaefer) Date: Tue, 26 Oct 2004 10:49:09 +0200 Subject: Problem: queueing SMS-notifications Message-ID: <001a01c4bb38$a9474740$c70a280a@ges.local> Hello Nagios users! Since about 2 month i use SMS-program yaps to send Nagios-notifications as SMS at non-working hours with attached GSM modem. It was working well the as longor one notified contact. Last week i have changed the nagios configuration to notify 3 contacts via SMS with yaps... The problem is: only the first contact will be notified about a problems, beacause yaps does not queue the messages to be sent like MTA it does. So if yaps processes one message all another messages coming at this time will be ignored: [25.10.2004 19:08:28] s Starting up for service D1-0160 [25.10.2004 19:08:58] s Starting up for service D1-0171 [25.10.2004 19:08:58] e Unable to dial service D1-0171 [25.10.2004 19:08:58] s Starting up for service D1-0170 [25.10.2004 19:08:58] e Unable to dial service D1-0170 [25.10.2004 19:09:03] + TAP Message sent to 01609378485via D1-0160: PROBLEM: rou_wun1/Wunderstadt Serial1/3 is CRITICAL, Info: CRITICAL: (100.577%) output bandwidth utilization., Date Mon Oct 25 19:08:28 CEST 2004 [25.10.2004 19:09:05] c Session costs aprox. 0.36 DM [25.10.2004 19:09:05] e Session succeeded on service D1-0160 (duration 0:37) [25.10.2004 19:09:26] s Starting up for service D1-0160 [25.10.2004 19:09:56] s Starting up for service D1-0171 [25.10.2004 19:09:56] e Unable to dial service D1-0171 [25.10.2004 19:09:56] s Starting up for service D1-0170 [25.10.2004 19:09:56] e Unable to dial service D1-0170 Any ideas? Thanks for all your postings! Alex -------------- next part -------------- An HTML attachment was scrubbed... URL: From az at whoever.org Tue Oct 26 11:05:04 2004 From: az at whoever.org (az at whoever.org) Date: Tue, 26 Oct 2004 19:05:04 +1000 Subject: Problem: queueing SMS-notifications In-Reply-To: <001a01c4bb38$a9474740$c70a280a@ges.local> References: <001a01c4bb38$a9474740$c70a280a@ges.local> Message-ID: <1098781504.417e134069530@webmail.whoever.org> I'm not familiar with yaps... Try using smstools instead? We have some alerts queued for over 45 people dispatched over 2 GSM modems and it works like a dream. http://www.meinemullemaus.de/smstools/index.html ### This message was scanned for viruses by Sophos Anti-Virus. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 11:33:05 2004 From: martinus.nel at scarceskills.com (martinus.nel at scarceskills.com) Date: Tue, 26 Oct 2004 10:33:05 +0100 Subject: Graphs Message-ID: Andreas, I have spent a day or two reading up on regexp, playing with some of the on-line sites that you can test expressions out on and such. It's not that I am completely new to it, it's just that with nagiostat not everything makes sense to me. The basics I believe I understand. There is something else I think I am missing here. Let's take the following example: This is from the nagiostat debug.log file ... OUTPUT="NTP OK: Offset 0.000312 secs, jitter 0.055 msec, peer is stratum 3" Now, in my nagiostat.conf I have: ... "output:offset:/-?([0-9.]+)/" "output:jitter:/jitter ([0-9.]+) msec/" As it is there ^^, this is what happens: +VALUE: 0.000492 +VALUE: 0.157 So far, so fine... Now I change the regexp to read "Offset -?([0-9.]+)", and still it only pulls the number (a good thing for me, I only want the number - but that is not how I was understanding things. The same for the jitter part, why does nagiostat only pull the numbers ?). But now, ntp offset is not always positive, that is why I added '-?', so, I get a line that reads: OUTPUT="NTP OK: Offset -0.000509 secs, jitter 0.157 msec, peer is stratum 3" And my regexp is ^^, the output: +VALUE: 0.000509 +VALUE: 0.157 What happened to '-' ? I want to insert a negative value into RRD, so this is wrong for me. In that regex coach, I clich on the "split" tab, and what do I see ... it only picks the numbers. Is this how nagiostat work, "split" ? What is "split" ? and how do I get negative values ? All help much appreciated :-) Martinus. p.s. Tedman, thank you for that regex-coach :-) Andreas Ericsson wrote: >martinus.nel at scarceskills.com wrote: >> Michael, >> >> Since you are successful with it, may we lesser beings view some of your >> templates, especially the regexp ones ? :) >> >> Just in case someone here thinks that I am desperate ... yes I am, I >just >> can't seem to get the hang of the regular expressions :-) >> > >It's really pretty straightforward, so long as you remember a couple of >simple rules; >[abc] denotes a character class and matches any of the characters a, b or >c. >* means 'match any or none of the previous character (class)' >. means 'match any char'. >There are others as well, but those are the ones that doesn't require >odd escaping. Fling around with grep and sed a bit and I'm sure you'll >get the idea. For instance, try; >grep '.*foo.*' >and then type a lot of gibberish. The lines you type with 'foo' >somewhere in them will match and be printed twice. > >Regex matching with substitutions works the same way, but it has >delimiters at the beginning, the end and between the match and the >substitution. The delimiter can be any char, but / and , and # and | are >commonly seen in shell-scripts. >thus >sed 's/foo/bar/' >(gibberish goes here) >will replace (the leading s in the sed command means substitute) foo >with bar in any text you type. > >Fool around a bit. It's the best way to learn, and you'll learn more as >you go along. Should all else fail, pick up a book on perl. It's main >feature is just that, regexing, so they're bound to be covered in detail. > >-- >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 > -- --------------------------------------------------------------------------- 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 Tom.DeBlende at dhl.com Tue Oct 26 11:35:00 2004 From: Tom.DeBlende at dhl.com (Tom DE BLENDE (GCC)) Date: Tue, 26 Oct 2004 11:35:00 +0200 Subject: Problem: queueing SMS-notifications In-Reply-To: <1098781504.417e134069530@webmail.whoever.org> References: <001a01c4bb38$a9474740$c70a280a@ges.local> <1098781504.417e134069530@webmail.whoever.org> Message-ID: <417E1A44.8020604@dhl.com> Or try smsclient, it has its own queueing mechanism built in and works like a charm... az at whoever.org wrote: >I'm not familiar with yaps... Try using smstools instead? We have some alerts >queued for over 45 people dispatched over 2 GSM modems and it works like a >dream. > >http://www.meinemullemaus.de/smstools/index.html >### This message was scanned for viruses by Sophos Anti-Virus. > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please 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 H.Blaauw at solweb.nl Tue Oct 26 11:41:13 2004 From: H.Blaauw at solweb.nl (Hans Blaauw) Date: Tue, 26 Oct 2004 11:41:13 +0200 Subject: Compiling NRPE-2.0 under SCO Openserver 5 Message-ID: I did the same and it compiled ! But it doesn't work for some reason. When i start it from the commandline (nrpe &) and then I try to connect with telnet localhost 5666 I get a segmentation fault, with a core dump.... I added the required lines in inetd.conf & services.... Anybody an idea ? Many thanks in advance ! -----Oorspronkelijk bericht----- Van: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Namens Steve Garcia Verzonden: Monday, October 25, 2004 11:53 PM Aan: nagios-users at lists.sourceforge.net Onderwerp: Re: [Nagios-users] Compiling NRPE-2.0 under SCO Openserver 5 I ran into this exact problem (today) trying to compile NRPE on Digital Unix. The problem appeared to be that int16_t is not defined on Digital Unix. I added: typedef short int16_t; to the common/config.h file, and that problem went away. Then it complained about socklen_t, and I added: typedef u_int32_t socklen_t; to the same file and that problem went away. Then it complained about the struct option long_options[] and now I'm back to trying to get netsaint_statd to behave. Jan Scholten wrote: > I think the licences for Linux are missing ;-) > > SCNR! > > Did you do a ./configure ? > > > README says: > ./configure > make all > > Jan > >> Dear all, >> >> >> I tried to compile NRPE under SCO Openserver 5 but got the following >> errors. Anybody any idea what is going wrong and/or missing ? >> >> Many thanks in advance >> >> Hans Blaauw >> >> >> The errors: >> >> cd ./src/; make ; cd .. >> >> gcc -g -O2 -DHAVE_CONFIG_H -o nrpe nrpe.c utils.c -lnsl >> -lsocket >> >> In file included from nrpe.c:21: >> >> ./common/common.h:64: parse error before `int16_t' >> >> ./common/common.h:64: warning: no semicolon at end of struct or union >> >> ./common/common.h:65: warning: data definition has no type or storage >> class >> >> ./common/common.h:67: parse error before `result_code' >> >> ./common/common.h:67: warning: data definition has no type or storage >> class >> >> ./common/common.h:69: parse error before `}' >> >> ./common/common.h:69: warning: data definition has no type or storage >> class >> >> nrpe.c:47: parse error before `*' >> >> nrpe.c: In function `wait_for_connections': >> >> nrpe.c:520: `socklen_t' undeclared (first use in this function) >> >> nrpe.c:520: (Each undeclared identifier is reported only once >> >> nrpe.c:520: for each function it appears in.) >> >> nrpe.c:520: parse error before `addrlen' >> >> nrpe.c:619: `addrlen' undeclared (first use in this function) >> >> nrpe.c: In function `handle_connection': >> >> nrpe.c:695: `packet' undeclared (first use in this function) >> >> nrpe.c:695: parse error before `receive_packet' >> >> nrpe.c:750: `receive_packet' undeclared (first use in this function) >> >> nrpe.c:900: `send_packet' undeclared (first use in this function) >> >> nrpe.c:906: `int16_t' undeclared (first use in this function) >> >> nrpe.c:906: parse error before `htons' >> >> nrpe.c:907: parse error before `htons' >> >> nrpe.c:908: parse error before `htons' >> >> nrpe.c: At top level: >> >> nrpe.c:1261: parse error before `*' >> >> nrpe.c: In function `validate_request': >> >> nrpe.c:1274: `pkt' undeclared (first use in this function) >> >> nrpe.c:1276: `packet' undeclared (first use in this function) >> >> In file included from utils.c:32: >> >> ./common/common.h:64: parse error before `int16_t' >> >> ./common/common.h:64: warning: no semicolon at end of struct or union >> >> ./common/common.h:65: warning: data definition has no type or storage >> class >> >> ./common/common.h:67: parse error before `result_code' >> >> ./common/common.h:67: warning: data definition has no type or storage >> class >> >> ./common/common.h:69: parse error before `}' >> >> ./common/common.h:69: warning: data definition has no type or storage >> class >> >> *** Error code 1 (bu21) >> >> *** Error code 1 (bu21) >> >> > > > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mb at aldebaran.de Tue Oct 26 12:38:18 2004 From: mb at aldebaran.de (Moritz Both) Date: Tue, 26 Oct 2004 12:38:18 +0200 Subject: checking internet connectivity Message-ID: <417E291A.9090308@aldebaran.de> Please excuse me if this is a frequently discussed question; i have searched but found it difficult to find good search terms: How do folks check Internet connectivity? Checking the "presence" of "the Internet" is neccessary to us to make other checked hosts and services dependent on that, i.e. we dont want to generate notifications for services we check but which are located somewhere else when our own Internet connection is gone. - Do you simply ping www.google.com or something? - Is pinging third party hosts considered unfriendly since we use their bandwidth? (Do you ping hosts you dislike for this reason? :) - Is there a best practice for that? - Even Google can vanish, but in that case we still would like to check our services. Thanks for any hints, Moritz -- Moritz Both Aldebaran Daten- und Kommunikationssysteme GmbH Im Moore 26 30167 Hannover Tel. +49 511 270 41 60 Fax +49 511 27 04 16 33 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Tue Oct 26 13:11:55 2004 From: az at whoever.org (Az) Date: Tue, 26 Oct 2004 21:11:55 +1000 Subject: checking internet connectivity In-Reply-To: <417E291A.9090308@aldebaran.de> References: <417E291A.9090308@aldebaran.de> Message-ID: <1098789115.417e30fbf1a12@webmail.whoever.org> Quoting Moritz Both : > Please excuse me if this is a frequently discussed question; i have > searched but found it difficult to find good search terms: > > How do folks check Internet connectivity? Hi Moritz, I guess it depends on what you are checking. Just for link... we check the enternal interfaces of our firewalls, plus the next upstream hop (as configured in the firewall). We also do root name server checks for DNS being alive. We dont check anything else as we feel thats more than ample for us. Cheers. ### This message was scanned for viruses by Sophos Anti-Virus. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 13:12:40 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Tue, 26 Oct 2004 19:12:40 +0800 Subject: checking internet connectivity In-Reply-To: <417E291A.9090308@aldebaran.de> References: <417E291A.9090308@aldebaran.de> Message-ID: <20041026111240.GA24995@quex.org> On Tue, Oct 26, 2004 at 12:38:18PM +0200, Moritz Both wrote: > Please excuse me if this is a frequently discussed question; i have > searched but found it difficult to find good search terms: > > How do folks check Internet connectivity? > > - Do you simply ping www.google.com or something? > > - Is pinging third party hosts considered unfriendly since we use their > bandwidth? (Do you ping hosts you dislike for this reason? :) > > - Is there a best practice for that? > > - Even Google can vanish, but in that case we still would like to check > our services. Usually you'd use your default gateway. If you're in a position where you have multiple gateways with automagical failover, you could either create a special check to test all of them and report okay if any of them is up, or pick some other part of your network provider's core infrastructure. Some people do get annoyed at having random hosts pinging them all the time, but most ISP's would not have too much of an issue with their customers doing it. For our network, I use our upstream provider's network core (which all our traffic goes through), and then the external network IP of the internet gateway at our locations in either cities. If there's a fault "somewhere on the internet", then we'll see it as the gateway for a particular remote location being down (or multiple remote locations, if it's a big fault). We can then investigate further ourselves to see exactly where the problem is. If our provider implodes, we should see their core as being the failure point (whether it's because it failed, or just our link to them failed). Basically, just run a traceroute to the target and pick a hop that looks important. It's a good idea to do a few of these at different times over the course of a week or so; you should pretty easily be able to work out which ones are always there and which ones aren't. Alternatively, you could ask your upstream to provide a suitable host you can use to check your connectivity. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 14:37:49 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 14:37:49 +0200 Subject: Graphs In-Reply-To: References: Message-ID: <417E451D.9030608@op5.se> martinus.nel at scarceskills.com wrote: > Andreas, > > I have spent a day or two reading up on regexp, playing with some of the > on-line sites that you can test expressions out on and such. It's not that > I am completely new to it, it's just that with nagiostat not everything > makes sense to me. > > The basics I believe I understand. There is something else I think I am > missing here. > > Let's take the following example: > > This is from the nagiostat debug.log file ... > > OUTPUT="NTP OK: Offset 0.000312 secs, jitter 0.055 msec, peer is stratum 3" > > Now, in my nagiostat.conf I have: > > ... "output:offset:/-?([0-9.]+)/" "output:jitter:/jitter ([0-9.]+) msec/" > > As it is there ^^, this is what happens: > > +VALUE: 0.000492 > +VALUE: 0.157 > > So far, so fine... Now I change the regexp to read "Offset -?([0-9.]+)", and > still it only pulls the number (a good thing for me, I only want the number > - but that is not how I was understanding things. The same for the jitter > part, why does nagiostat only pull the numbers ?). > > But now, ntp offset is not always positive, that is why I added '-?', so, I > get a line that reads: > > OUTPUT="NTP OK: Offset -0.000509 secs, jitter 0.157 msec, peer is stratum 3" > > And my regexp is ^^, the output: > > +VALUE: 0.000509 > +VALUE: 0.157 > > What happened to '-' ? I want to insert a negative value into RRD, so this > is wrong for me. > Parentheses create back-references. Include the minus (without the question mark) inside the parentheses and it will be output (I think. I haven't tried the regex engine of nagiostat). > In that regex coach, I clich on the "split" tab, and what do I see ... it > only picks the numbers. > > Is this how nagiostat work, "split" ? > What is "split" ? > and how do I get negative values ? > > All help much appreciated :-) > > Martinus. > p.s. > > Tedman, thank you for that regex-coach :-) > > > Andreas Ericsson wrote: > >>martinus.nel at scarceskills.com wrote: >> >>>Michael, >>> >>>Since you are successful with it, may we lesser beings view some of your >>>templates, especially the regexp ones ? :) >>> >>>Just in case someone here thinks that I am desperate ... yes I am, I >> >>just >> >>>can't seem to get the hang of the regular expressions :-) >>> >> >>It's really pretty straightforward, so long as you remember a couple of >>simple rules; >>[abc] denotes a character class and matches any of the characters a, b or >>c. >>* means 'match any or none of the previous character (class)' >>. means 'match any char'. >>There are others as well, but those are the ones that doesn't require >>odd escaping. Fling around with grep and sed a bit and I'm sure you'll >>get the idea. For instance, try; >>grep '.*foo.*' >>and then type a lot of gibberish. The lines you type with 'foo' >>somewhere in them will match and be printed twice. >> >>Regex matching with substitutions works the same way, but it has >>delimiters at the beginning, the end and between the match and the >>substitution. The delimiter can be any char, but / and , and # and | are >>commonly seen in shell-scripts. >>thus >>sed 's/foo/bar/' >>(gibberish goes here) >>will replace (the leading s in the sed command means substitute) foo >>with bar in any text you type. >> >>Fool around a bit. It's the best way to learn, and you'll learn more as >>you go along. Should all else fail, pick up a book on perl. It's main >>feature is just that, regexing, so they're bound to be covered in detail. >> >>-- >>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 >> > > -- > --------------------------------------------------------------------------- > 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 > -- 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 gabe at pancentric.com Tue Oct 26 14:55:58 2004 From: gabe at pancentric.com (Gabriel Granger) Date: Tue, 26 Oct 2004 13:55:58 +0100 Subject: using a mobile to send alerts Message-ID: <61F257DE-274E-11D9-816D-000A95864E06@pancentric.com> Hi All, I've got nagios all setup and working fine, been using it for a year or so. I've been asked to look into the possibility of hooking up a mobile phone so rather then emailing me and the team, it could send a sms. I live in the UK and was wondering if anyone has done this and can recommend a phone to use with this? and how hard is it to setup? Many thanks for your time and advise. Gabe ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sleech at jackofallgames.com Tue Oct 26 16:17:28 2004 From: sleech at jackofallgames.com (Steve Leech) Date: Tue, 26 Oct 2004 10:17:28 -0400 Subject: check_disk_smb Message-ID: I'm new to Nagios, and am in the process of setting up services and check commands. Currently, I'm trying to get a warning if the system drive on a Windows 2000 Server gets below 750MB, and a critical message when it goes below 500MB. Here's what I have: Check_disk_smb -H -s -w 750M -c 500M I've given this a check command name and have added it to services.cfg for the server in question. I've tried this with the addition of administrator user and password. When I change the "-w 750M" to a number above what is currently available on the C: drive, I get no warning message (I make the change using kedit, save it, then restart nagios). Any ideas? Thanks, Steve ********************************************************************************************************************************************************************************************************************************** The information transmitted is intended only for the person to whom it is addressed and may be confidential and privileged and protected from disclosure. Any review, retransmission, dissemination or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipients are prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. ********************************************************************************************************************************************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From craigc at nortelnetworks.com Tue Oct 26 16:30:08 2004 From: craigc at nortelnetworks.com (craig) Date: Tue, 26 Oct 2004 10:30:08 -0400 Subject: Solaris compile issues - statusmap.cgi and others Message-ID: <1098801008.3640.128.camel@wnc0h0jy.us.nortel.com> How can I get this quote from: Karl DeBisschop added to the nagios install guide, or FAQ page somewhere? (Found on: http://listsrv.ecodev.state.mo.us/mailarchives/netsaint-users/200112/msg00250.html ) "LD_LIBRARY_PATH doesn't work as well as you'd like here (for a variety of probably good secuirty considerations). On solaris, set LD_RUN_PATH before you compile." I spent a while trying to compile nagios on Solaris correctly. I did the ldd statusmap.cgi trick as mentioned in the FAQ and it showed the gd libs linked correctly to /usr/local/lib, but statusmap.cgi refused to work until recompiled with LD_RUN_PATH set. Thanks Craig Cook ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 26 16:29:50 2004 From: nagios at linint.net (nagios) Date: Tue, 26 Oct 2004 16:29:50 +0200 Subject: check_disk_smb References: Message-ID: <001301c4bb68$4169eb70$8c6f7d50@centrino1> For me , it is a syntax problem . Perhaps you have to invert the signification of disk space , so you have to add : after your criterias -c and -w without M ? like this -w 750: -c 500: and not -w 750M -c 500M Good luck Guilhem michel ( http://www.linint.net ) ----- Original Message ----- From: Steve Leech To: nagios-users at lists.sourceforge.net Sent: Tuesday, October 26, 2004 4:17 PM Subject: [Nagios-users] check_disk_smb I'm new to Nagios, and am in the process of setting up services and check commands. Currently, I'm trying to get a warning if the system drive on a Windows 2000 Server gets below 750MB, and a critical message when it goes below 500MB. Here's what I have: Check_disk_smb -H -s -w 750M -c 500M I've given this a check command name and have added it to services.cfg for the server in question. I've tried this with the addition of administrator user and password. When I change the "-w 750M" to a number above what is currently available on the C: drive, I get no warning message (I make the change using kedit, save it, then restart nagios). Any ideas? Thanks, Steve ********************************************************************************************************************************************************************************************************************************** The information transmitted is intended only for the person to whom it is addressed and may be confidential and privileged and protected from disclosure. Any review, retransmission, dissemination or other use of, or taking any action in reliance upon, this information by persons or entities other than the intended recipients are prohibited. If you are not the intended recipient, please contact the sender and delete the material from any computer. ********************************************************************************************************************************************************************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From bgeraldo at towerstream.com Tue Oct 26 16:37:42 2004 From: bgeraldo at towerstream.com (Bolivar Geraldo) Date: Tue, 26 Oct 2004 10:37:42 -0400 Subject: OCSP Command not being executed Message-ID: I am trying to get Distributed monitoring setup with Nagios and I'm running into a slight problem. I've followed all of the documentation and setup the ocsp_command=submit_check_result directive on my remote Nagios server. NSCA is setup and running on both my remote server and the central server. All of my services have the obsess_over_service directive set to 1. However, the submit_check_result script doesn't seem to ever get run. If I run the script by hand everything works, so I know the communication between my central and remote servers is fine. Should the submit_check_result get run after every service check? Shouldn't there be a log entry about OCSP? Please help... Bolivar Geraldo (Junior) Network Systems Engineer 781-290-0705 x254 Towerstream Corp. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 26 16:53:17 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 26 Oct 2004 07:53:17 -0700 Subject: OCSP Command not being executed In-Reply-To: References: Message-ID: <20041026145317.GO31187@zippy.toger.us> On Tue, Oct 26, 2004 at 10:37:42AM -0400, Bolivar Geraldo wrote: > ocsp_command=submit_check_result directive on my remote Nagios server. > NSCA is setup and running on both my remote server and the central > server. All of my services have the obsess_over_service directive set > to 1. Did you set the obsess_over_services option in the nagios.cfg? It has to be set there as well. > submit_check_result get run after every service check? Shouldn't there Yes. -Jason Martin -- There's more than one way to scan a cat. 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 nagiosmaillist.4.lgetschel at spamgourmet.com Tue Oct 26 16:49:12 2004 From: nagiosmaillist.4.lgetschel at spamgourmet.com (nagiosmaillist.4.lgetschel at spamgourmet.com) Date: Tue, 26 Oct 2004 08:49:12 -0600 Subject: error: Cannot find ssl libraries Message-ID: <417E63E8.30707@denver.westerngeco.slb.com> Hello All- I inherited a Nagios environment that was minimally running. I've been following the posts for a couple of months now. I've gotten nrpe to work on a number of our RH 7.2 and RH 9 Linux systems. However another set of RH systems "complain" when I try to compile nrpe on them. I get: "checking for SSL... configure: error: Cannot find ssl libraries" (I thought I had an OS version issue when I tried running nrpe -d manually, and got: "error while loading shared libraries: libcrypto.so.4: cannot open shared object file: No such file or directory". So I tried compiling it myself. Then I realized is a was a packages issue. I checked what packages I had installed: rpm -a -q | grep ssl only shows the openssl-0.9.6b-8 package installed. on my working systems, I show all these packages installed. # rpm -a -q | grep ssl openssl-0.9.7a-5 openssl-devel-0.9.7a-5 docbook-style-dsssl-1.76-8 mod_ssl-2.0.40-21.3 openssl096-0.9.6-17 openssl-perl-0.9.7a-5 openssl096b-0.9.6b-6 My question is simply, Of all these packages, which package(s) do I need to add so that these other systems will work? Thanks, Lewis -- Lewis Getschel | Today is done... WesternGeco | Today was fun... 1625 Broadway | Tommorrow is another one. Denver, CO 80202 | Direct Phone - 303-389-4407| -- Dr. Seuss -- Don't worry about the ... at spamgourmet.com in my address, it's a great re-direction service. ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 26 17:13:14 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 17:13:14 +0200 Subject: error: Cannot find ssl libraries In-Reply-To: <417E63E8.30707@denver.westerngeco.slb.com> References: <417E63E8.30707@denver.westerngeco.slb.com> Message-ID: <417E698A.5010905@op5.se> nagiosmaillist.4.lgetschel at spamgourmet.com wrote: > > So I tried compiling it myself. Then I realized is a was a packages > issue. I checked what packages I had installed: > rpm -a -q | grep ssl > only shows the openssl-0.9.6b-8 package installed. > > on my working systems, I show all these packages installed. > # rpm -a -q | grep ssl > openssl-0.9.7a-5 > openssl-devel-0.9.7a-5 > docbook-style-dsssl-1.76-8 > mod_ssl-2.0.40-21.3 > openssl096-0.9.6-17 > openssl-perl-0.9.7a-5 > openssl096b-0.9.6b-6 > > My question is simply, Of all these packages, which package(s) do I need > to add so that these other systems will work? openssl and openssl-devel. > Thanks, You're welcome. > Lewis > -- 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 bgeraldo at towerstream.com Tue Oct 26 17:15:40 2004 From: bgeraldo at towerstream.com (Bolivar Geraldo) Date: Tue, 26 Oct 2004 11:15:40 -0400 Subject: [SPAM] - Re: OCSP Command not being executed - Email found in subject Message-ID: Yes I have set the obsess_over_services option in the nagios.cfg. It is set to 1. But I'm still not seeing submit_check_result getting run. JR. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Martin Sent: Tuesday, October 26, 2004 10:53 AM To: nagios-users at lists.sourceforge.net Subject: [SPAM] - Re: [Nagios-users] OCSP Command not being executed - Email found in subject On Tue, Oct 26, 2004 at 10:37:42AM -0400, Bolivar Geraldo wrote: > ocsp_command=submit_check_result directive on my remote Nagios server. > NSCA is setup and running on both my remote server and the central > server. All of my services have the obsess_over_service directive set > to 1. Did you set the obsess_over_services option in the nagios.cfg? It has to be set there as well. > submit_check_result get run after every service check? Shouldn't there Yes. -Jason Martin -- There's more than one way to scan a cat. 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 LLawrence at osc.uscg.mil Tue Oct 26 17:18:07 2004 From: LLawrence at osc.uscg.mil (Lawrence, Lynne) Date: Tue, 26 Oct 2004 11:18:07 -0400 Subject: Graphs Message-ID: <13828F680182D511893300508BD6831706E58350@oscex2.osc.uscg.mil> > > ... "output:offset:/-?([0-9.]+)/" "output:jitter:/jitter > ([0-9.]+) msec/" > > > > As it is there ^^, this is what happens: > > > > +VALUE: 0.000492 > > +VALUE: 0.157 > > > > So far, so fine... Now I change the regexp to read "Offset > -?([0-9.]+)", and > > still it only pulls the number (a good thing for me, I only > want the number > > - but that is not how I was understanding things. The same > for the jitter > > part, why does nagiostat only pull the numbers ?). > > > > But now, ntp offset is not always positive, that is why I > added '-?', so, I > > get a line that reads: > > > > OUTPUT="NTP OK: Offset -0.000509 secs, jitter 0.157 msec, > peer is stratum 3" > > > > And my regexp is ^^, the output: > > > > +VALUE: 0.000509 > > +VALUE: 0.157 > > > > What happened to '-' ? I want to insert a negative value > into RRD, so this > > is wrong for me. > > > > Parentheses create back-references. Include the minus (without the > question mark) inside the parentheses and it will be output > (I think. I > haven't tried the regex engine of nagiostat). Actually, I believe you _do_ want to include the '?' in the parens, otherwise positive values will not match. Try: "output:offset:/(-?[0-9.]+)/" to pick up either positive or negative values. Regards, Lynne Lawrence QSS/USCG > ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Oct 26 17:19:25 2004 From: jhmartin at toger.us (Jason Martin) Date: Tue, 26 Oct 2004 08:19:25 -0700 Subject: OCSP Command not being executed In-Reply-To: References: Message-ID: <20041026151925.GQ31187@zippy.toger.us> On Tue, Oct 26, 2004 at 11:15:40AM -0400, Bolivar Geraldo wrote: > Yes I have set the obsess_over_services option in the nagios.cfg. It > is set to 1. But I'm still not seeing submit_check_result getting run. Try making the submit_check_result some really easy command, such as "echo 1 >> /tmp/somenewfile.$$". Restart Nagios and see if the file is created. If so then there is something about the particular command you provided that is failing. -Jason Martin -- Useless Invention: Remote control for a computer. 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 joost at informatiefabriek.nl Tue Oct 26 17:51:07 2004 From: joost at informatiefabriek.nl (joost at informatiefabriek.nl) Date: Tue, 26 Oct 2004 17:51:07 +0200 Subject: monitoring Lotus Domino Server on unix (NRPE) Message-ID: Hi all, I use NRPE for monitoring disks on my redhat server. diskspace notification is working; nrpe works fine.. I also want to monitor Lotus Domino server on the server I run the NRPE deamon. When notes hangs I want nagios to send a notification. Is there anyone who tried this? One problem is that redhat doesn't kill the notes process when notes fails or hangs. Maybe someone have a solution for this I hope someone can help me with this, because I couldn't find any usuable info on the internet. thx in advance .. kind regards, Joost Saanen informatiefabriek The Netherlands -------------- next part -------------- An HTML attachment was scrubbed... URL: From ae at op5.se Tue Oct 26 18:03:31 2004 From: ae at op5.se (Andreas Ericsson) Date: Tue, 26 Oct 2004 18:03:31 +0200 Subject: monitoring Lotus Domino Server on unix (NRPE) In-Reply-To: References: Message-ID: <417E7553.4080105@op5.se> joost at informatiefabriek.nl wrote: > Hi all, > > I use NRPE for monitoring disks on my redhat server. diskspace > notification is working; nrpe works fine.. > > I also want to monitor Lotus Domino server on the server I run the NRPE > deamon. When notes hangs I want nagios to send a notification. > Is there anyone who tried this? One problem is that redhat doesn't kill > the notes process when notes fails or hangs. Maybe someone have a solution > for this > That depends on how it hangs. Poorly written programs can sometimes get caught in uninterruptable IO. It's perfectly normal for a program to go non-interruptable every now and then, but it shouldn't stay there for any prolonged period of time. A process in uninterruptable state has the 'D' flag set in ps output, so you should be able to check it with check_procs. Usually, checking for both 'D' and 'Z' processes, both with a rather low threshold, can help you keep your system healthy, or at least properly diagnosed. -- 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 sgarcia at bak.rr.com Tue Oct 26 19:10:46 2004 From: sgarcia at bak.rr.com (Steve Garcia) Date: Tue, 26 Oct 2004 10:10:46 -0700 Subject: Debugging a plugin In-Reply-To: <417E078F.9000500@op5.se> References: <1098737382.417d66e69874f@webmail.tufts.edu> <417D8C26.5050401@bak.rr.com> <20041026024350.GN31187@zippy.toger.us> <417E078F.9000500@op5.se> Message-ID: <417E8516.8040101@bak.rr.com> Andreas Ericsson wrote: > Jason Martin wrote: > >> On Mon, Oct 25, 2004 at 04:28:38PM -0700, Steve Garcia wrote: >> >>> Is there a way to log the actual command issued by nagios to perform >>> a service check? >> >> >> A permutation of the 'strace' command can do that for you. >> > > Or ./configure --enable-DEBUG3; make nagios and then run it as a > foreground process with > nagios nagios.cfg > output.log 2>&1 & > to redirect all output to output.log and detach it from terminal. Then > use the web-interface to force the check you wish to run. > output.log should contain all the info you need (and plenty more as well). Aha. That's what I needed to know. I'll give that a try. Thanks! ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From kleclair at tsgny.com Tue Oct 26 19:54:02 2004 From: kleclair at tsgny.com (Keith LeClaire Jr) Date: Tue, 26 Oct 2004 13:54:02 -0400 Subject: X-IMail-SPAM-Phrase Nagios not executing OCSP command Message-ID: <200410261354906.SM00416@DumbAss> Hello All, I have a single monitoring server setup with Nagios 1.2 and it works great. I needed to a a second system to do monitoring of a private network and was setting up as a distributed monitoring server that submits passive check results to my central server. My problem is that nagios 1.2 on the distributed server is not executing the ocsp command. I have obsess over services set 1, but its still no executing the command. I know the command work because if I run I from the commandline of the box is submits the check results just fine. Any ideas? Thanks, Keith -------------------------------------- + Keith LeClaire Jr + + Network Engineer + + World Discount Telecommunications + -------------------------------------- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From naman.latif at inamed.com Tue Oct 26 20:35:52 2004 From: naman.latif at inamed.com (Naman Latif) Date: Tue, 26 Oct 2004 11:35:52 -0700 Subject: Check_ifoperstatus Plugin Message-ID: <83B3FCAD284096489C9967C54B33B6B3049B3178@sigma.inamed.com> Hi, I am using "check_ifoperstatus" plugin to monitor various Cisco devices. It works fine mostly but for some devices its coming back as "check_ifoperstatus plugin for Nagios monitors operational" in the Status Information field. I have verified that exactly the same command works from the command line and returns the correct info as "Interface xxx is up". Randomly it will start working ok. NAGIOS considers this false information as OK and doesn't send out the notification. I have seen the same message being returned even if the device didn't respond to SNMP and NAGIOS considered it as OK state and didn't send out a notification. Anyone had the same problem ? \\ Naman ? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From atmosfear at users.sourceforge.net Tue Oct 26 20:43:05 2004 From: atmosfear at users.sourceforge.net (Felix Buenemann) Date: Tue, 26 Oct 2004 20:43:05 +0200 Subject: Checking windows version In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E5941BC@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E5941BC@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <200410262043.05576.atmosfear@users.sourceforge.net> Hi Philipp, I don't have a plugin ready for this, but it can all be extracted from SNMP information. Anyways, how do you want to analyze installed hotfixes from nagios? That IMHO makes no sense and there are other tools that do that just fine, eg. Retina from eEye Security to name a (very good) commercial tool. On Monday 25 October 2004 10:50, Sand Philipp wrote: > Hi list, > > I wonder if anyone got a plugin to check information about the installed > windows version on a target host (Win 2000 Server, Win 2003 Server, State > of Hotfixes etc.) Best practice would be if you could do it without any > extra client but nsclient installed on the target system... > > Regards, > Philipp BTW. Pleas shorten your signature to at most 4-6 lines, at least for mailing list posts. If everyone used such gigantic sig, mailing list traffic would explode. -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From michael at halligan.org Tue Oct 26 20:44:14 2004 From: michael at halligan.org (Michael T. Halligan) Date: Tue, 26 Oct 2004 11:44:14 -0700 (PDT) Subject: Authentication debugging? Message-ID: <57517.66.150.251.135.1098816254.squirrel@mail3.bitpusher.com> I'm having problems on a new nagios server with authentication. It's somewhat annoying, because the only indication of an error, is after I login, any page I go to gives me this error : ----------------------- It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. ------------------------ I also notice that the box in the top-left corner which usually reads "logged in as michael" reads "logged in as ?" .. Is there a way to make nagios dump more useful information than this? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From atmosfear at users.sourceforge.net Tue Oct 26 20:51:11 2004 From: atmosfear at users.sourceforge.net (Felix Buenemann) Date: Tue, 26 Oct 2004 20:51:11 +0200 Subject: SMTP Service Queue Monitoring (Windows) In-Reply-To: <6DB6E1ED582EFE45BE27468BD45B982F01190177@MX1.STATE.NV.US> References: <6DB6E1ED582EFE45BE27468BD45B982F01190177@MX1.STATE.NV.US> Message-ID: <200410262051.11645.atmosfear@users.sourceforge.net> Hi Dan, the queue is IIRC stored as files in a specific directory. So I see two simple solutions: a) Export (share) that dir read-only or rather list-only and have the nagios server run a script on it to count the number of items, eg. ls |wc -l b) do the same using a batch or wsh file and nagios plugin agent on the windows server. On Monday 25 October 2004 20:42, Dan Goggiano wrote: > We are running a relay system in Windows 2k3 to provide some > spam filtering and virus scanning. We occasionally have the problem of > inbound mail being received and queued but not sent out. We monitor the > services and they (IIS + SMTP) are both running, but the queue just > keeps going. I would like to monitor the number of files in the queue > directory to make sure a certain threshold has not been exceeded. Has > anyone successfully done this on the Windows side with Nagios, or is > there a better way? Can't find any useful performance counters, > etc...so help would be greatly appreciated! > - Dan Goggiano -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From gpoiret at altern.org Tue Oct 26 21:42:42 2004 From: gpoiret at altern.org (Gilles POIRET) Date: Tue, 26 Oct 2004 21:42:42 +0200 Subject: Question: Service Availability Report In-Reply-To: <529198d9.8f64d3cd.81f8400@gol-mas2.austarnet.com.au> References: <529198d9.8f64d3cd.81f8400@gol-mas2.austarnet.com.au> Message-ID: Hi all, Did the Ronald's question have an answer ? I have exactly the same kind of problem, and I have actually no solution... >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" ?? Thanks a lot. Regards. -- Gilles POIRET Ronald Sent by: nagios-users-admin at lists.sourceforge.net 15/10/2004 02:18 Please respond to onramp To: Marc Powell , nagios-users at lists.sourceforge.net cc: Subject: RE: [Nagios-users] Question: Service Availability Report 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 -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-10-01-2004-00.log Type: application/octet-stream Size: 6991 bytes Desc: not available URL: From sgarcia at bak.rr.com Tue Oct 26 22:18:49 2004 From: sgarcia at bak.rr.com (Steve Garcia) Date: Tue, 26 Oct 2004 13:18:49 -0700 Subject: Debugging a plugin In-Reply-To: <417E078F.9000500@op5.se> References: <1098737382.417d66e69874f@webmail.tufts.edu> <417D8C26.5050401@bak.rr.com> <20041026024350.GN31187@zippy.toger.us> <417E078F.9000500@op5.se> Message-ID: <417EB129.3040000@bak.rr.com> Andreas Ericsson wrote: > Jason Martin wrote: > >> On Mon, Oct 25, 2004 at 04:28:38PM -0700, Steve Garcia wrote: >> >>> Is there a way to log the actual command issued by nagios to perform >>> a service check? >> >> >> A permutation of the 'strace' command can do that for you. >> > > Or ./configure --enable-DEBUG3; make nagios and then run it as a > foreground process with > nagios nagios.cfg > output.log 2>&1 & > to redirect all output to output.log and detach it from terminal. Then > use the web-interface to force the check you wish to run. > output.log should contain all the info you need (and plenty more as well). That solved my problem. As I'd suspected, I can a configuration problem, but I just want seeing it. Apparently when I initially installed Nagios (6 mos. ago) I had set my PREFIX such that everything ended up in /usr/local rather than /usr/local/nagios. Thus I had a complete set of plugins living in /usr/local/libexec. At the time I must have noticed the problem and redone it, but not deleted the extra plugins, so Nagios was using the wrong set. Any additional plugins (like the netsaint_statd ones) went where they belonged, but resource.cfg was pointing to the wrong place, so for Nagios, those plugins didn't exist. A couple of minutes looking at the logs made that jump out at me. Thanks! ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From nico_thx at yahoo.fr Tue Oct 26 22:42:54 2004 From: nico_thx at yahoo.fr (thioux nicolas) Date: Tue, 26 Oct 2004 22:42:54 +0200 (CEST) Subject: Nagios on SUSE Message-ID: <20041026204254.80747.qmail@web50202.mail.yahoo.com> Hi, I'm looking for people who install Nagios on Suse (9.1,9.2), and about all the problems they had Thanks for your help, nicolas. Vous manquez d?espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Cr?ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s pour dialoguer instantan?ment avec vos amis. A t?l?charger gratuitement sur http://fr.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From ialsafa at getcollc.com Tue Oct 26 22:46:38 2004 From: ialsafa at getcollc.com (Israfil Alsafa) Date: Tue, 26 Oct 2004 15:46:38 -0500 Subject: Nagios on SUSE Message-ID: Too many to list -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of thioux nicolas Sent: Tuesday, October 26, 2004 3:43 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios on SUSE Hi, I'm looking for people who install Nagios on Suse (9.1,9.2), and about all the problems they had Thanks for your help, nicolas. Vous manquez d'espace pour stocker vos mails ? Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! Cr?ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s pour dialoguer instantan?ment avec vos amis. A t?l?charger gratuitement sur http://fr.messenger.yahoo.com ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From dt_player at yahoo.com Tue Oct 26 22:53:04 2004 From: dt_player at yahoo.com (John David) Date: Tue, 26 Oct 2004 13:53:04 -0700 (PDT) Subject: Nagios on SUSE In-Reply-To: <20041026204254.80747.qmail@web50202.mail.yahoo.com> References: <20041026204254.80747.qmail@web50202.mail.yahoo.com> Message-ID: <20041026205304.21620.qmail@web13811.mail.yahoo.com> absolutely no problems on suse 9.1 yast2 OWNS. if you don't want to bother with having all the correct libraries, just be lazy and install everything. i also had no problems with compiling the plugins i needed. i would say that the suse went VERY smoothly. john --- thioux nicolas wrote: > > Hi, > > I'm looking for people who install Nagios on Suse > (9.1,9.2), and about all the problems they had > > Thanks for your help, > > nicolas. > > > > > > > Vous manquez d?espace pour stocker vos mails ? > Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! > Cr?ez votre Yahoo! Mail sur > http://fr.benefits.yahoo.com/ > > Le nouveau Yahoo! Messenger est arriv? ! D?couvrez > toutes les nouveaut?s pour dialoguer instantan?ment > avec vos amis. A t?l?charger gratuitement sur > http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for > FREE > LinuxWorld Reader's Choice Award Winner for best > database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 > __________________________________ Do you Yahoo!? Read only the mail you want - Yahoo! Mail SpamGuard. http://promotions.yahoo.com/new_mail ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From jwilliams at courtesymortgage.com Tue Oct 26 22:58:10 2004 From: jwilliams at courtesymortgage.com (Jason Williams) Date: Tue, 26 Oct 2004 13:58:10 -0700 Subject: check_load question Message-ID: <6.1.2.0.0.20041026135411.024dc698@corpmail.courtesymortgage.com> Hello everyone. I am using Nagios on a Fedora Core 2 box. It is currently monitoring about 7 servers, with a variety of the option to check. Im still learning Nagios, but one thing that I find puzzling is when I am attempting to use the check_load plugin. Right now, I have check_load setup to monitor two of my mail servers, and one apache server. What is odd is that it never seems to update the load average consistently. Most of the time, it just shows 0.00 0.00 0.00 Then every once and awhile, it will show a load average, althought not right now, it does show something besides all zeros. Anyway, so I have been trying to figure out what exactly is going on here and seeing if I missed something. Here is what I have setup on my checkcommands.cgi: # 'check_load' command definition define command{ command_name check_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } And here is the entry in my services.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name oxygen, corpmail, Mail-Gateway service_description Load-AVG is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups UNIX-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_load!1!2 } Like I said, still getting used to it and getting my feet wet. But thought i'd ask here for some pointers and any errors I may have setup in my configs. I appreciate it. Jason ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From karl at sfdata.net Wed Oct 27 01:12:02 2004 From: karl at sfdata.net (Karl) Date: Tue, 26 Oct 2004 16:12:02 -0700 (PDT) Subject: OpenBSD 3.4 Nagios Start Error: su: no such login class: 0 Message-ID: <49734.67.164.12.197.1098832322.squirrel@mail.sfdata.net> Hi, I have installed Nagios on OpenBSD 3.4 and have just about everything set exactly as all my other Nagios boxes, but on OPenBSD 3.4 I get this error. server# sh /etc/rc.d/init.d/nagios start Starting network monitor: nagios su: no such login class: 0 Oct 26 06:35:02 server su: 0: unkn Oct 26 06:35:02 server su: 0: unkn PID TT STAT TIME COMMAND Anyone also running this on OpenBSD run into this? I noticed the way the group and user were created don't seem all the way complete. Any ideas? -karlski ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From teng at dataway.com Wed Oct 27 01:14:58 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 26 Oct 2004 16:14:58 -0700 Subject: checking internet connectivity Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73BE@dw-mail.dataway.com> For our purposes, even the ISP's routers are considered "Internet" connectivity, so our definition of "check internet connectivity" is to ping 1 hop past our border router. -----Original Message----- From: Moritz Both [mailto:mb at aldebaran.de] Sent: Tuesday, October 26, 2004 3:38 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] checking internet connectivity Please excuse me if this is a frequently discussed question; i have searched but found it difficult to find good search terms: How do folks check Internet connectivity? Checking the "presence" of "the Internet" is neccessary to us to make other checked hosts and services dependent on that, i.e. we dont want to generate notifications for services we check but which are located somewhere else when our own Internet connection is gone. - Do you simply ping www.google.com or something? - Is pinging third party hosts considered unfriendly since we use their bandwidth? (Do you ping hosts you dislike for this reason? :) - Is there a best practice for that? - Even Google can vanish, but in that case we still would like to check our services. Thanks for any hints, Moritz -- Moritz Both Aldebaran Daten- und Kommunikationssysteme GmbH Im Moore 26 30167 Hannover Tel. +49 511 270 41 60 Fax +49 511 27 04 16 33 ------------------------------------------------------- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Jan.Scholten at iconz.net Wed Oct 27 01:22:37 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Wed, 27 Oct 2004 12:22:37 +1300 Subject: check_load question In-Reply-To: <6.1.2.0.0.20041026135411.024dc698@corpmail.courtesymortgage.com> References: <6.1.2.0.0.20041026135411.024dc698@corpmail.courtesymortgage.com> Message-ID: try the command "top" on your Servers the actual Load avarage i in the first line (on the right side) Be happy if your Server has a load of 0. You can define different warning/critical values for the actual, 5 min, and 15 min load avarage. so a check_load -w 10,8,5 -c 15,10,8 means: warn if current load is higher than 10 or 5 Min load avarage is higer than 8 or 15 min Load avarage is higher than 5 same for critical Jan > Hello everyone. > > I am using Nagios on a Fedora Core 2 box. It is currently monitoring > about 7 servers, with a variety of the option to check. > Im still learning Nagios, but one thing that I find puzzling is when I > am attempting to use the check_load plugin. > > Right now, I have check_load setup to monitor two of my mail servers, > and one apache server. > > What is odd is that it never seems to update the load average > consistently. Most of the time, it just shows 0.00 0.00 0.00 > Then every once and awhile, it will show a load average, althought not > right now, it does show something besides all zeros. > > Anyway, so I have been trying to figure out what exactly is going on > here and seeing if I missed something. > > Here is what I have setup on my checkcommands.cgi: > > # 'check_load' command definition > define command{ > command_name check_load > command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ > } > > And here is the entry in my services.cfg: > > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name oxygen, corpmail, Mail-Gateway > service_description Load-AVG > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups UNIX-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command check_load!1!2 > } > > Like I said, still getting used to it and getting my feet wet. But > thought i'd ask here for some pointers and any errors I may have setup > in my configs. > > I appreciate it. > > Jason > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From calipah at free.fr Wed Oct 27 01:38:09 2004 From: calipah at free.fr (Kim) Date: Wed, 27 Oct 2004 01:38:09 +0200 Subject: OpenBSD 3.4 Nagios Start Error: su: no such login class: 0 In-Reply-To: <49734.67.164.12.197.1098832322.squirrel@mail.sfdata.net> References: <49734.67.164.12.197.1098832322.squirrel@mail.sfdata.net> Message-ID: <417EDFE1.8000807@free.fr> Karl wrote: > Hi, > > I have installed Nagios on OpenBSD 3.4 and have just about everything set > exactly as all my other Nagios boxes, but on OPenBSD 3.4 I get this error. > > server# sh /etc/rc.d/init.d/nagios start > Starting network monitor: nagios > su: no such login class: 0 > Oct 26 06:35:02 server su: 0: unkn > Oct 26 06:35:02 server su: 0: unkn > PID TT STAT TIME COMMAND > > Anyone also running this on OpenBSD run into this? > > I noticed the way the group and user were created don't seem all the way > complete. Any ideas? Hi i've experienced similar problems on a debian. Indeed the way su options works in debian is not really the same as in others distros. So i've checked the init.d script and just removed in line x su -l the l so i have know su - maybe it comes from a similar problem in your case. That's just an idea. Hope you understood my english. Have a nice day. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From teng at dataway.com Wed Oct 27 02:27:50 2004 From: teng at dataway.com (Tedman Eng) Date: Tue, 26 Oct 2004 17:27:50 -0700 Subject: check_load question Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73BF@dw-mail.dataway.com> check_load is a local system plugin. It does not query load average or anything else over your network. What you are doing is checking your nagios server's load avg 7x. To add remote monitoring capabilities to local system plugins, wrap the plugin in check_by_ssh, nrpe, or nsca. The plugin will then execute locally on the remote machine, but the results will be sent by network to your nagios server. Another method is using snmp on the target devices. NRPE (pull) and NSCA (push) are both downloadable from the main nagios site. Before asking about automating ssh logins, please read the archives. That one has been answered many many many times. -----Original Message----- From: Jason Williams [mailto:jwilliams at courtesymortgage.com] Sent: Tuesday, October 26, 2004 1:58 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_load question Hello everyone. I am using Nagios on a Fedora Core 2 box. It is currently monitoring about 7 servers, with a variety of the option to check. Im still learning Nagios, but one thing that I find puzzling is when I am attempting to use the check_load plugin. Right now, I have check_load setup to monitor two of my mail servers, and one apache server. What is odd is that it never seems to update the load average consistently. Most of the time, it just shows 0.00 0.00 0.00 Then every once and awhile, it will show a load average, althought not right now, it does show something besides all zeros. Anyway, so I have been trying to figure out what exactly is going on here and seeing if I missed something. Here is what I have setup on my checkcommands.cgi: # 'check_load' command definition define command{ command_name check_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } And here is the entry in my services.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name oxygen, corpmail, Mail-Gateway service_description Load-AVG is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups UNIX-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_load!1!2 } Like I said, still getting used to it and getting my feet wet. But thought i'd ask here for some pointers and any errors I may have setup in my configs. I appreciate it. Jason ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Oct 27 03:14:50 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 27 Oct 2004 11:14:50 +1000 Subject: checking internet connectivity In-Reply-To: <20041026155602.31C931D3205@sc8-sf-uberspam1.sourceforge.net> References: <20041026155602.31C931D3205@sc8-sf-uberspam1.sourceforge.net> Message-ID: <20041027011446.GC2797@IPAustralia.Gov.AU> Dear Folks, On Tue, Oct 26, 2004 at 08:55:07AM -0700, nagios-users-request at lists.sourceforge.net wrote: > > Message: 15 > Date: Tue, 26 Oct 2004 12:38:18 +0200 > From: Moritz Both > Organization: Aldebaran Daten- und Kommunikationssysteme GmbH > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] checking internet connectivity > > > Please excuse me if this is a frequently discussed question; i have > searched but found it difficult to find good search terms: > > How do folks check Internet connectivity? > > We use custom plugins to 1 get meta data (HEAD requests) fromwell known internet servers 2 download the start pges (to sample response times) of well known servers and report faults if thresholds are exceeded (eg more than 80% of the well known hosts fail to provide document metadata within the timeout period). Here is an example of the second plugin run from the CLI --getting http://www.delphion.com 2.15 Total check time: 2.15 --getting http://www.altavista.com 0.97 Total check time: 3.12 --getting http://www.whitepages.com.au 0.23 Total check time: 3.35 --getting http://ep.espacenet.com 0.01 Total check time: 3.36 --getting http://www.lycos.com 2.23 Total check time: 5.59 --getting http://www.netscape.com 0.73 Total check time: 6.32 --getting http://www.hotbot.com 0.65 Total check time: 6.97 --getting http://www.google.com 1.43 Total check time: 8.40 --getting http://www.anzwers.com.au 0.01 Total check time: 8.41 --getting http://www.uspto.gov 0.02 Total check time: 8.43 --getting http://www.askjeeves.com 1.77 Total check time: 10.20 --getting http://www.dogpile.com 0.01 Total check time: 10.21 --getting http://www.getthepatent.com 0.01 Total check time: 10.22 Internet performance via "http://Foo-Cache:3128" Transaction completed Ok. avg: 0.79 stddev: 0.85 5 worst: 2.23 2.15 1.77 1.43 0.97 graph We depend not only on connectivity but responsiveness from Internet hosts and since these things are influenced by the ISP, we want to monitor their performance. This way of monitoring is treating the Internet as processing a 'web transaction', a sequence of URLs with a set of patterns to recognise that each part of the transaction has completed or not. Web transactions were discussed on this list recently. > Thanks for any hints, > Moritz > > > -- > Moritz Both 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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From karl at sfdata.net Wed Oct 27 05:59:00 2004 From: karl at sfdata.net (Karl) Date: Tue, 26 Oct 2004 20:59:00 -0700 (PDT) Subject: Nagios On Mandrake 10 Message-ID: <50181.67.164.12.197.1098849540.squirrel@mail.sfdata.net> Hi, I was working in OpenBSD on Nagios, but figured to try Mandrake 10, and voila, it installed quite well, even showing up in the services as already running. Question, installing from RPMs has the down side of not showing you the docs, anyone know how to access the web interface [URL] for Nagios on Mandrake 10, as well as where the docs/config files are? [i installed the nagios-www]. -karlski ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From jojo472 at hotmail.com Wed Oct 27 06:26:38 2004 From: jojo472 at hotmail.com (Jo Bailey) Date: Wed, 27 Oct 2004 14:26:38 +1000 Subject: EM01 HVAC Monitor Plugin (No output!) check_em01.pl Message-ID: I'm using Nagios 1.2 and the check_em01.pl works fine from the command line. In Nagios it comes up saying "(No output!)". Can anyone give me some advice in how I should go about troubleshooting this because I'd like to figure it out myself ;) Any help would be fantastic. Thankyou Jo _________________________________________________________________ Searching for that dream home? Try http://ninemsn.realestate.com.au for all your property needs. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Steve.Collins at industry.gov.au Wed Oct 27 07:18:50 2004 From: Steve.Collins at industry.gov.au (Collins, Steve) Date: Wed, 27 Oct 2004 15:18:50 +1000 Subject: Event handler for remote Win2K box Message-ID: <13E6CE468F055545BE13C1585221BA200C3408@AC01WMSG01.in.industry.gov.au> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a flaky service on a remote (from my Nagios server) Win2K server. We're working on solving the cause for the flakiness, but in the meantime, we know the symptom for the critical point in the flakiness and how to resolve the issue before the service craps itself completely. I have a batch script which restarts the service, but at the moment one of my team has to log into the server using Radmin and run it. What I'd like to do is set up an event handler based on the known problem level. Can anyone offer me some advice on how to build (or if it's even possible) an event handler script to run from the Nagios server to connect to the remote box and restart the appropriate server. Or am I barking up the wrong tree? Would it be easier to set up a scheduled task on the Win2K box to simply restart the service when it's about to go critical? Steve - -- Stephen Collins Project Manager - Web Development Online Services Branch eBusiness Division __________________________________________________ Department of Industry, Tourism and Resources Level 12, 20 Allara Street, Canberra City ACT 2600 GPO Box 9839, Canberra ACT 2601 E steve.collins at industry.gov.au P +61 2 62137193 C +61 410 680722 F +61 2 62136227 ABN 51 835 430 479 - -----BEGIN GEEK CODE BLOCK----- Version: 3.1 GIT d(---)@ s:>- a C++++$ UL++$>++++ P+>+++ L++ !E W+++$ N o? K? w !O !M !V PS+(+++) PE Y+>++ PGP++>+++ t(++)@ 5++ X+(+++) R(+++) tv b++>++++ DI++++ D+(+++)@ G+ e++ h---- r+++ y++++ - ------END GEEK CODE BLOCK------ Decode geekcode at http://www.joereiss.net/geek/ungeek.html -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (MingW32) iD8DBQFBfy+ZB6K6hSCnql4RAjFiAKCA36GXfKrWY6WWmHSWKy4PKSylfACfVlaZ 3Z1PWprdjXjLcelNWAYAs+g= =HJXb -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From Philipp.Sand at sycor.de Wed Oct 27 07:59:14 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 27 Oct 2004 07:59:14 +0200 Subject: OCSP Command not being executed Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E5941D1@SYGOMAIL.GOE.AD.SYCOR.DE> Be sure, that the nagios user has the appropriate execute rights for the submit_check_result file. ;) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Bolivar Geraldo > Sent: Tuesday, October 26, 2004 4:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] OCSP Command not being executed > > I am trying to get Distributed monitoring setup with Nagios > and I'm running into a slight problem. > I've followed all of the documentation and setup the > ocsp_command=submit_check_result directive on my remote Nagios server. > NSCA is setup and running on both my remote server and the > central server. All of my services have the > obsess_over_service directive set to 1. However, the > submit_check_result script doesn't seem to ever get run. If > I run the script by hand everything works, so I know the > communication between my central and remote servers is fine. > Should the submit_check_result get run after every service > check? Shouldn't there be a log entry about OCSP? > > Please help... > > Bolivar Geraldo (Junior) > Network Systems Engineer > 781-290-0705 x254 > Towerstream Corp. > > > ------------------------------------------------------- > This SF.net email is sponsored by: IT Product Guide on > ITManagersJournal Use IT products in your business? Tell us > what you think of them. Give us Your Opinions, Get Free > ThinkGeek Gift Certificates! Click to find out more > http://productguide.itmanagersjournal.com/guidepromo.tmpl > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From Philipp.Sand at sycor.de Wed Oct 27 08:10:05 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 27 Oct 2004 08:10:05 +0200 Subject: Checking windows version Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E5941D2@SYGOMAIL.GOE.AD.SYCOR.DE> Hi Felix, 1. we don't wanne spend money for that check, so a commercial solution is no option :) 2. it would just be great if you could put this into nagios, our admins look at this single point, and can view nearly everything important... 3. thanks for the tip with snmp, I'll take a look if i find the approprate oid. Don't knwo why i hadn't come to this before :) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Felix Buenemann > Sent: Tuesday, October 26, 2004 8:43 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Checking windows version > > Hi Philipp, > > I don't have a plugin ready for this, but it can all be > extracted from SNMP information. Anyways, how do you want to > analyze installed hotfixes from nagios? That IMHO makes no > sense and there are other tools that do that just fine, eg. > Retina from eEye Security to name a (very good) commercial tool. > > On Monday 25 October 2004 10:50, Sand Philipp wrote: > > Hi list, > > > > I wonder if anyone got a plugin to check information about the > > installed windows version on a target host (Win 2000 > Server, Win 2003 > > Server, State of Hotfixes etc.) Best practice would be if > you could do > > it without any extra client but nsclient installed on the > target system... > > > > Regards, > > Philipp > > BTW. Pleas shorten your signature to at most 4-6 lines, at > least for mailing list posts. If everyone used such gigantic > sig, mailing list traffic would explode. > -- > Best Regards, > Atmos > ____________________________________________ > - MPlayer Developer - http://mplayerhq.hu/ - > ____________________________________________ > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 > ************************************************ 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From jhein at netways.de Wed Oct 27 08:20:38 2004 From: jhein at netways.de (Julian Hein) Date: Wed, 27 Oct 2004 08:20:38 +0200 Subject: Checking windows version Message-ID: <2F6750F2110CAD41BE0BC33BB428B568065676@net-sql2.int.netways.de> Hi, > I don't have a plugin ready for this, but it can all be > extracted from SNMP > information. Anyways, how do you want to analyze installed > hotfixes from > nagios? That IMHO makes no sense and there are other tools > that do that just > fine, eg. Retina from eEye Security to name a (very good) > commercial tool. > > On Monday 25 October 2004 10:50, Sand Philipp wrote: > > Hi list, > > > > I wonder if anyone got a plugin to check information about > the installed > > windows version on a target host (Win 2000 Server, Win 2003 > Server, State > > of Hotfixes etc.) Best practice would be if you could do it > without any > > extra client but nsclient installed on the target system... MBSA (Microsoft Baseline Security Analyser) could be an option. It downloads a XML File from Microsoft with all data of current hotfixes and patches and then checks the system for missing ones and other possible vulnerabilities. It can be scheduled to run once a day and create a report in XML. A Nagios plugin could parse this report for problems. I think it will be not easy, but possible. We are doing the same thing for debian, but that is easier to script :-) Julian Hein -- Julian Hein NETWAYS GmbH Managing Director Deutschherrnstr. 47a Fon.0911/92885-0 D-90429 N?rnberg Fax.0911/92885-31 jhein at netways.de http://www.netways.de ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From david at familie-ecker.net Wed Oct 27 09:10:04 2004 From: david at familie-ecker.net (David Ecker) Date: Wed, 27 Oct 2004 09:10:04 +0200 Subject: Notification_Interval Problem Message-ID: <200410270910.04305.david@familie-ecker.net> Hi, using nagios 1.2; if the notification interval in the host definition is different from the notification_interval in the service definition for the host, is it true that the shorter interval will be taken? Is it possible to define different notification intervals for different services on the same host and another notification_interval for the host itself? bye Thx David Ecker ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From SteveH at brendata.co.uk Wed Oct 27 09:50:54 2004 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 27 Oct 2004 08:50:54 +0100 Subject: Checking windows version Message-ID: <11720FFB22BED511A66800E07D923B37677D28@prodntsc2.brendata> Another is bigfix, I've never looked, but it might also be possible to interrogate in some way the outstanding fixes if they're stored in a file or the registry? Regards Steve -----Original Message----- From: Felix Buenemann [mailto:atmosfear at users.sourceforge.net] Sent: 26 October 2004 19:43 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Checking windows version Hi Philipp, I don't have a plugin ready for this, but it can all be extracted from SNMP information. Anyways, how do you want to analyze installed hotfixes from nagios? That IMHO makes no sense and there are other tools that do that just fine, eg. Retina from eEye Security to name a (very good) commercial tool. On Monday 25 October 2004 10:50, Sand Philipp wrote: > Hi list, > > I wonder if anyone got a plugin to check information about the installed > windows version on a target host (Win 2000 Server, Win 2003 Server, State > of Hotfixes etc.) Best practice would be if you could do it without any > extra client but nsclient installed on the target system... > > Regards, > Philipp BTW. Pleas shorten your signature to at most 4-6 lines, at least for mailing list posts. If everyone used such gigantic sig, mailing list traffic would explode. -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From rader at ginseng.hep.wisc.edu Wed Oct 27 10:41:11 2004 From: rader at ginseng.hep.wisc.edu (rader at ginseng.hep.wisc.edu) Date: Wed, 27 Oct 2004 03:41:11 -0500 Subject: side.html as a java tree menu thingie Message-ID: <200410270841.i9R8fBN14851@ginseng.hep.wisc.edu> Has anyone converted side.html to a collapsible/expandable kinda thing? Which tree menu are you using? steve - - - systems & network guy high energy physics university of wisconsin ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From ae at op5.se Wed Oct 27 10:44:26 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 27 Oct 2004 10:44:26 +0200 Subject: Authentication debugging? In-Reply-To: <57517.66.150.251.135.1098816254.squirrel@mail3.bitpusher.com> References: <57517.66.150.251.135.1098816254.squirrel@mail3.bitpusher.com> Message-ID: <417F5FEA.6010704@op5.se> Michael T. Halligan wrote: > I'm having problems on a new nagios server with authentication. It's > somewhat annoying, because the only indication of an error, is after I > login, any page I go to gives me this error : > > ----------------------- > It appears as though you do not have permission to view information for > any of the services you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > ------------------------ > > I also notice that the box in the top-left corner which usually reads > "logged in as michael" reads "logged in as ?" .. > > Is there a way to make nagios dump more useful information than this? > That's what the apache logfile is there for. You probably have some bad permissions on some of the authentication files or the directories leading up to it. Read the logs, they're not there to keep logrotate busy. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From icedtea at gamebox.net Wed Oct 27 10:47:20 2004 From: icedtea at gamebox.net (icedtea) Date: Wed, 27 Oct 2004 16:47:20 +0800 Subject: check_snmp problems Message-ID: <417F6098.9090401@gamebox.net> I am always receiving error no data received when trying to use snmp plugins. Any ideas will be very helpful. [root at host libexec]# ./check_snmp -H host -C public -o 1.3.6.1.4.1.2021.11.9.0 SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public host:161 1.3.6.1.4.1.2021.11.9.0 regards, icedtea ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From gmueller at netways.de Wed Oct 27 10:52:20 2004 From: gmueller at netways.de (Gerd Müller) Date: Wed, 27 Oct 2004 10:52:20 +0200 (CEST) Subject: check_snmp problems In-Reply-To: <417F6098.9090401@gamebox.net> References: <417F6098.9090401@gamebox.net> Message-ID: <20041027085220.15AB84F40E3@desire.netways.de> Hi icedtea are you sure that snmp is runing on the remote host? did you tried using snmpwalk on this machine? - 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]=2581 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From ae at op5.se Wed Oct 27 10:54:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Wed, 27 Oct 2004 10:54:10 +0200 Subject: check_snmp problems In-Reply-To: <417F6098.9090401@gamebox.net> References: <417F6098.9090401@gamebox.net> Message-ID: <417F6232.5090606@op5.se> icedtea wrote: > > I am always receiving error no data received when trying to use snmp > plugins. Any ideas will be very helpful. > That's usually because you have either specified an invalid/unresolvable hostname or supplied the wrong snmp community name. > [root at host libexec]# ./check_snmp -H host -C public -o > 1.3.6.1.4.1.2021.11.9.0 > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public host:161 > 1.3.6.1.4.1.2021.11.9.0 > > regards, > icedtea > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From misch at multinet.de Wed Oct 27 11:11:22 2004 From: misch at multinet.de (Michael Schwartzkopff) Date: Wed, 27 Oct 2004 11:11:22 +0200 Subject: check_snmp problems In-Reply-To: <417F6098.9090401@gamebox.net> References: <417F6098.9090401@gamebox.net> Message-ID: <200410271111.30239.misch@multinet.de> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Mittwoch, 27. Oktober 2004 10:47 schrieb icedtea: > I am always receiving error no data received when trying to use snmp > plugins. Any ideas will be very helpful. > > [root at host libexec]# ./check_snmp -H host -C public -o > 1.3.6.1.4.1.2021.11.9.0 > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public host:161 > 1.3.6.1.4.1.2021.11.9.0 > > regards, > icedtea Hi, - - does the SNMP agent run on that system? - - is it correctly configured? - - test it locally with snmpwalk -v 1 -c public localhost .system - - test it from the management station with snmpwalk -v 1 -c public .system - - Cofigure it accordingly. - -- Dr. Michael Schwartzkopff MultiNET Services GmbH Bretonischer Ring 7 85630 Grasbrunn Tel: (+49 89) 456 911 - 0 Fax: (+49 89) 456 911 - 21 mob: (+49 174) 343 28 75 PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFBf2ZBqndXpO3Yl5sRAiIWAJ0Uq3+j5SkZ7+ozTFX1NHPsIt3g+ACffPS8 HIdep2WxQMq5j0owERmmO1U= =G9Gp -----END PGP SIGNATURE----- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From christian.masopust at siemens.com Wed Oct 27 11:56:06 2004 From: christian.masopust at siemens.com (Masopust Christian) Date: Wed, 27 Oct 2004 11:56:06 +0200 Subject: AW: side.html as a java tree menu thingie Message-ID: Hi Steve, the best i found was that one posted some time ago, here's a copy of this mail.... -- Begin forwarded mail -- If anyone is interested in another customized side.html option, I have one that works quite well for me. It's tailored more to a large installation where hostgroups could be further grouped into domains. Instead of explaining it, I'll just paste the README in here: Notes: My company's installation of Nagios monitors over 500 hosts and 2500 services. As anyone with a large Nagios deployment knows, it becomes a chore to try and locate a specific hostgroup or host in the web interface. I created this replacement for the side frame to display hostgroups in a pleasing fashion, and incorporated a simple search box if you know the host's name. I also created a script that allows users to toggle themselves between authorized_for_all_(services|hosts). This allows all users to see blocking outages when they want to, but keeps their display from being cluttered when they don't. Installation: Assuming your Nagios is installed in /usr/local/nagios: 1) Open side.pl in you favorite editor to configure it. 2) Copy side.pl to /usr/local/nagios/sbin. 3) Copy side.html & index.html to /usr/local/nagios/share. 4) Copy *.gif to /usr/local/nagios/share/images. 5) If your Nagios is installed somewhere other than /usr/local/nagios. *) Open toggle.pl and update the path on line 27. 6) Copy toggle.pl to /usr/local/nagios/sbin. A screenshot is available at http://chet.crashed.net/nagside.jpg. The package is at http://chet.crashed.net/nagside-1.0.tar.gz. Chet Luther chet at crashed.net -- End forwarded mail -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From icedtea at gamebox.net Wed Oct 27 12:01:26 2004 From: icedtea at gamebox.net (icedtea) Date: Wed, 27 Oct 2004 18:01:26 +0800 Subject: check_snmp problems References: <417F6098.9090401@gamebox.net> <200410271111.30239.misch@multinet.de> Message-ID: <417F71F6.1030709@gamebox.net> An HTML attachment was scrubbed... URL: From jamesmarkcoggan at yahoo.com.br Wed Oct 27 12:43:10 2004 From: jamesmarkcoggan at yahoo.com.br (James Coggan) Date: Wed, 27 Oct 2004 08:43:10 -0200 Subject: Nagiostat Message-ID: <417F7BBE.7060708@yahoo.com.br> Hi, I'm trying to use nagiostat to create some graphs The problem is that nagios doesn't run nagiostat or whatever perf-data service you add the process_performance_data is set to 1 and nothing happens Any ideas why? I tried using nagios with and without mysql and on both cases no execution -- Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e acredita-se estar livre de perigo. Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre atualizado. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Wengrzik at ewr.de Wed Oct 27 13:13:12 2004 From: Wengrzik at ewr.de (Wengrzik, Andreas) Date: Wed, 27 Oct 2004 13:13:12 +0200 Subject: AW: Nagiostat Message-ID: <90D32590BAD135448DC12C1EA3EB4482209C56@epsewr01.ewrlan.ewr.int> You got an logfile in the nagiostat folder?? You set debugging in nagiostat.cgi to 3 ? -----Urspr?ngliche Nachricht----- Von: James Coggan [mailto:jamesmarkcoggan at yahoo.com.br] Gesendet: Mittwoch, 27. Oktober 2004 12:43 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Nagiostat Hi, I'm trying to use nagiostat to create some graphs The problem is that nagios doesn't run nagiostat or whatever perf-data service you add the process_performance_data is set to 1 and nothing happens Any ideas why? I tried using nagios with and without mysql and on both cases no execution -- Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e acredita-se estar livre de perigo. Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre atualizado. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From jamesmarkcoggan at yahoo.com.br Wed Oct 27 13:25:13 2004 From: jamesmarkcoggan at yahoo.com.br (James Coggan) Date: Wed, 27 Oct 2004 09:25:13 -0200 Subject: AW: Nagiostat In-Reply-To: <90D32590BAD135448DC12C1EA3EB4482209C56@epsewr01.ewrlan.ewr.int> References: <90D32590BAD135448DC12C1EA3EB4482209C56@epsewr01.ewrlan.ewr.int> Message-ID: <417F8599.3030603@yahoo.com.br> Yes I read the documentation, I reinstalled and configured nagiostat 3 times the debug is set to 3 and all configurations and permissions are ok. Checked twice before posting here. The nagios.log gives no errors and the debug.log gives nothing. Its empty, that why I'm thinking nagios isn't executing nagiostat. The I rechecked nagios configuration files. Remade them by scratch and nothing Wengrzik, Andreas wrote: >You got an logfile in the nagiostat folder?? >You set debugging in nagiostat.cgi to 3 ? > >-----Urspr?ngliche Nachricht----- >Von: James Coggan [mailto:jamesmarkcoggan at yahoo.com.br] >Gesendet: Mittwoch, 27. Oktober 2004 12:43 >An: nagios-users at lists.sourceforge.net >Betreff: [Nagios-users] Nagiostat > > >Hi, > >I'm trying to use nagiostat to create some graphs >The problem is that nagios doesn't run nagiostat or whatever perf-data >service you add >the process_performance_data is set to 1 and nothing happens >Any ideas why? >I tried using nagios with and without mysql and on both cases no execution > > > > -- Esta mensagem foi verificada pelo sistema de antiv?rus do servidor e acredita-se estar livre de perigo. Dica: Se voc? utiliza Windows, utilize um anti-v?rus e o mantenha sempre atualizado. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Stanley.Hopcroft at IPAustralia.Gov.AU Wed Oct 27 13:49:14 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Wed, 27 Oct 2004 21:49:14 +1000 Subject: Lotus (bad) notes: checking over check_tcp or SMTP mail loop; Domino ? Message-ID: <20041027114912.GB418@IPAustralia.Gov.AU> Dear Folks, Des anyone have any advice to offer about checking Lotus Notes (above check_tcp and/or a mail loop on a Lotus SMTP MTA) ? Possibilities include :- 1 the Lotus API (for Slowlaris or M$ only, so not really a starter unless such a plugin were run by ssh or nag_statd after installing a compiler on Slowlaris blah blah) 2 accessing users mail box with HTTP if the mail is exported to the Domino web server Option 2 sounds most reasonable, but one has to have the Domino option enabled. What are the better ideas ? Has anyone a packet trace of a Notes client interacting with a Notes server they could send me (private mail please) ? Has anyone reverse engineered the protocol ? Yours sincerely -- Stanley Hopcroft TROUBLE (Words and Music by Bob Dylan) Trouble in the city, trouble in the farm, You got your rabbit's foot, you got your good-luck charm. But they can't help you none when there's trouble. Trouble in the water, trouble in the air, Go all the way to the other side of the world, you'll find trouble there. Revolution even ain't no solution for trouble. Drought and starvation, packaging of the soul, Persecution, execution, governments out of control. You can see the writing on the wall inviting trouble. Put your ear to the train tracks, put your ear to the ground, You ever feel like you're never alone even when there's nobody else around? Since the beginning of the universe man's been cursed by trouble. Nightclubs of the broken-hearted, stadiums of the damned, Legislature, perverted nature, doors that are rudely slammed. Look into infinity, all you see is trouble. Chorus: Trouble, Trouble, trouble, trouble, Nothin' but trouble. -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From Christian.Bock at liz.lsa-net.de Wed Oct 27 14:03:07 2004 From: Christian.Bock at liz.lsa-net.de (Bock, Christian) Date: Wed, 27 Oct 2004 14:03:07 +0200 Subject: Migration from text-based Nagios to DB-Based Nagios Message-ID: <53B7932F94C4DE49B3A9AD98715FCF2C3B35E1@lrpc79.liz.lsa-net.de> Hello, does anybody have some script(s) to import the Nagios text based files status.* etc. into the mysql-db? Mit freundlichen Gr??en Im Auftrag Christian Bock Administrator Netze Landesinformationszentrum Sachsen-Anhalt (LIZ) Rechenzentrum / Fachbereich Netze/PKI Barbarastra?e 2 06110 Halle (Saale) Tel.: +49 345 1304 814 Fax: +49 345 1304 899 Hinweis: Hinweis: Diese Information ist ausschlie?lich f?r die adressierte Person oder Organisation bestimmt. Die Inhalte dieser Mail sind vertraulich. Sollten Sie nicht der Adressat oder eine von ihm autorisierte Person sein, sind Sie nicht berechtigt, die Informationen zu kopieren oder zu ver?ffentlichen. Bitte benachrichtigen Sie uns in diesem Fall und l?schen Sie dann diese Mail. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From Philipp.Sand at sycor.de Wed Oct 27 14:20:26 2004 From: Philipp.Sand at sycor.de (Sand Philipp) Date: Wed, 27 Oct 2004 14:20:26 +0200 Subject: Migration from text-based Nagios to DB-Based Nagios Message-ID: <6943DE9E9934CD42BBE4A20E0E28E10E5941E3@SYGOMAIL.GOE.AD.SYCOR.DE> I have no scripts, but you should really think about doing this step. DB Support will be dropped in nagios 2.0, which is already in a pretty stable state... When thinking about migrating, you should maybe think about migration to nagios 2.0a1 :) > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Bock, Christian > Sent: Wednesday, October 27, 2004 2:03 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Migration from text-based Nagios to > DB-Based Nagios > > Hello, > > does anybody have some script(s) to import the Nagios text > based files status.* etc. into the mysql-db? > > Mit freundlichen Gr??en > Im Auftrag > Christian Bock > Administrator Netze > > Landesinformationszentrum Sachsen-Anhalt (LIZ) Rechenzentrum > / Fachbereich Netze/PKI Barbarastra?e 2 06110 Halle (Saale) > Tel.: +49 345 1304 814 > Fax: +49 345 1304 899 > > Hinweis: Hinweis: Diese Information ist ausschlie?lich f?r > die adressierte Person oder Organisation bestimmt. Die > Inhalte dieser Mail sind vertraulich. Sollten Sie nicht der > Adressat oder eine von ihm autorisierte Person sein, sind Sie > nicht berechtigt, die Informationen zu kopieren oder zu > ver?ffentlichen. Bitte benachrichtigen Sie uns in diesem Fall > und l?schen Sie dann diese Mail. > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From rwaddell at ritzcamera.com Wed Oct 27 15:16:07 2004 From: rwaddell at ritzcamera.com (Randie Waddell) Date: Wed, 27 Oct 2004 09:16:07 -0400 Subject: Nagios on SUSE In-Reply-To: <20041026204254.80747.qmail@web50202.mail.yahoo.com> References: <20041026204254.80747.qmail@web50202.mail.yahoo.com> Message-ID: <200410270916.08216.rwaddell@ritzcamera.com> Hello, Problems on SUSE? I've installed Nagios/NRPE/NSCA/Plugins on just about every version of SUSE since 7.1. I haven't had any problems to speak of. I would install it from YAST, that way you get all the needed modules. Then if you want the latest and greatest, just uninstall the Nagios stuff, and install your downloaded version. :) Randie. On Tuesday 26 October 2004 04:42 pm, thioux nicolas wrote: > Hi, > > I'm looking for people who install Nagios on Suse > (9.1,9.2), and about all the problems they had > > Thanks for your help, > > nicolas. > > > > > > > Vous manquez d?espace pour stocker vos mails ? > Yahoo! Mail vous offre GRATUITEMENT 100 Mo ! > Cr?ez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/ > > Le nouveau Yahoo! Messenger est arriv? ! D?couvrez toutes les nouveaut?s > pour dialoguer instantan?ment avec vos amis. A t?l?charger gratuitement sur > http://fr.messenger.yahoo.com > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From dmaher at acetechnology.com Wed Oct 27 15:48:18 2004 From: dmaher at acetechnology.com (Daniel maher) Date: Wed, 27 Oct 2004 09:48:18 -0400 Subject: faulty trend / report output? Message-ID: Hello all, I am running Nagios 2 (from CVS) on a Debian (unstable tree) box. It works marvelously, with one exception: the reports show my services as being "Critical" 100% of the time, even when they are clearly "Ok". Oddly, the host reports accurately reflect the state information - only the service reports appear to be faulty. 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 GWCOOK at mactec.com Wed Oct 27 15:50:53 2004 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 27 Oct 2004 07:50:53 -0600 Subject: AW: Nagiostat Message-ID: <41FD7929498A174DAB86C45F28E0EC0DDE4CAD@golden-m.mactec.com> Did you recompile Nagios with Perfdata support built in? If so, check the Nagios web interface and make sure that Performance Data is enabled there as well. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) nagios-users-admin at lists.sourceforge.net wrote: > Yes I read the documentation, I reinstalled and configured nagiostat > 3 times the debug is set to 3 and all configurations and permissions > are ok. Checked twice before posting here. > The nagios.log gives no errors and the debug.log gives nothing. Its > empty, that why I'm thinking nagios isn't executing nagiostat. > The I rechecked nagios configuration files. Remade them by > scratch and > nothing > > Wengrzik, Andreas wrote: > >> You got an logfile in the nagiostat folder?? >> You set debugging in nagiostat.cgi to 3 ? >> >> -----Urspr?ngliche Nachricht----- >> Von: James Coggan [mailto:jamesmarkcoggan at yahoo.com.br] >> Gesendet: Mittwoch, 27. Oktober 2004 12:43 >> An: nagios-users at lists.sourceforge.net >> Betreff: [Nagios-users] Nagiostat >> >> >> Hi, >> >> I'm trying to use nagiostat to create some graphs >> The problem is that nagios doesn't run nagiostat or whatever >> perf-data service you add the process_performance_data is set to 1 >> and nothing happens Any ideas why? I tried using nagios with and >> without mysql and on both cases no execution ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From contractor6 at match.com Wed Oct 27 15:53:04 2004 From: contractor6 at match.com (Rodney Caston) Date: Wed, 27 Oct 2004 08:53:04 -0500 Subject: HTTP Monitoring - looking for expected output / erroring on expected output Message-ID: <573F1E2597A7974E924A5F814CAC166D0DF3E3F5@da0shme010.match.corp> We have a URL we need to monitoring across a large server farm, this URL when going to say a URL such as http://192.168.0.100/monitorfoo.cfm?test=all The expected output will look like this: CFUNSTUFF,INTWEB026,OK,N/A,0,2004-10-27 23:47:46 INITIALJUNK4,INTWEB026,OK,N/A,125,2004-10-27 23:47:46 JUNK10,INTWEB026,OK,N/A,1407,2004-10-27 23:47:48 STUFF47,INTWEB026,OK,N/A,78,2004-10-27 23:47:48 IISQUEUE5,INTWEB026,OK,N/A,31,2004-10-27 23:47:48 (a list of about 20 entries like those above will appear) all that we care about is the expected value of "OK" for each line, and that the the site itself comes up at all, (does not give a 404, nor does it produce a blank screen for it's output) In the event of an error, we'd either get a 404 on the url, a "ERROR" where "OK" is above, or no output at all on the URL (null) so another possibility would be if it sees the word "ERROR" anywhere, to alarm. Is there a good way for nagios to monitor for these conditions? I can think of several ways Netcool ISM could do it, but I'd like to stick with Nagios. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From danslists at conpoint.com Wed Oct 27 16:09:32 2004 From: danslists at conpoint.com (Dan Spray) Date: Wed, 27 Oct 2004 09:09:32 -0500 Subject: Still having problems with new install on FC2 Message-ID: <20041027091946.SM01344@DANTECRA> Hello all, I have been running Nagios 1.2 on a RH 7.3 machine since it came out with no problems to speak of. I am in the process of phasing this server out and have loaded another machine with Fedora Core 2. I have compiled and installed nagios 1.2 on this new machine and just moved over my /etc folder. Nagios checks out fine and starts/runs just fine. However, I noticed that pings are not reporting correctly. While the old server is not reporting any errors at all the new server will have 10-20 services that are flapping. When I ping the same service from the command line of the new machine I am able to ping things just fine. Is there a problem with Fedora Core 2 and the Nagios call to Ping? It appears to only be causing trouble when Nagios initiates the ping. I ran into a couple of problems trying the check_icmp that one of the users sent so I really haven't tried that. However, I feel that there is probably something else wrong. I have tried a couple of different versions of plugins. All do the same thing. I tried compiling 1.4.0alpha1 but ran into the following error: In file included from /usr/include/mysql/mysql.h:57, from check_mysql.c:25: /usr/include/mysql/mysql_com.h:181: error: conflicting types for `my_connect' netutils.h:50: error: previous declaration of `my_connect' make[2]: *** [check_mysql.o] Error 1 I was able to find an instance of this error on Google, however, there was no resolution posted. Thanks again for any help. Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.844.2308 Fax - 402.371.4515 "The porcupine with the sharpest quills gets stuck on a tree more often." -- ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From contractor6 at match.com Wed Oct 27 16:28:06 2004 From: contractor6 at match.com (Rodney Caston) Date: Wed, 27 Oct 2004 09:28:06 -0500 Subject: FW: HTTP Monitoring - looking for expected output / erroring on expected output Message-ID: <573F1E2597A7974E924A5F814CAC166D0DF27D45@da0shme010.match.corp> The expected output showed up in the ML wrong, it should look like this: (ignore the blank lines they don't show up like that in practice, they're just here to make sure the formatting is one entry per line for this email to the ML) CFUNSTUFF,INTWEB026,OK,N/A,0,2004-10-27 23:47:46 INITIALJUNK4,INTWEB026,OK,N/A,125,2004-10-27 23:47:46 JUNK10,INTWEB026,OK,N/A,1407,2004-10-27 23:47:48 STUFF47,INTWEB026,OK,N/A,78,2004-10-27 23:47:48 IISQUEUE5,INTWEB026,OK,N/A,31,2004-10-27 23:47:48 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rodney Caston Sent: Wednesday, October 27, 2004 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP Monitoring - looking for expected output / erroring on expected output We have a URL we need to monitoring across a large server farm, this URL when going to say a URL such as http://192.168.0.100/monitorfoo.cfm?test=all The expected output will look like this: CFUNSTUFF,INTWEB026,OK,N/A,0,2004-10-27 23:47:46 INITIALJUNK4,INTWEB026,OK,N/A,125,2004-10-27 23:47:46 JUNK10,INTWEB026,OK,N/A,1407,2004-10-27 23:47:48 STUFF47,INTWEB026,OK,N/A,78,2004-10-27 23:47:48 IISQUEUE5,INTWEB026,OK,N/A,31,2004-10-27 23:47:48 (a list of about 20 entries like those above will appear) all that we care about is the expected value of "OK" for each line, and that the the site itself comes up at all, (does not give a 404, nor does it produce a blank screen for it's output) In the event of an error, we'd either get a 404 on the url, a "ERROR" where "OK" is above, or no output at all on the URL (null) so another possibility would be if it sees the word "ERROR" anywhere, to alarm. Is there a good way for nagios to monitor for these conditions? I can think of several ways Netcool ISM could do it, but I'd like to stick with Nagios. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From david at familie-ecker.net Wed Oct 27 16:29:53 2004 From: david at familie-ecker.net (David Ecker) Date: Wed, 27 Oct 2004 16:29:53 +0200 Subject: Nagios Escalation Message-ID: <200410271629.53715.david@familie-ecker.net> Using esclations we discovered the following phenomena: If a for a service the critical stage is reached alarms will be send to all defined contacts. For this service the notification_interval is set to 20 minutes. After 5 minutes the state of the service changes to WARNING. At this moment alarms will be send to the second escalation step contacts as defined in escalations.cfg. If the service stays at the level CRITICAL the second escaltion stage is activated after 20 minutes. Since I can't find any descritpion about the logic of the escalation steps, how does it work? How can I configure the system that the notification_interval or the time to reach the second escalation stage is well defined and constant? bye David Ecker ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From sushildeshmukh at sqtl.com Wed Oct 27 16:19:06 2004 From: sushildeshmukh at sqtl.com (sushilkumar ) Date: Wed, 27 Oct 2004 19:49:06 +0530 (IST) Subject: eventhandler Message-ID: Hello Friends I have configured nagios server. It's giving me expected result. now for each machine in my lan i want to implement eventhandler for auto repairing of the failured services. I have written the script for vsftpd service. the problem is that i am not getting how to configure these machines to respond to this eventhandler. (particularly if the machines don't have nagios installed on it). I have tried for an addon named as repairer but it won't work. Can anybody help me with some precious suggestion. please Just provide me the clue. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From anders.bolinder at wirelesscar.com Wed Oct 27 16:47:18 2004 From: anders.bolinder at wirelesscar.com (Anders Bolinder) Date: Wed, 27 Oct 2004 16:47:18 +0200 Subject: AW: Nagiostat Message-ID: <49FBD0CE1079B04F814A66E2259E691EB20A1C@SESRV11.wirelesscar.com> I have the same problem... Perf data is working, verified by debug printouts in nagiostat. Using command_line /usr/lib/nagios/nagiostat/nagiostat -p "$LASTCHECK$|!!|$HOSTNAME$|!!|$SERVICEDESC$|!!|$SERVICESTATE$|!!|$OUTPUT$|!!|$PERFDATA$" in the perf processing command. However the nagiostat script will freeze at sub read_config { my $config; open( CONFIG, $CONFIG_FILE); my( $line_counter); while( ) { $line_counter++; chomp; my( @args) = &shellwords( $_); <<<<<<<<<<< /Anders -----Original Message----- From: Cook, Garry [mailto:GWCOOK at mactec.com] Sent: den 27 oktober 2004 15:51 To: James Coggan; Wengrzik, Andreas; nagios-users at lists.sourceforge.net Subject: RE: AW: [Nagios-users] Nagiostat Did you recompile Nagios with Perfdata support built in? If so, check the Nagios web interface and make sure that Performance Data is enabled there as well. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.273.5050 (Office) - 720.220.1862 (Mobile) nagios-users-admin at lists.sourceforge.net wrote: > Yes I read the documentation, I reinstalled and configured nagiostat > 3 times the debug is set to 3 and all configurations and permissions > are ok. Checked twice before posting here. > The nagios.log gives no errors and the debug.log gives nothing. Its > empty, that why I'm thinking nagios isn't executing nagiostat. > The I rechecked nagios configuration files. Remade them by > scratch and > nothing > > Wengrzik, Andreas wrote: > >> You got an logfile in the nagiostat folder?? >> You set debugging in nagiostat.cgi to 3 ? >> >> -----Urspr?ngliche Nachricht----- >> Von: James Coggan [mailto:jamesmarkcoggan at yahoo.com.br] >> Gesendet: Mittwoch, 27. Oktober 2004 12:43 >> An: nagios-users at lists.sourceforge.net >> Betreff: [Nagios-users] Nagiostat >> >> >> Hi, >> >> I'm trying to use nagiostat to create some graphs >> The problem is that nagios doesn't run nagiostat or whatever >> perf-data service you add the process_performance_data is set to 1 >> and nothing happens Any ideas why? I tried using nagios with and >> without mysql and on both cases no execution ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From behrens at mcs.anl.gov Wed Oct 27 17:49:37 2004 From: behrens at mcs.anl.gov (Scott Behrens) Date: Wed, 27 Oct 2004 10:49:37 -0500 Subject: Comman-line Tools Message-ID: <417FC391.7050104@mcs.anl.gov> Does anyone know of a tool to give status and summary information about nagios hosts and services from the command line? Thanks, -- Scott Behrens Network and Systems Staff Room B-244 1-630-252-4198 Mathematics and Computer Science Division Argonne National Laboratory ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From marc at ena.com Wed Oct 27 17:54:17 2004 From: marc at ena.com (Marc Powell) Date: Wed, 27 Oct 2004 10:54:17 -0500 Subject: Comman-line Tools Message-ID: <349555FA607F3A4CBDA9326035D1A7FC438067@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Behrens Sent: Wednesday, October 27, 2004 10:50 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Comman-line Tools > Does anyone know of a tool to give status and summary information about > nagios hosts and services from the command line? There's NSC -- http://www.nagios.org/download/extras.php nsc allows you to monitor Nagios services without the expense or availability of a GUI. It is a Curses-based Perl script to be run on in a terminal and provides for a quick colourized overview of services monitored by Nagios. -- Marc ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From karl at sfdata.net Wed Oct 27 19:11:42 2004 From: karl at sfdata.net (Karl) Date: Wed, 27 Oct 2004 10:11:42 -0700 (PDT) Subject: Nagios On Mandrake 10 In-Reply-To: <50181.67.164.12.197.1098849540.squirrel@mail.sfdata.net> References: <50181.67.164.12.197.1098849540.squirrel@mail.sfdata.net> Message-ID: <54754.67.164.12.197.1098897102.squirrel@mail.sfdata.net> For future reference by future users: Greeting Future Human, this is the ten minute way to get Nagios up and running using Mandrake 10 Official. I made this to save all humans time. Mandrake 10 works with Nagios in the following ways: You install 3 RPMs, Nagios Plugins, Nagios, and Nagios WWW, and their dependencies. You then visit the "Configure My Computer" tool to an icon called "Services" and turn on Nagios. http://localhost/admin/nagios /etc/nagios/ is where the config/docs are. Since slocate works differently than on BSD systems, I had to type slocate -u /home to create the slocate DB, then found my nagios files. Hopefully this snippet benefits you, let me know if it does. -krb > Hi, > > I was working in OpenBSD on Nagios, but figured to try Mandrake 10, and > voila, it installed quite well, even showing up in the services as already > running. > > Question, installing from RPMs has the down side of not showing you the > docs, anyone know how to access the web interface [URL] for Nagios on > Mandrake 10, as well as where the docs/config files are? [i installed the > nagios-www]. > > -karlski > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 > -- Karl R. Balsmeier Sr. Systems Engineer SFDATA.NET, LLC 415.608.2681 --- NOTICE: This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose, or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From andreschmidt76 at arcor.de Wed Oct 27 19:56:29 2004 From: andreschmidt76 at arcor.de (Andre Schmidt) Date: Wed, 27 Oct 2004 19:56:29 +0200 Subject: notifications wont go enabled Message-ID: <200410271956.29548.andreschmidt76@arcor.de> hi, my OCD config looks something like this: ... define host{ checks_enabled 1 notifications_enabled 1 alias blah address xx.xx.xx.xx parents core01 host_name extcore01 check_command check-router-alive max_check_attempts 3 notification_interval 300 notification_period 24x7 notification_options d,u,r retain_status_information 1 retain_nonstatus_information 1 event_handler_enabled 0 flap_detection_enabled 0 } define service{ active_checks_enabled 1 notifications_enabled 1 host_name extcore01 service_description ping contact_groups coreadmins check_command check_ping!30,10%!100,100% notification_options w,u,c,r max_check_attempts 10 normal_check_interval 60 retry_check_interval 15 check_period 24x7 notification_interval 120 notification_period 24x7 retain_status_information 1 retain_nonstatus_information 1 passive_checks_enabled 0 event_handler_enabled 0 flap_detection_enabled 0 } .... nagios.cfg has this "enable_notifications=1" but when i start nagios, all host and services (that has notifications enabled=1) are and stay disabled for notification in the webinterface... is this a bug or am i doing something wrong ? im using nagios-text with debian/sarge nagios -v /etc/nagios/nagios.cfg gives no errors nor warnings cheers, andre ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Jack.Schwenderman at theamc.com Wed Oct 27 20:07:06 2004 From: Jack.Schwenderman at theamc.com (Schwenderman, Jack) Date: Wed, 27 Oct 2004 14:07:06 -0400 Subject: AW: Nagiostat Message-ID: <14C0D45C45B3D145A2F49764D6625D672D152E@EXNJ.theamc.com> I've been busting my balls on the same issue all day. I finally found something in a prior post that helped me solve my problem. I suspect that this may be your problem too. Delete or Rename your status.sav file. This is in ${prefix}/var/ This is only supposed to save the last state of each host or service, but it must be a bug in Nagios or the Docs, because it seems to also save the fact that Performance Data is turned OFF. As soon as I removed this file and restarted Nagios, I finally saw that performance data was enabled. Jack -------------- next part -------------- An HTML attachment was scrubbed... URL: From sheeri.kritzer at tufts.edu Wed Oct 27 20:16:39 2004 From: sheeri.kritzer at tufts.edu (Sheeri Kritzer) Date: Wed, 27 Oct 2004 14:16:39 -0400 Subject: plugin timed out vs. unreachable? Message-ID: <1098900999.417fe6072dcd5@webmail.tufts.edu> We've set up parents (host dependencies) for some machines. However, there are times when we had a switch down where we got paged because the plugin timed out, as opposed to actually finding a problem. If it did find a problem, the host was unreachable. Why does this happen? is there any way around it? -Sheeri Kritzer Systems Administrator University Systems Group Tufts University 617-627-3925 sheeri.kritzer at tufts.edu ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From marc at ena.com Wed Oct 27 21:01:50 2004 From: marc at ena.com (Marc Powell) Date: Wed, 27 Oct 2004 14:01:50 -0500 Subject: AW: Nagiostat Message-ID: <349555FA607F3A4CBDA9326035D1A7FC43809B@mismail.ena.com> ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Schwenderman, Jack Sent: Wednesday, October 27, 2004 1:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: AW: Nagiostat I've been busting my balls on the same issue all day. I finally found something in a prior post that helped me solve my problem. I suspect that this may be your problem too. Delete or Rename your status.sav file. This is in ${prefix}/var/ This is only supposed to save the last state of each host or service, but it must be a bug in Nagios or the Docs, because it seems to also save the fact that Performance Data is turned OFF. As soon as I removed this file and restarted Nagios, I finally saw that performance data was enabled. It's not a bug and it's documented -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html Retention Notes It is important to point out that several directives in host and service definitions may not be picked up by Nagios when you change them. Host and service directives that can exhibit this behavior are marked with an asterisk (*). The reason for this behavior is due to the fact that Nagios chooses to honor values stored in the state retention file over values found in the config files, assuming you have state retention enabled on a program-wide basis. One way to get around this problem is to disable the retention of non-status information using the retain_nonstatus_information directive in the host and service definitions. Disabling this directive will cause Nagios to take the initial values for these directives from your config files, rather than from the state retention file when it (re)starts. Using this option is not recommended, as it may result in some unexpected (from your point of view) results. Alternatively, you can issue the appropriate external command or change the value of the host or service directive via the web interface, so that it matches what you've changed it to in the config files. This is usually done by using the extended information CGI. This option takes a bit more work, but is preferable to disabling the retention of non-status information (mentioned above). ... process_perf_data *: This directive is used to determine whether or not the processing of performance data is enabled for this host. Values: 0 = disable performance data processing, 1 = enable performance data processing. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From leoh at dcc.ufmg.br Wed Oct 27 21:53:45 2004 From: leoh at dcc.ufmg.br (Leonardo Henrique Machado) Date: Wed, 27 Oct 2004 16:53:45 -0300 (BRST) Subject: Where is nagios.square-box.com Message-ID: Why the link on the nagios.org/demo does not work anymoure? http://nagios.square-box.com/ -- Leonardo Henrique Machado Universidade Federal de Minas Gerais ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Jack.Schwenderman at theamc.com Wed Oct 27 22:00:59 2004 From: Jack.Schwenderman at theamc.com (Schwenderman, Jack) Date: Wed, 27 Oct 2004 16:00:59 -0400 Subject: AW: Nagiostat Message-ID: <14C0D45C45B3D145A2F49764D6625D67080F5FA2@EXNJ.theamc.com> Well, there are certainly enough posts in this list to indicate that this odd behavior needs a little more documentation. Like maybe instead of the * in the config file, put a one line comment like... "Retaining State also retains this setting and your configuration changes won't take effect unless you delete your status.sav file." Just my 2cents -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Wednesday, October 27, 2004 3:02 PM To: Schwenderman, Jack; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] RE: AW: Nagiostat ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Schwenderman, Jack Sent: Wednesday, October 27, 2004 1:07 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] RE: AW: Nagiostat I've been busting my balls on the same issue all day. I finally found something in a prior post that helped me solve my problem. I suspect that this may be your problem too. Delete or Rename your status.sav file. This is in ${prefix}/var/ This is only supposed to save the last state of each host or service, but it must be a bug in Nagios or the Docs, because it seems to also save the fact that Performance Data is turned OFF. As soon as I removed this file and restarted Nagios, I finally saw that performance data was enabled. It's not a bug and it's documented -- http://nagios.sourceforge.net/docs/1_0/xodtemplate.html Retention Notes It is important to point out that several directives in host and service definitions may not be picked up by Nagios when you change them. Host and service directives that can exhibit this behavior are marked with an asterisk (*). The reason for this behavior is due to the fact that Nagios chooses to honor values stored in the state retention file over values found in the config files, assuming you have state retention enabled on a program-wide basis. One way to get around this problem is to disable the retention of non-status information using the retain_nonstatus_information directive in the host and service definitions. Disabling this directive will cause Nagios to take the initial values for these directives from your config files, rather than from the state retention file when it (re)starts. Using this option is not recommended, as it may result in some unexpected (from your point of view) results. Alternatively, you can issue the appropriate external command or change the value of the host or service directive via the web interface, so that it matches what you've changed it to in the config files. This is usually done by using the extended information CGI. This option takes a bit more work, but is preferable to disabling the retention of non-status information (mentioned above). ... process_perf_data *: This directive is used to determine whether or not the processing of performance data is enabled for this host. Values: 0 = disable performance data processing, 1 = enable performance data processing. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From rnelson at windchannel.com Wed Oct 27 22:07:21 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 27 Oct 2004 16:07:21 -0400 Subject: check_snmp problems Message-ID: I had this problem yesterday. The problem I have is that the check_snmp plugin only allows you to specify versions (-P) of 1 and 3. By playing with the snmpget command, I found out that I needed version 2c. The fix was to edit /usr/local/src/nagios/nagios-plugins-1.3.1/plugins/check_snmp.c, search for proto, find the appropriate section, and change "1" to "2c". After that, recompile. I'm not sure why the plugin won't let you specify 2c, but the fix was good enough for me! Rob Nelson Network Engineer Windchannel Communications 919-538-6326 > -----Original Message----- > From: icedtea [mailto:icedtea at gamebox.net] > Sent: Wednesday, October 27, 2004 4:47 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_snmp problems > > > > I am always receiving error no data received when trying to use snmp > plugins. Any ideas will be very helpful. > > [root at host libexec]# ./check_snmp -H host -C public -o > 1.3.6.1.4.1.2021.11.9.0 > SNMP problem - No data recieved from host > CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public host:161 > 1.3.6.1.4.1.2021.11.9.0 > > regards, > icedtea > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From calipah at free.fr Wed Oct 27 22:19:46 2004 From: calipah at free.fr (Kim) Date: Wed, 27 Oct 2004 22:19:46 +0200 Subject: Where is nagios.square-box.com In-Reply-To: References: Message-ID: <418002E2.6030706@free.fr> Leonardo Henrique Machado wrote: > Why the link on the nagios.org/demo does not work anymoure? > > http://nagios.square-box.com/ > > > > because service http in state CRITICAL maybe ? ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From spook at myrealbox.com Wed Oct 27 22:46:35 2004 From: spook at myrealbox.com (Spook) Date: Wed, 27 Oct 2004 22:46:35 +0200 Subject: Sheduled downtime Message-ID: <003a01c4bc66$0d43f4e0$08faa8c0@jibbet> Hi. Anyone know how to get all the services on a host to automatically inherit any downtime scheduled for that host? The first time I scheduled downtime for a host I found I had to go and schedule downtime for each service manually. This can be a pain if you have an entire branch/site going down for say electrical maintenance. Regards, Andrew. P.S. Its really annoying when people post to this list in html or rich text. It bloats messages out of proportion. Please post only in plain text. P.P.S. Anyone know where I can find icons for printers and wireless access points? -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed Oct 27 22:52:10 2004 From: marc at ena.com (Marc Powell) Date: Wed, 27 Oct 2004 15:52:10 -0500 Subject: Where is nagios.square-box.com Message-ID: <349555FA607F3A4CBDA9326035D1A7FC4380AC@mismail.ena.com> ----Original Message---- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Leonardo Henrique Machado Sent: Wednesday, October 27, 2004 2:54 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Where is nagios.square-box.com > Why the link on the nagios.org/demo does not work anymoure? > > http://nagios.square-box.com/ They haven't paid their registrar to renew the domain yet -- Registrant: squareBox technologies 18 Victoria Chase North Station Road Colchester, Essex CO1 1WN GB Domain name: SQUARE-BOX.COM Administrative Contact: Welsh, Tom hostmaster at square-box.com 18 Victoria Chase North Station Road Colchester, Essex CO1 1WN GB 01206 533743 Technical Contact: Jellinek, Jake hostmaster at positive-internet.com 24 Broadway West Ealing London, London W13 0SU GB +44.2085791555 Fax: +44.2076811881 Registrar of Record: TUCOWS, INC. Record last updated on 27-Oct-2003. Record expires on 25-Oct-2004. Record created on 25-Oct-2002. Domain servers in listed order: NS5.POSITIVE-INTERNET.COM 80.87.128.70 NS1.POSITIVE-INTERNET.COM 195.8.71.30 Domain status: REGISTRAR-HOLD ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From teng at dataway.com Wed Oct 27 22:53:31 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 27 Oct 2004 13:53:31 -0700 Subject: Notification_Interval Problem Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73C2@dw-mail.dataway.com> Hosts and services do not inherit settings from each other. Each is independently configured. There is however a dependency relationship - a host problem will trump its service problems. If the host is down, it will use the host notification interval. Services belonging to downed host the will not be notified, because it is a host problem, not a service problem. If the host is up, downed services belonging to the host will notify according to the service's notification interval. -----Original Message----- From: David Ecker [mailto:david at familie-ecker.net] Sent: Wednesday, October 27, 2004 12:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notification_Interval Problem Hi, using nagios 1.2; if the notification interval in the host definition is different from the notification_interval in the service definition for the host, is it true that the shorter interval will be taken? Is it possible to define different notification intervals for different services on the same host and another notification_interval for the host itself? bye Thx David Ecker ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From teng at dataway.com Wed Oct 27 22:57:10 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 27 Oct 2004 13:57:10 -0700 Subject: check_snmp problems Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73C3@dw-mail.dataway.com> Also, your OID should start with "." -o .1.3.6.1.4.1.2021.11.9.0 -----Original Message----- From: icedtea [mailto:icedtea at gamebox.net] Sent: Wednesday, October 27, 2004 1:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_snmp problems I am always receiving error no data received when trying to use snmp plugins. Any ideas will be very helpful. [root at host libexec]# ./check_snmp -H host -C public -o 1.3.6.1.4.1.2021.11.9.0 SNMP problem - No data recieved from host CMD: /usr/bin/snmpget -t 1 -r 9 -m ALL -v 1 -c public host:161 1.3.6.1.4.1.2021.11.9.0 regards, icedtea ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From jwilliams at courtesymortgage.com Wed Oct 27 23:05:53 2004 From: jwilliams at courtesymortgage.com (Jason Williams) Date: Wed, 27 Oct 2004 14:05:53 -0700 Subject: check_load question In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1AFC73BF@dw-mail.dataway.com > References: <37ED92F9890FAF4BB947613C66FF8B1AFC73BF@dw-mail.dataway.com> <37ED92F9890FAF4BB947613C66FF8B1AFC73BF@dw-mail.dataway.com > Message-ID: <6.1.2.0.0.20041027131849.02565a48@corpmail.courtesymortgage.com> At 05:27 PM 10/26/2004, you wrote: >check_load is a local system plugin. It does not query load average or >anything else over your network. What you are doing is checking your nagios >server's load avg 7x. I see. So when I thought I was checking my remote servers load average, I was really just checking the local machines load average. >To add remote monitoring capabilities to local system plugins, wrap the >plugin in check_by_ssh, nrpe, or nsca. >The plugin will then execute locally on the remote machine, but the results >will be sent by network to your nagios server. Another method is using snmp >on the target devices. Searching the archives, I see some tips that may help me out. >NRPE (pull) and NSCA (push) are both downloadable from the main nagios site. Maybe I should add these to my systems? Probably would make things better I am assuming? >Before asking about automating ssh logins, please read the archives. That >one has been answered many many many times. Will do. One thing I noticed is that if I do run the check_by_ssh command, my 'nagios' user on the nagios box, that account should exist on the other clients as well? Just thought i'd ask. Or it appears, I can use NRPE or NSCA plugins. Cheers, Jason ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From teng at dataway.com Wed Oct 27 23:05:41 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 27 Oct 2004 14:05:41 -0700 Subject: HTTP Monitoring - looking for expected output / erroring on expected output Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73C4@dw-mail.dataway.com> Write a plugin script using wget and grep. wget has configurable timeouts and will return error codes for 404, etc. -----Original Message----- From: Rodney Caston [mailto:contractor6 at match.com] Sent: Wednesday, October 27, 2004 7:28 AM To: nagios-users at lists.sourceforge.net Subject: FW: [Nagios-users] HTTP Monitoring - looking for expected output / erroring on expected output The expected output showed up in the ML wrong, it should look like this: (ignore the blank lines they don't show up like that in practice, they're just here to make sure the formatting is one entry per line for this email to the ML) CFUNSTUFF,INTWEB026,OK,N/A,0,2004-10-27 23:47:46 INITIALJUNK4,INTWEB026,OK,N/A,125,2004-10-27 23:47:46 JUNK10,INTWEB026,OK,N/A,1407,2004-10-27 23:47:48 STUFF47,INTWEB026,OK,N/A,78,2004-10-27 23:47:48 IISQUEUE5,INTWEB026,OK,N/A,31,2004-10-27 23:47:48 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rodney Caston Sent: Wednesday, October 27, 2004 8:53 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HTTP Monitoring - looking for expected output / erroring on expected output We have a URL we need to monitoring across a large server farm, this URL when going to say a URL such as http://192.168.0.100/monitorfoo.cfm?test=all The expected output will look like this: CFUNSTUFF,INTWEB026,OK,N/A,0,2004-10-27 23:47:46 INITIALJUNK4,INTWEB026,OK,N/A,125,2004-10-27 23:47:46 JUNK10,INTWEB026,OK,N/A,1407,2004-10-27 23:47:48 STUFF47,INTWEB026,OK,N/A,78,2004-10-27 23:47:48 IISQUEUE5,INTWEB026,OK,N/A,31,2004-10-27 23:47:48 (a list of about 20 entries like those above will appear) all that we care about is the expected value of "OK" for each line, and that the the site itself comes up at all, (does not give a 404, nor does it produce a blank screen for it's output) In the event of an error, we'd either get a 404 on the url, a "ERROR" where "OK" is above, or no output at all on the URL (null) so another possibility would be if it sees the word "ERROR" anywhere, to alarm. Is there a good way for nagios to monitor for these conditions? I can think of several ways Netcool ISM could do it, but I'd like to stick with Nagios. ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&op=ick _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From teng at dataway.com Wed Oct 27 23:08:21 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 27 Oct 2004 14:08:21 -0700 Subject: notifications wont go enabled Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73C5@dw-mail.dataway.com> Are they staying that way because of state retention? Try clearing status.sav before restarting -----Original Message----- From: Andre Schmidt [mailto:andreschmidt76 at arcor.de] Sent: Wednesday, October 27, 2004 10:56 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] notifications wont go enabled hi, my OCD config looks something like this: ... define host{ checks_enabled 1 notifications_enabled 1 alias blah address xx.xx.xx.xx parents core01 host_name extcore01 check_command check-router-alive max_check_attempts 3 notification_interval 300 notification_period 24x7 notification_options d,u,r retain_status_information 1 retain_nonstatus_information 1 event_handler_enabled 0 flap_detection_enabled 0 } define service{ active_checks_enabled 1 notifications_enabled 1 host_name extcore01 service_description ping contact_groups coreadmins check_command check_ping!30,10%!100,100% notification_options w,u,c,r max_check_attempts 10 normal_check_interval 60 retry_check_interval 15 check_period 24x7 notification_interval 120 notification_period 24x7 retain_status_information 1 retain_nonstatus_information 1 passive_checks_enabled 0 event_handler_enabled 0 flap_detection_enabled 0 } .... nagios.cfg has this "enable_notifications=1" but when i start nagios, all host and services (that has notifications enabled=1) are and stay disabled for notification in the webinterface... is this a bug or am i doing something wrong ? im using nagios-text with debian/sarge nagios -v /etc/nagios/nagios.cfg gives no errors nor warnings cheers, andre ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From teng at dataway.com Thu Oct 28 01:07:10 2004 From: teng at dataway.com (Tedman Eng) Date: Wed, 27 Oct 2004 16:07:10 -0700 Subject: check_load question Message-ID: <37ED92F9890FAF4BB947613C66FF8B1AFC73C8@dw-mail.dataway.com> Look for an article called "Secure Passwordless Logins with SSH" on the "Hacking Exposed" website. 3 articles in detail, plus a half dozen more regarding SSH topics. -----Original Message----- From: Jason Williams [mailto:jwilliams at courtesymortgage.com] Sent: Wednesday, October 27, 2004 2:06 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] check_load question Will do. One thing I noticed is that if I do run the check_by_ssh command, my 'nagios' user on the nagios box, that account should exist on the other clients as well? Just thought i'd ask. Or it appears, I can use NRPE or NSCA plugins. Cheers, Jason ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Jan.Scholten at iconz.net Thu Oct 28 01:39:22 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 28 Oct 2004 12:39:22 +1300 Subject: Parents - Logical or Physical? Message-ID: Imagine i have the following Setup: * R2 | | SW1 -- SW2 -- SW3 | R1 So i have a Router on a Stick configuration.. Traffic for diffenernt (V)Lans is Routetd at R1 and feed back to SW1 before travelling further to SW2 (Maybe the management Vlan). So my phsical parents would be NagiosPC | SW1 /\ / \ R1 SW2 The Logical something like: NagiosPC | SW1 | R1 | Sw1 | SW2 What is the right method to configure? Jan -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Jan.Scholten at iconz.net Thu Oct 28 01:39:23 2004 From: Jan.Scholten at iconz.net (Jan Scholten) Date: Thu, 28 Oct 2004 12:39:23 +1300 Subject: EM01 HVAC Monitor Plugin (No output!) check_em01.pl In-Reply-To: References: Message-ID: Does it work from the commandline (as user nagios?)? This is the common problem along with: the plugin has more the one line of output. > I'm using Nagios 1.2 and the check_em01.pl works fine from the command > line. In Nagios it comes up saying "(No output!)". Can anyone give me > some advice in how I should go about troubleshooting this because I'd > like to figure it out myself ;) > > Any help would be fantastic. > > Thankyou > Jo > > -- Jan Scholten Research and Development Intern Iconz.co.nz ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From nward at quicksilver.co.nz Thu Oct 28 02:32:06 2004 From: nward at quicksilver.co.nz (Nathan Ward) Date: Thu, 28 Oct 2004 13:32:06 +1300 Subject: Alerting on 'rate' thresholds Message-ID: I'd like to use nagios to monitor things like octets transferred on an interface per second, and other things that are typically constantly incrementing counters. I am looking at using the nagios performance data framework for putting data in to RRD for graphing, which enables several possible ideas: - Write a wrapper around each of the checks that return this performance data, which knows how to read a value from RRD and compare it against a threshold. Of course, this means that I am checking data that is >= normal_check_interval old, not the data I have just read. - Set up another service for each rate threshold I want to monitor, which runs a script to do the above test on an RRD. This means that the data I am checking is <= normal_check_interval. Still, it's not the most up to date data. Ideally, I'd like to run a check script right after the performance data command (ie inserting data in to RRD) has been run. Any bright ideas? What about cricket? How are other people monitoring 'rate' thresholds? -- Nathan Ward ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From edy at egan.com.au Thu Oct 28 02:41:25 2004 From: edy at egan.com.au (Edy Gasparini) Date: Thu, 28 Oct 2004 10:41:25 +1000 Subject: Nagios scheduling issues Message-ID: <000c01c4bc86$db429570$cdbf35a4@r3cda5b6> Guys, Have got Nagios 1.2 running on RedHat Enterprise Linux 3 (RHEL3), with MySQL support/backend. With a small number of hosts/services (say <10), scheduling works as expected, based on check_interval values. However, now I have 34 hosts and 760 service checks and the scheduling is screwed badly. Checks are being scheduled 60 mins or so apart (with check_interval = 2) I originally had: inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 I've since changed from smart to set figures, as described in the Nagios doco, with no change. Check latency is currently displaying 3206 / 3935 / 3635.479 sec Performance info says: <= 1 minute: 0 (0.0%) <= 5 minutes: 28 (3.6%) <= 15 minutes: 127 (16.5%) <= 1 hour: 628 (81.5%) Does anyone have a guide on correctly tuning Nagios for large deployments? thanks and regards, Edy Gasparini, Lead Security Specialist Security Services | Southern Star Technology | National Australia Bank +61 3 9886 2404 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From jhmartin at toger.us Thu Oct 28 02:56:19 2004 From: jhmartin at toger.us (Jason Martin) Date: Wed, 27 Oct 2004 17:56:19 -0700 Subject: Alerting on 'rate' thresholds In-Reply-To: References: Message-ID: <20041028005619.GV31187@zippy.toger.us> On Thu, Oct 28, 2004 at 01:32:06PM +1300, Nathan Ward wrote: > Ideally, I'd like to run a check script right after the performance > data command (ie inserting data in to RRD) has been run. This can be done by either sending Nagios the 'force service check' command, or by submitting a passive check result with the status. -Jason Martin -- You need professional help. May I suggest Jack Kevorkian? 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 jojo472 at hotmail.com Thu Oct 28 03:42:40 2004 From: jojo472 at hotmail.com (Jo Bailey) Date: Thu, 28 Oct 2004 11:42:40 +1000 Subject: EM01 HVAC Monitor Plugin (No output!) check_em01.pl Message-ID: Thankyou Jan, indeed that's what it is :) Regards Jo >From: "Jan Scholten" >To: "Jo Bailey" , nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] EM01 HVAC Monitor Plugin (No output!) >check_em01.pl >Date: Thu, 28 Oct 2004 12:39:23 +1300 > >Does it work from the commandline (as user nagios?)? >This is the common problem along with: the plugin has more the one line of >output. > > >>I'm using Nagios 1.2 and the check_em01.pl works fine from the _________________________________________________________________ Find love today with ninemsn personals. Click here: http://ninemsn.match.com?referrer=hotmailtagline ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From rnelson at windchannel.com Thu Oct 28 03:37:03 2004 From: rnelson at windchannel.com (Robert Nelson) Date: Wed, 27 Oct 2004 21:37:03 -0400 Subject: Sheduled downtime Message-ID: > Anyone know how to get all the services on a host to automatically inherit any downtime scheduled for that host? > The first time I scheduled downtime for a host I found I had to go and schedule downtime for each service manually. > This can be a pain if you have an entire branch/site going down for say electrical maintenance. Andrew, Not sure how to do that, but I might suggest using hostgroups based on location. You can then use the Status Summary page to click on a hostgroup and assign downtime to all hosts and services in that group. If this creates too many hostgroups for you to manage, I'd then suggest the side.pl hack (http://www.nagiosexchange.org/NagSide.1766.0.html) to make SuperGroups that can be collapsed or expanded in the left hand menu. In general, I think it makes Nagios a much more manageable program to boot. > P.P.S. Anyone know where I can find icons for printers and wireless access points? No idea on the WAP images. You find any, you let me know, I work for a WISP! Rob Nelson Network Engineer Windchannel Communications 919-538-6326 ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_idU88&alloc_id065&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 From atmosfear at users.sourceforge.net Thu Oct 28 04:39:08 2004 From: atmosfear at users.sourceforge.net (Felix Buenemann) Date: Thu, 28 Oct 2004 04:39:08 +0200 Subject: Checking windows version In-Reply-To: <6943DE9E9934CD42BBE4A20E0E28E10E5941D2@SYGOMAIL.GOE.AD.SYCOR.DE> References: <6943DE9E9934CD42BBE4A20E0E28E10E5941D2@SYGOMAIL.GOE.AD.SYCOR.DE> Message-ID: <200410280439.08216.atmosfear@users.sourceforge.net> On Wednesday 27 October 2004 08:10, Sand Philipp wrote: > Hi Felix, > > 1. we don't wanne spend money for that check, so a commercial solution > is no option :) then look at MBSA as suggested. Btw. worth lloking into Windows Software Update Server (SUS) aswell here... > 2. it would just be great if you could put this into nagios, our admins > look at this single point, and can view nearly everything important... > 3. thanks for the tip with snmp, I'll take a look if i find the > approprate oid. Don't knwo why i hadn't come to this before :) SNMPv2-MIB::sysDescr.0 = STRING: Hardware: x86 Family 15 Model 2 Stepping 9 AT/AT COMPATIBLE - Software: Windows Version 5.2 (Build 3790 Uniprocessor Free) > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > > Of Felix Buenemann > > Sent: Tuesday, October 26, 2004 8:43 PM > > To: nagios-users at lists.sourceforge.net > > Subject: Re: [Nagios-users] Checking windows version > > > > Hi Philipp, > > > > I don't have a plugin ready for this, but it can all be > > extracted from SNMP information. Anyways, how do you want to > > analyze installed hotfixes from nagios? That IMHO makes no > > sense and there are other tools that do that just fine, eg. > > Retina from eEye Security to name a (very good) commercial tool. > > > > On Monday 25 October 2004 10:50, Sand Philipp wrote: > > > Hi list, > > > > > > I wonder if anyone got a plugin to check information about the > > > installed windows version on a target host (Win 2000 > > > > Server, Win 2003 > > > > > Server, State of Hotfixes etc.) Best practice would be if > > > > you could do > > > > > it without any extra client but nsclient installed on the > > > > target system... > > > > > Regards, > > > Philipp -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From atmosfear at users.sourceforge.net Thu Oct 28 04:59:51 2004 From: atmosfear at users.sourceforge.net (Felix Buenemann) Date: Thu, 28 Oct 2004 04:59:51 +0200 Subject: Monitoring MS Exchange Message-ID: <200410280459.51219.atmosfear@users.sourceforge.net> Hi, does anyone here have a clever script/way for monitoring MS Exchange 2k/2k3? One can just do some checks for snmp and imap, but's that's not really a clean or cover-all-failures solution. -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From atmosfear at users.sourceforge.net Thu Oct 28 05:06:36 2004 From: atmosfear at users.sourceforge.net (Felix Buenemann) Date: Thu, 28 Oct 2004 05:06:36 +0200 Subject: Problem: queueing SMS-notifications In-Reply-To: <417E1A44.8020604@dhl.com> References: <001a01c4bb38$a9474740$c70a280a@ges.local> <1098781504.417e134069530@webmail.whoever.org> <417E1A44.8020604@dhl.com> Message-ID: <200410280506.36695.atmosfear@users.sourceforge.net> Or replace the call to yaps by something (like a shell script) that writes the sms messages into a folder with the mobile number as filename and message as content. Then set up a cronjob that checks this folder for files and sends em out one-by-one. On Tuesday 26 October 2004 11:35, Tom DE BLENDE (GCC) wrote: > Or try smsclient, it has its own queueing mechanism built in and works > like a charm... > > az at whoever.org wrote: > >I'm not familiar with yaps... Try using smstools instead? We have some > > alerts queued for over 45 people dispatched over 2 GSM modems and it > > works like a dream. > > > >http://www.meinemullemaus.de/smstools/index.html > >### This message was scanned for viruses by Sophos Anti-Virus. -- Best Regards, Atmos ____________________________________________ - MPlayer Developer - http://mplayerhq.hu/ - ____________________________________________ ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From bruce at webfarm.co.nz Thu Oct 28 05:25:46 2004 From: bruce at webfarm.co.nz (Bruce) Date: Thu, 28 Oct 2004 16:25:46 +1300 Subject: Statusmap logos, ignore hostextinfo.cfg In-Reply-To: <20041025114447.QQBC16455.amsfep12-int.chello.nl@localhost> References: <20041025114447.QQBC16455.amsfep12-int.chello.nl@localhost> Message-ID: <418066BA.2060606@webfarm.co.nz> Hi, I dont know if you have solved this yet, but there are two things you may want to check: 1. The logos are in the logos directory (obvious but can be overlooked) I think they need the GD versions (correct me if im wrong) or they wont display. 2. If you are authentication on the system you need to ensure that the user viewing the status map has permission to view the hosts, we encounted the exact same problem when we setup a local monitor to show whats happening. Normally we login with a username and password which says what access we have however the monitor couldnt handle this so we removed it just for this machine and the logos disappeared. Our simple fix for this was to set an option which said anyone not authenticated has permission to see all hosts. (Theres an option in cgi.cfg for this, cant remember what it is however (sorry)) Hope that helps a little, -- +------------------------------------------+ \|||/ | Bruce at WebFarm.co.nz +64 06 7572881 | (o o) | Systems Technician +---ooO-(_)-Ooo---+ | | | WebFarm http://www.webfarm.co.nz | | FreeParking http://www.freeparking.co.nz | +------------------------------------------------------------+ ... FreeParking - NZ's best value Domain, WebHosting and email accou p.prins at chello.nl wrote: >Hello all, > >Yet another question about the logos that won't show-up in the nagios statusmap. I have read almost the complete mailing-list archive, but it seems there is no 'real' way to fix it. > >OS: RH8, kernel 2.4 >Nagios: 1.2 > >I recompiled nagios, I installed gd-lib, zlib, pnglib, jpeg lib etc. and when I exceute the command >% ldd statusmap.cgi the library dependencies are all pointing to existing paths and files. > >This is my hosextinfo file (only 1 host for example) > >define hostextinfo{ > name windows-icons > icon_image win40.png > icon_image_alt Microsoft Windows 2000 > vrml_image win40.png > statusmap_image win40.gd2 > register 0 # don"t register the template > } > > define hostextinfo{ > use windows-icons > host_name windows2k_srv01 > } > >also the xedtemplate_config_file variable is set propperly in the cgi.cfg file as the htmlpath and the logos do exist. >I also renamed a win40.gd2 to unknown.gd2 to see if the format is supported, and yes it worked :) > >Who oh who can tell me what's going wrong here? > >Best regards, > >Peter > > > > >------------------------------------------------------- >This SF.net email is sponsored by: IT Product Guide on ITManagersJournal >Use IT products in your business? Tell us what you think of them. Give us >Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more >http://productguide.itmanagersjournal.com/guidepromo.tmpl >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From nagios at mm.quex.org Thu Oct 28 07:13:38 2004 From: nagios at mm.quex.org (nagios at mm.quex.org) Date: Thu, 28 Oct 2004 13:13:38 +0800 Subject: FW: HTTP Monitoring - looking for expected output / erroring on expected output In-Reply-To: <573F1E2597A7974E924A5F814CAC166D0DF27D45@da0shme010.match.corp> References: <573F1E2597A7974E924A5F814CAC166D0DF27D45@da0shme010.match.corp> Message-ID: <20041028051338.GA17502@quex.org> On Wed, Oct 27, 2004 at 09:28:06AM -0500, Rodney Caston wrote: > > > The expected output showed up in the ML wrong, it should look like > this: (ignore the blank lines they don't show up like that in > practice, they're just here to make sure the formatting is one entry > per line for this email to the ML) Actually it showed up fine in the mailing list. If you look at the top of the message preview/window in Outlook, you should see some text that says "Extra line breaks in this message were removed". Click on it and you can tell Outlook to restore the line breaks. As for your problem... > -----Original Message----- > > We have a URL we need to monitoring across a large server farm, this URL > when going to say a URL such as > http://192.168.0.100/monitorfoo.cfm?test=all > > The expected output will look like this: > > CFUNSTUFF,INTWEB026,OK,N/A,0,2004-10-27 23:47:46 > INITIALJUNK4,INTWEB026,OK,N/A,125,2004-10-27 23:47:46 > JUNK10,INTWEB026,OK,N/A,1407,2004-10-27 23:47:48 > STUFF47,INTWEB026,OK,N/A,78,2004-10-27 23:47:48 > IISQUEUE5,INTWEB026,OK,N/A,31,2004-10-27 23:47:48 It's easy to write plugins for Nagios, so just do as someone else suggested and write a simple script using wget & grep, or a python/perl/php/whatever-your-favourite-language script or program to retrieve the page and check it has the expected number of lines that say "OK" in them. The plugin just needs to output one line for Nagios to display, and exit with 0 if everything's okay, 1 if something's bad, 2 if everything's bad, and some other value if it just has no idea what's going on. Something like the following completely untested code could give you a start for a basic script: #!/bin/bash export PATH=/bin:/usr/bin:/sbin:/usr/sbin; tmpfile=$(mktemp -t check.XXXXXX 2>/dev/null); if [ $? -ne 0 ]; then echo "UNKNOWN: could not create temp file"; exit 3; fi wget -O "$tmpfile" http://foo/bar >/dev/null 2>&1; if [ $? -ne 0 ]; then echo "CRITICAL: could not retrieve URL"; rm -f "$tmpfile"; exit 2; fi count=$(wc -l "$tmpfile"); if [ $count -lt 20 ]; then echo "WARNING: only $count entries in the magic file."; rm -f "$tmpfile"; exit 1; fi bad=$(grep -v ,OK, "$tmpfile" | wc -l); if [ $bad -gt 0 ]; then echo "CRITICAL: found $bad bad entries in file."; rm -f "$tmpfile"; exit 2; fi echo "OK: everything is fine."; rm -f "$tmpfile"; exit 0; ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Stefan.Giesen at firstgate.de Thu Oct 28 10:04:29 2004 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Thu, 28 Oct 2004 10:04:29 +0200 Subject: Parents - Logical or Physical? In-Reply-To: References: Message-ID: <1098950668.21102.7.camel@giesen-lx.firstgate.local> Am Do, den 28.10.2004 schrieb Jan Scholten um 1:39: > The Logical something like: > > NagiosPC > | > SW1 > | > R1 > | > Sw1 > | > SW2 > > What is the right method to configure? We have a similar setup, only with 2 of each kind for high availability. Since I couldn't find anything really helpful on the net, I simply "dropped" the first occurence of SW1 in my parents relationship. So if the Router goes down, you'll have to check the switch first "by hand" to see if it's working and if the switch goes down, you'll get down alerts for both router and switch. Since both issues aren't really a big drawback (and as mentioned above, we're using 2 of each kind, so we only have to check the switches "by hand" if BOTH routers go down, the same is true for the second issue), we're happy with this configuration. If anybody knows a better solution, I would be happy to hear it as well ;-) Cheers, Stefan -- 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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Oct 28 10:03:55 2004 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 28 Oct 2004 18:03:55 +1000 Subject: Any interest in testing a simple minded Lotus Notes 5 plugin. Message-ID: <20041028080354.GF5516@IPAustralia.Gov.AU> Dear Folks, Those interested in testing a simple minded Lotus Notes 5 plugin are welcome to contact me privately. Here is the plugin action. tsitc> ./check_lotus -H cbrnotes01 -d Sending Lotus client hello number: 1 0000 82 00 00 00 77 00 00 00 02 00 00 40 02 0f 00 07 ....w...... at .... 0010 00 39 05 9e 45 54 ad ad 03 00 00 00 00 02 00 2f .9..ET........./ 0020 00 00 00 00 00 00 00 00 00 40 1f a0 af 19 d8 92 ......... at ...... 0030 da 37 78 c9 ce 60 5e 35 b8 f7 4e 05 00 10 00 0d .7x..`^5..N..... 0040 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 ................ 0050 00 08 00 9c dc 22 00 7c 6f 25 4a 08 00 10 00 00 .....".|o%J..... 0060 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 ................ 0070 00 10 00 ba ac 8c 49 67 ee a1 22 6f 63 bb 04 b4 ......Ig.."oc... 0080 75 0b 8f 00 00 00 00 00 00 00 u......... 0000 74 00 00 00 69 00 00 00 03 00 00 40 02 0f 00 05 t...i...... at .... 0010 00 3d 05 60 f0 3a 38 03 03 00 00 00 00 02 00 2f .=.`.:8......../ 0020 00 26 00 00 00 00 00 00 00 40 1f 72 2d 02 a5 2d .&....... at .r-..- 0030 b2 ab f5 fe 6f d2 cd 0e f0 ca b1 43 4e 3d 43 42 ....o......CN=CB 0040 52 4e 4f 54 45 53 30 31 2f 4f 55 3d 53 45 52 56 RNOTES01/OU=SERV 0050 45 52 53 2f 4f 3d 49 50 41 75 73 74 72 61 6c 69 ERS/O=IPAustrali 0060 61 05 00 10 00 09 00 00 00 00 00 00 00 00 00 00 a............... 0070 00 00 00 00 00 00 ...... Ok. Lotus server cbrnotes01 responded with CN=CBRNOTES01/OU=SERVERS/O=IPAustralia. It doesn't do much but try and tickle the server and look for a matching server name in the response. 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 -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: disclaimer.txt URL: From ae at op5.se Thu Oct 28 10:06:37 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Oct 2004 10:06:37 +0200 Subject: Alerting on 'rate' thresholds In-Reply-To: References: Message-ID: <4180A88D.3010103@op5.se> Nathan Ward wrote: > I'd like to use nagios to monitor things like octets transferred on an > interface per second, and other things that are typically constantly > incrementing counters. > > I am looking at using the nagios performance data framework for putting > data in to RRD for graphing, which enables several possible ideas: - > Write a wrapper around each of the checks that return this performance > data, which knows how to read a value from RRD and compare it against a > threshold. Of course, this means that I am checking data that is >= > normal_check_interval old, not the data I have just read. > - Set up another service for each rate threshold I want to monitor, > which runs a script to do the above test on an RRD. This means that the > data I am checking is <= normal_check_interval. Still, it's not the most > up to date data. > > Ideally, I'd like to run a check script right after the performance data > command (ie inserting data in to RRD) has been run. > Any bright ideas? > What about cricket? > How are other people monitoring 'rate' thresholds? > Using a temporary datafile (usually just a flat file) to store values since last check, and checking filemtime to see time since last check so rate_per_second=(currentrate - oldrate)/(now - then) It's fairly simple once you take a look at it, but you'll have to make sure each check gets its own datafile, and that you add logic to work around the division by zero that may occur if some idiot try to use the same check twice within the same cpu clock second. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From jojo472 at hotmail.com Thu Oct 28 10:13:33 2004 From: jojo472 at hotmail.com (Jo Bailey) Date: Thu, 28 Oct 2004 18:13:33 +1000 Subject: NSClient Help Message-ID: I've installed NSClient and seem to be having a problem getting the checks to work. I copied exactly what was on the documentation but it fails. NSClient is installed and running, it's the Nagios configuration files I'm not sure how to set up. I'm using version 1.2 and the checkcommands.cfg entries given in the NSClient docs look wrong to me. If anyone can post (or send me) the required Nagios config changes I must make to enable NSClient checks, I think I've missed something. A sample from a working install would be enough for me to figure it out. Thankyou Jo _________________________________________________________________ SEEK: Now with over 50,000 dream jobs! Click here: http://ninemsn.seek.com.au?hotmail ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From ae at op5.se Thu Oct 28 10:21:45 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Oct 2004 10:21:45 +0200 Subject: Nagios scheduling issues In-Reply-To: <000c01c4bc86$db429570$cdbf35a4@r3cda5b6> References: <000c01c4bc86$db429570$cdbf35a4@r3cda5b6> Message-ID: <4180AC19.9020604@op5.se> Edy Gasparini wrote: > Guys, > > Have got Nagios 1.2 running on RedHat Enterprise Linux 3 (RHEL3), with MySQL > support/backend. With a small number of hosts/services (say <10), scheduling > works as expected, based on check_interval values. > > However, now I have 34 hosts and 760 service checks and the scheduling is > screwed badly. Checks are being scheduled 60 mins or so apart (with > check_interval = 2) > > I originally had: > > inter_check_delay_method=s > service_interleave_factor=s > max_concurrent_checks=0 > > I've since changed from smart to set figures, as described in the Nagios > doco, with no change. > > Check latency is currently displaying > > 3206 / 3935 / 3635.479 sec > Change the max_concurrent_checks value to 0. If your system load skyrockets, try setting it to 80 or so, or increase the check_interval for your services. > Performance info says: > <= 1 minute: 0 (0.0%) > <= 5 minutes: 28 (3.6%) > <= 15 minutes: 127 (16.5%) > <= 1 hour: 628 (81.5%) > > Does anyone have a guide on correctly tuning Nagios for large deployments? > 34 hosts and 760 service isn't exactly a very large deployment (although a pretty odd one, with +22 services on each monitored node). Go with the 's' setting and let it figure out its own checking delays. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From ae at op5.se Thu Oct 28 10:24:10 2004 From: ae at op5.se (Andreas Ericsson) Date: Thu, 28 Oct 2004 10:24:10 +0200 Subject: Statusmap logos, ignore hostextinfo.cfg In-Reply-To: <418066BA.2060606@webfarm.co.nz> References: <20041025114447.QQBC16455.amsfep12-int.chello.nl@localhost> <418066BA.2060606@webfarm.co.nz> Message-ID: <4180ACAA.9040609@op5.se> Bruce wrote: > Hi, > > I dont know if you have solved this yet, but there are two things you > may want to check: > 1. The logos are in the logos directory (obvious but can be overlooked) > I think they need the GD versions (correct me if im wrong) or they wont > display. They don't. png, jpeg, gif or whatever was included when libgd was built will do fine. ldd /usr/lib/libgd(something) to see what's compiled in. > 2. If you are authentication on the system you need to ensure that the > user viewing the status map has permission to view the hosts, we > encounted the exact same problem when we setup a local monitor to show > whats happening. Normally we login with a username and password which > says what access we have however the monitor couldnt handle this so we > removed it just for this machine and the logos disappeared. Our > simple fix for this was to set an option which said anyone not > authenticated has permission to see all hosts. (Theres an option in > cgi.cfg for this, cant remember what it is however (sorry)) > > Hope that helps a little, > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Lead Developer ------------------------------------------------------- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From edy at egan.com.au Thu Oct 28 12:00:53 2004 From: edy at egan.com.au (Edy Gasparini) Date: Thu, 28 Oct 2004 20:00:53 +1000 Subject: Nagios scheduling issues - resolved. In-Reply-To: <4180AC19.9020604@op5.se> References: <4180AC19.9020604@op5.se> Message-ID: <000001c4bcd5$0609fbb0$02e404cb@r3cda5b6> OK - thanks for the feedback. I've actually solved my problem - it wasn't related at all to the interval settings. What I found was that the submit_check_result script I had was hanging due to an incorrect IP address (I've setup redundant nagios servers). As a result, the service checks were taking a _long_ time to complete. Would've been nice if the master nagios considered the service check complete before it submits the result to any slaves .... Anyway, back to smart settings and max_concurrent_checks=0 and all is good with the world. Edy > -----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, 28 October 2004 6:22 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Nagios scheduling issues > > > Edy Gasparini wrote: > > Guys, > > > > Have got Nagios 1.2 running on RedHat Enterprise Linux 3 > (RHEL3), with MySQL > > support/backend. With a small number of hosts/services (say > <10), scheduling > > works as expected, based on check_interval values. > > > > However, now I have 34 hosts and 760 service checks and the > scheduling is > > screwed badly. Checks are being scheduled 60 mins or so apart (with > > check_interval = 2) > > > > I originally had: > > > > inter_check_delay_method=s > > service_interleave_factor=s > > max_concurrent_checks=0 > > > > I've since changed from smart to set figures, as described > in the Nagios > > doco, with no change. > > > > Check latency is currently displaying > > > > 3206 / 3935 / 3635.479 sec > > > > Change the max_concurrent_checks value to 0. If your system load > skyrockets, try setting it to 80 or so, or increase the > check_interval > for your services. > > > Performance info says: > > <= 1 minute: 0 (0.0%) > > <= 5 minutes: 28 (3.6%) > > <= 15 minutes: 127 (16.5%) > > <= 1 hour: 628 (81.5%) > > > > Does anyone have a guide on correctly tuning Nagios for > large deployments? > > > > 34 hosts and 760 service isn't exactly a very large > deployment (although > a pretty odd one, with +22 services on each monitored node). > Go with the > 's' setting and let it figure out its own checking delays. > > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Lead Developer > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&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 From spyou at club-internet.fr Thu Oct 28 12:05:57 2004 From: spyou at club-internet.fr (Spyou) Date: Thu, 28 Oct 2004 12:05:57 +0200 Subject: Alerting on 'rate' thresholds In-Reply-To: References: Message-ID: <6.1.2.0.0.20041028115633.064d1ec0@poproxy.kaema.com> At 02:32 28/10/2004, Nathan Ward wrote: >I am looking at using the nagios performance data framework for putting >data in to RRD for graphing, which enables several possible ideas: - Write >a wrapper around each of the checks that return this performance data, >which knows how to read a value from RRD and compare it against a >threshold. Of course, this means that I am checking data that is >= >normal_check_interval old, not the data I have just read. I've used the service_perfdata_command=