From sachink at 7i.net.sa Sat Dec 1 13:09:17 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sat, 1 Dec 2007 13:09:17 +0100 (CET) Subject: nsclient problem Message-ID: <20071201120917.3929A4F4045@desire.netways.de> Hi list I have installed Nagios on RHEL-5 Edition. On windows clients, I have installed NSclient++.0.2.7 version. I have edited the NSc.ini file as ' command[check_cpu]=c:\pdm\check_pdm.exe --processor --warning 85 --critical 90 On Nagios server,when i execute the following commands: [libexec]#./check_nrpe -H remotehost NRPE_NT v0.8/2.0 [libexec]#./check_nrpe -H remotehost -c check_cpu NRPe: command 'check_cpu'not defined Can anynody help me where i am missing. I have been trying to find the solution from many days. anyhelp will be appreciated - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sat Dec 1 13:28:54 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sat, 1 Dec 2007 13:28:54 +0100 (CET) Subject: nsclient++ problem Message-ID: <20071201122854.6E8144F4045@desire.netways.de> Hi list I have installed Nagios on RHEL-5 Edition. On windows clients, I have installed NSclient++.0.2.7 version. I have edited the NSc.ini file as ' command[check_cpu]=c:\pdm\check_pdm.exe --processor --warning 85 --critical 90 On Nagios server,when i execute the following commands: [libexec]#./check_nrpe -H remotehost NRPE_NT v0.8/2.0 [libexec]#./check_nrpe -H remotehost -c check_cpu NRPe: command 'check_cpu'not defined Can anynody help me where i am missing. I have been trying to find the solution from many days. anyhelp will be appreciated - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sat Dec 1 13:28:58 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sat, 1 Dec 2007 13:28:58 +0100 (CET) Subject: nsclient++ problem Message-ID: <20071201122858.0C1ED4F4045@desire.netways.de> Hi list I have installed Nagios on RHEL-5 Edition. On windows clients, I have installed NSclient++.0.2.7 version. I have edited the NSc.ini file as ' command[check_cpu]=c:\pdm\check_pdm.exe --processor --warning 85 --critical 90 On Nagios server,when i execute the following commands: [libexec]#./check_nrpe -H remotehost NRPE_NT v0.8/2.0 [libexec]#./check_nrpe -H remotehost -c check_cpu NRPe: command 'check_cpu'not defined Can anynody help me where i am missing. I have been trying to find the solution from many days. anyhelp will be appreciated - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sat Dec 1 13:55:38 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sat, 1 Dec 2007 13:55:38 +0100 (CET) Subject: nsclient++ problem Message-ID: <20071201125538.DB79E4F4045@desire.netways.de> Hi list I have installed Nagios on RHEL-5 Edition. On windows clients, I have installed NSclient++.0.2.7 version. I have edited the NSc.ini file as ' command[check_cpu]=c:\pdm\check_pdm.exe --processor --warning 85 --critical 90 On Nagios server,when i execute the following commands: [libexec]#./check_nrpe -H remotehost NRPE_NT v0.8/2.0 [libexec]#./check_nrpe -H remotehost -c check_cpu NRPe: command 'check_cpu'not defined Can anynody help me where i am missing. I have been trying to find the solution from many days. anyhelp will be appreciated - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sat Dec 1 14:01:19 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sat, 1 Dec 2007 14:01:19 +0100 (CET) Subject: nsclient++ problem In-Reply-To: <20071201125538.DB79E4F4045@desire.netways.de> References: <20071201125538.DB79E4F4045@desire.netways.de> Message-ID: <20071201130119.B60804F4045@desire.netways.de> Hi sachin I am vey sorry for multiple posting of same problem as accidently posted because I am using this forum first time and so , when my question doesnot appear for a while, I keep on trying posting it again and again. Please apologize for this mistake - sachin kumar (sachin1361) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7071 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sat Dec 1 14:01:24 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sat, 1 Dec 2007 14:01:24 +0100 (CET) Subject: nsclient++ problem In-Reply-To: <20071201125538.DB79E4F4045@desire.netways.de> References: <20071201125538.DB79E4F4045@desire.netways.de> Message-ID: <20071201130124.3C0494F4045@desire.netways.de> Hi sachin I am vey sorry for multiple posting of same problem as accidently posted because I am using this forum first time and so , when my question doesnot appear for a while, I keep on trying posting it again and again. Please apologize for this mistake - sachin kumar (sachin1361) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7071 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rha298 at hotmail.com Sat Dec 1 15:26:21 2007 From: rha298 at hotmail.com (Richard Aseltine) Date: Sat, 1 Dec 2007 09:26:21 -0500 Subject: (no subject) In-Reply-To: References: Message-ID: Has anyone successfully compiled nagios-plugins-snmp C plugins with solaris 9? Solaris 9 gcc 3.4.6 net-snmp-5.4.1 make all-recursive make[1]: Entering directory `/home/rha/nagios-plugins-snmp' Making all in src make[2]: Entering directory `/home/rha/nagios-plugins-snmp/src' if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Usolaris2 -Dsolaris2=solaris2 -I/usr/local/ssl/include -I. -I/usr/local/include -MT nagios_common_snmp.o -MD -MP -MF ".deps/nagios_common_snmp.Tpo" -c -o nagios_common_snmp.o nagios_common_snmp.c; \ then mv -f ".deps/nagios_common_snmp.Tpo" ".deps/nagios_common_snmp.Po"; else rm -f ".deps/nagios_common_snmp.Tpo"; exit 1; fi nagios_common_snmp.c: In function `get_options': nagios_common_snmp.c:565: error: storage size of 'long_options' isn't known nagios_common_snmp.c:565: error: storage size of `long_options' isn't known make[2]: *** [nagios_common_snmp.o] Error 1 make[2]: Leaving directory `/home/rha/nagios-plugins-snmp/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rha/nagios-plugins-snmp' make: *** [all] Error 2 _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rha298 at hotmail.com Sat Dec 1 15:27:04 2007 From: rha298 at hotmail.com (Richard Aseltine) Date: Sat, 1 Dec 2007 09:27:04 -0500 Subject: nagios-plugins-snmp solaris 9 compile problem In-Reply-To: References: Message-ID: Has anyone successfully compiled nagios-plugins-snmp C plugins with solaris 9? Solaris 9 gcc 3.4.6 net-snmp-5.4.1 make all-recursive make[1]: Entering directory `/home/rha/nagios-plugins-snmp' Making all in src make[2]: Entering directory `/home/rha/nagios-plugins-snmp/src' if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Usolaris2 -Dsolaris2=solaris2 -I/usr/local/ssl/include -I. -I/usr/local/include -MT nagios_common_snmp.o -MD -MP -MF ".deps/nagios_common_snmp.Tpo" -c -o nagios_common_snmp.o nagios_common_snmp.c; \ then mv -f ".deps/nagios_common_snmp.Tpo" ".deps/nagios_common_snmp.Po"; else rm -f ".deps/nagios_common_snmp.Tpo"; exit 1; fi nagios_common_snmp.c: In function `get_options': nagios_common_snmp.c:565: error: storage size of 'long_options' isn't known nagios_common_snmp.c:565: error: storage size of `long_options' isn't known make[2]: *** [nagios_common_snmp.o] Error 1 make[2]: Leaving directory `/home/rha/nagios-plugins-snmp/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rha/nagios-plugins-snmp' make: *** [all] Error 2 _________________________________________________________________ Connect and share in new ways with Windows Live. http://www.windowslive.com/connect.html?ocid=TXT_TAGLM_Wave2_newways_112007 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthew-ln at itconsult.co.uk Sat Dec 1 16:20:42 2007 From: matthew-ln at itconsult.co.uk (Matthew Richardson) Date: Sat, 01 Dec 2007 15:20:42 +0000 Subject: How to get reboot messages In-Reply-To: References: <12A6FDDD13C460408A6E47E5DB1235A20188CBF8@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: SNMP works fine in Windows for uptime monitoring... Best wishes, Matthew ------ >From: "chris serafin" >To: "Steve Shipway" >Cc: Nagios-users at lists.sourceforge.net >Date: Thu, 29 Nov 2007 15:08:37 -0600 >Subject: Re: [Nagios-users] How to get reboot messages >So SNMP won't work with Windows? Damn, clients hate extra software. :( ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Sat Dec 1 21:30:22 2007 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Sat, 01 Dec 2007 20:30:22 +0000 Subject: Scheduling downtime in the past? Message-ID: <4751C45E.4000502@googlemail.com> Is there anyway to make Nagios proicess scheduled downtime for times in the past - I'm upgrading from a very old (1.0b3) version to the current RC and also 2.9 with NDOutils and neither of these actually process the downtime - although there the logs show that the external command processed, nothing else is logged and nothing is added to any of the downtime tables. This means I cannot easily ammend host availability reports to keep KPI's accurate :-( Any help or suggestions would be greatly appreciated. Kind Regards, Alan ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sat Dec 1 22:21:44 2007 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sat, 1 Dec 2007 18:21:44 -0300 Subject: How to disable check-host-alive Message-ID: <20071201212144.GJ12456@hermes.freesoftware.org> Hi all! I read the following from the Nagios manual: check_command: [...] If you leave this argument blank, the host will not be checked - Nagios will always assume the host is up. This is useful if you are monitoring printers or other devices that are frequently turned off. I want to use it for my Nagios server (Nagios 3). In addition to check-host alive is no sense in the Nagios server, my check-host-alive command checks the NRPE daemon is listening. But leaving empty check_command in the host definition to generate an error for me. Error: Host check command '(null)' specified for host 'sparky' is not defined anywhere! I'm missing something from the documentation? Thanks in advance. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Dec 2 00:04:12 2007 From: marc at ena.com (Marc Powell) Date: Sat, 1 Dec 2007 17:04:12 -0600 Subject: Scheduling downtime in the past? In-Reply-To: <4751C45E.4000502@googlemail.com> References: <4751C45E.4000502@googlemail.com> Message-ID: On Dec 1, 2007, at 2:30 PM, Alan Cooper wrote: > Is there anyway to make Nagios proicess scheduled downtime for times > in > the past - I'm upgrading from a very old (1.0b3) version to the > current Not through nagios. If you're using nagios' built in reporting, you'd need to add start and end HOST DOWNTIME ALERT and SERVICE DOWNTIME ALERT entries at the appropriate time in the appropriate nagios.log file (possibly archived). If you've rolled your own reporting based on NDOutils entries, you'll need to insert the same kinds of records in your database. I don't use NDOutils so can't go into any detail there. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Dec 2 00:07:45 2007 From: marc at ena.com (Marc Powell) Date: Sat, 1 Dec 2007 17:07:45 -0600 Subject: How to disable check-host-alive In-Reply-To: <20071201212144.GJ12456@hermes.freesoftware.org> References: <20071201212144.GJ12456@hermes.freesoftware.org> Message-ID: <2E2BF0C1-CE9A-4931-8EC4-4861B5336A8F@ena.com> On Dec 1, 2007, at 3:21 PM, Daniel Bareiro wrote: > Hi all! > > I read the following from the Nagios manual: > > check_command: [...] If you leave this argument blank, the host will > not be checked - Nagios will always assume the host is up. This is > useful if you are monitoring printers or other devices that are > frequently turned off. > > Error: Host check command '(null)' specified for host 'sparky' is not > defined anywhere! > > I'm missing something from the documentation? No, it's just awkward wording. You need to leave the line out entirely; don't even specify the keyword 'check_command' within the host definition. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sun Dec 2 03:19:00 2007 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sat, 1 Dec 2007 23:19:00 -0300 Subject: How to disable check-host-alive In-Reply-To: <2E2BF0C1-CE9A-4931-8EC4-4861B5336A8F@ena.com> References: <20071201212144.GJ12456@hermes.freesoftware.org> <2E2BF0C1-CE9A-4931-8EC4-4861B5336A8F@ena.com> Message-ID: <20071202021900.GB3551@hermes.freesoftware.org> On Saturday, 01 December 2007 17:07:45 -0600, Marc Powell wrote: > > check_command: [...] If you leave this argument blank, the host will > > not be checked - Nagios will always assume the host is up. This is > > useful if you are monitoring printers or other devices that are > > frequently turned off. > > Error: Host check command '(null)' specified for host 'sparky' is > > not defined anywhere! > > I'm missing something from the documentation? > No, it's just awkward wording. You need to leave the line out > entirely; don't even specify the keyword 'check_command' within the > host definition. Oh, well. In addition to it, I've deleted the line "use linux-server" to avoid to use the check-host-alive command in the template definition. This is my host definition: define host{ host_name sparky alias nagios server address 127.0.0.1 max_check_attempts 10 icon_image base/sun40.gif statusmap_image base/sun40.gd2 contact_groups nagios admins notification_period sysadmin_time } I didn't get errors after Nagios restart, but it continue displaying the host in down state, yet. Thanks for your response, Marc. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.Kok at rewardstream.com Sun Dec 2 08:25:52 2007 From: Simon.Kok at rewardstream.com (Simon Kok) Date: Sat, 1 Dec 2007 23:25:52 -0800 Subject: check_http & Computer Associates SiteMinder Identity Management Tool References: Message-ID: <1C8B15C1D054524E806C1A7D2B79FAC40126790D@earth.rewardstream.local> Hi there. I'm trying to monitor a website that uses the Computer Associates (Netgrity) SiteMinder identity management tool for user authentication. (Example of that is www.cisco.com website uses this tool). I was wondering if anybody on this list has experience with the check_http plugin with that product? - Simon. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sun Dec 2 10:40:22 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sun, 2 Dec 2007 10:40:22 +0100 (CET) Subject: nrpe pop-up Message-ID: <20071202094023.0BFAD4F4045@desire.netways.de> Hi list I have installed nt_nrpe on windows XP for monitoring performance counters.I am using check_pdm.exe utility for monitoring processor and memory performance. below is what I edited in nrpe.cfg file in windows XP: command[check_cpu]=c:\pdm\pdm.exe --processor --warning 80 --critical 90 The problem is that , after each 30 sec(refresh time), a blank pop-up command-prompt windows appear on all windows XP machines because in nrpe.cfg file, i have mentioned the .exe file which executes at after 30 sec and same opens the windows popup command prompt. How can I configure clients so that nrpe run in background instead of running in interactive mode ? - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sun Dec 2 15:35:27 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 2 Dec 2007 06:35:27 -0800 Subject: CheckNT In-Reply-To: <66955c170711191257i6ce657cdrb939b84f051e10bb@mail.gmail.com> References: <66955c170711191257i6ce657cdrb939b84f051e10bb@mail.gmail.com> Message-ID: <2b7af7c40712020635k21cc72a3k5f4d8097f7485de7@mail.gmail.com> On 11/19/07, Jerad Riggin wrote: > I am monitoring the CPU load with NSClient on a host. Here is the > service definition > > define service{ > use windows-service > name check-cpu > notification_options w,u,c,r > check_command check_nt!CPULOAD!-l 5, 80, 90 > register 0 > } > > Here is the actual call to that service > > define service{ > use check-cpu > service_description CPU > contact_groups mis > hostgroup_name windows-clients > } > > Here is what I see in the nagios interface > > CPU OK 11-19-2007 14:56:07 122d 2h 7m 2s 1/5 not enough values for -l > parameters You need something like -l 5,70,90,30,70,90 (no commas!) e.g. 5 min average ; -w 70 min ; -c 90 min 30 min average ; -w 70 min ; -c 90 min Does that make sense? (-w = warning; -c = critical) ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sun Dec 2 16:18:54 2007 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sun, 2 Dec 2007 12:18:54 -0300 Subject: How to disable check-host-alive In-Reply-To: <20071202021900.GB3551@hermes.freesoftware.org> References: <20071201212144.GJ12456@hermes.freesoftware.org> <2E2BF0C1-CE9A-4931-8EC4-4861B5336A8F@ena.com> <20071202021900.GB3551@hermes.freesoftware.org> Message-ID: <20071202151854.GC3551@hermes.freesoftware.org> On Saturday, 01 December 2007 23:19:00 -0300, Daniel Bareiro wrote: > > > check_command: [...] If you leave this argument blank, the host > > > will not be checked - Nagios will always assume the host is up. > > > This is useful if you are monitoring printers or other devices > > > that are frequently turned off. > I didn't get errors after Nagios restart, but it continue displaying > the host in down state, yet. Well, Nagios didn't produce host notifications again. But, if Nagios will always assume the host is up, why it continues displaying the host in down state? Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Sun Dec 2 17:43:25 2007 From: marc at ena.com (Marc Powell) Date: Sun, 2 Dec 2007 10:43:25 -0600 Subject: How to disable check-host-alive In-Reply-To: <20071202151854.GC3551@hermes.freesoftware.org> References: <20071201212144.GJ12456@hermes.freesoftware.org> <2E2BF0C1-CE9A-4931-8EC4-4861B5336A8F@ena.com> <20071202021900.GB3551@hermes.freesoftware.org> <20071202151854.GC3551@hermes.freesoftware.org> Message-ID: On Dec 2, 2007, at 9:18 AM, Daniel Bareiro wrote: > On Saturday, 01 December 2007 23:19:00 -0300, > Daniel Bareiro wrote: > >>>> check_command: [...] If you leave this argument blank, the host >>>> will not be checked - Nagios will always assume the host is up. >>>> This is useful if you are monitoring printers or other devices >>>> that are frequently turned off. > >> I didn't get errors after Nagios restart, but it continue displaying >> the host in down state, yet. > > Well, Nagios didn't produce host notifications again. But, if Nagios > will always assume the host is up, why it continues displaying the > host > in down state? I would guess that the template you were using had retain_status_information enabled. You removed it but nagios had already written out the down status to the retention file and used that on the restart. Try restarting nagios again. If that doesn't work you can probably stop nagios, edit the state retention file to remove the host stanza (making a backup first of course) and restart nagios. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sun Dec 2 20:18:52 2007 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sun, 2 Dec 2007 16:18:52 -0300 Subject: How to disable check-host-alive In-Reply-To: References: <20071201212144.GJ12456@hermes.freesoftware.org> <2E2BF0C1-CE9A-4931-8EC4-4861B5336A8F@ena.com> <20071202021900.GB3551@hermes.freesoftware.org> <20071202151854.GC3551@hermes.freesoftware.org> Message-ID: <20071202191852.GE3551@hermes.freesoftware.org> On Sunday, 02 December 2007 10:43:25 -0600, Marc Powell wrote: > >>>> check_command: [...] If you leave this argument blank, the host > >>>> will not be checked - Nagios will always assume the host is up. > >>>> This is useful if you are monitoring printers or other devices > >>>> that are frequently turned off. > >> I didn't get errors after Nagios restart, but it continue > >> displaying the host in down state, yet. > > Well, Nagios didn't produce host notifications again. But, if Nagios > > will always assume the host is up, why it continues displaying the > > host in down state? > I would guess that the template you were using had > retain_status_information enabled. You removed it but nagios had > already written out the down status to the retention file and used > that on the restart. Try restarting nagios again. If that doesn't work > you can probably stop nagios, edit the state retention file to remove > the host stanza (making a backup first of course) and restart nagios. I try adding 'retain_status_information 0' in host definition for Nagios server. Now, its host status is 'pending' instead of 'down'. But the default host initial state shouldn't be 'up'? Thanks for your response, Marc. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfrancis at amnet.net.au Mon Dec 3 01:48:28 2007 From: dfrancis at amnet.net.au (dfrancis at amnet.net.au) Date: Mon, 03 Dec 2007 09:48:28 +0900 Subject: Monitoring IIS Windows 2003 Server Message-ID: <43558.1196642908@amnet.net.au> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Mon Dec 3 01:52:02 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 02 Dec 2007 19:52:02 -0500 Subject: Monitoring IIS Windows 2003 Server In-Reply-To: <43558.1196642908@amnet.net.au> References: <43558.1196642908@amnet.net.au> Message-ID: <1196643122.2258.43.camel@new-host.l33tsdal3.biz> On Mon, 2007-12-03 at 09:48 +0900, dfrancis at amnet.net.au wrote: > Greeting all > > Excuss the noobie post but I've just new to Nagios and have setup my > first server running on Ubuntu Server 6.606. Grab a book on Nagios and read about "check_http". Check Amazon.com ~BAS ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hs at schlittermann.de Mon Dec 3 02:18:42 2007 From: hs at schlittermann.de (Heiko Schlittermann) Date: Mon, 3 Dec 2007 02:18:42 +0100 Subject: Monitoring IIS Windows 2003 Server In-Reply-To: <43558.1196642908@amnet.net.au> References: <43558.1196642908@amnet.net.au> Message-ID: <20071203011842.GM9689@schlittermann.de> dfrancis at amnet.net.au (Mo 03 Dez 2007 01:48:28 CET): > > Greeting all > Excuss the noobie post but I've just new to Nagios and have setup my first > server running on Ubuntu Server 6.606. > The enviroment I'm in is an all Windows shop , and I'd like to monitor such > services like IIS. If you want to monitor it from outside the target box, it's basically HTTP you're about to monitor. So have a look for the check_http plugin. Best regards from Dresden Viele Gr??e aus Dresden Heiko Schlittermann -- SCHLITTERMANN.de ---------------------------- internet & unix support - Heiko Schlittermann HS12-RIPE ----------------------------------------- gnupg encrypted messages are welcome - key ID: 48D0359B --------------- gnupg fingerprint: 3061 CFBF 2D88 F034 E8D2 7E92 EE4E AC98 48D0 359B - -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Mon Dec 3 04:40:21 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Mon, 3 Dec 2007 09:10:21 +0530 Subject: nsclient++ problem In-Reply-To: <20071201125538.DB79E4F4045@desire.netways.de> References: <20071201125538.DB79E4F4045@desire.netways.de> Message-ID: Have you restarted nsclient++ after making this configuration? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of sachin kumar Sent: Saturday, December 01, 2007 6:26 PM To: nagios-users at lists.sourceforge.net; sachink at 7i.net.sa Subject: [Nagios-users] nsclient++ problem Hi list I have installed Nagios on RHEL-5 Edition. On windows clients, I have installed NSclient++.0.2.7 version. I have edited the NSc.ini file as ' command[check_cpu]=c:\pdm\check_pdm.exe --processor --warning 85 --critical 90 On Nagios server,when i execute the following commands: [libexec]#./check_nrpe -H remotehost NRPE_NT v0.8/2.0 [libexec]#./check_nrpe -H remotehost -c check_cpu NRPe: command 'check_cpu'not defined Can anynody help me where i am missing. I have been trying to find the solution from many days. anyhelp will be appreciated - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------ - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Mon Dec 3 07:16:14 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Mon, 3 Dec 2007 07:16:14 +0100 (CET) Subject: nsclient++ problem In-Reply-To: References: Message-ID: <20071203061614.61B4A4F4045@desire.netways.de> Hi Thanks for replying. I restarted the services and command is executed. but another problem generated. Means when I run the above command from nagios server , a pop-up command prompt windows appears on the client machine because in nsc.ini file, I mentioned the pdm.exe as a result of which whenever that command is executed by magios server, after each 30 seconds (refresh time),pop-up windows appears. Can you tell me how to run the .exe in background so that no pop-up windows appears on cleints which effect their work. Thanks - sachin kumar (sachin1361) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7092 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mahesh.vernekar at gmail.com Mon Dec 3 09:20:42 2007 From: mahesh.vernekar at gmail.com (Mahesh Vernekar) Date: Mon, 3 Dec 2007 13:50:42 +0530 Subject: Monitoring Large hard disk partition Message-ID: Hi, I have installed and Configured Nagios 3.0b7 I am getting following error, for monitoring a large capacity Hard disk partition Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] The hard disk partition size is 683GB and the Drive letter is F: I did following settings for the hard disk in windows.cfg file define service[ use generic_service host_name guru service_description F:\ Drive Space check_command check_nt!USEDDISKSPACE!-l f -w 80 -f 90 ] This same settings work for other partitions that are of small capacity (about 80GB). Can you helpd me solving this problem. Regards Mahesh Vernekar ClearPoint Learning Systems Pune, India -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Dan.Eriksson at springmobil.se Mon Dec 3 09:57:04 2007 From: Dan.Eriksson at springmobil.se (Dan Eriksson) Date: Mon, 3 Dec 2007 09:57:04 +0100 Subject: Monitoring Large hard disk partition In-Reply-To: References: Message-ID: Hi Mahesh, How does your check_nt command look like? Have you defined it with the proper variables? I don't know how you have defined it but it should look something like this, Check_nt $ARG1$ $ARG2$ ... Have you tried running the command from your shell? If you want to learn more about macros etc in your commands this is a good page, http://nagios.sourceforge.net/docs/2_0/macros.html Best regards, -- Dan ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Mahesh Vernekar Sent: Monday, December 03, 2007 9:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Large hard disk partition Hi, I have installed and Configured Nagios 3.0b7 I am getting following error, for monitoring a large capacity Hard disk partition Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l params] [-d SHOWALL] [-t timeout] The hard disk partition size is 683GB and the Drive letter is F: I did following settings for the hard disk in windows.cfg file define service[ use generic_service host_name guru service_description F:\ Drive Space check_command check_nt!USEDDISKSPACE!-l f -w 80 -f 90 ] This same settings work for other partitions that are of small capacity (about 80GB). Can you helpd me solving this problem. Regards Mahesh Vernekar ClearPoint Learning Systems Pune, India -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Dec 3 10:07:18 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 3 Dec 2007 10:07:18 +0100 Subject: How to disable check-host-alive In-Reply-To: <20071202191852.GE3551@hermes.freesoftware.org> References: <20071201212144.GJ12456@hermes.freesoftware.org><2E2BF0C1-CE9A-4931-8EC4-4861B5336A8F@ena.com><20071202021900.GB3551@hermes.freesoftware.org><20071202151854.GC3551@hermes.freesoftware.org> <20071202191852.GE3551@hermes.freesoftware.org> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A084@hermes.sapphire-int.gi> > I try adding 'retain_status_information 0' in host definition for Nagios > server. Now, its host status is 'pending' instead of 'down'. But the > default host initial state shouldn't be 'up'? > You could try sending a passive check result to put it back into an "OK" state. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From philc at foundation-it.com Mon Dec 3 11:03:52 2007 From: philc at foundation-it.com (Phil Costelloe) Date: Mon, 3 Dec 2007 10:03:52 -0000 Subject: Monitoring IIS Windows 2003 Server In-Reply-To: <43558.1196642908@amnet.net.au> References: <43558.1196642908@amnet.net.au> Message-ID: From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of dfrancis at amnet.net.au > Excuss the noobie post but I've just new to Nagios and have setup my first server running on Ubuntu Server 6.606. > > The enviroment I'm in is an all Windows shop , and I'd like to monitor such services like IIS. > > Could someone please tell me how I would do this ? If you want to check the services and processes themselves (plus potentially a lot else besides), you can use a client on the Windows server such as nsclient, nsclient++ or nc_net and the plugin check_nt on the Nagios server in order to query performance counters on the Windows servers. A Google for "check_nt performance counters" should pull up some useful information. SNMP is also a possibility for IIS and many other services if you prefer to go down that route. -- Phil Costelloe Foundation IT, Hermitage Berkshire RG18 9SE ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at neuwald.biz Mon Dec 3 14:43:04 2007 From: felipe at neuwald.biz (Felipe Neuwald) Date: Mon, 03 Dec 2007 11:43:04 -0200 Subject: Two nagios processes Message-ID: <475407E8.6080208@neuwald.biz> Hi Folks, I'm running nagios 2.9_2 and nagios-plugins 1.4.10,1 on a FreeBSD 6.3-PRERELEASE system. [root at neptune /]# pkg_info | grep nagios nagios-2.9_2 Extremely powerful network monitoring system nagios-plugins-1.4.10,1 Plugins for Nagios [root at neptune /]# uname -a FreeBSD neptune.domain 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue Nov 27 14:38:41 BRST 2007 root at neptune.domain:/usr/src/sys/i386/compile/KERNEL1 i386 Sometimes, nagios hangs with two nagios processes: [root at neptune /]# ps ax | grep nagios 65648 ?? Ss 0:04.50 /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg 80843 ?? R 146:15.03 /usr/local/bin/nagios -d /usr/local/etc/nagios/nagios.cfg 89388 p0 R+ 0:00.00 grep nagios The PID 80843 uses 99% of my CPU, and it is hanging nagios. Anybody knows how can I solve this? Thanks, Felipe Neuwald. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vijayrao_patil at persistent.co.in Mon Dec 3 16:00:09 2007 From: vijayrao_patil at persistent.co.in (vijayrao_patil) Date: Mon, 3 Dec 2007 20:30:09 +0530 Subject: Help required to set alert Message-ID: <000001c835bd$32e88750$98b995f0$@co.in> Hi, I am configuring nagios version 2.10 on RHEL 4 . The clients to this system are IBM AIX, Sun Solaris, HP_UX , The alerts set to these systems are working fine except check_local_disk. The same is working ok for Linux. The plug-in version I am using is 1.4.10. Thanks in advance .. Vijay DISCLAIMER ========== This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 3 16:15:41 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 03 Dec 2007 16:15:41 +0100 Subject: Two nagios processes In-Reply-To: <475407E8.6080208@neuwald.biz> References: <475407E8.6080208@neuwald.biz> Message-ID: <47541D9D.9020804@op5.se> Felipe Neuwald wrote: > Hi Folks, > > I'm running nagios 2.9_2 and nagios-plugins 1.4.10,1 on a FreeBSD > 6.3-PRERELEASE system. > > [root at neptune /]# pkg_info | grep nagios > nagios-2.9_2 Extremely powerful network monitoring system > nagios-plugins-1.4.10,1 Plugins for Nagios > [root at neptune /]# uname -a > FreeBSD neptune.domain 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue Nov > 27 14:38:41 BRST 2007 > root at neptune.domain:/usr/src/sys/i386/compile/KERNEL1 i386 > > > Sometimes, nagios hangs with two nagios processes: > It happens every now and then. > [root at neptune /]# ps ax | grep nagios > 65648 ?? Ss 0:04.50 /usr/local/bin/nagios -d > /usr/local/etc/nagios/nagios.cfg > 80843 ?? R 146:15.03 /usr/local/bin/nagios -d > /usr/local/etc/nagios/nagios.cfg > 89388 p0 R+ 0:00.00 grep nagios > > The PID 80843 uses 99% of my CPU, and it is hanging nagios. Anybody > knows how can I solve this? > $ man kill For a more permanent solution, browse the nagios-devel archives and apply the patch which prevents spinlocks on pthread mutexes. You'll have to mangle it a bit first, I think. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From felipe at neuwald.biz Mon Dec 3 16:21:47 2007 From: felipe at neuwald.biz (Felipe Neuwald) Date: Mon, 03 Dec 2007 13:21:47 -0200 Subject: Two nagios processes In-Reply-To: <47541D9D.9020804@op5.se> References: <475407E8.6080208@neuwald.biz> <47541D9D.9020804@op5.se> Message-ID: <47541F0B.8090308@neuwald.biz> Andreas, of course I'm killing the process, but it's happening every time. The service isn't in production cause this. Felipe. Andreas Ericsson escreveu: > Felipe Neuwald wrote: >> Hi Folks, >> >> I'm running nagios 2.9_2 and nagios-plugins 1.4.10,1 on a FreeBSD >> 6.3-PRERELEASE system. >> >> [root at neptune /]# pkg_info | grep nagios >> nagios-2.9_2 Extremely powerful network monitoring system >> nagios-plugins-1.4.10,1 Plugins for Nagios >> [root at neptune /]# uname -a >> FreeBSD neptune.domain 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue >> Nov 27 14:38:41 BRST 2007 >> root at neptune.domain:/usr/src/sys/i386/compile/KERNEL1 i386 >> >> >> Sometimes, nagios hangs with two nagios processes: >> > > It happens every now and then. > >> [root at neptune /]# ps ax | grep nagios >> 65648 ?? Ss 0:04.50 /usr/local/bin/nagios -d >> /usr/local/etc/nagios/nagios.cfg >> 80843 ?? R 146:15.03 /usr/local/bin/nagios -d >> /usr/local/etc/nagios/nagios.cfg >> 89388 p0 R+ 0:00.00 grep nagios >> >> The PID 80843 uses 99% of my CPU, and it is hanging nagios. Anybody >> knows how can I solve this? >> > > $ man kill > > > For a more permanent solution, browse the nagios-devel archives and > apply the patch which prevents spinlocks on pthread mutexes. You'll > have to mangle it a bit first, I think. > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmenard at servprise.com Mon Dec 3 16:25:22 2007 From: kmenard at servprise.com (Kevin Menard) Date: Mon, 03 Dec 2007 10:25:22 -0500 Subject: [ANN] WebReboot Nagios Plugin 1.0 Released / Nagios Conference Slides Message-ID: Hi all, I just wanted to let you know that we've published the 1.0 release of our open source integration plugins for Nagios. To make it really official, we've added a new Nagios section to our site. This serves another function, as I've posted my slides from the Nagios conference as well -- some of you had requested them, so now they're in a nice, easily accessible place: http://www.servprise.com/products/nagios/ More info on the release and release promotion: http://dev.servprise.com/weblog/articles/2007/12/03/webreboot-nagios-1-0-rel eased Thanks again to all of you that have helped test the plugin and offered suggestions for improvement leading up to this release. -- Kevin Menard Servprise International, Inc. Remote reboot & power control for network equipment www.servprise.com +1 508.892.3823 x308 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 3 16:35:24 2007 From: ae at op5.se (Andreas Ericsson) Date: Mon, 03 Dec 2007 16:35:24 +0100 Subject: Two nagios processes In-Reply-To: <47541F0B.8090308@neuwald.biz> References: <475407E8.6080208@neuwald.biz> <47541D9D.9020804@op5.se> <47541F0B.8090308@neuwald.biz> Message-ID: <4754223C.6000108@op5.se> Felipe Neuwald wrote: > Andreas, > > of course I'm killing the process, but it's happening every time. The > service isn't in production cause this. > Reread second paragraph of first response, and please refrain from top-posting. > Felipe. > > Andreas Ericsson escreveu: >> Felipe Neuwald wrote: >>> Hi Folks, >>> >>> I'm running nagios 2.9_2 and nagios-plugins 1.4.10,1 on a FreeBSD >>> 6.3-PRERELEASE system. >>> >>> [root at neptune /]# pkg_info | grep nagios >>> nagios-2.9_2 Extremely powerful network monitoring system >>> nagios-plugins-1.4.10,1 Plugins for Nagios >>> [root at neptune /]# uname -a >>> FreeBSD neptune.domain 6.3-PRERELEASE FreeBSD 6.3-PRERELEASE #0: Tue >>> Nov 27 14:38:41 BRST 2007 >>> root at neptune.domain:/usr/src/sys/i386/compile/KERNEL1 i386 >>> >>> >>> Sometimes, nagios hangs with two nagios processes: >>> >> >> It happens every now and then. >> >>> [root at neptune /]# ps ax | grep nagios >>> 65648 ?? Ss 0:04.50 /usr/local/bin/nagios -d >>> /usr/local/etc/nagios/nagios.cfg >>> 80843 ?? R 146:15.03 /usr/local/bin/nagios -d >>> /usr/local/etc/nagios/nagios.cfg >>> 89388 p0 R+ 0:00.00 grep nagios >>> >>> The PID 80843 uses 99% of my CPU, and it is hanging nagios. Anybody >>> knows how can I solve this? >>> >> >> $ man kill >> >> >> For a more permanent solution, browse the nagios-devel archives and >> apply the patch which prevents spinlocks on pthread mutexes. You'll >> have to mangle it a bit first, I think. >> > -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Dec 3 17:32:33 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 3 Dec 2007 17:32:33 +0100 Subject: CGI Tactical Screen Filters Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A0CC@hermes.sapphire-int.gi> Hi, I am using some CGI filters in a Custom URL for our NOC. The URL I am using is: status.cgi?host=all&servicestatustypes=28&serviceprops=42&hostprops=10&t ype=detail The service propers and host props filter out alerts for services and hosts in scheduled downtime and/or acknowledged. These are defined in include/cgiutils.h Although I don't see alerts for services of hosts that I have put in scheduled downtime and or acknowledged, I do hear audible alerts for these. Is this a bug? Or is there an option I can use to disable the audible alerts. Thanks Giles ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josem.garcia at utensd.es Mon Dec 3 18:02:24 2007 From: josem.garcia at utensd.es (=?iso-8859-1?Q?Jose_Manuel_Garc=EDa?=) Date: Mon, 3 Dec 2007 18:02:24 +0100 Subject: Remote DHCP Message-ID: Hi, I?m writting from Spain and my english is not very good, thought, I?ll try to do my best. I have a Nagios 2.9 under Ubuntu 6.10. Everything works fine but I need to monitor a Remote Windows DHCP Server and I don?t know how. Evidently check_dhcp is not useful in remote hosts. Any ideas ? Thank you in advance Jose Manuel Garc?a Rodr?guez Departamento de Ingenier?a UTE Novasoft/Sadiel/Diasoft Camino de los Descubrimientos, s/n (Pabell?n de Espa?a) 41092 Sevilla Fijo: 955110688 M?vil: 663 044 136 Ext: 6059 Email: josem.garcia at utensd.es Aviso de Confidencialidad: La informaci?n contenida en este e-mail es confidencial y va dirigida ?nicamente al receptor que aparece como destinatario. Si ha recibido este e-mail por error, por favor, notif?quenoslo inmediatamente y b?rrelo de su sistema. Por favor, en tal caso, no lo copie ni lo use para ning?n prop?sito, ni revele sus contenidos a ninguna persona ni lo almacene ni copie esta informaci?n en ning?n medio. Q Antes de imprimir este mensaje, aseg?rate de que es necesario. Proteger el medio ambiente est? tambi?n en tu mano. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 3 18:41:48 2007 From: marc at ena.com (Marc Powell) Date: Mon, 3 Dec 2007 11:41:48 -0600 Subject: Remote DHCP In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jose Manuel Garc?a > Sent: Monday, December 03, 2007 11:02 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Remote DHCP > > Hi, > > > > I'm writting from Spain and my english is not very good, thought, I'll try > to do my best. Seems better than an lot of native speakers =) > I have a Nagios 2.9 under Ubuntu 6.10. Everything works fine but I need to > monitor a Remote Windows DHCP Server and I don't know how. Evidently > check_dhcp is not useful in remote hosts. Only because DHCP is a local-only protocol. You can use NSClient++ or similar to verify that the DHCP service is running on the server but if you want to verify that it's actually handing out leases you'll need to use NRPE, check_by_ssh or NSCA to execute check_dhcp on the same network as the DHCP server. I'm not aware of a program similar to check_dhcp that natively runs under windows. Perhaps someone else is. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Mon Dec 3 18:48:17 2007 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Mon, 03 Dec 2007 12:48:17 -0500 Subject: Remote DHCP In-Reply-To: References: Message-ID: <1196704097.6691.5.camel@localhost> On Mon, 2007-12-03 at 18:02 +0100, Jose Manuel Garc?a wrote: > Hi, > > > > I?m writting from Spain and my english is not very good, thought, I?ll > try to do my best. > > > > I have a Nagios 2.9 under Ubuntu 6.10. Everything works fine but I > need to monitor a Remote Windows DHCP Server and I don?t know how. > Evidently check_dhcp is not useful in remote hosts. > > > > Any ideas ? It is possible although a bit tricky. I have a somewhat old installation so I had to download a later DHCP plugin than shipped with my Nagios. The dhcp plugin version I am using is 1.13. Yours may already be current enough. Run check_dhcp --help to see the options. Here is a snippet from my command file: # 'check_dhcp-remote' command definition - Only works where host is configured to return a DHCP OFFER to the monitoring station network (can be dummy configuration) # ARG1 is the interface the monitoring system will use to send the DHCP DISCOVER, e.g., tun0 define command{ command_name check_dhcp-remote command_line $USER1$/check_dhcp-uni -s $HOSTADDRESS$ -u $HOSTADDRESS$ -i $ARG1$ } Besides getting the right version and command line, there are two other issues as I remember. 1) The DHCP server will need to be configured to respond to requests from the monitoring network. In other words, if you are monitoring from a remote network, there is a good chance the DHCP server is not configured to assign addresses for the monitoring network. Thus, it will not respond to DHCP requests from the monitoring station. It is sufficient to just have a stub or dummy configuration. 2) Be aware that the actual packet will not be a DHCP packet but a closely related DHCP-Relay packet. I forget the port numbers exactly. I believe DHCP is destination port 67 and source port 68 whereas DHCP-Relay is both destination and source port 67. We had an unusual problem where the DHCP service on a small UTM device was failing. Unfortunately the DHCP monitoring did not pick up the failures because, although the UTM was not responding to DHCP packets, it was responding to DHCP-Relay packets :( Hope this helps - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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-user at proy.org Mon Dec 3 20:50:31 2007 From: nagios-user at proy.org (Patrick Proy) Date: Mon, 3 Dec 2007 20:50:31 +0100 Subject: nagios-plugins-snmp solaris 9 compile problem In-Reply-To: References: Message-ID: <001801c835e5$c34103e0$2900a8c0@telindus.intra> Hi, Never compiled this on Solaris. It seems it doesn't like : static struct option long_options[50]; "struct option" is defined in "getopt.h" I think. Maybe it it different with Solaris. Regards, Patrick _____ De : nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] De la part de Richard Aseltine Envoy? : samedi 1 d?cembre 2007 15:27 ? : nagios-users at lists.sourceforge.net Objet : [Nagios-users] nagios-plugins-snmp solaris 9 compile problem Has anyone successfully compiled nagios-plugins-snmp C plugins with solaris 9? Solaris 9 gcc 3.4.6 net-snmp-5.4.1 make all-recursive make[1]: Entering directory `/home/rha/nagios-plugins-snmp' Making all in src make[2]: Entering directory `/home/rha/nagios-plugins-snmp/src' if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -g -O2 -Usolaris2 -Dsolaris2=solaris2 -I/usr/local/ssl/include -I. -I/usr/local/include -MT nagios_common_snmp.o -MD -MP -MF ".deps/nagios_common_snmp.Tpo" -c -o nagios_common_snmp.o nagios_common_snmp.c; \ then mv -f ".deps/nagios_common_snmp.Tpo" ".deps/nagios_common_snmp.Po"; else rm -f ".deps/nagios_common_snmp.Tpo"; exit 1; fi nagios_common_snmp.c: In function `get_options': nagios_common_snmp.c:565: error: storage size of 'long_options' isn't known nagios_common_snmp.c:565: error: storage size of `long_options' isn't known make[2]: *** [nagios_common_snmp.o] Error 1 make[2]: Leaving directory `/home/rha/nagios-plugins-snmp/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/rha/nagios-plugins-snmp' make: *** [all] Error 2 _____ Connect and share in new ways with Windows Live. Connect now! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Mon Dec 3 22:05:45 2007 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Mon, 3 Dec 2007 18:05:45 -0300 Subject: check_oracle fails executing with nrpe Message-ID: <20071203210545.GA21984@hermes.freesoftware.org> Hi all! I've some problems executing check_oracle plugin via check_nrpe. In the Oracle server: sdptest:/usr/local/nagios/etc# cat /usr/local/nagios/etc/nrpe.cfg | \ grep check_sysaux command[check_sysaux]=/usr/local/nagios/libexec/check_oracle --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80 sdptest:/usr/local/nagios/etc# /usr/local/nagios/libexec/check_oracle \ --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80 xxxxx : SYSAUX OK - 40.50% used [ 476 / 800 MB available ]|SYSAUX=40.50%;80;90;0;100 In the nagios server: sparky:~# /usr/local/nagios/libexec/check_nrpe -H 200.16.65.189 \ -p 5000 -c check_sysaux xxxxx : SYSAUX OK - % used [ / MB available ]|SYSAUX=%;80;90;0;100 Versions: nagios-plugins 1.4.7 nagios 3.0b5 Any idea to resolve this issue? Thanks in advance. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 3 22:22:03 2007 From: marc at ena.com (Marc Powell) Date: Mon, 3 Dec 2007 15:22:03 -0600 Subject: check_oracle fails executing with nrpe In-Reply-To: <20071203210545.GA21984@hermes.freesoftware.org> References: <20071203210545.GA21984@hermes.freesoftware.org> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Daniel Bareiro > Sent: Monday, December 03, 2007 3:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_oracle fails executing with nrpe > > Hi all! > > I've some problems executing check_oracle plugin via check_nrpe. > > In the Oracle server: > > sdptest:/usr/local/nagios/etc# cat /usr/local/nagios/etc/nrpe.cfg | \ > grep check_sysaux > command[check_sysaux]=/usr/local/nagios/libexec/check_oracle > --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80 > > sdptest:/usr/local/nagios/etc# /usr/local/nagios/libexec/check_oracle \ > --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80 > > xxxxx : SYSAUX OK - 40.50% used [ 476 / 800 MB available > ]|SYSAUX=40.50%;80;90;0;100 [chop] > > Any idea to resolve this issue? Yes, try running the above test as the user that NRPE runs as. It's almost certainly not root and doesn't have root environment or privs. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue Dec 4 00:53:55 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 3 Dec 2007 18:53:55 -0500 Subject: Monitoring Large hard disk partition In-Reply-To: References: Message-ID: Provided you verified the syntex is correct and works for other disks, The problem may be in plugin running on the Windows Host. make sure to run check_nt from the command line for testing that way you know its not the configuration that is interfering. particularly since the error you posted would indicate that the syntex is bad but your message says that you know your comand syntex is OK. Run a clientversion command and then report the issue to the respective plugin. If you are using the original NSClinet then you may have to upgrade to a supported windows client to get this resolved. (like NC_NEt or NSClient++, or OpServices (at least for testing) Tony (Author of NC_Net) On Dec 3, 2007 3:20 AM, Mahesh Vernekar wrote: > Hi, > > I have installed and Configured Nagios 3.0b7 > > I am getting following error, for monitoring a large capacity Hard disk > partition > Usage:check_nt -H host -v variable [-p port] [-w warning] [-c critical][-l > params] [-d SHOWALL] [-t timeout] > > The hard disk partition size is 683GB and the Drive letter is F: > I did following settings for the hard disk in windows.cfg file > > define service[ > use generic_service > host_name guru > service_description F:\ Drive Space > check_command check_nt!USEDDISKSPACE!-l f -w 80 -f 90 > ] > > This same settings work for other partitions that are of small capacity > (about 80GB). > > Can you helpd me solving this problem. > > > > Regards > > Mahesh Vernekar > ClearPoint Learning Systems > Pune, India > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 4 07:48:27 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 04 Dec 2007 07:48:27 +0100 Subject: Help required to set alert In-Reply-To: <000001c835bd$32e88750$98b995f0$@co.in> References: <000001c835bd$32e88750$98b995f0$@co.in> Message-ID: <4754F83B.7030800@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 vijayrao_patil wrote: > I am configuring nagios version 2.10 on RHEL 4 . The clients to this > system are IBM AIX, Sun Solaris, HP_UX , The alerts set to these systems > are working fine except *check_local_disk*. The same is working ok for > Linux. The plug-in version I am using is 1.4.10. Are you running that particular plugin locally on those machines? Because that is the only way to make it work to begin with. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHVPg4BvzDRVjxmYERAlwcAKCiNBnTQuAv99JKEU/Pr+wLVX0ofwCdGEMs Pvt6vFxNeAKxItZcWKlOpwI= =B42v -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dfrancis at amnet.net.au Tue Dec 4 12:32:13 2007 From: dfrancis at amnet.net.au (David Francis) Date: Tue, 04 Dec 2007 20:32:13 +0900 Subject: Missing Server.cfg file Message-ID: <47553ABD.9070701@amnet.net.au> Greetings all I don't know what changed but I've noticed that I don't have a server.cfg file , and recieve the following error trying to start Nagios Reading configuration data... Error: Could not open config directory '/usr/local/nagios/etc/servers' for reading. ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Is it possible to get this file from somewhere or do I have to go through the whole process of install Nagios again (hopefully not) Thanks David ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Dec 4 12:49:37 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 4 Dec 2007 12:49:37 +0100 Subject: Missing Server.cfg file In-Reply-To: <47553ABD.9070701@amnet.net.au> References: <47553ABD.9070701@amnet.net.au> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A10D@hermes.sapphire-int.gi> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of David Francis > Sent: 04 December 2007 12:32 > To: Nagios Users Mailinglist > Subject: [Nagios-users] Missing Server.cfg file > > Greetings all > > I don't know what changed but I've noticed that I don't have a > server.cfg file , and recieve the following error trying to start Nagios > > > > Reading configuration data... > > Error: Could not open config directory '/usr/local/nagios/etc/servers' > for reading. > > ***> One or more problems was encountered while processing the config > files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a previous > version of Nagios, you should be aware that some > variables/definitions > may have been removed or modified in this version. Make sure to read > the HTML documentation regarding the config files, as well as the > 'Whats New' section to find out what has changed. > > > Is it possible to get this file from somewhere or do I have to go > through the whole process of install Nagios again (hopefully not) > Hi David, You will need to write the file, that is the method of configuring Nagios. You may start by editing the appropriate Nagios.cfg file and tweaking a small configuration first. >From the error it looks like it's looking for a servers directory rather than a fiel though. Hope this helps. Giles ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From viniciusfs at gmail.com Tue Dec 4 13:00:43 2007 From: viniciusfs at gmail.com (=?ISO-8859-1?Q?Vin=EDcius_de_Figueiredo_Silva?=) Date: Tue, 4 Dec 2007 10:00:43 -0200 Subject: NDOUtils high memory usage? Message-ID: Hi all, I'm running a new Nagios installation and trying NDOUtils. My problem is when ndo2db is running, the memory usage on my server increase constantly. I'm attaching a graph (I marked some points on it, explained below) to show memory usage last week. Point 1 - Self monitoring started. Point 2 - After a reboot Point 3 - Another reboot, now ndo2db isn't running Point 4 - ndo2db started again Server details: - Ubuntu Server 6.06 - MySQL Server 5.0.22 - Nagios 2.10 - NDOUtils 1.4b7 - Dual Pentium III 933MHz - RAM 2GB As you can see, memory usage when not running ndo2db is stable. This Nagios box is monitoring only 4 machines (include itself). Anyone can help? Is this a 'normal' problem when using ndo2db? -- Vin?cius. personal site - http://vinicius.oitobits.net gaming blog - http://www.oitobits.net ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From viniciusfs at gmail.com Tue Dec 4 13:02:06 2007 From: viniciusfs at gmail.com (=?ISO-8859-1?Q?Vin=EDcius_de_Figueiredo_Silva?=) Date: Tue, 4 Dec 2007 10:02:06 -0200 Subject: NDOUtils high memory usage? In-Reply-To: References: Message-ID: Image attached. On Dec 4, 2007 10:00 AM, Vin?cius de Figueiredo Silva wrote: > Hi all, > > I'm running a new Nagios installation and trying NDOUtils. My problem > is when ndo2db is running, the memory usage on my server increase > constantly. I'm attaching a graph (I marked some points on it, > explained below) to show memory usage last week. > > Point 1 - Self monitoring started. > Point 2 - After a reboot > Point 3 - Another reboot, now ndo2db isn't running > Point 4 - ndo2db started again > > Server details: > - Ubuntu Server 6.06 > - MySQL Server 5.0.22 > - Nagios 2.10 > - NDOUtils 1.4b7 > > - Dual Pentium III 933MHz > - RAM 2GB > > As you can see, memory usage when not running ndo2db is stable. This > Nagios box is monitoring only 4 machines (include itself). > > Anyone can help? Is this a 'normal' problem when using ndo2db? > > -- > Vin?cius. > personal site - http://vinicius.oitobits.net > gaming blog - http://www.oitobits.net > -- Vin?cius. personal site - http://vinicius.oitobits.net gaming blog - http://www.oitobits.net -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios-ram-usage.JPG Type: image/jpeg Size: 20569 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From slackamp at gmail.com Tue Dec 4 16:20:45 2007 From: slackamp at gmail.com (slamp slamp) Date: Tue, 4 Dec 2007 10:20:45 -0500 Subject: check_perc.pl In-Reply-To: <78926d250709141708h2b98caa5u34f5c5c8e38deffd@mail.gmail.com> References: <78926d250709141708h2b98caa5u34f5c5c8e38deffd@mail.gmail.com> Message-ID: <78926d250712040720r76970f5bmdb5e29a8ec64b0e4@mail.gmail.com> anyone using the check_perc plugin and have a fix for the Learning state of the Battery? On Sep 14, 2007 7:08 PM, slamp slamp wrote: > To Matt Stanford. > We just started to use your script. It doesn't seem to take into > consideration when state is Learning. It throws a warning like so: > > ** Global Storage Alarm WARNING ** PERC Channel is OK: PERC Battery is > 36: All Disks are OK: > > 36 means Learning. I don't know if this needs fixing or not. But it > seems that this is a non-critical state. We should not be getting an > alert on it? > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Tue Dec 4 18:11:40 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Tue, 4 Dec 2007 17:11:40 -0000 Subject: Mapping DNs to username Message-ID: Nagios CGI authentication is carried out using certificates, which sets the username to the certificate DN. Is there a way to map it to a unique username? For example, DN1 -> user1 DN2 -> user2 I can't seem to find a solution to this problem in the archives. Many thanks. ------------ Wadud Miah Scientific Computing Systems Support High Performance Computing Services Group, e-Science, RAL 01235 446 794 ------------ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Tue Dec 4 18:18:29 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Tue, 4 Dec 2007 17:18:29 -0000 Subject: Mapping DNs to username In-Reply-To: References: Message-ID: <6546343904687E41B19D8E5A26AB9F5301DDD75A@E03MVB2-UKBR.domain1.systemhost.net> Hi Wadud, How have you setup you authentication to use certs? Typically nagios uses .htaccess files in the examples to authenticate users. This is documented in the docs. You can use htpasswd, htdigest or dbmanage to create your user file. Just make sure you set the AuthType to the correct value. ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Have you setup authentication another way? If so can you post part off your config so we can help you? Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Miah, W (Wadud) Sent: 04 December 2007 17:12 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mapping DNs to username Nagios CGI authentication is carried out using certificates, which sets the username to the certificate DN. Is there a way to map it to a unique username? For example, DN1 -> user1 DN2 -> user2 I can't seem to find a solution to this problem in the archives. Many thanks. ------------ Wadud Miah Scientific Computing Systems Support High Performance Computing Services Group, e-Science, RAL 01235 446 794 ------------ ------------------------------------------------------------------------ - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Tue Dec 4 18:34:34 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 4 Dec 2007 12:34:34 -0500 (EST) Subject: beta7 kse_wakeup / kse_release In-Reply-To: <89BD31F5-B0F4-4FA6-889A-CE7DE2DDD1F0@netleader.com.au> References: <6FC9F9894A9F8C49A722CF9F2132FC220F730B3B@ms05.mailstreet2003.net> <20071126170656.GA4658@bsdcrew.de> <6FC9F9894A9F8C49A722CF9F2132FC220F730DD5@ms05.mailstreet2003.net> <1196279050.10583.11.camel@new-host> <89BD31F5-B0F4-4FA6-889A-CE7DE2DDD1F0@netleader.com.au> Message-ID: <20071204122941.W41348@arbitor.digitalfreaks.org> I can post config.log and parts of nagios.cfg if needed. The same b5 binary with same configure options doesn't behave this way. Between b5 and b7, something changed with threading? 70872 nagios 1 125 0 2464K 1784K RUN 1:07 99.14% nagios ktrace(8) kdump(8) output (thousand of these): "" 70871 nagios RET read 0 70871 nagios CALL kse_release(0x80d5f4c) 70871 nagios RET kse_release 0 70871 nagios CALL sigtimedwait(0xbf9fed90,0xbf9fee30,0xbf9fed88) 70871 nagios RET kse_release 0 70871 nagios CALL kse_release(0x80d5edc) 70871 nagios RET sigtimedwait -1 errno 35 Resource temporarily unavailable 70871 nagios CALL kse_wakeup(0x80cf40c) 70871 nagios RET kse_wakeup 0 70871 nagios RET kse_release 0 70871 nagios CALL read(0x4,0x80e1000,0x1000) 70871 nagios GIO fd 4 read 0 bytes "" 70871 nagios RET read 0 70871 nagios CALL kse_release(0x80d5f4c) 70871 nagios CALL kse_release(0xbf9fef58) 70871 nagios RET kse_release 0 70871 nagios CALL sigtimedwait(0xbf9fed90,0xbf9fee30,0xbf9fed88) 70871 nagios RET sigtimedwait -1 errno 35 Resource temporarily unavailable 70871 nagios CALL kse_release(0xbf9fef58) 70871 nagios RET kse_release 0 70871 nagios CALL kse_release(0xbf9fef58) 70871 nagios RET kse_release 0 70871 nagios CALL read(0x4,0x80e1000,0x1000) 70871 nagios GIO fd 4 read 0 bytes > On 29/11/2007, at 6:14 AM, Brian A. Seklecki wrote: >> Plus there was a crazy threading issue with B7. I'll submit details in >> a second. ~BAS > > Brian. I have updated the PR to bump the port to 3.0.b7 once the ports > freeze is over. If there are issues with the newer (or older?) versions, i'd > be interested to hear about them and am happy to investigate further. > > Jarrod. l8* -lava (Brian A. Seklecki - Pittsburgh, PA, USA) http://www.spiritual-machines.org/ "Guilty? Yeah. But he knows it. I mean, you're guilty. You just don't know it. So who's really in jail?" ~Maynard James Keenan ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Tue Dec 4 18:50:52 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Tue, 4 Dec 2007 17:50:52 -0000 Subject: Mapping DNs to username In-Reply-To: <6546343904687E41B19D8E5A26AB9F5301DDD75A@E03MVB2-UKBR.domain1.systemhost.net> References: <6546343904687E41B19D8E5A26AB9F5301DDD75A@E03MVB2-UKBR.domain1.systemhost.net> Message-ID: I'm aware of other authentication methods, but I must use client certificates. -------------------------nagios.conf------------------------- ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin SSLVerifyClient Require SSLVerifyDepth 3 SSLOptions +FakeBasicAuth SSLRequireSSL Options ExecCGI AllowOverride None AuthName "Nagios CGI Access" AuthType Basic AuthUserFile /etc/nagios/users-access Require valid-user ------------------------- -------------------------/etc/nagios/users-access----------------------- -- /C=UK/O=eScience/OU=CLRC/L=RAL/CN=wadud miah:xxj31ZMTZzkVA ------------------------- Apache then sets the username as the certificate DN = '/C=UK/O=eScience/OU=CLRC/L=RAL/CN=wadud miah' Even if I enclose the DN in quotes (single and double), and assign it to, say, authorized_for_system_information, Nagios does not allow me to view the system information. I guess this is more of an Apache question than Nagios. -----Original Message----- From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] Sent: 04 December 2007 17:18 To: Miah, W (Wadud); nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Mapping DNs to username Hi Wadud, How have you setup you authentication to use certs? Typically nagios uses .htaccess files in the examples to authenticate users. This is documented in the docs. You can use htpasswd, htdigest or dbmanage to create your user file. Just make sure you set the AuthType to the correct value. ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Alias /nagios /usr/local/nagios/share Options None AllowOverride None Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user Have you setup authentication another way? If so can you post part off your config so we can help you? Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Miah, W (Wadud) Sent: 04 December 2007 17:12 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mapping DNs to username Nagios CGI authentication is carried out using certificates, which sets the username to the certificate DN. Is there a way to map it to a unique username? For example, DN1 -> user1 DN2 -> user2 I can't seem to find a solution to this problem in the archives. Many thanks. ------------ Wadud Miah Scientific Computing Systems Support High Performance Computing Services Group, e-Science, RAL 01235 446 794 ------------ ------------------------------------------------------------------------ - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gyufi at sztaki.hu Tue Dec 4 19:39:33 2007 From: gyufi at sztaki.hu (=?UTF-8?Q?Gyula_Szab=C3=B3?=) Date: Tue, 4 Dec 2007 19:39:33 +0100 Subject: Mapping DNs to username In-Reply-To: <6fd80d940712041037i3736d0f5l69b8d47eb7d91b7b@mail.gmail.com> References: <6546343904687E41B19D8E5A26AB9F5301DDD75A@E03MVB2-UKBR.domain1.systemhost.net> <6fd80d940712041037i3736d0f5l69b8d47eb7d91b7b@mail.gmail.com> Message-ID: <6fd80d940712041039n273e6e9fu22c06d048d297b7b@mail.gmail.com> Are you tried the SSLUserName option? ,, This directive sets the "user" field in the Apache request object. This is used by lower modules to identify the user with a character string. In particular, this may cause the environment variable REMOTE_USER to be set. The varname can be any of the SSL environment variables. '' http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslusername Maybe you could use a unique attribute of the certificate, for example the email address. Regards, gyufi On 12/4/07, Miah, W (Wadud) wrote: > I'm aware of other authentication methods, but I must use client > certificates. > > -------------------------nagios.conf------------------------- > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > > SSLVerifyClient Require > SSLVerifyDepth 3 > SSLOptions +FakeBasicAuth > SSLRequireSSL > > Options ExecCGI > AllowOverride None > AuthName "Nagios CGI Access" > AuthType Basic > AuthUserFile /etc/nagios/users-access > Require valid-user > > ------------------------- > > -------------------------/etc/nagios/users-access----------------------- > -- > /C=UK/O=eScience/OU=CLRC/L=RAL/CN=wadud miah:xxj31ZMTZzkVA > ------------------------- > > Apache then sets the username as the certificate DN = > '/C=UK/O=eScience/OU=CLRC/L=RAL/CN=wadud miah' > Even if I enclose the DN in quotes (single and double), and assign it > to, say, > authorized_for_system_information, Nagios does not allow me to view the > system information. I guess this is > more of an Apache question than Nagios. > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: 04 December 2007 17:18 > To: Miah, W (Wadud); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mapping DNs to username > > Hi Wadud, > > How have you setup you authentication to use certs? > > Typically nagios uses .htaccess files in the examples to authenticate > users. This is documented in the docs. > > You can use htpasswd, htdigest or dbmanage to create your user file. > Just make sure you set the AuthType to the correct value. > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios /usr/local/nagios/share > > > Options None > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Have you setup authentication another way? If so can you post part off > your config so we can help you? > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Miah, W > (Wadud) > Sent: 04 December 2007 17:12 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mapping DNs to username > > Nagios CGI authentication is carried out using certificates, which sets > the username to the certificate DN. Is there a way to map it to a unique > username? For example, > > DN1 -> user1 > DN2 -> user2 > > I can't seem to find a solution to this problem in the archives. > > Many thanks. > > ------------ > Wadud Miah > Scientific Computing Systems Support > High Performance Computing Services Group, e-Science, RAL > 01235 446 794 > ------------ > > > ------------------------------------------------------------------------ > - > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 4 20:31:37 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 4 Dec 2007 11:31:37 -0800 Subject: any gotchas with AIX + check_nrpe ? Message-ID: <2b7af7c40712041131k1e19fcadh6e6e8fa7ec33903@mail.gmail.com> I'm looking to monitor AIX machines using the check_nrpe command from Nagios. Anything I should worry about installing NRPE on the AIX box? Or is it all fairly straight forward? ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.potter at academy.com Tue Dec 4 20:51:09 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 4 Dec 2007 13:51:09 -0600 Subject: Escalations Question Message-ID: I have looked through the docs and the list and this seems right but I would like some confirmation before I implement service and host escalations. The situation is this: I have been tasked with getting a single email to helpdesk (they do email to ticket) per Nagios alert and no more. They don't want recovery or further notifications. This is the first one I have written for a group of webservers: define serviceescalation { host_name plwsweb01,plwsweb02,plwsweb03,plwsweb05,plwsweb06 service_description Apache - Maximum Connections Check,HTTP - Port 80 Check - Production Systems,Ping - Simple Ping Check - Production contact_groups helpdesk,sysalertsinfra first_notification 1 last_notification 1 notification_interval 30 } According to my understanding, and I could be wrong, this will send the first notification to groups (helpdesk and sysalertsinfra) and the rest, if I define no further escalations, will go the default contact for that group. The other questions I have are: 1. Are the multiple services/hosts allowed here? 2. Is there a better way to do this? Thank you all, in advance, for your time. Best Regards, Mark L. Potter Systems Engineer Academy Sports & Outdoors 1800 N. Mason Rd Katy, Texas 77449 Office: 281-646-5857 Cell: 281-734-6965 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsasko at niag.com Tue Dec 4 22:18:57 2007 From: rsasko at niag.com (Rich Sasko) Date: Tue, 4 Dec 2007 15:18:57 -0600 Subject: Service State Message-ID: We have services that we do not want to run on some of our servers. I would like to know of a way to monitor for these services so that the status is ok if it is stopped but a critical notification is sent out if it starts. Richard Sasko Niagara Lasalle Corp E-mail: rsasko at niag.com Nagios 3.0b7 on RHEL 4 Plugin version 1.4.9 Mixed Win 2000/2003 environment with NSC++ v0.2.7 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Tue Dec 4 22:22:02 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Tue, 04 Dec 2007 14:22:02 -0700 Subject: Service State In-Reply-To: References: Message-ID: <1196803322.1840.38.camel@sidhqmis4grdv91> your personal favorite brand of 'check_process' plugin combined with the 'negate' plugin should do the trick. On Tue, 2007-12-04 at 15:18 -0600, Rich Sasko wrote: > We have services that we do not want to run on some of our servers. I > would like to know of a way to monitor for these services so that the > status is ok if it is stopped but a critical notification is sent out > if it starts. > > > > Richard Sasko > Niagara Lasalle Corp > E-mail: rsasko at niag.com > > > > Nagios 3.0b7 on RHEL 4 > > Plugin version 1.4.9 > > Mixed Win 2000/2003 environment with NSC++ v0.2.7 > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 4 22:25:38 2007 From: marc at ena.com (Marc Powell) Date: Tue, 4 Dec 2007 15:25:38 -0600 Subject: Service State In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Rich Sasko > Sent: Tuesday, December 04, 2007 3:19 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Service State > > We have services that we do not want to run on some of our servers. I > would like to know of a way to monitor for these services so that the > status is ok if it is stopped but a critical notification is sent out if > it starts. Use the negate plugin in combination with a normal plugin. For example -- define command { command_name check_http_off command_line $USER1$/negate $USER1$/check_http -I $HOSTADDRESS$ } -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joseph.petrucci at wachovia.com Tue Dec 4 22:26:16 2007 From: joseph.petrucci at wachovia.com (joseph.petrucci at wachovia.com) Date: Tue, 4 Dec 2007 16:26:16 -0500 Subject: Service State In-Reply-To: References: Message-ID: What OS on the servers you are monitoring??? Joe Petrucci Cell : 724-462-0443 "Rich Sasko" Sent by: nagios-users-bounces at lists.sourceforge.net 12/04/2007 04:18 PM To cc Subject [Nagios-users] Service State We have services that we do not want to run on some of our servers. I would like to know of a way to monitor for these services so that the status is ok if it is stopped but a critical notification is sent out if it starts. Richard Sasko Niagara Lasalle Corp E-mail: rsasko at niag.com Nagios 3.0b7 on RHEL 4 Plugin version 1.4.9 Mixed Win 2000/2003 environment with NSC++ v0.2.7 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Tue Dec 4 22:37:55 2007 From: btmanmeh at verizon.net (Max Hetrick) Date: Tue, 04 Dec 2007 16:37:55 -0500 Subject: Escalations Question In-Reply-To: References: Message-ID: <4755C8B3.2020600@verizon.net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 mark.potter at academy.com wrote: > I have looked through the docs and the list and this seems right but I > would like some confirmation before I implement service and host > escalations. The situation is this: I have been tasked with getting a > single email to helpdesk (they do email to ticket) per Nagios alert and > no more. They don't want recovery or further notifications. This is the > first one I have written for a group of webservers: > > define serviceescalation { > host_name > plwsweb01,plwsweb02,plwsweb03,plwsweb05,plwsweb06 > service_description Apache - Maximum Connections > Check,HTTP - Port 80 Check - Production Systems,Ping - Simple Ping Check > - Production > contact_groups helpdesk,sysalertsinfra > first_notification 1 > last_notification 1 > notification_interval 30 > } > > According to my understanding, and I could be wrong, this will send the > first notification to groups (helpdesk and sysalertsinfra) and the rest, > if I define no further escalations, will go the default contact for that > group. > - From what you have specified here, the first and last notification will go on this escalation to the contact_group you have listed. Since you don't have the escalation options (w,u,c,r) listed, it will send the alerts based off of whatever you have specified in the service configuration definition. You would need to make sure you have this listed if you only want your escalation to send the critical. escalation_options c Although, if you only want one page to go out on critical, then I wouldn't mess with the escalation at all. I would specify the service to only notifiy you once, and only once on a critical back in your service definition. Generally, you would use escalations like I explain here: I use RT (Request Tracker) to receive alerts from Nagios. The first notification defined through the service definition goes to my alarms group. This sends notification to RT, my pager, and my bosses pager. I then escalate the second notification, such as listed below, to only go to my pager and my bosses pager every 60 minutes forever until one of us responds. > 1. Are the multiple services/hosts allowed here? Yes. You can use hostgroupescalations: define hostescalation{ hostgroup_name corp-monitors first_notification 2 last_notification 0 notification_interval 60 contact_groups itproblems } > 2. Is there a better way to do this? That depends on what you're trying or wanting to do. Hostgroup escalations just saves you typing time if you want to escalate based on hostgroups. Services you won't be able to do in multiples, so you'll have to setup a service escalation for each service on each host. Hope this helps you a bit. Regards, Max -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQFHVcizHoeeepPau2ERAsDlAKDKujxB9LjPvdV84AiVcHd6vTYb3ACgh69m b5B5D8Cu9pSB0A/muC+JNVg= =iAxc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.potter at academy.com Tue Dec 4 22:43:51 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Tue, 4 Dec 2007 15:43:51 -0600 Subject: Escalations Question In-Reply-To: <4755C8B3.2020600@verizon.net> References: <4755C8B3.2020600@verizon.net> Message-ID: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > mark.potter at academy.com wrote: > > > I have looked through the docs and the list and this seems right but I > > would like some confirmation before I implement service and host > > escalations. The situation is this: I have been tasked with getting a > > single email to helpdesk (they do email to ticket) per Nagios alert and > > no more. They don't want recovery or further notifications. This is the > > first one I have written for a group of webservers: > > > > define serviceescalation { > > host_name > > plwsweb01,plwsweb02,plwsweb03,plwsweb05,plwsweb06 > > service_description Apache - Maximum Connections > > Check,HTTP - Port 80 Check - Production Systems,Ping - Simple Ping Check > > - Production > > contact_groups helpdesk,sysalertsinfra > > first_notification 1 > > last_notification 1 > > notification_interval 30 > > } > > > > According to my understanding, and I could be wrong, this will send the > > first notification to groups (helpdesk and sysalertsinfra) and the rest, > > if I define no further escalations, will go the default contact for that > > group. > > > > - From what you have specified here, the first and last notification will > go on this escalation to the contact_group you have listed. Since you > don't have the escalation options (w,u,c,r) listed, it will send the > alerts based off of whatever you have specified in the service > configuration definition. > > You would need to make sure you have this listed if you only want your > escalation to send the critical. > > escalation_options c > > Although, if you only want one page to go out on critical, then I > wouldn't mess with the escalation at all. I would specify the service to > only notifiy you once, and only once on a critical back in your service > definition. > > > Generally, you would use escalations like I explain here: > > I use RT (Request Tracker) to receive alerts from Nagios. The first > notification defined through the service definition goes to my alarms > group. This sends notification to RT, my pager, and my bosses pager. > > I then escalate the second notification, such as listed below, to only > go to my pager and my bosses pager every 60 minutes forever until one of > us responds. > > > 1. Are the multiple services/hosts allowed here? > > Yes. You can use hostgroupescalations: > > define hostescalation{ > hostgroup_name corp-monitors > first_notification 2 > last_notification 0 > notification_interval 60 > contact_groups itproblems > } > > > 2. Is there a better way to do this? > > That depends on what you're trying or wanting to do. Hostgroup > escalations just saves you typing time if you want to escalate based on > hostgroups. > > Services you won't be able to do in multiples, so you'll have to setup a > service escalation for each service on each host. > > Hope this helps you a bit. > Max, That works pretty well actually. I will add everyone that needs to get the first notification to the proper group and then escalate as you have shown. The logic you provided makes more sense than trying to capture to the first and only the first notification. Thanks so much for your help. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 06:02:03 2007 From: marc at ena.com (Marc Powell) Date: Tue, 4 Dec 2007 23:02:03 -0600 Subject: Missing Server.cfg file In-Reply-To: <47553ABD.9070701@amnet.net.au> References: <47553ABD.9070701@amnet.net.au> Message-ID: <2D9A9814-9746-408E-BC66-96A6C9758AA9@ena.com> On Dec 4, 2007, at 5:32 AM, David Francis wrote: > Greetings all > > I don't know what changed but I've noticed that I don't have a > server.cfg file , and recieve the following error trying to start > Nagios > > > > Reading configuration data... > > Error: Could not open config directory '/usr/local/nagios/etc/servers' > for reading. This is a missing directory, not a file. Depending on how you configured nagios, that directory may have had more than one config file in it. We can't know, only you. > Is it possible to get this file from somewhere or do I have to go > through the whole process of install Nagios again (hopefully not) Only from your backups. Files such as this that contain hosts and services to monitor, are site-specific and created by you only. We have no idea what the contents of those file(s) are. The good news is that you don't have to completely re-install nagios again if you can't find the files. You only need to redefine the hosts/services that you were monitoring within those files. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.limburg at gmail.com Wed Dec 5 08:02:28 2007 From: mark.limburg at gmail.com (Mark Limburg) Date: Wed, 5 Dec 2007 17:32:28 +1030 Subject: xhtml1 for nagios 3.0 Message-ID: Howdy folks, long time no talkie .. I'm currently deploying a proof of concept for work, using nagios to do a heap of various checks on the usual and not so usual networked devices. In doing such, I've decided to make a set of patches that strip out the old HTML and insert nicer xhtml in there allowing basically everything to be controlled with css. The first release of these will be fairly simple as I'm going for accuracy first, but so far in my workdesk, I've just altered the base so it begins to play with xhtml, use a new css file which is growing as i work on the files, and will be using the ssi layer to load a dropdown menu system. Reason I'm leaning towards the ssi layer is that then everyone can alter the menu system to their needs. If anyone has any ideas they want to send me, or to just discuss what ideas you have yourself, feel free :) I'm in the early stages so far, but it's coming along nicely. Of course, these are not official, although I'd be more than happy for Ethan to look at it once the project is complete. It's far from a new controllable interface, but it will allow some very nice customisation options. And as for the beta releases of these, all I can say is they work on a fresh install on my server .. so running these on a production server would be a bad BAD thing. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dkavraal at gmail.com Wed Dec 5 08:34:38 2007 From: dkavraal at gmail.com (=?ISO-8859-1?Q?Din=E7er_Kavraal?=) Date: Wed, 5 Dec 2007 09:34:38 +0200 Subject: check_host_alive warns for wrong IP Message-ID: Hi all, I think check_host_alive has got sth wrong with it. I have controlled output of "check_host_alive" when I saw my host down. It was saying: (on page nagios/cgi-bin/extinfo.cgi? bla bla for host detail) CRITICAL - Host Unreachable (85.29.1.77) However the fact is that I have grepped all relevant nagios configuration files and never seen an IP like "85.29.1.77", I just defined host with IP .26.77. On the other hand, I tried to run it on console, expectedly it said: CRITICAL - Host Unreachable (85.29.26.77) Any ideas? By the way, Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 85.29.1.64 0.0.0.0 255.255.255.192 U 0 0 0 eth0 0.0.0.0 85.29.1.100 0.0.0.0 UG 0 0 0 eth0 Regards, Din?er -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthew-ln at itconsult.co.uk Wed Dec 5 09:36:03 2007 From: matthew-ln at itconsult.co.uk (Matthew Richardson) Date: Wed, 05 Dec 2007 08:36:03 +0000 Subject: How to get reboot messages In-Reply-To: References: <12A6FDDD13C460408A6E47E5DB1235A20188CBF8@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: Sample command and uptime service is below. I have taken it from objects.cache to show all the details. Note that is is volatile and only alerts on warnings:- |define command { | command_name check_snmp_uptime | command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o 1.3.6.1.2.1.1.3.0 -w 42000: -t 45 | } |define service { | host_name xxx | service_description uptime | check_period 24x7 | check_command check_snmp_uptime!readcommunity | contact_groups xxx | notification_period 24x7 | initial_state o | check_interval 5.000000 | retry_interval 5.000000 | max_check_attempts 1 | is_volatile 1 | parallelize_check 1 | active_checks_enabled 1 | passive_checks_enabled 1 | obsess_over_service 1 | event_handler_enabled 1 | low_flap_threshold 0.000000 | high_flap_threshold 0.000000 | flap_detection_enabled 1 | flap_detection_options o,w,u,c | freshness_threshold 0 | check_freshness 0 | notification_options w | notifications_enabled 1 | notification_interval 0.000000 | first_notification_delay 0.000000 | stalking_options n | process_perf_data 1 | failure_prediction_enabled 1 | retain_status_information 1 | retain_nonstatus_information 1 | } This config will occasionally give two successive warnings for one reboot, which I intend to adjust in due course. Hope this helps. Best wishes, Matthew ------ >From: "chris serafin" >To: "Matthew Richardson" >Cc: >Date: Tue, 4 Dec 2007 13:45:22 -0600 >Subject: Re: [Nagios-users] How to get reboot messages >Any chance you could post your service/command configs? > >Chris > >On Dec 1, 2007 3:05 AM, Matthew Richardson >wrote: > >> SNMP works fine in Windows for uptime monitoring... >> >> Best wishes, >> Matthew >> ------ >> >From: "chris serafin" >> >To: "Steve Shipway" >> >Cc: Nagios-users at lists.sourceforge.net >> >Date: Thu, 29 Nov 2007 15:08:37 -0600 >> >Subject: Re: [Nagios-users] How to get reboot messages >> >> >So SNMP won't work with Windows? Damn, clients hate extra software. :( >> >> ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From abeneuneu at gmail.com Wed Dec 5 11:38:05 2007 From: abeneuneu at gmail.com (Benoit Moeremans) Date: Wed, 5 Dec 2007 11:38:05 +0100 Subject: oracle check Message-ID: Hello, Since a little upgrade, i've a strange thing in my nagios. I check oracle services on linux server. Everything seems to be configured as it need to be, but i don't get correct values in the web ui. I receveid the following warning: Cannot determine ORACLE_HOME for sid GI2 However, i checked the nrpe services, when i run the command, i receive the good values. >From the server where is running nagios: nagios at rantanplan:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.5.10 -n -c check_oracletnsB OK - reply time 20 msec from GI1 I don't understand what's wrong. Any idea? regards, Ben -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thurgroup at gmail.com Wed Dec 5 12:54:41 2007 From: thurgroup at gmail.com (Roger Dierauer) Date: Wed, 5 Dec 2007 12:54:41 +0100 Subject: oracle check In-Reply-To: References: Message-ID: Hi do you have set the ora environement in nagios .bash_profile? kind regards roger 2007/12/5, Benoit Moeremans : > > Hello, > > Since a little upgrade, i've a strange thing in my nagios. I check oracle > services on linux server. > > Everything seems to be configured as it need to be, but i don't get > correct values in the web ui. I receveid the following warning: Cannot > determine ORACLE_HOME for sid GI2 > > However, i checked the nrpe services, when i run the command, i receive > the good values. > > From the server where is running nagios: > > nagios at rantanplan:/usr/local/nagios/libexec$ ./check_nrpe -H 192.168.5.10-n -c check_oracletnsB > OK - reply time 20 msec from GI1 > > > I don't understand what's wrong. Any idea? > > regards, > > Ben > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ThurGroup Informatik Dierauer Roger Dierauer eidg. Informatiker mit FA VMware Certified Professional Egelsee Strasse 20a 9535 Wilen bei Wil Mobile: +41 79 216 34 86 Fax: +41 71 911 81 80 info at thurgroup.ch http://thurgroup.ch ==> Online-Shop mit IT - Bedarf zu fairen Preisen und schneller Lieferung http://shop.thurgroup.ch <== -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 14:12:20 2007 From: marc at ena.com (Marc Powell) Date: Wed, 5 Dec 2007 07:12:20 -0600 Subject: check_host_alive warns for wrong IP {Disarmed} {Fraud?} In-Reply-To: References: Message-ID: <4F358078-FFF5-4D18-8BC6-96F4A60BDD0A@ena.com> On Dec 5, 2007, at 1:34 AM, Din?er Kavraal wrote: > Hi all, > I think check_host_alive has got sth wrong with it. > > I have controlled output of "check_host_alive" when I saw my host > down. It was saying: (on page nagios/cgi-bin/extinfo.cgi? bla bla > for host detail) > CRITICAL - Host Unreachable (85.29.1.77) > > However the fact is that I have grepped all relevant nagios > configuration files and never seen an IP like " 85.29.1.77", I just > defined host with IP .26.77. On the other hand, I tried to run it on > console, expectedly it said: > CRITICAL - Host Unreachable (85.29.26.77) This is pretty unusual. Please post the host and command definitions. For a typical installation, check_host_alive uses check_ping which is just a wrapper for /bin/ping. It asks /bin/ping to ping the host and parses it's output for the response. Could it have been that IP in the config file at any time? Do you have multiple copies of nagios running with the older one having seen that IP in the config files? -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Wed Dec 5 14:36:14 2007 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Wed, 5 Dec 2007 11:36:14 -0200 Subject: NRPE question Message-ID: <29906.0335186825$1196861831@news.gmane.org> It?s anybody interested or already working in a way to keep a centralized repository of remote plugins and configuration for NRPE ? What we are looking for is to add/develop some new option in NRPE to "pull" the remote plugins/configuration installed in the NRPE agent?s nodes and keep them in the Nagios monitor node for backup purposes. Does it sounds stupid ? []s _________________________________________________ Dario B. Bestetti????????OpServices ??????????????????????????????????R. Luciana de Abreu, 471 - Sala 403 ??????????????????????????????????Porto Alegre, RS - CEP 90570-060 Fone 55(51)30613588 Mobile? 55(51)81518218 Fax???? 55(51)30613588? Email??? dario.bestetti at opservices.com.br ? ???????????????"In God we trust, the rest we monitor ..." _________________________________________________ ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at rtij.nl Wed Dec 5 14:48:16 2007 From: m at rtij.nl (Martijn Lievaart) Date: Wed, 5 Dec 2007 14:48:16 +0100 (CET) Subject: Remote DHCP In-Reply-To: References: Message-ID: <16612.217.166.60.19.1196862496.squirrel@ma.rtij.nl> > Hi, > > > > I?m writting from Spain and my english is not very good, thought, I?ll try > to do my best. > > > > I have a Nagios 2.9 under Ubuntu 6.10. Everything works fine but I need to > monitor a Remote Windows DHCP Server and I don?t know how. Evidently > check_dhcp is not useful in remote hosts. Just wrote this yesterday (mostly ripped from check_dhcp.pl), you need to install dhcping. /usr/local/nagios/plugins/check-dhcping: #!/usr/bin/perl -w # # dhcping suid wrapper # use strict; use warnings; use Getopt::Long qw(:config no_ignore_case); use IO::Socket; use IO::Interface; my ($status, $host, $mac, $ip, $verbose, $timeout); my $interface = 'eth0'; my $VERSION = 0.1; my $HELP = 0; my $DOTTED_QUAD = '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}'; %ENV=(); # Default values $timeout = 3; my %STATUSCODE = ( 'OK' => '0', 'WARNING' => '1', 'CRITICAL' => '2', 'UNKNOWN' => '3'); my $usage = < \$host, "i|interface=s" => \$interface, "t|timeout:i" => \$timeout, "h|help" => \$HELP, "d|debug" => \$debug, ); if( !$result ) { print "ERROR: Problem with cmdline args\n"; print $usage; exit($STATUSCODE{'UNKNOWN'}); } if( $HELP ) { print $usage; exit($STATUSCODE{'UNKNOWN'}); } if ( !$host ){ print "ERROR: Missing required arguments\n"; print $usage; exit($STATUSCODE{'UNKNOWN'}); } unless ( $host =~ /($DOTTED_QUAD)/ ){ print "Invalid IP Address: $host\n"; exit($STATUSCODE{'UNKNOWN'}); } $host = $1; # Get the mac and IP address for the given interface my $s = IO::Socket::INET->new(Proto => 'udp'); if ( !($ip = $s->if_addr($interface)) ){ print "Error: $!\n"; exit($STATUSCODE{'CRITICAL'}); } if ( !($mac = $s->if_hwaddr($interface)) ){ print "Error: $!\n"; exit($STATUSCODE{'CRITICAL'}); } # This is needed in order to avoid sperl complaining # about "Insecure dependencies" unless ( $ip =~ /($DOTTED_QUAD)/ ){ print "Invalid IP Address: $ip\n"; exit($STATUSCODE{'UNKNOWN'}); } $ip = $1; unless ($mac =~ /((?:[[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/) { print "Invalid hw Address: $mac\n"; exit($STATUSCODE{'UNKNOWN'}); } $mac = $1; my $args = "-i -t $timeout -c $ip -s $host -g $ip -h $mac"; $debug and print "ip=$ip, args=$args\n"; system "/usr/bin/dhcping $args"; if ($? == -1) { print "failed to execute dhcping: $!\n"; exit($STATUSCODE{'UNKNOWN'}); } if ($? & 127) { printf "child died with signal %d\n", ($? & 127); exit($STATUSCODE{'UNKNOWN'}); } # Note that dhcping has already provided some text on stdout, # which is reasonably suitable for nagios. # All that is left is to return an appropriate return code. my $rc = $? >> 8; exit ($rc ? 2 : 0); ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 5 14:50:19 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Dec 2007 13:50:19 +0000 Subject: NRPE question In-Reply-To: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> Message-ID: <4756AC9B.1040602@googlemail.com> Dario B. Bestetti wrote: > It?s anybody interested or already working in a way to keep a centralized repository of remote plugins and configuration for NRPE ? > What we are looking for is to add/develop some new option in NRPE to "pull" the remote plugins/configuration installed in the NRPE > agent?s nodes and keep them in the Nagios monitor node for backup purposes. > > Does it sounds stupid Not at all. Bash + Rsync. One Nrpe config for all agents. One set of plugins that gets put on all agents. This is what I do. Simplifies things nicely and keeps nrpe affairs well maintained. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Wed Dec 5 15:03:22 2007 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Wed, 5 Dec 2007 12:03:22 -0200 Subject: RES: NRPE question In-Reply-To: <4756AC9B.1040602@googlemail.com> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> Message-ID: <48695.3669962988$1196863454@news.gmane.org> > -----Mensagem original----- > De: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Enviada em: quarta-feira, 5 de dezembro de 2007 11:50 > Para: dario.bestetti at opservices.com.br > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: [Nagios-users] NRPE question > > > > Dario B. Bestetti wrote: > > It?s anybody interested or already working in a way to keep a centralized repository of remote > plugins and configuration for NRPE ? > > What we are looking for is to add/develop some new option in NRPE to "pull" the remote > plugins/configuration installed in the NRPE > > agent?s nodes and keep them in the Nagios monitor node for backup purposes. > > > > Does it sounds stupid > Not at all. Bash + Rsync. One Nrpe config for all agents. One set of > plugins that gets put on all agents. This is what I do. Simplifies > things nicely and keeps nrpe affairs well maintained. > > -h > > -- > Hari Sekhon Hari, what we would like to have is a function inside NRPE agents to do it. Using Bash+Rsync is ok, but the remote node must have rsync and ssh (for security) installed, it?s another piece of software to maintain operational. Having something "inside" NRPE would allow to do it without depending on any other sw package. []s Dario ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 15:12:22 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 05 Dec 2007 15:12:22 +0100 Subject: NRPE question In-Reply-To: <4756AC9B.1040602@googlemail.com> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> Message-ID: <4756B1C6.4020209@op5.se> Hari Sekhon wrote: > Dario B. Bestetti wrote: >> It?s anybody interested or already working in a way to keep a centralized repository of remote plugins and configuration for NRPE ? >> What we are looking for is to add/develop some new option in NRPE to "pull" the remote plugins/configuration installed in the NRPE >> agent?s nodes and keep them in the Nagios monitor node for backup purposes. >> >> Does it sounds stupid > Not at all. Bash + Rsync. One Nrpe config for all agents. One set of > plugins that gets put on all agents. This is what I do. Simplifies > things nicely and keeps nrpe affairs well maintained. > Sucks arse for networks with HP-UX, *BSD, AIX, Linux and Irix all mixed together though. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Tillotson at KnowledgeStorm.com Wed Dec 5 15:24:35 2007 From: Jeff.Tillotson at KnowledgeStorm.com (Tillotson, Jeff) Date: Wed, 5 Dec 2007 09:24:35 -0500 Subject: XML Document Content Matching Message-ID: <8041F523C05D094086A985A23F30720C05BFE33A@draco.knowledgestorm.com> Hello everyone. I am in the process of migrating all our monitoring to a Nagios solution. Ultimately this will make our lives easier but it is a little cumbersome to migrate. We have a lot being monitored. Everything was going smoothly until I tried to implement our RSS monitors in Nagios. Our current check for our RSS feeds are in SiteScope 7.9.5. SiteScope had the ability to content match values in the XML document. So I could do a content check similar to: xml.rss.[version]=2.0,xml.rss.[xmlns:dc]=http://purl.org/dc/elements/1.1 / Is there a plugin for Nagios that will do the same sort of content check? I have searched NagiosExchange to no success. If necessary I can make something work with check_http (or check_curl.php) or write a plugin. Jeff PS: Sorry if this eventually posts to the list twice. I initially signed up for the mailing-list with the incorrect mail alias. ****DISCLAIMER The information contained in this e-mail and attachments, if any, is confidential and may be subject to legal privilege. If you are not the intended recipient, you must not use, copy, distribute or disclose the e-mail and its attachment, or any part of its content or take any action in reliance of it. If you have received this e-mail in error, please e-mail the message back to the sender by replying and then deleting it. We cannot accept responsibility for loss or damage arising from the use of this e-mail or attachments, and recommend that you subject these to your virus checking procedures prior to use. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Wed Dec 5 15:58:28 2007 From: mwjredding at gmail.com (mark redding) Date: Wed, 5 Dec 2007 14:58:28 +0000 Subject: Two nagios processes In-Reply-To: <475407E8.6080208@neuwald.biz> References: <475407E8.6080208@neuwald.biz> Message-ID: HI, > Sometimes, nagios hangs with two nagios processes: > I think you'll find that nagios will spawn off another process for some of its checks (I certainly see the occassional second nagios process running on my FreeBSD 6.2 based system). It could be that the check being performed at the time (be it a standard plugin or a home grown script) is not getting the response it is expected, is looping, or doing something else rather strange - what investigation have you carried out into the checks active at the time it goes ? -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Wed Dec 5 16:09:44 2007 From: mwjredding at gmail.com (mark redding) Date: Wed, 5 Dec 2007 15:09:44 +0000 Subject: hard_check_interval revisited In-Reply-To: References: Message-ID: Hi, On 29/11/2007, Jeremy C. Reed wrote: > I want my final failed services to be rechecked faster that my normal > checks. I want this so I will be notified quicker when the service is > successful again. (I already use retry_check_interval with > max_check_attempts, but I want an interval when the service is in HARD > state.) If I understand correctly what you wish to do then I think you can achieve this using a combination of event handlers and external commands. Create an event handler to be triggered when the service goes into the state you are interested in and then from the event handler script post external commands back into nagios to increase the retry check interval. See :- http://www.nagios.org/developerinfo/externalcommands/commandlist.php With special attention on the following commands :- CHANGE_RETRY_HOST_CHECK_INTERVAL CHANGE_RETRY_SVC_CHECK_INTERVAL -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Wed Dec 5 16:21:08 2007 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs VSM Hosting) Date: Wed, 05 Dec 2007 16:21:08 +0100 Subject: check if not port open then OK Message-ID: <4756C1E4.2060203@vsm-hosting.nl> Hi nagios users I've a win 2003 server online as terminal server ;-( with nagios I check through nsclient++ cpu/mem ...... this al works fine. But now I like to check if the firewall for this winbox is okay and up. So I like to use check_ping (or any other check) to the winbox and if no result "critical" then everything is OKE. only ports 12489 and RDP ports are open to some IP's Can somebody give me an advice how to do this. with negate it's not the way to do this, i guess ! Cheers, Sjaak ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at pgmail.net Wed Dec 5 16:47:46 2007 From: nagios at pgmail.net (Philipp Geschke) Date: Wed, 05 Dec 2007 16:47:46 +0100 Subject: check if not port open then OK In-Reply-To: <4756C1E4.2060203@vsm-hosting.nl> References: <4756C1E4.2060203@vsm-hosting.nl> Message-ID: <4756C822.4090103@pgmail.net> Sjaak Nabuurs VSM Hosting schrieb: > Hi nagios users > > I've a win 2003 server online as terminal server ;-( > with nagios I check through nsclient++ cpu/mem ...... this al works fine. > > But now I like to check if the firewall for this winbox is okay and up. > So I like to use check_ping (or any other check) to the winbox and if no > result "critical" then everything is OKE. > only ports 12489 and RDP ports are open to some IP's > > Can somebody give me an advice how to do this. > with negate it's not the way to do this, i guess ! > If I did get you right, then negate is absolutely the way to go. Pick out a Port that would be open, if the firewall was down. Now configure a check_tcp check for this port, and negate it. The service will be ok as long as the port is closed, an critical if the port is open (and your firewall down). As I said, only if I did get you right. Regards, Philipp ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 5 17:09:50 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Dec 2007 16:09:50 +0000 Subject: RES: NRPE question In-Reply-To: <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> Message-ID: <4756CD4E.4000409@googlemail.com> Dario B. Bestetti wrote: >> -----Mensagem original----- >> De: Hari Sekhon [mailto:hpsekhon at googlemail.com] >> Enviada em: quarta-feira, 5 de dezembro de 2007 11:50 >> Para: dario.bestetti at opservices.com.br >> Cc: nagios-users at lists.sourceforge.net >> Assunto: Re: [Nagios-users] NRPE question >> >> >> >> Dario B. Bestetti wrote: >> >>> It?s anybody interested or already working in a way to keep a centralized repository of remote >>> >> plugins and configuration for NRPE ? >> >>> What we are looking for is to add/develop some new option in NRPE to "pull" the remote >>> >> plugins/configuration installed in the NRPE >> >>> agent?s nodes and keep them in the Nagios monitor node for backup purposes. >>> >>> Does it sounds stupid >>> >> Not at all. Bash + Rsync. One Nrpe config for all agents. One set of >> plugins that gets put on all agents. This is what I do. Simplifies >> things nicely and keeps nrpe affairs well maintained. >> >> -h >> >> -- >> Hari Sekhon >> > > Hari, what we would like to have is a function inside NRPE agents to do it. Using Bash+Rsync is ok, but the remote node must have > rsync and ssh (for security) installed, it?s another piece of software to maintain operational. Having something "inside" NRPE would > allow to do it without depending on any other sw package. > > []s > Dario > I can see what you are saying, but do you have any *nix servers running nrpe that do not have ssh and rsync? I certainly don't. It's pretty much standard on every linux system for example, even the tight and minimalist gentoo... -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Wed Dec 5 17:20:45 2007 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Wed, 5 Dec 2007 14:20:45 -0200 Subject: RES: RES: NRPE question In-Reply-To: <4756CD4E.4000409@googlemail.com> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> <4756CD4E.4000409@googlemail.com> Message-ID: <6021.03721253133$1196871725@news.gmane.org> > -----Mensagem original----- > De: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Enviada em: quarta-feira, 5 de dezembro de 2007 14:10 > Para: dario.bestetti at opservices.com.br > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: RES: [Nagios-users] NRPE question > > > > Dario B. Bestetti wrote: > >> -----Mensagem original----- > >> De: Hari Sekhon [mailto:hpsekhon at googlemail.com] > >> Enviada em: quarta-feira, 5 de dezembro de 2007 11:50 > >> Para: dario.bestetti at opservices.com.br > >> Cc: nagios-users at lists.sourceforge.net > >> Assunto: Re: [Nagios-users] NRPE question > >> > >> > >> > >> Dario B. Bestetti wrote: > >> > >>> ItRs anybody interested or already working in a way to keep a centralized repository of remote > >>> > >> plugins and configuration for NRPE ? > >> > >>> What we are looking for is to add/develop some new option in NRPE to "pull" the remote > >>> > >> plugins/configuration installed in the NRPE > >> > >>> agentRs nodes and keep them in the Nagios monitor node for backup purposes. > >>> > >>> Does it sounds stupid > >>> > >> Not at all. Bash + Rsync. One Nrpe config for all agents. One set of > >> plugins that gets put on all agents. This is what I do. Simplifies > >> things nicely and keeps nrpe affairs well maintained. > >> > >> -h > >> > >> -- > >> Hari Sekhon > >> > > > > Hari, what we would like to have is a function inside NRPE agents to do it. Using Bash+Rsync is ok, > but the remote node must have > > rsync and ssh (for security) installed, it?s another piece of software to maintain operational. > Having something "inside" NRPE would > > allow to do it without depending on any other sw package. > > > > []s > > Dario > > > I can see what you are saying, but do you have any *nix servers running > nrpe that do not have ssh and rsync? > > I certainly don't. It's pretty much standard on every linux system for > example, even the tight and minimalist gentoo... > > -h > > -- > Hari Sekhon Yes, not us, but our customers and we want to be less "invasive" as possible... []s Dario ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 5 17:22:05 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Dec 2007 16:22:05 +0000 Subject: NRPE question In-Reply-To: <4756B1C6.4020209@op5.se> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <4756B1C6.4020209@op5.se> Message-ID: <4756D02D.40303@googlemail.com> Andreas Ericsson wrote: > Hari Sekhon wrote: >> Dario B. Bestetti wrote: >>> It?s anybody interested or already working in a way to keep a >>> centralized repository of remote plugins and configuration for NRPE ? >>> What we are looking for is to add/develop some new option in NRPE to >>> "pull" the remote plugins/configuration installed in the NRPE >>> agent?s nodes and keep them in the Nagios monitor node for backup >>> purposes. >>> >>> Does it sounds stupid >> Not at all. Bash + Rsync. One Nrpe config for all agents. One set of >> plugins that gets put on all agents. This is what I do. Simplifies >> things nicely and keeps nrpe affairs well maintained. >> > > Sucks arse for networks with HP-UX, *BSD, AIX, Linux and Irix all > mixed together though. > I guess something like cfengine might work better if your systems are too different although I don't use it yet myself, I find svn + bash is a very good combo for my situation. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 5 17:24:20 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Dec 2007 16:24:20 +0000 Subject: RES: RES: NRPE question In-Reply-To: <038101c8375a$ca58f130$5f0ad390$@bestetti@opservices.com.br> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> <4756CD4E.4000409@googlemail.com> <038101c8375a$ca58f130$5f0ad390$@bestetti@opservices.com.br> Message-ID: <4756D0B4.4090404@googlemail.com> Dario B. Bestetti wrote: >> I can see what you are saying, but do you have any *nix servers running >> nrpe that do not have ssh and rsync? >> >> I certainly don't. It's pretty much standard on every linux system for >> example, even the tight and minimalist gentoo... >> >> -h >> >> -- >> Hari Sekhon >> > > Yes, not us, but our customers and we want to be less "invasive" as possible... > > []s > Dario What about a cronned pull from a central location then? This is the "pull" rather than the "push" but it's less instant. I think by the time you start doing that though, perhaps cfengine might be better, I've heard good things about it, just not got round to using it yet. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksumner at physics.unc.edu Wed Dec 5 17:36:50 2007 From: ksumner at physics.unc.edu (Kevin Scott Sumner) Date: Wed, 5 Dec 2007 11:36:50 -0500 (EST) Subject: RES: RES: NRPE question In-Reply-To: <4756D0B4.4090404@googlemail.com> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> <4756CD4E.4000409@googlemail.com> <038101c8375a$ca58f130$5f0ad390$@bestetti@opservices.com.br> <4756D0B4.4090404@googlemail.com> Message-ID: Once you get into using cron for pulls and scripts to automate configuration, it's probably time you start thinking about cfengine or something like it. I hate to sound like a broken record, but cfengine et al have already built the wheel you're trying to reinvent with cron/scripts. Also, I think you can make machines do updates from one central source if you setup the correct daemons, along with having them start regular runs from cron. With this setup, you get the benefit of routine pulls along with initiated pulls (essentially a push) whenever you need it. Check on cfexecd, if your interested. Cheers, Kevin ----- Kevin Sumner ksumner at physics.unc.edu (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill On Wed, 5 Dec 2007, Hari Sekhon wrote: > Dario B. Bestetti wrote: >>> I can see what you are saying, but do you have any *nix servers running >>> nrpe that do not have ssh and rsync? >>> >>> I certainly don't. It's pretty much standard on every linux system for >>> example, even the tight and minimalist gentoo... >>> >>> -h >>> >>> -- >>> Hari Sekhon >>> >> >> Yes, not us, but our customers and we want to be less "invasive" as possible... >> >> []s >> Dario > > What about a cronned pull from a central location then? This is the > "pull" rather than the "push" but it's less instant. > > I think by the time you start doing that though, perhaps cfengine might > be better, I've heard good things about it, just not got round to using > it yet. > > -h > > -- > Hari Sekhon > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- > > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dario.bestetti at opservices.com.br Wed Dec 5 17:37:01 2007 From: dario.bestetti at opservices.com.br (Dario B. Bestetti) Date: Wed, 5 Dec 2007 14:37:01 -0200 Subject: RES: RES: RES: NRPE question In-Reply-To: <4756D0B4.4090404@googlemail.com> References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> <4756CD4E.4000409@googlemail.com> <038101c8375a$ca58f130$5f0ad390$@bestetti@opservices.com.br> <4756D0B4.4090404@googlemail.com> Message-ID: <31312.9341033802$1196872672@news.gmane.org> > -----Mensagem original----- > De: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Enviada em: quarta-feira, 5 de dezembro de 2007 14:24 > Para: dario.bestetti at opservices.com.br > Cc: nagios-users at lists.sourceforge.net > Assunto: Re: RES: RES: [Nagios-users] NRPE question > > > > Dario B. Bestetti wrote: > >> I can see what you are saying, but do you have any *nix servers running > >> nrpe that do not have ssh and rsync? > >> > >> I certainly don't. It's pretty much standard on every linux system for > >> example, even the tight and minimalist gentoo... > >> > >> -h > >> > >> -- > >> Hari Sekhon > >> > > > > Yes, not us, but our customers and we want to be less "invasive" as possible... > > > > []s > > Dario > > What about a cronned pull from a central location then? This is the > "pull" rather than the "push" but it's less instant. > > I think by the time you start doing that though, perhaps cfengine might > be better, I've heard good things about it, just not got round to using > it yet. > > -h > > -- > Hari Sekhon Yes, there are many options, but all "out" of the Nagios-agents. We still would have some sort of access, "out" of Nagios to pull it. We?ll start to look into the NRPE code and see what we can do about it. I was just wondering if somebody else was looking for this kind of solution. Anyway, thanks for the answers. []s Dario ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Wed Dec 5 17:45:19 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 05 Dec 2007 09:45:19 -0700 Subject: RES: RES: NRPE question In-Reply-To: References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> <4756CD4E.4000409@googlemail.com> <038101c8375a$ca58f130$5f0ad390$@bestetti@opservices.com.br> <4756D0B4.4090404@googlemail.com> Message-ID: <1196873119.5668.9.camel@sidhqmis4grdv91> I use cfengine for this very purpose. Just drop a new plugin into a directory and it's automatically sync'd out to all the monitored servers. Although I have to admit it would be *nice* for nrpe to do it's own pulls. Would have saved me some cfengine headaches a while back :) On Wed, 2007-12-05 at 11:36 -0500, Kevin Scott Sumner wrote: > Once you get into using cron for pulls and scripts to automate > configuration, it's probably time you start thinking about cfengine or > something like it. I hate to sound like a broken record, but cfengine et > al have already built the wheel you're trying to reinvent with > cron/scripts. > > Also, I think you can make machines do updates from one central source if > you setup the correct daemons, along with having them start regular runs > from cron. With this setup, you get the benefit of routine pulls along > with initiated pulls (essentially a push) whenever you need it. Check on > cfexecd, if your interested. > > Cheers, > Kevin > ----- > Kevin Sumner > ksumner at physics.unc.edu > (919) 962-6494 > Assistant Systems Administrator > Physics and Astronomy Networking Infrastructure and Computing > University of North Carolina at Chapel Hill > > > On Wed, 5 Dec 2007, Hari Sekhon wrote: > > > Dario B. Bestetti wrote: > >>> I can see what you are saying, but do you have any *nix servers running > >>> nrpe that do not have ssh and rsync? > >>> > >>> I certainly don't. It's pretty much standard on every linux system for > >>> example, even the tight and minimalist gentoo... > >>> > >>> -h > >>> > >>> -- > >>> Hari Sekhon > >>> > >> > >> Yes, not us, but our customers and we want to be less "invasive" as possible... > >> > >> []s > >> Dario > > > > What about a cronned pull from a central location then? This is the > > "pull" rather than the "push" but it's less instant. > > > > I think by the time you start doing that though, perhaps cfengine might > > be better, I've heard good things about it, just not got round to using > > it yet. > > > > -h > > > > -- > > Hari Sekhon > > > > > > ------------------------------------------------------------------------- > > SF.Net email is sponsored by: The Future of Linux Business White Paper > > from Novell. From the desktop to the data center, Linux is going > > mainstream. Let it simplify your IT future. > > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > > > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 5 17:50:30 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 05 Dec 2007 16:50:30 +0000 Subject: RES: RES: NRPE question In-Reply-To: References: <02e501c83743$ce51e830$6af5b890$@bestetti@opservices.com.br> <4756AC9B.1040602@googlemail.com> <030301c83747$98fa5f10$caef1d30$@bestetti@opservices.com.br> <4756CD4E.4000409@googlemail.com> <038101c8375a$ca58f130$5f0ad390$@bestetti@opservices.com.br> <4756D0B4.4090404@googlemail.com> Message-ID: <4756D6D6.6070903@googlemail.com> Kevin Scott Sumner wrote: > Once you get into using cron for pulls and scripts to automate > configuration, it's probably time you start thinking about cfengine or > something like it. I hate to sound like a broken record, but cfengine > et al have already built the wheel you're trying to reinvent with > cron/scripts. > > Also, I think you can make machines do updates from one central source > if you setup the correct daemons, along with having them start regular > runs from cron. With this setup, you get the benefit of routine pulls > along with initiated pulls (essentially a push) whenever you need it. > Check on cfexecd, if your interested. Seems you have the same idea as me, I was actually talking about push not pulls in the first instance, which is nice because it's instant and you can write stuff in like regression tests which I like doing, so that new stuff is tested as working, rather than you changing something and then finding out it's broken after the fact you sent it to all your servers. For the pull scenario, something like cfengine does seem to be the way to go. I may even consider switching at some point, but I do have a nice setup already... -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Wed Dec 5 18:03:55 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Wed, 5 Dec 2007 10:03:55 -0700 Subject: Adding a CFG file for virtual machines Message-ID: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> I would like to add a separate group within Nagios for my virtual machines. I created a file called virtual.cfg and changed the HOST GROUP DEFINITION to the following: Define hostgroup { hostgroup_name virtual-servers ; the name of the hostgroup alias Virtual Servers ; long name of the group } For each host definition, the 'use' statement is as follows: Use virtual-servers ; Inherit default values from a template In the nagios.cfg file, I have added the following statement: Cfg_file=/usr/local/nagios/etc/objects/virtual.cfg When I verify the configuration files, I get the following error: Error: Template 'virtual-servers' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/virtual.cfg'. starting on line 39 I think I am missing a step or two to include this new cfg file. Any help would be appreciated. Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Dec 5 18:17:41 2007 From: tim at tany.com (Tim Palmer) Date: Wed, 05 Dec 2007 12:17:41 -0500 Subject: Adding a CFG file for virtual machines In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> Message-ID: <4756DD35.7030907@tany.com> Michael Egan wrote: > > I would like to add a separate group within Nagios for my virtual > machines. I created a file called virtual.cfg and changed the HOST > GROUP DEFINITION to the following: > > Define hostgroup { > > hostgroup_name virtual-servers ; the name of the hostgroup > > alias Virtual Servers ; long name of the group > > } > > For each host definition, the ?use? statement is as follows: > > Use virtual-servers ; Inherit default values from a template > > In the nagios.cfg file, I have added the following statement: > > Cfg_file=/usr/local/nagios/etc/objects/virtual.cfg > > When I verify the configuration files, I get the following error: > > Error: Template ?virtual-servers? specified in host definition could > not be not found (config file > ?/usr/local/nagios/etc/objects/virtual.cfg?. starting on line 39 > > I think I am missing a step or two to include this new cfg file. Any > help would be appreciated. > > Thanks, > > Mike > > Mike Egan > Enterprise Network Engineer > Capital Safety > 3833 Sala Way > Red Wing, MN 55066 > 651-385-6254 Office > 651-247-5719 Cell > michaele at capitalsafety.com > > Home of DBI-Sala and Protecta Brands. Visit us on the web at > www.capitalsafety.com > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > ------------------------------------------------------------------------ Hi Mike, Well, the obvious question of course is - have you defined a "virtual-servers" template anywhere in your "virtual" config file? When you define the "use" statement in a host definition, there must be a template of the same name (since thats what the "use" statement means). Check the Nagios docs on Object Inheritance (under Advanced Topics in 2.x docs, or via links in the Object File configuration section). tim ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Wed Dec 5 18:21:16 2007 From: mwjredding at gmail.com (mark redding) Date: Wed, 5 Dec 2007 17:21:16 +0000 Subject: Adding a CFG file for virtual machines In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> Message-ID: Hi, > I would like to add a separate group within Nagios for my virtual machines. > I created a file called virtual.cfg and changed the HOST GROUP DEFINITION to > the following: Firstly, your hostgroup does not appear to have any members defined within it ? ie. define hostgroup{ hostgroup_name smtp-servers alias mail servers members smtp1,smtp2 } Secondly, Your 'use' statement should typically be that of an 'unregistered' 'define host' definition and not a hostgroup definition. ie. define host{ name virtual-host ; The name of this host template - referenced in other host definitions notifications_enabled 1 ; Host notifications are enabled notification_period 24x7 event_handler_enabled 0 ; 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 contact_groups admin,techsupp notification_interval 60 notification_options d,u,r check_period 24x7 max_check_attempts 3 normal_check_interval 10 passive_checks_enabled 1 obsess_over_host 1 register 0 ; DONT REGISTER THIS DEFINITION } as the template, and something like :- define host{ use virtual-host host_name smtp1 alias (smtp1) incoming smtp server address ???.???.???.??? check_command check-host-alive } for the actual virtual host. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leosilva at tse.gov.br Wed Dec 5 20:27:43 2007 From: leosilva at tse.gov.br (Leandro Silva) Date: Wed, 5 Dec 2007 16:27:43 -0300 Subject: Monitoring Oracle Message-ID: <000a01c83774$e8c1ad00$2df41c0a@tse.gov.br> Hi I'm trying to monitoring oracle database and i need to know when the tablespaces is near of the limite determined in the database. I use oraDbTablespaceSizeAllocated and oraDbTablespaceSizeUsed to check this. Anyone knows how to use the value in oraDbTablespaceSizeAllocated to set the critical limit in the check_snmp plugin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From george.monappallil at rpfl.com Wed Dec 5 21:16:36 2007 From: george.monappallil at rpfl.com (Monappallil, George) Date: Wed, 5 Dec 2007 15:16:36 -0500 Subject: Unneeded alerts from Nagios Message-ID: <50CEF36ACC0B0C4197EBCD31C18341484AA052@blaster.Platinum.root.rpfl.com> hi: I have a nagios 2.9 instance running on an ESX linux guest. The problem we are seeing is that whenever we lose and regain network connectivity to the host, nagios wrongly sends a bunch of server down and server up alerts for all the servers that nagios is monitoring. this is how my hosts.cfg looks like for a typical hosts define host{ name generic-host ; Generic template name 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 retain_nonstatus_information 1 ; Retain non-status information register 0 ; DONT REGISTER THIS DEFINITION } # This creates a generic host that your routers can use # monitors host(s) 24x7, notifies on down and recovery, checks 15 times before going critical, # notifies the contact_group every 30 minutes define host{ name basic-host use generic-host check_command check-host-alive max_check_attempts 10 notification_interval 30 notification_period 24x7 notification_options d,r register 0 } #adelphi define host{ use basic-host host_name adelphi alias adelphi address 172.xx.xx.xx (intentional) contact_groups rpfl-it } this is how my services.cfg file looks like ----- define service{ name generic-service ; Generic service name active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized obsess_over_service 1 ; We should obsess over this service check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information retain_nonstatus_information 1 ; Retain non-status information register 0 ; DONT REGISTER THIS DEFINITION } define service{ use generic-service name basic-service is_volatile 0 check_period 24x7 max_check_attempts 15 normal_check_interval 10 retry_check_interval 2 notification_interval 0 notification_period none register 0 } # Generic for all services # PING - ensure HOSTS are available. define service{ use basic-service name ping-service service_description PING notification_interval 30 contact_groups rpfl-it hostgroup_name PROD1 notification_options c,r notification_period 24x7 check_command check_ping!1000.0,20%!2000.0,60% } ----- the question I have is why would nagios send DOWN/UP alerts for all the hosts it is monitoring when it is just the host that it is on loses connectivity. thanks in advance -George -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Dec 5 21:39:48 2007 From: marc at ena.com (Marc Powell) Date: Wed, 5 Dec 2007 14:39:48 -0600 Subject: Unneeded alerts from Nagios In-Reply-To: <50CEF36ACC0B0C4197EBCD31C18341484AA052@blaster.Platinum.root.rpfl.com> References: <50CEF36ACC0B0C4197EBCD31C18341484AA052@blaster.Platinum.root.rpfl.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Monappallil, George > Sent: Wednesday, December 05, 2007 2:17 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Unneeded alerts from Nagios > > hi: > I have a nagios 2.9 instance running on an ESX linux guest. The problem we > are seeing is that whenever we lose and regain network connectivity to the > host, nagios wrongly sends a bunch of server down and server up alerts for > all the servers that nagios is monitoring. > this is how my hosts.cfg looks like for a typical hosts > define host{ > name generic-host ; Generic template > name > 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 > retain_nonstatus_information 1 ; Retain non- > status information > register 0 ; DONT REGISTER > THIS DEFINITION > } > > # This creates a generic host that your routers can use > # monitors host(s) 24x7, notifies on down and recovery, checks 15 times > before going critical, > # notifies the contact_group every 30 minutes > define host{ > name basic-host > use generic-host > check_command check-host-alive > max_check_attempts 10 > notification_interval 30 > notification_period 24x7 > notification_options d,r > register 0 > } > > #adelphi > define host{ > use basic-host > host_name adelphi > alias adelphi > address 172.xx.xx.xx (intentional) > contact_groups rpfl-it > } > the question I have is why would nagios send DOWN/UP alerts for all the > hosts it is monitoring when it is just the host that it is on loses > connectivity. The question is why is this surprising? Your description is that the machine nagios is running on loses network connectivity. Nagios can not reach network hosts that it is monitoring so it believes them to be down and sends notifications. You've not given nagios any way to tell otherwise. If you're unable to create a more stable environment for nagios (generally a mission-critical service), I'd recommend creating a host/service check for the default gateway and set that as the parent for all your other hosts. If the hosts become unreachable, nagios will verify if the default gateway is down and notify appropriately. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Thu Dec 6 10:14:22 2007 From: mwjredding at gmail.com (mark redding) Date: Thu, 6 Dec 2007 09:14:22 +0000 Subject: Monitoring Oracle In-Reply-To: <000a01c83774$e8c1ad00$2df41c0a@tse.gov.br> References: <000a01c83774$e8c1ad00$2df41c0a@tse.gov.br> Message-ID: HI, > I'm trying to monitoring oracle database and i need to know when the > tablespaces is near of the limite determined in the database. I use > oraDbTablespaceSizeAllocated and oraDbTablespaceSizeUsed to check this. > Anyone knows how to use the value in oraDbTablespaceSizeAllocated to set the > critical limit in the check_snmp plugin. I use many scripts to report information out of a oracle database and found the most flexible way to do this was to generate perl scripts to interrogate the database and then have these scripts report nagios codes back. I've used a custom command to achieve this (or if the monitoring system is not able to execute oracle queries, then you could use nrpe to remotely execute a script on a server that does have oracle access) that is called via a service check. For example :- define command { command_name logic_invoice_collection command_line /home/nagios/bl/invoice/collection/query.pl "$ARG1$" } define service { use bus-logic-service host_name bb_logic service_description INVCOLLECT check_command logic_invoice_collection!30 } Where query.pl looks something like this (the actual BB_BL subroutines are not included as they are not relevant in the context of this example) :- #!/usr/bin/perl use vars qw($PROGNAME); use lib "/usr/local/nagios/libexec" ; use utils qw (%ERRORS &print_revision &support); my($inte) = $ARGV[0]; my $cur_count; my $com_count; $cur_count = BB_BL::doDatabaseRequest('INVCOLLECTCTRY',$inte); $com_count = BB_BL::doDatabaseRequest('INVCOLLECTCTRY',$inte-3600); my(%thresh) = BB_BL::grabThresholds(); my($status) = BB_BL::determineStatus($cur_count,$com_count,\%thresh); my $description= "CURRENT : $cur_count / COMPARED : $com_count"; my($title) = "INVCOLLECT"; print $title . " " . $status . " - " . $description . "\n"; exit $ERRORS{$status}; The BB_BL::determineStatus subroutine returns 'OK','WARNING','CRITICAL' or 'UNKNOWN' and decides which value to return based upon the different between two variables and their relationship to some threshold values. maybe this is of some help to you. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Thu Dec 6 10:17:19 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Thu, 6 Dec 2007 09:17:19 -0000 Subject: Mapping DNs to username In-Reply-To: <6fd80d940712041039n273e6e9fu22c06d048d297b7b@mail.gmail.com> References: <6546343904687E41B19D8E5A26AB9F5301DDD75A@E03MVB2-UKBR.domain1.systemhost.net><6fd80d940712041037i3736d0f5l69b8d47eb7d91b7b@mail.gmail.com> <6fd80d940712041039n273e6e9fu22c06d048d297b7b@mail.gmail.com> Message-ID: http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslusername also says: SSLUserName "Note that this directive has no effect if the FakeBasic option is used (see SSLOptions)." As I'm using the FakeBasic option, this is not applicable :-( Thanks for your help :-) -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Gyula Szab? Sent: 04 December 2007 18:40 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mapping DNs to username Are you tried the SSLUserName option? ,, This directive sets the "user" field in the Apache request object. This is used by lower modules to identify the user with a character string. In particular, this may cause the environment variable REMOTE_USER to be set. The varname can be any of the SSL environment variables. '' http://httpd.apache.org/docs/2.2/mod/mod_ssl.html#sslusername Maybe you could use a unique attribute of the certificate, for example the email address. Regards, gyufi On 12/4/07, Miah, W (Wadud) wrote: > I'm aware of other authentication methods, but I must use client > certificates. > > -------------------------nagios.conf------------------------- > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > > SSLVerifyClient Require > SSLVerifyDepth 3 > SSLOptions +FakeBasicAuth > SSLRequireSSL > > Options ExecCGI > AllowOverride None > AuthName "Nagios CGI Access" > AuthType Basic > AuthUserFile /etc/nagios/users-access > Require valid-user > > ------------------------- > > -------------------------/etc/nagios/users-access----------------------- > -- > /C=UK/O=eScience/OU=CLRC/L=RAL/CN=wadud miah:xxj31ZMTZzkVA > ------------------------- > > Apache then sets the username as the certificate DN = > '/C=UK/O=eScience/OU=CLRC/L=RAL/CN=wadud miah' > Even if I enclose the DN in quotes (single and double), and assign it > to, say, > authorized_for_system_information, Nagios does not allow me to view the > system information. I guess this is > more of an Apache question than Nagios. > > -----Original Message----- > From: tom.welsh at bt.com [mailto:tom.welsh at bt.com] > Sent: 04 December 2007 17:18 > To: Miah, W (Wadud); nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Mapping DNs to username > > Hi Wadud, > > How have you setup you authentication to use certs? > > Typically nagios uses .htaccess files in the examples to authenticate > users. This is documented in the docs. > > You can use htpasswd, htdigest or dbmanage to create your user file. > Just make sure you set the AuthType to the correct value. > > ScriptAlias /nagios/cgi-bin /usr/local/nagios/sbin > > > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Alias /nagios /usr/local/nagios/share > > > Options None > AllowOverride None > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > Require valid-user > > > Have you setup authentication another way? If so can you post part off > your config so we can help you? > > Regards > > Tom > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Miah, W > (Wadud) > Sent: 04 December 2007 17:12 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Mapping DNs to username > > Nagios CGI authentication is carried out using certificates, which sets > the username to the certificate DN. Is there a way to map it to a unique > username? For example, > > DN1 -> user1 > DN2 -> user2 > > I can't seem to find a solution to this problem in the archives. > > Many thanks. > > ------------ > Wadud Miah > Scientific Computing Systems Support > High Performance Computing Services Group, e-Science, RAL > 01235 446 794 > ------------ > > > ------------------------------------------------------------------------ > - > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: The Future of Linux Business White Paper > from Novell. From the desktop to the data center, Linux is going > mainstream. Let it simplify your IT future. > http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Thu Dec 6 10:26:37 2007 From: mwjredding at gmail.com (mark redding) Date: Thu, 6 Dec 2007 09:26:37 +0000 Subject: Unneeded alerts from Nagios In-Reply-To: <50CEF36ACC0B0C4197EBCD31C18341484AA052@blaster.Platinum.root.rpfl.com> References: <50CEF36ACC0B0C4197EBCD31C18341484AA052@blaster.Platinum.root.rpfl.com> Message-ID: Hi, > hi: > I have a nagios 2.9 instance running on an ESX linux guest. The problem we > are seeing is that whenever we lose and regain network connectivity to the > host, nagios wrongly sends a bunch of server down and server up alerts for > all the servers that nagios is monitoring. Best if you have the entry 'parents' in the 'define host' definitions that describes the path that nagios has to take in order to reach a host. So a crude example may be. nagios server is housed in your office. some web server are housed in a data centre. you have a router in the office and one in the datacentre that provide a link. So, web server parent is the datacentre router the datacentre router parent is the office router if the office or datacentre routers fails then nagios knows that it's not going to be able to reach the web servers, and if you are monitoring the routers then they should alert but the web servers should not. that's my understanding of how it should work (and is what I have configured for my nagios system). -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sjaak at vsm-hosting.nl Thu Dec 6 12:42:13 2007 From: sjaak at vsm-hosting.nl (Sjaak Nabuurs VSM Hosting) Date: Thu, 06 Dec 2007 12:42:13 +0100 Subject: how to use negate !! Message-ID: <4757E015.9020706@vsm-hosting.nl> Hello users Why isn't this not working or what's wrong !! ./negate "/usr/local/nagios/libexec/check_ping -H x.x.x.x -w1,10% -c2,20% -t 1 -p 1" PING CRITICAL - Packet loss = 100% where x.x.x.x is an IP who's blocked by the firewall. I like to check if the firewall is up and okay. But i guess i use negate in a wrong way. I read the help file and i don't know anymore ???? Look at this one ./negate "/usr/local/nagios/libexec/check_procs -a 'httpd'" PROCS OK: 10 processes with args 'httpd' Thanks Sjaak ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Thu Dec 6 13:58:29 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 06 Dec 2007 13:58:29 +0100 Subject: how to use negate !! In-Reply-To: <4757E015.9020706@vsm-hosting.nl> References: <4757E015.9020706@vsm-hosting.nl> Message-ID: <1196945909.4145.22.camel@bofh.dtnet.de> Am Donnerstag, den 06.12.2007, 12:42 +0100 schrieb Sjaak Nabuurs VSM Hosting: > Hello users > > Why isn't this not working or what's wrong !! > > ./negate "/usr/local/nagios/libexec/check_ping -H x.x.x.x -w1,10% > -c2,20% -t 1 -p 1" > PING CRITICAL - Packet loss = 100% > > where x.x.x.x is an IP who's blocked by the firewall. Did you check the Return-code of your command? sysmon:/usr/lib/nagios/plugins# /usr/lib/nagios/plugins/check_http -H HTTP OK HTTP/1.1 200 OK - 831 bytes in 0.005 seconds | time=0.005336s;;;0.000000 size=831B;;;0 sysmon:/usr/lib/nagios/plugins# echo $? 0 sysmon:/usr/lib/nagios/plugins# ./negate "/usr/lib/nagios/plugins/check_http -H " HTTP OK HTTP/1.1 200 OK - 831 bytes in 0.006 seconds | time=0.006457s;;;0.000000 size=831B;;;0 sysmon:/usr/lib/nagios/plugins# echo $? 2 How do you expact the negate-script to change the output of your check? Regards Sebastian Ries -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Thu Dec 6 17:19:07 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 06 Dec 2007 11:19:07 -0500 Subject: Bug Reporting / Issue Tracking System ? Message-ID: <1196957947.2884.45.camel@ingress.priv.cf.biz> Am I going crazy or is there no public system for formally tracking bug reports / feature requests? Its disabled on sf.net and the Wiki lacks any such feature. ~BAS ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gimenez at cict.fr Thu Dec 6 18:07:30 2007 From: gimenez at cict.fr (Carole Gimenez) Date: Thu, 06 Dec 2007 18:07:30 +0100 Subject: Help with eventhandlers Message-ID: <47582C52.6080901@cict.fr> Hi, For some time, i execute severals evenhandlers to restart services. Now, i would send an email when an eventhandler is executed. So, in commands file, i modified my eventhandler 'restart-httpd-test' like this: usr/local/nagios/libexec/eventhandlers/restart-httpd-test $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ $HOSTNAME$ $CONTACTEMAIL$ 2>> /usr/local/nagios/tmp/httpd-test.log My problem is that i don't arrive to recovered the macro $CONTACTEMAIL$. My script looks at that: #!/bin/sh set -x contenumail=/usr/local/nagios/tmp/contenumail.txt sortie=/usr/local/nagios/tmp/sortie.txt date=`date` echo $date > $contenumail echo 'SERVICESTATE : ' $1 >> $contenumail echo 'STATETYPE: ' $2 >> $contenumail echo 'SERVICEATTEMPT: ' $3 >> $contenumail echo 'HOSTADDRESS: ' $4 >> $contenumail echo 'CONTACTEMAIL: ' $6 echo 'CONTACTEMAIL: ' "$6" # What state is the HTTP service in? case "$1" in CRITICAL) case "$2" in SOFT) case "$3" in 2) echo "Restarting HTTP service (3rd soft critical state)..." >> $contenumail # Call the init script to restart the HTTPD server /usr/local/bin/ssh root@$4 /etc/init.d/httpd restart > $sortie cat $sortie >> $contenumail /usr/bin/mailx -s "Redemarrage du service HTTP sur $5" "$6" < $contenumail ;; esac ;; HARD) echo "Restarting HTTP service..." >> $contenumail # Call the init script to restart the HTTPD server /usr/local/bin/ssh root@$4 /etc/init.d/httpd-webmail restart > $sortie cat $sortie >> $contenumail /usr/bin/mailx -s "Redemarrage du service HTTP sur $5" "$6" < $contenumail ;; esac ;; esac exit 0 And my log file: date=Thu Dec 6 18:05:40 MET 2007 + echo Thu Dec 6 18:05:40 MET 2007 + echo SERVICESTATE : CRITICAL + echo STATETYPE: SOFT + echo SERVICEATTEMPT: 2 + echo HOSTADDRESS: 130.120.74.17 + echo CONTACTEMAIL: + echo CONTACTEMAIL: + echo Restarting HTTP service (3rd soft critical state)... + /usr/local/bin/ssh root at 130.120.74.17 /etc/init.d/httpd-webmail restart + cat /usr/local/nagios/tmp/sortie.txt + /usr/bin/mailx -s Redemarrage du service HTTP sur pc-systeme.cict.fr + exit 0 Thanks for advance for your help. Carole. ------------------------------------------------------------------------- SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michael at medin.name Thu Dec 6 21:50:19 2007 From: michael at medin.name (Michael Medin) Date: Thu, 06 Dec 2007 21:50:19 +0100 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <1194604945.6706.0.camel@roque> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> <473437F4.40407@op5.se> <1194604945.6706.0.camel@roque> Message-ID: <4758608B.2040102@medin.name> Rui Miguel Silva Seabra skrev: > Sex, 2007-11-09 ?s 11:35 +0100, Andreas Ericsson escreveu: > > NSClient++ has a nasty bug on the option to check services. It can't > handle services that contain white space in their names. > Humm... Is this true? source at gotrek:~/src$ check_nrpe -H 192.168.0.147 -c CheckServiceState -a ShowAll "COM+ Event System" OK: COM+ Event System: started source at gotrek:~/src$ check_nt -H 192.168.0.147 -p 12489 -v SERVICESTATE "-lCOM+ Event System" -d SHOWALL COM+ Event System: Started But maybe I missunderstood what did not work? // Michael Medin > Rui > > All Hail Discordia! > Today is Pungenday, the 21st day of The Aftermath in the YOLD 3173 > + No matter how much you do, you never do enough -- unknown > + Whatever you do will be insignificant, > | but it is very important that you do it -- Gandhi > + So let's do it...? > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Zuzana.Gasparovicova at iacgroup.com Thu Dec 6 22:03:38 2007 From: Zuzana.Gasparovicova at iacgroup.com (Zuzana.Gasparovicova at iacgroup.com) Date: Thu, 6 Dec 2007 22:03:38 +0100 Subject: I am out of the office for the rest of the week, I will answer your email on 7.12 Message-ID: Mimo kancel?? budu od 06.12.2007 a nevr?t?m se do 07.12.2007. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Cipriani at mybrighthouse.com Thu Dec 6 22:04:30 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Thu, 6 Dec 2007 16:04:30 -0500 Subject: Adding a CFG file for virtual machines In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> Message-ID: <6F41C23E99FC594D90E848FA5642343131C2149F14@TBEMAIL.corp.local> ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Egan Sent: Wednesday, December 05, 2007 12:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Adding a CFG file for virtual machines I would like to add a separate group within Nagios for my virtual machines. I created a file called virtual.cfg and changed the HOST GROUP DEFINITION to the following: Define hostgroup { hostgroup_name virtual-servers ; the name of the hostgroup alias Virtual Servers ; long name of the group } For each host definition, the 'use' statement is as follows: Use virtual-servers ; Inherit default values from a template In the nagios.cfg file, I have added the following statement: Cfg_file=/usr/local/nagios/etc/objects/virtual.cfg When I verify the configuration files, I get the following error: Error: Template 'virtual-servers' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/virtual.cfg'. starting on line 39 I think I am missing a step or two to include this new cfg file. Any help would be appreciated. Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- If I understand what you are trying to do: I am putting hosts into hostgroups in the host definitions like this: #HOST DEFINITION define host{ use linux-server ; Name of host template to use ; This host definition will inherit all variables that are defined ; in (or inherited by) the linux-server host template definition. host_name sparky alias Oracle RAC address 1.2.4.4 hostgroups linux-servers } Note that 'linux-server' is a host template, and 'linux-servers' is a hostgroup. Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 ________________________________ CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at unixplanet.biz Thu Dec 6 22:38:10 2007 From: nagios at unixplanet.biz (Nagios) Date: Thu, 06 Dec 2007 17:38:10 -0400 Subject: change subject of email Message-ID: <47586BC2.50806@unixplanet.biz> Hello would you please let me know how I can change the subject and content of the email that I am receiving from Nagios. Thanks for help ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Thu Dec 6 22:45:52 2007 From: reed at reedmedia.net (reed at reedmedia.net) Date: Thu, 6 Dec 2007 15:45:52 -0600 (CST) Subject: change subject of email In-Reply-To: <47586BC2.50806@unixplanet.biz> References: <47586BC2.50806@unixplanet.biz> Message-ID: On Thu, 6 Dec 2007, Nagios wrote: > would you please let me know how I can change the subject and content of > the email > that I am receiving from Nagios. Here is an example that I use: define command{ command_name host-notify-by-epager command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ } define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTNAME$\nAlias: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 6 23:22:08 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Dec 2007 23:22:08 +0100 Subject: nsclient, is it still an acceptable method to monitor nt In-Reply-To: <4758608B.2040102@medin.name> References: <31fabc220711081355ic62ff1rf115d680fccb7b71@mail.gmail.com> <47339A92.5080501@op5.se> <9D30659ABCA7FB428CF91E386C3A57449A7941@hermes.sapphire-int.gi> <473437F4.40407@op5.se> <1194604945.6706.0.camel@roque> <4758608B.2040102@medin.name> Message-ID: <47587610.1060402@op5.se> Michael Medin wrote: > Rui Miguel Silva Seabra skrev: >> Sex, 2007-11-09 ?s 11:35 +0100, Andreas Ericsson escreveu: >> >> NSClient++ has a nasty bug on the option to check services. It can't >> handle services that contain white space in their names. >> > Humm... > Is this true? > Not that I know of, and I certainly didn't write that. > source at gotrek:~/src$ check_nrpe -H 192.168.0.147 -c CheckServiceState -a > ShowAll "COM+ Event System" > OK: COM+ Event System: started > > source at gotrek:~/src$ check_nt -H 192.168.0.147 -p 12489 -v SERVICESTATE > "-lCOM+ Event System" -d SHOWALL > COM+ Event System: Started > > But maybe I missunderstood what did not work? > In that case we misunderstood it the same way. Otoh, if you ever find a service with a vertical tab in its name, that might not work ;-) Rui, could it be that you're checking something using the wrong language for the check, or that you're using the wrong name for the service, or are there perhaps other characters in the service-name that aren't part of the us ascii character set (? et al comes to mind)? -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kemotaha at gmail.com Thu Dec 6 23:22:32 2007 From: kemotaha at gmail.com (Nathan Blackham) Date: Thu, 6 Dec 2007 15:22:32 -0700 Subject: Xen Checks Message-ID: Has anyone developed any checks to check a xen host? Nathan -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Thu Dec 6 23:25:15 2007 From: ae at op5.se (Andreas Ericsson) Date: Thu, 06 Dec 2007 23:25:15 +0100 Subject: Adding a CFG file for virtual machines In-Reply-To: <6F41C23E99FC594D90E848FA5642343131C2149F14@TBEMAIL.corp.local> References: <4BE6EDFB3C58E24887D56332993B03AF035A52ED@VS2.EXCHPROD.USA.NET> <6F41C23E99FC594D90E848FA5642343131C2149F14@TBEMAIL.corp.local> Message-ID: <475876CB.4040400@op5.se> Cipriani, Robert C wrote: > ________________________________ > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Egan > Sent: Wednesday, December 05, 2007 12:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Adding a CFG file for virtual machines > > I would like to add a separate group within Nagios for my virtual machines. I created a file called virtual.cfg and changed the HOST GROUP DEFINITION to the following: > Define hostgroup { > hostgroup_name virtual-servers ; the name of the hostgroup > alias Virtual Servers ; long name of the group > } > > For each host definition, the 'use' statement is as follows: > Use virtual-servers ; Inherit default values from a template > > In the nagios.cfg file, I have added the following statement: > Cfg_file=/usr/local/nagios/etc/objects/virtual.cfg > > When I verify the configuration files, I get the following error: > Error: Template 'virtual-servers' specified in host definition could not be not found (config file '/usr/local/nagios/etc/objects/virtual.cfg'. starting on line 39 > > I think I am missing a step or two to include this new cfg file. Any help would be appreciated. > The file is being included. You just don't have a host template named "virtual-servers". For reference, "host template" != "hostgroup". Go back to the documentation. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Dec 6 23:26:12 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 06 Dec 2007 15:26:12 -0700 Subject: Xen Checks In-Reply-To: References: Message-ID: <1196979972.9973.74.camel@sidhqmis4grdv91> A search for "xen" on nagiosexchange.org returns a few plugins... On Thu, 2007-12-06 at 15:22 -0700, Nathan Blackham wrote: > Has anyone developed any checks to check a xen host? > > Nathan > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Thu Dec 6 23:29:26 2007 From: Roger at NagiosWiki.com (Roger) Date: Thu, 6 Dec 2007 14:29:26 -0800 Subject: check_x -> automatically make check_a, check_b, check_c? Message-ID: <2b7af7c40712061429k49891df0u97de016ba43457ca@mail.gmail.com> Is there a way to make a check_(whatever) and automatically create other checks? For example, say I want to specify "check_cisco_pix", which automatically creates a lot of other "check_snmp" commands, and when you go to http://IP/nagios, you see like 10 checks that automatically got created on the fly. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JHorowitz at looksmart.net Thu Dec 6 23:43:35 2007 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Thu, 6 Dec 2007 14:43:35 -0800 Subject: check_x -> automatically make check_a, check_b, check_c? In-Reply-To: <2b7af7c40712061429k49891df0u97de016ba43457ca@mail.gmail.com> References: <2b7af7c40712061429k49891df0u97de016ba43457ca@mail.gmail.com> Message-ID: <3123F9D3D56CDF499431864372968D2F01898835@SFEX2K3-EVS1.looksmart_sf.ad.looksmart.com> _______________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Roger Sent: Thursday, December 06, 2007 2:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_x -> automatically make check_a, check_b,check_c? Is there a way to make a check_(whatever) and automatically create other checks? For example, say I want to specify "check_cisco_pix", which automatically creates a lot of other "check_snmp" commands, and when you go to http://IP/nagios, you see like 10 checks that automatically got created on the fly. You probably want to just create a hostgroup "cisco_pix". Then you can create checks with "hostgroup_name cisco_pix" This way, any host that you put in the group cisco_pix will automatically get all of the checks you want. Something like this: define host { use generic-host host_name pix-firewall-4 hostgroups pix_firewalls } define hostgroup { hostgroup_name pix_firewalls alias pix_firewalls } define service{ use generic-service hostgroups pix_firewalls servicegroups notifications service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 2 retry_check_interval 1 contact_groups admins notification_interval 10 notification_period 24x7 check_command check_ping!100.0,10%!500.0,20% } -Jonah Horowitz ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brian.murphy at gmx.net Fri Dec 7 00:36:45 2007 From: brian.murphy at gmx.net (Brian Murphy) Date: Fri, 07 Dec 2007 00:36:45 +0100 Subject: Is there an external command to reload the config Message-ID: <20071206233645.23070@gmx.net> Is there an external command to reload the configuration? Or is a /etc/init.d/nagios reload in essence the same as putting "RESTART_PROGRAM" in the command file? -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal f?r Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 7 01:02:30 2007 From: marc at ena.com (Marc Powell) Date: Thu, 6 Dec 2007 18:02:30 -0600 Subject: Is there an external command to reload the config In-Reply-To: <20071206233645.23070@gmx.net> References: <20071206233645.23070@gmx.net> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Brian Murphy > Sent: Thursday, December 06, 2007 5:37 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Is there an external command to reload the config > > Is there an external command to reload the configuration? > > Or is a /etc/init.d/nagios reload in essence the same as putting > "RESTART_PROGRAM" in the command file? They're equivalent. From the web interface 'Restart the Nagios Process' link -- "This command is used to restart the Nagios process. Executing a restart command is equivalent to sending the process a HUP signal. All information will be flushed from memory, the configuration files will be re-read, and Nagios will start monitoring with the new configuration information." >From the init script -- reload|force-reload) ... printf "Reloading nagios configuration..." killproc nagios -HUP -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 7 01:09:19 2007 From: marc at ena.com (Marc Powell) Date: Thu, 6 Dec 2007 18:09:19 -0600 Subject: Help with eventhandlers In-Reply-To: <47582C52.6080901@cict.fr> References: <47582C52.6080901@cict.fr> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Carole Gimenez > Sent: Thursday, December 06, 2007 11:08 AM > To: Nagios Users; nagiosplug-help at lists.sourceforge.net > Subject: [Nagios-users] Help with eventhandlers > > Hi, > > For some time, i execute severals evenhandlers to restart services. Now, > i would send an email when an eventhandler is executed. So, in commands > file, i modified my eventhandler 'restart-httpd-test' like this: > usr/local/nagios/libexec/eventhandlers/restart-httpd-test $SERVICESTATE$ > $STATETYPE$ $SERVICEATTEMPT$ $HOSTADDRESS$ $HOSTNAME$ $CONTACTEMAIL$ 2>> > /usr/local/nagios/tmp/httpd-test.log > > My problem is that i don't arrive to recovered the macro $CONTACTEMAIL$. With Nagios-2, $CONTACTEMAIL$ isn't available for event handlers, only notifications. See the chart at http://nagios.sourceforge.net/docs/2_0/macros.html. I can't offer any suggestions other than creating your own special file with that information and grep it from there when needed or parsing the nagios config files to obtain it. With nagios-3, that information is available with the new $CONTACTGROUPMEMBERS$ macro. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Sebastian.Ries at dtnet.de Fri Dec 7 08:17:50 2007 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Fri, 07 Dec 2007 08:17:50 +0100 Subject: how to use negate !! In-Reply-To: <47584D84.4080907@citytower.com> References: <4757E015.9020706@vsm-hosting.nl> <1196945909.4145.22.camel@bofh.dtnet.de> <47584D84.4080907@citytower.com> Message-ID: <1197011870.4145.42.camel@bofh.dtnet.de> Hi > The return value from negate is oke if you run it inside nagios > the output is the same. > I was thinking that the output would be changing to. > But only the return code is changing > 0 gets 3 > 2 stays 2 > 3 gets 0 > > Arghhh that's it How do you think the script should change the output? As this is human readable text... To archieve this the script would have to understand the meaning and know how to negate it. Everything I could imagine would be adding "Negated: " in front of the text. Would be nice to avoid this confusion. Btw: The script sould change the return codes as following: 0 gets 2 2 gets 0 1 and 3 stay as 0 is OK 1 is Warning 2 is Critical 3 is Unknown Regards Sebastian Ries P.S.: please send answeres to the list not just to me ;-) -- ------------------------------------------------------------ DT Netsolution GmbH - Talaeckerstr. 30 - D-70437 Stuttgart Tel: +49-711-849910-36 Fax: +49-711-849910-936 WEB: http://www.dtnet.de/ email: Sebastian.Ries at dtnet.de ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.knecht at anyweb.ch Fri Dec 7 08:31:10 2007 From: david.knecht at anyweb.ch (David Knecht) Date: Fri, 07 Dec 2007 08:31:10 +0100 Subject: On-demand service macros in Nagios 3.0b7: Hit by a bug related to an empty host name field? Message-ID: <4758F6BE.1020601@anyweb.ch> Hi all, I think I am probably struggling with a bug of Nagios 3.0b7: According to http://nagios.sourceforge.net/docs/3_0/macros.html "On-demand service macros can contain an empty host name field. In this case the name of the host associated with the service will automatically be used." This works well in my environment... define service { ... host_name testhost ... check_command ...$SERVICESTATEID:testhost:[10] Mobile IP Tunnel Status$... --> Result of the on-demand service macro processing: "0" ...while this does not: define service { ... host_name testhost ... check_command ...$SERVICESTATEID::[10] Mobile IP Tunnel Status$... --> Result of the on-demand service macro processing: "::[10] Mobile IP Tunnel Status$" ==> The on-demand service macro does not get processed correctly! Can anybody confirm that this is a bug? In case a configuration error might be causing this: Please advise! Thanks, David ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listes at sbgodin.fr Fri Dec 7 10:04:30 2007 From: listes at sbgodin.fr (Christophe HENRY) Date: Fri, 7 Dec 2007 10:04:30 +0100 Subject: CPU load, network usage or memory consumption periodic state Message-ID: <9b923bd297cb8984fd4dc296ef5494ec@10.0.0.40> Hello all, I'm brand new to Nagios, but I'm an experienced Linux user. That's why I will not bother you with trivial questions. Not now, though ;-) As far as I know, Nagios can be used to raise alerts when some plugins (like check_load) find something wrong. I didn't see anything to make the scripts write useful informations into script/computer readable files. My goal is to manage several servers and get some statistics about some basic variables such as CPU load, network usage or memory consumption. In details, I will proceed to some benchmarking of a server farm holding some web services. So I want to be aware of what is happening and how was the server before. Plus, this takes place on several Macintosh. They don't carry the /proc directory... -- Christophe HENRY ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Fri Dec 7 11:54:16 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Fri, 7 Dec 2007 11:54:16 +0100 Subject: check_x -> automatically make check_a, check_b, check_c? In-Reply-To: <2b7af7c40712061429k49891df0u97de016ba43457ca@mail.gmail.com> References: <2b7af7c40712061429k49891df0u97de016ba43457ca@mail.gmail.com> Message-ID: <024801c838bf$836f7d50$0202fea9@int.consol.de> Hi Roger, maybe check_multi http://www.my-plugin.de/wiki/projects/check_multi/start is what you're looking for. Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Roger Gesendet: Donnerstag, 6. Dezember 2007 23:29 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] check_x -> automatically make check_a, check_b,check_c? Is there a way to make a check_(whatever) and automatically create other checks? For example, say I want to specify "check_cisco_pix", which automatically creates a lot of other "check_snmp" commands, and when you go to http://IP/nagios, you see like 10 checks that automatically got created on the fly. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Fri Dec 7 15:12:10 2007 From: mwjredding at gmail.com (mark redding) Date: Fri, 7 Dec 2007 14:12:10 +0000 Subject: CPU load, network usage or memory consumption periodic state In-Reply-To: <9b923bd297cb8984fd4dc296ef5494ec@10.0.0.40> References: <9b923bd297cb8984fd4dc296ef5494ec@10.0.0.40> Message-ID: HI Christophe, On 07/12/2007, Christophe HENRY wrote: > As far as I know, Nagios can be used to raise alerts when some plugins > > (like check_load) find something wrong. I didn't see anything to make the > > scripts write useful informations into script/computer readable files. If you enable performance data then you can implement a script to take this data and process it however you wish - for example, some folks use the nagiosgraph package to produce rrd'style graphs from said performance data. I, on the other hand, take the performance data and store it away in a firebird database. For example :- define command{ command_name process-service-perfdata "$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" command_line /usr/local/nagios/perfdata/insert.pl } where "insert.pl" is your own homegrown perl script to extract the numbers from the perfdata log file (which you will find in /var/spool/nagios/perfdata.log) You also need to add the following to your main nagios.cfg file :- process_performance_data=1 service_perfdata_file=/var/spool/nagios/perfdata.log service_perfdata_file_processing_command=process-service-perfdata hope this helps. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntoughe at hotmail.com Fri Dec 7 15:55:16 2007 From: ntoughe at hotmail.com (NTOUGHE GUY-SERGE) Date: Fri, 7 Dec 2007 14:55:16 +0000 Subject: 2D and 3D layouts Message-ID: Hi all, I've installed nagios 2.10 on RHEL5, with nagios-plugins-1.4.10, all work fine. I can monitor all the site machines of the site. my request concerns the possibility to view hosts monitored in the statusmap, and i would like to define a 3D map. I can see hosts in statusmap but without icons symbolizing operating systems( only a square in a circle). For the 3D case i installed freewrl package and flux plugin for my browser:firefox, but when i click on 3D statusmap i get this message : internal server error :The server encountered an internal error or misconfiguration and was unable to complete your request. so , my question is simple how can i fix theses esthetics problems? regards ntoughe at hotmail.com _________________________________________________________________ Invite your mail contacts to join your friends list with Windows Live Spaces. It's easy! http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joines at okstate.edu Fri Dec 7 16:37:54 2007 From: joines at okstate.edu (Jason Joines) Date: Fri, 7 Dec 2007 09:37:54 -0600 Subject: NRPE: Unable to read output for check_procs Message-ID: <475968D2.2010207@okstate.edu> I'm running Nagios 2.9 and NRPE 2.8.1 on Ubuntu 7.10 Gutsy. On the box running NRPE, I have check_procs defined in /etc/nagios/nrpe.cfg as: command[check_procs]=i/usr/lib/nagios/plugins/check_procs -w 250 -c 400 and I'm running NRPE as a daemon via "/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d" as the user nagios. When I run the check locally on the NRPE box it works just fine: root at box02:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs PROCS OK: 78 processes root at box02:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs -w 250 -c 400 PROCS OK: 78 processes On the Nagios box I have the service defined in /etc/nagios2/conf.d/box02_nagios2.cfg as: define service{ use generic-service host_name box02 service_description Total Processes check_command check_nrpe_1arg!check_procs } However, both the web interface and the command line show "Unable to read output": root at box01:~# /usr/lib/nagios/plugins/check_nrpe -H box02.sub.dom.top -c check_procs NRPE: Unable to read output root at box01:~# Most of the other NRPE checks defined for box02 work as expected. Any ideas? Jason Joines ================================= ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cpugh at pppl.gov Fri Dec 7 17:11:07 2007 From: cpugh at pppl.gov (Cassandra Pugh) Date: Fri, 7 Dec 2007 11:11:07 -0500 Subject: event triggered process? Message-ID: <4E20E7F01BC85746A7A29FDFBFEC988D061B5F69@MAIL-STORE-1.pppl.gov> Is there a way to have a script fire off as a result of a nagios event? For example, Nagios could monitor/detect if a front-end mail server is down and then call a script to change the dns for the dns round robin for "MAIL and Exchange." This script would look at nagios down/up event to generate a new dns list. This would make the DNS round robin a dynamic list just like a NLB would support but without the network flood issue. Do you have any ideas on how to make this work? Thanks -- Cassandra "From a little spark may burst a mighty flame." ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Dec 7 17:28:45 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 7 Dec 2007 09:28:45 -0700 Subject: Connection Refused Message-ID: <4BE6EDFB3C58E24887D56332993B03AF036279E7@VS2.EXCHPROD.USA.NET> I am getting "Connection refused" status information on a Windows 2003 server that is using NSClient++. Out of the 7 Windows server I have in Nagios, this is the only server giving me that error. Any suggestions? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Dec 7 17:29:44 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 07 Dec 2007 16:29:44 +0000 Subject: event triggered process? In-Reply-To: <4E20E7F01BC85746A7A29FDFBFEC988D061B5F69@MAIL-STORE-1.pppl.gov> References: <4E20E7F01BC85746A7A29FDFBFEC988D061B5F69@MAIL-STORE-1.pppl.gov> Message-ID: <475974F8.3020409@googlemail.com> Cassandra Pugh wrote: > Is there a way to have a script fire off as a result of a nagios event? > You want event handlers. http://nagios.sourceforge.net/docs/2_0/eventhandlers.html You can run any program as the result of a change in status of a service. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Dec 7 17:33:40 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 07 Dec 2007 16:33:40 +0000 Subject: Connection Refused In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF036279E7@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF036279E7@VS2.EXCHPROD.USA.NET> Message-ID: <475975E4.1000000@googlemail.com> Michael Egan wrote: > > I am getting ?Connection refused? status information on a Windows 2003 > server that is using NSClient++. Out of the 7 Windows server I have in > Nagios, this is the only server giving me that error. > > Any suggestions? > Check the service is running, it's probably stopped or not listening on that port. Also check firewall but less likely. I am also having some annoyances with nsclient++ at the moment funnily enough... -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Dec 7 17:37:50 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 7 Dec 2007 09:37:50 -0700 Subject: Connection Refused In-Reply-To: <475975E4.1000000@googlemail.com> References: <4BE6EDFB3C58E24887D56332993B03AF036279E7@VS2.EXCHPROD.USA.NET> <475975E4.1000000@googlemail.com> Message-ID: <4BE6EDFB3C58E24887D56332993B03AF03627A16@VS2.EXCHPROD.USA.NET> The NSClient service is running and Windows Firewall is not running. I have uninstalled and reinstalled NSClient but the connections are still refused from the server. -----Original Message----- From: Hari Sekhon [mailto:hpsekhon at googlemail.com] Sent: Friday, December 07, 2007 10:34 AM To: Michael Egan Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Connection Refused Michael Egan wrote: > > I am getting "Connection refused" status information on a Windows 2003 > server that is using NSClient++. Out of the 7 Windows server I have in > Nagios, this is the only server giving me that error. > > Any suggestions? > Check the service is running, it's probably stopped or not listening on that port. Also check firewall but less likely. I am also having some annoyances with nsclient++ at the moment funnily enough... -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ksumner at physics.unc.edu Fri Dec 7 17:43:01 2007 From: ksumner at physics.unc.edu (Kevin Scott Sumner) Date: Fri, 7 Dec 2007 11:43:01 -0500 (EST) Subject: Connection Refused In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF03627A16@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF036279E7@VS2.EXCHPROD.USA.NET> <475975E4.1000000@googlemail.com> <4BE6EDFB3C58E24887D56332993B03AF03627A16@VS2.EXCHPROD.USA.NET> Message-ID: Have you checked other services running on it? Particularly non-Microsoft services (smb/cifs, rdp, etc). Checked it with nmap to see if the port is (or at least looks) open to the outside world? Is the config exactly the same as the other clients, or is there something *special* about it? These are just the things that come to mind. Cheers, Kevin ----- Kevin Sumner ksumner at physics.unc.edu (919) 962-6494 Assistant Systems Administrator Physics and Astronomy Networking Infrastructure and Computing University of North Carolina at Chapel Hill On Fri, 7 Dec 2007, Michael Egan wrote: > The NSClient service is running and Windows Firewall is not running. > > I have uninstalled and reinstalled NSClient but the connections are > still refused from the server. > > -----Original Message----- > From: Hari Sekhon [mailto:hpsekhon at googlemail.com] > Sent: Friday, December 07, 2007 10:34 AM > To: Michael Egan > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Connection Refused > > Michael Egan wrote: >> >> I am getting "Connection refused" status information on a Windows 2003 > >> server that is using NSClient++. Out of the 7 Windows server I have in > >> Nagios, this is the only server giving me that error. >> >> Any suggestions? >> > > Check the service is running, it's probably stopped or not listening on > that port. Also check firewall but less likely. > > I am also having some annoyances with nsclient++ at the moment funnily > enough... > > -h > > -- > Hari Sekhon > > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Dec 7 17:53:02 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 07 Dec 2007 16:53:02 +0000 Subject: NSClient++ - System holding port 5666 open, cannot rebind to it Message-ID: <47597A6E.8060507@googlemail.com> Hi, I've been playing with my expanding my nsclient++ setups and deployments today and as such have been restarted nsclient++ lots. The problem is that now when I restart it, I cannot get any response on nrpe calls to the default port 5666 despite the port being open. The problem is seems is that there is some phantom remnant holding that port open and preventing the new instance of nsclient++ from binding to it. Netstat shows: TCP x.x.x.x:5666 y.y.y.y:35719 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:60362 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:35750 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:35738 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:51457 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:35742 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:51459 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:35745 CLOSE_WAIT 2616 [System] TCP x.x.x.x:5666 y.y.y.y:35748 CLOSE_WAIT 2616 [System] where x.x.x.x is obviously the server ip address and y.y.y.y is my workstation ip address that I am testing it from. TcpView shows: :2616 TCP servername:5666 servername:0 LISTENING There are definitely no processes with Pids 616 or 2616. Any ideas on how to solve this short of a reboot? -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Dec 7 17:57:10 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 07 Dec 2007 16:57:10 +0000 Subject: Connection Refused In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF03627A16@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF036279E7@VS2.EXCHPROD.USA.NET> <475975E4.1000000@googlemail.com> <4BE6EDFB3C58E24887D56332993B03AF03627A16@VS2.EXCHPROD.USA.NET> Message-ID: <47597B66.10002@googlemail.com> Michael Egan wrote: > The NSClient service is running and Windows Firewall is not running. > > I have uninstalled and reinstalled NSClient but the connections are > still refused from the server. > Check the port is bound for one by using netstat or tcpview. Is the config the same as the other servers? Have you checked to see if your Nrpe or NSClient definitions are uncommented in NSC.ini and active and that their port numbers are correct? If the connection is refused, the most likely explanation is that nothing is listening on that port. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Dec 7 18:03:41 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 07 Dec 2007 17:03:41 +0000 Subject: NSClient++ - System holding port 5666 open, cannot rebind to it In-Reply-To: <47597A6E.8060507@googlemail.com> References: <47597A6E.8060507@googlemail.com> Message-ID: <47597CED.4000804@googlemail.com> Hari Sekhon wrote: > Hi, > > I've been playing with my expanding my nsclient++ setups and > deployments today and as such have been restarted nsclient++ lots. The > problem is that now when I restart it, I cannot get any response on > nrpe calls to the default port 5666 despite the port being open. > > The problem is seems is that there is some phantom remnant holding > that port open and preventing the new instance of nsclient++ from > binding to it. > > Netstat shows: > TCP x.x.x.x:5666 y.y.y.y:35719 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:60362 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:35750 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:35738 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:51457 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:35742 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:51459 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:35745 CLOSE_WAIT 2616 > [System] > > TCP x.x.x.x:5666 y.y.y.y:35748 CLOSE_WAIT 2616 > [System] > > > where x.x.x.x is obviously the server ip address and y.y.y.y is my > workstation ip address that I am testing it from. > > > TcpView shows: > > :2616 TCP servername:5666 > servername:0 LISTENING > > > There are definitely no processes with Pids 616 or 2616. > > Any ideas on how to solve this short of a reboot? > > -h > Solved it. Sometimes it just helps to talk about it to figure it out! Turns out there was a process that was for some reason stuck and this caused the previous incarnation to never truly die, System that sly process kept it open but the actual process could not be found. This actually happened because I'm fiddling around with writing another event handler to be called through NSClient++ and it's this event handler than has caused the problem by the look of it by not fully closing. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From listes at sbgodin.fr Fri Dec 7 18:58:10 2007 From: listes at sbgodin.fr (Christophe HENRY) Date: Fri, 7 Dec 2007 18:58:10 +0100 Subject: CPU load, network usage or memory consumption periodic state In-Reply-To: References: <9b923bd297cb8984fd4dc296ef5494ec@10.0.0.40> Message-ID: <20071207185810.4fd5188e@chris.local> Le Fri, 7 Dec 2007 14:12:10 +0000, "mark redding" a ?crit : > If you enable performance data then you can implement a script to take > this data and process it however you wish - for example, some folks > use the nagiosgraph package to produce rrd'style graphs from said > performance data. I, on the other hand, take the performance data and > store it away in a firebird database. > (...) Thank you very much! That's what I was looking for. I have to work a little more to be able to configure properly Nagios, but I will succeed thanks to you. I'll give some more news later, when I finish my first tests. -- Christophe HENRY http://www.sbgodin.fr - Site perso -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Dec 7 20:11:52 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 7 Dec 2007 11:11:52 -0800 Subject: scaling check_nt checks on NSClient++/NC_net with passive checks? Message-ID: <2b7af7c40712071111h2c5c37bi7940123741b36674@mail.gmail.com> I just picked up a client with over a thousand check_nt calls, and the system is obviously lagging quite a bit. I'm hoping that tweaking the checks from active->passive is a quick fix to the lag. When a check_nt plugin calls the agent running on Windows (e.g. NSClient++ or NC_net), does it by default call an active check? And if so, is it possible to make it a passive check instead so that I can not have to "fork and exec" a new Nagios process every time I need to check something? Any help in this area would be greatly appreciated. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cem.Keles at eu.sony.com Fri Dec 7 20:27:05 2007 From: Cem.Keles at eu.sony.com (Keles, Cem) Date: Fri, 7 Dec 2007 19:27:05 -0000 Subject: notification command In-Reply-To: <2b7af7c40712071111h2c5c37bi7940123741b36674@mail.gmail.com> References: <2b7af7c40712071111h2c5c37bi7940123741b36674@mail.gmail.com> Message-ID: <950B519365940B41B1C8EAA67DF9DFB5052072A0@GBISE0BASMSX01.eu.sony.com> Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony?s global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at cohen123.com Fri Dec 7 20:35:06 2007 From: nagios at cohen123.com (Tal Cohen) Date: Fri, 7 Dec 2007 14:35:06 -0500 Subject: notification command In-Reply-To: <950B519365940B41B1C8EAA67DF9DFB5052072A0@GBISE0BASMSX01.eu.sony.com> References: <2b7af7c40712071111h2c5c37bi7940123741b36674@mail.gmail.com> <950B519365940B41B1C8EAA67DF9DFB5052072A0@GBISE0BASMSX01.eu.sony.com> Message-ID: <010001c83908$45a87a50$5a01a8c0@D3233XB1> Hmmm, without looking at your script, I would say your best bet is to add logging capabilities to your script. When your script runs, it should log to a file what it is doing and with what parameters/arguments it is running. That will at least give you an idea of where the script is dying, Tal _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: Friday, December 07, 2007 2:27 PM To: Nagios Users mailinglist Subject: [Nagios-users] notification command Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sonys global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cem.Keles at eu.sony.com Fri Dec 7 20:46:31 2007 From: Cem.Keles at eu.sony.com (Keles, Cem) Date: Fri, 7 Dec 2007 19:46:31 -0000 Subject: notification command In-Reply-To: References: Message-ID: <950B519365940B41B1C8EAA67DF9DFB5052072A4@GBISE0BASMSX01.eu.sony.com> No, it is being executed from command line like /usr/local/bin/php /path/aa.php. ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, December 07, 2007 9:33 PM To: Keles, Cem; Nagios Users mailinglist Subject: RE: [Nagios-users] notification command Php code....is this launched from the web? Does mail get sent from Nagios typically? If this is launched from the web, make sure apache has execute rights to the script as well. Stephen Valdinger Dover Chemical Corporation MIS Helpdesk Guru 330.365.3622 stephen.valdinger at doverchem.com "If a man says something in the woods and no woman hears him, is he still wrong?" From: Keles, Cem [mailto:Cem.Keles at eu.sony.com] Sent: Friday, December 07, 2007 2:27 PM To: Nagios Users mailinglist Subject: [Nagios-users] notification command Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony?s global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cem.Keles at eu.sony.com Fri Dec 7 20:58:33 2007 From: Cem.Keles at eu.sony.com (Keles, Cem) Date: Fri, 7 Dec 2007 19:58:33 -0000 Subject: notification command In-Reply-To: References: Message-ID: <950B519365940B41B1C8EAA67DF9DFB5052072A5@GBISE0BASMSX01.eu.sony.com> In fact I've done this like just in the beginning of script I'm using a /bin/mkdir command but script doesn't create this folder when used as nagios command. This means that nagios never runs the shell script. But in nagios log I see that it is called just after the state of check is changed. ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, December 07, 2007 9:33 PM To: Keles, Cem; Nagios Users mailinglist Subject: RE: [Nagios-users] notification command Php code....is this launched from the web? Does mail get sent from Nagios typically? If this is launched from the web, make sure apache has execute rights to the script as well. Stephen Valdinger Dover Chemical Corporation MIS Helpdesk Guru 330.365.3622 stephen.valdinger at doverchem.com "If a man says something in the woods and no woman hears him, is he still wrong?" From: Keles, Cem [mailto:Cem.Keles at eu.sony.com] Sent: Friday, December 07, 2007 2:27 PM To: Nagios Users mailinglist Subject: [Nagios-users] notification command Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony?s global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mboeckman at servicemagic.com Fri Dec 7 20:59:08 2007 From: mboeckman at servicemagic.com (Boeckman, Matthew) Date: Fri, 7 Dec 2007 12:59:08 -0700 Subject: notification command Message-ID: <67CC1D2D52F85747ADE6BC83A4A7A76403D62B74@Apollo.servicemagic.com> I would echo the earlier post - add a line like : echo "I ran" >> /some/log/file to your wrapper and something simlair to your PHP script. Sounds much more like an issue in the sh script or PHP than a nagios issue. -Matthew ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: Friday, December 07, 2007 12:59 PM To: Valdinger, Stephen (DOV, MSX); Nagios Users mailinglist Subject: Re: [Nagios-users] notification command In fact I've done this like just in the beginning of script I'm using a /bin/mkdir command but script doesn't create this folder when used as nagios command. This means that nagios never runs the shell script. But in nagios log I see that it is called just after the state of check is changed. ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, December 07, 2007 9:33 PM To: Keles, Cem; Nagios Users mailinglist Subject: RE: [Nagios-users] notification command Php code....is this launched from the web? Does mail get sent from Nagios typically? If this is launched from the web, make sure apache has execute rights to the script as well. Stephen Valdinger Dover Chemical Corporation MIS Helpdesk Guru 330.365.3622 stephen.valdinger at doverchem.com "If a man says something in the woods and no woman hears him, is he still wrong?" From: Keles, Cem [mailto:Cem.Keles at eu.sony.com] Sent: Friday, December 07, 2007 2:27 PM To: Nagios Users mailinglist Subject: [Nagios-users] notification command Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Dec 7 21:14:02 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 7 Dec 2007 13:14:02 -0700 Subject: Need the check_snmp module Message-ID: <4BE6EDFB3C58E24887D56332993B03AF03627DA2@VS2.EXCHPROD.USA.NET> For some reason the check_snmp module did not install when I set up Nagios. Can somebody tell me where I can get this module? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cem.Keles at eu.sony.com Fri Dec 7 21:28:08 2007 From: Cem.Keles at eu.sony.com (Keles, Cem) Date: Fri, 7 Dec 2007 20:28:08 -0000 Subject: notification command In-Reply-To: <67CC1D2D52F85747ADE6BC83A4A7A76403D62B74@Apollo.servicemagic.com> References: <67CC1D2D52F85747ADE6BC83A4A7A76403D62B74@Apollo.servicemagic.com> Message-ID: <950B519365940B41B1C8EAA67DF9DFB5052072A9@GBISE0BASMSX01.eu.sony.com> Thanks but I've tried this already, no file created unfortunately. I'm sure Nagios doesnt run script even the notification command is executed. Yes I thought that this was a script issue. But please note that this script works fine and sends mail when executed on command line by Nagios user. So the differences between command line and Nagios executed script are 2 things: - It is being executed by Nagios not manually. - I pass some Nagios values to script as argument like $CONTACTS$, $NOTIFICATIONTYPE$, $HOSTADDRESS$ etc. ________________________________ From: Boeckman, Matthew [mailto:mboeckman at servicemagic.com] Sent: Friday, December 07, 2007 9:59 PM To: Keles, Cem; Valdinger, Stephen (DOV, MSX); Nagios Users mailinglist Subject: RE: [Nagios-users] notification command I would echo the earlier post - add a line like : echo "I ran" >> /some/log/file to your wrapper and something simlair to your PHP script. Sounds much more like an issue in the sh script or PHP than a nagios issue. -Matthew ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: Friday, December 07, 2007 12:59 PM To: Valdinger, Stephen (DOV, MSX); Nagios Users mailinglist Subject: Re: [Nagios-users] notification command In fact I've done this like just in the beginning of script I'm using a /bin/mkdir command but script doesn't create this folder when used as nagios command. This means that nagios never runs the shell script. But in nagios log I see that it is called just after the state of check is changed. ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, December 07, 2007 9:33 PM To: Keles, Cem; Nagios Users mailinglist Subject: RE: [Nagios-users] notification command Php code....is this launched from the web? Does mail get sent from Nagios typically? If this is launched from the web, make sure apache has execute rights to the script as well. Stephen Valdinger Dover Chemical Corporation MIS Helpdesk Guru 330.365.3622 stephen.valdinger at doverchem.com "If a man says something in the woods and no woman hears him, is he still wrong?" From: Keles, Cem [mailto:Cem.Keles at eu.sony.com] Sent: Friday, December 07, 2007 2:27 PM To: Nagios Users mailinglist Subject: [Nagios-users] notification command Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony?s global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mboeckman at servicemagic.com Fri Dec 7 21:32:10 2007 From: mboeckman at servicemagic.com (Boeckman, Matthew) Date: Fri, 7 Dec 2007 13:32:10 -0700 Subject: notification command Message-ID: <67CC1D2D52F85747ADE6BC83A4A7A76403D62B7A@Apollo.servicemagic.com> When you execute the script from the command line, what values do you pass for $CONTACTS$, $NOTIFICATIONTYPE$, $HOSTADDRESS$ ? What happens when you pass null values? Possible that somehow those are null in your config and the script is puking? Just kind of musing there. you could also try tuning up nagios debug logging a lot - i believe that will trap and log the way nagios is calling your script (??). -Matthew ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: Friday, December 07, 2007 1:28 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] notification command Thanks but I've tried this already, no file created unfortunately. I'm sure Nagios doesnt run script even the notification command is executed. Yes I thought that this was a script issue. But please note that this script works fine and sends mail when executed on command line by Nagios user. So the differences between command line and Nagios executed script are 2 things: - It is being executed by Nagios not manually. - I pass some Nagios values to script as argument like $CONTACTS$, $NOTIFICATIONTYPE$, $HOSTADDRESS$ etc. ________________________________ From: Boeckman, Matthew [mailto:mboeckman at servicemagic.com] Sent: Friday, December 07, 2007 9:59 PM To: Keles, Cem; Valdinger, Stephen (DOV, MSX); Nagios Users mailinglist Subject: RE: [Nagios-users] notification command I would echo the earlier post - add a line like : echo "I ran" >> /some/log/file to your wrapper and something simlair to your PHP script. Sounds much more like an issue in the sh script or PHP than a nagios issue. -Matthew ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: Friday, December 07, 2007 12:59 PM To: Valdinger, Stephen (DOV, MSX); Nagios Users mailinglist Subject: Re: [Nagios-users] notification command In fact I've done this like just in the beginning of script I'm using a /bin/mkdir command but script doesn't create this folder when used as nagios command. This means that nagios never runs the shell script. But in nagios log I see that it is called just after the state of check is changed. ________________________________ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, December 07, 2007 9:33 PM To: Keles, Cem; Nagios Users mailinglist Subject: RE: [Nagios-users] notification command Php code....is this launched from the web? Does mail get sent from Nagios typically? If this is launched from the web, make sure apache has execute rights to the script as well. Stephen Valdinger Dover Chemical Corporation MIS Helpdesk Guru 330.365.3622 stephen.valdinger at doverchem.com "If a man says something in the woods and no woman hears him, is he still wrong?" From: Keles, Cem [mailto:Cem.Keles at eu.sony.com] Sent: Friday, December 07, 2007 2:27 PM To: Nagios Users mailinglist Subject: [Nagios-users] notification command Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios at cohen123.com Fri Dec 7 21:37:38 2007 From: nagios at cohen123.com (Tal Cohen) Date: Fri, 7 Dec 2007 15:37:38 -0500 Subject: notification command In-Reply-To: <950B519365940B41B1C8EAA67DF9DFB5052072A9@GBISE0BASMSX01.eu.sony.com> References: <67CC1D2D52F85747ADE6BC83A4A7A76403D62B74@Apollo.servicemagic.com> <950B519365940B41B1C8EAA67DF9DFB5052072A9@GBISE0BASMSX01.eu.sony.com> Message-ID: <001801c83911$0273cd30$5a01a8c0@D3233XB1> Another "Hmmm".. OK, just for sanity you may want to replace your PHP script with a simple bash script that outputs to a file (like Mathew suggested). This will at least tell you if you have Nagios configured right to use that script. Tal _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: Friday, December 07, 2007 3:28 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] notification command Thanks but I've tried this already, no file created unfortunately. I'm sure Nagios doesnt run script even the notification command is executed. Yes I thought that this was a script issue. But please note that this script works fine and sends mail when executed on command line by Nagios user. So the differences between command line and Nagios executed script are 2 things: - It is being executed by Nagios not manually. - I pass some Nagios values to script as argument like $CONTACTS$, $NOTIFICATIONTYPE$, $HOSTADDRESS$ etc. _____ From: Boeckman, Matthew [mailto:mboeckman at servicemagic.com] Sent: Friday, December 07, 2007 9:59 PM To: Keles, Cem; Valdinger, Stephen (DOV, MSX); Nagios Users mailinglist Subject: RE: [Nagios-users] notification command I would echo the earlier post - add a line like : echo "I ran" >> /some/log/file to your wrapper and something simlair to your PHP script. Sounds much more like an issue in the sh script or PHP than a nagios issue. -Matthew _____ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Keles, Cem Sent: Friday, December 07, 2007 12:59 PM To: Valdinger, Stephen (DOV, MSX); Nagios Users mailinglist Subject: Re: [Nagios-users] notification command In fact I've done this like just in the beginning of script I'm using a /bin/mkdir command but script doesn't create this folder when used as nagios command. This means that nagios never runs the shell script. But in nagios log I see that it is called just after the state of check is changed. _____ From: Valdinger, Stephen (DOV, MSX) [mailto:svalding at doverchem.com] Sent: Friday, December 07, 2007 9:33 PM To: Keles, Cem; Nagios Users mailinglist Subject: RE: [Nagios-users] notification command Php code..is this launched from the web? Does mail get sent from Nagios typically? If this is launched from the web, make sure apache has execute rights to the script as well. Stephen Valdinger Dover Chemical Corporation MIS Helpdesk Guru 330.365.3622 stephen.valdinger at doverchem.com "If a man says something in the woods and no woman hears him, is he still wrong?" From: Keles, Cem [mailto:Cem.Keles at eu.sony.com] Sent: Friday, December 07, 2007 2:27 PM To: Nagios Users mailinglist Subject: [Nagios-users] notification command Hi, I've written a shell script which is calling a php code and I'm using this shell script as a notification command. It runs fine when tested on command line executed by both root and nagios user. But if used as nagios notification command, I cant receive any mail. Nagios logs show command is executed but in mail log I cant see any mail sent. Owner of script is the nagios user. It is being called by /bin/sh, all arguments in it is being exported. In nagios documentation it tells any command which can be run on command line can be used as a nagios misc command but I couldn't succeed sending mails. What do you think the problem is or in which log I can see why it doesn't send mails? Any help will be appreciated. Thanks Cem ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony's global policies and standards ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sonys global policies and standards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Dec 7 22:16:02 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 7 Dec 2007 13:16:02 -0800 Subject: check_x -> automatically make check_a, check_b, check_c? In-Reply-To: <024801c838bf$836f7d50$0202fea9@int.consol.de> References: <2b7af7c40712061429k49891df0u97de016ba43457ca@mail.gmail.com> <024801c838bf$836f7d50$0202fea9@int.consol.de> Message-ID: <2b7af7c40712071316p3d4b0e01hee6db342b2085204@mail.gmail.com> Perfect, thanks Gerhard. This looks (in theory!) to be perfect. Roger On Dec 7, 2007 2:54 AM, Gerhard Lausser wrote: > Hi Roger, > > maybe check_multi http://www.my-plugin.de/wiki/projects/check_multi/start is > what you're looking for. > > Gerhard > > ------------------------------ > *Von:* nagios-users-bounces at lists.sourceforge.net [mailto: > nagios-users-bounces at lists.sourceforge.net] *Im Auftrag von *Roger > *Gesendet:* Donnerstag, 6. Dezember 2007 23:29 > *An:* nagios-users at lists.sourceforge.net > *Betreff:* [Nagios-users] check_x -> automatically make check_a, > check_b,check_c? > > Is there a way to make a check_(whatever) and automatically create other > checks? > For example, say I want to specify "check_cisco_pix", which automatically > creates a lot of other "check_snmp" commands, and when you go to > http://IP/nagios, you see like 10 checks that automatically got created on > the fly. > > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 7 22:59:45 2007 From: marc at ena.com (Marc Powell) Date: Fri, 7 Dec 2007 15:59:45 -0600 Subject: Need the check_snmp module In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF03627DA2@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF03627DA2@VS2.EXCHPROD.USA.NET> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Egan > Sent: Friday, December 07, 2007 2:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Need the check_snmp module > > For some reason the check_snmp module did not install when I set up > Nagios. Can somebody tell me where I can get this module? Assuming you compiled the plugins from source, check the REQUIREMENTS file and/or the output from ./configure. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 7 23:09:16 2007 From: marc at ena.com (Marc Powell) Date: Fri, 7 Dec 2007 16:09:16 -0600 Subject: notification command In-Reply-To: <950B519365940B41B1C8EAA67DF9DFB5052072A9@GBISE0BASMSX01.eu.sony.com> References: <950B519365940B41B1C8EAA67DF9DFB5052072A9@GBISE0BASMSX01.eu.sony.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Keles, Cem > Sent: Friday, December 07, 2007 2:28 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] notification command > > Thanks but I've tried this already, no file created unfortunately. I'm > sure Nagios doesnt run script even the notification command is executed. There has never been a bug like that as far as I can recall. If nagios says it's calling it, it's calling it. It may be failing due to permissions, environment or some other external factor though. Try adding a '>/tmp/logfile 2>&1' to the end of your command definition to see STDOUT and STDERR in /tmp/logfile. Knowing what we're talking about would be useful too, please post the command definition in question, ls -l of the script(s) and directories you're referencing (i.e. the mkdir you tried), etc. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Sat Dec 8 01:42:17 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Fri, 7 Dec 2007 19:42:17 -0500 Subject: scaling check_nt checks on NSClient++/NC_net with passive checks? In-Reply-To: <2b7af7c40712071111h2c5c37bi7940123741b36674@mail.gmail.com> References: <2b7af7c40712071111h2c5c37bi7940123741b36674@mail.gmail.com> Message-ID: yes, With NC_NEt, this is one the primary uses of NC_Net. 1) install NC_NEt as the Windows client, (If it is not there already) 2) make sure the Active checks are running OK, (in case of slight differences from current Windows clients) 3) using check_nc_net use the switch to push Passive check command over to the windows Client 4) configure the passive checks settings in the NC_NEt startup.cfg 5) turn on Passive checks 6) disable the active checks in Nagios. 7) leave active check on for maintanence. TOny (Author of NC_NEt) On Dec 7, 2007 2:11 PM, Roger wrote: > I just picked up a client with over a thousand check_nt calls, and the > system is obviously lagging quite a bit. I'm hoping that tweaking the > checks from active->passive is a quick fix to the lag. > When a check_nt plugin calls the agent running on Windows (e.g. NSClient++ > or NC_net), does it by default call an active check? > > And if so, is it possible to make it a passive check instead so that I can > not have to "fork and exec" a new Nagios process every time I need to check > something? > > Any help in this area would be greatly appreciated. > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m at rtij.nl Sat Dec 8 13:01:49 2007 From: m at rtij.nl (Martijn Lievaart) Date: Sat, 08 Dec 2007 13:01:49 +0100 Subject: Environmental monitoring In-Reply-To: References: Message-ID: <475A87AD.7030407@rtij.nl> Kevin Scott Sumner wrote: > Serial is nearly right-out, since we use serial on our machines for console > redirection. I can throw an add-in card into one of the larger machines, I > suppose. Of course, I have seen howtos online to build USB sensors, too... > > Although none of us in the office are too handy with a soldering gun, I > might be able to convince/coerce one of our Electronics faculty to build a > few for us. :) > > I'm really looking for some inexpensive, preferably USB sensors to hang off > a couple of machines. The $20 to $50 (USD) range is nice, but we could > probably go up to $100 each. We don't really need a dedicated env > monitoring device, like APC offers. > > There are very inexpensive usb to serial converters, these might be a piece of this puzzle. HTH, M4 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sat Dec 8 21:16:52 2007 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sat, 8 Dec 2007 17:16:52 -0300 Subject: check_oracle fails executing with nrpe In-Reply-To: References: <20071203210545.GA21984@hermes.freesoftware.org> Message-ID: <20071208201652.GP3551@hermes.freesoftware.org> On Monday, 03 December 2007 15:22:03 -0600, Marc Powell wrote: > > I've some problems executing check_oracle plugin via check_nrpe. > > In the Oracle server: > > sdptest:/usr/local/nagios/etc# cat /usr/local/nagios/etc/nrpe.cfg | \ > > grep check_sysaux > > command[check_sysaux]=/usr/local/nagios/libexec/check_oracle > > --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80 > > sdptest:/usr/local/nagios/etc# /usr/local/nagios/libexec/check_oracle \ > > --tablespace xxxxx yyyyy zzzzz SYSAUX 90 80 > > xxxxx : SYSAUX OK - 40.50% used [ 476 / 800 MB available > > ]|SYSAUX=40.50%;80;90;0;100 > > Any idea to resolve this issue? > Yes, try running the above test as the user that NRPE runs as. It's > almost certainly not root and doesn't have root environment or privs. NRPE run as nagios user. Since it hasn't a valid shell I can't try the above test with this user. I put the nagios user in oinstall group and check_oracle via check_nrpe works! Thanks for your response, Marc. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Cem.Keles at eu.sony.com Sat Dec 8 22:24:24 2007 From: Cem.Keles at eu.sony.com (Keles, Cem) Date: Sat, 8 Dec 2007 21:24:24 -0000 Subject: notification command In-Reply-To: References: <950B519365940B41B1C8EAA67DF9DFB5052072A9@GBISE0BASMSX01.eu.sony.com> Message-ID: <950B519365940B41B1C8EAA67DF9DFB5052072EB@GBISE0BASMSX01.eu.sony.com> Yes you're right. I've cleared out the issue. It's not something about Nagios but nagiosQL. While it tries to insert the command to DB, some characters are being modified, so because the arguments that are passed to script were wrog, script cant be executed. Sorry about this, but thanks all who commented. Have a nice weekend. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Saturday, December 08, 2007 12:09 AM To: Nagios Users mailinglist Subject: Re: [Nagios-users] notification command > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Keles, Cem > Sent: Friday, December 07, 2007 2:28 PM > To: Nagios Users mailinglist > Subject: Re: [Nagios-users] notification command > > Thanks but I've tried this already, no file created unfortunately. I'm > sure Nagios doesnt run script even the notification command is executed. There has never been a bug like that as far as I can recall. If nagios says it's calling it, it's calling it. It may be failing due to permissions, environment or some other external factor though. Try adding a '>/tmp/logfile 2>&1' to the end of your command definition to see STDOUT and STDERR in /tmp/logfile. Knowing what we're talking about would be useful too, please post the command definition in question, ls -l of the script(s) and directories you're referencing (i.e. the mkdir you tried), etc. -- Marc ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************ The information contained in this message or any of its attachments may be confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of Sony or Sony affiliated companies. Sony email is for business use only. This email and any response may be monitored by Sony to be in compliance with Sony?s global policies and standards -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From daniel-listas at gmx.net Sat Dec 8 23:39:26 2007 From: daniel-listas at gmx.net (Daniel Bareiro) Date: Sat, 8 Dec 2007 19:39:26 -0300 Subject: How to disable check-host-alive In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744A5A084@hermes.sapphire-int.gi> References: <20071202191852.GE3551@hermes.freesoftware.org> <9D30659ABCA7FB428CF91E386C3A5744A5A084@hermes.sapphire-int.gi> Message-ID: <20071208223926.GQ3551@hermes.freesoftware.org> On Monday, 03 December 2007 10:07:18 +0100, Giles Coochey wrote: > > I try adding 'retain_status_information 0' in host definition for > > Nagios server. Now, its host status is 'pending' instead of 'down'. > > But the default host initial state shouldn't be 'up'? > You could try sending a passive check result to put it back into an > "OK" state. Mmmm... I've read the Nagios documentation about passive check but yet I do not know very clearly how to use it to put the status back into an OK state. What is your suggestion? Thanks for your response, Giles. Regards, Daniel -- Daniel Bareiro - System Administrator Fingerprint: BFB3 08D6 B4D1 31B2 72B9 29CE 6696 BF1B 14E6 1D37 Powered by Debian GNU/Linux Etch - Linux user #188.598 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From avishay.aton at gmail.com Sat Dec 8 23:41:34 2007 From: avishay.aton at gmail.com (Avishay Aton) Date: Sun, 9 Dec 2007 00:41:34 +0200 Subject: Host is down , but all services seem to be up Message-ID: Hi Everyone I havn't noticed until recently ,but when one of my hosts is DOWN(Critical) and web interface shows that that host is down, all it's services are in OK status. I thought that , if host is DOWN , all it's services are in UNKNOWN status , but it isn't in my enviroment Is this the default behavior of nagios ? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nag at studiovee.com.au Sun Dec 9 04:54:39 2007 From: nag at studiovee.com.au (nag at studiovee.com.au) Date: Sun, 9 Dec 2007 12:54:39 +0900 Subject: Internal Server Errors on CGIs - not SELinux or authentication related Message-ID: <000701c83a17$3dc6b2b0$b9541810$@com.au> Hi, I've installed Nagios by following the Quickstart Installation Guides (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) which seems to go fine - I'm getting emails every hour reporting on low disk space. It seems that Nagios is running but I cannot access any of the CGIs in my browser. Authentication seems fine and the Apache error log is giving me "premature end of script headers". SELinux is and has always been disabled. I would like to test the binaries from the command line, though I don't know how. I'm expecting I'll need to re-compile the binaries, though I don't know how to do this either. Vitals are as follows; CentOS 4.5 Nagios 3.0b7 Plugins 1.4.10 Regards, Brenden ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sun Dec 9 09:56:37 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sun, 9 Dec 2007 09:56:37 +0100 (CET) Subject: restricting unknown user Message-ID: <20071209085637.B94154F4045@desire.netways.de> Hi list I want to configure nagios in such a way that if unknown mac-address enters into network to access resources , that system will be displayed in nagios.I want to create a list of mac-addresses which are in our network , and link it with nagios and if any other mac-address (out of this list)connects to network, it will be displayed in the nagios . - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sun Dec 9 10:08:00 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sun, 09 Dec 2007 10:08:00 +0100 Subject: Internal Server Errors on CGIs - not SELinux or authentication related In-Reply-To: <000701c83a17$3dc6b2b0$b9541810$@com.au> References: <000701c83a17$3dc6b2b0$b9541810$@com.au> Message-ID: <475BB070.6080704@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 nag at studiovee.com.au wrote: > Hi, > > I've installed Nagios by following the Quickstart Installation Guides > (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) which seems > to go fine - I'm getting emails every hour reporting on low disk space. It > seems that Nagios is running but I cannot access any of the CGIs in my > browser. Authentication seems fine and the Apache error log is giving me > "premature end of script headers". SELinux is and has always been disabled. > > I would like to test the binaries from the command line, though I don't know > how. I'm expecting I'll need to re-compile the binaries, though I don't know > how to do this either. All of this is handled on the list before. But these are basic tasks expected to be done by someone willing to run beta software. If you can not perform these tasks then do not install the software. This may sound hard but it is because so many people lack sysadmin skils yet install computers and software themselves that we waste 95% of all email resources on spam for example. You may just install nagios 2.0.10 through rpmforge. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHW7BsBvzDRVjxmYERAly7AJsFkxJurBQbaEOuq/wWq/peFM6jDACfW3rF v7Ky/yz/7vYQPpIAGIMAHV0= =KtPK -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sachink at 7i.net.sa Sun Dec 9 11:09:16 2007 From: sachink at 7i.net.sa (sachin kumar) Date: Sun, 9 Dec 2007 11:09:16 +0100 (CET) Subject: restricting unknown user Message-ID: <20071209100919.7B9104F4045@desire.netways.de> Hi list I want to configure nagios in such a way that if unknown mac-address enters into network to access resources , that system will be displayed in nagios.I want to create a list of mac-addresses which are in our network , and link it with nagios and if any other mac-address (out of this list)connects to network, it will be displayed in the nagios . - sachin kumar (sachin1361) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sun Dec 9 16:56:23 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sun, 09 Dec 2007 10:56:23 -0500 Subject: Host is down , but all services seem to be up In-Reply-To: References: Message-ID: <475C1027.6060501@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 08/12/07 05:41 PM, Avishay Aton wrote: > Hi Everyone > I havn't noticed until recently ,but when one of my hosts is DOWN(Critical) > and web interface shows that that host is down, > all it's services are in OK status. > I thought that , if host is DOWN , all it's services are in UNKNOWN > status , but it isn't in my enviroment > Is this the default behavior of nagios ? > Thanks Yes. If the services are up they will show as up even is the host check returns a failure. However be aware that a host down will prevent service to send notifications (only the host down is sent). If you can't get the host check to work reliably and disable notifications for it, you're better with no host check at all (i.e. a dummy always-ok check). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHXBAn6dZ+Kt5BchYRAmhuAKClCqOX6FgCPAsRaqCNBCV78+oVmwCfRrzq s57C1Qf1cOD56Rl9d6kweiI= =gH7J -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 10 00:12:18 2007 From: marc at ena.com (Marc Powell) Date: Sun, 9 Dec 2007 17:12:18 -0600 Subject: Internal Server Errors on CGIs - not SELinux or authentication related In-Reply-To: <000701c83a17$3dc6b2b0$b9541810$@com.au> References: <000701c83a17$3dc6b2b0$b9541810$@com.au> Message-ID: On Dec 8, 2007, at 9:54 PM, wrote: > Hi, > > I've installed Nagios by following the Quickstart Installation Guides > (http://nagios.sourceforge.net/docs/3_0/quickstart-fedora.html) > which seems > to go fine - I'm getting emails every hour reporting on low disk > space. It > seems that Nagios is running but I cannot access any of the CGIs in my > browser. Authentication seems fine and the Apache error log is > giving me > "premature end of script headers". SELinux is and has always been > disabled. Apache should be logging the cause of the problem in it's error log. > I would like to test the binaries from the command line, though I > don't know > how. I'm expecting I'll need to re-compile the binaries, though I > don't know > how to do this either. You don't have to. Just run one of the CGI's from the command line and it'll tell you what you need to do. I don't have 3.x installed but I don't expect this behavior to have changed -- $ ~nagios/sbin/status.cgi getcgivars(): Unsupported REQUEST_METHOD -> '' I'm guessing you're trying to execute the CGI from a command line. In order to do that, you need to set the REQUEST_METHOD environment variable to either "GET", "HEAD", or "POST". When using the GET and HEAD methods, arguments can be passed to the CGI by setting the "QUERY_STRING" environment variable. If you're using the POST method, data is read from standard input. Also of note: if you've enabled authentication in the CGIs, you must set the "REMOTE_USER" environment variable to be the name of the user you're "authenticated" as. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Dec 10 01:02:34 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 9 Dec 2007 16:02:34 -0800 Subject: check_log + mysqld.log Message-ID: <2b7af7c40712091602g685209c7p709e8002a65809b@mail.gmail.com> I'm thinking about using check_log to monitor mysqld.log e.g. check_log -F /var/log/mysqld.log -O /tmp/mysqdLogTest.log -q STRING_TO_LOOK_FOR I don't know much about MySQL to know which types of errors that I should be looking for and am hoping others here might have some recipes / hacks that they use that they might share what has worked well for them. And where check_log didn't work (say you needed more "intelligent log watching"), what did you use in its place? Some log checking program like Swatch or SEC? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Dec 10 10:09:57 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 10 Dec 2007 10:09:57 +0100 Subject: How to disable check-host-alive In-Reply-To: <20071208223926.GQ3551@hermes.freesoftware.org> References: <20071202191852.GE3551@hermes.freesoftware.org><9D30659ABCA7FB428CF91E386C3A5744A5A084@hermes.sapphire-int.gi> <20071208223926.GQ3551@hermes.freesoftware.org> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A2AC@hermes.sapphire-int.gi> > > You could try sending a passive check result to put it back into an > > "OK" state. > > Mmmm... I've read the Nagios documentation about passive check but yet I > do not know very clearly how to use it to put the status back into an OK > state. What is your suggestion? > Submitting a passive check result can be done via the Web Interface (among other ways) so you just need to login to Nagios, select the host in question and use the "Submit passive check result for this host" command option from the list of Host Commands. You need to provide some Check Output, the performance data is optional. Nagios will process this check result and the host should return to the state that you select. Thanks Giles ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Mon Dec 10 10:19:42 2007 From: mwjredding at gmail.com (mark redding) Date: Mon, 10 Dec 2007 09:19:42 +0000 Subject: check_log + mysqld.log In-Reply-To: <2b7af7c40712091602g685209c7p709e8002a65809b@mail.gmail.com> References: <2b7af7c40712091602g685209c7p709e8002a65809b@mail.gmail.com> Message-ID: Hi, On 10/12/2007, Roger wrote: > I'm thinking about using check_log to monitor mysqld.log I've found it more useful to check the status of the mysql processes themselves rather than the log file. So I monitor the number of active connections, and those in a locked state and alert when either of these values gets too high. I therefore use the following :- 1) a basic perl script to process the 'processlist' command (it could be improved by parameterising the thresholds, I've just never felt the need to do so) :- #!/usr/bin/perl # mysql-procs.pl use vars qw($PROGNAME); use lib "/usr/local/nagios/libexec" ; use utils qw (%ERRORS &print_revision &support); my(@res) = ` mysqladmin --user=??? --password=??? processlist`; my($tcount) = 0; my($lcount) = 0; my($status) = "OK"; foreach(@res) { $tcount++ if(m/auser/); # check for a specific user connecting $tcount++ if(m/buser/); # check for another specific user connecting $lcount++ if(m/Locked/); # check for Locked processes } $status = "WARNING" if($tcount > 200); $status = "CRITICAL" if($lcount > 5); print "MYSQL-PROCS " . $status . " - " . $tcount . " processes, " . $lcount . " locked\n"; exit $ERRORS{$status}; which is run out of nrpe on the server hosting the mysql database. 2) an nrpe.cfg entry on the server :- command[check_mysqlprocs]=/home/nagios/mysql-procs/mysql-procs.pl 3) a service within the nagios configuration :- define service { name ops-mysql-procs use ops-service service_description MYSQL-PROCS max_check_attempts 3 normal_check_interval 5 retry_check_interval 2 check_command check_nrpe!check_mysqlprocs register 0 } 4) a service line for each host with a mysql database running :- define host { use live-host host_name mysql-dbserver alias mysql server parents big-switch address ???.???.???.??? check_command check-host-alive } ... define service { use ops-mysql-procs host_name mysql-dbserver } The log file monitoring is okay, but knowing when the entire database is locked out is far more useful I feel. regards, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Mon Dec 10 11:14:43 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Mon, 10 Dec 2007 11:14:43 +0100 Subject: check_log + mysqld.log In-Reply-To: <2b7af7c40712091602g685209c7p709e8002a65809b@mail.gmail.com> References: <2b7af7c40712091602g685209c7p709e8002a65809b@mail.gmail.com> Message-ID: <02ab01c83b15$7bcb6b60$0202fea9@int.consol.de> Hi Roger, > I don't know much about MySQL to know which types of errors that I should be looking for and am hoping others here might have some recipes / hacks that they use that they might share what has worked well for them. if you use check_logfiles instead of check_log, you can squeeze multiple patterns to look for in a service. You call it with a configuration file which for example looks like this: @searches = ( { tag => 'mysqlerr', logfile => '/var/log/mysql/mysql.log', # wherever your logfile is rotation => 'mysql\.log\.old', # must match the rotated logfile(s) criticalpatterns => [ 'Error', 'you hit a bug', 'Disk is full', 'find out where mysqld died', 'Number of processes running now: 0', ], warningpatterns => [ 'should be repaired', 'try to repair it', 'InnoDB: Database was not shut down normally' ], }, { tag => 'mysqlrecover', logfile => '/var/log/mysql/mysql.log', rotation => 'mysql\.log\.old', criticalpatterns => [ 'InnoDB: Starting crash recovery', ], okpatterns => [ 'InnoDB: Apply batch completed' ] } ); > And where check_log didn't work (say you needed more "intelligent log watching"), I don't know if this can already be called "intelligence", but in the last lines you can see an example for a so-called okpattern which is able to remedy a criticalpattern found shortly before. Another feature is the possibility to call external scripts or a perl subroutine if specific patterns are found. This could be used to automatically restart mysqld or maybe automatically repair tables. You can find it at http://www.consol.com/opensource/nagios/check-logfiles Greetings from Munich, Gerhard ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Mon Dec 10 11:16:01 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Mon, 10 Dec 2007 10:16:01 +0000 (GMT) Subject: notification Message-ID: <599522.34546.qm@web26214.mail.ukl.yahoo.com> hello I am using nagios 2.9 a host that is frequently down and would like that nagios reports only once a day the alert. How to do that? thanks. __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Mon Dec 10 15:14:55 2007 From: mwjredding at gmail.com (mark redding) Date: Mon, 10 Dec 2007 14:14:55 +0000 Subject: notification In-Reply-To: <599522.34546.qm@web26214.mail.ukl.yahoo.com> References: <599522.34546.qm@web26214.mail.ukl.yahoo.com> Message-ID: Hi Melanie, > a host that is frequently down and would like that > nagios reports only once a day the alert. How to do > that? You can achieve this using a serviceescalation definition and include within it a 'last_notification' clause. See http://nagios.sourceforge.net/docs/2_0/escalations.html for details. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Mon Dec 10 15:57:26 2007 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Mon, 10 Dec 2007 08:57:26 -0600 Subject: Differentiate between monitoring modem Vs router In-Reply-To: <200710021134.41242.michaelkintzios@gmail.com> References: <200709302242.17576.michaelkintzios@gmail.com> <200710021134.41242.michaelkintzios@gmail.com> Message-ID: <1197298646.7678.8.camel@UNIX-TEAM-LACAYO> Hello Everyone, Is anyone out there in NAGIOS land monitoring UPSes? If so what is the best way of monitoring them? Can you share your Checkcommand to do this? thanks, Luis Luis Fernando Lacayo Senior Unix Administrator ITS/ UNIX Infrastructure Office: 773-553-3835 Cell: 773-203-4493 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Dec 10 16:00:35 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 10 Dec 2007 16:00:35 +0100 Subject: Differentiate between monitoring modem Vs router In-Reply-To: <1197298646.7678.8.camel@UNIX-TEAM-LACAYO> References: <200709302242.17576.michaelkintzios@gmail.com><200710021134.41242.michaelkintzios@gmail.com> <1197298646.7678.8.camel@UNIX-TEAM-LACAYO> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A2D8@hermes.sapphire-int.gi> > Hello Everyone, > > Is anyone out there in NAGIOS land monitoring UPSes? If so what is the > best way of monitoring them? Can you share your Checkcommand to do this? > > thanks, > > Luis > It's never a good idea to hijack someone else's thread for a completely unrelated post, more so if you don't change the subject line of the message. There is a plugin for APC UPSs on the Nagios Exchange site. Most other UPSs have browsable SNMP agents which ought to suit your needs with the check_snmp plugin. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederic.schaer at cea.fr Mon Dec 10 16:29:38 2007 From: frederic.schaer at cea.fr (SCHAER Frederic) Date: Mon, 10 Dec 2007 16:29:38 +0100 Subject: NRPE: Unable to read output for check_procs In-Reply-To: <475968D2.2010207@okstate.edu> References: <475968D2.2010207@okstate.edu> Message-ID: Hi, Is there really a "i" before the /usr/lib/... in your check_procs command definition ? Other question : is any other nrpe command working ? Regards -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jason Joines Sent: Friday, December 07, 2007 4:38 PM To: Nagios Users Subject: [Nagios-users] NRPE: Unable to read output for check_procs I'm running Nagios 2.9 and NRPE 2.8.1 on Ubuntu 7.10 Gutsy. On the box running NRPE, I have check_procs defined in /etc/nagios/nrpe.cfg as: command[check_procs]=i/usr/lib/nagios/plugins/check_procs -w 250 -c 400 and I'm running NRPE as a daemon via "/usr/sbin/nrpe -c /etc/nagios/nrpe.cfg -d" as the user nagios. When I run the check locally on the NRPE box it works just fine: root at box02:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs PROCS OK: 78 processes root at box02:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs -w 250 -c 400 PROCS OK: 78 processes On the Nagios box I have the service defined in /etc/nagios2/conf.d/box02_nagios2.cfg as: define service{ use generic-service host_name box02 service_description Total Processes check_command check_nrpe_1arg!check_procs } However, both the web interface and the command line show "Unable to read output": root at box01:~# /usr/lib/nagios/plugins/check_nrpe -H box02.sub.dom.top -c check_procs NRPE: Unable to read output root at box01:~# Most of the other NRPE checks defined for box02 work as expected. Any ideas? Jason Joines ================================= ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joines at okstate.edu Mon Dec 10 16:36:20 2007 From: joines at okstate.edu (Jason Joines) Date: Mon, 10 Dec 2007 09:36:20 -0600 Subject: NRPE: Unable to read output for check_procs In-Reply-To: References: <475968D2.2010207@okstate.edu> Message-ID: SCHAER Frederic wrote: > Hi, > > Is there really a "i" before the /usr/lib/... in your check_procs > command definition ? > Other question : is any other nrpe command working ? > > Regards > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Jason > Joines > Sent: Friday, December 07, 2007 4:38 PM > To: Nagios Users > Subject: [Nagios-users] NRPE: Unable to read output for check_procs > > > I'm running Nagios 2.9 and NRPE 2.8.1 on Ubuntu 7.10 Gutsy. > > On the box running NRPE, I have check_procs defined in > /etc/nagios/nrpe.cfg as: > command[check_procs]=i/usr/lib/nagios/plugins/check_procs -w 250 -c 400 > and I'm running NRPE as a daemon via "/usr/sbin/nrpe -c > /etc/nagios/nrpe.cfg -d" as the user nagios. > > When I run the check locally on the NRPE box it works just fine: > root at box02:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs > PROCS OK: 78 processes > root at box02:~# sudo -u nagios /usr/lib/nagios/plugins/check_procs -w 250 > -c 400 > PROCS OK: 78 processes > > On the Nagios box I have the service defined in > /etc/nagios2/conf.d/box02_nagios2.cfg as: > define service{ > use generic-service > host_name box02 > service_description Total Processes > check_command check_nrpe_1arg!check_procs > } > > However, both the web interface and the command line show "Unable to > read output": > root at box01:~# /usr/lib/nagios/plugins/check_nrpe -H box02.sub.dom.top -c > check_procs > NRPE: Unable to read output > root at box01:~# > > Most of the other NRPE checks defined for box02 work as expected. > Any ideas? > > > Jason Joines > ================================= Unfortunately, yes. I can't believe I missed that. Thanks. Jason =========== ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lflacayo at cps.k12.il.us Mon Dec 10 17:04:58 2007 From: lflacayo at cps.k12.il.us (Luis Fernando Lacayo) Date: Mon, 10 Dec 2007 10:04:58 -0600 Subject: monitoring UPS In-Reply-To: <2b7af7c40710010854l76f3f8d1q9d4fd53d7e9ff365@mail.gmail.com> References: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi> <2b7af7c40710010854l76f3f8d1q9d4fd53d7e9ff365@mail.gmail.com> Message-ID: <1197302698.7678.32.camel@UNIX-TEAM-LACAYO> Hi Everyone, I was wondering if there is anyone out there in NAGIOS land that can help me with an snmp issue that I have. I have to monitor 5 UPSes for our VOIP system. I want to monitor the following: when the UPS starts using the battery the battery charge Status, and report when it has less than 10% of the battery charge. I have the document with the MIBS, but I can not make sense ot tails out of it. Any help will be appreciated. thank you Luis ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Mon Dec 10 17:12:05 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Mon, 10 Dec 2007 17:12:05 +0100 Subject: monitoring UPS In-Reply-To: <1197302698.7678.32.camel@UNIX-TEAM-LACAYO> References: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi><2b7af7c40710010854l76f3f8d1q9d4fd53d7e9ff365@mail.gmail.com> <1197302698.7678.32.camel@UNIX-TEAM-LACAYO> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A2DF@hermes.sapphire-int.gi> > Hi Everyone, > > I was wondering if there is anyone out there in NAGIOS land that can > help me with an snmp issue that I have. > > I have to monitor 5 UPSes for our VOIP system. > > I want to monitor the following: > > when the UPS starts using the battery > the battery charge Status, and report when it has less than 10% of the > battery charge. > > I have the document with the MIBS, but I can not make sense ot tails out > of it. > > Any help will be appreciated. > It might help if you specify the model and/or manufacturer of your UPS? APC: http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=5 17 http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=2 61 Chloride UPS: http://www.nagiosexchange.org/Misc.54.0.html?&tx_netnagext_pi1[p_view]=9 37 SOCOMEC UPS: http://www.nagiosexchange.org/SNMP.51.0.html?&tx_netnagext_pi1[p_view]=1 144 Liebert NPOWER UPS: http://www.nagiosexchange.org/Environmental.60.0.html?&tx_netnagext_pi1[ p_view]=638 If you have the MIB something like iReasoning's MIB browser and a SNMP walk will help you immensely. Thanks Giles ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From plauda at csky.com Mon Dec 10 18:37:34 2007 From: plauda at csky.com (Peter Lauda) Date: Mon, 10 Dec 2007 13:37:34 -0400 Subject: check_by_ssh Message-ID: <06B90BDBDEEFD411BFB900508BDC9340033C5238@orlexch02.brience.local> I'm sure this has been addressed but I can't find any resolutions that seem to work in my environment. My apologies in advance. I am trying to use check_by_ssh to invoke remote system/service checks rather than using nrpe. I have had great success with nrpe but I do not have the authority to implement using nrpe because of the nature of the critical services running on some of our machines and the absolute 24/7 requirement. A high level of paranoia keeps nrpe out of the mix. So in order to use nagios and remote service/system checks I need check_by_ssh. I've set up a test command to run a remote check_load using check_by_ssh and when I run it manually it works as expected. When it is run in the nagios framework I get the "(No output!)" result. There is no banner enabled on the client. The key exchange is working fine. I even updated the check_by_ssh by getting the 1.4.10 plugin package this morning. Any input on what to look at or additional debug flags to set would be greatly appreciated. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Mon Dec 10 22:31:16 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Mon, 10 Dec 2007 21:31:16 +0000 (GMT) Subject: notification In-Reply-To: References: Message-ID: <40631.58015.qm@web26205.mail.ukl.yahoo.com> hi I added this: define hostescalation{ host_name host1 contact_groups nagios-admin first_notification 3 last_notification 5 notification_interval 1440 } however, nagios gives an error: Error: Contact group 'nagios-admin' specified in host escalation for host 'host1' is not defined anywhere! Checked 1 host escalations. __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Mon Dec 10 22:42:11 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Mon, 10 Dec 2007 21:42:11 +0000 (GMT) Subject: notification In-Reply-To: <40631.58015.qm@web26205.mail.ukl.yahoo.com> References: <40631.58015.qm@web26205.mail.ukl.yahoo.com> Message-ID: <313615.27624.qm@web26202.mail.ukl.yahoo.com> I am sorry ...I got the error. Now I have this: define hostescalation{ host_name host1 contact_groups admins first_notification 3 last_notification 5 notification_interval 1440 } I will test and monitor. __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From melanie_pfefer at yahoo.co.uk Mon Dec 10 22:43:34 2007 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Mon, 10 Dec 2007 21:43:34 +0000 (GMT) Subject: sms and emails Message-ID: <592980.28889.qm@web26202.mail.ukl.yahoo.com> I have nagios alerts sent by email and sms. I would like to have alerts sent about a host to be sent only by e-mail and not sms. how to do that in nagios? thanks. __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Dec 10 23:31:49 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 10 Dec 2007 14:31:49 -0800 Subject: check tcp range? Message-ID: <2b7af7c40712101431u16688e2eg296007859ab6401b@mail.gmail.com> I've got a firewall that is proxying (via port address translations) VNC connections to several internal IP addresses. What is the best way to scan this TCP port range (rather than simply making a separate check_tcp service for each port)? (I thought I remembered seeing a plugin to scan for a range, but for whatever reason, I cannot seem to find it on google) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdbtdb+nagios at gmail.com Tue Dec 11 00:44:19 2007 From: tdbtdb+nagios at gmail.com (Dave) Date: Mon, 10 Dec 2007 17:44:19 -0600 Subject: restricting unknown user In-Reply-To: <943be0b10712101531m252a229cqb46a6e71614210@mail.gmail.com> References: <20071209085637.B94154F4045@desire.netways.de> <943be0b10712101531m252a229cqb46a6e71614210@mail.gmail.com> Message-ID: <943be0b10712101544i67643080l3a7eba2df7ced27c@mail.gmail.com> arpwatch does something like that, keeps an eye on what mac addresses are active using what IP on the local subnet, sends an alert when a new mac address appearrs or some change occurs in the pairs of active MAC/IP pairs. Currently there is no integration between arpwatch and nagios. arpwatch sends email alerts, maybe outputs to the log or console? I don't think it is a good fit, since nagios assumes that all the hosts it cares about are pre-defined in its config file. There might be a web front end available for arpwatch I am unfamiliar with, if so that sounds more like what you want. HTH Dave On Dec 9, 2007 2:56 AM, sachin kumar wrote: > Hi list > > I want to configure nagios in such a way that if unknown mac-address enters into network to access resources , that system will be displayed in nagios.I want to create a list of mac-addresses which are in our network , and link it with nagios and if any other mac-address (out of this list)connects to network, it will be displayed in the nagios . > > > > - sachin kumar (sachin1361) > > ----------------------- > The mailing list archive is found here: > http://www.nagiosexchange.org/nagios-users.34.0.html > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MJoyce at ccia.unsw.edu.au Tue Dec 11 05:46:29 2007 From: MJoyce at ccia.unsw.edu.au (Matthew Joyce) Date: Tue, 11 Dec 2007 15:46:29 +1100 Subject: VMWare and Host Parents Message-ID: <2A67EA781EC7F949A2AB0A0D07A86C6A03630309@mail01.ccia.local> Does anyone have any working strategies for dealing with Host Parents on systems where parents may change ? I have multiple VMware ESX server and we will be moving guest systems between them, thusly the Parent IP will change. I saw a posting saying to create a virtual host which represents the ESX cluster and to use check_summary to test for at least one OK ESX server. The check_summary didn't work for me, I wondered if there was another way to achieve the same result ? Thanks Matthew Joyce | IT Manager | Children's Cancer Institute Australia | 02 9382 0051 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 11 06:52:36 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 10 Dec 2007 21:52:36 -0800 Subject: restricting unknown user In-Reply-To: <943be0b10712101544i67643080l3a7eba2df7ced27c@mail.gmail.com> References: <20071209085637.B94154F4045@desire.netways.de> <943be0b10712101531m252a229cqb46a6e71614210@mail.gmail.com> <943be0b10712101544i67643080l3a7eba2df7ced27c@mail.gmail.com> Message-ID: <2b7af7c40712102152t6d8846dckcc08be559f8cb760@mail.gmail.com> Not quite what you're looking for, but maybe along those lines is check_find_new_hosts. http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=275&tx_netnagext_pi1[page]=30%3A10 I posted something up on my wiki a while ago on it http://nagioswiki.com/wiki/index.php/Check_find_new_hosts (I've been meaning to put up some more examples when I get time) An example (if I remember right) of it's usage would go something like: ./check_find_new_hosts /path/to/some/folder 10.200.200.0 24 you at yourdomain.com /usr/sbin/fping a -r 1 -g 10.200.200.0/24 2>/dev/null | OK: No network changes occurred. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 11 09:49:34 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Dec 2007 09:49:34 +0100 Subject: monitoring UPS In-Reply-To: <1197302698.7678.32.camel@UNIX-TEAM-LACAYO> References: <9D30659ABCA7FB428CF91E386C3A57448E19A1@hermes.sapphire-int.gi> <2b7af7c40710010854l76f3f8d1q9d4fd53d7e9ff365@mail.gmail.com> <1197302698.7678.32.camel@UNIX-TEAM-LACAYO> Message-ID: <475E4F1E.5010501@op5.se> Luis Fernando Lacayo wrote: > Hi Everyone, > Hi. This is the second time you've hijacked a thread. Please don't do that again. It's extremely annoying when one views mailing lists in threaded mode, not to mention it completely f*cks up the list archives. > I was wondering if there is anyone out there in NAGIOS land that can > help me with an snmp issue that I have. > There sure is. You'll get more help and a better over-all reception if you follow the simple rules outlined in http://www.catb.org/~esr/faqs/smart-questions.html though. > I have to monitor 5 UPSes for our VOIP system. > > I want to monitor the following: > > when the UPS starts using the battery > the battery charge Status, and report when it has less than 10% of the > battery charge. > > I have the document with the MIBS, but I can not make sense ot tails out > of it. > I usually do a simple snmpwalk toward the host in question. That usually gives a lot more human-parseable output than the mibs ever have. Seeing something such as "UPSBatteryPctCapacity = INTEGER: 100" makes things quite readable, imo. For UPS-specific stuff, google might have some answers. > Any help will be appreciated. > I just gave you some. Now it's your turn to do some work and then report your findings back here. > thank you > You're welcome. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 11 10:13:24 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Dec 2007 10:13:24 +0100 Subject: VMWare and Host Parents In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A03630309@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A03630309@mail01.ccia.local> Message-ID: <475E54B4.7060701@op5.se> Matthew Joyce wrote: > Does anyone have any working strategies for dealing with Host Parents on > systems where parents may change ? > > I have multiple VMware ESX server and we will be moving guest systems > between them, thusly the Parent IP will change. > Manually or automatically (when one VMWare host server fails, fe)? If manually and the guests will then run on that host-server only, there is no simple way to tell nagios this. It's akin to moving a server from one room to another. Nagios can't know that parents have changed unless you tell it to, so you'll have to reconfigure Nagios when it happens. > > > I saw a posting saying to create a virtual host which represents the ESX > cluster and to use check_summary to test for at least one OK ESX server. > > > > The check_summary didn't work for me, I wondered if there was another > way to achieve the same result ? > If it's supposed to happen automatically, you can use check_icmp in check_host mode, like so: ln -s check_icmp check_host ./check_host ip1 ip2 ip3 ... ipN If at least one server responds, it will return ok. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benoit-lists at fb12.de Tue Dec 11 10:26:44 2007 From: benoit-lists at fb12.de (Sebastian Benoit) Date: Tue, 11 Dec 2007 10:25:44 +0059 Subject: multiple notifications with differing interval Message-ID: <20071211092606.GA43764@mail.webmonster.de> Hi, i have a question regarding the following setup: I have Nagios send SMS for host and service alerts to a mobile phone. Also, I send those notifications to several jabber-users. This works fine. Now, the requirement is to send the SMS in 15 minute intervals. But I want to avoid spamming the jabber-users, and send notifications to them only every hour or so. I can use host escalations and service escalations to do that, however, i don't want serviceescalation-definitions for every service. Is that possible? Is there a way to have an escalation that applies to several services and hosts at once? /Benno -- Sebastian Benoit ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Dec 11 10:29:23 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 11 Dec 2007 09:29:23 +0000 Subject: restricting unknown user In-Reply-To: <943be0b10712101544i67643080l3a7eba2df7ced27c@mail.gmail.com> References: <20071209085637.B94154F4045@desire.netways.de> <943be0b10712101531m252a229cqb46a6e71614210@mail.gmail.com> <943be0b10712101544i67643080l3a7eba2df7ced27c@mail.gmail.com> Message-ID: <475E5873.4010900@googlemail.com> Dave wrote: > arpwatch does something like that, keeps an eye on what mac addresses > are active using what IP on the local subnet, sends an alert when a > new mac address appearrs or some change occurs in the pairs of active > MAC/IP pairs. > > Currently there is no integration between arpwatch and nagios. > arpwatch sends email alerts, maybe outputs to the log or console? > > I don't think it is a good fit, since nagios assumes that all the > hosts it cares about are pre-defined in its config file. > > > On Dec 9, 2007 2:56 AM, sachin kumar wrote: > >> Hi list >> >> I want to configure nagios in such a way that if unknown mac-address enters into network to access resources , that system will be displayed in nagios.I want to create a list of mac-addresses which are in our network , and link it with nagios and if any other mac-address (out of this list)connects to network, it will be displayed in the nagios . >> >> >> >> - sachin kumar (sachin1361 Although not a complete fit, one thing I do is run a check of all dhcpd leases that were handed out by all of my Isc Dhcpd servers using a plugin I wrote: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=1164&tx_netnagext_pi1[page]=20%3A10 This can use whitelists, so you can whitelist your Mac addresses and it will raise a critical alert in Nagios if a lease is given out to any non recognized Mac. Since spoofing the Mac is obvious, it can also take a list of hostnames since this is less obvious to spoof. If you use both, chances are that anyone jumping on your network and being issued a dhcp lease from dhcpd will trip it and alert you. It's not a complete solution but is nice from the defense in depth point of view of multiple layers. It's also just nice to see at a glance in Nagios who has leases on your dhcpd server and the output is fairly flexible. Of course, someone who gets on your network may not use dhcp at all but this is just a small piece of the puzzle. I also use arpwatch which can indeed alert on mac changes or additions, or you can use it's logging to alert from a central place... Arpwatch will not integrate directly into Nagios, but since arpwatch can log to syslog, you could use a nagios log check to alert on any logged Mac additions. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From duncan.ferguson at altinity.com Tue Dec 11 10:45:22 2007 From: duncan.ferguson at altinity.com (Duncan Ferguson) Date: Tue, 11 Dec 2007 09:45:22 +0000 Subject: sms and emails In-Reply-To: <592980.28889.qm@web26202.mail.ukl.yahoo.com> References: <592980.28889.qm@web26202.mail.ukl.yahoo.com> Message-ID: On 10 Dec 2007, at 21:43, Melanie Pfefer wrote: > I have nagios alerts sent by email and sms. > > I would like to have alerts sent about a host to be > sent only by e-mail and not sms. > > how to do that in nagios? > Melanie, Use two contact definitions per person, one for SMS, one for email and set notification options differently for what you want to go via each contact. Duncs -- Duncan Ferguson Senior Developer, Altinity Limited http://www.altinity.com Tel: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: duncan_j_ferguson MSN: duncan.ferguson at altinity.com The contents of this email and any files transmitted with it are confidential and intended solely for the use of the individuals to whom it is addressed. If you are not the intended recipient or have received this e-mail in error please notify the sender and delete this e-mail immediately. Any unauthorised copying, disclosure or distribution of the material in this e-mail is strictly prohibited. Altinity Limited | 404 Seven Sisters Road | London | N4 2LX | United Kingdom Registered in England and Wales under company number 4743767 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ankit.mehrotra at tcs.com Tue Dec 11 12:12:19 2007 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Tue, 11 Dec 2007 16:42:19 +0530 Subject: Event Handlers on the External Commands Message-ID: I am trying to get the performance data from the remote machines passively and want to control the starting and the stopping of the monitoring probes from the Nagios Server machine. For this, I want to write Event Handlers on the External Commands, but I am not sure How to go about it ? Does somebody has any idea about it ? any sample code will be of great help. Thanks Ankit =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 11 12:24:05 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Dec 2007 12:24:05 +0100 Subject: Event Handlers on the External Commands In-Reply-To: References: Message-ID: <475E7355.7090100@op5.se> ankit.mehrotra at tcs.com wrote: > I am trying to get the performance data from the remote machines passively > and want to control the starting and the stopping of the monitoring probes > from the Nagios Server machine. > > For this, I want to write Event Handlers on the External Commands, but I am > not sure How to go about it ? > Does somebody has any idea about it ? any sample code will be of great > help. > Write it as a NEB-module. An example module can be found in modules/helloworld.c in the nagios source tarball. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrei.staicu at ipso.ro Tue Dec 11 13:37:28 2007 From: andrei.staicu at ipso.ro (Andrei-Florian Staicu) Date: Tue, 11 Dec 2007 14:37:28 +0200 Subject: Define multiple serves per host(s) Message-ID: <475E8488.9050802@ipso.ro> Hello, I saw in the Nagios docs, in the Time-Saving Tricks For Object Definitions page, how to use regular expressions for defining identical services for multiple hosts. Is there a "shortcut" for defining similar multiple services for multiple hosts? The actual case here is to monitor the link status on all ports on several identical switches. I hope to bypass creating a huge config file from the command prompt. Thanks for any advice ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 11 14:01:54 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Dec 2007 14:01:54 +0100 Subject: Define multiple serves per host(s) In-Reply-To: <475E8488.9050802@ipso.ro> References: <475E8488.9050802@ipso.ro> Message-ID: <475E8A42.4050600@op5.se> Andrei-Florian Staicu wrote: > Hello, > > I saw in the Nagios docs, in the Time-Saving Tricks For Object > Definitions page, how to use regular expressions for defining identical > services for multiple hosts. > Is there a "shortcut" for defining similar multiple services for > multiple hosts? > The actual case here is to monitor the link status on all ports on > several identical switches. > I hope to bypass creating a huge config file from the command prompt. > Make a hostgroup of all your switches and define your service like this: define service{ service_description yada yada hostgroup_name all-the-routers check_command more yada yada yada and more yada } -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kmizole at free.fr Tue Dec 11 14:19:29 2007 From: kmizole at free.fr (kmizole) Date: Tue, 11 Dec 2007 14:19:29 +0100 Subject: Nagios & Perfparse Message-ID: <61feb6e60712110519g2d172767w3d576f04ee9d806c@mail.gmail.com> Hi everyone, I encounter some problems with perfparse, and after 3 days of googling I finally decided to post here :) I hope that someone will have an answer. The problem is that no information is logged to database : My server is a CentOS 4.5 with Nagios 2.10, perfparse 0.106.1, Centreon 1.4 These are my config files : ################ ## Perfparse.cfg ## ################ Server_Port = "1976" Service_Log = "-" Service_Log_Position_Mark_Path = "/usr/local/nagios/var/serviceperf.log" Error_Log = "/usr/local/nagios/var/perfparse.log" Error_Log_Rotate = "Yes" Error_Log_Keep_N_Days = "7" Drop_File = "/tmp/perfparse.drop" Drop_File_Rotate = "Yes" Drop_File_Keep_N_Days = "7" Lock_File = "/usr/local/nagios/var/perfparse.lock" Show_Status_Bar = "Yes" Do_Report = "Yes" Default_user_permissions_Policy = "rw" Default_user_permissions_Host_groups = "rw" Default_user_permissions_Summary = "rw" Output_Log_File = "Yes" Output_Log_Filename = "/usr/local/nagios/var/perfparse_output_log" Output_Log_Rotate = "Yes" Output_Log_Keep_N_Days = "7" Use_Storage_Socket_Output = "Yes" Storage_Socket_Output_Host_Name = "127.0.0.1" Storage_Socket_Output_Port = "1974" Use_Storage_Mysql = "Yes" No_Raw_Data = "Yes" No_Bin_Data = "No" DB_User = "perfparse" DB_Pass = "perfparse" DB_Name = "perfparse" DB_Host = "127.0.0.1" Dummy_Hostname = "dummy" Storage_Modules_Load = "mysql" ############################## ## Output in perfdata_host.dat ## ############################## 1197363588 ServeurJBossN3 check_host_alive PING CRITICAL - Paquets perdus = 100% DOWN 1197363598 ServeurJBossN3 check_host_alive PING CRITICAL - Paquets perdus = 100% DOWN 1197363618 ServeurJBossN4 check_host_alive PING CRITICAL - Paquets perdus = 100% DOWN 1197363628 ServeurJBossN4 check_host_alive PING CRITICAL - Paquets perdus = 100% DOWN 1197363638 ServeurJBossN4 check_host_alive PING CRITICAL - Paquets perdus = 100% DOWN 1197363648 ServeurJBossN4 check_host_alive PING CRITICAL - Paquets perdus = 100% DOWN ####################### ## When I force parsing ## ####################### [root at localhost bin]# /bin/cat /usr/local/nagios/var/perfdata-host.dat | /usr/local/nagios/bin/perfparse-log2mysql -c /usr/local/nagios/etc/perfparse.cfg 00:00:00 lu 105 @ 0,0 l/sec. Met 0 @ 0,00 Met/l. Rej 105. +-----------------------------+ +-----------------------------+ | Generic statistics | | Nb Log Lines : 1 | | Nb lines parsed : 105 | | Nb lines dropped : 105 | | Start date : 2007-12-11 | | Elapsed time : 00:00:00 | | Start time : 10:02:05 | | Rate : (line/sec) 0,00 | +-----------------------------+ +-----------------------------+ +-----------------------------+ +-----------------------------+ | MySQL storage statistics | | | | New Hosts : 0 | | Metric/line : 0,00 | | New Metrics : 0 | | Metrics Recorded : 0 | | New Services : 0 | | Summary Rec Added : 0 | | New Summary Group : 0 | | SQL Queries : 19 | +-----------------------------+ +-----------------------------+ ############## ## nagios.cfg ## ############## process_performance_data=1 host_perfdata_file=/usr/local/nagios/var/perfdata-host.dat service_perfdata_file=/usr/local/nagios/var/perfdata-service.dat host_perfdata_file_template=$TIMET$ $HOSTNAME$ $HOSTCHECKCOMMAND$ $HOSTOUTPUT$ $HOSTSTATE$ $HOSTPERFDATA$ service_perfdata_file_template=$TIMET$ $HOSTNAME$ $SERVICEDESC$ $SERVICEOUTPUT$ $SERVICESTATE$ $SERVICEPERFDATA$ host_perfdata_file_mode=2 service_perfdata_file_mode=2 host_perfdata_file_processing_interval=10 service_perfdata_file_processing_interval=10 host_perfdata_file_processing_command=process2mysql_host_data service_perfdata_file_processing_command=process2mysql_service_data ############## ## commands ## ############## define command{ command_name process2mysql_host_data command_line /bin/cat /usr/local/nagios/var/perfdata-host.dat | /usr/local/nagios/bin/perfparse-log2mysql -c /usr/local/nagios/etc/perfparse.cfg } define command{ command_name process2mysql_service_data command_line /bin/cat /usr/local/nagios/var/perfdata-service.dat | /usr/local/nagios/bin/perfparse-log2mysql -c /usr/local/nagios/etc/perfparse.cfg } ############## The output is correct (with tabs, not spaces) but i don't see any information for $HOSTPERFDATA$ or $SERVICEPERFDATA$ I don't get any logs in /usr/local/nagios/var for perfparse. If i forgot something let me know :) If you have some clues thanks in advance for your replies. Regards, S?bastien ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 11 15:34:09 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 11 Dec 2007 15:34:09 +0100 Subject: Define multiple serves per host(s) Message-ID: <475E9FE1.2060207@op5.se> Ach. forgot to CC the list. My apologies -------- Original Message -------- From: - Tue Dec 11 15:33:11 2007 Message-ID: <475E9F94.1010107 at op5.se> Date: Tue, 11 Dec 2007 15:32:52 +0100 From: Andreas Ericsson To: Andrei-Florian Staicu Subject: Re: [Nagios-users] Define multiple serves per host(s) References: <475E8488.9050802 at ipso.ro> <475E8A42.4050600 at op5.se> <475E9646.7030807 at ipso.ro> In-Reply-To: <475E9646.7030807 at ipso.ro> Andrei-Florian Staicu wrote: > Andreas Ericsson wrote: >> Make a hostgroup of all your switches and define your service like this: >> >> define service{ >> service_description yada yada >> hostgroup_name all-the-routers >> check_command more yada yada >> yada and more yada >> } >> > Yes, but each switch has 24 ports. Since the check_command is different > for each port (different oid's), shouldn't there be a service for each > port? Or can I avoid this? > You can't avoid that then. What you're asking now doesn't match what you wanted at first though: > The actual case here is to monitor the link status on all ports on > several identical switches. > I hope to bypass creating a huge config file from the command prompt. To monitor the link status of ALL ports wouldn't be terribly difficult. Just make a script to check all ports on one switch and use that in your check command definition. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Tue Dec 11 16:54:01 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Tue, 11 Dec 2007 10:54:01 -0500 Subject: check_perc.pl References: <78926d250709141708h2b98caa5u34f5c5c8e38deffd@mail.gmail.com> <78926d250712040720r76970f5bmdb5e29a8ec64b0e4@mail.gmail.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2926@RL03EXCH1.replacements.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of slamp slamp Sent: Tuesday, December 04, 2007 10:21 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_perc.pl anyone using the check_perc plugin and have a fix for the Learning state of the Battery? On Sep 14, 2007 7:08 PM, slamp slamp wrote: > To Matt Stanford. > We just started to use your script. It doesn't seem to take into > consideration when state is Learning. It throws a warning like so: > > ** Global Storage Alarm WARNING ** PERC Channel is OK: PERC Battery is > 36: All Disks are OK: > > 36 means Learning. I don't know if this needs fixing or not. But it > seems that this is a non-critical state. We should not be getting an > alert on it? > ------------------------------------------------------------------------ - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null I am using check_perc and am having a problem. I can run it from cli but when I run it from nagios, I get a null response. I see in the instructions that I may have to edit use lib line, but I am not sure what it is looking for. Any help? Robert ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Tue Dec 11 17:03:58 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Tue, 11 Dec 2007 11:03:58 -0500 Subject: check_perc.pl References: <78926d250709141708h2b98caa5u34f5c5c8e38deffd@mail.gmail.com><78926d250712040720r76970f5bmdb5e29a8ec64b0e4@mail.gmail.com> <1DBAECAF1663DF4B97779F24ABABE24A014A2926@RL03EXCH1.replacements.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2927@RL03EXCH1.replacements.com> -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Ferguson Sent: Tuesday, December 11, 2007 10:54 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_perc.pl -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of slamp slamp Sent: Tuesday, December 04, 2007 10:21 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_perc.pl anyone using the check_perc plugin and have a fix for the Learning state of the Battery? On Sep 14, 2007 7:08 PM, slamp slamp wrote: > To Matt Stanford. > We just started to use your script. It doesn't seem to take into > consideration when state is Learning. It throws a warning like so: > > ** Global Storage Alarm WARNING ** PERC Channel is OK: PERC Battery is > 36: All Disks are OK: > > 36 means Learning. I don't know if this needs fixing or not. But it > seems that this is a non-critical state. We should not be getting an > alert on it? > ------------------------------------------------------------------------ - SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future. http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null I am using check_perc and am having a problem. I can run it from cli but when I run it from nagios, I get a null response. I see in the instructions that I may have to edit use lib line, but I am not sure what it is looking for. Any help? Robert ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Well, I am answering my own question it is looking for utils.pm. Example of "Read the Manual". I still am having problems though. I am still reciveing a null response. Any suggestions? Robert ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Tue Dec 11 18:29:57 2007 From: mwjredding at gmail.com (mark redding) Date: Tue, 11 Dec 2007 17:29:57 +0000 Subject: Event Handlers on the External Commands In-Reply-To: References: Message-ID: Hi, On 11/12/2007, ankit.mehrotra at tcs.com wrote: > > For this, I want to write Event Handlers on the External Commands, but I am > not sure How to go about it ? > Does somebody has any idea about it ? any sample code will be of great > help. These snippet of shell script may be of use (at least to show you how to send commands to nagios externally). #!/bin/sh # post commands to nagios now=$(date +%s) echo "[$now] ENABLE_NOTIFICATIONS" > /data/nagios/spool/rw/nagios.cmd echo "[$now] STOP_EXECUTING_HOST_CHECKS" > /data/nagios/spool/rw/nagios.cmd echo "[$now] START_EXECUTING_SVC_CHECKS" > /data/nagios/spool/rw/nagios.cmd echo "[$now] DISABLE_PERFORMANCE_DATA" > /data/nagios/spool/rw/nagios.cmd echo "[$now] DISABLE_HOST_CHECK;www.site.com" > /data/nagios/spool/rw/nagios.cmd echo "[$now] DISABLE_SVC_CHECK;web;WEBSITE" > /data/nagios/spool/rw/nagios.cmd #!/bin/sh # process an event handler echo `date` ": called $0 script with $1 $2 $3" >> ~/event.log case "$1" in OK) ;; WARNING) ;; UNKNOWN) ;; CRITICAL) case "$2" in SOFT) case "$3" in 1) ssh -l nagios webserver sudo /www/bin/apachectl restart echo `date` ": apache rebooted" >> ~/event.log ;; esac ;; HARD) case "$3" in 3) ssh -l nagios webserver sudo /www/bin/apachectl restart echo `date` ": apache rebooted again" >> ~/event.log ;; esac ;; esac esac -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shawn.Bigley at nscc.ca Tue Dec 11 18:42:22 2007 From: Shawn.Bigley at nscc.ca (Bigley,Shawn) Date: Tue, 11 Dec 2007 13:42:22 -0400 Subject: Monarch not saving Contact gRoup info. Message-ID: Hi all.. I was on vacation and when I returned I was the Nagios Admin. Actually enjoying it so far but I have run into an issue. I am using Monarch (GroundWork Monitor Architect 2.0) and I created a new Host. Worked great however when I add a contact group. I can highlight it. I can click Add. It appears in the left hand list of contact groups on the host page. I can click Save. It says it's saved, but when I view the host again, my contact group is back in the right hand "not added" list of contact groups. Any thoughts? Shawn -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 11 20:34:10 2007 From: marc at ena.com (Marc Powell) Date: Tue, 11 Dec 2007 13:34:10 -0600 Subject: Monarch not saving Contact gRoup info. In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Bigley,Shawn > Sent: Tuesday, December 11, 2007 11:42 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monarch not saving Contact gRoup info. > > Hi all.. > > I was on vacation and when I returned I was the Nagios Admin. Actually > enjoying it so far but I have run into an issue. > > I am using Monarch (GroundWork Monitor Architect 2.0) and I created a new > Host. Worked great however when I add a contact group. I can highlight > it. I can click Add. It appears in the left hand list of contact groups on > the host page. I can click Save. It says it's saved, but when I view the > host again, my contact group is back in the right hand "not added" list of > contact groups. > > Any thoughts? You might try monarch-users -- http://sourceforge.net/mail/?group_id=130574. Chances are there's a higher population of Monarch users there than here and it appears to be a monarch issue. If you can show that nagios is doing something wrong, we'd be interested here. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Tue Dec 11 21:14:57 2007 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Tue, 11 Dec 2007 20:14:57 +0000 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 11/12/2007. End Date: 13/12/2007. Thank you for your mail. I am currently away from the office, returning on 13th December If you need a fault escalating please call the service desk on 0038696 (0870 241 5500) with the case reference and ask for Martina Nicholson who has overall responsibility for the Service Desk Dominic Pioli (Dominic Pioli at firstgroup.com - 07815756259) will also be availiable in my absence. Please use Dominic as an escelation point only. ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 11 22:49:59 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 11 Dec 2007 13:49:59 -0800 Subject: AIX log monitoring with check_log Message-ID: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> I'm looking for other AIX log monitoring recipes and am hoping someone here might be able to point me in the right direction. I see (sorta) how AIX creates logs and am wondering if anyone here has specific AIX-ish queries that they run with Nagios' check_log plugin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Wed Dec 12 01:03:45 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 11 Dec 2007 19:03:45 -0500 Subject: AIX log monitoring with check_log In-Reply-To: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> References: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> Message-ID: <1197417825.21165.121.camel@soundwave.pitbpa0.priv.collaborativefusion.com> On Tue, 2007-12-11 at 13:49 -0800, Roger wrote: > I'm looking for other AIX log monitoring recipes and am hoping someone > here might be able to point me in the right direction. I see (sorta) Why don't you post us some examples? We'll throw some ideas out. ~BAS > how AIX creates logs and am wondering if anyone here has specific > AIX-ish queries that they run with Nagios' check_log plugin. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Wed Dec 12 02:43:35 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Tue, 11 Dec 2007 19:43:35 -0600 Subject: AIX log monitoring with check_log In-Reply-To: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> References: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> Message-ID: <20071212014335.GA14814@odin.demosthenes.org> Roger, I have an ODM snippet I use which logs the errpt data into syslog. Then your syslog monitoring software (not necessarily Nagios) can pick it up. AIX's ODM has the ability to call scripts or commands in response to error log entries, if you want to differentiate. If you'd find it useful, I'd be happy to post it here. Thanks. On Tue, Dec 11, 2007 at 01:49:59PM -0800, Roger wrote: > I'm looking for other AIX log monitoring recipes and am hoping someone here > might be able to point me in the right direction. I see (sorta) how AIX > creates logs and am wondering if anyone here has specific AIX-ish queries > that they run with Nagios' check_log plugin. > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Dec 12 04:18:19 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 11 Dec 2007 19:18:19 -0800 Subject: AIX log monitoring with check_log In-Reply-To: <1197417825.21165.121.camel@soundwave.pitbpa0.priv.collaborativefusion.com> References: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> <1197417825.21165.121.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Message-ID: <2b7af7c40712111918w13beac7ft4b41064c79a39ce7@mail.gmail.com> On Dec 11, 2007 4:03 PM, Brian A. Seklecki wrote: > Why don't you post us some examples? We'll throw some ideas out. > For example, when the AIX cluster goes from active/passive -> passive/active, then it writes an event to the log. Not sure what that event is, but I'll soon look for it and monitor for it. AIX also has stuff in its error reporting program (errpt), so I can cron that to a log file and periodically check that for adapter errors or whatever. Hopefully I'll have something cool to share with the group in a few days.... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Dec 12 04:19:46 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 11 Dec 2007 19:19:46 -0800 Subject: AIX log monitoring with check_log In-Reply-To: <20071212014335.GA14814@odin.demosthenes.org> References: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> <20071212014335.GA14814@odin.demosthenes.org> Message-ID: <2b7af7c40712111919h5f433253gfec9d091cc00f99b@mail.gmail.com> On Dec 11, 2007 5:43 PM, Russell Adams wrote: > Roger, > > I have an ODM snippet I use which logs the errpt data into > syslog. Then your syslog monitoring software (not necessarily Nagios) > can pick it up. Wow, that is right up my alley. I know very little about AIX and am getting used to their funky way of doing logs! > AIX's ODM has the ability to call scripts or commands in response to > error log entries, if you want to differentiate. > > If you'd find it useful, I'd be happy to post it here. Yes, please do! Thanks again, Roger -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Dec 12 04:25:15 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 11 Dec 2007 19:25:15 -0800 Subject: HOWTO I wrote on installing NRPE from RPMs Message-ID: <2b7af7c40712111925m775f2ac5q3c444cc4d463d182@mail.gmail.com> For what it's worth, here is a HOWTO I made for some of the people I'm currently working with on how to install NRPE on a slew of RHEL-ish systems we currently have in production (Fedora, RHEL, CentOS). http://nagioswiki.com/wiki/index.php/Installing_NPRE_via_RPM Hopefully this helps others who are in the same boat. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunny at tetrain.com Wed Dec 12 08:24:04 2007 From: sunny at tetrain.com (Sunny Bhatheja) Date: Wed, 12 Dec 2007 12:54:04 +0530 (IST) Subject: Regarding Nagios Message-ID: <15158.203.145.141.38.1197444244.squirrel@mail.tetrain.com> Hello, My self Sunny Bhatheja. From Last 2 months i m working with nagios in different enviourments.I did many projects with nagios. So i would like to share my work that i did that can help the people to understand the nagios, installation and configuration and monitoring the linux , windows and sun system. I created a document i will upload on net after few days and i give the links on nagios list. .................................... Warm Regards Sunny Bhatheja +91-9911849409 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerhard.Lausser at consol.de Wed Dec 12 12:01:18 2007 From: Gerhard.Lausser at consol.de (Gerhard Lausser) Date: Wed, 12 Dec 2007 12:01:18 +0100 Subject: AIX log monitoring with check_log In-Reply-To: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> References: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> Message-ID: <033e01c83cae$52be2bf0$0202fea9@int.consol.de> Hi Roger, you might look at http://www.consol.com/opensource/nagios/check-logfiles/examples Example 15 If you define a search with type=>'errpr', check_logfiles reads the output of errpt as if it were a real logfile and only cares for messages which appeared since the last run. Additionally, you have a lot more possibilities to weight or manipulate the messages than with check_log. Greetings from Munich, Gerhard _____ Von: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] Im Auftrag von Roger Gesendet: Dienstag, 11. Dezember 2007 22:50 An: Nagios Users mailinglist Betreff: [Nagios-users] AIX log monitoring with check_log I'm looking for other AIX log monitoring recipes and am hoping someone here might be able to point me in the right direction. I see (sorta) how AIX creates logs and am wondering if anyone here has specific AIX-ish queries that they run with Nagios' check_log plugin. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Wed Dec 12 14:37:53 2007 From: mwjredding at gmail.com (mark redding) Date: Wed, 12 Dec 2007 13:37:53 +0000 Subject: VMWare and Host Parents In-Reply-To: <2A67EA781EC7F949A2AB0A0D07A86C6A03630309@mail01.ccia.local> References: <2A67EA781EC7F949A2AB0A0D07A86C6A03630309@mail01.ccia.local> Message-ID: Hi, > Does anyone have any working strategies for dealing with Host Parents on > systems where parents may change ? > > I have multiple VMware ESX server and we will be moving guest systems > between them, thusly the Parent IP will change. > You may be able to get around this by using check_cluster and having the cluster state retrun OK if the virtual machine appears as up on at least one of the clustered items. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Wed Dec 12 15:08:54 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Wed, 12 Dec 2007 07:08:54 -0700 Subject: Need the check_snmp module In-Reply-To: References: <4BE6EDFB3C58E24887D56332993B03AF03627DA2@VS2.EXCHPROD.USA.NET> Message-ID: <4BE6EDFB3C58E24887D56332993B03AF036C6E25@VS2.EXCHPROD.USA.NET> I am a newbie when it comes to Linux. Could someone send me the steps to get the check_snmp module compiled and installed? Thanks, Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, December 07, 2007 4:00 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Need the check_snmp module > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Egan > Sent: Friday, December 07, 2007 2:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Need the check_snmp module > > For some reason the check_snmp module did not install when I set up > Nagios. Can somebody tell me where I can get this module? Assuming you compiled the plugins from source, check the REQUIREMENTS file and/or the output from ./configure. -- Marc ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 12 15:26:58 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 12 Dec 2007 14:26:58 +0000 Subject: host and service commands Message-ID: <4b008f7d0712120626p4ae3e8f4re73037669194a6e7@mail.gmail.com> Hi Guys, I know this is a trivial question. I will like to know which command runs first, is it the service or host command. For instance. I have a unix server that has the 'check-host-alive' command and then I add a 'check_ping' and 'check_tcp' command. Which one runs first? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 12 15:43:17 2007 From: marc at ena.com (Marc Powell) Date: Wed, 12 Dec 2007 08:43:17 -0600 Subject: host and service commands In-Reply-To: <4b008f7d0712120626p4ae3e8f4re73037669194a6e7@mail.gmail.com> References: <4b008f7d0712120626p4ae3e8f4re73037669194a6e7@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: Wednesday, December 12, 2007 8:27 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] host and service commands > > Hi Guys, > > I know this is a trivial question. I will like to know which command runs > first, is it the service or host command. For instance. > > I have a unix server that has the 'check-host-alive' command and then I > add a 'check_ping' and 'check_tcp' command. Which one runs first? With nagios-2.x, service checks run first and almost exclusively. Host checks are never performed unless a service on the host fails. I am unsure of the scheduling if you have regularly scheduled host checks configured under nagios-3.x. I'm sure you can discover the answer in base/checks.c or perhaps someone else on the list with more experience with nagios-3 can answer. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 12 15:49:56 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 12 Dec 2007 14:49:56 +0000 Subject: host and service commands In-Reply-To: References: <4b008f7d0712120626p4ae3e8f4re73037669194a6e7@mail.gmail.com> Message-ID: <4b008f7d0712120649m5d917f4bred19c69a0f30af8@mail.gmail.com> So are you saying the service commands run before the host commands? On Dec 12, 2007 2:39 PM, Gary Every wrote: > Normally, the check-host-alive doesn't run unless there is a failure of > the other check commands on that host. > > > On Dec 12, 2007 7:26 AM, Alex Dehaini < alexdehaini at gmail.com> wrote: > > > Hi Guys, > > > > I know this is a trivial question. I will like to know which command > > runs first, is it the service or host command. For instance. > > > > I have a unix server that has the 'check-host-alive' command and then I > > add a 'check_ping' and 'check_tcp' command. Which one runs first? > > > > -- > > Alex Dehaini > > Developer > > Site - www.alexdehaini.com > > Email - alexdehaini at gmail.com > > > > ------------------------------------------------------------------------- > > SF.Net email is sponsored by: > > Check out the new SourceForge.net Marketplace. > > It's the best place to buy or sell services for > > just about anything Open Source. > > http://sourceforge.net/services/buy/index.php > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Gary Every > "Pay it Forward!" > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Wed Dec 12 16:06:59 2007 From: mwjredding at gmail.com (mark redding) Date: Wed, 12 Dec 2007 15:06:59 +0000 Subject: obsessing and event handlers In-Reply-To: References: Message-ID: Hi all, On 29/11/2007, mark redding wrote: > Hi all, > > Can anyone here tell me where I'm going wrong in my attempts to > correctly setup a slave nagios server. > > ... > > However, when I checked the system today I have found that although an > event handler should have been executed overnight, it did NOT get > executed. It seems that when I restarted nagios using the root account then the event handlers would not fire (although the process itself became nagios), but was fixed by ensuring that the restart took place using the nagios account itself (achieved using su - nagios -C "...") Just posting this in case it catches any one else out. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Wed Dec 12 16:26:51 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 12 Dec 2007 09:26:51 -0600 Subject: host and service commands In-Reply-To: <4b008f7d0712120649m5d917f4bred19c69a0f30af8@mail.gmail.com> References: <4b008f7d0712120626p4ae3e8f4re73037669194a6e7@mail.gmail.com> <4b008f7d0712120649m5d917f4bred19c69a0f30af8@mail.gmail.com> Message-ID: Too much top posting to respond easily > So are you saying the service commands run before the host commands? The host command doesn't "run" on a schedule as such. Once state is established the host check will not run unless a service on the host fails in the 2.x series. This is my understanding and it could be wrong so feel free to correct me. Therefore the service command runs before the host command in essence but it is a bad description as the service checks run without regard for the host check until a service check fails. There is more in depth explanation that can be done but the short answer is that the question assumes a schedule of events that is not entirely accurate. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 12 18:20:22 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 12 Dec 2007 17:20:22 +0000 Subject: specify normal_check_interval in seconds Message-ID: <4b008f7d0712120920r65a3328fxd0546ea42fe16fd7@mail.gmail.com> Hi guys, Can I specify 'normal_check_interval' in seconds? -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Wed Dec 12 18:17:39 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Wed, 12 Dec 2007 10:17:39 -0700 Subject: Need the check_snmp module In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF036C6E25@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF03627DA2@VS2.EXCHPROD.USA.NET> <4BE6EDFB3C58E24887D56332993B03AF036C6E25@VS2.EXCHPROD.USA.NET> Message-ID: <4BE6EDFB3C58E24887D56332993B03AF0370CAD7@VS2.EXCHPROD.USA.NET> Eureka!! I figured out my SNMP problem. It helps to carefully read the documentation. Thanks for all your help. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Egan Sent: Wednesday, December 12, 2007 8:09 AM To: Marc Powell; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Need the check_snmp module I am a newbie when it comes to Linux. Could someone send me the steps to get the check_snmp module compiled and installed? Thanks, Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, December 07, 2007 4:00 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Need the check_snmp module > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Egan > Sent: Friday, December 07, 2007 2:14 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Need the check_snmp module > > For some reason the check_snmp module did not install when I set up > Nagios. Can somebody tell me where I can get this module? Assuming you compiled the plugins from source, check the REQUIREMENTS file and/or the output from ./configure. -- Marc ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 12 18:33:43 2007 From: marc at ena.com (Marc Powell) Date: Wed, 12 Dec 2007 11:33:43 -0600 Subject: specify normal_check_interval in seconds In-Reply-To: <4b008f7d0712120920r65a3328fxd0546ea42fe16fd7@mail.gmail.com> References: <4b008f7d0712120920r65a3328fxd0546ea42fe16fd7@mail.gmail.com> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > Sent: Wednesday, December 12, 2007 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] specify normal_check_interval in seconds > > Hi guys, > > Can I specify 'normal_check_interval' in seconds? In nagios.cfg -- # INTERVAL LENGTH # This is the seconds per unit interval as used in the # host/contact/service configuration files. Setting this to 60 means # that each interval is one minute long (60 seconds). Other settings # have not been tested much, so your mileage is likely to vary... interval_length=60 Be _very_ aware that changing this setting affects _all_ interval specifications. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alexdehaini at gmail.com Wed Dec 12 18:39:26 2007 From: alexdehaini at gmail.com (Alex Dehaini) Date: Wed, 12 Dec 2007 17:39:26 +0000 Subject: specify normal_check_interval in seconds In-Reply-To: References: <4b008f7d0712120920r65a3328fxd0546ea42fe16fd7@mail.gmail.com> Message-ID: <4b008f7d0712120939t63ed116aye3b97174a3abdfd0@mail.gmail.com> I am not talking about the interval_length in the main nagios.cfg file, I am talking about the 'normal_check_interval' parameter when you are creating service definitions? Alex On Dec 12, 2007 5:33 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > > Sent: Wednesday, December 12, 2007 11:20 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] specify normal_check_interval in seconds > > > > Hi guys, > > > > Can I specify 'normal_check_interval' in seconds? > > In nagios.cfg -- > > # INTERVAL LENGTH > # This is the seconds per unit interval as used in the > # host/contact/service configuration files. Setting this to 60 means > # that each interval is one minute long (60 seconds). Other settings > # have not been tested much, so your mileage is likely to vary... > > interval_length=60 > > > Be _very_ aware that changing this setting affects _all_ interval > specifications. > > -- > Marc > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Alex Dehaini Developer Site - www.alexdehaini.com Email - alexdehaini at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Wed Dec 12 20:56:13 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Wed, 12 Dec 2007 13:56:13 -0600 Subject: specify normal_check_interval in seconds In-Reply-To: <4b008f7d0712120939t63ed116aye3b97174a3abdfd0@mail.gmail.com> References: <4b008f7d0712120920r65a3328fxd0546ea42fe16fd7@mail.gmail.com> <4b008f7d0712120939t63ed116aye3b97174a3abdfd0@mail.gmail.com> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 12/12/2007 11:39:26 AM: > I am not talking about the interval_length in the main nagios.cfg > file, I am talking about the 'normal_check_interval' parameter when > you are creating service definitions? > > Alex The normal_check_interval is x number of units where the units are defined by interval_length in the nagios.cfg. If you set interval_length=10 in nagios.cfg and a normal_check_interval=36 then the check interval would be 360 seconds. The answer is that you can in fact do what you have asked but more than likely not in the manner in which you wish to do so. You could, in theory, set the interval_length to 1 and then all check intervals throughout nagios would be in seconds. What you cannot do is use different measurements of time for different intervals. You have a definition of the units used and all intervals throughout are multiples of that unit. For the record top posting after having been responded to in a proper manner makes it very hard to follow and harder to answer. > On Dec 12, 2007 5:33 PM, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Alex Dehaini > > Sent: Wednesday, December 12, 2007 11:20 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] specify normal_check_interval in seconds > > > > Hi guys, > > > > Can I specify 'normal_check_interval' in seconds? > In nagios.cfg -- > > # INTERVAL LENGTH > # This is the seconds per unit interval as used in the > # host/contact/service configuration files. Setting this to 60 means > # that each interval is one minute long (60 seconds). Other settings > # have not been tested much, so your mileage is likely to vary... > > interval_length=60 > > > Be _very_ aware that changing this setting affects _all_ interval > specifications. > > -- > Marc > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Alex Dehaini > Developer > Site - www.alexdehaini.com > Email - alexdehaini at gmail.com > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Dec 12 22:19:52 2007 From: Roger at NagiosWiki.com (Roger) Date: Wed, 12 Dec 2007 13:19:52 -0800 Subject: nrpe.cfg 's allowed_host = IP of internal VPN eth? Message-ID: <2b7af7c40712121319mad7eb9ci9453fc1068c38b40@mail.gmail.com> Here is my setup: Site A (Nagios) <---------ip sec point to point ------> Site B (box with NRPE) To get "check_nrpe -H server -c check_whatever" to work, I've got to allow the internal IP of the VPN box at site B to "allowed_hosts". This is (if I remember right) the only time that I've had to do that. Usually, I just allow the IP of the remote host. Do others have this issue? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at AdamsInfoServ.Com Thu Dec 13 07:15:34 2007 From: RLAdams at AdamsInfoServ.Com (Russell Adams) Date: Thu, 13 Dec 2007 00:15:34 -0600 Subject: AIX log monitoring with check_log In-Reply-To: <2b7af7c40712111919h5f433253gfec9d091cc00f99b@mail.gmail.com> References: <2b7af7c40712111349n1d718493g6914de41545ac67a@mail.gmail.com> <20071212014335.GA14814@odin.demosthenes.org> <2b7af7c40712111919h5f433253gfec9d091cc00f99b@mail.gmail.com> Message-ID: <20071213061534.GA30448@odin.demosthenes.org> > Wow, that is right up my alley. I know very little about AIX and am getting > used to their funky way of doing logs! Roger, I've posted a short HOWTO for using the ODM to perform error notification at: http://www.adamsinfoserv.com/AISTWiki/bin/view/AIS/AixErrorLogCustomization You could easily adapt this to trigger a passive Nagios service. Also note that syslogd logs to /dev/null by default on AIX. I strongly recommend that you configure syslogd and optionally use a central syslog server. I normally advocate using a log processing software in conjunction with Nagios. It isn't practical to configure a service for every matching log condition in Nagios. Having a single service triggered by a log processor, resulting in Nagios managing the notifications is much preferred. I prefer Logmuncher for reporting with syslog-ng as the backend. Let me know what you end up doing on AIX. I'd be keen to hear what you decide on. Thanks! ------------------------------------------------------------------ Russell Adams RLAdams at AdamsInfoServ.com PGP Key ID: 0x1160DCB3 http://www.adamsinfoserv.com/ Fingerprint: 1723 D8CA 4280 1EC9 557F 66E8 1154 E018 1160 DCB3 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Wed Dec 12 19:51:40 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Wed, 12 Dec 2007 11:51:40 -0700 Subject: specify normal_check_interval in seconds In-Reply-To: <4b008f7d0712120939t63ed116aye3b97174a3abdfd0@mail.gmail.com> References: <4b008f7d0712120920r65a3328fxd0546ea42fe16fd7@mail.gmail.com> <4b008f7d0712120939t63ed116aye3b97174a3abdfd0@mail.gmail.com> Message-ID: <1197485500.6026.35.camel@sidhqmis4grdv91> Oh, but you are... (interval_length * normal_check_interval) == seconds between checks Adjust your interval_length to "1" if you want to specify normal_check_interval as seconds. Keep in mind that this change affects all intervals in the config file. On Wed, 2007-12-12 at 17:39 +0000, Alex Dehaini wrote: > I am not talking about the interval_length in the main nagios.cfg > file, I am talking about the 'normal_check_interval' parameter when > you are creating service definitions? > > Alex ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Thu Dec 13 14:18:39 2007 From: mwjredding at gmail.com (mark redding) Date: Thu, 13 Dec 2007 13:18:39 +0000 Subject: check_by_ssh In-Reply-To: <06B90BDBDEEFD411BFB900508BDC9340033C5238@orlexch02.brience.local> References: <06B90BDBDEEFD411BFB900508BDC9340033C5238@orlexch02.brience.local> Message-ID: Hi, On 10/12/2007, Peter Lauda wrote: > I've set up a test command to run a remote check_load using check_by_ssh and > when I run it manually it works as expected. When it is run in the nagios > framework I get the "(No output!)" result. Are you absolutely sure that the account you are running it from manually is the same as the account that the nagios daemon is running under - I've lost count of the number of times I've seen/responded to posts here where the "manual run" was using a different account to the daemon run. Further, what is the big concern about running nrpe ??? I have a number of mission critical systems that all run nrpe. Configured with the correct "allowed_hosts" list, with "nrpe_user" & "nrpe_group" set to the right type of account, and the "dont_blame_nrpe=0" parameter set (in order to prevent arguments being passed to nrpe) I really can't see what the risk is (someone like to enlighten me ?). -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill_morris at ncsu.edu Thu Dec 13 14:36:54 2007 From: bill_morris at ncsu.edu (Bill Morris) Date: Thu, 13 Dec 2007 08:36:54 -0500 Subject: Nagios check_nwstat Syntax?? Message-ID: <4760EF26.CA9F.0041.0@gw.fis.ncsu.edu> Folks, I would like to monitor several of the options in check_nwstat. Could someone help me with the proper syntax? I have been testing the options on the command line: /usr/local/nagios/libexec # ./check_nwstat -H VMPSYS VPFSYS 13300 MB purgeable on volume SYS|PurgeSYS=13300;0;0;; This is the version of nwstat I am using on Nagios 2.10. check_nwstat (nagios-plugins 1.4.8) 1.35 Copyright (c) 1999 Ethan Galstad Copyright (c) 2000-2006 Nagios Plugin Development Team Any help will be greatly appreciated. Bill Morris Bill Morris (bill_morris at ncsu.edu) Operations and Systems Analyst Campus Novell Services Systems and Core Services Network and Systems Services North Carolina State University Campus Box 7209 B21, 2620 Hillsborough Street Raleigh, NC 27695-7209 (919) 513-1800 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Thu Dec 13 15:52:11 2007 From: mwjredding at gmail.com (mark redding) Date: Thu, 13 Dec 2007 14:52:11 +0000 Subject: Nagios & Perfparse In-Reply-To: <61feb6e60712110519g2d172767w3d576f04ee9d806c@mail.gmail.com> References: <61feb6e60712110519g2d172767w3d576f04ee9d806c@mail.gmail.com> Message-ID: > I encounter some problems with perfparse, and after 3 days of googling > I finally decided to post here :) > I hope that someone will have an answer. > The problem is that no information is logged to database : >From the content of your mail I'd say that nagios is performing as expected (i.e. you have performance data being recorded and processed) so your problem seems to be in the PerfParse processing. That being the case you'd be better off finding a perfparse mailing list, contacting the perfparse developers or looking through their wiki @ http://perfparse.de/tiki-index.php The only thing I can that is strange is :- > host_perfdata_file_mode=2 > service_perfdata_file_mode=2 typically these values are either set to "a" or "w". I also see that your '???_file_template' entries are space/tab delimited - I don't use perfparse myself so not sure what the field delimiter should be, but given that in your output "Nb lines dropped : 105" appears maybe it does not like the format of your data file. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Thu Dec 13 16:11:10 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Thu, 13 Dec 2007 09:11:10 -0600 Subject: check_by_ssh In-Reply-To: References: <06B90BDBDEEFD411BFB900508BDC9340033C5238@orlexch02.brience.local> Message-ID: > Further, what is the big concern about running nrpe ??? I have a > number of mission critical systems that all run nrpe. Configured with > the correct "allowed_hosts" list, with "nrpe_user" & "nrpe_group" set > to the right type of account, and the "dont_blame_nrpe=0" parameter > set (in order to prevent arguments being passed to nrpe) I really > can't see what the risk is (someone like to enlighten me ?). > > -- > bright blessings, > Mark > Currently I know of no risk associated with running NRPE however any service that opens a port on a system can become a risk. After much debate and discussion we have decided to use check_by_ssh in our environment for this very reason. It may not be a risk at the moment but it could become a risk in the future. I am not a hacker so I can't say what could happen with the existing code to cause a risk but the possibility remains. Our decision was based in simplicity as there is less to install on each system, fewer configurations to maintain, less risk as no new daemons are introduced. Everyone else may have different mileage in their own environments. Sorry for the off topic post. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Thu Dec 13 18:12:26 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Thu, 13 Dec 2007 11:12:26 -0600 Subject: check_by_ssh vs nrpe discussion (was check_by_ssh) In-Reply-To: References: <06B90BDBDEEFD411BFB900508BDC9340033C5238@orlexch02.brience.local> Message-ID: "mark redding" wrote on 12/13/2007 10:36:16 AM: > Hi, > > On 13/12/2007, mark.potter at academy.com wrote: > > > > Currently I know of no risk associated with running NRPE however any service > > that opens a port on a system can become a risk. After much debate and > > discussion we have decided to use check_by_ssh in our environment for this > > very reason. It may not be a risk at the moment but it could become a risk > > in the future. I am not a hacker so I can't say what could happen with the > > existing code to cause a risk but the possibility remains. Our decision was > > based in simplicity as there is less to install on each system, fewer > > configurations to maintain, less risk as no new daemons are introduced. > > Everyone else may have different mileage in their own environments. > > I can see that a poorly implemented "check_by_ssh" based system (ie. > where the remote end fails to have extremely tight control on what can > be run) can be less secure that using nrpe (where the remote nrpe.cfg > file specifies who can communicate with it and exactly which commands > (inc params) it can run) given that there is a password-less key > exchange taking place and therefore anyone gaining access to the > account with the key is then able to gain shell level access to the > remote machine. > > For example, if the local host does not have it's private key > protected properly, or indeed if the root password on the localhost is > weak then :- > > $ ssh -i /home/nagios/.ssh/id_rsa -l nagios remote-host > > gets you straight onto "remote-host". Just because it has the letters > 'ssh' in it does not make it un-exploitable. > > Anyway, It's horses for courses I suppose. > It all depends on your ssh setup. When you have tight controls for ssh in place, which you should to begin with, then check_by_ssh isn't an issue. The situation which you describe already has one box being rooted by a weak password and improper permissions on the private key file. SSH is a service already running on most Linux boxes and if the sysadmin has it that borked to begin with then it really isn't going to matter which is more secure (nrpe or check_by_ssh) because the overall system is at risk from the ground up. Nothing is un-exploitable but we all try to make sure our systems are secure. In our case it made sense to go with check_by_ssh for the reasons listed and not to mention we had just overhauled our ssh policies and implemented even more access controls. It also allowed us to not have to drop configurations onto multiple servers and in that way made managing the overall system easier. That said I have worked for a webhost where we used nrpe and I never had any problems. In most cases it's six in one hand and a half dozen in the other. It all boils down to the environment into which you walk when implementing Nagios. If you walk into one with a well setup ssh security policy and a paranoid security team the check_by_ssh is likely how you will end up going but in a lot of other cases nrpe is not an issue. I have done both and will likely end up doing both again. Horses for courses indeed! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From news at pointdee.co.uk Thu Dec 13 18:39:51 2007 From: news at pointdee.co.uk (Paul) Date: Thu, 13 Dec 2007 17:39:51 +0000 Subject: Nagios check_nwstat Syntax?? In-Reply-To: <4760EF26.CA9F.0041.0@gw.fis.ncsu.edu> References: <4760EF26.CA9F.0041.0@gw.fis.ncsu.edu> Message-ID: <47616E67.7010606@pointdee.co.uk> Bill Morris wrote: > > Folks, > > > > I would like to monitor several of the > > options in check_nwstat. > > > > Could someone help me with the proper > > syntax? > > > > I have been testing the options on the > > command line: > > > > /usr/local/nagios/libexec # ./check_nwstat -H VMPSYS VPFSYS > > 13300 MB purgeable on volume SYS|PurgeSYS=13300;0;0;; > > > > This is the version of nwstat I am using on Nagios 2.10. > > > > check_nwstat (nagios-plugins 1.4.8) 1.35 > > Copyright (c) 1999 Ethan Galstad > > Copyright (c) 2000-2006 Nagios Plugin Development Team I'm no expert but.. /path_to/check_nwstat -H x.x.x.x -v LOAD1 -w 30 -c 50 will give you the 1 minute load average with a warning at 30% and critical at 50% /path_to/check_nwstat -H x.x.x.x -v TSYNC will give you the timesync status /path_to/check_nwstat -H x.x.x.x -v VMF sys will give you the free space on the SYS volume. Hope that helps Paul P.S. Sorry the first reply went direct to OP not to group. Sorry Bill ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Thu Dec 13 18:21:19 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Thu, 13 Dec 2007 17:21:19 -0000 Subject: Script to prove service status in Nagios Message-ID: Is there a script that I can use to probe Nagios to determine the state of a service/host? Thanks in advance. ------------ Wadud Miah Scientific Computing Systems Support High Performance Computing Services Group, e-Science, RAL 01235 446 794 ------------ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Thu Dec 13 19:26:01 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Thu, 13 Dec 2007 13:26:01 -0500 Subject: Script to prove service status in Nagios In-Reply-To: References: Message-ID: <1197570361.24190.52.camel@soundwave.pitbpa0.priv.collaborativefusion.com> On Thu, 2007-12-13 at 17:21 +0000, Miah, W (Wadud) wrote: > Is there a script that I can use to probe Nagios to determine the state > of a service/host? > There are probably some libraries out there that you can use to query /var/spool/nagios/status.dat Based on a substring search parameter or what not. If not, easy to write one. Its not quiet an RDBMS back-end. ~BAS > Thanks in advance. > > ------------ > Wadud Miah > Scientific Computing Systems Support > High Performance Computing Services Group, e-Science, RAL > 01235 446 794 > ------------ > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joines at okstate.edu Thu Dec 13 23:01:26 2007 From: joines at okstate.edu (Jason Joines) Date: Thu, 13 Dec 2007 16:01:26 -0600 Subject: character limit in web output of check_disks Message-ID: I'm using Nagios 2.9 and NRPE 2.8.1 on Ubuntu 7.10 Gutsy. The output in the Nagios web interface for check_disks cuts off some of what is seen at the command line. command line output: nagiosbox:~# /usr/lib/nagios/plugins/check_nrpe -H nrpebox -c check_all_disks DISK OK - free space: / 2575 MB (63% inode=99%); /var/run 759 MB (99% inode=99%); /var/lock 759 MB (100% inode=99%); /dev 759 MB (99% inode=98%); /dev/shm 759 MB (100% inode=99%); /lib/modules/2.6.22-14-generic/volatile 725 MB (95% inode=99%); /boot 200 MB (89% inode=99%); /home 4082 MB (99% inode=99%); /tmp 2037 MB (99% inode=99%); /var/log 1299 MB (63% inode=99%); /backup 44659 MB (45% inode=99%); /backup/bison01 602144 MB (84% inode=-);| /=1510MB;4066;4076;0;4086 /var/run=0MB;739;749;0;759 /var/lock=0MB;739;749;0;759 /dev=0MB;739;749;0;759 /dev/shm=0MB;739;749;0;759 /lib/modules/2.6.22-14-generic/volatile=33MB;739;749;0;759 /boot=23MB;215;225;0;235 /home=3MB;4066;4076;0;4086 /tmp=0MB;2018;2028;0;2038 /var/log=738MB;2018;2028;0;2038 /backup=53596MB;98236;98246;0;98256 /backup/bison01=111040MB;713164;713174;0;713184 web interface output: DISK OK - free space: / 2575 MB (63% inode=99%): /var/run 759 MB (99% inode=99%): /var/lock 759 MB (100% inode=99%): /dev 759 MB (99% inode=98%): /dev/shm 759 MB (100% inode=99%): /lib/modules/2.6.22-14-generic/volatile 725 MB (95% inode=99%): /boot 200 MB (89% inode=99%): /home 4082 MB (99% inode=99%): /tmp 2037 MB (99% inode=9 Where can I change the character limit? Jason Joines ================================= ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at architel.com Fri Dec 14 01:04:42 2007 From: jason at architel.com (Jason Smedley) Date: Thu, 13 Dec 2007 18:04:42 -0600 Subject: Cannot get check_http to authenticate Message-ID: <10B89E7B-443C-49A0-B68C-051D2A1118DF@architel.com> I'm trying to check status on a web site which requires basic authentication. This is not auth from the web app, but a pop-up window from Apache. My command string is: check_http -H www.somedomain.com -v -a user:pass It always returns HTTP WARNING: HTTP/1.1 401 Authorization Required I can successfully connect to another apache based site using the same command string. From the verbose output, the only difference I can see between the two sites is this line: "WWW-Authenticate: Digest realm="Restricted Access", nonce="V +kWjRNCBAA=8226d42966b0325c9124341db605f1eb57b7ff35", algorithm=MD5, domain="/ /gallery /forum", qop="auth" The one I can authenticate to has this: "WWW-Authenticate: Basic realm="Restricted Access" Any ideas? Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Fri Dec 14 02:01:38 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 14 Dec 2007 14:01:38 +1300 Subject: Cannot get check_http to authenticate In-Reply-To: <10B89E7B-443C-49A0-B68C-051D2A1118DF@architel.com> References: <10B89E7B-443C-49A0-B68C-051D2A1118DF@architel.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A20188D94B@UXCHANGE3.UoA.auckland.ac.nz> This may be obvious, but have you checked for sure that you have the correct username and password, and that this particular username is authorised for the URL? You'll get a 401 if you have a valid username/password but the directory has a require directive that excludes the user (or excludes the IP, or something else). Steve I'm trying to check status on a web site which requires basic authentication. This is not auth from the web app, but a pop-up window from Apache. My command string is: check_http -H www.somedomain.com -v -a user:pass It always returns HTTP WARNING: HTTP/1.1 401 Authorization Required I can successfully connect to another apache based site using the same command string. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at architel.com Fri Dec 14 02:06:10 2007 From: jason at architel.com (Jason Smedley) Date: Fri, 14 Dec 2007 02:06:10 +0100 (CET) Subject: Cannot get check_http to authenticate In-Reply-To: <12A6FDDD13C460408A6E47E5DB1235A20188D94B@UXCHANGE3.UoA.auckland.ac.nz> References: <12A6FDDD13C460408A6E47E5DB1235A20188D94B@UXCHANGE3.UoA.auckland.ac.nz> Message-ID: <20071214010611.0F0464F4045@desire.netways.de> The username and password are correct. I can auth to the web site using a browser from the same network that Nagios is on. There are no ip or any other restrictions. ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7409 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Fri Dec 14 13:22:41 2007 From: james.mohr at elaxy.com (Mohr James) Date: Fri, 14 Dec 2007 13:22:41 +0100 Subject: Host aliases Message-ID: Hi All! Maybe I missed it in the documentation, but is there anyway to refer to a host by multiple names? We are using SolarWinds to monitor various SNMP values and when an alert triggers, we send a NSCA message to the Nagios server. In some cases the name is simply the host name and in other cases it includes the domainname. However, in Nagios all of the hosts were created with just the hostname. So I was wondering if I had any options on the Nagios side to be able to refer to the hosts by multiple names? Any help/info would be appreaciated. Regards, Jim Mohr ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at kent.edu Fri Dec 14 14:07:21 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Fri, 14 Dec 2007 08:07:21 -0500 Subject: Host-perdata output in web interface Message-ID: Hey list, Currently I have my service data being output to a file using the process-service-perfdata command in Nagios 2.10. What I am seeing in the web interface is an OK status of the performance data, but no output. I know the file is being updated correctly, because service-perfdata.out shows correct data concurrent to my check settings. What I would like to see in the output field is the check latency information. I am no programmer, and reading through the documentation on writing my own plugins yielded no results, so I come to the list asking for any advice on how to do this simply? Maybe someone has something they have already written that I could use as a guide? Thanks, Stephen *Ohio weather blows* -------------- next part -------------- A non-text attachment was scrubbed... Name: svalding.vcf Type: text/x-vcard Size: 131 bytes Desc: Card for URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ankit.mehrotra at tcs.com Fri Dec 14 14:39:54 2007 From: ankit.mehrotra at tcs.com (ankit.mehrotra at tcs.com) Date: Fri, 14 Dec 2007 19:09:54 +0530 Subject: Problem with check_nrpe Message-ID: Hi, I am trying to start a service on a client machine from Nagios server using Nrpe and check_nrpe. The error its stating when I am trying to start the service is, "CHECK_NRPE:Socket timeout after 10 seconds". But on the client machine the service gets started. It works fine when I am trying to stop the service on the client machine. On debugging I have found that it follows the expected path. What could be a reason for this strange behaviour ? Any guesses. Thanks Ankit =====-----=====-----===== Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Fri Dec 14 14:49:42 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Fri, 14 Dec 2007 13:49:42 -0000 Subject: Script to probe service status in Nagios Message-ID: I should have clarified exactly what I meant in my previous email. Is there a script that connects to the Nagios front end that can determine the state of a service/host? I must be able to execute this cript from any Linux/Unix host. For example, [nagios at host1]$ ./check_nagios_service -H http://nagios.rl.ac.uk/nagios --host=server --service=nscd service nscd on host server is OK [nagios at host1]$ echo $? 0 [nagios at host1]$ ./check_nagios_service -H http://nagios.rl.ac.uk/nagios --host=server --service=httpd service httpd on host server is CRITICAL [nagios at host1]$ echo $? 2 [nagios at host1]$ where http://nagios.rl.ac.uk/nagios is the Nagios front end, host is the host that runs the service nscd. Thanks in advance. ------------ Wadud Miah Scientific Computing Systems Support High Performance Computing Services Group, e-Science, RAL 01235 446 794 ------------ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ktynagios at richard-group.com Fri Dec 14 15:11:18 2007 From: ktynagios at richard-group.com (Kurt Yoder) Date: Fri, 14 Dec 2007 09:11:18 -0500 Subject: Script to probe service status in Nagios In-Reply-To: References: Message-ID: On Dec 14, 2007, at 8:49 AM, Miah, W (Wadud) wrote: > I should have clarified exactly what I meant in my previous email. Is > there a script that connects to the Nagios front end that can > determine > the state of a service/host? I must be able to execute this cript from > any Linux/Unix host. For example, > > [nagios at host1]$ ./check_nagios_service -H http://nagios.rl.ac.uk/ > nagios > --host=server --service=nscd > service nscd on host server is OK > [nagios at host1]$ echo $? > 0 > [nagios at host1]$ ./check_nagios_service -H http://nagios.rl.ac.uk/ > nagios > --host=server --service=httpd > service httpd on host server is CRITICAL > [nagios at host1]$ echo $? > 2 > [nagios at host1]$ > > where http://nagios.rl.ac.uk/nagios is the Nagios front end, host > is the > host that runs the service nscd. > > Thanks in advance. Is there any reason you wouldn't want to just run it from ssh? Eg: /usr/bin/ssh your.nagios.host /usr/lib/nagios/plugins/ check_nagios_service -H $1 --host=server --service=nscd >/dev/null -- Kurt Yoder ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Fri Dec 14 15:15:36 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Fri, 14 Dec 2007 14:15:36 -0000 Subject: Script to probe service status in Nagios In-Reply-To: References: Message-ID: I'm not aware of the plugin check_nagios_service. Does such a plugin exist? If so, where can I get this from? -----Original Message----- From: Kurt Yoder [mailto:ktynagios at richard-group.com] Sent: 14 December 2007 14:11 To: Miah, W (Wadud) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Script to probe service status in Nagios On Dec 14, 2007, at 8:49 AM, Miah, W (Wadud) wrote: > I should have clarified exactly what I meant in my previous email. Is > there a script that connects to the Nagios front end that can > determine > the state of a service/host? I must be able to execute this cript from > any Linux/Unix host. For example, > > [nagios at host1]$ ./check_nagios_service -H http://nagios.rl.ac.uk/ > nagios > --host=server --service=nscd > service nscd on host server is OK > [nagios at host1]$ echo $? > 0 > [nagios at host1]$ ./check_nagios_service -H http://nagios.rl.ac.uk/ > nagios > --host=server --service=httpd > service httpd on host server is CRITICAL > [nagios at host1]$ echo $? > 2 > [nagios at host1]$ > > where http://nagios.rl.ac.uk/nagios is the Nagios front end, host > is the > host that runs the service nscd. > > Thanks in advance. Is there any reason you wouldn't want to just run it from ssh? Eg: /usr/bin/ssh your.nagios.host /usr/lib/nagios/plugins/ check_nagios_service -H $1 --host=server --service=nscd >/dev/null -- Kurt Yoder ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwjredding at gmail.com Fri Dec 14 16:08:15 2007 From: mwjredding at gmail.com (mark redding) Date: Fri, 14 Dec 2007 15:08:15 +0000 Subject: Problem with check_nrpe In-Reply-To: References: Message-ID: Hi, On 14/12/2007, ankit.mehrotra at tcs.com wrote: > I am trying to start a service on a client machine from Nagios server > using Nrpe and check_nrpe. The error its stating when I am trying to start > the service is, > "CHECK_NRPE:Socket timeout after 10 seconds". > But on the client machine the service gets started. What does your nrpe.cfg file look like on the server, does it allow connections from the nagios machine and are you communicating over the same port on each side ? Also, I've found in the past on some machines that you explicitly need to add an entry for nrpe and the nagios server in /etc/hosts.allow. -- bright blessings, Mark ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Fri Dec 14 18:34:52 2007 From: israel at frontierflying.com (Israel Brewster) Date: Fri, 14 Dec 2007 08:34:52 -0900 Subject: Delay notification/escalations Message-ID: <81758E9F-BD22-443A-8192-E358C9D0439E@frontierflying.com> I need some clarification of how nagios will respond to something I am trying to do. I have a number of hosts I am monitoring that I want nagios to note immediately (well, almost) if they go down, but I don't want to receive a notification unless they stay in a hard down state for more than, say, 5 minutes. Now if I understand things correctly, I can accomplish this using host escalations by setting the notification options on the host to n (none) and the notification interval to 5 minutes, and then setting up a host escalation with a first_notification directive of 2. Does this sound correct? I have a couple of concerns about this setup. From my reading of the documentation (correct me if I am wrong), it sounds as though escalations only change the contact_groups and notification_periods of the notifications. If I have the notification options of the host set to n, does the escalation override this? If not, and I set the host notification options to, say, d,r, then how do I prevent a notification being sent out immediately when the host goes down? Does the notification_interval directive even have any effect if the notification_options are set to none? The last thing I want to do is try making this change, and end up not being notified at all when a host goes down for an extended period of time. Thanks. ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Dec 14 20:15:33 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 14 Dec 2007 12:15:33 -0700 Subject: SNMP Question Message-ID: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> I am trying to view the status of port 1 on a Cisco 2970 switch. However, Nagios is giving me an UNKNOWN error. I tried running the following from a command prompt: ./check_snmp -H -C -o ifOperStatus.1 -r 1 I get the following response: SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.1=up(1) If I am getting this response at the command prompt, why isn't the monitor coming up green in Nagios? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Fri Dec 14 20:27:05 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Fri, 14 Dec 2007 13:27:05 -0600 Subject: SNMP Question In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> Message-ID: nagios-users-bounces at lists.sourceforge.net wrote on 12/14/2007 01:15:33 PM: > I am trying to view the status of port 1 on a Cisco 2970 switch. > However, Nagios is giving me an UNKNOWN error. I tried running the > following from a command prompt: > ./check_snmp -H -C -o ifOperStatus.1 -r 1 > > I get the following response: > SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.1=up(1) > > If I am getting this response at the command prompt, why isn't the > monitor coming up green in Nagios? > > Thanks, > Mike > Are you running the command as the nagios user when you run it from the command line? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 14 20:28:20 2007 From: marc at ena.com (Marc Powell) Date: Fri, 14 Dec 2007 13:28:20 -0600 Subject: Problem with check_nrpe In-Reply-To: References: Message-ID: <8F1306F2-5E76-4E5E-A2EC-5F1ED1EB9AA6@ena.com> On Dec 14, 2007, at 7:39 AM, ankit.mehrotra at tcs.com wrote: > > Hi, > > I am trying to start a service on a client machine from Nagios server > using Nrpe and check_nrpe. The error its stating when I am trying to > start > the service is, > "CHECK_NRPE:Socket timeout after 10 seconds". > But on the client machine the service gets started. > > It works fine when I am trying to stop the service on the client > machine. > On debugging I have found that it follows the expected path. > What could be a reason for this strange behaviour ? Any guesses. I assume this is being called as an event handler. It appears that it's taking longer than 10 seconds for the script that NRPE is calling to finish. Is that the case? If so, you'll probably want to adjust the value of event_handler_timeout in nagios config and include an appropriate -to argument to check_nrpe when making the call. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Dec 14 20:28:45 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 14 Dec 2007 12:28:45 -0700 Subject: SNMP Question In-Reply-To: References: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> Message-ID: <4BE6EDFB3C58E24887D56332993B03AF037494F9@VS2.EXCHPROD.USA.NET> I am running it as root. ________________________________ From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of mark.potter at academy.com Sent: Friday, December 14, 2007 1:27 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SNMP Question nagios-users-bounces at lists.sourceforge.net wrote on 12/14/2007 01:15:33 PM: > I am trying to view the status of port 1 on a Cisco 2970 switch. > However, Nagios is giving me an UNKNOWN error. I tried running the > following from a command prompt: > ./check_snmp -H -C -o ifOperStatus.1 -r 1 > > I get the following response: > SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.1=up(1) > > If I am getting this response at the command prompt, why isn't the > monitor coming up green in Nagios? > > Thanks, > Mike > Are you running the command as the nagios user when you run it from the command line? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 14 20:31:17 2007 From: marc at ena.com (Marc Powell) Date: Fri, 14 Dec 2007 13:31:17 -0600 Subject: SNMP Question In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF037494F9@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> <4BE6EDFB3C58E24887D56332993B03AF037494F9@VS2.EXCHPROD.USA.NET> Message-ID: On Dec 14, 2007, at 1:28 PM, Michael Egan wrote: > I am running it as root. You shouldn't be. Nagios doesn't. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 14 20:33:21 2007 From: marc at ena.com (Marc Powell) Date: Fri, 14 Dec 2007 13:33:21 -0600 Subject: SNMP Question In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> Message-ID: <81AE97DA-8CFC-47A6-A4C9-417629AEA2E1@ena.com> On Dec 14, 2007, at 1:15 PM, Michael Egan wrote: > I am trying to view the status of port 1 on a Cisco 2970 switch. > However, Nagios is giving me an UNKNOWN error. I tried running the > following from a command prompt: > ./check_snmp -H -C -o ifOperStatus.1 -r 1 > > I get the following response: > SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.1=up(1) > > If I am getting this response at the command prompt, why isn't the > monitor coming up green in Nagios? > > Beyond nagios not being able to execute check_snmp due to permissions on snmpget/snmpgetnext, my next guess would be that the MIB isn't being loaded properly. Does it work if you manually specify the MIB is -m or use a numeric OID? -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Fri Dec 14 20:50:26 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Fri, 14 Dec 2007 12:50:26 -0700 Subject: SNMP Question In-Reply-To: <81AE97DA-8CFC-47A6-A4C9-417629AEA2E1@ena.com> References: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> <81AE97DA-8CFC-47A6-A4C9-417629AEA2E1@ena.com> Message-ID: <4BE6EDFB3C58E24887D56332993B03AF03749580@VS2.EXCHPROD.USA.NET> I forgot to mention that I am able to monitor up time via SNMP...so I don't think it is a permissions issue. Thanks, Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Friday, December 14, 2007 1:33 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] SNMP Question On Dec 14, 2007, at 1:15 PM, Michael Egan wrote: > I am trying to view the status of port 1 on a Cisco 2970 switch. > However, Nagios is giving me an UNKNOWN error. I tried running the > following from a command prompt: > ./check_snmp -H -C -o ifOperStatus.1 -r 1 > > I get the following response: > SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.1=up(1) > > If I am getting this response at the command prompt, why isn't the > monitor coming up green in Nagios? > > Beyond nagios not being able to execute check_snmp due to permissions on snmpget/snmpgetnext, my next guess would be that the MIB isn't being loaded properly. Does it work if you manually specify the MIB is -m or use a numeric OID? -- Marc ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.potter at academy.com Fri Dec 14 20:54:00 2007 From: mark.potter at academy.com (mark.potter at academy.com) Date: Fri, 14 Dec 2007 13:54:00 -0600 Subject: SNMP Question In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF037494F9@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF037494B9@VS2.EXCHPROD.USA.NET> <4BE6EDFB3C58E24887D56332993B03AF037494F9@VS2.EXCHPROD.USA.NET> Message-ID: Reformatted due to top posting. > nagios-users-bounces at lists.sourceforge.net wrote on 12/14/2007 01:15:33 PM: > > > >I am trying to view the status of port 1 on a Cisco 2970 switch. > > >However, Nagios is giving me an UNKNOWN error. I tried running the > > >following from a command prompt: > > >./check_snmp -H -C -o ifOperStatus.1 -r 1 > > > > >I get the following response: > > >SNMP OK - up(1) | RFC1213-MIB::ifOperStatus.1=up(1) > > > > > > If I am getting this response at the command prompt, why isn't the > > > monitor coming up green in Nagios? > > > > > > Thanks, > > > Mike > > > > >Are you running the command as the nagios user when you run it from > >the command line? > I am running it as root. > You will not be able to troubleshoot when running plugins as root. Root has different permissions than the nagios user. Try running it as the nagios user. Also, you will have to put the MIB somewhere nagios can use it otherwise use the numeric for SNMP. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Dec 14 21:20:39 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 14 Dec 2007 12:20:39 -0800 Subject: nrpe handler: how to 'check_proc -C "X Y" ' ? Message-ID: <2b7af7c40712141220v7dad8483lb91b4a484c3486b8@mail.gmail.com> I'm having a problem with this Tivoli-related command in my nrpe.cfg file command[check_proc_dsmc_sched]=/usr/lib/nagios/plugins/check_procs -c 1:10 -C "dsmc sched" dmsc sched is what it looks like when i run 'ps -ef' e.g. ps -ef --> root 19761 19759 0 Dec03 ? 00:00:00 dsmcad root 20426 1 0 Dec03 ? 00:00:00 dsmc sched Ideas on how I can call this from the -C command in check_procs ? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Fri Dec 14 21:22:34 2007 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Fri, 14 Dec 2007 12:22:34 -0800 Subject: nrpe handler: how to 'check_proc -C "X Y" ' ? In-Reply-To: <2b7af7c40712141220v7dad8483lb91b4a484c3486b8@mail.gmail.com> References: <2b7af7c40712141220v7dad8483lb91b4a484c3486b8@mail.gmail.com> Message-ID: <53C722D8-96A6-43C4-AADC-3F7C94F8249D@stanford.edu> On Dec 14, 2007, at 12:20 PM, Roger wrote: > I'm having a problem with this Tivoli-related command in my nrpe.cfg > file > > command[check_proc_dsmc_sched]=/usr/lib/nagios/plugins/check_procs - > c 1:10 -C "dsmc sched" > > dmsc sched is what it looks like when i run 'ps -ef' > > e.g. > > ps -ef --> > > root 19761 19759 0 Dec03 ? 00:00:00 dsmcad > root 20426 1 0 Dec03 ? 00:00:00 dsmc sched > > Ideas on how I can call this from the -C command in check_procs ? I use this: check_procs -w 1:1 -C dsmc -a sched -- Sandor W. Sklar, Unix Systems Administrator Stanford University Libraries & Academic Information Resources (SULAIR) http://library.stanford.edu ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at zicasso.com Fri Dec 14 22:57:38 2007 From: paul at zicasso.com (Paul Lathrop) Date: Fri, 14 Dec 2007 13:57:38 -0800 Subject: Nagios strips quotes from command arguments Message-ID: Hi all, I've been banging my head against this for days, and Googled my eyes out to no avail, so I think it is time to bring this to the list. I have written a plugin in Python which connects to a database on another host, runs an arbitrary query, and (depending on the options passed to it) returns an appropriate Nagios return code. Here is a typical invocation of this script from the command line: nagios at monitor:~$ /usr/local/lib/nagios/plugins/dbmon.py -H 10.0.2.9 -u monitor -p password -d testdb -w 10: -c 20: "select count(*) from users" OK: 24 As you can see, I'm running this as the Nagios user with no problems. Here is my command definition: define command{ command_name check-db-count command_line /usr/local/lib/nagios/plugins/dbmon.py -H $HOSTADDRESS$ -u $USER3$ -p $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ $ARG2$ } $USER3$ and $USER4$ are set in resource.cfg to the appropriate values. Here is my service definition: define service{ use generic-service host_name data.zicasso.com service_description Example DB Monitor check_command check-db-count!testdb!"select count(*) from users"!10:!20: contact_groups sysadmin } I would expect this to work, but the plugin returns '(No output!)' Basic debugging step is to make sure the command is being run the way I think it is. So I changed my command definition to: define command{ command_name check-db-count command_line echo /usr/local/lib/nagios/plugins/dbmon.py -H $HOSTADDRESS$ -u $USER3$ -p $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ $ARG2$ >> /tmp/nagios.log } And here is what I see: /usr/local/lib/nagios/plugins/dbmon.py -H 10.0.2.9 -u monitor -p password -d testdb -w 10: -c 20: select count(*) from users Somewhere, the quotes around the SQL statement disappear. And no amount of backslashing, double-quoting, or anything else will convince nagios to pass those quotes along to the plugin! I am using Nagios 2.6 on Debian Etch. I'm also going somewhat nuts over this issue. Any help would be much appreciated. Thanks, Paul ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Fri Dec 14 23:08:12 2007 From: andrew at profitability.net (Andrew Cruse) Date: Fri, 14 Dec 2007 17:08:12 -0500 Subject: Nagios strips quotes from command arguments In-Reply-To: References: Message-ID: <045e01c83e9d$d14f93a0$5700a8c0@andrew2> Paul Lathrop wrote: > Hi all, > > I've been banging my head against this for days, and Googled my eyes > out to no avail, so I think it is time to bring this to the list. > > I have written a plugin in Python which connects to a database on > another host, runs an arbitrary query, and (depending on the options > passed to it) returns an appropriate Nagios return code. Here is a > typical invocation of this script from the command line: > > nagios at monitor:~$ /usr/local/lib/nagios/plugins/dbmon.py -H 10.0.2.9 > -u monitor -p password -d testdb -w 10: -c 20: "select count(*) from > users" > OK: 24 > > As you can see, I'm running this as the Nagios user with no problems. > > Here is my command definition: > > define command{ > command_name check-db-count > command_line /usr/local/lib/nagios/plugins/dbmon.py > -H $HOSTADDRESS$ -u $USER3$ -p $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ > $ARG2$ > } > > $USER3$ and $USER4$ are set in resource.cfg to the appropriate values. > > Here is my service definition: > > define service{ > use generic-service > host_name data.zicasso.com > service_description Example DB Monitor > check_command check-db-count!testdb!"select count(*) > from users"!10:!20: > contact_groups sysadmin > } > > I would expect this to work, but the plugin returns '(No output!)' > Basic debugging step is to make sure the command is being run the way > I think it is. So I changed my command definition to: > > define command{ > command_name check-db-count > command_line echo > /usr/local/lib/nagios/plugins/dbmon.py -H $HOSTADDRESS$ -u $USER3$ -p > $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ $ARG2$ >> /tmp/nagios.log > } > > And here is what I see: > > /usr/local/lib/nagios/plugins/dbmon.py -H 10.0.2.9 -u monitor -p > password -d testdb -w 10: -c 20: select count(*) from users > > Somewhere, the quotes around the SQL statement disappear. And no > amount of backslashing, double-quoting, or anything else will convince > nagios to pass those quotes along to the plugin! I am using Nagios 2.6 > on Debian Etch. > > I'm also going somewhat nuts over this issue. Any help would be much > appreciated. How about putting the quotes in your command definition? define command{ command_name check-db-count command_line /usr/local/lib/nagios/plugins/dbmon.py -H $HOSTADDRESS$ -u $USER3$ -p $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ "$ARG2$" aNDREW ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at zicasso.com Fri Dec 14 23:12:08 2007 From: paul at zicasso.com (Paul Lathrop) Date: Fri, 14 Dec 2007 14:12:08 -0800 Subject: Nagios strips quotes from command arguments In-Reply-To: <045e01c83e9d$d14f93a0$5700a8c0@andrew2> References: <045e01c83e9d$d14f93a0$5700a8c0@andrew2> Message-ID: On Dec 14, 2007 2:08 PM, Andrew Cruse wrote: > Paul Lathrop wrote: > > Hi all, > > > > I've been banging my head against this for days, and Googled my eyes > > out to no avail, so I think it is time to bring this to the list. > > > > I have written a plugin in Python which connects to a database on > > another host, runs an arbitrary query, and (depending on the options > > passed to it) returns an appropriate Nagios return code. Here is a > > typical invocation of this script from the command line: > > > > nagios at monitor:~$ /usr/local/lib/nagios/plugins/dbmon.py -H 10.0.2.9 > > -u monitor -p password -d testdb -w 10: -c 20: "select count(*) from > > users" > > OK: 24 > > > > As you can see, I'm running this as the Nagios user with no problems. > > > > Here is my command definition: > > > > define command{ > > command_name check-db-count > > command_line /usr/local/lib/nagios/plugins/dbmon.py > > -H $HOSTADDRESS$ -u $USER3$ -p $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ > > $ARG2$ > > } > > > > $USER3$ and $USER4$ are set in resource.cfg to the appropriate values. > > > > Here is my service definition: > > > > define service{ > > use generic-service > > host_name data.zicasso.com > > service_description Example DB Monitor > > check_command check-db-count!testdb!"select count(*) > > from users"!10:!20: > > contact_groups sysadmin > > } > > > > I would expect this to work, but the plugin returns '(No output!)' > > Basic debugging step is to make sure the command is being run the way > > I think it is. So I changed my command definition to: > > > > define command{ > > command_name check-db-count > > command_line echo > > /usr/local/lib/nagios/plugins/dbmon.py -H $HOSTADDRESS$ -u $USER3$ -p > > $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ $ARG2$ >> /tmp/nagios.log > > } > > > > And here is what I see: > > > > /usr/local/lib/nagios/plugins/dbmon.py -H 10.0.2.9 -u monitor -p > > password -d testdb -w 10: -c 20: select count(*) from users > > > > Somewhere, the quotes around the SQL statement disappear. And no > > amount of backslashing, double-quoting, or anything else will convince > > nagios to pass those quotes along to the plugin! I am using Nagios 2.6 > > on Debian Etch. > > > > I'm also going somewhat nuts over this issue. Any help would be much > > appreciated. > > > How about putting the quotes in your command definition? > > > define command{ > command_name check-db-count > command_line /usr/local/lib/nagios/plugins/dbmon.py -H > $HOSTADDRESS$ -u $USER3$ -p $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ "$ARG2$" > > > aNDREW Andrew, Sorry, I forgot to post everything I tried. I have put the quotes in my command definition. This gives me the same result (when I also remove the quotes from the service definition). If I leave the quotes in the service definition AND the command definition, I get the same output, but instead of an OK state I get a WARNING state. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssklar at stanford.edu Fri Dec 14 23:14:14 2007 From: ssklar at stanford.edu (Sandor W. Sklar) Date: Fri, 14 Dec 2007 14:14:14 -0800 Subject: Nagios strips quotes from command arguments In-Reply-To: References: <045e01c83e9d$d14f93a0$5700a8c0@andrew2> Message-ID: <69B2F590-9722-40EC-8B2E-C5622009CCA8@stanford.edu> On Dec 14, 2007, at 2:12 PM, Paul Lathrop wrote: > > Andrew, > > Sorry, I forgot to post everything I tried. I have put the quotes in > my command definition. This gives me the same result (when I also > remove the quotes from the service definition). If I leave the quotes > in the service definition AND the command definition, I get the same > output, but instead of an OK state I get a WARNING state. > My nagios.cfg contains ... # Illegal characters in macros to be stripped illegal_macro_output_chars=`~$&|'"<> ... I wonder if you have something similar, and if so, if that is where the quotes are being stripped out. -- Sandor W. Sklar, Unix Systems Administrator Stanford University Libraries & Academic Information Resources (SULAIR) http://library.stanford.edu ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Fri Dec 14 23:19:19 2007 From: Roger at NagiosWiki.com (Roger) Date: Fri, 14 Dec 2007 14:19:19 -0800 Subject: check_proc on NRPE gives "System call sent warnings to stderr" Message-ID: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> In my NRPE config, I have command[check_proc_java]=/usr/lib/nagios/plugins/check_procs -c 1:100 -C java >From Nagios, I get "System call sent warnings to stderr" when I run "./check_nrpe -H box -c check_proc_sshd" (Interestingly, my check_disk_(vol) commands work ok from the Nagios server) Any suggestions? Google hasn't turned me to anything good... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at zicasso.com Fri Dec 14 23:23:58 2007 From: paul at zicasso.com (Paul Lathrop) Date: Fri, 14 Dec 2007 14:23:58 -0800 Subject: Nagios strips quotes from command arguments In-Reply-To: <69B2F590-9722-40EC-8B2E-C5622009CCA8@stanford.edu> References: <045e01c83e9d$d14f93a0$5700a8c0@andrew2> <69B2F590-9722-40EC-8B2E-C5622009CCA8@stanford.edu> Message-ID: On Dec 14, 2007 2:14 PM, Sandor W. Sklar wrote: > My nagios.cfg contains ... > > # Illegal characters in macros to be stripped > illegal_macro_output_chars=`~$&|'"<> > > ... I wonder if you have something similar, and if so, if that is > where the quotes are being stripped out. I thought so as well. However, it also says: # ILLEGAL MACRO OUTPUT CHARACTERS # This option allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. Just in case the comment was false, I tried removing the " from this list to no effect. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at zicasso.com Fri Dec 14 23:31:09 2007 From: paul at zicasso.com (Paul Lathrop) Date: Fri, 14 Dec 2007 14:31:09 -0800 Subject: Nagios strips quotes from command arguments In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB7908EA1F94@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB7908EA1F94@MAILBOXSEVEN.home.ku.edu> Message-ID: On Dec 14, 2007 2:21 PM, Sloane, Robert Raymond wrote: > I don't think the quotes are really disappearing, the echo command just > doesn't see them because they are stripped by the shell. Try putting > single quotes around the whole command line after the echo, and I > suspect that your quotes will be visible: > > define command{ > command_name check-db-count > command_line echo > '/usr/local/lib/nagios/plugins/dbmon.py -H $HOSTADDRESS$ -u $USER3$ -p > $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ "$ARG2$"' } Sure enough, that proved that the quotes were actually there. Thanks! > As for the "(No output)" It appears that Nagios isn't seeing anything on > standard output from the command. What happens if you change the > command definition to: > > define command{ > command_name check-db-count > command_line /usr/local/lib/nagios/plugins/dbmon.py > -H $HOSTADDRESS$ -u $USER3$ -p $USER4$ -d $ARG1$ -w $ARG3$ -c $ARG4$ > "$ARG2$" >/tmp/dbmon.stdout 2>/tmp/dbmon.errout } Turns out my plugin wasn't working when called from within Nagios. The problem is now back in my plugin, not in Nagios! Thanks a lot, Bob! --Paul ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Fri Dec 14 23:54:30 2007 From: marc at ena.com (Marc Powell) Date: Fri, 14 Dec 2007 16:54:30 -0600 Subject: check_proc on NRPE gives "System call sent warnings to stderr" In-Reply-To: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> References: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> Message-ID: On Dec 14, 2007, at 4:19 PM, Roger wrote: > In my NRPE config, I have > > command[check_proc_java]=/usr/lib/nagios/plugins/check_procs -c > 1:100 -C java > > From Nagios, I get "System call sent warnings to stderr" when I run Either the call to check_nrpe or the execution of the check_proc_java command above on the target system generated errors. > > "./check_nrpe -H box -c check_proc_sshd" Not sure how this is related. What happens if you do the same for check_proc_java? What happens if you run the check_procs command above on the target machine? Remember to perform these tests as the nagios user. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rick at redroller.com Fri Dec 14 22:57:56 2007 From: rick at redroller.com (Rick Dettwyler) Date: Fri, 14 Dec 2007 21:57:56 +0000 (UTC) Subject: cannot configure nagios-plugins Message-ID: RHEL5 on x86 It fails at checking for socklen_t... no checking for socklen_t equivalent... configure: error: Cannot find a type to use in place of socklen_t thanks in advance, Rick ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Dec 15 10:22:29 2007 From: ae at op5.se (Andreas Ericsson) Date: Sat, 15 Dec 2007 10:22:29 +0100 Subject: cannot configure nagios-plugins In-Reply-To: References: Message-ID: <47639CD5.3090106@op5.se> Rick Dettwyler wrote: > RHEL5 on x86 > > It fails at > > checking for socklen_t... no > checking for socklen_t equivalent... configure: error: Cannot find a type to > use in place of socklen_t > You need to "yum install kernel-headers glibc-headers glibc-devel" and probably a whole lot of other packages. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Sat Dec 15 10:24:07 2007 From: ae at op5.se (Andreas Ericsson) Date: Sat, 15 Dec 2007 10:24:07 +0100 Subject: Delay notification/escalations In-Reply-To: <81758E9F-BD22-443A-8192-E358C9D0439E@frontierflying.com> References: <81758E9F-BD22-443A-8192-E358C9D0439E@frontierflying.com> Message-ID: <47639D37.2000600@op5.se> Israel Brewster wrote: > I need some clarification of how nagios will respond to something I am > trying to do. I have a number of hosts I am monitoring that I want > nagios to note immediately (well, almost) if they go down, but I don't > want to receive a notification unless they stay in a hard down state > for more than, say, 5 minutes. Now if I understand things correctly, I > can accomplish this using host escalations by setting the notification > options on the host to n (none) and the notification interval to 5 > minutes, and then setting up a host escalation with a > first_notification directive of 2. Does this sound correct? > > I have a couple of concerns about this setup. From my reading of the > documentation (correct me if I am wrong), it sounds as though > escalations only change the contact_groups and notification_periods of > the notifications. If I have the notification options of the host set > to n, does the escalation override this? If not, and I set the host > notification options to, say, d,r, then how do I prevent a > notification being sent out immediately when the host goes down? Does > the notification_interval directive even have any effect if the > notification_options are set to none? The last thing I want to do is > try making this change, and end up not being notified at all when a > host goes down for an extended period of time. Thanks. > You should be able to use "first_notification_delay" for this. I'm not sure which version it's included in, but 3.x will almost certainly have it. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sat Dec 15 19:27:01 2007 From: Roger at NagiosWiki.com (Roger) Date: Sat, 15 Dec 2007 10:27:01 -0800 Subject: check_proc on NRPE gives "System call sent warnings to stderr" In-Reply-To: References: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> Message-ID: <2b7af7c40712151027y6b43772fg498424b3f9644657@mail.gmail.com> On Dec 14, 2007 2:54 PM, Marc Powell wrote: > > > "./check_nrpe -H box -c check_proc_sshd" > > Not sure how this is related. What happens if you do the same for > check_proc_java? What happens if you run the check_procs command above > on the target machine? Remember to perform these tests as the nagios > user. My bad, it's the same for anything check_procs related -- check_procs_[java/sshd/httpd...] On the target machine, I get the same error, regardless of whether I'm the Nagios user or the root e.g. [root at mybox plugins]# ./check_procs System call sent warnings to stderr PROCS WARNING: 101 processes [root at mybox plugins]# sudo nagios and I get sh-3.00$ ./check_procs System call sent warnings to stderr PROCS WARNING: 103 processes sh-3.00$ Thanks for your help. Any advice or hints would be greatly appreciated! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sat Dec 15 21:47:15 2007 From: Roger at NagiosWiki.com (Roger) Date: Sat, 15 Dec 2007 12:47:15 -0800 Subject: check_proc on NRPE gives "System call sent warnings to stderr" In-Reply-To: References: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> <2b7af7c40712151027y6b43772fg498424b3f9644657@mail.gmail.com> Message-ID: <2b7af7c40712151247r3cedeab0xf6e1453e9939cf0a@mail.gmail.com> On Dec 15, 2007 11:13 AM, Paul Lathrop wrote: > Roger, > > What kernel version are you running? When I was using Nagios on some > rather old kernels, there was a kernel bug that made this happen after > the system had been up for a certain amount of time. The easiest way > to check for this is to reboot the machine and see if the message goes > away. > > The fix for this was to upgrade our kernel. Since that wasn't an > option for us at the time we settled for rebooting the machine every > few months when this started happening. Inelegant, but it worked. Thank you, Paul. This makes sense, considering the fact that this is on some really old RHEL boxes. I, like you, can't easily upgrade them while they're in production. I suppose that if the cluster (via Coyote Point) is working ok, then traffic should be diverted to other boxes for the duration of the bounce. (fingers crossed!) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sat Dec 15 22:00:54 2007 From: Roger at NagiosWiki.com (Roger) Date: Sat, 15 Dec 2007 13:00:54 -0800 Subject: check_proc on NRPE gives "System call sent warnings to stderr" In-Reply-To: References: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> <2b7af7c40712151027y6b43772fg498424b3f9644657@mail.gmail.com> Message-ID: <2b7af7c40712151300n44263c7qc1fbaf3b4534e07a@mail.gmail.com> On Dec 15, 2007 11:13 AM, Paul Lathrop wrote: > Roger, > > What kernel version are you running? When I was using Nagios on some > rather old kernels, there was a kernel bug that made this happen after > the system had been up for a certain amount of time. The easiest way > to check for this is to reboot the machine and see if the message goes > away. Actually, in a few case, I'm running a later kernel: e.g. uname -a --> 2.6.9-55.0.9.ELsmp #1 SMP Thu Sep 27 18:27:41 EDT 2007 i686 i686 i386 GNU/Linux > The fix for this was to upgrade our kernel. Since that wasn't an > option for us at the time we settled for rebooting the machine every > few months when this started happening. Inelegant, but it worked. I'll put in a ticket to reboot the machine off-hours and see how that works.. Thanks again for your help, Paul. It helps point me in the right direction. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sun Dec 16 05:30:41 2007 From: Roger at NagiosWiki.com (Roger) Date: Sat, 15 Dec 2007 20:30:41 -0800 Subject: check_proc on NRPE gives "System call sent warnings to stderr" In-Reply-To: References: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> <2b7af7c40712151027y6b43772fg498424b3f9644657@mail.gmail.com> Message-ID: <2b7af7c40712152030k55862552yaad0fc1ebf9be7dc@mail.gmail.com> While googling, I found this, which suggested it's an issue with ps http://www.cyberpro.com.au/Tips_n_Tricks/Linux_Related_Tips/Nagios_check%11proc_Plugin_Fails/ "The problem is due to differences in the way the ps command uses switches. Modifying source to take out the "-" in referenced code for PS_COMMAND and rebuilding does the trick." Hmm.... interesting. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at zicasso.com Sun Dec 16 06:19:09 2007 From: paul at zicasso.com (Paul Lathrop) Date: Sat, 15 Dec 2007 21:19:09 -0800 Subject: check_proc on NRPE gives "System call sent warnings to stderr" In-Reply-To: <2b7af7c40712152030k55862552yaad0fc1ebf9be7dc@mail.gmail.com> References: <2b7af7c40712141419j13cf5561o3cee6ec6d243d38@mail.gmail.com> <2b7af7c40712151027y6b43772fg498424b3f9644657@mail.gmail.com> <2b7af7c40712152030k55862552yaad0fc1ebf9be7dc@mail.gmail.com> Message-ID: On Dec 15, 2007 8:30 PM, Roger wrote: > While googling, I found this, which suggested it's an issue with ps > > http://www.cyberpro.com.au/Tips_n_Tricks/Linux_Related_Tips/Nagios_check%11proc_Plugin_Fails/ > > "The problem is due to differences in the way the ps command uses switches. > Modifying source to take out the "-" in referenced code for PS_COMMAND and > rebuilding does the trick." > > Hmm.... interesting. That *is* interesting. Maybe that's the issue in your case. I've never seen that before... --Paul ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From grover1711 at gmail.com Sun Dec 16 10:17:20 2007 From: grover1711 at gmail.com (ankush grover) Date: Sun, 16 Dec 2007 14:47:20 +0530 Subject: plugin to monitor svn repositories Message-ID: <5f638b360712160117h5a8ff291iba40c46f102be806@mail.gmail.com> Hi Friends, I need a nagios plugin for monitoring svn repositories. Lately our company is having issues with svn servers some repositories becomes unavailable to the users. So I want rather than user reporting these issues I will come to know about these issues . Please give me the link for the plugin through which I can monitor svn repositories. Regards Ankush ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Sun Dec 16 14:28:23 2007 From: jperrin at gmail.com (Jim Perrin) Date: Sun, 16 Dec 2007 08:28:23 -0500 Subject: plugin to monitor svn repositories In-Reply-To: <5f638b360712160117h5a8ff291iba40c46f102be806@mail.gmail.com> References: <5f638b360712160117h5a8ff291iba40c46f102be806@mail.gmail.com> Message-ID: <302ce8b50712160528r6ff234e1o3a63a55b62128b73@mail.gmail.com> On Dec 16, 2007 4:17 AM, ankush grover wrote: > Hi Friends, > > I need a nagios plugin for monitoring svn repositories. Lately our > company is having issues with svn servers some repositories becomes > unavailable to the users. So I want rather than user reporting these > issues I will come to know about these issues . > > Please give me the link for the plugin through which I can monitor svn > repositories. This depends entirely on how your svn repository server is set up. If it's using http(s), then you can simply use the check_http plugin to monitor it. -- During times of universal deceit, telling the truth becomes a revolutionary act. George Orwell ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From micha at arava.co.il Sun Dec 16 14:43:29 2007 From: micha at arava.co.il (Micha Silver) Date: Sun, 16 Dec 2007 15:43:29 +0200 Subject: check_dns on 64 bit system Message-ID: <47652B81.1010409@arava.co.il> I am tranferring nagios to a 64 bit machine, and I find that check_dns is always failing with: DNS CRITICAL - '/usr/bin/nslookup -sil' msg parsing exited with no address (From the command line the plugin works fine) The server is CentOS 5.1 and I am using x86_64 rpm packages from Dag Wieers's repo. Any suggestions what I can do to overcome this? Thanks, Micha -- Micha Silver Arava Development Co +972-8-6592270 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sun Dec 16 20:56:44 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 16 Dec 2007 11:56:44 -0800 Subject: nagiostats plugin? Message-ID: <2b7af7c40712161156j7a519102v5f28f8d7929eba9f@mail.gmail.com> Has anyone here created a plugin that parses the output of the 'nagiostats' command to alert you on various critical / warning levels? (Just curious...if not, I'm going to consider making one) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sun Dec 16 21:52:23 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 16 Dec 2007 12:52:23 -0800 Subject: HOWTO on Nagioswiki: Checking Blacklisted MTAs using CentOS + Nagios 2.x + check_bl.pl Message-ID: <2b7af7c40712161252m4ba78f46v36cdd2af15566a3e@mail.gmail.com> I threw up another HOWTO for those relatively new to Nagios and CentOS, this one on how to use check_bl to check for blacklisted IPs http://nagioswiki.com/wiki/index.php/Checking_Blacklisted_MTAs_with_CentOS_%2B_check_bl (I have this script checking approximately 100 Exchange servers for various friends and associates. Geez, I wonder why they keep getting blacklisted!) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jczucco at ucs.br Sun Dec 16 22:16:56 2007 From: jczucco at ucs.br (Jeronimo Zucco) Date: Sun, 16 Dec 2007 19:16:56 -0200 Subject: nagiostats plugin? In-Reply-To: <2b7af7c40712161156j7a519102v5f28f8d7929eba9f@mail.gmail.com> References: <2b7af7c40712161156j7a519102v5f28f8d7929eba9f@mail.gmail.com> Message-ID: <1197839816.476595c8e7bd5@webmail.ucs.br> I did it just running iostat as a service and logging results in a log file, then I just did a script with read and parse last entries of the log file. It works better for me. Quoting Roger : > Has anyone here created a plugin that parses the output of the 'nagiostats' > command to alert you on various critical / warning levels? > (Just curious...if not, I'm going to consider making one) > -- Jeronimo Zucco LPIC-1 Linux Professional Institute Certified N?cleo de Processamento de Dados Universidade de Caxias do Sul http://jczucco.blogspot.com --------------------------------------- Essa mensagem foi enviada pelo UCS Mail ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Sun Dec 16 22:23:36 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 16 Dec 2007 13:23:36 -0800 Subject: nagiostats plugin? In-Reply-To: <1197839816.476595c8e7bd5@webmail.ucs.br> References: <2b7af7c40712161156j7a519102v5f28f8d7929eba9f@mail.gmail.com> <1197839816.476595c8e7bd5@webmail.ucs.br> Message-ID: <2b7af7c40712161323o2381989ck936c5e06cb44a113@mail.gmail.com> On Dec 16, 2007 1:16 PM, Jeronimo Zucco wrote: > I did it just running iostat as a service and logging results in a log > file, > then I just did a script with read and parse last entries of the log file. > It > works better for me. Interesting. I see in 'man nagiostats' that there is an option for outputting to mrtg (-m) and lots of ways to output just specific variables (-d) e.g. MRTG DATA VARIABLES (-d option): PROGRUNTIME string with time Nagios process has been running. PROGRUNTIMETT time Nagios process has been running (time_t format). STATUSFILEAGE string with age of status data file. STATUSFILEAGETT string with age of status data file (time_t format). NAGIOSVERSION string with Nagios version. NAGIOSPID pid number of Nagios deamon. NAGIOSVERPID string with Nagios version and PID. TOTCMDBUF total number of external command buffer slots available. USEDCMDBUF number of external command buffer slots currently in use. HIGHCMDBUF highest number of external command buffer slots ever in use. TOTCHKBUF total number of check result buffer slots available. USEDCHKBUF number of check result buffer slots currently in use. HIGHCHKBUF highest number of check result buffer slots ever in use. NUMSERVICES total number of services. NUMHOSTS total number of hosts. NUMSVCOK number of services OK. NUMSVCWARN number of services WARNING. NUMSVCUNKN number of services UNKNOWN. NUMSVCCRIT number of services CRITICAL. NUMSVCPROB number of service problems (WARNING, UNKNOWN or CRITIAL). NUMSVCCHECKED number of services that have been checked since start. NUMSVCSCHEDULED number of services that are currently scheduled to be checked. NUMSVCFLAPPING number of services that are currently flapping. NUMSVCDOWNTIME number of services that are currently in downtime. NUMHSTUP number of hosts UP. NUMHSTDOWN number of hosts DOWN. NUMHSTUNR number of hosts UNREACHABLE. NUMHSTPROB number of host problems (DOWN or UNREACHABLE). NUMHSTCHECKED number of hosts that have been checked since start. NUMHSTSCHEDULED number of hosts that are currently scheduled to be checked. NUMHSTFLAPPING number of hosts that are currently flapping. NUMHSTDOWNTIME number of hosts that are currently in downtime. xxxACTSVCLAT MIN/MAX/AVG active service check latency (ms). xxxACTSVCEXT MIN/MAX/AVG active service check execution time (ms). xxxACTSVCPSC MIN/MAX/AVG active service check % state change. xxxPSVSVCPSC MIN/MAX/AVG passive service check % state change. xxxSVCPSC MIN/MAX/AVG service check % state change. xxxACTHSTLAT MIN/MAX/AVG active host check latency (ms). xxxACTHSTEXT MIN/MAX/AVG active host check execution time (ms). xxxACTHSTPSC MIN/MAX/AVG active host check % state change. xxxPSVHSTPSC MIN/MAX/AVG passive host check % state change. xxxHSTPSC MIN/MAX/AVG host check % state change. NUMACTHSTCHKxM number of active host checks in last 1/5/15/60 minutes. NUMPSVHSTCHKxM number of passive host checks in last 1/5/15/60 minutes. NUMACTSVCCHKxM number of active service checks in last 1/5/15/60 minutes. NUMPSVSVCCHKxM number of passive service checks in last 1/5/15/60 minutes. I will have to check that out.... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Sun Dec 16 23:40:11 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 16 Dec 2007 17:40:11 -0500 Subject: plugin to monitor svn repositories In-Reply-To: <302ce8b50712160528r6ff234e1o3a63a55b62128b73@mail.gmail.com> References: <5f638b360712160117h5a8ff291iba40c46f102be806@mail.gmail.com> <302ce8b50712160528r6ff234e1o3a63a55b62128b73@mail.gmail.com> Message-ID: <1197844811.4016.93.camel@new-host> On Sun, 2007-12-16 at 08:28 -0500, Jim Perrin wrote: > On Dec 16, 2007 4:17 AM, ankush grover wrote: > > Hi Friends, Or check_ssh. Remote access options for SVN/Subversion are Webdav and SSH. There's also the custom svnserver svn:// protocol that no one uses. You could do file:// protocol access checks if you use NRPE. If you want to do deep aggressive checking on the health of a repository, you should parse "svn status" or "svn info", and validate that your can successfully check out a copy of the repository. ~BS ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Sun Dec 16 23:49:46 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Sun, 16 Dec 2007 17:49:46 -0500 Subject: cannot configure nagios-plugins In-Reply-To: References: Message-ID: <1197845386.4016.104.camel@new-host> On Fri, 2007-12-14 at 21:57 +0000, Rick Dettwyler wrote: > RHEL5 on x86 > > It fails at > > checking for socklen_t... no > checking for socklen_t equivalent... configure: error: Cannot find a type to > use in place of socklen_t We need to see your config.log. Post it somewhere? ~BAS > thanks in advance, > Rick > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Dec 17 00:09:46 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 16 Dec 2007 15:09:46 -0800 Subject: Perfparse on CentOS 4 / Nagios 2.10 ? Message-ID: <2b7af7c40712161509q1e749d1bq89a08961f802af40@mail.gmail.com> Has anyone here installed perfparse on latest CentOS 4.x and Nagios 2.10? I'm having a difficult time running the configure script so that I can properly "make & make instal" the binaries. Each time I run "./configure" (even with all the parameters), I get the following error *************************************************** *************************************************** "checking for gdlib-config... /usr/bin/gdlib-config checking for gdMalloc in -lgd... no configure: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details." *************************************************** *************************************************** The part of the config.log which looks relevant to the problem is the following: *************************************************** *************************************************** | /* Override any gcc2 internal prototype to avoid an error. */ | #ifdef __cplusplus | extern "C" | #endif | /* We use char because int might match the return type of a gcc2 | builtin and then its argument prototype would still apply. */ | char gdMalloc (); | int | main () | { | gdMalloc (); | ; | return 0; | } configure:26962: result: no configure:26974: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details. *************************************************** *************************************************** and in the configure script, this pertains to the error as well *************************************************** *************************************************** LIBS="-lgd $LIBS" else { { echo "$as_me:$LINENO: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details." >&5 echo "$as_me: error: required library libgd unusable. Install required and dependent files and rerun configure. See config.log or FAQs for details." >&2;} { (exit 1); exit 1; }; } fi *************************************************** *************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Mon Dec 17 00:20:26 2007 From: Roger at NagiosWiki.com (Roger) Date: Sun, 16 Dec 2007 15:20:26 -0800 Subject: Perfparse on CentOS 4 / Nagios 2.10 ? In-Reply-To: <2b7af7c40712161509q1e749d1bq89a08961f802af40@mail.gmail.com> References: <2b7af7c40712161509q1e749d1bq89a08961f802af40@mail.gmail.com> Message-ID: <2b7af7c40712161520y47e7ecc8rca00d021c37916c4@mail.gmail.com> On Dec 16, 2007 3:09 PM, Roger wrote: > Has anyone here installed perfparse on latest CentOS 4.x and Nagios 2.10? > I'm having a difficult time running the configure script so that I can > properly "make & make instal" the binaries. Each time I run "./configure" > (even with all the parameters), I get the following error > > *************************************************** > *************************************************** > "checking for gdlib-config... /usr/bin/gdlib-config > checking for gdMalloc in -lgd... no > configure: error: required library libgd unusable. > Install required and dependent files and rerun configure. > See config.log or FAQs for details." > *************************************************** > *************************************************** > > > The part of the config.log which looks relevant to the problem is the > following: > > > *************************************************** > *************************************************** > | /* Override any gcc2 internal prototype to avoid an error. */ > | #ifdef __cplusplus > | extern "C" > | #endif > | /* We use char because int might match the return type of a gcc2 > | builtin and then its argument prototype would still apply. */ > | char gdMalloc (); > | int > | main () > | { > | gdMalloc (); > | ; > | return 0; > | } > configure:26962: result: no > configure:26974: error: required library libgd unusable. > Install required and dependent files and rerun configure. > See config.log or FAQs for details. > *************************************************** > *************************************************** > > and in the configure script, this pertains to the error as well > > *************************************************** > *************************************************** > > LIBS="-lgd $LIBS" > > else > { { echo "$as_me:$LINENO: error: required library libgd unusable. > Install required and dependent files and rerun configure. > See config.log or FAQs for details." >&5 > echo "$as_me: error: required library libgd unusable. > Install required and dependent files and rerun configure. > See config.log or FAQs for details." >&2;} > { (exit 1); exit 1; }; } > fi > > *************************************************** > *************************************************** > BTW, I've already installed gd-devel (which I understand gdMalloc to be a part of) see: rpm -qa | grep gd gd-devel-2.0.28-5.4E gd-progs-2.0.28-5.4E gdbm-1.8.0-24 sysklogd-1.4.1-26_EL gd-2.0.28-5.4E php-gd-4.3.9-3.22.9 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Mon Dec 17 05:32:41 2007 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Mon, 17 Dec 2007 15:32:41 +1100 Subject: how to check snmp negative value i.e. less than 10% is critical. Message-ID: <818F31EB6E5F99459894BE97B94639D5015FE49F@SRV-QS-MAIL5.lands.nsw> I want to check UPS battery level available percentage and report on when 20% and 10% is remaining. The check outlined below shows the percentage. What I want to do is the reverse of the -w -c and critical values so that -w is 20 % remaining and -c is 10% remaining. define service{ use generic_service_template host_name env-qs-ups01 service_description Battery Charge Perentage check_command check_snmp!1.3.6.1.4.1.476.1.42.3.5.1.19.0!'Battery Charge Percntage is % ' } define command{ command_name check_snmp_crit command_line USER1$/check_snmp -H $HOSTADDRESS$ -o $ARG1$ -l $ARG2$ -c $ARG3$ } Any advice would be appreciated. *************************************************************** This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient, please delete it and notify the sender. Views expressed in this message are those of the individual sender, and are not necessarily the views of the Department of Lands. This email message has been swept by MIMEsweeper for the presence of computer viruses. *************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Mon Dec 17 07:05:26 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 17 Dec 2007 01:05:26 -0500 Subject: how to check snmp negative value i.e. less than 10% is critical. In-Reply-To: <818F31EB6E5F99459894BE97B94639D5015FE49F@SRV-QS-MAIL5.lands.nsw> References: <818F31EB6E5F99459894BE97B94639D5015FE49F@SRV-QS-MAIL5.lands.nsw> Message-ID: <476611A6.6080702@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/12/07 11:32 PM, Nicholas Magers wrote: > I want to check UPS battery level available percentage and report on > when 20% and 10% is remaining. The check outlined below shows the > percentage. What I want to do is the reverse of the ?w ?c and critical > values so that ?w is 20 % remaining and ?c is 10% remaining. Use the -w and -c switches to specify ranges for OK states or ranges for non-OK states. run check_snmp with --help on the console to get the details for check_snmp ranges. NB: This is not the official range format used by most other plugins. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHZhGl6dZ+Kt5BchYRAjusAJ9VSTNQ3sGu2Wt43mq39x9NB4cQggCgrt9I 0p818s1bR+B2mbsXVfolvPo= =QxhN -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at easyflirt.com Mon Dec 17 10:13:40 2007 From: greg at easyflirt.com (Greg) Date: Mon, 17 Dec 2007 10:13:40 +0100 Subject: could not be performed due to a fork() error. Message-ID: <47663DC4.7060201@easyflirt.com> Hi, I have installed and configured Nagios 3.0b7 to active check ~50 hosts, ~8 services / host. The usage of "system" CPU is growing to 35% in 12 hours, at 35% Nagios stop checking with this error in the log file : 'SSH' on host 'varan-01' could not be performed due to a fork() error. The check will be rescheduled. I have to stop/start nagios. What's happened ? -- Greg ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From josem.garcia at utensd.es Mon Dec 17 10:28:42 2007 From: josem.garcia at utensd.es (=?iso-8859-1?Q?Jose_Manuel_Garc=EDa?=) Date: Mon, 17 Dec 2007 10:28:42 +0100 Subject: unscribe Message-ID: Id like to unscribe this email from user-list Jose Manuel Garc?a Rodr?guez Departamento de Ingenier?a UTE Novasoft/Sadiel/Diasoft Camino de los Descubrimientos, s/n (Pabell?n de Espa?a) 41092 Sevilla Fijo: 955110688 M?vil: 663 044 136 Ext: 6059 Email: josem.garcia at utensd.es Aviso de Confidencialidad: La informaci?n contenida en este e-mail es confidencial y va dirigida ?nicamente al receptor que aparece como destinatario. Si ha recibido este e-mail por error, por favor, notif?quenoslo inmediatamente y b?rrelo de su sistema. Por favor, en tal caso, no lo copie ni lo use para ning?n prop?sito, ni revele sus contenidos a ninguna persona ni lo almacene ni copie esta informaci?n en ning?n medio. Q Antes de imprimir este mensaje, aseg?rate de que es necesario. Proteger el medio ambiente est? tambi?n en tu mano. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sunny at tetrain.com Mon Dec 17 11:30:36 2007 From: sunny at tetrain.com (Sunny Bhatheja) Date: Mon, 17 Dec 2007 16:00:36 +0530 (IST) Subject: NAS device Mapping Message-ID: <8459.203.145.141.38.1197887436.squirrel@mail.tetrain.com> hello, Can anybody tell me that how i can monitor the status of NAS(Network Area Storage) Server with SNMP. .................................... Warm Regards Sunny Bhatheja Linux Engineer Tetra Information Services Pvt. Ltd. 136, Lower Ground Floor, Sant Nagar. East of Kailash. New Delhi - 110065 Phone : +91-11-66604033\ 34\ 35 Fax : +91-11-41620171 Mumbai Office: mumbai at tetrain.com Mobile : +91-9911849409 Website : www.tetrain.com, www.linux4e.com "We Create and Manage Comprehensive Technology Solutions Scalable to your needs" ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom.welsh at bt.com Mon Dec 17 11:49:10 2007 From: tom.welsh at bt.com (tom.welsh at bt.com) Date: Mon, 17 Dec 2007 10:49:10 -0000 Subject: NAS device Mapping In-Reply-To: <8459.203.145.141.38.1197887436.squirrel@mail.tetrain.com> References: <8459.203.145.141.38.1197887436.squirrel@mail.tetrain.com> Message-ID: <6546343904687E41B19D8E5A26AB9F5301F27E94@E03MVB2-UKBR.domain1.systemhost.net> Hi Sunny, Its quite simple really. You interrogate the device it with snmp utilities Now a properly formatted question would go something like this...... -----------< Example question with necessary Info>-------------- Hi All, I'm new to this so please bear with me. I would like to interrogate a with SNMP My current setup is as follows... Nas Box Manufacturer and Nas Version e.g. Ontap 4.1 Operating system Centos 5.x Nagios version 2.10 Nagios plugins 1.4.9 Net-SNMP version 5.1.x I have tried the following but these do not seem to work. Etc.. Etc... Etc.... I appreciate your help Regards Moi -----------< Example question with necessary Info>-------------- Don't think im having a go at you, im not. There just isn't enough info in this question to answer it. Regards Tom -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Sunny Bhatheja Sent: 17 December 2007 10:31 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NAS device Mapping hello, Can anybody tell me that how i can monitor the status of NAS(Network Area Storage) Server with SNMP. .................................... Warm Regards Sunny Bhatheja Linux Engineer Tetra Information Services Pvt. Ltd. 136, Lower Ground Floor, Sant Nagar. East of Kailash. New Delhi - 110065 Phone : +91-11-66604033\ 34\ 35 Fax : +91-11-41620171 Mumbai Office: mumbai at tetrain.com Mobile : +91-9911849409 Website : www.tetrain.com, www.linux4e.com "We Create and Manage Comprehensive Technology Solutions Scalable to your needs" ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.REYNAUD at omr.fr Mon Dec 17 11:55:20 2007 From: R.REYNAUD at omr.fr (Ronan REYNAUD) Date: Mon, 17 Dec 2007 11:55:20 +0100 Subject: check_nt EventLog regex Message-ID: <4280B962F2182543A587F3539A83205C504CF1@courrier.gpms.org> Hi I've set Nc_Net on a 2003server, and I can read the Application Log From my nagios-server : ./check_nt -H 192.168.x.X -s "None" -v EVENTLOG -w 1 -c 2 -l "Application, error,1440,0,0,0" .. and I get my results, every errors within 1440 mn. OK. I want only some errors based on the Event Source (ie WINSCTRS or Backup Exec ), and I tried to use the filter : ./check_nt -H 192.168.x.X -s "None" -v EVENTLOG -w 1 -c 2 -l "Application, error,1440,1,"Backup exec",0,0" .. then I get "no error" (But I know there are errors) I guess I should use some regexp, but can't figure how to write them. (I tried many search in the documentation and on the web, with no luck) Any clue, please ? Thanks Ronan ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From narendran.neelamegam at wipro.com Mon Dec 17 13:08:59 2007 From: narendran.neelamegam at wipro.com (narendran.neelamegam at wipro.com) Date: Mon, 17 Dec 2007 17:38:59 +0530 Subject: NAS device Mapping References: <8459.203.145.141.38.1197887436.squirrel@mail.tetrain.com> Message-ID: Do a snmpwalk of the NAS and check_snmp -h Naren ________________________________ From: nagios-users-bounces at lists.sourceforge.net on behalf of Sunny Bhatheja Sent: Mon 12/17/2007 4:00 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NAS device Mapping hello, Can anybody tell me that how i can monitor the status of NAS(Network Area Storage) Server with SNMP. .................................... Warm Regards Sunny Bhatheja Linux Engineer Tetra Information Services Pvt. Ltd. 136, Lower Ground Floor, Sant Nagar. East of Kailash. New Delhi - 110065 Phone : +91-11-66604033\ 34\ 35 Fax : +91-11-41620171 Mumbai Office: mumbai at tetrain.com Mobile : +91-9911849409 Website : www.tetrain.com, www.linux4e.com "We Create and Manage Comprehensive Technology Solutions Scalable to your needs" ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Mon Dec 17 13:28:40 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Mon, 17 Dec 2007 12:28:40 +0000 Subject: plugin to monitor svn repositories In-Reply-To: <5f638b360712160117h5a8ff291iba40c46f102be806@mail.gmail.com> References: <5f638b360712160117h5a8ff291iba40c46f102be806@mail.gmail.com> Message-ID: <47666B78.8040907@googlemail.com> ankush grover wrote: > Hi Friends, > > I need a nagios plugin for monitoring svn repositories. Lately our > company is having issues with svn servers some repositories becomes > unavailable to the users. So I want rather than user reporting these > issues I will come to know about these issues . > > Please give me the link for the plugin through which I can monitor svn > repositories. > I actually wrote one in Bash to do this but I wasn't sure if it was release worthy and therefore I haven't released it. I may rewrite it and then release it though, stay tuned... -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon Dec 17 16:20:57 2007 From: richardsolid at gmail.com (Jake Solid) Date: Mon, 17 Dec 2007 10:20:57 -0500 Subject: check_nrpe DISK UNKNOWN Message-ID: I'm using the check_nrpe to check the space of the filesystems. The check_nrpe its able to check the space for all the volumes except one of them [root at nagios plugins]# ./check_nrpe -H vm.domain.com -c check_disk3 DISK UNKNOWN - free space:| disk3 is filesystem /dev/mapper/VolGroup01-infoVol00 which is mounted on /vservers/colombia/info. This is where the MySQL database reside. Why is showing DISK UNKNOWN - free space ?? This is how they are mapped: ===================== Filesystem Size Used Avail Use% Mounted on /dev/mapper/VolGroup00-LogVol02 138G 52G 79G 40% / /dev/md1 7.8G 153M 7.2G 3% /boot tmpfs 14G 0 14G 0% /dev/shm /dev/mapper/VolGroup00-LogVol00 16G 173M 15G 2% /tmp /dev/mapper/VolGroup00-LogVol01 16G 974M 14G 7% /var /dev/mapper/VolGroup01-infoVol00 119G 96G 17G 85% /vservers/colombia/info -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richardsolid at gmail.com Mon Dec 17 16:35:45 2007 From: richardsolid at gmail.com (Jake Solid) Date: Mon, 17 Dec 2007 10:35:45 -0500 Subject: Linux Software Raid Plugin Recommendation? Message-ID: Hello, I have few servers with CentOS4 64-bit systems and I have found the need to use a plugin that will check the status of the raid. Anyone can suggest the most appropriate plugin available? I found few of them but sure which one will work best. Thanks in advanced, ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Mon Dec 17 16:39:11 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Mon, 17 Dec 2007 10:39:11 -0500 Subject: Linux Software Raid Plugin Recommendation? In-Reply-To: References: Message-ID: <1197905951.13102.42.camel@soundwave.pitbpa0.priv.collaborativefusion.com> On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: > need to use a plugin that will check the status of the raid. Anyone RAID? LVM2, Soft-Raid, or Hardware? ~BAS ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 17 17:57:08 2007 From: marc at ena.com (Marc Powell) Date: Mon, 17 Dec 2007 10:57:08 -0600 Subject: unscribe In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Jose Manuel Garc?a > Sent: Monday, December 17, 2007 3:29 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] unscribe > > Id like to unscribe this email from user-list http://www.nagios.org/support/mailinglists.php -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Mon Dec 17 18:05:08 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Mon, 17 Dec 2007 10:05:08 -0700 Subject: Changing Thresholds Message-ID: <4BE6EDFB3C58E24887D56332993B03AF0378F6B9@VS2.EXCHPROD.USA.NET> How do I change the disk space and PING thresholds in Nagios? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From israel at frontierflying.com Mon Dec 17 18:11:52 2007 From: israel at frontierflying.com (Israel Brewster) Date: Mon, 17 Dec 2007 08:11:52 -0900 Subject: Delay notification/escalations In-Reply-To: <47639D37.2000600@op5.se> References: <81758E9F-BD22-443A-8192-E358C9D0439E@frontierflying.com> <47639D37.2000600@op5.se> Message-ID: <10D39098-D276-4E92-9E4D-2030C00FFF78@frontierflying.com> On Dec 15, 2007, at 12:24 AM, Andreas Ericsson wrote: > Israel Brewster wrote: >> I need some clarification of how nagios will respond to something I >> am trying to do. I have a number of hosts I am monitoring that I >> want nagios to note immediately (well, almost) if they go down, >> but I don't want to receive a notification unless they stay in a >> hard down state for more than, say, 5 minutes. Now if I understand >> things correctly, I can accomplish this using host escalations by >> setting the notification options on the host to n (none) and the >> notification interval to 5 minutes, and then setting up a host >> escalation with a first_notification directive of 2. Does this >> sound correct? >> I have a couple of concerns about this setup. From my reading of >> the documentation (correct me if I am wrong), it sounds as though >> escalations only change the contact_groups and notification_periods >> of the notifications. If I have the notification options of the >> host set to n, does the escalation override this? If not, and I >> set the host notification options to, say, d,r, then how do I >> prevent a notification being sent out immediately when the host >> goes down? Does the notification_interval directive even have any >> effect if the notification_options are set to none? The last thing >> I want to do is try making this change, and end up not being >> notified at all when a host goes down for an extended period of >> time. Thanks. > > You should be able to use "first_notification_delay" for this. I'm not > sure which version it's included in, but 3.x will almost certainly > have > it. > Thanks for the info. That sounds like exactly what I am looking for, but from what I can tell it is not available in version 2.7 (which is what I am running) - at any rate, I couldn't find it in the documentation. I plan on moving to 3 as soon after it is released as I can manage (and my boss allows), but for now I need a solution that works with 2.7 ----------------------------------------------- Israel Brewster Computer Support Technician Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- > -- > Andreas Ericsson andreas.ericsson at op5.se > OP5 AB www.op5.se > Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 17 18:16:30 2007 From: marc at ena.com (Marc Powell) Date: Mon, 17 Dec 2007 11:16:30 -0600 Subject: Changing Thresholds In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF0378F6B9@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF0378F6B9@VS2.EXCHPROD.USA.NET> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Egan > Sent: Monday, December 17, 2007 11:05 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Changing Thresholds > > How do I change the disk space and PING thresholds in Nagios? Typically you'll edit the flags passed to the command_line of the plugin for the check command{} you want to modify. For example, you'd change the -w and -c parameters for check_disk to change the warning and critical thresholds below -- define command { command_name check_disk command_line $USER1$/check_disk -t 40 -w 15% -c 10% } Each plugin understands different flags. You can run standard plugins from the command line with --help to see the parameters they accept. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Mon Dec 17 18:19:17 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Mon, 17 Dec 2007 10:19:17 -0700 Subject: Changing Thresholds In-Reply-To: References: <4BE6EDFB3C58E24887D56332993B03AF0378F6B9@VS2.EXCHPROD.USA.NET> Message-ID: <4BE6EDFB3C58E24887D56332993B03AF0378F70F@VS2.EXCHPROD.USA.NET> Marc, That did the trick! Thank you for you help. Mike -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Monday, December 17, 2007 11:17 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Changing Thresholds > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Egan > Sent: Monday, December 17, 2007 11:05 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Changing Thresholds > > How do I change the disk space and PING thresholds in Nagios? Typically you'll edit the flags passed to the command_line of the plugin for the check command{} you want to modify. For example, you'd change the -w and -c parameters for check_disk to change the warning and critical thresholds below -- define command { command_name check_disk command_line $USER1$/check_disk -t 40 -w 15% -c 10% } Each plugin understands different flags. You can run standard plugins from the command line with --help to see the parameters they accept. -- Marc ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at zicasso.com Mon Dec 17 18:59:06 2007 From: paul at zicasso.com (Paul Lathrop) Date: Mon, 17 Dec 2007 09:59:06 -0800 Subject: Delay notification/escalations In-Reply-To: <10D39098-D276-4E92-9E4D-2030C00FFF78@frontierflying.com> References: <81758E9F-BD22-443A-8192-E358C9D0439E@frontierflying.com> <47639D37.2000600@op5.se> <10D39098-D276-4E92-9E4D-2030C00FFF78@frontierflying.com> Message-ID: On Dec 17, 2007 9:11 AM, Israel Brewster wrote: > Thanks for the info. That sounds like exactly what I am looking for, > but from what I can tell it is not available in version 2.7 (which is > what I am running) - at any rate, I couldn't find it in the > documentation. I plan on moving to 3 as soon after it is released as I > can manage (and my boss allows), but for now I need a solution that > works with 2.7 I've done this by setting up a contact with a dummy email address that gets dumped to /dev/null. Have them be the initial contact, then set up the escalation. --Paul ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Cipriani at mybrighthouse.com Mon Dec 17 19:01:32 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Mon, 17 Dec 2007 13:01:32 -0500 Subject: Custom Variables in Hostgroups? In-Reply-To: <2b7af7c40712152030k55862552yaad0fc1ebf9be7dc@mail.gmail.com> References: <2b7af7c40712152030k55862552yaad0fc1ebf9be7dc@mail.gmail.com> Message-ID: <6F41C23E99FC594D90E848FA56423431320A6559C4@TBEMAIL.corp.local> Group, It doesn't seem that I can put custom vars into hostgroups to apply to all members. Would a template be the correct place for these? I am trying to set up variables for default thresholds for service checks (like RTA and packet loss for check_ping) that could be overridden in the individual host definitions. ________________________________ CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecrist at secure-computing.net Mon Dec 17 20:24:11 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Mon, 17 Dec 2007 13:24:11 -0600 Subject: Host parenting and notification supression... Message-ID: Hello folks! We've made sure to set up the host parenting so that it correctly reflects our network layout. I was under the impression that, should a link fail, nagios would automatically assume the hosts behind it were unreachable and, thus, supress the extra (obvious?) notifications. For example, I have a network like this: HOST 1 ---- NAGIOS_HOST ^ / \ HOST 2 - - HOST 3 ^ / \ HOST 4 - - HOST 5 In the above diagram, if HOST 2 goes down, shouldn't the notifications for HOST 4 and HOST 5 be suppressed, or if HOST 1 goes down, HOSTs 2-5? If that's not the way it works, any idea on how to get this behavior? We have a large network and when a T1 or something goes down, I'd like one notification: HEY! T1 is down, rather than 334 as I did this past weekend for every host and service behind that T1. Thanks for the pointers! ----- Eric F Crist Secure Computing Networks ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Mon Dec 17 20:45:35 2007 From: marc at ena.com (Marc Powell) Date: Mon, 17 Dec 2007 13:45:35 -0600 Subject: Host parenting and notification supression... In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Eric F Crist > Sent: Monday, December 17, 2007 1:24 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Host parenting and notification supression... > > Hello folks! > > We've made sure to set up the host parenting so that it correctly > reflects our network layout. I was under the impression that, should > a link fail, nagios would automatically assume the hosts behind it > were unreachable and, thus, supress the extra (obvious?) notifications. Yes, that's how it works. The documentation is here -- http://nagios.sourceforge.net/docs/2_0/networkreachability.html What you may be getting caught by is that nagios changes the status from Down to Unreachable for those hosts. If your notification_options includes the (u)nreachable flag, you'll still receive notifications about those hosts. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cstamas at digitus.itk.ppke.hu Mon Dec 17 21:33:03 2007 From: cstamas at digitus.itk.ppke.hu (Csillag Tamas) Date: Mon, 17 Dec 2007 21:33:03 +0100 Subject: cgi error: "Could not read object configuration data!" Message-ID: <20071217203303.GB3168@digitus> Hi, I am using nagios 2.0b1 since it came out and I plan to upgrade to 3.x. I set up a new machine to test out everything. I made a debian package (on a separate host) version 30b7 and 30rc1 and installed it to the target machine. I copied there all the configuration files too from my old install. nagios -v nagios.cfg show no errors and I can start nagios and it seems to run fine. However I have issues with the cgi interface. I get Error: Could not read object configuration data! If I remove most part of the services.cfg file (and restart nagios) the cgis work fine. I could not identify which part causes the problem (maybe a size issue?). As far as I see the cgis have problems with the objects cache nagios generates. or Maybe I am wrong and made a mistake. I am not sure. Could you help me, how to solve the problem? Thanks, cstamas -- CSILLAG Tamas (cstamas) - http://digitus.itk.ppke.hu/~cstamas Anyone who attempts to generate random numbers by deterministic means is, of course, living in a state of sin. -- John von Neumann ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Mon Dec 17 23:39:54 2007 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Tue, 18 Dec 2007 09:39:54 +1100 Subject: how to check snmp negative value i.e. less than 10% is critical. Message-ID: <818F31EB6E5F99459894BE97B94639D5015FE4A0@SRV-QS-MAIL5.lands.nsw> Thanks for the advice. I am still unclear on this issue. Currently I use a check to notify when disk space is filling with -w set at 80% and -c set at 90%. I am unable to figure out how to check for the reverse of this so that -w 20% and -c 10% for remaining power of a UPS for example. -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Monday, 17 December 2007 5:05 PM To: Nicholas Magers Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] how to check snmp negative value i.e. less than 10% is critical. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/12/07 11:32 PM, Nicholas Magers wrote: > I want to check UPS battery level available percentage and report on > when 20% and 10% is remaining. The check outlined below shows the > percentage. What I want to do is the reverse of the ?w ?c and critical > values so that ?w is 20 % remaining and ?c is 10% remaining. Use the -w and -c switches to specify ranges for OK states or ranges for non-OK states. run check_snmp with --help on the console to get the details for check_snmp ranges. NB: This is not the official range format used by most other plugins. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHZhGl6dZ+Kt5BchYRAjusAJ9VSTNQ3sGu2Wt43mq39x9NB4cQggCgrt9I 0p818s1bR+B2mbsXVfolvPo= =QxhN -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Cipriani at mybrighthouse.com Tue Dec 18 00:22:57 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Mon, 17 Dec 2007 18:22:57 -0500 Subject: Variable References in host/service definitions? In-Reply-To: <20071217203303.GB3168@digitus> References: <20071217203303.GB3168@digitus> Message-ID: <6F41C23E99FC594D90E848FA56423431320A655BF4@TBEMAIL.corp.local> Is it possible to reference variables anywhere other than in commands? That is, in within host and service definitions? e.g. define host{ name generic-host ... register 0 #Default threshold vars #check_ping _WARNRTA 100 _CRITRTA 500 _WARNPL 20% _CRITPL 60% define service{ use generic-service hostgroup_name linux-servers service_description PING check_command check_ping!$_HOSTWARNRTA$!$_HOSTWARNPL$!$_HOSTCRITRTA$!$_HOSTCRITPL$ } define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$,$ARG2$ -c $ARG3$,$ARG4$ -p 5 } If this doesn't work, is there another way to pass a value to $ARGn$ without changing the command definition to use the _HOST macros directly? Are macros (and env variables) the only way to reference variables? I hope this makes sense. Thanks. CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 18 00:34:24 2007 From: marc at ena.com (Marc Powell) Date: Mon, 17 Dec 2007 17:34:24 -0600 Subject: how to check snmp negative value i.e. less than10% is critical. In-Reply-To: <818F31EB6E5F99459894BE97B94639D5015FE4A0@SRV-QS-MAIL5.lands.nsw> References: <818F31EB6E5F99459894BE97B94639D5015FE4A0@SRV-QS-MAIL5.lands.nsw> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Nicholas Magers > Sent: Monday, December 17, 2007 4:40 PM > To: Thomas Guyot-Sionnest > Cc: Nagios Users Mailinglist > Subject: Re: [Nagios-users] how to check snmp negative value i.e. less > than10% is critical. > > > > Thanks for the advice. I am still unclear on this issue. Currently I use > a check to notify when disk space is filling with -w set at 80% and -c > set at 90%. I am unable to figure out how to check for the reverse of > this so that -w 20% and -c 10% for remaining power of a UPS for example. -w 20:11 -c 10:0 would do it I believe. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Tue Dec 18 00:45:25 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 17 Dec 2007 18:45:25 -0500 Subject: how to check snmp negative value i.e. less than 10% is critical. In-Reply-To: <818F31EB6E5F99459894BE97B94639D5015FE4A0@SRV-QS-MAIL5.lands.nsw> References: <818F31EB6E5F99459894BE97B94639D5015FE4A0@SRV-QS-MAIL5.lands.nsw> Message-ID: <47670A15.10707@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/12/07 05:39 PM, Nicholas Magers wrote: > > Thanks for the advice. I am still unclear on this issue. Currently I use > a check to notify when disk space is filling with -w set at 80% and -c > set at 90%. I am unable to figure out how to check for the reverse of > this so that -w 20% and -c 10% for remaining power of a UPS for example. Run the plugin manually with --help and you'll get the usage messsage. i.e.: /usr/local/nagios/libexec/check_snmp --help Then look at the ranges you can use. You have a way to define an inclusive range and one to define an exclusive range. It will be something like "0:20" with will either mean OK between 0 and 20 or non-OK between these values (I forgot, so look at the help output). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHZwoV6dZ+Kt5BchYRArhkAKDjmLELAphu1X7k3jH1Z3531AZyoQCg0ygf avVVPvaa62eObU1HYlvUeNE= =k7na -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Tue Dec 18 00:52:32 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Mon, 17 Dec 2007 18:52:32 -0500 Subject: check_nt EventLog regex In-Reply-To: <4280B962F2182543A587F3539A83205C504CF1@courrier.gpms.org> References: <4280B962F2182543A587F3539A83205C504CF1@courrier.gpms.org> Message-ID: Take out the extra quotes and try it again "Application, error,1440,1,"Backup exec",0,0" "Application, error,1440,1,Backup exec,0,0" Since it is Comma delimited it does not need the extra quotes Also please use EVENTLOG_NEW if posible since it is more efficient. However it uses a slightly different syntex Tony (Author of NC_NEt) On Dec 17, 2007 5:55 AM, Ronan REYNAUD wrote: > Hi > > I've set Nc_Net on a 2003server, and I can read the Application Log > From my nagios-server : > ./check_nt -H 192.168.x.X -s "None" -v EVENTLOG -w 1 -c 2 -l > "Application, error,1440,0,0,0" > > .. and I get my results, every errors within 1440 mn. OK. > > > I want only some errors based on the Event Source (ie WINSCTRS or > Backup Exec ), and I tried to use the filter : > ./check_nt -H 192.168.x.X -s "None" -v EVENTLOG -w 1 -c 2 -l > "Application, error,1440,1,"Backup exec",0,0" > > .. then I get "no error" (But I know there are errors) > > I guess I should use some regexp, but can't figure how to write them. > (I tried many search in the documentation and on the web, with no luck) > > Any clue, please ? > > Thanks > > Ronan > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nicholas.Magers at lands.nsw.gov.au Tue Dec 18 01:42:42 2007 From: Nicholas.Magers at lands.nsw.gov.au (Nicholas Magers) Date: Tue, 18 Dec 2007 11:42:42 +1100 Subject: how to check snmp negative value i.e. less than 10% is critical. Message-ID: <818F31EB6E5F99459894BE97B94639D5015FE4A2@SRV-QS-MAIL5.lands.nsw> Sorry I realise now I was looking at check_snmp - instead of check_snmp --help which has a more verbose description. -----Original Message----- From: Thomas Guyot-Sionnest [mailto:dermoth at aei.ca] Sent: Tuesday, 18 December 2007 10:45 AM To: Nicholas Magers Cc: Nagios Users Mailinglist Subject: Re: [Nagios-users] how to check snmp negative value i.e. less than 10% is critical. -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/12/07 05:39 PM, Nicholas Magers wrote: > > Thanks for the advice. I am still unclear on this issue. Currently I use > a check to notify when disk space is filling with -w set at 80% and -c > set at 90%. I am unable to figure out how to check for the reverse of > this so that -w 20% and -c 10% for remaining power of a UPS for example. Run the plugin manually with --help and you'll get the usage messsage. i.e.: /usr/local/nagios/libexec/check_snmp --help Then look at the ranges you can use. You have a way to define an inclusive range and one to define an exclusive range. It will be something like "0:20" with will either mean OK between 0 and 20 or non-OK between these values (I forgot, so look at the help output). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHZwoV6dZ+Kt5BchYRArhkAKDjmLELAphu1X7k3jH1Z3531AZyoQCg0ygf avVVPvaa62eObU1HYlvUeNE= =k7na -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 18 02:22:30 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 17 Dec 2007 17:22:30 -0800 Subject: problems 'make install'-ing PNP on CentOS 4.x+Nagios 2.10 Message-ID: <2b7af7c40712171722t25f5f7eo295ddbe09fe94296@mail.gmail.com> I'm having problems "make install"-ing PNP (PNP is not Perfparse), and I suspect it's because I have not inserted the correct parameters on configure for CentOS 4.x / Nagios 2.10 (installed via RPMforge package). When I run the following: ./configure --bindir=/usr/bin --libexec=/usr/lib/nagios/plugins --sysconfdir=/etc/nagios --with-perfdata-dir=/var/log/nagios/perfdata --datadir=/usr/share/nagios I get this: *** Configuration summary for pnp 0.4.3 13-10-2007 ***: General Options: ------------------------- Nagios user/group: nagios,nagios Install ${prefix}: /usr/local/nagios HTML Dir: /usr/share/nagios Config Dir: /etc/nagios/ Path to rrdtool: /usr/bin/rrdtool RRD Files stored in: /var/log/nagios/perfdata Is Update: Please backup your installation! After I run the configure script, I run "make all" and then "make install", it's supposed to put the compiled code in /usr/local/nagios, right? But when I look there, all I see in /usr/local/nagios/man/man1 is the fil ' pnpsender.1' (I'm trying to get over this hump so that I can follow the rest of the instructions here: http://www.ederdrom.de/pnp/doc_complete ) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pennojj at upmc.edu Tue Dec 18 03:10:44 2007 From: pennojj at upmc.edu (Jeff Penno) Date: Tue, 18 Dec 2007 03:10:44 +0100 (CET) Subject: Environmental monitoring In-Reply-To: References: Message-ID: <20071218021044.77ADC4F4045@desire.netways.de> Kevin I'm currently monitoring the temperature and humidity in one of our server rooms with a Watchport/H sensor that costs about $150: http://www.provantage.com/digi-international-301-1141~7DIGI015.htm Software that comes with it is only for Windows but the modules are built into the 2.6 kernel. The sensor accepts ASCII text commands and so far has been very reliable. I created a small script with ckermit to obtain the temperature and humidity, put that into a cronjob that runs every 5 minutes and then wrote a quick plugin to extract the readings from the ckermit log file and send them to Nagios. It's setup to notify me on any warnings / critical temperatures & humidity values. I'd like to upload the plugin / scripts to here but not quite sure if they're ready for prime time yet. If you or anyone would like them, let me know. Regards, Jeff Penno. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 18 03:17:33 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 17 Dec 2007 18:17:33 -0800 Subject: problems 'make install'-ing PNP on CentOS 4.x+Nagios 2.10 In-Reply-To: <2b7af7c40712171722t25f5f7eo295ddbe09fe94296@mail.gmail.com> References: <2b7af7c40712171722t25f5f7eo295ddbe09fe94296@mail.gmail.com> Message-ID: <2b7af7c40712171817of683ce8nb64148e36b2713f3@mail.gmail.com> On 12/17/07, Roger wrote: > > I'm having problems "make install"-ing PNP (PNP is not Perfparse), and I > suspect it's because I have not inserted the correct parameters on configure > for CentOS 4.x / Nagios 2.10 (installed via RPMforge package). > > When I run the following: > > > ./configure --bindir=/usr/bin --libexec=/usr/lib/nagios/plugins > --sysconfdir=/etc/nagios --with-perfdata-dir=/var/log/nagios/perfdata > --datadir=/usr/share/nagios > > > I get this: > > > *** Configuration summary for pnp 0.4.3 13-10-2007 ***: > > > General Options: > ------------------------- > Nagios user/group: nagios,nagios > Install ${prefix}: /usr/local/nagios > HTML Dir: /usr/share/nagios > Config Dir: /etc/nagios/ > Path to rrdtool: /usr/bin/rrdtool > RRD Files stored in: /var/log/nagios/perfdata > Is Update: Please backup your installation! > > > > After I run the configure script, I run "make all" and then "make > install", it's supposed to put the compiled code in /usr/local/nagios, > right? > > > But when I look there, all I see in /usr/local/nagios/man/man1 is the fil > 'pnpsender.1' > > > (I'm trying to get over this hump so that I can follow the rest of the > instructions here: http://www.ederdrom.de/pnp/doc > _complete ) > Whoops, forgot to mention that I get the following when I run a "make install" do /usr/bin/install -c -m 664 -o nagios -g nagios $file /usr/share/nagios; done /usr/bin/install: cannot stat `pnp/*.php': No such file or directory make[1]: *** [install] Error 1 make[1]: Leaving directory `/tmp/pnp-0.4.3/share' make: *** [install] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at tany.com Tue Dec 18 03:59:56 2007 From: tim at tany.com (Tim Palmer) Date: Mon, 17 Dec 2007 21:59:56 -0500 Subject: Problem getting servicedependencies with servicegroups working In-Reply-To: <2b7af7c40712171817of683ce8nb64148e36b2713f3@mail.gmail.com> References: <2b7af7c40712171722t25f5f7eo295ddbe09fe94296@mail.gmail.com> <2b7af7c40712171817of683ce8nb64148e36b2713f3@mail.gmail.com> Message-ID: <476737AC.2090505@tany.com> Hi all, I'm trying to get service dependencies with service groups working and not having any luck. The format given in the docs isn't working for me. Am I just being stupid, or is there something else going on? I'll admit to not having dived into the source, as reading source code isn't one of my strong suits... The intent is to have a bunch of services (same service on several hosts) not be checked if the same service type on one host fails. Service group membership is defined by "servicegroups" lines on the specific service defs. The following servicedependany def is only one of many I've tried. Every way I've tried fails nagios -v with: Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Could not expand dependent hostgroups and/or hosts specified in service d ependency (config file '/usr/local/etc/nagios/services.cfg', starting on line 19 ) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed ############################# # Service groups ############################# define servicegroup{ servicegroup_name all-wan-ping alias Pings for all WAN } ############################# # Service Dependancies ############################# define servicedependency{ host_name host1 service_description PING dependent_servicegroup_name all-wan-ping dependent_service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } Any thoughts? thank you for your time, tim ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 18 04:01:23 2007 From: Roger at NagiosWiki.com (Roger) Date: Mon, 17 Dec 2007 19:01:23 -0800 Subject: problems 'make install'-ing PNP on CentOS 4.x+Nagios 2.10 In-Reply-To: <2b7af7c40712171722t25f5f7eo295ddbe09fe94296@mail.gmail.com> References: <2b7af7c40712171722t25f5f7eo295ddbe09fe94296@mail.gmail.com> Message-ID: <2b7af7c40712171901m41799fcembef1abff6a9a41d4@mail.gmail.com> On 12/17/07, Roger wrote: > > I'm having problems "make install"-ing PNP (PNP is not Perfparse), and I > suspect it's because I have not inserted the correct parameters on configure > for CentOS 4.x / Nagios 2.10 (installed via RPMforge package). > > When I run the following: > > > ./configure --bindir=/usr/bin --libexec=/usr/lib/nagios/plugins > --sysconfdir=/etc/nagios --with-perfdata-dir=/var/log/nagios/perfdata > --datadir=/usr/share/nagios > I tried this again make clean ./configure make all make install and now everything shows up in the /usr/local/nagios/etc/pnp/ dir like I was expecting. (Guess I didn't have to specify everything like I thought I would) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gimenez at cict.fr Tue Dec 18 09:15:17 2007 From: gimenez at cict.fr (Carole Gimenez) Date: Tue, 18 Dec 2007 09:15:17 +0100 Subject: check_mailq and several mqueue? Message-ID: <47678195.2030301@cict.fr> Hi, I installed nagios-plugins-1.4.10 on a new server (centos 5). I want to check 2 mqueues (/var/spool/mqueue and /var/spool/mqueue1). With nagios-plugins 1.4.0alpha1, the check_mailq plugin (v1.4) could monitor 2 mqueues thanks to the -f option that allowed to indicate the configuration file. How can i do that now? Thanks for your reponse. Carole Gimenez. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Tue Dec 18 09:58:03 2007 From: ae at op5.se (Andreas Ericsson) Date: Tue, 18 Dec 2007 09:58:03 +0100 Subject: Delay notification/escalations In-Reply-To: <10D39098-D276-4E92-9E4D-2030C00FFF78@frontierflying.com> References: <81758E9F-BD22-443A-8192-E358C9D0439E@frontierflying.com> <47639D37.2000600@op5.se> <10D39098-D276-4E92-9E4D-2030C00FFF78@frontierflying.com> Message-ID: <47678B9B.8020501@op5.se> Israel Brewster wrote: > On Dec 15, 2007, at 12:24 AM, Andreas Ericsson wrote: > >> Israel Brewster wrote: >>> I need some clarification of how nagios will respond to something I >>> am trying to do. I have a number of hosts I am monitoring that I >>> want nagios to note immediately (well, almost) if they go down, >>> but I don't want to receive a notification unless they stay in a >>> hard down state for more than, say, 5 minutes. Now if I understand >>> things correctly, I can accomplish this using host escalations by >>> setting the notification options on the host to n (none) and the >>> notification interval to 5 minutes, and then setting up a host >>> escalation with a first_notification directive of 2. Does this >>> sound correct? >>> I have a couple of concerns about this setup. From my reading of >>> the documentation (correct me if I am wrong), it sounds as though >>> escalations only change the contact_groups and notification_periods >>> of the notifications. If I have the notification options of the >>> host set to n, does the escalation override this? If not, and I >>> set the host notification options to, say, d,r, then how do I >>> prevent a notification being sent out immediately when the host >>> goes down? Does the notification_interval directive even have any >>> effect if the notification_options are set to none? The last thing >>> I want to do is try making this change, and end up not being >>> notified at all when a host goes down for an extended period of >>> time. Thanks. >> You should be able to use "first_notification_delay" for this. I'm not >> sure which version it's included in, but 3.x will almost certainly >> have >> it. >> > > Thanks for the info. That sounds like exactly what I am looking for, > but from what I can tell it is not available in version 2.7 (which is > what I am running) - at any rate, I couldn't find it in the > documentation. I plan on moving to 3 as soon after it is released as I > can manage (and my boss allows), but for now I need a solution that > works with 2.7 > The patch was originally written for nagios 2.x. If you find it in the archives you should be able to apply it to the nagios 2.7 sources and then re-compile your Nagios. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Tue Dec 18 10:13:02 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Tue, 18 Dec 2007 09:13:02 +0000 Subject: Linux Software Raid Plugin Recommendation? In-Reply-To: References: Message-ID: <47678F1E.7030603@googlemail.com> Jake Solid wrote: > Hello, > > I have few servers with CentOS4 64-bit systems and I have found the > need to use a plugin that will check the status of the raid. Anyone > can suggest the most appropriate plugin available? I found few of them > but sure which one will work best I wrote this which works for me a some other people quite nicely: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 I works well for me across distros and 32 and 64 bit servers and I am around to maintain it if needed. Haven't done as much on this plugin as some of the others since it just works, but if anyone things something should be changed on it for any reason I'm always available and open to ideas. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Tue Dec 18 12:20:22 2007 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Tue, 18 Dec 2007 09:20:22 -0200 Subject: Monitoring using MIBs Message-ID: <4767ACF6.2010904@dhl.com> Can anyone help me ? I'd like to monitor a specific proxy service (Blue Coat) and I don't know if Nagios works with different mibs. Anybody knows a good tip about that ? Thank you. Cheers, Hugo ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Dec 18 12:25:26 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 18 Dec 2007 12:25:26 +0100 Subject: Monitoring using MIBs In-Reply-To: <4767ACF6.2010904@dhl.com> References: <4767ACF6.2010904@dhl.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A530@hermes.sapphire-int.gi> > Can anyone help me ? > > I'd like to monitor a specific proxy service (Blue Coat) and I don't know > if Nagios works with different mibs. > Anybody knows a good tip about that ? > My Tip #1: I recommend using numerical OIDs with check_snmp. That way you don't have to have the MIB loaded anywhere. My Tip #2: Use a MIB browser such as iReasonings offering to identify useful monitorable OIDs My Tip #3: snmpwalk is your friend ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Tue Dec 18 12:33:20 2007 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Tue, 18 Dec 2007 09:33:20 -0200 Subject: Monitoring using MIBs In-Reply-To: <9D30659ABCA7FB428CF91E386C3A5744A5A530@hermes.sapphire-int.gi> References: <4767ACF6.2010904@dhl.com> <9D30659ABCA7FB428CF91E386C3A5744A5A530@hermes.sapphire-int.gi> Message-ID: <4767B000.8050904@dhl.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gcoochey at sapphire.gi Tue Dec 18 12:39:50 2007 From: gcoochey at sapphire.gi (Giles Coochey) Date: Tue, 18 Dec 2007 12:39:50 +0100 Subject: Monitoring using MIBs In-Reply-To: <4767B000.8050904@dhl.com> References: <4767ACF6.2010904@dhl.com> <9D30659ABCA7FB428CF91E386C3A5744A5A530@hermes.sapphire-int.gi> <4767B000.8050904@dhl.com> Message-ID: <9D30659ABCA7FB428CF91E386C3A5744A5A534@hermes.sapphire-int.gi> ________________________________________ From: Hugo Rebello [mailto:hugo.rebello at dhl.com] Sent: 18 December 2007 12:33 To: Giles Coochey Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring using MIBs Could you send me an example of snmpwalk command ? Thank you. Hugo Try this link: http://www.google.com/search?hl=en&q=snmpwalk+example ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tim at tany.com Tue Dec 18 14:15:48 2007 From: tim at tany.com (Tim Palmer) Date: Tue, 18 Dec 2007 08:15:48 -0500 Subject: Problem getting servicedependencies with servicegroups working Message-ID: <4767C804.80804@tany.com> [resending as a real new message, rather than a lazily hijacked thread] Hi all, I'm trying to get service dependencies with service groups working and not having any luck. The format given in the docs isn't working for me. Am I just being stupid, or is there something else going on? I'll admit to not having dived into the source, as reading source code isn't one of my strong suits... The intent is to have a bunch of services (same service on several hosts) not be checked if the same service type on one host fails. Service group membership is defined by "servicegroups" lines on the specific service defs. The following servicedependany def is only one of many I've tried. Every way I've tried fails nagios -v with: "Nagios 2.9 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 04-10-2007 License: GPL Reading configuration data... Error: Could not expand dependent hostgroups and/or hosts specified in service d ependency (config file '/usr/local/etc/nagios/services.cfg', starting on line 19 ) ***> One or more problems was encountered while processing the config files..." Service group and dependency definitions: define servicegroup{ servicegroup_name all-wan-ping alias Pings for all WAN } define servicedependency{ host_name host1 service_description PING dependent_servicegroup_name all-wan-ping dependent_service_description PING execution_failure_criteria w,u,c notification_failure_criteria w,u,c } Freebsd 6.1, Nagios 2.9 Any thoughts? thank you for your time, tim ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Tue Dec 18 14:28:44 2007 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Tue, 18 Dec 2007 14:28:44 +0100 Subject: Unknow status for a SNMP check Message-ID: <53317ec10712180528v737295b3v9c15c3380a4d6735@mail.gmail.com> Hi all, I am trying to read a SNMP value from a Alvarion Antenna. I have defined the service like define service{ use generic-service ; Inherit values from a template host_name antenna2 service_description Actual_power_tx check_command check_snmp!-C public -o .1.3.6.1.4.1.12394.1.1.6.5.1.4 } but all i still reiciving is SNMP problem - No data received from host anyone could tell me what i doing wrong? thank you very much in advance Pili -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Tue Dec 18 14:52:51 2007 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Tue, 18 Dec 2007 14:52:51 +0100 Subject: Unknow status for a SNMP check In-Reply-To: References: Message-ID: <53317ec10712180552o6a598ff3uaa46290dd3f197bf@mail.gmail.com> hi Stephen thanks for answering so soon yes, i sure it is the right version of SNMP. I am trying to get the value from the shell and i get: snmpget -v 1 -c public 62.81.189.117 .1.3.6.1.4.1.12394.1.1.6.5.1.4 Error in packet Reason: (noSuchName) There is no such variable name in this MIB. Failed object: SNMPv2-SMI::enterprises.12394.1.1.6.5.1.4 but i obtained the OID grom getif and it says it is aplicable to all units... i haven't load the alvarion MIB anywhere (and i don't know how to do it) because i read if you use numerical OID you don't have to.. if i use the same command with v 2c i obtain snmpget -v 2c -c public 62.81.189.117 .1.3.6.1.4.1.12394.1.1.6.5.1.4 Timeout: No Response from 62.81.189.117. and more over, when i installed net-snmp i configured it to work with v1 (net-snmp) any more ideas? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 18 14:54:47 2007 From: marc at ena.com (Marc Powell) Date: Tue, 18 Dec 2007 07:54:47 -0600 Subject: Monitoring using MIBs In-Reply-To: <4767ACF6.2010904@dhl.com> References: <4767ACF6.2010904@dhl.com> Message-ID: On Dec 18, 2007, at 5:20 AM, Hugo Rebello wrote: > Can anyone help me ? > > I'd like to monitor a specific proxy service (Blue Coat) and I don't > know if Nagios works with different mibs. > Anybody knows a good tip about that ? An snmpwalk won't really show you the interesting stuff on the Bluecoat boxen unless you set the start of the MIB to be 1.3.6.1.4.25.17. Here are some example 'interesting' OID's -- #OID based on Proxy/Cache MIB OID proxyMemUsage .1.3.6.1.3.25.17.1.1 OID proxyStorge .1.3.6.1.3.25.17.1.2 OID proxyCpuLoad .1.3.6.1.3.25.17.3.1.1 OID proxyNumObjects .1.3.6.1.3.25.17.3.1.2 OID proxyClientsHttpRequests .1.3.6.1.3.25.17.3.2.1.1 OID proxyClientsHttpHits .1.3.6.1.3.25.17.3.2.1.2 OID proxyClientsHttpErrors .1.3.6.1.3.25.17.3.2.1.3 OID proxyClientsHttpInKbs .1.3.6.1.3.25.17.3.2.1.4 OID proxyClientsHttpOutKbs .1.3.6.1.3.25.17.3.2.1.5 OID proxyServerHttpRequests .1.3.6.1.3.25.17.3.2.2.1 OID proxyServerHttpErrors .1.3.6.1.3.25.17.3.2.2.2 OID proxyServerHttpInKbs .1.3.6.1.3.25.17.3.2.2.3 OID proxyServerHttpOutKbs .1.3.6.1.3.25.17.3.2.2.4 OID proxyHTTPMissSvcTime .1.3.6.1.3.25.17.3.3.1.3.1 OID proxyHTTPHitSvcTime .1.3.6.1.3.25.17.3.3.1.4.1 OID proxyHTTPNhSvcTime .1.3.6.1.3.25.17.3.3.1.5.1 -- Mar ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mwlucas at blackhelicopters.org Tue Dec 18 15:02:22 2007 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 18 Dec 2007 09:02:22 -0500 Subject: Unknow status for a SNMP check In-Reply-To: <53317ec10712180552o6a598ff3uaa46290dd3f197bf@mail.gmail.com> References: <53317ec10712180552o6a598ff3uaa46290dd3f197bf@mail.gmail.com> Message-ID: <20071218140222.GA36486@bewilderbeast.blackhelicopters.org> On Tue, Dec 18, 2007 at 02:52:51PM +0100, Pili Mu?oz Gargallo wrote: > hi Stephen > thanks for answering so soon > > yes, i sure it is the right version of SNMP. I am trying to get the value > from the shell and i get: > > snmpget -v 1 -c public 62.81.189.117 .1.3.6.1.4.1.12394.1.1.6.5.1.4 > Error in packet > Reason: (noSuchName) There is no such variable name in this MIB. > Failed object: SNMPv2-SMI::enterprises.12394.1.1.6.5.1.4 Are you sure that getif actually queried the host, or did it just show MIBs it found in its internal MIB files? Try an snmpwalk(1) instead, referring to a higher level of the tree, to see what the device is reporting. Perhaps: snmpwalk -v 1 -c public 62.81.189.117 .1.3.6.1.4.1.12394 ==ml -- Michael W. Lucas mwlucas at BlackHelicopters.org, mwlucas at FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons." ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leosilva at tse.gov.br Tue Dec 18 18:30:27 2007 From: leosilva at tse.gov.br (Leandro Silva) Date: Tue, 18 Dec 2007 14:30:27 -0300 Subject: Monitoring a daemon Message-ID: <000c01c8419b$adb8b9c0$2df41c0a@tse.gov.br> Hi Anyone know how to monitoring a daemon in a unix system, like postifx, apache2, dns, ... Leandro -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reed at reedmedia.net Tue Dec 18 18:02:07 2007 From: reed at reedmedia.net (reed at reedmedia.net) Date: Tue, 18 Dec 2007 11:02:07 -0600 (CST) Subject: Monitoring a daemon In-Reply-To: <000c01c8419b$adb8b9c0$2df41c0a@tse.gov.br> References: <000c01c8419b$adb8b9c0$2df41c0a@tse.gov.br> Message-ID: On Tue, 18 Dec 2007, Leandro Silva wrote: > Anyone know how to monitoring a daemon in a unix system, like > postifx, apache2, dns, ... The normal way is to check that the service it is providing is really working, such as with check_smtp, check_http, check_dns, ... Or if you really want to see if the daemon process is running you can use check_procs. Hopefully this brief answer will give you some tools to search for. Try running them with --help. Jeremy C. Reed ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From leosilva at tse.gov.br Tue Dec 18 19:06:05 2007 From: leosilva at tse.gov.br (Leandro Silva) Date: Tue, 18 Dec 2007 15:06:05 -0300 Subject: Status storage Message-ID: <002201c841a0$a82096e0$2df41c0a@tse.gov.br> Hi What is the file where nagios stores the Service Availability ? Is possible to use oracle with NDO, and NDO 1.4b7 is compatible whit nagios 3.0rc1? Leandro -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 18 19:03:41 2007 From: marc at ena.com (Marc Powell) Date: Tue, 18 Dec 2007 12:03:41 -0600 Subject: Status storage In-Reply-To: <002201c841a0$a82096e0$2df41c0a@tse.gov.br> References: <002201c841a0$a82096e0$2df41c0a@tse.gov.br> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Leandro Silva > Sent: Tuesday, December 18, 2007 12:06 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Status storage > > Hi > What is the file where nagios stores the Service Availability ? Availability is calculated on-demand from the log files (nagios.log and archives/*). > Is possible to use oracle with NDO, and NDO 1.4b7 is compatible whit > nagios 3.0rc1 Not that I'm personally aware of. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 18 19:35:39 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 18 Dec 2007 10:35:39 -0800 Subject: http://nagios/pnp -> "Hostname is not set" (using CentOS 4 / NagiosQL / Nagios 2.10) Message-ID: <2b7af7c40712181035r15e395f1pdbe088662e5c19aa@mail.gmail.com> I recently installed PNP for Nagios and am having problems with the RRD output displaying. I installed Nagios 2.10 from package on CentOS 4 (via RPMforge). Everything works well with NagiosQL. Per this doc, http://www.ederdrom.de/pnp/doc_complete I downloaded the PNP code and ran "./configure" and then "make all && make install" This, by default, installed everything into /usr/local/nagios/pnp/ I made a sym link: ln -s /usr/local/nagios/share/pnp /var/www/html/pnp (because the PHP front end files are located there) And I also made the default checks that the documentation told me to make the following changes in /etc/nagios/nagios.cfg process_performance_data=1 service_perfdata_command=process-service-perfdata And in NagiosQL, I made the following definitions in the commands - CheckCommands section. define command { command_name process-service-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl } define command { command_name process-host-perfdata command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA } And in NagiosQL's specialty - Service Ext Info, I made the following entry (modified for my environment) define serviceextinfo { host_name mybox.mydomain.com service_description check_load action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ } Now when I got to http://nagiosBox/pnp I get the following error: "Hostname is not set". Where do I set this HOSTNAME variable? Is this part of the Service Ext Info part? Or is this parameter somehow not being properly passed to the PNP/PHP scripts? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at kent.edu Tue Dec 18 20:21:45 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Tue, 18 Dec 2007 14:21:45 -0500 Subject: Parent hosts Message-ID: List, Just so I am clear on this whole parents thing... I have multiple servers that virtual servers. Will the parents directive also work in this situation where if the host server goes down I don't get notified about all the virtuals servers running on that box? Thanks. Oh, Nagios 2.10, 1.4.10 plugs. -------------- next part -------------- A non-text attachment was scrubbed... Name: svalding.vcf Type: text/x-vcard Size: 131 bytes Desc: Card for URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecrist at secure-computing.net Tue Dec 18 20:23:01 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Tue, 18 Dec 2007 13:23:01 -0600 Subject: Parent hosts In-Reply-To: References: Message-ID: Sure, why wouldn't it? On Dec 18, 2007, at 1:21 PM, svalding at kent.edu wrote: > List, > > Just so I am clear on this whole parents thing... > > I have multiple servers that virtual servers. Will the parents > directive > also work in this situation where if the host server goes down I don't > get notified about all the virtuals servers running on that box? > Thanks. > Oh, Nagios 2.10, 1.4.10 plugs. > < > svalding_vcf > .DEFANGED > -135391 > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ----- Eric F Crist Secure Computing Networks ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Tue Dec 18 21:02:23 2007 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Tue, 18 Dec 2007 21:02:23 +0100 Subject: Unknow status for a SNMP check In-Reply-To: <20071218140222.GA36486@bewilderbeast.blackhelicopters.org> References: <53317ec10712180552o6a598ff3uaa46290dd3f197bf@mail.gmail.com> <20071218140222.GA36486@bewilderbeast.blackhelicopters.org> Message-ID: <53317ec10712181202i4606679at66318485b35c0b58@mail.gmail.com> Thanks Michael I've solved the problem... You were rigth, getif was only reading the mib it has in his internal folder.. It seems that when you want to read a value that is in a table you have to put the index aswell in the OID... i have an '1' left.. thank you very much again Pili -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Tue Dec 18 22:24:51 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 18 Dec 2007 13:24:51 -0800 Subject: http://nagios/pnp -> "Hostname is not set" (using CentOS 4 / NagiosQL / Nagios 2.10) In-Reply-To: <2b7af7c40712181035r15e395f1pdbe088662e5c19aa@mail.gmail.com> References: <2b7af7c40712181035r15e395f1pdbe088662e5c19aa@mail.gmail.com> Message-ID: <2b7af7c40712181324p61551eb5h3456d45a71571998@mail.gmail.com> On Dec 18, 2007 10:35 AM, Roger wrote: > I recently installed PNP for Nagios and am having problems with the RRD > output displaying. I installed Nagios 2.10 from package on CentOS 4 (via > RPMforge). Everything works well with NagiosQL. > > Per this doc, http://www.ederdrom.de/pnp/doc_complete > > I downloaded the PNP code and ran "./configure" and then "make all && make > install" This, by default, installed everything into /usr/local/nagios/pnp/ > > I made a sym link: ln -s /usr/local/nagios/share/pnp /var/www/html/pnp > (because the PHP front end files are located there) > > And I also made the default checks that the documentation told me to make > the following changes in /etc/nagios/nagios.cfg > > process_performance_data=1 > > > service_perfdata_command=process-service-perfdata > > And in NagiosQL, I made the following definitions in the commands - > CheckCommands section. > > define command { > command_name process-service-perfdata > command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl > } > > define command { > command_name process-host-perfdata > command_line /usr/bin/perl /usr/local/nagios/libexec/process_perfdata.pl -d HOSTPERFDATA > } > > > And in NagiosQL's specialty - Service Ext Info, I made the following entry > (modified for my environment) > > define serviceextinfo { > host_name mybox.mydomain.com > service_description check_load > action_url /nagios/pnp/index.php?host=$HOSTNAME$&srv=$SERVICEDESC$ > } > > > Now when I got to http://nagiosBox/pnp I get > the following error: "Hostname is not set". > > Where do I set this HOSTNAME variable? Is this part of the Service Ext > Info part? Or is this parameter somehow not being properly passed to the > PNP/PHP scripts? > I redid the ./configure command to match my CentOS environment for Nagios 2.10 ./configure --prefix=/usr/local/nagios/ and then redid the aformentioned command lines in the service definitions to match the path to the new perl scripts. Then I went back in my checks in NagiosQL and checked the "performance data" box. I'm assuming all I have to do now is just let the rrd files generate themselves now? (I ran an 'ls' in the /usr/local/nagios/share/perfdata folder, but no folders by the same of hostnames, like I'm expecting) -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dean.campbell1 at optusnet.com.au Tue Dec 18 22:51:16 2007 From: dean.campbell1 at optusnet.com.au (D Campbell) Date: Wed, 19 Dec 2007 08:51:16 +1100 Subject: GSM Modem and Solaris 10 Message-ID: <573256E4-67BE-4514-8A74-CD40408FFB00@optusnet.com.au> Hello List, I am wondering if anyone has any recent experience installing a serial connected GSM Modem running under Solaris 10. The current environment is using two Wavecomm WM01 connected to a FreeBSD system. The Nagios environment is being migrated to Solaris 10 along with the SMS component. The Wavecomm's are out of service so it is time to look at upgrading. Requirements: * Compatibility with Soalris 10 zones * Serial Connected Any advice would be much appreciated. Thanks, Dean. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Tue Dec 18 22:51:03 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Tue, 18 Dec 2007 14:51:03 -0700 Subject: MRTG Question Message-ID: <4BE6EDFB3C58E24887D56332993B03AF03820C29@VS2.EXCHPROD.USA.NET> I know this is the Nagios listserv but I am wondering if anybody can help me with an MRTG question? I have added a Cisco router to MRTG. I am getting Uptime information but I am not getting any traffic data. Does the traffic data use a different port than SNMP? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Garry.Cook at arcadis-us.com Tue Dec 18 23:21:02 2007 From: Garry.Cook at arcadis-us.com (Cook, Garry) Date: Tue, 18 Dec 2007 15:21:02 -0700 Subject: MRTG Question In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF03820C29@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF03820C29@VS2.EXCHPROD.USA.NET> Message-ID: <1689390EF608584D85BA56D958A5D1E4529DA72B30@CorpExMBS1.arcadis-us.com> Even if this did relate to Nagios, I'm not sure I understand your question. 'Traffic data' doesn't use any port, it just resides on the device you are monitoring. MRTG (and other apps) gather data from devices using SNMP. You should join the MRTG mailing list, and ask a more specific question there. mrtg at lists.oetiker.ch https://lists.oetiker.ch/cgi-bin/listinfo/mrtg Thanks, Garry >From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Michael Egan >Sent: Tuesday, December 18, 2007 2:51 PM >To: Nagios Users Mailinglist >Subject: [Nagios-users] MRTG Question > >I know this is the Nagios listserv but I am wondering if anybody can help me with an MRTG question? >? >I have added a Cisco router to MRTG. I am getting Uptime information but I am not getting any traffic data. Does the traffic >data use a different port than SNMP? >? >Thanks, >Mike NOTICE: This e-mail and any files transmitted with it are the property of ARCADIS U.S., Inc. and its affiliates. All rights, including without limitation copyright, are reserved. The proprietary information contained in this e-mail message, and any files transmitted with it, is intended for the use of the recipient(s) named above. If the reader of this e-mail is not the intended recipient, you are hereby notified that you have received this e-mail in error and that any review, distribution or copying of this e-mail or any files transmitted with it is strictly prohibited. If you have received this e-mail in error, please notify the sender immediately and delete the original message and any files transmitted. The unauthorized use of this e-mail or any files transmitted with it is prohibited and disclaimed by ARCADIS U.S., Inc. and its affiliates. ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue Dec 18 23:22:58 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 18 Dec 2007 23:22:58 +0100 Subject: MRTG Question In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF03820C29@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF03820C29@VS2.EXCHPROD.USA.NET> Message-ID: <47684842.1050804@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Michael Egan wrote: > I know this is the Nagios listserv but I am wondering if anybody can > help me with an MRTG question? I think you will find the MRTG forum a better suited place: http://oss.oetiker.ch/mrtg/support/ Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHaEhBBvzDRVjxmYERAnkCAJwK65u/DpvTzZ3aOpnUnhwLVL45ewCfU7zx NnJAyWCINlJpfUR0IueyQQ0= =dUSH -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Tue Dec 18 23:39:52 2007 From: marc at ena.com (Marc Powell) Date: Tue, 18 Dec 2007 16:39:52 -0600 Subject: MRTG Question In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF03820C29@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF03820C29@VS2.EXCHPROD.USA.NET> Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Michael Egan > Sent: Tuesday, December 18, 2007 3:51 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] MRTG Question > > I know this is the Nagios listserv but I am wondering if anybody can help > me with an MRTG question? http://www.catb.org/~esr/faqs/smart-questions.html#forum > I have added a Cisco router to MRTG. I am getting Uptime information but > I am not getting any traffic data. Does the traffic data use a different > port than SNMP? Same port, still SNMP, different OID. You're looking for the per-interface ifInOctets and ifOutOctets. They OID is dynamic based on the router numbering of interfaces but are typically found under .1.3.6.1.2.1.2.2.1.10 and .1.3.6.1.2.1.2.2.1.16 respectively. High capacity interfaces are found elsewhere. Seems like you need to understand SNMP a bit more before posting to the MRTG forum so you can properly frame your question. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roger at NagiosWiki.com Wed Dec 19 01:14:25 2007 From: Roger at NagiosWiki.com (Roger) Date: Tue, 18 Dec 2007 16:14:25 -0800 Subject: http://nagios/pnp -> "Hostname is not set" (using CentOS 4 / NagiosQL / Nagios 2.10) In-Reply-To: <2b7af7c40712181035r15e395f1pdbe088662e5c19aa@mail.gmail.com> References: <2b7af7c40712181035r15e395f1pdbe088662e5c19aa@mail.gmail.com> Message-ID: <2b7af7c40712181614va77f0f5pbd8d8f9007c9bc6@mail.gmail.com> Nevermind on this problem. I finally fixed it. It was several things. I'll do a write up on how to integrate this with CentOS and then post my solution on the list. Thanks for your help, everyone! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajcooper80 at googlemail.com Wed Dec 19 11:00:21 2007 From: ajcooper80 at googlemail.com (Alan Cooper) Date: Wed, 19 Dec 2007 10:00:21 +0000 Subject: Problems starting nagios Message-ID: <4768EBB5.4090306@googlemail.com> Nagios 3.0rc1 on RHEL3 I've RPM'd up this release - I have it working fine on one RHEL3 box, and various other rhel4 boxes without issue, with the same configuration on all boxes. One (and only one) other RHEL3 box is causing me problems - nagios is quietly refusing to start, citing problems with the config file, but not saying what they are. Any ideas on where to begin debugging? [root at thdo-shell-01 nagios]# /etc/init.d/nagios restart Running configuration check... CONFIG ERROR! Restart aborted. Check your Nagios configuration. [root at thdo-shell-01 nagios]# nagios -v /etc/nagios/nagios.cfg Nagios 3.0rc1 Copyright (c) 1999-2007 Ethan Galstad (http://www.nagios.org) Last Modified: 12-17-2007 License: GPL Reading configuration data... ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. [root at thdo-shell-01 nagios]# tail -f /var/log/nagios/nagios.log ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ad at heapoverflow.com Wed Dec 19 11:14:44 2007 From: ad at heapoverflow.com (ad at heapoverflow.com) Date: Wed, 19 Dec 2007 11:14:44 +0100 Subject: Problems starting nagios In-Reply-To: <4768EBB5.4090306@googlemail.com> References: <4768EBB5.4090306@googlemail.com> Message-ID: <4768EF14.2060705@heapoverflow.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Try with strace to get much logs; strace nagios -v /etc/nagios/nagios.cfg 2>&1 | egrep '(access|open)' > /tmp/strace.log strace nagios -v /etc/nagios/nagios.cfg 2>&1 | egrep '()' > /tmp/strace.log Alan Cooper wrote: > Nagios 3.0rc1 on RHEL3 > > I've RPM'd up this release - I have it working fine on one RHEL3 > box, and various other rhel4 boxes without issue, with the same > configuration on all boxes. > > One (and only one) other RHEL3 box is causing me problems - nagios > is quietly refusing to start, citing problems with the config file, > but not saying what they are. > > Any ideas on where to begin debugging? > > [root at thdo-shell-01 nagios]# /etc/init.d/nagios restart Running > configuration check... CONFIG ERROR! Restart aborted. Check your > Nagios configuration. [root at thdo-shell-01 nagios]# nagios -v > /etc/nagios/nagios.cfg > > Nagios 3.0rc1 Copyright (c) 1999-2007 Ethan Galstad > (http://www.nagios.org) Last Modified: 12-17-2007 License: GPL > > Reading configuration data... > > > ***> One or more problems was encountered while processing the > config files... > > Check your configuration file(s) to ensure that they contain valid > directives and data defintions. If you are upgrading from a > previous version of Nagios, you should be aware that some > variables/definitions may have been removed or modified in this > version. Make sure to read the HTML documentation regarding the > config files, as well as the 'Whats New' section to find out what > has changed. > > [root at thdo-shell-01 nagios]# tail -f /var/log/nagios/nagios.log > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: Check out the new SourceForge.net > Marketplace. It's the best place to buy or sell services for just > about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ Nagios-users > mailing list Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users ::: > Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (MingW32) iD8DBQFHaO8UdS4H/t4eKFARAsZbAKC6kUUVriYmfnlF6Sq+oBKcohO2MQCgjwmV TzNHY6JJQRJeHu66OUHaiEw= =+rXK -----END PGP SIGNATURE----- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Wed Dec 19 11:42:31 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Wed, 19 Dec 2007 10:42:31 +0000 (GMT) Subject: monitor Emc clariion Message-ID: <474305.68433.qm@web23312.mail.ird.yahoo.com> I have an EMC CLARiiON AX150 I would like to monitor disk usage, fan, power supply, battery, temperature and uptime using Nagios?s check_snmp plug-in but when I snmpwalk my Emc it does not seem give any MIBS on disk usage, fan, power supply e.t.c Can anyone please enlighten me on this? What MIBS do I use the monitor the above?What MIBS indicate the disk usages, fan, power supply, battery, temperature and uptime? Here is my snmpwalk output SNMPv2-MIB::sysDescr.0 = STRING: AX150 - Flare 2.20.0.150.5.022 SNMPv2-MIB::sysObjectID.0 = OID: SNMPv2-SMI::enterprises.1981.1.1 DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (398693054) 46 days, 3:28:50.54 SNMPv2-MIB::sysContact.0 = STRING: SNMPv2-MIB::sysName.0 = STRING: gsx-emc-2 SNMPv2-MIB::sysLocation.0 = STRING: SNMPv2-MIB::sysServices.0 = INTEGER: 72 IF-MIB::ifNumber.0 = INTEGER: 2 IF-MIB::ifIndex.1 = INTEGER: 1 IF-MIB::ifIndex.2 = INTEGER: 2 IF-MIB::ifDescr.1 = STRING: Internal loopback interface for 127.0.0 network IF-MIB::ifDescr.2 = STRING: Broadcom NetLink (TM) Gigabit Ethernet - Packet Scheduler Miniport IF-MIB::ifType.1 = INTEGER: softwareLoopback(24) IF-MIB::ifType.2 = INTEGER: ethernetCsmacd(6) IF-MIB::ifMtu.1 = INTEGER: 32768 IF-MIB::ifMtu.2 = INTEGER: 1500 IF-MIB::ifSpeed.1 = Gauge32: 10000000 IF-MIB::ifSpeed.2 = Gauge32: 1000000000 IF-MIB::ifPhysAddress.1 = STRING: IF-MIB::ifPhysAddress.2 = STRING: 0:60:16:b:71:eh IF-MIB::ifAdminStatus.1 = INTEGER: up(1) IF-MIB::ifAdminStatus.2 = INTEGER: up(1) IF-MIB::ifOperStatus.1 = INTEGER: dormant(5) IF-MIB::ifOperStatus.2 = INTEGER: dormant(5) IF-MIB::ifLastChange.1 = Timeticks: (0) 0:00:00.00 IF-MIB::ifLastChange.2 = Timeticks: (3873272640) 448 days, 7:05:26.40 IF-MIB::ifInOctets.1 = Counter32: 0 IF-MIB::ifInOctets.2 = Counter32: 1713614552 IF-MIB::ifInUcastPkts.1 = Counter32: 0 IF-MIB::ifInUcastPkts.2 = Counter32: 12693640 IF-MIB::ifInNUcastPkts.1 = Counter32: 0 IF-MIB::ifInNUcastPkts.2 = Counter32: 2863274 IF-MIB::ifInDiscards.1 = Counter32: 0 IF-MIB::ifInDiscards.2 = Counter32: 0 IF-MIB::ifInErrors.1 = Counter32: 0 IF-MIB::ifInErrors.2 = Counter32: 0 IF-MIB::ifInUnknownProtos.1 = Counter32: 0 IF-MIB::ifInUnknownProtos.2 = Counter32: 0 IF-MIB::ifOutOctets.1 = Counter32: 0 IF-MIB::ifOutOctets.2 = Counter32: 1854654510 IF-MIB::ifOutUcastPkts.1 = Counter32: 0 IF-MIB::ifOutUcastPkts.2 = Counter32: 12824062 IF-MIB::ifOutNUcastPkts.1 = Counter32: 0 IF-MIB::ifOutNUcastPkts.2 = Counter32: 37809 IF-MIB::ifOutDiscards.1 = Counter32: 0 IF-MIB::ifOutDiscards.2 = Counter32: 0 IF-MIB::ifOutErrors.1 = Counter32: 0 IF-MIB::ifOutErrors.2 = Counter32: 0 IF-MIB::ifOutQLen.1 = Gauge32: 0 IF-MIB::ifOutQLen.2 = Gauge32: 0 IF-MIB::ifSpecific.1 = OID: SNMPv2-SMI::zeroDotZero IF-MIB::ifSpecific.2 = OID: SNMPv2-SMI::zeroDotZero IP-MIB::ipForwarding.0 = INTEGER: forwarding(1) IP-MIB::ipDefaultTTL.0 = INTEGER: 128 IP-MIB::ipInReceives.0 = Counter32: 35511127 IP-MIB::ipInHdrErrors.0 = Counter32: 0 IP-MIB::ipInAddrErrors.0 = Counter32: 1696 IP-MIB::ipForwDatagrams.0 = Counter32: 0 IP-MIB::ipInUnknownProtos.0 = Counter32: 0 IP-MIB::ipInDiscards.0 = Counter32: 0 IP-MIB::ipInDelivers.0 = Counter32: 35509443 IP-MIB::ipOutRequests.0 = Counter32: 34129435 IP-MIB::ipOutDiscards.0 = Counter32: 0 IP-MIB::ipOutNoRoutes.0 = Counter32: 0 IP-MIB::ipReasmTimeout.0 = INTEGER: 60 seconds IP-MIB::ipReasmReqds.0 = Counter32: 0 IP-MIB::ipReasmOKs.0 = Counter32: 0 IP-MIB::ipReasmFails.0 = Counter32: 0 IP-MIB::ipFragOKs.0 = Counter32: 0 IP-MIB::ipFragFails.0 = Counter32: 0 IP-MIB::ipFragCreates.0 = Counter32: 0 ___________________________________________________________ Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Carl.Friend at mathworks.com Wed Dec 19 12:37:54 2007 From: Carl.Friend at mathworks.com (Carl Friend) Date: Wed, 19 Dec 2007 06:37:54 -0500 Subject: monitor Emc clariion In-Reply-To: <474305.68433.qm@web23312.mail.ird.yahoo.com> References: <474305.68433.qm@web23312.mail.ird.yahoo.com> Message-ID: <9898F61571A4AA42B0813C4AC7DC50418A4397@MESSAGE-AH.ad.mathworks.com> Trevor Obba asks: > I have an EMC CLARiiON AX150 I would like to monitor disk usage, > fan, power supply, battery, temperature and uptime using Nagios's > check_snmp plug-in but when I snmpwalk my Emc it does not seem give > any MIBS on disk usage, fan, power supply e.t.c Can anyone please > enlighten me on this? Based on the snmpwalk provided, you don't have the EMC (Data General, actually) MIB installed in your SNMP setup. You'll need to locate that someplace on EMC's web-site. There's not a whole lot in the MIB, either; it's mainly trap definitions. I've got one that I faked up so my SNMP management system (also running Nagios) can properly understand traps if anybody's interested. +----------------------------------------------+-----------------------+ | Carl Richard Friend (UNIX Sysadmin) | Natick, Massachusetts | | Minicomputer Collector / Enthusiast | 01760-2098 | | mailto:carl_friend at mathworks.com +-----------------------+ | http://users.rcn.com/crfriend/museum | ICBM: 42:18N 71:21W | +----------------------------------------------+-----------------------+ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at easyflirt.com Wed Dec 19 13:49:39 2007 From: greg at easyflirt.com (Greg) Date: Wed, 19 Dec 2007 13:49:39 +0100 Subject: could not be performed due to a fork() error. In-Reply-To: <47663DC4.7060201@easyflirt.com> References: <47663DC4.7060201@easyflirt.com> Message-ID: <47691363.2090204@easyflirt.com> Hi, Greg a ?crit : > Hi, > > I have installed and configured Nagios 3.0b7 to active check ~50 hosts, > ~8 services / host. > The usage of "system" CPU is growing to 35% in 12 hours, at 35% Nagios > stop checking with this error in the log file : > > 'SSH' on host 'varan-01' could not be performed due to a fork() error. > The check will be rescheduled. > Still having the problem. I started nagios this morning at 10:18, 3 hours later nagios is using 1.6Go RAM ! 15160 nagios 25 0 1702m 1.6g 2224 R 69 21.0 65:45.43 nagios 27665 nagios 25 0 1702m 1.6g 508 S 24 20.9 0:00.12 nagios and fork for each check. What's the hell ? -- Greg ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From greg at easyflirt.com Wed Dec 19 14:43:09 2007 From: greg at easyflirt.com (Greg) Date: Wed, 19 Dec 2007 14:43:09 +0100 Subject: could not be performed due to a fork() error. In-Reply-To: <47691363.2090204@easyflirt.com> References: <47663DC4.7060201@easyflirt.com> <47691363.2090204@easyflirt.com> Message-ID: <47691FED.7080909@easyflirt.com> Greg a ?crit : > Still having the problem. I started nagios this morning at 10:18, 3 > hours later nagios is using 1.6Go RAM ! > > 15160 nagios 25 0 1702m 1.6g 2224 R 69 21.0 65:45.43 nagios > 27665 nagios 25 0 1702m 1.6g 508 S 24 20.9 0:00.12 nagios > > and fork for each check. > > What's the hell ? > > Found! I recompile Nagios 3 without embedded perl, disable embedded perl : epoc-01:/etc/nagios# grep embedded nagios.cfg enable_embedded_perl=0 use_embedded_perl_implicitly=0 and now Nagios use only 2Mo of memory, and stop growing ! -- Greg ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 19 14:44:24 2007 From: marc at ena.com (Marc Powell) Date: Wed, 19 Dec 2007 07:44:24 -0600 Subject: could not be performed due to a fork() error. In-Reply-To: <47691363.2090204@easyflirt.com> References: <47663DC4.7060201@easyflirt.com> <47691363.2090204@easyflirt.com> Message-ID: <9EC4A4EE-4561-4EBD-9E87-1718CFF452BE@ena.com> On Dec 19, 2007, at 6:49 AM, Greg wrote: > Hi, > > Greg a ?crit : >> Hi, >> >> I have installed and configured Nagios 3.0b7 to active check ~50 >> hosts, >> ~8 services / host. >> The usage of "system" CPU is growing to 35% in 12 hours, at 35% >> Nagios >> stop checking with this error in the log file : How frequently are you checking these hosts/services? What type of plugins are you using to check them? >> 'SSH' on host 'varan-01' could not be performed due to a fork() >> error. >> The check will be rescheduled. >> I'd guess your box is running out of RAM/swap. > Still having the problem. I started nagios this morning at 10:18, 3 > hours later nagios is using 1.6Go RAM ! > > 15160 nagios 25 0 1702m 1.6g 2224 R 69 21.0 65:45.43 nagios > 27665 nagios 25 0 1702m 1.6g 508 S 24 20.9 0:00.12 nagios Taking a stab at it, do you have the embedded perl interpreter compiled in? There are known memory leak issues with it. Search for previous posts from Stanley Hopcroft for more information. > and fork for each check. This would be normal. > What's the hell ? Smells like a memory leak. You shouldn't act too surprised when using beta, non-production quality software. Problems are to be expected. -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Wed Dec 19 15:02:09 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Wed, 19 Dec 2007 14:02:09 -0000 Subject: Linux Software Raid Plugin Recommendation? In-Reply-To: <1197905951.13102.42.camel@soundwave.pitbpa0.priv.collaborativefusion.com> References: <1197905951.13102.42.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Message-ID: We use SNMP to monitor hardware RAID arrays (of course, they must be IP based). If you're using certain 3ware controllers, you can also use smartd to monitor the member devices (see man smartctl). Or, if you're using mdadm (software RAID), set the following line in /etc/mdadm.conf PROGRAM /usr/local/nagios/libexec/eventhandlers/md_monitor which alerts Nagios that your RAID array is degraded (see man mdadm). The above service will have to be configured as a passive check (can be set up to be a passive/active check using freshness_threshold and check_freshness). What kind of RAID do you want to monitor? e.g. software or hardware? -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian A. Seklecki Sent: 17 December 2007 15:39 To: Jake Solid Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: > need to use a plugin that will check the status of the raid. Anyone RAID? LVM2, Soft-Raid, or Hardware? ~BAS ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From W.Miah at rl.ac.uk Wed Dec 19 15:09:07 2007 From: W.Miah at rl.ac.uk (Miah, W (Wadud)) Date: Wed, 19 Dec 2007 14:09:07 -0000 Subject: Monitoring using MIBs In-Reply-To: <4767ACF6.2010904@dhl.com> References: <4767ACF6.2010904@dhl.com> Message-ID: Here's an example on using snmpwalk: snmpwalk -Of -c public -v1 -m IFT-SNMP-MIB 172.16.140.35 private where the MIB is stored in /usr/share/snmp/mibs/. The MIB can also be specified in the check_snmp plugin, which obtains it from the specified path. Examine the MIB first and browse through the output of snmpwalk to obtain OID of interest. Hope this helps. -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hugo Rebello Sent: 18 December 2007 11:20 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring using MIBs Can anyone help me ? I'd like to monitor a specific proxy service (Blue Coat) and I don't know if Nagios works with different mibs. Anybody knows a good tip about that ? Thank you. Cheers, Hugo ------------------------------------------------------------------------ - SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketp lace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecrist at secure-computing.net Wed Dec 19 15:12:54 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Wed, 19 Dec 2007 08:12:54 -0600 Subject: Linux Software Raid Plugin Recommendation? In-Reply-To: References: <1197905951.13102.42.camel@soundwave.pitbpa0.priv.collaborativefusion.com> Message-ID: On Dec 19, 2007, at 8:02 AM, Miah, W (Wadud) wrote: > We use SNMP to monitor hardware RAID arrays (of course, they must be > IP > based). If you're using certain 3ware controllers, you can also use > smartd to monitor the member devices (see man smartctl). Or, if you're > using mdadm (software RAID), set the following line in /etc/mdadm.conf > > PROGRAM /usr/local/nagios/libexec/eventhandlers/md_monitor > > which alerts Nagios that your RAID array is degraded (see man mdadm). > The above service will have to be configured as a passive check (can > be > set up to be a passive/active check using freshness_threshold and > check_freshness). What kind of RAID do you want to monitor? e.g. > software or hardware? > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian > A. Seklecki > Sent: 17 December 2007 15:39 > To: Jake Solid > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? > > > On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: >> need to use a plugin that will check the status of the raid. Anyone > > RAID? LVM2, Soft-Raid, or Hardware? Anything that has a command line utility that gives you text output displaying the status of your array can be scripted to create your own plug in. You just may need to know a little sh/perl/python to get it done. What utility do you use to check the status of your array now? Can you give me some sample output? Perhaps I have the time to script something for you today. ----- Eric F Crist Secure Computing Networks ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From low at modog.com Wed Dec 19 15:24:55 2007 From: low at modog.com (Seth P. Low) Date: Wed, 19 Dec 2007 09:24:55 -0500 Subject: Linux Software Raid Plugin Recommendation? In-Reply-To: References: <1197905951.13102.42.camel@soundwave.pitbpa0.priv.collaborativefusion.com> , Message-ID: <15DE1A7F91855E49A18A487C43846C8B34E4971A40@modog2.modog.com> There are several plugins for this this already on nagios exchange. I would take a look there as well. Some of them are: http://www.nagiosexchange.org/Linux.55.0.html?&tx_netnagext_pi1[p_view]=639 Python plugin to check the status of a software based RAID device. patched version, So it will work on both older (fedora core 1, 2) and newer (fc3, fc4, fc5, centos 4) hosts. (patch from rouilj, 03.02.2006) test ok on Debian woody, and http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=880 Linux Software Raid Plugin for 32-bit and 64-bit systems ________________________________________ From: nagios-users-bounces at lists.sourceforge.net [nagios-users-bounces at lists.sourceforge.net] On Behalf Of Eric F Crist [ecrist at secure-computing.net] Sent: Wednesday, December 19, 2007 9:12 AM To: Miah, W (Wadud) Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? On Dec 19, 2007, at 8:02 AM, Miah, W (Wadud) wrote: > We use SNMP to monitor hardware RAID arrays (of course, they must be > IP > based). If you're using certain 3ware controllers, you can also use > smartd to monitor the member devices (see man smartctl). Or, if you're > using mdadm (software RAID), set the following line in /etc/mdadm.conf > > PROGRAM /usr/local/nagios/libexec/eventhandlers/md_monitor > > which alerts Nagios that your RAID array is degraded (see man mdadm). > The above service will have to be configured as a passive check (can > be > set up to be a passive/active check using freshness_threshold and > check_freshness). What kind of RAID do you want to monitor? e.g. > software or hardware? > > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net > [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Brian > A. Seklecki > Sent: 17 December 2007 15:39 > To: Jake Solid > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Linux Software Raid Plugin Recommendation? > > > On Mon, 2007-12-17 at 10:35 -0500, Jake Solid wrote: >> need to use a plugin that will check the status of the raid. Anyone > > RAID? LVM2, Soft-Raid, or Hardware? Anything that has a command line utility that gives you text output displaying the status of your array can be scripted to create your own plug in. You just may need to know a little sh/perl/python to get it done. What utility do you use to check the status of your array now? Can you give me some sample output? Perhaps I have the time to script something for you today. ----- Eric F Crist Secure Computing Networks ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Wed Dec 19 15:50:43 2007 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Wed, 19 Dec 2007 09:50:43 -0500 Subject: Check_NRPE plugin issue after 3.0b7 upgrade. Message-ID: I've migrated from 1.0 to 3.0b7 recently and I'm running into a couple of issues, the most pressing of which is a problem with the check_nrpe plugin's return of data. This is my command definition: define command { command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Copied from my old config. This is the service in question: ###### Check Linux /db Partition on DB servers define service { use generic-service hostgroup_name generic-hostgroup service_description /db Partition contact_groups GRP-Systems,GRP-Pagers check_period 24x7 notification_interval 15 notification_options w,u,c,r notification_period 24x7 check_command check_nrpe!check_disk2 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 } This is the relevant part of the nrpe.cfg located on one of the affected hosts: command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 15 -p /dev/sda10 Now this command works fine, and outputs this in Nagios: /db Partition OK 12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653 MB (4% inode=99%): So, my problem here is that Nagios clearly sees that there is 4% of disk space free, and yet still thinks the service is in an OK state. I need it to recognize the Warning/Critical levels on the new system like it did on the old system. I'm using these packages on Centos 5.1: nagios-3.0b7.tar.gz nagios-plugins-1.4.7.tar.gz Any help/suggestions would be greatly appreciated <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Wed Dec 19 15:55:26 2007 From: javier.rojasr at gmail.com (Javier) Date: Thu, 20 Dec 2007 10:25:26 +1930 Subject: newbie questions Message-ID: <773acc7b0712190655g44d83ac7m93d4cb83e91fdbed@mail.gmail.com> Hello, i have installed nagios yesterday and i have a check_ping on 4 servers, a check_http on an apache server and a check_mysql on another one.... but i have a lot of websphere servers and i would like to add them to my nagios platform, they answer on the 9080, 9043 and 9060 ports, is there a plugin for websphere?, or do i have to modify only the commands.cfg for websphere? i also have another question, if i want to check a socket on iseries (as400), is it ok to use the check_tcp plugin?, has anyone use it before? -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mcp76 at hotmail.com Wed Dec 19 16:03:56 2007 From: mcp76 at hotmail.com (Michael Palmieri) Date: Wed, 19 Dec 2007 15:03:56 +0000 Subject: Setting UP Host Groups Message-ID: Hello All, I have been trying to figure out to setup host groups for a long time now and cannot figure it out at all. I have a both switches and servers that I wish to organize in how they are displayed by Nagios. It would be nice to have groups defined where all DSL routers are categorized under the DSL routers group and all Frame Relay routers are categorized under Frame Relay group. I recently started monitoring servers and I would like to have servers categorized under the servers group. I am not sure if I have my configuration files set up correctly. As an example I just created two configuration file in my server folder. I do not understand how to fix this error message error: Host group 'windows-servers' has already been definedError: Could not register host group (config file '/usr/local/nagios/etc/servers/inbp.cfg', starting on line 49) I have over 42 cfg files in my routers folder and will have 42 server config file in my server container. Also, It would be nice if the Status Map did not look like one huge circle, everything is piled up one on top of another.....impossible to read. Thanks Michael _________________________________________________________________ Share life as it happens with the new Windows Live. http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brock at kuhsefamily.org Wed Dec 19 16:06:22 2007 From: brock at kuhsefamily.org (Brock Kuhse) Date: Wed, 19 Dec 2007 08:06:22 -0700 Subject: Check_NRPE plugin issue after 3.0b7 upgrade. In-Reply-To: References: Message-ID: <00e401c84250$b7b37ef0$271a7cd0$@org> Nagios isn't seeing anything - it's the check_disk plugin that's returning the "OK" result. check_disk --help shows that -w and -c are used to show free space in "units" when a percent sign doesn't follow the number: check_disk --help Options: -w, --warning=INTEGER Exit with WARNING status if less than INTEGER units of disk are free -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=INTEGER Exit with CRITICAL status if less than INTEGER units of disk are free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free In your case, free space is around 3600 MB, far more than the 15/20 required to trigger a critical/warning status. So, the command you really want is probably: command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20% -c 15% -p /dev/sda10 - Brock Brock Kuhse EC Group 4555 E. Broadway Blvd, Tucson, AZ 85711 (520) 622-1173 bkuhse at ecgrp.com From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Lorand S. D'Caltan Sent: Wednesday, December 19, 2007 7:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check_NRPE plugin issue after 3.0b7 upgrade. I've migrated from 1.0 to 3.0b7 recently and I'm running into a couple of issues, the most pressing of which is a problem with the check_nrpe plugin's return of data. This is my command definition: define command { command_name check_nrpe command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } Copied from my old config. This is the service in question: ###### Check Linux /db Partition on DB servers define service { use generic-service hostgroup_name generic-hostgroup service_description /db Partition contact_groups GRP-Systems,GRP-Pagers check_period 24x7 notification_interval 15 notification_options w,u,c,r notification_period 24x7 check_command check_nrpe!check_disk2 max_check_attempts 3 normal_check_interval 15 retry_check_interval 1 } This is the relevant part of the nrpe.cfg located on one of the affected hosts: command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 15 -p /dev/sda10 Now this command works fine, and outputs this in Nagios: /db Partition OK 12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653 MB (4% inode=99%): So, my problem here is that Nagios clearly sees that there is 4% of disk space free, and yet still thinks the service is in an OK state. I need it to recognize the Warning/Critical levels on the new system like it did on the old system. I'm using these packages on Centos 5.1: nagios-3.0b7.tar.gz nagios-plugins-1.4.7.tar.gz Any help/suggestions would be greatly appreciated <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Wed Dec 19 16:07:34 2007 From: marc at ena.com (Marc Powell) Date: Wed, 19 Dec 2007 09:07:34 -0600 Subject: Check_NRPE plugin issue after 3.0b7 upgrade. In-Reply-To: References: Message-ID: > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Lorand S. D'Caltan > Sent: Wednesday, December 19, 2007 8:51 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check_NRPE plugin issue after 3.0b7 upgrade. > > I've migrated from 1.0 to 3.0b7 recently and I'm running into a couple of > issues, the most pressing of which is a problem with the check_nrpe > plugin's return of data. > This is the relevant part of the nrpe.cfg located on one of the affected > hosts: > command[check_disk2]=/usr/local/nagios/libexec/check_disk -w 20 -c 15 -p > /dev/sda10 > > Now this command works fine, and outputs this in Nagios: > /db Partition > > > OK 12-19-2007 09:37:54 4d 11h 53m 8s 1/3 DISK OK - free space: /db 3653 MB > (4% inode=99%): > > So, my problem here is that Nagios clearly sees that there is 4% of disk > space free, and yet still thinks the service is in an OK state. I need it You're only telling check_disk to warn if there are less than 20 KB free, critical if less than 15 KB. If you mean to be talking about percentages, you need to include the '%' sign. See --help for specifics but here is the example -- Examples: check_disk -w 10% -c 5% -p /tmp -p /var -C -w 100000 -c 50000 -p / Checks /tmp and /var at 10% and 5%, and / at 100MB and 50MB -- Marc ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hugo.rebello at dhl.com Wed Dec 19 16:54:06 2007 From: hugo.rebello at dhl.com (Hugo Rebello) Date: Wed, 19 Dec 2007 13:54:06 -0200 Subject: Monitoring using MIBs In-Reply-To: References: <4767ACF6.2010904@dhl.com> Message-ID: <47693E9E.8020302@dhl.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Wed Dec 19 17:08:10 2007 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Wed, 19 Dec 2007 11:08:10 -0500 Subject: check_nt - Output in MB instead of Bits for VRAM usage of a single Process. Message-ID: I'm using this script: ############# #!/bin/bash RESULT=`./check_nt -H adr01 -p 1248 -v COUNTER -l "\Process(EvDRServer)\Virtual Bytes" -w 1500 -c 2000` CALCULATED=`echo $RESULT | awk '{print $1/8/1000000 " MB"}'` echo $CALCULATED exit 0 ############# To parse the output of the check_nt COUNTER command that's grabbing the virtual memory usage for a particular process on a particular server. The script works great from the command line: # ./check_adr01_vmem 204.457 MB However, when I go into the service detail for the server through Nagios web, I get this: ADR-Server-VM-Usage OK 12-18-2007 15:21:16 0d 0h 0m 29s 1/3 0 MB Am I missing something that would cause Nagios to fail to grab the output from the script correctly? Running the check_nt -H adr01 -p 1248 -v COUNTER -l "\Process(EvDRServer)\Virtual Bytes" -w 1500 -c 2000 command results in an output of "Virtual Memory Usage: 141369344" in Nagios, which isn't particularaly useful, so I got some assistance writing the script above. If there's a better/easier solution to parse the outlput from Bits to MB I would be more than happy to use it instead of the script. Any help would be greatly appreciated. Thank you <><><><><><><><> Lorand S. D'Caltan Systems Engineer iSystems LLC (802) 655-8347 x157 <><><><><><><><> CONFIDENTIALITY: The information contained in this message may be privileged and confidential and protected from disclosure. No confidentiality or privilege is waived or lost by any mistransmission. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. Please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nene at sal.gbnet.cc Wed Dec 19 18:19:12 2007 From: nene at sal.gbnet.cc (Nene) Date: Wed, 19 Dec 2007 11:19:12 -0600 Subject: Fw: Question about external notifications. Message-ID: <010a01c84263$491e7ef0$6501a8c0@DAGOBA> 50% of Nagios Notification Service (notify-host-by-email / notify-service-by-email) is active...I mean 50% because I'm able to delivery notifications just to users accounts within my server (allocating Nagios), nevertheless external user accounts can not be reached (external email domains). Do I have to work on the MTA (EXIM or SENDMAIL in my case) in order to get the 50% remaining and deliver mail to remote domains ? Thanks in advanced for your support. Saludos desde El Salvador Nene ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ae at op5.se Wed Dec 19 18:29:24 2007 From: ae at op5.se (Andreas Ericsson) Date: Wed, 19 Dec 2007 18:29:24 +0100 Subject: Fw: Question about external notifications. In-Reply-To: <010a01c84263$491e7ef0$6501a8c0@DAGOBA> References: <010a01c84263$491e7ef0$6501a8c0@DAGOBA> Message-ID: <476954F4.505@op5.se> Nene wrote: > 50% of Nagios Notification Service (notify-host-by-email / > notify-service-by-email) is active...I mean 50% because I'm able to delivery > notifications just to users accounts within my server (allocating Nagios), > nevertheless external user accounts can not be reached (external email > domains). > > Do I have to work on the MTA (EXIM or SENDMAIL in my case) in order to get > the 50% remaining and deliver mail to remote domains ? > Yes. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Wed Dec 19 20:25:18 2007 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 19 Dec 2007 20:25:18 +0100 Subject: Multiple Servicegroups Message-ID: Hi All! We are running version 2.5. We host several companies each with a product environment (PE) and a test environment (TE). We would like to have a service group for the company which contrains the services in the PE and the TE. We also have cases where there are three levels: customer, project, PE/TE. As far as I can tell, there is no way to create hierarchical service groups where we define one servicegroup and use it in another group like one can do with service templates. The only was I see of doing what I would like is to specify the list servicegroups within the service definition. For example, service1 is in the PE, so it would have an entry like "servicegroups customer_pe, customer_te". Is there any other way of doing this? Any info is appreaciated. Regards, Jim Mohr ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james.mohr at elaxy.com Wed Dec 19 20:40:54 2007 From: james.mohr at elaxy.com (Mohr James) Date: Wed, 19 Dec 2007 20:40:54 +0100 Subject: Starting activity check on one host, but referencing another. Message-ID: Hi All! We have a couple of NetApp storage applicance that we monitor from the Nagios server. I would like to define service for several of the filesystems, but instead of being services of the Nagios server I would like them to be services of the host that mounts them. One alternative would obviously be to simply create the service and set the host to the other machine and either user an active check on the remote machine or a passive check that is started on the Nagios server and sets the status accordingly. My boss does not want to install NRPE, so that leaves the passive service. We have about 20 filesystems to monitor and my boss does not like the idea of 20 services attached to the nagios sever like that. My suggestion one a single active service on the nagios machine that checks all of the Netapp filesystems and the sets the status on the respective passive service on the remote host. Can anyone thing of any other alternatives? Any info is appreaciated. BTW, we have nagios 2.5. Regards, Jim Mohr ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Wed Dec 19 20:59:52 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Wed, 19 Dec 2007 19:59:52 +0000 Subject: Announce: Check All Automatic Windows Services Plugin Message-ID: <47697838.707@googlemail.com> Hi, I have just released a plugin for Windows to check all automatic services. I got this idea from NagiosExchange in fact and thought it was a good one, except that it only ran with NC_Net which I have no intention of using, and was a bit of a nagios server side hack against remote servers, the kind of thing I do a lot but wouldn't release since they are inefficient and cheap (I may rewrite some of those things in fact). I've written this plugin to hopefully be better than the other one in every way: 1. It will work with any Nagios Remote Execution Method (I like NSClient++ for it's simplicity of automated deployment) 2. Native Windows Execution - Written as a WSF (VBS + XML) - will work on any modern Windows Operating System 3. Efficient - Only 1 Execution Call to check everything 4. Flexible - Accepts service exclusions, windows and unix options and shortcuts, can run against remote servers as easily as local server 5. Simple, you can just run it if you don't have fancy needs. 6. Written to follow Nagios coding guidelines quite closely as always, with debugging verbosity, timeout etc. I'm not sure how good an idea you guys out there think this is, but I thought it was quite useful as it's only 1 check in your nagios interface but will alert you to any number of automatic startup services having died or stopped for any reason, and gives a good catch-all net for things that should be but aren't running, even if you otherwise haven't thought of it or don't normally monitor it. Extra tripwires are good I think... Hope some of your find it useful. Feedback, feature requests, bugs, discussion on coding style or general questions about this are welcome at this address. As always, I'm always eager to have feedback, I've written it as well as I could before releasing it (which is why it's already at version 0.8) but am always open to making improvements. Thanks for reading. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Wed Dec 19 22:09:02 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Wed, 19 Dec 2007 16:09:02 -0500 Subject: check_perc.pl Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2950@RL03EXCH1.replacements.com> Good Afternoon I am having an issue with this plugin. Maybe one of you can help. I am receiving a null return when nagios runs this command, however when running on command line, it returns just fine. Here is my command definition and define service: # 'check_perc.pl' command definition define command{ command_name check_perc command_line $USER1$/check_perc.pl -H $HOSTADDRESS$ -C $ARG1$ -D $ARG2$ -T $ARG3$ } define service{ use local-service host_name HostNameHere service_description Check Perc check_command check_perc!public!phys!am } As I said, I have been successful in running this at the command line both as root and as nagiosuser. Any help would be appreciated. Thanks, Robert -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kkatzke at tamu.edu Wed Dec 19 22:16:42 2007 From: kkatzke at tamu.edu (Karl Katzke) Date: Wed, 19 Dec 2007 15:16:42 -0600 Subject: check_perc.pl In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A014A2950@RL03EXCH1.replacements.com> References: <1DBAECAF1663DF4B97779F24ABABE24A014A2950@RL03EXCH1.replacements.com> Message-ID: <476935DA.C02D.0075.0@vprmail.tamu.edu> Robert - Let me guess, you're running it as root... ? Remember that the Nagios user is very unprivileged, and if you're having a problem with it running things, you may need to wrap the command so that it can run as a privileged user. -Karl --- Karl Katzke Systems Analyst II TAMU - RGS >>> "Robert Ferguson" 12/19/2007 3:09 PM >>> Good Afternoon I am having an issue with this plugin. Maybe one of you can help. I am receiving a null return when nagios runs this command, however when running on command line, it returns just fine. Here is my command definition and define service: # 'check_perc.pl' command definition define command{ command_name check_perc command_line $USER1$/check_perc.pl -H $HOSTADDRESS$ -C $ARG1$ -D $ARG2$ -T $ARG3$ } define service{ use local-service host_name HostNameHere service_description Check Perc check_command check_perc!public!phys!am } As I said, I have been successful in running this at the command line both as root and as nagiosuser. Any help would be appreciated. Thanks, Robert ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Wed Dec 19 23:07:30 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Wed, 19 Dec 2007 17:07:30 -0500 Subject: check_perc.pl References: <1DBAECAF1663DF4B97779F24ABABE24A014A2950@RL03EXCH1.replacements.com> <476935DA.C02D.0075.0@vprmail.tamu.edu> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2951@RL03EXCH1.replacements.com> Hi Karl, Actually, I have run it as nagios (as well as root) also and I am getting the correct responses at the command line. I often over look that sort of thing, so thanks for looking out for me. To be honest, I was running it as root for some time and then starting reading posts about running it as nagios. Thanks for getting back to me so quickly, Robert -----Original Message----- From: Karl Katzke [mailto:kkatzke at tamu.edu] Sent: Wednesday, December 19, 2007 4:17 PM To: nagios-users at lists.sourceforge.net; Robert Ferguson Subject: Re: [Nagios-users] check_perc.pl Robert - Let me guess, you're running it as root... ? Remember that the Nagios user is very unprivileged, and if you're having a problem with it running things, you may need to wrap the command so that it can run as a privileged user. -Karl --- Karl Katzke Systems Analyst II TAMU - RGS >>> "Robert Ferguson" 12/19/2007 3:09 PM >>> Good Afternoon I am having an issue with this plugin. Maybe one of you can help. I am receiving a null return when nagios runs this command, however when running on command line, it returns just fine. Here is my command definition and define service: # 'check_perc.pl' command definition define command{ command_name check_perc command_line $USER1$/check_perc.pl -H $HOSTADDRESS$ -C $ARG1$ -D $ARG2$ -T $ARG3$ } define service{ use local-service host_name HostNameHere service_description Check Perc check_command check_perc!public!phys!am } As I said, I have been successful in running this at the command line both as root and as nagiosuser. Any help would be appreciated. Thanks, Robert ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu Dec 20 02:36:28 2007 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 20 Dec 2007 14:36:28 +1300 Subject: Linux Software Raid Plugin Recommendation? In-Reply-To: <15DE1A7F91855E49A18A487C43846C8B34E4971A40@modog2.modog.com> References: <1197905951.13102.42.camel@soundwave.pitbpa0.priv.collaborativefusion.com>, <15DE1A7F91855E49A18A487C43846C8B34E4971A40@modog2.modog.com> Message-ID: <12A6FDDD13C460408A6E47E5DB1235A201960A97@UXCHANGE3.UoA.auckland.ac.nz> > There are several plugins for this this already on nagios exchange. I > would take a look there as well. http://www.nagiosexchange.org/RAID_Controller.58.0.html?&tx_netnagext_pi 1[p_view]=224 This is the one we use - it supports several hardware RAID, plus software raid on linux, solaris and AIX. However, I'm a bit biased in my recommendation because I wrote it. Steve ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Dec 20 10:48:21 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 20 Dec 2007 09:48:21 +0000 Subject: Checking McAfee is running? Message-ID: <476A3A65.7030002@googlemail.com> Hi, Does anyone out there check whether McAfee is running? Ideally this should just be one check in nagios for all 3 services that make up McAfee Enterprise Anti-Virus on each server, I don't want to bloat the monitoring interface and notifications. I rustled something up a while back which just goes and checks the 3 services. This was kind of cheap, since it was a bash script that took args then then just ran 3 check_nt calls against NSClient++ from the nagios server. Obviously this is not so good, since it's 3 times the work that it should be and is more likely to time out (and I really hate timeouts). If you do check McAfee, what to you do? -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Dec 20 11:26:25 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 20 Dec 2007 10:26:25 +0000 Subject: Announce: Check All Automatic Windows Services Plugin In-Reply-To: <28230640.18241198144966826.JavaMail.root@mail.opservices.com.br> References: <28230640.18241198144966826.JavaMail.root@mail.opservices.com.br> Message-ID: <476A4351.4060704@googlemail.com> Cristiano Ness wrote: > Hari, > Please, send us url for download plugin. > > []'s > Cristiano Ness Ah, sorry, can't believe I forgot that last night, must have one of those end of a loooong day things... You can download the plugin here: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=1183 or you can search www.NagiosExchange.org, it's the only result for "automatic" as the search term without quotes. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vadi.ksdba at gmail.com Thu Dec 20 12:08:48 2007 From: vadi.ksdba at gmail.com (vadi) Date: Thu, 20 Dec 2007 16:38:48 +0530 Subject: monitor Network Time Protocol Message-ID: <5f6b57ee0712200308u26c1d2e8ra14b506927b2a622@mail.gmail.com> Dear All, How to monitor Network Time Protocol (NTP) and make sure that time is properly syncing. Thanks, Vadiraj -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Thu Dec 20 12:09:39 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Thu, 20 Dec 2007 11:09:39 +0000 (GMT) Subject: newbie questions Message-ID: <722170.63969.qm@web23305.mail.ird.yahoo.com> you can use check_tcp like check_tcp -H $HOSTADDRESS$ -p $ARG1$ on commandline ./check_tcp -H foobar -p 9080 check_tcp basically telnet to a port or you can use websphere plug-in from http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bphrase%5D=websphere&tx_netnagext_pi1%5Bsubmit%5D=search&tx_netnagext_pi1%5Boptions%5D%5Bshort%5D=1&tx_netnagext_pi1%5Boptions%5D%5Bdescription%5D=1&tx_netnagext_pi1%5Bsearch%5D=1 yes you can use check_tcp for as400 ----- Original Message ---- From: Javier To: nagios-users at lists.sourceforge.net Sent: Thursday, 20 December, 2007 6:55:26 AM Subject: [Nagios-users] newbie questions Hello, i have installed nagios yesterday and i have a check_ping on 4 servers, a check_http on an apache server and a check_mysql on another one.... but i have a lot of websphere servers and i would like to add them to my nagios platform, they answer on the 9080, 9043 and 9060 ports, is there a plugin for websphere?, or do i have to modify only the commands.cfg for websphere? i also have another question, if i want to check a socket on iseries (as400), is it ok to use the check_tcp plugin?, has anyone use it before? -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ___________________________________________________________ Yahoo! Answers - Got a question? Someone out there knows the answer. Try it now. http://uk.answers.yahoo.com/ ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trevor_obba at yahoo.co.uk Thu Dec 20 12:37:16 2007 From: trevor_obba at yahoo.co.uk (trevor obba) Date: Thu, 20 Dec 2007 11:37:16 +0000 (GMT) Subject: monitor Network Time Protocol Message-ID: <105723.84078.qm@web23313.mail.ird.yahoo.com> use check_ntp ----- Original Message ---- From: vadi To: nagios-users at lists.sourceforge.net Sent: Thursday, 20 December, 2007 11:08:48 AM Subject: [Nagios-users] monitor Network Time Protocol Dear All, How to monitor Network Time Protocol (NTP) and make sure that time is properly syncing. Thanks, Vadiraj -----Inline Attachment Follows----- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail..yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Dec 20 12:57:34 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 20 Dec 2007 11:57:34 +0000 Subject: monitor Network Time Protocol In-Reply-To: <105723.84078.qm@web23313.mail.ird.yahoo.com> References: <105723.84078.qm@web23313.mail.ird.yahoo.com> Message-ID: <476A58AE.9030907@googlemail.com> trevor obba wrote: > use check_ntp > > ----- Original Message ---- > From: vadi > To: nagios-users at lists..sourceforge.net > Sent: Thursday, 20 December, 2007 11:08:48 AM > Subject: [Nagios-users] monitor Network Time Protocol > > Dear All, > > How to monitor Network Time Protocol (NTP) and make sure that time is > properly syncing. > > Thanks, > Vadiraj Remember check_ntp needs to run on each host and compare the local time to the timeserver. Hence you need to use some remote execution method to run it on each remote server. I recommend Nrpe. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ton.voon at altinity.com Thu Dec 20 13:26:22 2007 From: ton.voon at altinity.com (Ton Voon) Date: Thu, 20 Dec 2007 12:26:22 +0000 Subject: monitor Network Time Protocol In-Reply-To: <105723.84078.qm@web23313.mail.ird.yahoo.com> References: <105723.84078.qm@web23313.mail.ird.yahoo.com> Message-ID: On 20 Dec 2007, at 11:37, trevor obba wrote: > use check_ntp In fact, use check_ntp_time (in the 1.4.11 release). This will check the local (to the plugin) time against the NTP server. check_ntp will be deprecated in future releases. If you want to check your NTP server against its peers, use check_ntp_peer. Ton http://www.altinity.com UK: +44 (0)870 787 9243 US: +1 866 879 9184 Fax: +44 (0)845 280 1725 Skype: tonvoon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Dec 20 14:03:36 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 20 Dec 2007 13:03:36 +0000 Subject: monitor Network Time Protocol In-Reply-To: References: <105723.84078.qm@web23313.mail.ird.yahoo.com> Message-ID: <476A6828.2010205@googlemail.com> Ton Voon wrote: > In fact, use check_ntp_time (in the 1.4.11 release). > > This will check the local (to the plugin) time against the NTP server. > check_ntp will be deprecated in future releases. > > If you want to check your NTP server against its peers, use > check_ntp_peer. > > Ton > Isn't this what check_ntp currently does if you run it on any machine and give it the address of the timeserver? If you remote execute check_ntp on any machine with -H timeserver and the warning and critical thresholds -w and -c, you get alerted if the local machine is not in sync with the timeserver. I don't understand the difference really. -h -- Hari Sekhon ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From javier.rojasr at gmail.com Thu Dec 20 14:31:45 2007 From: javier.rojasr at gmail.com (Javier) Date: Fri, 21 Dec 2007 09:01:45 +1930 Subject: newbie questions In-Reply-To: <722170.63969.qm@web23305.mail.ird.yahoo.com> References: <722170.63969.qm@web23305.mail.ird.yahoo.com> Message-ID: <773acc7b0712200531m7a4bcdbk82d41a7b92feac5d@mail.gmail.com> hello, thanks in advance for your kind andwers.. here's what i did on the websphere: a created a new command definition # 'check_http_websphere' command definition define command{ command_name check_http_websphere command_line $USER1$/check_http -H $HOSTADDRESS$ -p 9080 -u http://172.18.52.141:9080/eibs_bancoagricola/ } and i created a new command for the tcp as well: # 'check_tcp_websphere' command definition define command{ command_name check_tcp_websphere command_line $USER1$/check_tcp -H $HOSTADDRESS$ -p 9060 $ARG1$ } here's the thing, websphere answers in the 9060 for the management console, and on the 9080 for the appl, but it redirects to the 9043 (ssl) is it ok so far what im doing?, i think i'm checking the url in the hhtp command... should i created a new command for the 9043 port? 2007/12/21, trevor obba : > you can use check_tcp like check_tcp -H $HOSTADDRESS$ -p $ARG1$ > on commandline ./check_tcp -H foobar -p 9080 > check_tcp basically telnet to a port > > or you can use websphere plug-in from http://www.nagiosexchange.org/Search_Projects.43.0.html?tx_netnagext_pi1%5Bphrase%5D=websphere&tx_netnagext_pi1%5Bsubmit%5D=search&tx_netnagext_pi1%5Boptions%5D%5Bshort%5D=1&tx_netnagext_pi1%5Boptions%5D%5Bdescription%5D=1&tx_netnagext_pi1%5Bsearch%5D=1 > > yes you can use check_tcp for as400 > > ----- Original Message ---- > From: Javier > To: nagios-users at lists.sourceforge.net > Sent: Thursday, 20 December, 2007 6:55:26 AM > Subject: [Nagios-users] newbie questions > > Hello, > > i have installed nagios yesterday and i have a check_ping on 4 > servers, a check_http on an apache server and a check_mysql on another > one.... > > but i have a lot of websphere servers and i would like to add them to > my nagios platform, they answer on the 9080, 9043 and 9060 ports, is > there a plugin for websphere?, or do i have to modify only the > commands.cfg for websphere? > > i also have another question, if i want to check a socket on iseries > (as400), is it ok to use the check_tcp plugin?, has anyone use it > before? > > -- > Ciao, Javier > linux counter #393724 > GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ___________________________________________________________ > Yahoo! Answers - Got a question? Someone out there knows the answer. Try it > now. > http://uk.answers.yahoo.com/ > > -- Ciao, Javier linux counter #393724 GPG Key Fingerprint = 46B76CFEDB0161089D9ECB22FEFDE7EBA8C2007E ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.Cipriani at mybrighthouse.com Thu Dec 20 15:34:21 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Thu, 20 Dec 2007 09:34:21 -0500 Subject: Best way to manage host-specific thresholds? Message-ID: <6F41C23E99FC594D90E848FA56423431320A656675@TBEMAIL.corp.local> Group, I am trying to wrap my head around the best way to manage things like ping RTA/packet loss, partition free space warn/critical, cpu/memory use, etc. I can set these up using custom object variables for a host template, and reference them via macros in the command definition. If I need a different setting for a particular host, I can override these inherited values in that host's config. check_nrpe throws a bit of a wrench in this - I'd probably need a different command set up for each item I'd like to check via NRPE. Does it sound like I'm on the right track? Another item I'm struggling with is how to monitor partitions easily. I can check all filesystems by just passing "/" as the argument. This makes it easy since I don't care what the separate partitions are - if there is /var, /usr, and so on these will automatically be checked. One problem is that if any one of these exceeds the threshold, the notification will occur, even if all the others are fine. I am trying to avoid having to set up a service for each partition on each host. Any thoughts on this? I'd rather use Nagios for this rather than something like Vertias Volume Manager's space monitoring. My generic host template: define host{ name generic-host ; The name of this host template notifications_enabled 1 ; Host notifications are enabled event_handler_enabled 1 ; Host event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts notification_period 24x7 ; Send host notifications at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! #Default threshold variables #check_ping _PING-RTA-W 50 ;Round Trip Average Warn _PING-RTA-C 100 ;Round Trip Average Crit _PING-PL-W 10% ;Packet Loss Warn _PING-PL-C 20% ;Packet Loss Crit _PING-PKT 5 ;Packet count } My check_ping command: define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $_HOSTPING-RTA-W$,$_HOSTPING-PL-W$ -c $_HOSTPING-RTA-C$,$_HOSTPING-PL-C$ -p $_HOSTPING-PKT$ } Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 Nolite id cogere, cape malleum majorem ________________________________ CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.lucia at globewireless.com Thu Dec 20 17:35:11 2007 From: mark.lucia at globewireless.com (Mark Lucia) Date: Thu, 20 Dec 2007 17:35:11 +0100 (CET) Subject: Environmental monitoring In-Reply-To: <20071218021044.77ADC4F4045@desire.netways.de> References: <20071218021044.77ADC4F4045@desire.netways.de> Message-ID: <20071220163511.C73784F4045@desire.netways.de> Who would be interested in a < $100 network device that would allow temp & humidity monitoring? http and maybe SNMP... - Mark Lucia (mlucia) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7520 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Thu Dec 20 18:16:44 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Thu, 20 Dec 2007 17:16:44 +0000 Subject: Remote Execution Service Dependencies on Same Host's Remote Execution Method Message-ID: <476AA37C.8050702@googlemail.com> Hi, When there is a problem on a host, and you have lots of services being check through a remote execution method like Nrpe, what do you do if Nrpe breaks or times out or something? You get flooded with alerts for all your systems. So, the solution to this is to create service dependencies that point back to one Nrpe service on the same machine, right? This way you only get 1 alert per machine instead of 10 alerts per machine... Now the trick is, how do you go about creating a rack of service dependencies for all the remotely checked services via Nrpe for every host to depend on 1 Nrpe check on the same host? Bearing in mind that you don't want to be a mindless drone and create this by hand, and you certainly don't want to maintain this by hand for every host and all of their services... What do/would you do? -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stava at telcotec.se Thu Dec 20 21:24:26 2007 From: stava at telcotec.se (Lars Stavholm) Date: Thu, 20 Dec 2007 21:24:26 +0100 Subject: Environmental monitoring In-Reply-To: <20071220163511.C73784F4045@desire.netways.de> References: <20071218021044.77ADC4F4045@desire.netways.de> <20071220163511.C73784F4045@desire.netways.de> Message-ID: <476ACF7A.8040809@telcotec.se> Mark Lucia wrote: > Who would be interested in a < $100 network device that would allow temp & humidity monitoring? http and maybe SNMP... +1 /L ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.Kok at rewardstream.com Thu Dec 20 21:46:46 2007 From: Simon.Kok at rewardstream.com (Simon Kok) Date: Thu, 20 Dec 2007 12:46:46 -0800 Subject: Can Nagios Do Simulated End User Transactions for Web-Based Applications? In-Reply-To: References: Message-ID: <1C8B15C1D054524E806C1A7D2B79FAC4012595B3@earth.rewardstream.local> Happy Holidays Nagios Users! I've been using Nagios for a few weeks now (mainly check_http plugin) and it works great. I was wondering if there's a way for Nagios to simulate end-user transactions on a web based application so I can do performance monitoring. Ie. Login to a web application using a defined user name and password, then once logged in, to click through some of the web pages within the web app. - Simon. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Thu Dec 20 22:13:53 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Thu, 20 Dec 2007 14:13:53 -0700 Subject: Can Nagios Do Simulated End User Transactions for Web-Based Applications? In-Reply-To: <1C8B15C1D054524E806C1A7D2B79FAC4012595B3@earth.rewardstream.local> References: <1C8B15C1D054524E806C1A7D2B79FAC4012595B3@earth.rewardstream.local> Message-ID: <1198185233.8523.108.camel@sidhqmis4grdv91> On Thu, 2007-12-20 at 12:46 -0800, Simon Kok wrote: > Happy Holidays Nagios Users! > > I've been using Nagios for a few weeks now (mainly check_http plugin) > and it works great. > > I was wondering if there's a way for Nagios to simulate end-user > transactions on a web based application so I can do performance > monitoring. > > Ie. Login to a web application using a defined user name and password, > then once logged in, to click through some of the web pages within the > web app. > > - Simon. > A search of the list archive will turn up a few different solutions. I use 'webinject'. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From patrick.morris at hp.com Thu Dec 20 23:05:13 2007 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 20 Dec 2007 14:05:13 -0800 Subject: Can Nagios Do Simulated End User Transactions for Web-Based Applications? In-Reply-To: <1C8B15C1D054524E806C1A7D2B79FAC4012595B3@earth.rewardstream.local> References: <1C8B15C1D054524E806C1A7D2B79FAC4012595B3@earth.rewardstream.local> Message-ID: <20071220220513.GE8781@pmorris.usa.hp.com> On Thu, 20 Dec 2007, Simon Kok wrote: > Happy Holidays Nagios Users! > > I've been using Nagios for a few weeks now (mainly check_http plugin) > and it works great. > > I was wondering if there's a way for Nagios to simulate end-user > transactions on a web based application so I can do performance > monitoring. > > Ie. Login to a web application using a defined user name and password, > then once logged in, to click through some of the web pages within the > web app. Out of the box, no, this isn't the kind of thing Nagios is designed for. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mboeckman at servicemagic.com Fri Dec 21 00:22:16 2007 From: mboeckman at servicemagic.com (Matthew Boeckman) Date: Thu, 20 Dec 2007 16:22:16 -0700 Subject: Can Nagios Do Simulated End User Transactions for Web-Based Applications? In-Reply-To: <1C8B15C1D054524E806C1A7D2B79FAC4012595B3@earth.rewardstream.local> References: <1C8B15C1D054524E806C1A7D2B79FAC4012595B3@earth.rewardstream.local> Message-ID: <1198192936.15819.54.camel@prime> I've used the Apache Jmeter application to design end-user tests, wrapped them up with a bash script, that I then use as a check-plugin in nagios for this purpose. It is fairly easy to do once you get familiar with Jmeter. Works well for monitoring general application availability/response times. http://jakarta.apache.org/jmeter/ On Thu, 2007-12-20 at 12:46 -0800, Simon Kok wrote: > Happy Holidays Nagios Users! > > I've been using Nagios for a few weeks now (mainly check_http plugin) > and it works great. > > I was wondering if there's a way for Nagios to simulate end-user > transactions on a web based application so I can do performance > monitoring. > > Ie. Login to a web application using a defined user name and password, > then once logged in, to click through some of the web pages within the > web app. > > - Simon. > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mboeckman at servicemagic.com Fri Dec 21 00:24:20 2007 From: mboeckman at servicemagic.com (Matthew Boeckman) Date: Thu, 20 Dec 2007 16:24:20 -0700 Subject: Environmental monitoring In-Reply-To: <20071220163511.C73784F4045@desire.netways.de> References: <20071218021044.77ADC4F4045@desire.netways.de> <20071220163511.C73784F4045@desire.netways.de> Message-ID: <1198193060.15819.56.camel@prime> WeatherDuck has a great unit for $199: http://www.itwatchdogs.com/ On Thu, 2007-12-20 at 17:35 +0100, Mark Lucia wrote: > Who would be interested in a < $100 network device that would allow temp & humidity monitoring? http and maybe SNMP... > > > - Mark Lucia (mlucia) > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7520 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Lucia at globewireless.com Fri Dec 21 00:59:17 2007 From: Mark.Lucia at globewireless.com (Mark Lucia) Date: Thu, 20 Dec 2007 23:59:17 -0000 Subject: Environmental monitoring References: <20071218021044.77ADC4F4045@desire.netways.de><20071220163511.C73784F4045@desire.netways.de> <1198193060.15819.56.camel@prime> Message-ID: Well, that answers that question 0 never mind then.... and Thanks Mark -----Original Message----- From: Matthew Boeckman [mailto:mboeckman at servicemagic.com] Sent: Thu 12/20/2007 6:24 PM To: Mark Lucia Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Environmental monitoring WeatherDuck has a great unit for $199: http://www.itwatchdogs.com/ On Thu, 2007-12-20 at 17:35 +0100, Mark Lucia wrote: > Who would be interested in a < $100 network device that would allow temp & humidity monitoring? http and maybe SNMP... > > > - Mark Lucia (mlucia) > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7520 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amontibello at gmail.com Fri Dec 21 01:43:52 2007 From: amontibello at gmail.com (Anthony Montibello) Date: Thu, 20 Dec 2007 19:43:52 -0500 Subject: Checking McAfee is running? In-Reply-To: <476A3A65.7030002@googlemail.com> References: <476A3A65.7030002@googlemail.com> Message-ID: Through NC_NEt you can check all three services/processes through a single check_nt command NC_net can be downloaded from Sourceforge: http://sourceforge.net/projects/nc-net Tony (Author of NC_Net) On Dec 20, 2007 4:48 AM, Hari Sekhon wrote: > Hi, > > Does anyone out there check whether McAfee is running? > > Ideally this should just be one check in nagios for all 3 services that > make up McAfee Enterprise Anti-Virus on each server, I don't want to > bloat the monitoring interface and notifications. > > I rustled something up a while back which just goes and checks the 3 > services. This was kind of cheap, since it was a bash script that took > args then then just ran 3 check_nt calls against NSClient++ from the > nagios server. Obviously this is not so good, since it's 3 times the > work that it should be and is more likely to time out (and I really hate > timeouts). > > If you do check McAfee, what to you do? > > -h > > -- > Hari Sekhon > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Dec 21 05:53:00 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 20 Dec 2007 23:53:00 -0500 Subject: monitor Emc clariion In-Reply-To: <9898F61571A4AA42B0813C4AC7DC50418A4397@MESSAGE-AH.ad.mathworks.com> References: <474305.68433.qm@web23312.mail.ird.yahoo.com> <9898F61571A4AA42B0813C4AC7DC50418A4397@MESSAGE-AH.ad.mathworks.com> Message-ID: <476B46AC.90103@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/12/07 06:37 AM, Carl Friend wrote: > Based on the snmpwalk provided, you don't have the EMC (Data > General, actually) MIB installed in your SNMP setup. You'll need > to locate that someplace on EMC's web-site. There's not a whole > lot in the MIB, either; it's mainly trap definitions. - From what I could see he did not walked the whole tree. The MIBs aren't required to get the data but are needed to represent it properly (print text OIDs, show a text status instead of plain integers where it applies, represent properly IP Addresses, render tables, etc.). The MIBs also contains descriptions for each OID that can be printed with snmptranslate and used by various tools (like SNMPTT). > I've got one that I faked up so my SNMP management system (also > running Nagios) can properly understand traps if anybody's interested. Again, you shouldn't need MIBs to handle traps if you're willing to deal with numeric data, although most of the work can be done automatically using the MIBs with SNMPTT and SNMPTTCONVERTMIB. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHa0as6dZ+Kt5BchYRAmSqAKC+22lpBX2dSUb71zEtJl0s/MGphwCeIrZu m8k2wKX7w17QjWE1PgFWfJg= =9AQ2 -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twilson at buffalo.k12.mn.us Fri Dec 21 06:06:56 2007 From: twilson at buffalo.k12.mn.us (Tim Wilson) Date: Thu, 20 Dec 2007 23:06:56 -0600 Subject: check_nt service check problem Message-ID: <476AF591020000610001692C@staffmail.buffalo.k12.mn.us> Hi everyone, I'm using check_nt with NSClient++ to check and see if a service is running on a Win 2003 server. The service I want to monitor is called "MSSQL$DESTINY". The check is failing and it says "MSSQL$: Unknown". It certainly appears that the dollar sign in the service name is causing a problem. I've tried quoting the service name and escaping the $ with a backslash. No luck so far. Any ideas? -Tim -- Tim Wilson, Director of Technology Buffalo-Hanover-Montrose Schools 214 1st Ave NE Buffalo, MN 55313 ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.us ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Fri Dec 21 07:16:23 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Fri, 21 Dec 2007 01:16:23 -0500 Subject: Best way to manage host-specific thresholds? In-Reply-To: <6F41C23E99FC594D90E848FA56423431320A656675@TBEMAIL.corp.local> References: <6F41C23E99FC594D90E848FA56423431320A656675@TBEMAIL.corp.local> Message-ID: <476B5A37.70409@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 20/12/07 09:34 AM, Cipriani, Robert C wrote: > Group, > > > > I am trying to wrap my head around the best way to manage things like > ping RTA/packet loss, partition free space warn/critical, cpu/memory > use, etc. I can set these up using custom object variables for a host > template, and reference them via macros in the command definition. If I > need a different setting for a particular host, I can override these > inherited values in that host?s config. check_nrpe throws a bit of a > wrench in this ? I?d probably need a different command set up for each > item I?d like to check via NRPE. Does it sound like I?m on the right track? The way I decided to go is to have variable NRPE configs on the servers. I use a generic nrpe.conf with no command defined and use "include_dir" instructions to add directories where config files resides. I have default config definitions that I push to all servers or groups of servers, and the ability to override commands on specific servers (when re-defining commands, the latter one takes precedence so having an include_dir that comes after the generic include_dir for the override configs will do the trick). I have a few bash scripts that help me copy the various config files to the servers when needed. Ideally I'd like to write a small Perl application that parses the Nagios config or status file (I suggest the status file as I never been able to get Nagios::Config to handle my special templated configuration) to allow specifying Nagios hostgroups/servicegroups as list of hosts. Might be done one day but there's no promise :) > Another item I?m struggling with is how to monitor partitions easily. I > can check all filesystems by just passing ?/? as the argument. This > makes it easy since I don?t care what the separate partitions are ? if > there is /var, /usr, and so on these will automatically be checked. One > problem is that if any one of these exceeds the threshold, the > notification will occur, even if all the others are fine. I am trying > to avoid having to set up a service for each partition on each host. > Any thoughts on this? I?d rather use Nagios for this rather than > something like Vertias Volume Manager?s space monitoring. For that one, I must say we don't have many partitions to monitor... 95% of our servers have only one partition, "/" (the other ones have a SCSI raid, FC-attached storage or ramdisk (tmpfs) used by a server-specific application). The way we go is to have the check commands numerically ordered for all unusual partition. check_disk0 is / and is distributed on all servers (If needed we can override them as I pointed our earlier), then on server-specific config files we have some check_disk1 and check_disk2 (we're not going any further than that!). We also have check_ramdisk for some hostgroups (it's a tmpfs if you care). On the nagios side, I simply have a service definition that includes all hostgroups (via template) for check_disk0, then service definitions for check_disk1, check_disk2 and check_ramdisk that include the proper servers/hostgroups. > My generic host template: Roughly my config goes like this: generic host template => hostgroup host template (1 per hostgroup) => host definition The hostgroup host template defines the "hostgroups" and optionally other hostgroup-specific options. generic service template => hostgroup-specific service template (optionnal) => service definition The hostgroup-specific service templates is used to group similar hostgroups. For example all web servers, all HTTPS servers, all database servers, etc. They only define a "hostgroup_name" list so I can add hosts to the final definition with "host_name" (AFAIK Nagios 3 allow stacking templates so this trick isn't that useful on a well designed N3 config). The Nagios dcumentation is very complete and an excellent reference for all kind of configuration you can do (the rest is up to your creativity). It is definitely the best place to learn Nagios and most tricks to can do with it. If you have questions regarding the above feel free to ask too :). Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHa1o36dZ+Kt5BchYRAhpcAJ4uHC7Q7YTrBJ3QPZ1hdEDijVjTtACg5+Lj dya5sMGiae33ivzxgXd1ZA0= =dcoe -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri Dec 21 07:21:48 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 21 Dec 2007 07:21:48 +0100 Subject: check_nt service check problem In-Reply-To: <476AF591020000610001692C@staffmail.buffalo.k12.mn.us> References: <476AF591020000610001692C@staffmail.buffalo.k12.mn.us> Message-ID: <476B5B7C.6020005@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tim Wilson wrote: > Hi everyone, > > I'm using check_nt with NSClient++ to check and see if a service is running on a Win 2003 server. The service I want to monitor is called "MSSQL$DESTINY". The check is failing and it says "MSSQL$: Unknown". It certainly appears that the dollar sign in the service name is causing a problem. I've tried quoting the service name and escaping the $ with a backslash. No luck so far. Any ideas? If memory serves me well you need to double the bill. In other words use $$ in your definition to signify a $. If you want to be sure: Check the archives of this list. Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHa1t6BvzDRVjxmYERAivKAJ9ZJLkkJRKB0WAy+kKH36r8OcTFEwCgkVTH 1b3x5+Zy4Patovy0pcOB+VY= =5bkf -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david.knecht at anyweb.ch Fri Dec 21 10:57:11 2007 From: david.knecht at anyweb.ch (David Knecht) Date: Fri, 21 Dec 2007 10:57:11 +0100 Subject: On-demand service macros in Nagios 3.0b7: Hit by a bug related to an empty host name field? In-Reply-To: <4758F6BE.1020601@anyweb.ch> References: <4758F6BE.1020601@anyweb.ch> Message-ID: <476B8DF7.6010205@anyweb.ch> Hi all I am still fighting with this one... Right now I am testing with Nagios 3.0rc1. Can anybody please post a fully functional and tested example of a service check definition containing an on-demand service macro with an empty host name field? Thanks, David ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From svalding at kent.edu Fri Dec 21 14:31:25 2007 From: svalding at kent.edu (svalding at kent.edu) Date: Fri, 21 Dec 2007 08:31:25 -0500 Subject: Authentication best practices Message-ID: List, I currently implemented NagVis into our Nagios installation, and have it working wonderfully. My question is as follows. Currently we only have the nagios administrator set up to authenticate to the web and view everything on the nagios site and nagvis. What I would like to have is a guest account setup so that we map link our Nagvis maps off of our helpdesk site so that users can view the picture of our network and see the mail server is down if they are not getting email, saving us the trouble of dealing with a ticket, and them the time sending it, since we will have already known about the problem with nagios anyways. What would be the best practice for me to accomplish this? I know I will have to give them accesss to the status.cgi in cgi.cfg, but what else should be done to allow this? -------------- next part -------------- A non-text attachment was scrubbed... Name: svalding.vcf Type: text/x-vcard Size: 131 bytes Desc: Card for URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederic.schaer at cea.fr Fri Dec 21 14:46:52 2007 From: frederic.schaer at cea.fr (SCHAER Frederic) Date: Fri, 21 Dec 2007 14:46:52 +0100 Subject: Remote Execution Service Dependencies on Same Host's Remote Execution Method In-Reply-To: <476AA37C.8050702@googlemail.com> References: <476AA37C.8050702@googlemail.com> Message-ID: Hi, In my service dependency config file, I have this kind of thing : define servicedependency{ hostgroup_name *,!NON_NRPE_NODES service_description nrpe daemon dependent_service_description var partition freespace,tmp partition freespace,root free space,quattor daemons,home partition freespace,firewall execution_failure_criteria u,w,c notification_failure_criteria u,w,c,p } The hostgroup NON_NRPE_NODES is excluded for the dependencies, because it's not managed the same way as other nodes. You could probably generate a group called "NRPE NODES" or something like this, and instead of using * like me, define this service dependency on this hostgroup only. I'm using Nagios 3.0b7 at the moment, I don't know which version you're using nor if this was available in Nagios 2.10 though... Hope this helps ? Regards -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Hari Sekhon Sent: Thursday, December 20, 2007 6:17 PM To: Nagios Users mailinglist Subject: [Nagios-users] Remote Execution Service Dependencies on Same Host's Remote Execution Method Hi, When there is a problem on a host, and you have lots of services being check through a remote execution method like Nrpe, what do you do if Nrpe breaks or times out or something? You get flooded with alerts for all your systems. So, the solution to this is to create service dependencies that point back to one Nrpe service on the same machine, right? This way you only get 1 alert per machine instead of 10 alerts per machine... Now the trick is, how do you go about creating a rack of service dependencies for all the remotely checked services via Nrpe for every host to depend on 1 Nrpe check on the same host? Bearing in mind that you don't want to be a mindless drone and create this by hand, and you certainly don't want to maintain this by hand for every host and all of their services... What do/would you do? -h -- Hari Sekhon ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Melin at co.hennepin.mn.us Fri Dec 21 16:16:36 2007 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Fri, 21 Dec 2007 09:16:36 -0600 Subject: Grouping/services question Message-ID: I have 6 servers that are our development Vignette environment. Our development people, who have limited Nagios access for servers they are concerned with would like to have the 6 development servers in a Nagios group. Here's the crux of the problem... How do you monitor a service on one machine that is not on another machine (such as oracle DB Status, or the web portal, or the vignette preview) without creating separate groups. I really don't want to have 6 groups of one server each but I can't see a way around it without playing some check_dummy games in NRPE for services that don't exists on a particular server but are defined in the group. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rms at sibs.pt Fri Dec 21 16:28:35 2007 From: rms at sibs.pt (Rui Miguel Silva Seabra) Date: Fri, 21 Dec 2007 15:28:35 +0000 Subject: Grouping/services question In-Reply-To: References: Message-ID: <1198250915.6594.47.camel@roque> Sex, 2007-12-21 ?s 09:16 -0600, Jim.Melin at co.hennepin.mn.us escreveu: > I have 6 servers that are our development Vignette environment. > > Our development people, who have limited Nagios access for servers they are concerned with would like to have the 6 development servers in a Nagios > group. Here's the crux of the problem... How do you monitor a service on one machine that is not on another machine (such as oracle DB Status, or the > web portal, or the vignette preview) without creating separate groups. I really don't want to have 6 groups of one server each but I can't see a way > around it without playing some check_dummy games in NRPE for services that don't exists on a particular server but are defined in the group. The way you formulate your question seems to suggest you use service { ... hostgroup_name ... ... } If you want to keep that method (which IMHO is wise) then I'd say you need to have that "ugly" solution. Rui Pzat! Today is Setting Orange, the 63rd day of The Aftermath in the YOLD 3173 + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hpsekhon at googlemail.com Fri Dec 21 16:38:58 2007 From: hpsekhon at googlemail.com (Hari Sekhon) Date: Fri, 21 Dec 2007 15:38:58 +0000 Subject: Grouping/services question In-Reply-To: <1198250915.6594.47.camel@roque> References: <1198250915.6594.47.camel@roque> Message-ID: <476BDE12.7090406@googlemail.com> Rui Miguel Silva Seabra wrote: > Sex, 2007-12-21 ? s 09:16 -0600, Jim.Melin at co.hennepin.mn.us escreveu: > >> I have 6 servers that are our development Vignette environment. >> >> Our development people, who have limited Nagios access for servers they are concerned with would like to have the 6 development servers in a Nagios >> group. Here's the crux of the problem... How do you monitor a service on one machine that is not on another machine (such as oracle DB Status, or the >> web portal, or the vignette preview) without creating separate groups. I really don't want to have 6 groups of one server each but I can't see a way >> around it without playing some check_dummy games in NRPE for services that don't exists on a particular server but are defined in the group. >> > > The way you formulate your question seems to suggest you use > > service { > ... > hostgroup_name ... > ... > } > > If you want to keep that method (which IMHO is wise) then I'd say you > need to have that "ugly" solution. > > Rui > Why not just use host_name instead of hostgroup_name to limit the check to that one machine which runs Oracle in the Oracle service block? Looks to me like you're only using hostgroups, you can use hosts too, or even negate hosts out of the hostgroup_name definition using "host_name !SomeMachine" in the service block as well as keeping the hostgroup_name in that block. -h -- Hari Sekhon ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederic.schaer at cea.fr Fri Dec 21 16:49:38 2007 From: frederic.schaer at cea.fr (SCHAER Frederic) Date: Fri, 21 Dec 2007 16:49:38 +0100 Subject: service definition : change of directives names ? Message-ID: Hi, I see in the online doc that services are now defined with "check_interval" and "retry_intervall" . well, why not. I have in my config files "retry_check_interval" and "normal_check_interval" defined instead, and they seem to still work... I'm wondering if there are other directives that were renamed that I would have missed ? I'm also wondering if support for old directives names will be kept ? (Additionnally : I did not see this in the changelog, but I hope it will be in there if support for old values is dropped ?) Thanks Frederic -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Fri Dec 21 19:57:17 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Fri, 21 Dec 2007 13:57:17 -0500 Subject: On-Call Rotation References: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com> <1192468960.2573.33.camel@localhost.localdomain> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2954@RL03EXCH1.replacements.com> Kind of on the same subject, I am trying to setup a rotation and nagios doesn't like the date setup. I have set it up just as the book says for alternating week rotation for 2 people. I am coping in a portion of my directives to assist in illustrating. # "Robert On-Call" timeperiod definition define timeperiod{ timeperiod_name robert-on-call alias Robert On Call 2007-12-24 / 14 08:00-2400 2007-12-25 / 14 00:00-2400 } Of course this goes on for a week and the second person has a similar schedule one week later. The error I am getting when doing my cfg check is: Error: Invalid timeperiod object directive '2007-12-24' Error: Could not add object property in file'/usr/local/nagios/etc/timeperiods.cfg' on line 187 Line 187 is the first place this time shows up. Any thoughts? Thanks, Robert -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Donnell Lewis Sent: Monday, October 15, 2007 1:23 PM To: Steve T Cc: Nathan Blackham; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] On-Call Rotation Likewise here, we have a qmail server and I just setup a adminonduty contactgroup and defined a timeperiod for adminonduty contacts and then wrote a simple bash script that looks for the current adminonduty in the adminonduty.cfg file that holds the group definition and according to what the current one is changes that to the next in the list and reloads nagios, then it logs in to the mailserver and sets the adminonduty forwarder to the current email addy of the contact. -Don On Mon, 2007-10-15 at 10:30 -0500, Steve T wrote: > I just created a contactgroup for each of us on call and manually > changed the notification every week. Nothing fancy, but we swapped > our on calls often enough that it was easier for us to just pencil > ourselves in. > > On 10/15/07, Nathan Blackham wrote: > What do other people user to rotate who gets paged at night. > We currently have 4 Admins that rotate on a weekly basis > (Monday-Monday). Currently we are all getting paged all the > time. Is there a solution out there that we can setup a > On-Call person or pointer where it will switch between who is > currently on-call? > > Nathan > > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> > http://get.splunk.com/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent > to /dev/null > > > > -- > "In a time of universal deceit, telling the truth is a revolutionary > act!" > -- George Orwell (Eric Arthur Blair) > ------------------------------------------------------------------------ - > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jim.Melin at co.hennepin.mn.us Fri Dec 21 19:57:22 2007 From: Jim.Melin at co.hennepin.mn.us (Jim.Melin at co.hennepin.mn.us) Date: Fri, 21 Dec 2007 12:57:22 -0600 Subject: Grouping/services question In-Reply-To: References: Message-ID: "Gary Every" wrote on 12/21/2007 09:26:30 AM: > Try this: > This will execute the service on All unix boxes (hostgroup) that are > NOT in the Storefront hostgroup AND hosts that are NOT demo, logger, > snowball, laddie or duffgardens > > This allows you to set up global services that just some machines or > hostgroups won't use. > > define service { > use generic-service > name RAID > hostgroup_name Unix,!Storefront > host_name !demo,!logger,!snowball,!laddie,!duffgardens > service_description RAID > check_command snmp_sfw_raid!28 > contact_groups Unix > } > > On Dec 21, 2007 8:16 AM, wrote: > > I have 6 servers that are our development Vignette environment. > > Our development people, who have limited Nagios access for servers > they are concerned with would like to have the 6 development servers > in a Nagios > group. Here's the crux of the problem... How do you monitor a > service on one machine that is not on another machine (such as > oracle DB Status, or the > web portal, or the vignette preview) without creating separate > groups. I really don't want to have 6 groups of one server each but > I can't see a way > around it without playing some check_dummy games in NRPE for > services that don't exists on a particular server but are defined in the group. > > --- snip --- Ahh. I have not done that because I did not know that was possible. It's one of those things that I have not explored yet. This will actually help me simplify the groups that I have now to probable great degree. Thanks Gary & Everyone else who responded! ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rms at sibs.pt Fri Dec 21 20:00:54 2007 From: rms at sibs.pt (Rui Miguel Silva Seabra) Date: Fri, 21 Dec 2007 19:00:54 +0000 Subject: Grouping/services question In-Reply-To: References: Message-ID: <1198263654.6594.49.camel@roque> Sex, 2007-12-21 ?s 12:57 -0600, Jim.Melin at co.hennepin.mn.us escreveu: > > hostgroup_name Unix,!Storefront > > host_name !demo,!logger,!snowball,!laddie,!duffgardens /me drolls.... I didn't know that was possible, since what release of Nagios can that be done? That's great! Rui Hail Eris, Hack GNU/Linux! Today is Setting Orange, the 63rd day of The Aftermath in the YOLD 3173 + No matter how much you do, you never do enough -- unknown + Whatever you do will be insignificant, | but it is very important that you do it -- Gandhi + So let's do it...? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aweiss at nz1.ibm.com Fri Dec 21 20:00:58 2007 From: aweiss at nz1.ibm.com (Alex Weiss) Date: Sat, 22 Dec 2007 08:00:58 +1300 Subject: Alex Weiss is out of the office. Message-ID: I will be out of the office starting 22/12/2007 and will not return until 17/01/2008. VMware matters please contact one of my colleagues: Robert Usman Jeff Pai Or my manager: Glen Sinclair ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rsasko at niag.com Fri Dec 21 20:25:48 2007 From: rsasko at niag.com (Rich Sasko) Date: Fri, 21 Dec 2007 13:25:48 -0600 Subject: check_nt service check problem In-Reply-To: References: Message-ID: >Message: 9 >Date: Thu, 20 Dec 2007 23:06:56 -0600 >From: "Tim Wilson" >Subject: [Nagios-users] check_nt service check problem >To: >Message-ID: <476AF591020000610001692C at staffmail.buffalo.k12.mn.us> >Content-Type: text/plain; charset=US-ASCII >Hi everyone, >I'm using check_nt with NSClient++ to check and see if a service is running on a >Win 2003 server. The service I want to monitor is called "MSSQL$DESTINY". The >check is failing and it says "MSSQL$: Unknown". It certainly appears that the dollar >sign in the service name is causing a problem. I've tried quoting the service name >and escaping the $ with a backslash. No luck so far. Any ideas? >-Tim >-- >Tim Wilson, Director of Technology >Buffalo-Hanover-Montrose Schools >214 1st Ave NE Buffalo, MN 55313 >ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.us Tim, This is what we are doing here (thanks to a suggestion from this message board.) Define service{ Use generic-service Host_name sql_server Service_description check_sql_service Check_command check_nt!SERVICESTATE!-d SHOWALL -l mssql$"$"destiny } ************************************* Richard Sasko Niagara Lasalle Corp Phone: (219) 853-6272 Mobile: (219) 484-5617 E-mail: rsasko at niag.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From MPetersen at gs1us.org Fri Dec 21 20:49:30 2007 From: MPetersen at gs1us.org (Petersen, Mark) Date: Fri, 21 Dec 2007 14:49:30 -0500 Subject: On-Call Rotation In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A014A2954@RL03EXCH1.replacements.com> References: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com><1192468960.2573.33.camel@localhost.localdomain> <1DBAECAF1663DF4B97779F24ABABE24A014A2954@RL03EXCH1.replacements.com> Message-ID: <54B7F7DBCA12D94CA3FE17B68F1461A7044C14F6@LVNJEVS205.UCCORG.org> This pretty useful, I didn't know once could do this and would like to. However, I run nagios 2 and it appears this is only available on nagios 3, are you using nagios 3? If so, maybe it's a bug in this new feature? Also, this looks like it would only do Dec 24, 25, then Jan 7,8, then Jan 14,15 (what you want?) but I may be misreading the documentation. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Ferguson > Sent: Friday, December 21, 2007 12:57 PM > To: donnell.lewis at icoretechnology.com; Steve T > Cc: Nathan Blackham; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] On-Call Rotation > > Kind of on the same subject, I am trying to setup a rotation and nagios > doesn't like the date setup. I have set it up just as the book says for > alternating week rotation for 2 people. I am coping in a portion of my > directives to assist in illustrating. > > # "Robert On-Call" timeperiod definition > define timeperiod{ > timeperiod_name robert-on-call > alias Robert On Call > 2007-12-24 / 14 08:00-2400 > 2007-12-25 / 14 00:00-2400 > > } > > Of course this goes on for a week and the second person has a similar > schedule one week later. The error I am getting when doing my cfg check > is: > Error: Invalid timeperiod object directive '2007-12-24' > Error: Could not add object property in > file'/usr/local/nagios/etc/timeperiods.cfg' on line 187 > > Line 187 is the first place this time shows up. Any thoughts? > > > Thanks, > > Robert ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vadi.ksdba at gmail.com Sun Dec 23 15:00:07 2007 From: vadi.ksdba at gmail.com (vadi) Date: Sun, 23 Dec 2007 19:30:07 +0530 Subject: monitor Network Time Protocol In-Reply-To: <476A6828.2010205@googlemail.com> References: <105723.84078.qm@web23313.mail.ird.yahoo.com> <476A6828.2010205@googlemail.com> Message-ID: <5f6b57ee0712230600r64a45562g56b8528cf0f19dec@mail.gmail.com> On Dec 20, 2007 6:33 PM, Hari Sekhon wrote: > Ton Voon wrote: > > In fact, use check_ntp_time (in the 1.4.11 release). > > > > This will check the local (to the plugin) time against the NTP server. > > check_ntp will be deprecated in future releases. > > > > If you want to check your NTP server against its peers, use > > check_ntp_peer. > > > > Ton > > > Isn't this what check_ntp currently does if you run it on any machine > and give it the address of the timeserver? > > If you remote execute check_ntp on any machine with -H timeserver and > the warning and critical thresholds -w and -c, you get alerted if the > local machine is not in sync with the timeserver. > > I don't understand the difference really. > > -h > > -- > Hari Sekhon > > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Dear All, thanks for all helping me....Regards,Vadiraj -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vadi.ksdba at gmail.com Sun Dec 23 15:10:57 2007 From: vadi.ksdba at gmail.com (vadi) Date: Sun, 23 Dec 2007 19:40:57 +0530 Subject: mysql database details Message-ID: <5f6b57ee0712230610j47762a80qc4f932fe0f431d4b@mail.gmail.com> Dear All, Can any one help me for writing one bash script to find below content. 1> To find number of MySql database and there size. 2> To find number of tables in there corresponding databases. 3> To find number of InnoDB and MyISAM tables in each databases. I want to display this in my nagios tool. Thanks in advance. Regards, Vadiraj -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chrisserafin at gmail.com Mon Dec 24 03:49:35 2007 From: chrisserafin at gmail.com (chris serafin) Date: Sun, 23 Dec 2007 20:49:35 -0600 Subject: New Hostgroup added and no email alerts for those hosts, old HG work fine Message-ID: I have a Nagios box running and alerting great. I just added a new Hostgroup and the host/service I just added shows down in Nagios (the service IS really down), but I dont get email alerts like I do for the rest of the hosts that are in different hostgroups. I can't figure out why this is not throwing email alerts like all the others. The device is a Cisco ASA forewall, but I'm starting with only simple pings, so the device should not matter. chrisserafin at gmail.com Configs below: define service{ name windows-service ; The 'name' of this service template active_checks_enabled 1 ; Active service checks are enabled passive_checks_enabled 1 ; Passive service checks are enabled/accepted parallelize_check 1 ; Active service checks should be parallelized (disabling this can lead to major performance problems) obsess_over_service 1 ; We should obsess over this service (if necessary) check_freshness 0 ; Default is to NOT check service 'freshness' notifications_enabled 1 ; Service notifications are enabled event_handler_enabled 1 ; Service event handler is enabled flap_detection_enabled 1 ; Flap detection is enabled failure_prediction_enabled 1 ; Failure prediction is enabled process_perf_data 1 ; Process performance data retain_status_information 1 ; Retain status information across program restarts retain_nonstatus_information 1 ; Retain non-status information across program restarts is_volatile 0 ; The service is not volatile register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 4 ; Re-check the service up to 4 times in order to determine its final (hard) state normal_check_interval 5 ; Check the service every 5 minutes under normal conditions retry_check_interval 1 ; Re-check the service every minute until a hard state can be determined contact_groups admins ; Notifications get sent out to everyone in the 'admins' group notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery events notification_interval 120 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time } ----------------HOSTGROUP.CFG------------ define hostgroup{ hostgroup_name XXX alias XXX Enterprises Network members XXX_Chicago_ASA } ----------------XXX_Chicago_ASA----------- define host{ use windows-servers ; Name of host template to use host_name XXX_Chicago_ASA alias XXX_Chicago_ASA address ???.217.120.10 } define service{ use windows-service ; Name of service template to use host_name XXX_Chicago_ASA service_description PING check_command check_ping!100.0,20%!300.0,60% } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From srini at geekcrossing.net Mon Dec 24 10:39:04 2007 From: srini at geekcrossing.net (Srini) Date: Mon, 24 Dec 2007 15:09:04 +0530 Subject: Regarding setting quite time for a service in nagios Message-ID: <476F7E38.3010602@geekcrossing.net> Hi, I have a customized check for a process, which is restarted every day at 12:00. So i need to set the quiet time for this service during 12 to 12:30 daily so as not to send me the notifications during this time. Can you please let me know how can i do this. Thanks in advance -srini ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon Dec 24 16:44:48 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 24 Dec 2007 16:44:48 +0100 Subject: Regarding setting quite time for a service in nagios In-Reply-To: <476F7E38.3010602@geekcrossing.net> References: <476F7E38.3010602@geekcrossing.net> Message-ID: <476FD3F0.4070901@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Srini wrote: > Hi, > > I have a customized check for a process, which is restarted every day at > 12:00. > > So i need to set the quiet time for this service during 12 to 12:30 > daily so as not to send me the notifications during this time. > > Can you please let me know how can i do this. Define a custom time period from 0:00 to 12:00 and 12:30 to 24:00 See also: http://nagios.sourceforge.net/docs/2_0/timeperiods.html Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHb9PsBvzDRVjxmYERAjiQAKCBtQFeAy4xTsBQ/n40le4Z5AcOMwCeP29X jF8zy5WqooBb8557UvSpCNU= =btJm -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vadi.ksdba at gmail.com Mon Dec 24 22:15:07 2007 From: vadi.ksdba at gmail.com (vadi) Date: Tue, 25 Dec 2007 02:45:07 +0530 Subject: mysql database details In-Reply-To: References: <5f6b57ee0712230610j47762a80qc4f932fe0f431d4b@mail.gmail.com> Message-ID: <5f6b57ee0712241315j65c8f3b0w9b2e3c97e81a920f@mail.gmail.com> Hi Gary / Nagios Team, Thanks for all your supports. Irrespective of the engine (InnoDB, MyISAM), I am not able to calculate table size and DB size Do you have any perl/bash script to do or please help me how to find this information? Regards, Vadiraj On Dec 23, 2007 9:00 PM, Gary Every wrote: > You should be able to get all the information you need thusly: > > In your script grab all the databases: > $sql = "SHOW DATABASES"; > // or > > // Count the return rows > // Iterate through them with info from the information_schema.tables > table: > > SELECT * from information_schema WHERE TABLE_SCHEMA = 'db_name'; > > There are columns in there that will get you where you want to be : > Specifically the ENGINE column, which tells you what type engine > (innodb,myisam, etc) that table is > > information_schema is a great place to get info about all your tables - > use it > > > You could probably get all the info you need using the following SINGLE > query: > > $sql = "select count(1), table_schema as Database_name, engine as > Engine_Type from information_schema.tables where engine != 'MEMORY' group > by table_schema,engine"; > > You'll get a return like this: (as you'll see the myisam and innodb table > types are split out for you already, as in the ocsweb db) > > > +----------+--------------------+-------------+ > | count(1) | DB_Name | Engine_Type | > +----------+--------------------+-------------+ > | 58 | cacti | MyISAM | > | 2 | events | InnoDB | > | 4 | information_schema | MyISAM | > | 15 | mysql | MyISAM | > | 24 | ocsweb | InnoDB | > | 12 | ocsweb | MyISAM | > +----------+--------------------+-------------+ > > > > > > On Dec 23, 2007 7:10 AM, vadi < vadi.ksdba at gmail.com> wrote: > > > Dear All, > > > > Can any one help me for writing one bash script to find below content. > > 1> To find number of MySql database and there size. > > 2> To find number of tables in there corresponding databases. > > 3> To find number of InnoDB and MyISAM tables in each databases. > > > > I want to display this in my nagios tool. > > > > Thanks in advance. > > > > Regards, > > Vadiraj > > > > > > ------------------------------------------------------------------------- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > -- > Gary Every > "Pay it Forward!" > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From twilson at buffalo.k12.mn.us Mon Dec 24 23:29:34 2007 From: twilson at buffalo.k12.mn.us (Tim Wilson) Date: Mon, 24 Dec 2007 16:29:34 -0600 Subject: Anyone running NRPE on OS X? Message-ID: <476FDE6E02000061000169E5@staffmail.buffalo.k12.mn.us> Hi everyone, I've got a couple Apple Xserves that I'd like to monitor with Nagios via NRPE. Has anyone got an NRPE package for a Tiger server? If not, I need to sit down and do some homework on launchd and other OS X goodness to figure it out. -Tim -- Tim Wilson, Director of Technology Buffalo-Hanover-Montrose Schools 214 1st Ave NE Buffalo, MN 55313 ph: 763.682.8740 fax: 763.682.8743 http://www.buffalo.k12.mn.us ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vadi.ksdba at gmail.com Tue Dec 25 05:32:58 2007 From: vadi.ksdba at gmail.com (vadi) Date: Tue, 25 Dec 2007 10:02:58 +0530 Subject: mysql database details In-Reply-To: References: <5f6b57ee0712230610j47762a80qc4f932fe0f431d4b@mail.gmail.com> <5f6b57ee0712241315j65c8f3b0w9b2e3c97e81a920f@mail.gmail.com> Message-ID: <5f6b57ee0712242032w42b9a776gb82dddfdb36b17c6@mail.gmail.com> Hello Gary / Nagios team, Thank you Gary Sir, I got the answer and it's correct: SELECT s.schema_name,CONCAT(IFNULL(ROUND((SUM(t.data_length)+SUM( t.index_length))/1024/1024,2),0.00),"Mb") total_size,CONCAT(IFNULL(ROUND(((SUM(t.data_length)+SUM(t.index_length ))-SUM(t.data_free))/1024/1024,2),0.00),"Mb") data_used,CONCAT(IFNULL(ROUND(SUM(data_free)/1024/1024,2),0.00),"Mb") data_free,IFNULL(ROUND((((SUM(t.data_length)+SUM(t.index_length))-SUM( t.data_free))/((SUM(t.data_length)+SUM(t.index_length)))*100),2),0) pct_used,COUNT(table_name) total_tables FROM INFORMATION_SCHEMA.SCHEMATA s LEFT JOIN INFORMATION_SCHEMA.TABLES t ON s.schema_name = t.table_schemaWHERE s.schema_name = "nagios_objects" GROUP BY s.schema_name ORDER BY pct_used DESC\G Thanks, Vadiraj On Dec 25, 2007 3:07 AM, Gary Every wrote: > check out mysqlshow --status -k from the command line, it''l > give you a bunch of info - the "rows" and "data_length" columns are what > you're looking for as far as sizes go. > > G.~ > > > > On Dec 24, 2007 2:15 PM, vadi wrote: > > > Hi Gary / Nagios Team, > > > > Thanks for all your supports. > > > > Irrespective of the engine (InnoDB, MyISAM), I am not able to calculate > > table size and DB size > > > > Do you have any perl/bash script to do or please help me how to find > > this information? > > > > Regards, > > Vadiraj > > > > > > On Dec 23, 2007 9:00 PM, Gary Every wrote: > > > > > You should be able to get all the information you need thusly: > > > > > > In your script grab all the databases: > > > $sql = "SHOW DATABASES"; > > > // or > > > > > > // Count the return rows > > > // Iterate through them with info from the information_schema.tables > > > table: > > > > > > SELECT * from information_schema WHERE TABLE_SCHEMA = 'db_name'; > > > > > > There are columns in there that will get you where you want to be : > > > Specifically the ENGINE column, which tells you what type engine > > > (innodb,myisam, etc) that table is > > > > > > information_schema is a great place to get info about all your tables > > > - use it > > > > > > > > > You could probably get all the info you need using the following > > > SINGLE query: > > > > > > $sql = "select count(1), table_schema as Database_name, engine as > > > Engine_Type from information_schema.tables where engine != 'MEMORY' group > > > by table_schema,engine"; > > > > > > You'll get a return like this: (as you'll see the myisam and innodb > > > table types are split out for you already, as in the ocsweb db) > > > > > > > > > +----------+--------------------+-------------+ > > > | count(1) | DB_Name | Engine_Type | > > > +----------+--------------------+-------------+ > > > | 58 | cacti | MyISAM | > > > | 2 | events | InnoDB | > > > | 4 | information_schema | MyISAM | > > > | 15 | mysql | MyISAM | > > > | 24 | ocsweb | InnoDB | > > > | 12 | ocsweb | MyISAM | > > > +----------+--------------------+-------------+ > > > > > > > > > > > > > > > > > > On Dec 23, 2007 7:10 AM, vadi < vadi.ksdba at gmail.com> wrote: > > > > > > > Dear All, > > > > > > > > Can any one help me for writing one bash script to find below > > > > content. > > > > 1> To find number of MySql database and there size. > > > > 2> To find number of tables in there corresponding databases. > > > > 3> To find number of InnoDB and MyISAM tables in each databases. > > > > > > > > I want to display this in my nagios tool. > > > > > > > > Thanks in advance. > > > > > > > > Regards, > > > > Vadiraj > > > > > > > > > > > > ------------------------------------------------------------------------- > > > > This SF.net email is sponsored by: Microsoft > > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to > > > > /dev/null > > > > > > > > > > > > > > > > -- > > > Gary Every > > > "Pay it Forward!" > > > > > > > > > > -- > Gary Every > "Pay it Forward!" > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ellmers at firstgroup.com Tue Dec 25 21:26:57 2007 From: Jason.Ellmers at firstgroup.com (Jason Ellmers) Date: Tue, 25 Dec 2007 20:26:57 +0000 Subject: CN=Jason Ellmers/OU=FirstInfo/O=FirstGroup is out of the office. Message-ID: I will be Out of the Office Start Date: 25/12/2007. End Date: 02/01/2008. Thank you for your mail. I am currently away from the office, returning on 2nd January If you need a fault escalating please call the service desk on 0038696 (0870 241 5500) with the case reference and ask for Martina Nicholson who has overall responsibility for the Service Desk ********************************************************************** This message is confidential. It may not be disclosed to, or used by, anyone other than the addressee. If you receive this message in error, please advise us immediately. Internet email is not necessarily secure. First does not accept responsibility for changes to any email which occur after the email has been sent. Attachments to this email could contain software viruses which could damage your system. First have checked the attachments for viruses before sending, but you should virus-check them before opening. For more information on our range of services or to book your tickets online, please visit:- http://www.firstgroup.com ********************************************************************** ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Wed Dec 26 16:26:45 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Wed, 26 Dec 2007 10:26:45 -0500 Subject: On-Call Rotation References: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com><1192468960.2573.33.camel@localhost.localdomain><1DBAECAF1663DF4B97779F24ABABE24A014A2954@RL03EXCH1.replacements.com> <54B7F7DBCA12D94CA3FE17B68F1461A7044C14F6@LVNJEVS205.UCCORG.org> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A2959@RL03EXCH1.replacements.com> Yes, I am using 3 and it could very well be a bug. If I am reading the documentation correctly, specifically starting on page 231 of the Nagios 3 doc, with this setup, it will rotate every 14 days or 21 days or what every you set. Say I am on call this week on Monday, 14 days later it will start again. Anyway, how would I report this as a bug or is there a syntax error I am missing? Thanks Robert -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Petersen, Mark Sent: Friday, December 21, 2007 2:50 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] On-Call Rotation This pretty useful, I didn't know once could do this and would like to. However, I run nagios 2 and it appears this is only available on nagios 3, are you using nagios 3? If so, maybe it's a bug in this new feature? Also, this looks like it would only do Dec 24, 25, then Jan 7,8, then Jan 14,15 (what you want?) but I may be misreading the documentation. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Ferguson > Sent: Friday, December 21, 2007 12:57 PM > To: donnell.lewis at icoretechnology.com; Steve T > Cc: Nathan Blackham; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] On-Call Rotation > > Kind of on the same subject, I am trying to setup a rotation and nagios > doesn't like the date setup. I have set it up just as the book says for > alternating week rotation for 2 people. I am coping in a portion of my > directives to assist in illustrating. > > # "Robert On-Call" timeperiod definition > define timeperiod{ > timeperiod_name robert-on-call > alias Robert On Call > 2007-12-24 / 14 08:00-2400 > 2007-12-25 / 14 00:00-2400 > > } > > Of course this goes on for a week and the second person has a similar > schedule one week later. The error I am getting when doing my cfg check > is: > Error: Invalid timeperiod object directive '2007-12-24' > Error: Could not add object property in > file'/usr/local/nagios/etc/timeperiods.cfg' on line 187 > > Line 187 is the first place this time shows up. Any thoughts? > > > Thanks, > > Robert ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Wed Dec 26 17:13:34 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Wed, 26 Dec 2007 11:13:34 -0500 Subject: On-Call Rotation References: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com><1192468960.2573.33.camel@localhost.localdomain><1DBAECAF1663DF4B97779F24ABABE24A014A2954@RL03EXCH1.replacements.com><54B7F7DBCA12D94CA3FE17B68F1461A7044C14F6@LVNJEVS205.UCCORG.org> <1DBAECAF1663DF4B97779F24ABABE24A014A2959@RL03EXCH1.replacements.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A295A@RL03EXCH1.replacements.com> After reading your post and thinking about it, I decided to backup and then upgrade to the latest release which is 3.0rc1. (I was on 3.0b4.) I read the release notes and didn't see anything except where they added the "exclude" option in version 3.0b1 but I was already on a version after that. After the upgrade, the new directives seem to be working. At least when I verify the cfg files, no errors come up. Thanks for your help. Robert -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Robert Ferguson Sent: Wednesday, December 26, 2007 10:27 AM To: Petersen, Mark; Nagios Users mailinglist Subject: Re: [Nagios-users] On-Call Rotation Yes, I am using 3 and it could very well be a bug. If I am reading the documentation correctly, specifically starting on page 231 of the Nagios 3 doc, with this setup, it will rotate every 14 days or 21 days or what every you set. Say I am on call this week on Monday, 14 days later it will start again. Anyway, how would I report this as a bug or is there a syntax error I am missing? Thanks Robert -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Petersen, Mark Sent: Friday, December 21, 2007 2:50 PM To: Nagios Users mailinglist Subject: Re: [Nagios-users] On-Call Rotation This pretty useful, I didn't know once could do this and would like to. However, I run nagios 2 and it appears this is only available on nagios 3, are you using nagios 3? If so, maybe it's a bug in this new feature? Also, this looks like it would only do Dec 24, 25, then Jan 7,8, then Jan 14,15 (what you want?) but I may be misreading the documentation. > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Robert Ferguson > Sent: Friday, December 21, 2007 12:57 PM > To: donnell.lewis at icoretechnology.com; Steve T > Cc: Nathan Blackham; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] On-Call Rotation > > Kind of on the same subject, I am trying to setup a rotation and nagios > doesn't like the date setup. I have set it up just as the book says for > alternating week rotation for 2 people. I am coping in a portion of my > directives to assist in illustrating. > > # "Robert On-Call" timeperiod definition > define timeperiod{ > timeperiod_name robert-on-call > alias Robert On Call > 2007-12-24 / 14 08:00-2400 > 2007-12-25 / 14 00:00-2400 > > } > > Of course this goes on for a week and the second person has a similar > schedule one week later. The error I am getting when doing my cfg check > is: > Error: Invalid timeperiod object directive '2007-12-24' > Error: Could not add object property in > file'/usr/local/nagios/etc/timeperiods.cfg' on line 187 > > Line 187 is the first place this time shows up. Any thoughts? > > > Thanks, > > Robert ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------ - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Wed Dec 26 21:03:50 2007 From: chris at sigd.net (Chris Haulmark) Date: Wed, 26 Dec 2007 15:03:50 -0500 Subject: CFG_DIR recursive feature.. Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net> In the /usr/local/etc/nagios/nagios.cfg of the master nagios server in the distributed model, there are a line of: cfg_dir=/usr/local/etc/nagios/slaves/ There those directories: /usr/local/etc/nagios/slaves/ ..../nagios1 ..../nagios2 ..../nagios3 In each of the directories, there are services/hosts cfg files for each nagios slave. What I am trying to accomplish is for the master nagios server's nagios.cfg to include all those slaves' directories with a single line. Is there a way to include several directories recursively? Chris ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Cipriani at mybrighthouse.com Wed Dec 26 21:06:27 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Wed, 26 Dec 2007 15:06:27 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net> Message-ID: <6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local> I thought it already did this. Are you using 3.x? Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Chris Haulmark > Sent: Wednesday, December 26, 2007 3:04 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] CFG_DIR recursive feature.. > > In the /usr/local/etc/nagios/nagios.cfg of the master nagios server > in the distributed model, there are a line of: > > cfg_dir=/usr/local/etc/nagios/slaves/ > > There those directories: > > /usr/local/etc/nagios/slaves/ > ..../nagios1 > ..../nagios2 > ..../nagios3 > > In each of the directories, there are services/hosts cfg files for > each nagios slave. > > What I am trying to accomplish is for the master nagios server's > nagios.cfg to include all those slaves' directories with a single > line. > > Is there a way to include several directories recursively? > > Chris > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Wed Dec 26 21:14:10 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 26 Dec 2007 15:14:10 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local> Message-ID: <4772B612.7000100@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 26/12/07 03:06 PM, Cipriani, Robert C wrote: > I thought it already did this. Are you using 3.x? It does it on 2.x, and did it as well on the early 3.0 alphas I tried long time ago. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHcrYS6dZ+Kt5BchYRAnjMAJ9O4GK+962eFiUQzKQjdinXnlOKCACgjC6E PQuoOltt6VmOBhFZKiHKVY0= =Ntxb -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Wed Dec 26 21:16:54 2007 From: chris at sigd.net (Chris Haulmark) Date: Wed, 26 Dec 2007 15:16:54 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net> > > I thought it already did this. Are you using 3.x? > Yep. I could see that it did not include the deeper config files. Chris > > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > users- > > bounces at lists.sourceforge.net] On Behalf Of Chris Haulmark > > Sent: Wednesday, December 26, 2007 3:04 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] CFG_DIR recursive feature.. > > > > In the /usr/local/etc/nagios/nagios.cfg of the master nagios server > > in the distributed model, there are a line of: > > > > cfg_dir=/usr/local/etc/nagios/slaves/ > > > > There those directories: > > > > /usr/local/etc/nagios/slaves/ > > ..../nagios1 > > ..../nagios2 > > ..../nagios3 > > > > In each of the directories, there are services/hosts cfg files for > > each nagios slave. > > > > What I am trying to accomplish is for the master nagios server's > > nagios.cfg to include all those slaves' directories with a single > > line. > > > > Is there a way to include several directories recursively? > > > > Chris > > > > --------------------------------------------------------------------- > ---- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you > are not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy > it. > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Wed Dec 26 21:26:01 2007 From: chris at sigd.net (Chris Haulmark) Date: Wed, 26 Dec 2007 15:26:01 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net> > > > > > I thought it already did this. Are you using 3.x? > > > > Yep. > > I could see that it did not include the deeper config files. Excuse me: I'm using nagios-3.0.b7 on FreeBSD 6.2. Here are the sample lines that I pasted from the nagios.cfg. cfg_dir=svchosts.FBSD03/ cfg_dir=svchosts.FBSD03/clients cfg_dir=svchosts.FBSD03/servers cfg_dir=svchosts.FBSD03/networks I commented out the last 3 lines and did nagios -v on the nagios.cfg. It errors with no hosts and services defined. When I removed the comments from those last 3 lines and redid the nagios -v on the nagios.cfg....it did not error. Chris > > Chris > > > > > > > Robert C. Cipriani > > Senior Network Administrator > > Tampa Bay Division IT > > Bright House Networks > > W: (727) 329-2000 x74264 > > M: (727) 365-1231 > > > > > > > > > > > > > -----Original Message----- > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > > users- > > > bounces at lists.sourceforge.net] On Behalf Of Chris Haulmark > > > Sent: Wednesday, December 26, 2007 3:04 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] CFG_DIR recursive feature.. > > > > > > In the /usr/local/etc/nagios/nagios.cfg of the master nagios server > > > in the distributed model, there are a line of: > > > > > > cfg_dir=/usr/local/etc/nagios/slaves/ > > > > > > There those directories: > > > > > > /usr/local/etc/nagios/slaves/ > > > ..../nagios1 > > > ..../nagios2 > > > ..../nagios3 > > > > > > In each of the directories, there are services/hosts cfg files for > > > each nagios slave. > > > > > > What I am trying to accomplish is for the master nagios server's > > > nagios.cfg to include all those slaves' directories with a single > > > line. > > > > > > Is there a way to include several directories recursively? > > > > > > Chris > > > > > > > --------------------------------------------------------------------- > > ---- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > privileged, confidential or otherwise protected from disclosure. If > you > > are not the intended recipient of this e-mail, please notify the > sender > > immediately by return e-mail, purge it and do not disseminate or copy > > it. > > > > > ----------------------------------------------------------------------- > > -- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > /dev/null > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Cipriani at mybrighthouse.com Wed Dec 26 21:28:41 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Wed, 26 Dec 2007 15:28:41 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net> <6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net> Message-ID: <6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Chris Haulmark > Sent: Wednesday, December 26, 2007 3:26 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > I thought it already did this. Are you using 3.x? > > > > > > > Yep. > > > > I could see that it did not include the deeper config files. > > Excuse me: > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > Here are the sample lines that I pasted from the nagios.cfg. > > cfg_dir=svchosts.FBSD03/ > cfg_dir=svchosts.FBSD03/clients > cfg_dir=svchosts.FBSD03/servers > cfg_dir=svchosts.FBSD03/networks > > I commented out the last 3 lines and did nagios -v on the nagios.cfg. > > It errors with no hosts and services defined. > > When I removed the comments from those last 3 lines and redid the > nagios -v on the nagios.cfg....it did not error. > > Chris > > > > > Chris > > > > > > > > > > > Robert C. Cipriani > > > Senior Network Administrator > > > Tampa Bay Division IT > > > Bright House Networks > > > W: (727) 329-2000 x74264 > > > M: (727) 365-1231 > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios- > > > users- > > > > bounces at lists.sourceforge.net] On Behalf Of Chris Haulmark > > > > Sent: Wednesday, December 26, 2007 3:04 PM > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > In the /usr/local/etc/nagios/nagios.cfg of the master nagios > server > > > > in the distributed model, there are a line of: > > > > > > > > cfg_dir=/usr/local/etc/nagios/slaves/ > > > > > > > > There those directories: > > > > > > > > /usr/local/etc/nagios/slaves/ > > > > ..../nagios1 > > > > ..../nagios2 > > > > ..../nagios3 > > > > > > > > In each of the directories, there are services/hosts cfg files for > > > > each nagios slave. > > > > > > > > What I am trying to accomplish is for the master nagios server's > > > > nagios.cfg to include all those slaves' directories with a single > > > > line. > > > > > > > > Is there a way to include several directories recursively? > > > > > > > > Chris > > > > > > > > > > --------------------------------------------------------------------- > > > ---- > > > > This SF.net email is sponsored by: Microsoft > > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to > > > /dev/null > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > > privileged, confidential or otherwise protected from disclosure. If > > you > > > are not the intended recipient of this e-mail, please notify the > > sender > > > immediately by return e-mail, purge it and do not disseminate or > copy > > > it. > > > > > > > > > ----------------------------------------------------------------------- > > > -- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > ----------------------------------------------------------------------- > > -- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null Hmm...maybe try dropping the trailing slash? I know this worked for me on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.ferguson at replacements.com Wed Dec 26 22:16:45 2007 From: robert.ferguson at replacements.com (Robert Ferguson) Date: Wed, 26 Dec 2007 16:16:45 -0500 Subject: contact group notification References: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com><1192468960.2573.33.camel@localhost.localdomain><1DBAECAF1663DF4B97779F24ABABE24A014A2954@RL03EXCH1.replacements.com><54B7F7DBCA12D94CA3FE17B68F1461A7044C14F6@LVNJEVS205.UCCORG.org><1DBAECAF1663DF4B97779F24ABABE24A014A2959@RL03EXCH1.replacements.com> <1DBAECAF1663DF4B97779F24ABABE24A014A295A@RL03EXCH1.replacements.com> Message-ID: <1DBAECAF1663DF4B97779F24ABABE24A014A295C@RL03EXCH1.replacements.com> Hi All, Has anyone noticed that contact groups other than admins or a default install are not being notified. I have setup a couple of other groups "windowsadmins" and "linuxadmins" neither of which are being notified. I have on some of my windows boxes that "windowsadmins" are the only group being notified and the "admins" group is the only actual group being notified. Suggestions? Thanks, Robert ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed Dec 26 23:17:39 2007 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 26 Dec 2007 23:17:39 +0100 Subject: contact group notification In-Reply-To: <1DBAECAF1663DF4B97779F24ABABE24A014A295C@RL03EXCH1.replacements.com> References: <7156d5f20710150830s31d58f76g229174e867ba4c4c@mail.gmail.com><1192468960.2573.33.camel@localhost.localdomain><1DBAECAF1663DF4B97779F24ABABE24A014A2954@RL03EXCH1.replacements.com><54B7F7DBCA12D94CA3FE17B68F1461A7044C14F6@LVNJEVS205.UCCORG.org><1DBAECAF1663DF4B97779F24ABABE24A014A2959@RL03EXCH1.replacements.com> <1DBAECAF1663DF4B97779F24ABABE24A014A295A@RL03EXCH1.replacements.com> <1DBAECAF1663DF4B97779F24ABABE24A014A295C@RL03EXCH1.replacements.com> Message-ID: <4772D303.5000906@vanderkooij.org> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Robert Ferguson wrote: > Hi All, > > Has anyone noticed that contact groups other than admins or a default > install are not being notified. I have setup a couple of other groups > "windowsadmins" and "linuxadmins" neither of which are being notified. > I have on some of my windows boxes that "windowsadmins" are the only > group being notified and the "admins" group is the only actual group > being notified. Suggestions? Apart from "Thou shall not steal a thread on a mailinglist!"? Read the logs, show the relevant config, ..... Hugo. - -- hvdkooij at vanderkooij.org http://hugo.vanderkooij.org/ PGP/GPG? Use: http://hugo.vanderkooij.org/0x58F19981.asc A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? Bored? Click on http://spamornot.org/ and rate those images. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQFHctMBBvzDRVjxmYERAniHAJ92m4ioxWrDFzn2cMC/I3MnmPt1AQCglWn2 haQsu1ODF2OVLmqdUNMOJ8g= =kpFc -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Wed Dec 26 23:43:53 2007 From: chris at sigd.net (Chris Haulmark) Date: Wed, 26 Dec 2007 17:43:53 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net><6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> > > > > > > Yep. > > > > > > I could see that it did not include the deeper config files. > > > > Excuse me: > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > cfg_dir=svchosts.FBSD03/ > > cfg_dir=svchosts.FBSD03/clients > > cfg_dir=svchosts.FBSD03/servers > > cfg_dir=svchosts.FBSD03/networks > > > > I commented out the last 3 lines and did nagios -v on the nagios.cfg. > > > > It errors with no hosts and services defined. > > > > When I removed the comments from those last 3 lines and redid the > > nagios -v on the nagios.cfg....it did not error. > > > > Chris [...snip....] > > > > Hmm...maybe try dropping the trailing slash? I know this worked for me > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > I tried either: cfg_dir=svchosts.FBSD03 cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 Both were still giving errors as long as the last 3 lines, that I mentioned in my previous email, were commented out. Chris > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you > are not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy > it. > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From magic.rooter at gmail.com Thu Dec 27 08:12:49 2007 From: magic.rooter at gmail.com (magic_rooter) Date: Thu, 27 Dec 2007 10:12:49 +0300 Subject: Service duration problems Message-ID: <989aee610712262312r3094f5c7vca08cff45bfa48f6@mail.gmail.com> Hello! I have very important problem that annoying me very much:( I can't solve it for months. I use Nagios v. 2.5 (RHAS3) for a year. It is good monitoring system but smth strange is with event duration in availability report and "Current State Duration" field when I look at Service State Information. These values are different! I can't see the real statistics-how much server is in current state:(. I played with all nagios parametrs in nagios.cfg, searched info in internet. And didn't find anything. For example. I have service Ping on server. I see that it is "0d 0h 10m 27s" in state OK in Service State Information. But when I look at its avail.cgi I see: "27-12-2007 00:00:00 27-12-2007 10:06:56 0d 10h 6m 56s+" I want to mention that nothing happend with server 10 min ago!:(It is wrong statistics. Also I have found strange thing. In this strange case "Last Check Time" field is the same as "Last State Change" field. Where is the truth? Why the time is different? How it works? Does duration calculates in both cases differently and maybe not from one data file? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Cipriani at mybrighthouse.com Thu Dec 27 15:02:40 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Thu, 27 Dec 2007 09:02:40 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net><6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> Message-ID: <6F41C23E99FC594D90E848FA56423431320A834222@TBEMAIL.corp.local> > -----Original Message----- > From: Chris Haulmark [mailto:chris at sigd.net] > Sent: Wednesday, December 26, 2007 5:44 PM > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > Yep. > > > > > > > > I could see that it did not include the deeper config files. > > > > > > Excuse me: > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > cfg_dir=svchosts.FBSD03/ > > > cfg_dir=svchosts.FBSD03/clients > > > cfg_dir=svchosts.FBSD03/servers > > > cfg_dir=svchosts.FBSD03/networks > > > > > > I commented out the last 3 lines and did nagios -v on the > nagios.cfg. > > > > > > It errors with no hosts and services defined. > > > > > > When I removed the comments from those last 3 lines and redid the > > > nagios -v on the nagios.cfg....it did not error. > > > > > > Chris > > [...snip....] > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked for me > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > I tried either: > > cfg_dir=svchosts.FBSD03 > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > Both were still giving errors as long as the last 3 lines, that I > mentioned > in my previous email, were commented out. > > Chris > > > Chris, Any luck yet? It works for me with 3.0rc1. Maybe try without the . character (a long shot...I haven't looked at the source code...that shouldn't cause a problem but it's worth a try). Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Thu Dec 27 16:56:42 2007 From: chris at sigd.net (Chris Haulmark) Date: Thu, 27 Dec 2007 10:56:42 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6F41C23E99FC594D90E848FA56423431320A834222@TBEMAIL.corp.local> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net><6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A834222@TBEMAIL.corp.local> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC785F7@ms05.mailstreet2003.net> > > > -----Original Message----- > > From: Chris Haulmark [mailto:chris at sigd.net] > > Sent: Wednesday, December 26, 2007 5:44 PM > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > Yep. > > > > > > > > > > I could see that it did not include the deeper config files. > > > > > > > > Excuse me: > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > cfg_dir=svchosts.FBSD03/clients > > > > cfg_dir=svchosts.FBSD03/servers > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > nagios.cfg. > > > > > > > > It errors with no hosts and services defined. > > > > > > > > When I removed the comments from those last 3 lines and redid the > > > > nagios -v on the nagios.cfg....it did not error. > > > > > > > > Chris > > > > [...snip....] > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked for > me > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > I tried either: > > > > cfg_dir=svchosts.FBSD03 > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > Both were still giving errors as long as the last 3 lines, that I > > mentioned > > in my previous email, were commented out. > > > > Chris > > > > > > > > Chris, > > Any luck yet? It works for me with 3.0rc1. Maybe try without the . > character (a long shot...I haven't looked at the source code...that > shouldn't cause a problem but it's worth a try). > > No luck. I tried to change the . to - (dash): ### NAGIOS2 ### cfg_dir=svchosts-NAGIOS2/ #cfg_dir=svchosts-NAGIOS2/clients #cfg_dir=svchosts-NAGIOS2/servers #cfg_dir=svchosts-NAGIOS2/networks I also upgraded nagios-devel to RC1. It has failed. I could not enable the debugging level to show the startup stats when the config files are getting loaded. I got someone else to look thru the source for me. Any new insights are welcome. Chris > > > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you > are not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy > it. > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Cipriani at mybrighthouse.com Thu Dec 27 16:58:17 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Thu, 27 Dec 2007 10:58:17 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC785F7@ms05.mailstreet2003.net> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net><6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A834222@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC785F7@ms05.mailstreet2003.net> Message-ID: <6F41C23E99FC594D90E848FA56423431320A8342E0@TBEMAIL.corp.local> > -----Original Message----- > From: Chris Haulmark [mailto:chris at sigd.net] > Sent: Thursday, December 27, 2007 10:57 AM > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > -----Original Message----- > > > From: Chris Haulmark [mailto:chris at sigd.net] > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > I could see that it did not include the deeper config files. > > > > > > > > > > Excuse me: > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > nagios.cfg. > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > When I removed the comments from those last 3 lines and redid > the > > > > > nagios -v on the nagios.cfg....it did not error. > > > > > > > > > > Chris > > > > > > [...snip....] > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked > for > > me > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > I tried either: > > > > > > cfg_dir=svchosts.FBSD03 > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > Both were still giving errors as long as the last 3 lines, that I > > > mentioned > > > in my previous email, were commented out. > > > > > > Chris > > > > > > > > > > > > > Chris, > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the . > > character (a long shot...I haven't looked at the source code...that > > shouldn't cause a problem but it's worth a try). > > > > > > No luck. I tried to change the . to - (dash): > > ### NAGIOS2 ### > > cfg_dir=svchosts-NAGIOS2/ > #cfg_dir=svchosts-NAGIOS2/clients > #cfg_dir=svchosts-NAGIOS2/servers > #cfg_dir=svchosts-NAGIOS2/networks > > I also upgraded nagios-devel to RC1. It has failed. > > I could not enable the debugging level to show the startup > stats when the config files are getting loaded. > > I got someone else to look thru the source for me. > > Any new insights are welcome. > > Chris > > > > > > > Robert C. Cipriani > > Senior Network Administrator > > Tampa Bay Division IT > > Bright House Networks > > W: (727) 329-2000 x74264 > > M: (727) 365-1231 > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > privileged, confidential or otherwise protected from disclosure. If > you > > are not the intended recipient of this e-mail, please notify the > sender > > immediately by return e-mail, purge it and do not disseminate or copy > > it. > > > > > ----------------------------------------------------------------------- > > -- > > This SF.net email is sponsored by: Microsoft > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null Try an absolute path. This is mine: cfg_dir=/usr/local/nagios/etc/hosts cfg_dir=/usr/local/nagios/etc/printers cfg_dir=/usr/local/nagios/etc/switches cfg_dir=/usr/local/nagios/etc/routers cfg_dir=/usr/local/nagios/etc/hostgroups cfg_dir=/usr/local/nagios/etc/services cfg_dir=/usr/local/nagios/etc/servicegroups cfg_dir=/usr/local/nagios/etc/hostdependencies cfg_dir=/usr/local/nagios/etc/servicedependencies cfg_dir=/usr/local/nagios/etc/contacts cfg_dir=/usr/local/nagios/etc/contactgroups cfg_dir=/usr/local/nagios/etc/timeperiods cfg_dir=/usr/local/nagios/etc/commands Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Thu Dec 27 17:26:12 2007 From: chris at sigd.net (Chris Haulmark) Date: Thu, 27 Dec 2007 11:26:12 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6F41C23E99FC594D90E848FA56423431320A8342E0@TBEMAIL.corp.local> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net><6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A834222@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC785F7@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A8342E0@TBEMAIL.corp.local> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC78625@ms05.mailstreet2003.net> > > > -----Original Message----- > > From: Chris Haulmark [mailto:chris at sigd.net] > > Sent: Thursday, December 27, 2007 10:57 AM > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > -----Original Message----- > > > > From: Chris Haulmark [mailto:chris at sigd.net] > > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > > > I could see that it did not include the deeper config > files. > > > > > > > > > > > > Excuse me: > > > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > > nagios.cfg. > > > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > > > When I removed the comments from those last 3 lines and redid > > the > > > > > > nagios -v on the nagios.cfg....it did not error. > > > > > > > > > > > > Chris > > > > > > > > [...snip....] > > > > > > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this worked > > for > > > me > > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > > > > > I tried either: > > > > > > > > cfg_dir=svchosts.FBSD03 > > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > > > Both were still giving errors as long as the last 3 lines, that I > > > > mentioned > > > > in my previous email, were commented out. > > > > > > > > Chris > > > > > > > > > > > > > > > > > > Chris, > > > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the . > > > character (a long shot...I haven't looked at the source code...that > > > shouldn't cause a problem but it's worth a try). > > > > > > > > > > No luck. I tried to change the . to - (dash): > > > > ### NAGIOS2 ### > > > > cfg_dir=svchosts-NAGIOS2/ > > #cfg_dir=svchosts-NAGIOS2/clients > > #cfg_dir=svchosts-NAGIOS2/servers > > #cfg_dir=svchosts-NAGIOS2/networks > > > > I also upgraded nagios-devel to RC1. It has failed. > > > > I could not enable the debugging level to show the startup > > stats when the config files are getting loaded. > > > > I got someone else to look thru the source for me. > > > > Any new insights are welcome. > > > > Chris > > > > > > > > > > > Robert C. Cipriani > > > Senior Network Administrator > > > Tampa Bay Division IT > > > Bright House Networks > > > W: (727) 329-2000 x74264 > > > M: (727) 365-1231 > > > > > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > > > privileged, confidential or otherwise protected from disclosure. If > > you > > > are not the intended recipient of this e-mail, please notify the > > sender > > > immediately by return e-mail, purge it and do not disseminate or > copy > > > it. > > > > > > > > --------------------------------------------------------------------- > -- > > > -- > > > This SF.net email is sponsored by: Microsoft > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent to > /dev/null > > > Try an absolute path. > This is mine: > > cfg_dir=/usr/local/nagios/etc/hosts > cfg_dir=/usr/local/nagios/etc/printers > cfg_dir=/usr/local/nagios/etc/switches > cfg_dir=/usr/local/nagios/etc/routers > cfg_dir=/usr/local/nagios/etc/hostgroups > cfg_dir=/usr/local/nagios/etc/services > cfg_dir=/usr/local/nagios/etc/servicegroups > cfg_dir=/usr/local/nagios/etc/hostdependencies > cfg_dir=/usr/local/nagios/etc/servicedependencies > cfg_dir=/usr/local/nagios/etc/contacts > cfg_dir=/usr/local/nagios/etc/contactgroups > cfg_dir=/usr/local/nagios/etc/timeperiods > cfg_dir=/usr/local/nagios/etc/commands > This is the first thing I did when I noticed this problem. I noticed that you may not have a directory containing the cfg files in those listed directories? They look like default paths? My actual directories are: /usr/local/etc/nagios/svchosts-NAGIOS2/clients /usr/local/etc/nagios/svchosts-NAGIOS2/servers /usr/local/etc/nagios/svchosts-NAGIOS2/networks There are cfg files in each of those directories relevant to its purposes. In the nagios.cfg, I have those lines: cfg_dir=svchosts.FBSD02/ #cfg_dir=svchosts.FBSD02/clients #cfg_dir=svchosts.FBSD02/servers #cfg_dir=svchosts.FBSD02/networks Testings were done to make sure the . (period) was not the culprit. I tried dashes and without any special characters. I used absolute paths too. Nagios always failed with no services or hosts found. Those services and hosts .cfg files are in those three directories. If I removed the comments from those three cfg_dir lines, nagios would start up successfully. It is apparent that you are running Linux because of the different etc path compared to FreeBSD's. It is not supposed to be relevant to this situation. Right now, I am using nagios-devel RC1 on FreeBSD 6.2. There are two different slaves that are using either svchosts.FBSD02 and svchosts.FBSD03. I had hoped to use the master which would load both svchosts.FBSD01, svchosts.FBSD02, and svchosts.FBSD03. It would have been easy to use three of cfg_dir lines instead of several for each directories inside those primary directories. Chris > Robert C. Cipriani > Senior Network Administrator > Tampa Bay Division IT > Bright House Networks > W: (727) 329-2000 x74264 > M: (727) 365-1231 > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that is > privileged, confidential or otherwise protected from disclosure. If you > are not the intended recipient of this e-mail, please notify the sender > immediately by return e-mail, purge it and do not disseminate or copy > it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mugnoz.pilar at gmail.com Thu Dec 27 19:47:24 2007 From: mugnoz.pilar at gmail.com (=?ISO-8859-1?Q?Pili_Mu=F1oz_Gargallo?=) Date: Thu, 27 Dec 2007 19:47:24 +0100 Subject: check_rrdtraf problem Message-ID: <53317ec10712271047t21a6c075xc680a91a18cab25f@mail.gmail.com> Hi all, I am trying to monitor bandwith using check_rrdtraf, but Nagios told me about the service is flapping (maybe due to the tresholds I have defined ) and wha seems to me more extrange: it doesn't show actual values of bandwith like check_mrtgraft does....The only i get is OK - Current BW in: Gbps Out: Gbps and i almost sure the values of bandwith are of only a few hundreds of kbps... I tried to redefine the command writting a -l K in order to tell nagios the units it must use but it isn't working... i obtain OK - Current BW in: Kbps Out: Kbps i obtained the file.cfg with a cfgmaker and i added a line logformat: rrdtool.... MRTG has stopped to log in format .log and it is not graphing any more....it seems to be rigth i have installed RRDtool using yum install... Has anyone had the same problem? Thank you very much in advance for the sure help Pili -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From michaele at capitalsafety.com Thu Dec 27 21:35:41 2007 From: michaele at capitalsafety.com (Michael Egan) Date: Thu, 27 Dec 2007 13:35:41 -0700 Subject: Default Startup Page for Nagios Message-ID: <4BE6EDFB3C58E24887D56332993B03AF0393A46F@VS2.EXCHPROD.USA.NET> Greetings, Instead of Nagios starting at the HOME page, is there a way to change the startup page to the HOSTGROUP GRID? Thanks, Mike Mike Egan Enterprise Network Engineer Capital Safety 3833 Sala Way Red Wing, MN 55066 651-385-6254 Office 651-247-5719 Cell michaele at capitalsafety.com Home of DBI-Sala and Protecta Brands. Visit us on the web at www.capitalsafety.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Cipriani at mybrighthouse.com Thu Dec 27 21:41:49 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Thu, 27 Dec 2007 15:41:49 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC78625@ms05.mailstreet2003.net> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net><6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A834222@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC785F7@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A8342E0@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC78625@ms05.mailstreet2003.net> Message-ID: <6F41C23E99FC594D90E848FA56423431320A8344E3@TBEMAIL.corp.local> > -----Original Message----- > From: Chris Haulmark [mailto:chris at sigd.net] > Sent: Thursday, December 27, 2007 11:26 AM > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > -----Original Message----- > > > From: Chris Haulmark [mailto:chris at sigd.net] > > > Sent: Thursday, December 27, 2007 10:57 AM > > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > -----Original Message----- > > > > > From: Chris Haulmark [mailto:chris at sigd.net] > > > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > > > > > I could see that it did not include the deeper config > > files. > > > > > > > > > > > > > > Excuse me: > > > > > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > > > nagios.cfg. > > > > > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > > > > > When I removed the comments from those last 3 lines and > redid > > > the > > > > > > > nagios -v on the nagios.cfg....it did not error. > > > > > > > > > > > > > > Chris > > > > > > > > > > [...snip....] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this > worked > > > for > > > > me > > > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > > > > > > > > > I tried either: > > > > > > > > > > cfg_dir=svchosts.FBSD03 > > > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > > > > > Both were still giving errors as long as the last 3 lines, that > I > > > > > mentioned > > > > > in my previous email, were commented out. > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > > > > > Chris, > > > > > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the > . > > > > character (a long shot...I haven't looked at the source > code...that > > > > shouldn't cause a problem but it's worth a try). > > > > > > > > > > > > > > No luck. I tried to change the . to - (dash): > > > > > > ### NAGIOS2 ### > > > > > > cfg_dir=svchosts-NAGIOS2/ > > > #cfg_dir=svchosts-NAGIOS2/clients > > > #cfg_dir=svchosts-NAGIOS2/servers > > > #cfg_dir=svchosts-NAGIOS2/networks > > > > > > I also upgraded nagios-devel to RC1. It has failed. > > > > > > I could not enable the debugging level to show the startup > > > stats when the config files are getting loaded. > > > > > > I got someone else to look thru the source for me. > > > > > > Any new insights are welcome. > > > > > > Chris > > > > > > > > > > > > > > > Robert C. Cipriani > > > > Senior Network Administrator > > > > Tampa Bay Division IT > > > > Bright House Networks > > > > W: (727) 329-2000 x74264 > > > > M: (727) 365-1231 > > > > > > > > > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that > is > > > > privileged, confidential or otherwise protected from disclosure. > If > > > you > > > > are not the intended recipient of this e-mail, please notify the > > > sender > > > > immediately by return e-mail, purge it and do not disseminate or > > copy > > > > it. > > > > > > > > > > > > --------------------------------------------------------------------- > > -- > > > > -- > > > > This SF.net email is sponsored by: Microsoft > > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > > Try an absolute path. > > This is mine: > > > > cfg_dir=/usr/local/nagios/etc/hosts > > cfg_dir=/usr/local/nagios/etc/printers > > cfg_dir=/usr/local/nagios/etc/switches > > cfg_dir=/usr/local/nagios/etc/routers > > cfg_dir=/usr/local/nagios/etc/hostgroups > > cfg_dir=/usr/local/nagios/etc/services > > cfg_dir=/usr/local/nagios/etc/servicegroups > > cfg_dir=/usr/local/nagios/etc/hostdependencies > > cfg_dir=/usr/local/nagios/etc/servicedependencies > > cfg_dir=/usr/local/nagios/etc/contacts > > cfg_dir=/usr/local/nagios/etc/contactgroups > > cfg_dir=/usr/local/nagios/etc/timeperiods > > cfg_dir=/usr/local/nagios/etc/commands > > > > This is the first thing I did when I noticed this problem. > > I noticed that you may not have a directory containing the cfg files > in those listed directories? They look like default paths? > > My actual directories are: > > /usr/local/etc/nagios/svchosts-NAGIOS2/clients > /usr/local/etc/nagios/svchosts-NAGIOS2/servers > /usr/local/etc/nagios/svchosts-NAGIOS2/networks > > There are cfg files in each of those directories relevant to > its purposes. > > In the nagios.cfg, I have those lines: > > cfg_dir=svchosts.FBSD02/ > #cfg_dir=svchosts.FBSD02/clients > #cfg_dir=svchosts.FBSD02/servers > #cfg_dir=svchosts.FBSD02/networks > > Testings were done to make sure the . (period) was not the culprit. > I tried dashes and without any special characters. I used absolute > paths too. > > Nagios always failed with no services or hosts found. Those services > and hosts .cfg files are in those three directories. If I removed > the comments from those three cfg_dir lines, nagios would start up > successfully. > > It is apparent that you are running Linux because of the different etc > path compared to FreeBSD's. It is not supposed to be relevant to this > situation. > > Right now, I am using nagios-devel RC1 on FreeBSD 6.2. There are two > different slaves that are using either svchosts.FBSD02 and > svchosts.FBSD03. I had hoped to use the master which would load both > svchosts.FBSD01, svchosts.FBSD02, and svchosts.FBSD03. > > It would have been easy to use three of cfg_dir lines instead of several > for each directories inside those primary directories. > > Chris > My mistake...I got what you were trying to do backwards. Let me test with just the etc subdirectory to see if it works for me. Robert C. Cipriani Senior Network Administrator Tampa Bay Division IT Bright House Networks W: (727) 329-2000 x74264 M: (727) 365-1231 CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmoody at qualcomm.com Thu Dec 27 21:43:21 2007 From: cmoody at qualcomm.com (Chris Moody) Date: Thu, 27 Dec 2007 12:43:21 -0800 Subject: Default Startup Page for Nagios In-Reply-To: <4BE6EDFB3C58E24887D56332993B03AF0393A46F@VS2.EXCHPROD.USA.NET> References: <4BE6EDFB3C58E24887D56332993B03AF0393A46F@VS2.EXCHPROD.USA.NET> Message-ID: <47740E69.8060503@qualcomm.com> Easy. Edit the index.html on this line: ================================= to aim at the cgi that you want. I personally have the main page set to the tactical overview. === Cheers, -Chris Michael Egan wrote: > Greetings, > Instead of Nagios starting at the HOME page, is there a way to change > the startup page to the HOSTGROUP GRID? > > Thanks, > Mike > > > Mike Egan > Enterprise Network Engineer > Capital Safety > 3833 Sala Way > Red Wing, MN 55066 > 651-385-6254 Office > 651-247-5719 Cell > _michaele at capitalsafety.com_ > > Home of DBI-Sala and Protecta Brands. Visit us on the web at > www.capitalsafety.com > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Cipriani at mybrighthouse.com Thu Dec 27 21:44:49 2007 From: Robert.Cipriani at mybrighthouse.com (Cipriani, Robert C) Date: Thu, 27 Dec 2007 15:44:49 -0500 Subject: CFG_DIR recursive feature.. In-Reply-To: <6F41C23E99FC594D90E848FA56423431320A8344E3@TBEMAIL.corp.local> References: <6FC9F9894A9F8C49A722CF9F2132FC220FC78426@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A834179@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC78437@ms05.mailstreet2003.net><6FC9F9894A9F8C49A722CF9F2132FC220FC7843D@ms05.mailstreet2003.net><6F41C23E99FC594D90E848FA56423431320A83418C@TBEMAIL.corp.local><6FC9F9894A9F8C49A722CF9F2132FC220FC784B4@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A834222@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC785F7@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A8342E0@TBEMAIL.corp.local> <6FC9F9894A9F8C49A722CF9F2132FC220FC78625@ms05.mailstreet2003.net> <6F41C23E99FC594D90E848FA56423431320A8344E3@TBEMAIL.corp.local> Message-ID: <6F41C23E99FC594D90E848FA56423431320A8344E6@TBEMAIL.corp.local> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Cipriani, Robert C > Sent: Thursday, December 27, 2007 3:42 PM > To: 'nagios-users at lists.sourceforge.net' > Subject: Re: [Nagios-users] CFG_DIR recursive feature.. > > > -----Original Message----- > > From: Chris Haulmark [mailto:chris at sigd.net] > > Sent: Thursday, December 27, 2007 11:26 AM > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > -----Original Message----- > > > > From: Chris Haulmark [mailto:chris at sigd.net] > > > > Sent: Thursday, December 27, 2007 10:57 AM > > > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > > -----Original Message----- > > > > > > From: Chris Haulmark [mailto:chris at sigd.net] > > > > > > Sent: Wednesday, December 26, 2007 5:44 PM > > > > > > To: Cipriani, Robert C; nagios-users at lists.sourceforge.net > > > > > > Subject: RE: [Nagios-users] CFG_DIR recursive feature.. > > > > > > > > > > > > > > > > > > > > > > > > Yep. > > > > > > > > > > > > > > > > > > I could see that it did not include the deeper config > > > files. > > > > > > > > > > > > > > > > Excuse me: > > > > > > > > > > > > > > > > I'm using nagios-3.0.b7 on FreeBSD 6.2. > > > > > > > > > > > > > > > > Here are the sample lines that I pasted from the nagios.cfg. > > > > > > > > > > > > > > > > cfg_dir=svchosts.FBSD03/ > > > > > > > > cfg_dir=svchosts.FBSD03/clients > > > > > > > > cfg_dir=svchosts.FBSD03/servers > > > > > > > > cfg_dir=svchosts.FBSD03/networks > > > > > > > > > > > > > > > > I commented out the last 3 lines and did nagios -v on the > > > > > > nagios.cfg. > > > > > > > > > > > > > > > > It errors with no hosts and services defined. > > > > > > > > > > > > > > > > When I removed the comments from those last 3 lines and > > redid > > > > the > > > > > > > > nagios -v on the nagios.cfg....it did not error. > > > > > > > > > > > > > > > > Chris > > > > > > > > > > > > [...snip....] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Hmm...maybe try dropping the trailing slash? I know this > > worked > > > > for > > > > > me > > > > > > > on 3.0.b6. I'm setting up 3.0.rc1 on a new box now, will test. > > > > > > > > > > > > > > > > > > > > > > > > > > I tried either: > > > > > > > > > > > > cfg_dir=svchosts.FBSD03 > > > > > > cfg_dir=/usr/local/etc/nagios/svchosts.FBSD03 > > > > > > > > > > > > Both were still giving errors as long as the last 3 lines, that > > I > > > > > > mentioned > > > > > > in my previous email, were commented out. > > > > > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > > > > > > > > > > Chris, > > > > > > > > > > Any luck yet? It works for me with 3.0rc1. Maybe try without the > > . > > > > > character (a long shot...I haven't looked at the source > > code...that > > > > > shouldn't cause a problem but it's worth a try). > > > > > > > > > > > > > > > > > > No luck. I tried to change the . to - (dash): > > > > > > > > ### NAGIOS2 ### > > > > > > > > cfg_dir=svchosts-NAGIOS2/ > > > > #cfg_dir=svchosts-NAGIOS2/clients > > > > #cfg_dir=svchosts-NAGIOS2/servers > > > > #cfg_dir=svchosts-NAGIOS2/networks > > > > > > > > I also upgraded nagios-devel to RC1. It has failed. > > > > > > > > I could not enable the debugging level to show the startup > > > > stats when the config files are getting loaded. > > > > > > > > I got someone else to look thru the source for me. > > > > > > > > Any new insights are welcome. > > > > > > > > Chris > > > > > > > > > > > > > > > > > > > Robert C. Cipriani > > > > > Senior Network Administrator > > > > > Tampa Bay Division IT > > > > > Bright House Networks > > > > > W: (727) 329-2000 x74264 > > > > > M: (727) 365-1231 > > > > > > > > > > > > > > > > > > > > CONFIDENTIALITY NOTICE: This e-mail may contain information that > > is > > > > > privileged, confidential or otherwise protected from disclosure. > > If > > > > you > > > > > are not the intended recipient of this e-mail, please notify the > > > > sender > > > > > immediately by return e-mail, purge it and do not disseminate or > > > copy > > > > > it. > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > -- > > > > > -- > > > > > This SF.net email is sponsored by: Microsoft > > > > > Defy all challenges. Microsoft(R) Visual Studio 2005. > > > > > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > > > reporting any issue. > > > > > ::: Messages without supporting info will risk being sent to > > > /dev/null > > > > > > > > > Try an absolute path. > > > This is mine: > > > > > > cfg_dir=/usr/local/nagios/etc/hosts > > > cfg_dir=/usr/local/nagios/etc/printers > > > cfg_dir=/usr/local/nagios/etc/switches > > > cfg_dir=/usr/local/nagios/etc/routers > > > cfg_dir=/usr/local/nagios/etc/hostgroups > > > cfg_dir=/usr/local/nagios/etc/services > > > cfg_dir=/usr/local/nagios/etc/servicegroups > > > cfg_dir=/usr/local/nagios/etc/hostdependencies > > > cfg_dir=/usr/local/nagios/etc/servicedependencies > > > cfg_dir=/usr/local/nagios/etc/contacts > > > cfg_dir=/usr/local/nagios/etc/contactgroups > > > cfg_dir=/usr/local/nagios/etc/timeperiods > > > cfg_dir=/usr/local/nagios/etc/commands > > > > > > > This is the first thing I did when I noticed this problem. > > > > I noticed that you may not have a directory containing the cfg files > > in those listed directories? They look like default paths? > > > > My actual directories are: > > > > /usr/local/etc/nagios/svchosts-NAGIOS2/clients > > /usr/local/etc/nagios/svchosts-NAGIOS2/servers > > /usr/local/etc/nagios/svchosts-NAGIOS2/networks > > > > There are cfg files in each of those directories relevant to > > its purposes. > > > > In the nagios.cfg, I have those lines: > > > > cfg_dir=svchosts.FBSD02/ > > #cfg_dir=svchosts.FBSD02/clients > > #cfg_dir=svchosts.FBSD02/servers > > #cfg_dir=svchosts.FBSD02/networks > > > > Testings were done to make sure the . (period) was not the culprit. > > I tried dashes and without any special characters. I used absolute > > paths too. > > > > Nagios always failed with no services or hosts found. Those services > > and hosts .cfg files are in those three directories. If I removed > > the comments from those three cfg_dir lines, nagios would start up > > successfully. > > > > It is apparent that you are running Linux because of the different etc > > path compared to FreeBSD's. It is not supposed to be relevant to this > > situation. > > > > Right now, I am using nagios-devel RC1 on FreeBSD 6.2. There are two > > different slaves that are using either svchosts.FBSD02 and > > svchosts.FBSD03. I had hoped to use the master which would load both > > svchosts.FBSD01, svchosts.FBSD02, and svchosts.FBSD03. > > > > It would have been easy to use three of cfg_dir lines instead of several > > for each directories inside those primary directories. > > > > Chris > > > > My mistake...I got what you were trying to do backwards. Let me test with > just the etc subdirectory to see if it works for me. > > > I should point out that the directories I have listed above have their own subdirectories (for example, /usr/local/nagios/etc/services contains a templates subdirectory). Any configs within these are recursively processed normally. Robert C. Cipriani CONFIDENTIALITY NOTICE: This e-mail may contain information that is privileged, confidential or otherwise protected from disclosure. If you are not the intended recipient of this e-mail, please notify the sender immediately by return e-mail, purge it and do not disseminate or copy it. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlozier at spindletopoil.com Thu Dec 27 22:14:50 2007 From: mlozier at spindletopoil.com (Matt Lozier) Date: Thu, 27 Dec 2007 15:14:50 -0600 Subject: Perpetual notifications. Message-ID: Hello, Is there any way to have Nagios send out notifications for a problem only *once*. About every half hour I get an e-mail notifying me that a host or service is down, but I'm already aware of this. I do want to be notified, but only once. If the host goes down at 5:30 pm, I only want to be notified again once the host is back up. Any help and all suggestions are welcomed and *appreciated*! Thanks so much, --- Matt -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maxhetrick at verizon.net Thu Dec 27 22:31:12 2007 From: maxhetrick at verizon.net (Max Hetrick) Date: Thu, 27 Dec 2007 16:31:12 -0500 Subject: Perpetual notifications. In-Reply-To: References: Message-ID: <477419A0.8070101@verizon.net> Matt Lozier wrote: > Is there any way to have Nagios send out notifications for a problem > only **once**. > > About every half hour I get an e-mail notifying me that a host or > service is down, but I?m already aware of this. I do want to be > notified, but only once. If the host goes down at 5:30 pm, I only want > to be notified again once the host is back up. > > Any help and all suggestions are welcomed and **appreciated**! First, I would suggest reading the documentation, specifically the object configuration files documentation, for the version you are running before asking questions like this. If you read it, this question will be quickly answered. Nagios 2.x Nagios 3.x Set the notification_interval parameter on your hosts and services to 0. Regards, Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mlozier at spindletopoil.com Fri Dec 28 00:06:36 2007 From: mlozier at spindletopoil.com (Matt Lozier) Date: Thu, 27 Dec 2007 17:06:36 -0600 Subject: Perpetual notifications. In-Reply-To: <477419A0.8070101@verizon.net> References: <477419A0.8070101@verizon.net> Message-ID: Max, This does appear to work. Thank you. I did look through the documentation, but could not find this. I obviously wasn't looking in the right place ;-) Thanks again, --- Matt -----Original Message----- From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-bounces at lists.sourceforge.net] On Behalf Of Max Hetrick Sent: Thursday, December 27, 2007 3:31 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Perpetual notifications. Matt Lozier wrote: > Is there any way to have Nagios send out notifications for a problem > only **once**. > > About every half hour I get an e-mail notifying me that a host or > service is down, but I'm already aware of this. I do want to be > notified, but only once. If the host goes down at 5:30 pm, I only want > to be notified again once the host is back up. > > Any help and all suggestions are welcomed and **appreciated**! First, I would suggest reading the documentation, specifically the object configuration files documentation, for the version you are running before asking questions like this. If you read it, this question will be quickly answered. Nagios 2.x Nagios 3.x Set the notification_interval parameter on your hosts and services to 0. Regards, Max ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at evilal.com Fri Dec 28 11:48:19 2007 From: alex at evilal.com (Alex French) Date: Fri, 28 Dec 2007 10:48:19 +0000 Subject: Processes hanging - Nagios 3rc1 on FreeBSD Message-ID: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> Hi, Running rc1 on FreeBSD 5.4-RELEASE. Compiled both from ports and from original source (no difference in syptoms). - Nagios starts fine, no errors, I can see all the service checks as "pending" through the CGI interface after startup. - The service checks get run (I can see the temp output files in the check_results directory) but the status never gets updated, and the child process hangs around forever hogging memory & cpu. I have tried modifying the reaper timer as per the FAQ, but it makes no difference (and anyway I only have the default sample localhost services configured so this shouldn't be the issue). Any suggestions on how to debug this? Thanks, Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Fri Dec 28 12:04:16 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Fri, 28 Dec 2007 09:04:16 -0200 Subject: Host parenting and notification supression... In-Reply-To: References: Message-ID: I've had a problem with this when I've included host_dependency in my configurations files. As I remove all host dependencies, the parent and notifications supressions have worked perfectly... cheers, L?vio Zanol Puppim 2007/12/17, Marc Powell : > > > > -----Original Message----- > > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > > bounces at lists.sourceforge.net] On Behalf Of Eric F Crist > > Sent: Monday, December 17, 2007 1:24 PM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Host parenting and notification supression... > > > > Hello folks! > > > > We've made sure to set up the host parenting so that it correctly > > reflects our network layout. I was under the impression that, should > > a link fail, nagios would automatically assume the hosts behind it > > were unreachable and, thus, supress the extra (obvious?) > notifications. > > Yes, that's how it works. The documentation is here -- > > http://nagios.sourceforge.net/docs/2_0/networkreachability.html > > What you may be getting caught by is that nagios changes the status from > Down to Unreachable for those hosts. If your notification_options > includes the (u)nreachable flag, you'll still receive notifications > about those hosts. > > -- > Marc > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From livio.zanol.puppim at gmail.com Fri Dec 28 12:06:54 2007 From: livio.zanol.puppim at gmail.com (Livio Zanol Puppim) Date: Fri, 28 Dec 2007 09:06:54 -0200 Subject: Monitoring a daemon In-Reply-To: References: <000c01c8419b$adb8b9c0$2df41c0a@tse.gov.br> Message-ID: You could also use SNMP with the host MIB checking if the process is running and how much memory and CPU it's using. Cheers, L?vio Zanol Puppim 2007/12/18, reed at reedmedia.net : > On Tue, 18 Dec 2007, Leandro Silva wrote: > > > Anyone know how to monitoring a daemon in a unix system, like > > postifx, apache2, dns, ... > > The normal way is to check that the service it is providing is really > working, such as with check_smtp, check_http, check_dns, ... > > Or if you really want to see if the daemon process is running you can use > check_procs. > > Hopefully this brief answer will give you some tools to search for. Try > running them with --help. > > Jeremy C. Reed > > ------------------------------------------------------------------------- > SF.Net email is sponsored by: > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services > for just about anything Open Source. > http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at evilal.com Fri Dec 28 12:19:37 2007 From: alex at evilal.com (Alex French) Date: Fri, 28 Dec 2007 11:19:37 +0000 Subject: Processes hanging - Nagios 3rc1 on FreeBSD In-Reply-To: <4774D6C0.4070706@heapoverflow.com> References: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> <4774D6C0.4070706@heapoverflow.com> Message-ID: <91d50d290712280319g7eafd849pfb24f490a05b0d7b@mail.gmail.com> On 28/12/2007, ad at heapoverflow.com wrote: > Hmmm I would try running the command from the SSH shell directly first > to check if it runs fine, or you can try out with strace to have a > debug output like: > > strace check_...... 2>&1 | egrep '()' > /tmp/strace.log > strace perl -W check_...... 2>&1 | egrep '(access|open)' > /tmp/strace.log > > it sounds like a file permission problem you may solve quickly with > strace That's what I was thinking too, but the commands do run fine, and their output gets saved to the checkresults temporary file. For example, running check_ping gives this on the cmd line: > ./check_ping -H localhost -w 3000.0,80% -c 5000.0,100% -p 5 PING OK - Packet loss = 0%, RTA = 1.26 ms and I can see files like this in the checkresults dir: > cat /var/spool/nagios3/checkresults/checkLSzkYX ### Active Check Result File ### file_time=1198838164 ### Nagios Host Check Result ### # Time: Fri Dec 28 10:36:04 2007 host_name=localhost check_type=0 check_options=0 scheduled_check=1 reschedule_check=1 latency=0.733000 start_time=1198838164.733798 I'm wondering if it's a problem with the child process reporting these back to the parent nagios process, but I don't know how I can debug that as the child process does not seem to log anywhere or provide debug... for example, where do the pipes actually live? I've also read some threads about pipe sizes causing similar problems, but that would seem only to apply in the case of lots of services. Any advice appreciated. Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at evilal.com Fri Dec 28 12:34:57 2007 From: alex at evilal.com (Alex French) Date: Fri, 28 Dec 2007 11:34:57 +0000 Subject: Processes hanging - Nagios 3rc1 on FreeBSD In-Reply-To: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> References: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> Message-ID: <91d50d290712280334q5be859a8hd3d3c56845222d57@mail.gmail.com> On 28/12/2007, Alex French wrote: > Hi, > > Running rc1 on FreeBSD 5.4-RELEASE. Compiled both from ports and from > original source (no difference in syptoms). By the way, in case it helps, here's what lsof says about the child process: COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME nagios 70520 nagios cwd VDIR 4,13 512 475217 /usr/local/nagios3 nagios 70520 nagios rtd VDIR 4,13 512 2 / nagios 70520 nagios txt VREG 4,13 541708 664123 /usr/local/nagios3/bin/nagios nagios 70520 nagios txt VREG 4,13 142236 2355201 /libexec/ld-elf.so.1 nagios 70520 nagios txt VREG 4,13 120004 2402315 /lib/libm.so.3 nagios 70520 nagios txt VREG 4,13 136020 353473 /usr/lib/libpthread.so.1 nagios 70520 nagios txt VREG 4,13 31919 407670 /usr/local/lib/libltdl.so.4 nagios 70520 nagios txt VREG 4,13 884716 2402324 /lib/libc.so.5 nagios 70520 nagios 0u VCHR 5,1 0t4777 78 /dev/ttyp1 nagios 70520 nagios 1u VCHR 5,1 0t4777 78 /dev/ttyp1 nagios 70520 nagios 2u VCHR 5,1 0t4777 78 /dev/ttyp1 nagios 70520 nagios 3u unix 0xc2c5ddec 0t0 ->0xc2722510 nagios 70520 nagios 4r 0xc290fae4 file struct, ty=0x4, op=0xc08833a0 nagios 70520 nagios 5u VREG 4,13 253 3061788 / (/dev/da0s1a) Thanks, Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oriolc at voztele.com Fri Dec 28 14:57:19 2007 From: oriolc at voztele.com (Oriol Capsada) Date: Fri, 28 Dec 2007 14:57:19 +0100 Subject: Processes hanging - Nagios 3rc1 on FreeBSD In-Reply-To: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> References: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> Message-ID: <477500BF.8050600@voztele.com> Hi Alex, Alex French wrote: > Hi, > > Running rc1 on FreeBSD 5.4-RELEASE. Compiled both from ports and from > original source (no difference in syptoms). > > - Nagios starts fine, no errors, I can see all the service checks as > "pending" through the CGI interface after startup. > > - The service checks get run (I can see the temp output files in the > check_results directory) but the status never gets updated, and the > child process hangs around forever hogging memory & cpu. > > I have tried modifying the reaper timer as per the FAQ, but it makes > no difference (and anyway I only have the default sample localhost > services configured so this shouldn't be the issue). > > Any suggestions on how to debug this? You can try to debug it with ktrace and kdump. With ktrace you'll get a kernel trace of the chosen PID and with kdump you'll be able to make the output readable. In nagios 2 there was a bug with FreeBSD and threads, where sometimes the main nagios process got stuck in calls similar to: 7484 nagios CALL kse_release(0xbfbf9c30) 7484 nagios RET kse_release -1 errno 22 Invalid argument Maybe the same problem is ocurring in version 3. Regards, Oriol. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Fri Dec 28 15:19:42 2007 From: chris at sigd.net (Chris Haulmark) Date: Fri, 28 Dec 2007 09:19:42 -0500 Subject: Processes hanging - Nagios 3rc1 on FreeBSD In-Reply-To: <91d50d290712280334q5be859a8hd3d3c56845222d57@mail.gmail.com> References: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> <91d50d290712280334q5be859a8hd3d3c56845222d57@mail.gmail.com> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC78941@ms05.mailstreet2003.net> Hello Alex: > > On 28/12/2007, Alex French wrote: > > Hi, > > > > Running rc1 on FreeBSD 5.4-RELEASE. Compiled both from ports and from > > original source (no difference in syptoms). > > By the way, in case it helps, here's what lsof says about the child > process: > [...snip...] I ran into this same problem with the beta versions. I created a file as the workaround. This bug has been reported but apparently is lost in the email archives with no official bug support. try this: add those lines to /etc/libmap.conf [/usr/local/bin/nagios] libpthread.so.2 libthr.so.2 libpthread.so libthr.so I just removed my libmap.conf and restarted nagios to test if the RC1 still uses 100% of the CPU. Apparently it did not. I have not tested the rest of the nagios slaves in my distribution setup yet. Chris > > Thanks, > > Alex > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Fri Dec 28 16:38:27 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 28 Dec 2007 16:38:27 +0100 (CET) Subject: Checks arent frequent enough Message-ID: <20071228153827.5BC9F58001A@desire.netways.de> Hi list Will probably seem like a stupid and/or easy question, but my checks arent frequent enough. I have a disk health check and it told me there was a bad disk on a server one day after the server crashed from this bad disk. I know this has to do with normal check interval and retry check interval. Take for example normal_check_interval 300...where is it defined that 300 is seconds and not minutes? And is retry_check_interval the amount of time it checks after a failed check? Should i prioritize my services and comb through each one and set the important ones to every minute and less important ones to like once or twice a day. Just trying to get a better grasp on the whole check frequency. thanks - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Fri Dec 28 16:38:52 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 28 Dec 2007 16:38:52 +0100 (CET) Subject: Checks arent frequent enough Message-ID: <20071228153852.D3FFC58001A@desire.netways.de> Hi list Will probably seem like a stupid and/or easy question, but my checks arent frequent enough. I have a disk health check and it told me there was a bad disk on a server one day after the server crashed from this bad disk. I know this has to do with normal check interval and retry check interval. Take for example normal_check_interval 300...where is it defined that 300 is seconds and not minutes? And is retry_check_interval the amount of time it checks after a failed check? Should i prioritize my services and comb through each one and set the important ones to every minute and less important ones to like once or twice a day. Just trying to get a better grasp on the whole check frequency. thanks - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Fri Dec 28 16:40:16 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 28 Dec 2007 16:40:16 +0100 (CET) Subject: Checks arent frequent enough Message-ID: <20071228154016.28B3458001A@desire.netways.de> Hi list Will probably seem like a stupid and/or easy question, but my checks arent frequent enough. I have a disk health check and it told me there was a bad disk on a server one day after the server crashed from this bad disk. I know this has to do with normal check interval and retry check interval. Take for example normal_check_interval 300...where is it defined that 300 is seconds and not minutes? And is retry_check_interval the amount of time it checks after a failed check? Should i prioritize my services and comb through each one and set the important ones to every minute and less important ones to like once or twice a day. Just trying to get a better grasp on the whole check frequency. thanks - zack kenton (zkenton) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Fri Dec 28 16:41:31 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 28 Dec 2007 16:41:31 +0100 (CET) Subject: Checks arent frequent enough In-Reply-To: <20071228153852.D3FFC58001A@desire.netways.de> References: <20071228153852.D3FFC58001A@desire.netways.de> Message-ID: <20071228154131.373A258001A@desire.netways.de> Sorry for tje duplicate posts...still havent solved that riddle, which is why i havent posted in a while - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7705 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Fri Dec 28 16:42:19 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 28 Dec 2007 16:42:19 +0100 (CET) Subject: Checks arent frequent enough In-Reply-To: <20071228153852.D3FFC58001A@desire.netways.de> References: <20071228153852.D3FFC58001A@desire.netways.de> Message-ID: <20071228154219.2892158001A@desire.netways.de> Sorry for tje duplicate posts...still havent solved that riddle, which is why i havent posted in a while - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7705 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ecrist at secure-computing.net Fri Dec 28 16:46:29 2007 From: ecrist at secure-computing.net (Eric F Crist) Date: Fri, 28 Dec 2007 09:46:29 -0600 Subject: Checks arent frequent enough In-Reply-To: <20071228153827.5BC9F58001A@desire.netways.de> References: <20071228153827.5BC9F58001A@desire.netways.de> Message-ID: <145D82C0-93F3-47F5-AC29-DC0794467143@secure-computing.net> On Dec 28, 2007, at 9:38 AM, zack kenton wrote: > Hi list > > Will probably seem like a stupid and/or easy question, but my checks > arent frequent enough. I have a disk health check and it told me > there was a bad disk on a server one day after the server crashed > from this bad disk. I know this has to do with normal check interval > and retry check interval. Take for example normal_check_interval > 300...where is it defined that 300 is seconds and not minutes? And > is retry_check_interval the amount of time it checks after a failed > check? Should i prioritize my services and comb through each one and > set the important ones to every minute and less important ones to > like once or twice a day. Just trying to get a better grasp on the > whole check frequency. thanks Zack, The interval is in minutes, not seconds. retry_check_interval is how often should nagios check, after the first failure. There is lots of information about this in the online documentation. ----- Eric F Crist Secure Computing Networks ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at evilal.com Fri Dec 28 17:00:23 2007 From: alex at evilal.com (Alex French) Date: Fri, 28 Dec 2007 16:00:23 +0000 Subject: Processes hanging - Nagios 3rc1 on FreeBSD In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC78941@ms05.mailstreet2003.net> References: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com> <91d50d290712280334q5be859a8hd3d3c56845222d57@mail.gmail.com> <6FC9F9894A9F8C49A722CF9F2132FC220FC78941@ms05.mailstreet2003.net> Message-ID: <91d50d290712280800h5d50ee4bw55c9877c96cc6219@mail.gmail.com> On 28/12/2007, Chris Haulmark wrote: > > I ran into this same problem with the beta versions. I created a file > as the workaround. This bug has been reported but apparently is lost > in the email archives with no official bug support. > > try this: > > add those lines to /etc/libmap.conf > [/usr/local/bin/nagios] > > libpthread.so.2 libthr.so.2 > > libpthread.so libthr.so Yes, this fixed the problem for me (although in FreeBSD 5.4 I needed to use .so.1 rather than .so.2). Thanks very much for your assistance, I probably wouldn't have figured that one out :-) Is there any mechanism to report this as a bug? Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcall at verio.net Fri Dec 28 17:08:42 2007 From: jcall at verio.net (Jonathan Call) Date: Fri, 28 Dec 2007 11:08:42 -0500 Subject: Processes hanging - Nagios 3rc1 on FreeBSD In-Reply-To: <91d50d290712280800h5d50ee4bw55c9877c96cc6219@mail.gmail.com> References: <91d50d290712280248g2c3b93ch4827432007f89acc@mail.gmail.com><91d50d290712280334q5be859a8hd3d3c56845222d57@mail.gmail.com><6FC9F9894A9F8C49A722CF9F2132FC220FC78941@ms05.mailstreet2003.net> <91d50d290712280800h5d50ee4bw55c9877c96cc6219@mail.gmail.com> Message-ID: <04F3233F47E2714CB7431AE913E57E77026987F3@IAD-WPRD-XCHB02.corp.verio.net> > -----Original Message----- > From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users- > bounces at lists.sourceforge.net] On Behalf Of Alex French > Sent: Friday, December 28, 2007 9:00 AM > To: Chris Haulmark; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Processes hanging - Nagios 3rc1 on FreeBSD > > On 28/12/2007, Chris Haulmark wrote: > > > > > I ran into this same problem with the beta versions. I created a file > > as the workaround. This bug has been reported but apparently is lost > > in the email archives with no official bug support. > > > > try this: > > > > add those lines to /etc/libmap.conf > > [/usr/local/bin/nagios] > > > > libpthread.so.2 libthr.so.2 > > > > libpthread.so libthr.so > > Yes, this fixed the problem for me (although in FreeBSD 5.4 I needed > to use .so.1 rather than .so.2). > > Thanks very much for your assistance, I probably wouldn't have figured > that one out :-) > > Is there any mechanism to report this as a bug? > > Alex > The FreeBSD port maintainer is already aware of the problems of Nagios2 vs. libpthread. The last time I talked with him (which was a long time ago) he was debating if he wanted to add an option to link the Nagios build directly to libthr or just put in a warning in the post install text. I think the pending FreeBSD 7.0 release sort of left this decision in limbo. Jonathan This email message is intended for the use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return e-mail and permanently delete this message and any attachments. Verio, Inc. makes no warranty that this email is error or virus free. Thank you. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zkenton at outcome.com Fri Dec 28 17:51:00 2007 From: zkenton at outcome.com (zack kenton) Date: Fri, 28 Dec 2007 17:51:00 +0100 (CET) Subject: Checks arent frequent enough In-Reply-To: <145D82C0-93F3-47F5-AC29-DC0794467143@secure-computing.net> References: <145D82C0-93F3-47F5-AC29-DC0794467143@secure-computing.net> Message-ID: <20071228165100.3CAAF58001A@desire.netways.de> Hi Eric What does the notification_interval control. mine is set to 3000 which seems extremely high - zack kenton (zkenton) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7709 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lavalamp at spiritual-machines.org Fri Dec 28 17:53:28 2007 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Fri, 28 Dec 2007 11:53:28 -0500 Subject: Checks arent frequent enough In-Reply-To: <20071228165100.3CAAF58001A@desire.netways.de> References: <145D82C0-93F3-47F5-AC29-DC0794467143@secure-computing.net> <20071228165100.3CAAF58001A@desire.netways.de> Message-ID: <1198860808.2812.88.camel@soundwave.pitbpa0.priv.collaborativefusion.com> On Fri, 2007-12-28 at 17:51 +0100, zack kenton wrote: > What does the notification_interval control. mine is set to 3000 which > seems extremely high Re-notification interval, if its enabled. Grab a Nagios book at Amazon.com -- hopefully some will be updated for 3.0 soon, but that kind of stuff hasn't changed. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aaron.segura at cabelas.com Fri Dec 28 17:55:34 2007 From: aaron.segura at cabelas.com (Aaron M. Segura) Date: Fri, 28 Dec 2007 09:55:34 -0700 Subject: Checks arent frequent enough In-Reply-To: <20071228165100.3CAAF58001A@desire.netways.de> References: <145D82C0-93F3-47F5-AC29-DC0794467143@secure-computing.net> <20071228165100.3CAAF58001A@desire.netways.de> Message-ID: <1198860934.30907.39.camel@sidhqmis4grdv91> notification_interval specifies how often you get alerted after the initial alert is sent. 3000 minutes is just over 2 days. There is plenty of info on all this stuff in the documentation. If there's one thing you can't fault the nagios folks on, it's lack of documentation. On Fri, 2007-12-28 at 17:51 +0100, zack kenton wrote: > Hi Eric > > What does the notification_interval control. mine is set to 3000 which seems extremely high > > > - zack kenton (zkenton) > > ----------------------- > This thread is located in the archive at this URL: > http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi1[showUid]=7709 > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ldcaltan at isystemsllc.com Fri Dec 28 21:55:28 2007 From: ldcaltan at isystemsllc.com (Lorand S. D'Caltan) Date: Fri, 28 Dec 2007 15:55:28 -0500 Subject: Script Output Issue - Check_NT calcs In-Reply-To: <1198860934.30907.39.camel@sidhqmis4grdv91> References: <1198860934.30907.39.camel@sidhqmis4grdv91> Message-ID: Ok, this is a much more specific version of an earlier question. echo $RESULT | awk '{printf $1/8/1000000}' output = 247.302 echo $RESULT | awk '{printf "%.f" '"$1/8/1000000"'}' output = 0 I suspect this is why Nagios is returning a 0 in the results when it runs this script: ############# #!/bin/bash RESULT=`./check_nt -H adr01 -p 1248 -v COUNTER -l "\Process(EvDRServer)\Virtual Bytes","%.0f" -w 1500 -c 2000` CALCULATED=`echo $RESULT | awk '{print $1/8/1000000}'` echo $CALCULATED exit 0 ############# What I don't know is why it's doing this. Is there some way I can force Nagios to simply take the plain output of the script instead of trying to apply a printf function to it? ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregor at hostgis.com Fri Dec 28 23:03:47 2007 From: gregor at hostgis.com (Gregor Mosheh) Date: Fri, 28 Dec 2007 15:03:47 -0700 Subject: Yahoo IM notification? Message-ID: <477572C3.80209@hostgis.com> Is there a notification method for Yahoo Messenger? The FAQ and Google seem to indicate that as of 21 months ago, there was only a broken Yahoo IM Perl module and no working method. This could be a fun project for me to pick up, if nobody else has. -- Gregor Mosheh / Greg Allensworth System Administrator, HostGIS cartographic development & hosting services http://www.HostGIS.com/ "Remember that no one cares if you can back up, only if you can restore." - AMANDA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at sigd.net Fri Dec 28 23:12:35 2007 From: chris at sigd.net (Chris Haulmark) Date: Fri, 28 Dec 2007 17:12:35 -0500 Subject: Yahoo IM notification? In-Reply-To: <477572C3.80209@hostgis.com> References: <477572C3.80209@hostgis.com> Message-ID: <6FC9F9894A9F8C49A722CF9F2132FC220FC78B79@ms05.mailstreet2003.net> Hello: > > Is there a notification method for Yahoo Messenger? Have you looked into finch that is also developed by pidgin (formly known as gaim) developers? Chris > > The FAQ and Google seem to indicate that as of 21 months ago, there was > only a broken Yahoo IM Perl module and no working method. This could be > a fun project for me to pick up, if nobody else has. > > -- > Gregor Mosheh / Greg Allensworth > System Administrator, HostGIS cartographic development & hosting > services > http://www.HostGIS.com/ > > "Remember that no one cares if you can back up, > only if you can restore." - AMANDA > > ----------------------------------------------------------------------- > -- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gregor at hostgis.com Fri Dec 28 23:30:15 2007 From: gregor at hostgis.com (Gregor Mosheh) Date: Fri, 28 Dec 2007 15:30:15 -0700 Subject: Yahoo IM notification? In-Reply-To: <6FC9F9894A9F8C49A722CF9F2132FC220FC78B79@ms05.mailstreet2003.net> References: <477572C3.80209@hostgis.com> <6FC9F9894A9F8C49A722CF9F2132FC220FC78B79@ms05.mailstreet2003.net> Message-ID: <477578F7.7070608@hostgis.com> Chris Haulmark wrote: > Have you looked into finch that is also developed by pidgin (formly > known as gaim) developers? I hadn't, but am there now. They mention it as being a ncurses-based console client. Do you know offhand whether it support purely command-line transmission of messages, e.g. "echo alert" | pidgin gregor at yahoo -- Gregor Mosheh / Greg Allensworth System Administrator, HostGIS cartographic development & hosting services http://www.HostGIS.com/ "Remember that no one cares if you can back up, only if you can restore." - AMANDA ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joseph.mailboxlist at gmail.com Sat Dec 29 00:59:50 2007 From: joseph.mailboxlist at gmail.com (joseph blase) Date: Fri, 28 Dec 2007 23:59:50 +0000 Subject: Unknown check_spamd.pl plugin status Message-ID: <183244a40712281559k5350d588g21dc5c2c7fcabb07@mail.gmail.com> Hi List, I have this simple plugin that check for spamd availability on my mailservers, but apparently the service status on webui is always unknown.Running it manually on CLI return success. nagios:/usr/lib/nagios/plugins# ./check_spamd.pl mailgw OK Don't have an nrpe installed if ever that would matter. Object commands and host had been also defined. Appreciate for any tips. below is the actual script: nagios:/usr/lib/nagios/plugins# more check_spamd.pl #!/usr/bin/perl -w #=for Information: #Program to check to make sure spamd is running and report back to nrpe for #nagios. #Created: 11/29/2006 #Version: 1.2 #Revised: 12/03/2006 #Revised by: Erinn Looney-Triggs #Author: Erinn Looney-Triggs #=cut # use strict; #Do it right use Switch; #Standard perl 5.8 module to use switch statement use POSIX qw( WIFEXITED ); #Fix system call's strange return values my $spamc = "/usr/bin/spamc"; #Location of spamc my $hostname=$ARGV[0]; # #Make sure spamc exists and if not give back a nagios warning if ( !-e $spamc ){ print "The $spamc program does not exist.\n"; exit 3; } #The command to be run my $cmd = "echo foo | $spamc -x -c -t 10 -d $hostname > /dev/null"; #Run the command WIFEXITED(system ($cmd)) or die "Couldn't run $cmd\n"; # # #Divide by 256 or bitshift right by 8 to get the original error code my $return_value = $? >> 8; # # #Parse the errors and give Nagios parsible error codes and messages switch ($return_value){ case 0 {print "OK\n"; exit 0;} case 64 {print "Command line usage error\n"; exit 1;} case 65 {print "Data format error\n"; exit 1;} case 66 {print "Cannot open input\n"; exit 1;} case 67 {print "Addressee unknown\n"; exit 1;} case 68 {print "Host name unknown\n"; exit 1;} case 69 {print "Spamd service unavailable\n"; exit 2;} case 70 {print "Internal software error\n"; exit 2} case 71 {print "System error (e.g., can't fork)\n"; exit 2;} case 72 {print "Critical OS file missing\n"; exit 2;} case 73 {print "Can't create (user) output file\n"; exit 1;} case 74 {print "Input/output error\n"; exit 1;} case 75 {print "Temp failure; user is invited to retry\n"; exit 1;} case 76 {print "Remote error in protocol\n"; exit 2;} case 77 {print "Permission denied\n"; exit 1;} case 78 {print "Configuration error\n"; exit 1;} else {print "An unknown error has occured in $spamc\n"; exit 3} } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Sat Dec 29 21:11:58 2007 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Sat, 29 Dec 2007 15:11:58 -0500 Subject: Unknown check_spamd.pl plugin status In-Reply-To: <183244a40712281559k5350d588g21dc5c2c7fcabb07@mail.gmail.com> References: <183244a40712281559k5350d588g21dc5c2c7fcabb07@mail.gmail.com> Message-ID: <4776AA0E.5060105@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 28/12/07 06:59 PM, joseph blase wrote: > Hi List, > > I have this simple plugin that check for spamd availability on my > mailservers, but apparently the service status on webui is always > unknown.Running it manually on CLI return success. > nagios:/usr/lib/nagios/plugins# ./check_spamd.pl mailgw > OK 1. Make sure running it as the nagios user works. This is often caused by permission errors. Also explicitly export the PATH environment variable for the commands you run without using the full path. 2. Make sure you don't use the ePN. You can do this by prepending "/usr/bin/perl " to the command definition. Since it will call the Perl binary instead of a Perl script the ePN will be skipped is active. Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHdqoO6dZ+Kt5BchYRAlUaAKDjd49KweP1fnUK+ety8C+ojciawwCgh+UA RBDVSQI6tG1fX3x+hLudfpM= =xls+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Sun Dec 30 01:57:13 2007 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Sun, 30 Dec 2007 01:57:13 +0100 Subject: Unknown check_spamd.pl plugin status In-Reply-To: <183244a40712281559k5350d588g21dc5c2c7fcabb07@mail.gmail.com> References: <183244a40712281559k5350d588g21dc5c2c7fcabb07@mail.gmail.com> Message-ID: <20071230005713.GN28313306@CIS.FU-Berlin.DE> * joseph blase [2007-12-28 23:59]: > I have this simple plugin that check for spamd availability on my > mailservers, but apparently the service status on webui is always > unknown. Fixed via IRC: spamd(1), --allowed-ips. Just to prevent anyone from racking his brains :-) Holger ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joseph.mailboxlist at gmail.com Mon Dec 31 01:11:18 2007 From: joseph.mailboxlist at gmail.com (joseph blase) Date: Mon, 31 Dec 2007 00:11:18 +0000 Subject: Unknown check_spamd.pl plugin status In-Reply-To: <20071230005713.GN28313306@CIS.FU-Berlin.DE> References: <183244a40712281559k5350d588g21dc5c2c7fcabb07@mail.gmail.com> <20071230005713.GN28313306@CIS.FU-Berlin.DE> Message-ID: <183244a40712301611q2aec4f28o3432fd9d55699b03@mail.gmail.com> On Dec 30, 2007 12:57 AM, Holger Weiss wrote: > * joseph blase [2007-12-28 23:59]: > > I have this simple plugin that check for spamd availability on my > > mailservers, but apparently the service status on webui is always > > unknown. > > Fixed via IRC: spamd(1), --allowed-ips. Just to prevent anyone from > racking his brains :-) > > Holger > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Holger, Finally you showed up, I just want to say thank..you helped a lot to keeping my sanity intact, I've just checked...a second ago :D. Cheers, --joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alex at evilal.com Mon Dec 31 17:11:23 2007 From: alex at evilal.com (Alex French) Date: Mon, 31 Dec 2007 16:11:23 +0000 Subject: Child process crashing on notifications if not in daemon mode Message-ID: <91d50d290712310811k6077e151vb27deab353f91ebf@mail.gmail.com> Hi, Another small issue with Nagios3 rc1 on FreeBSD 5.4; Every time it tries to send a notification, the child process core dumps and the notification does not get sent. This happens regardless of the command_line for the notification (i.e. even if it is just "echo hello"). This does *not* happen in daemon mode, so it is not an issue for most scenarios, but some people may not want to run in daemon mode for some reason (i.e. run from daemontools etc). Here is a log entry, from a manually forced notification (same thing happens with an internally generated notification) Dec 31 16:04:26 tabasco nagios: HOST NOTIFICATION: nagiosadmin;XXXXX.XXXXX.net;CUSTOM (DOWN);notify-host-by-email;FPING CRITICAL - xxx.xxx.xxx.xxx (loss=100% );alex;wib wob Dec 31 16:04:26 tabasco kernel: pid 37696 (nagios), uid 1004: exited on signal 11 Thanks, Alex ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null