From marc at ena.com Sun Nov 1 14:31:54 2009 From: marc at ena.com (Marc Powell) Date: Sun, 1 Nov 2009 07:31:54 -0600 Subject: Ignoring services when entire host is down In-Reply-To: <4AECB0D8.4000705@deltatechnicalservices.com> References: <4AECB0D8.4000705@deltatechnicalservices.com> Message-ID: <70A6C9F0-27D4-4BE5-8507-B1B5512D773F@ena.com> On Oct 31, 2009, at 4:49 PM, Les Fenison wrote: > I am looking for a way to avoid notifications for all services on a > host > when the entire host is offline. > Is there a way to do this? Nagios does this automagically. Just make sure you have a valid host check_command that properly determines the status of the host. -- Marc ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 06:06:49 2009 From: marc at ena.com (Marc Powell) Date: Sun, 1 Nov 2009 23:06:49 -0600 Subject: Ignoring services when entire host is down In-Reply-To: <4AEDD33C.5050508@deltatechnicalservices.com> References: <4AECB0D8.4000705@deltatechnicalservices.com> <70A6C9F0-27D4-4BE5-8507-B1B5512D773F@ena.com> <4AEDD33C.5050508@deltatechnicalservices.com> Message-ID: Please always respond on list. More below... On Nov 1, 2009, at 12:28 PM, Les Fenison wrote: > I have done that. I have a host check command that pings the host, > then about 20 services using check_nt. When the server is down, I > get the host down message and about 20 service down messages. You haven't configured notifications as an event handler, have you? If not, please post an example host definition, service definition (both from objects.cache) and log entries for each leading up to the notifications. -- Marc ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From haazeloud at gmail.com Mon Nov 2 11:48:48 2009 From: haazeloud at gmail.com (David B.) Date: Mon, 02 Nov 2009 11:48:48 +0100 Subject: check_openmanage & Dell R410 Message-ID: <4AEEB910.50504@gmail.com> Hi nagios list, Like a lot of people, i'm using this lovely nagios plugin to check openmanage (http://folk.uio.no/trondham/software/check_openmanage.html). This one seems not to work well on Dell R410. Did someone notice this too ? Plugin always return the RAID data, even if i want to check something else. check_openmanage (version 3.5.1) check_openmanage_batteries -> check_openmanage check_openmanage_cpu -> check_openmanage check_openmanage_fans -> check_openmanage check_openmanage_memory -> check_openmanage check_openmanage_power -> check_openmanage check_openmanage_storage -> check_openmanage check_openmanage_temperature -> check_openmanage Ex : # ./check_openmanage_batteries OK - System: 'PowerEdge R410', SN: 'XXXXXX', hardware working fine, 1 logical drives, 4 physical drives Please let me know if i can help. Have a nice day. David. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gerald.Ortner at gespag.at Mon Nov 2 12:45:07 2009 From: Gerald.Ortner at gespag.at (Ortner, Gerald) Date: Mon, 2 Nov 2009 12:45:07 +0100 Subject: check_openmanage & Dell R410 In-Reply-To: <4AEEB910.50504@gmail.com> References: <4AEEB910.50504@gmail.com> Message-ID: <13579FFE8B208F4DBA327EE25F804AAB05944552@swvbpheaglxmb02.health.local> looks like the symlink function isn't included anymore you can use --only in the command definition instead e.g. --only=batteries -----Urspr?ngliche Nachricht----- Von: David B. [mailto:haazeloud at gmail.com] Gesendet: Montag, 02. November 2009 11:49 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] check_openmanage & Dell R410 Hi nagios list, Like a lot of people, i'm using this lovely nagios plugin to check openmanage (http://folk.uio.no/trondham/software/check_openmanage.html). This one seems not to work well on Dell R410. Did someone notice this too ? Plugin always return the RAID data, even if i want to check something else. check_openmanage (version 3.5.1) check_openmanage_batteries -> check_openmanage check_openmanage_cpu -> check_openmanage check_openmanage_fans -> check_openmanage check_openmanage_memory -> check_openmanage check_openmanage_power -> check_openmanage check_openmanage_storage -> check_openmanage check_openmanage_temperature -> check_openmanage Ex : # ./check_openmanage_batteries OK - System: 'PowerEdge R410', SN: 'XXXXXX', hardware working fine, 1 logical drives, 4 physical drives Please let me know if i can help. Have a nice day. David. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 2 13:02:14 2009 From: ae at op5.se (Andreas Ericsson) Date: Mon, 02 Nov 2009 13:02:14 +0100 Subject: Restarts resetting soft critical states In-Reply-To: References: Message-ID: <4AEECA46.2060708@op5.se> On 10/29/2009 08:50 PM, Frost, Mark {PBG} wrote: > You think you know an application and every once in a while you get a surprise... > > Both the reporting server and the distributed node share the same attributes for retention and soft states: > > soft_state_dependencies=0 > passive_host_checks_are_soft=1 > retain_state_information=1 > use_retained_program_state=1 > use_retained_scheduling_info=1 > retained_host_attribute_mask=0 > retained_service_attribute_mask=0 > retained_process_host_attribute_mask=0 > retained_process_service_attribute_mask=0 > retained_contact_host_attribute_mask=0 > retained_contact_service_attribute_mask=0 > > While I would assume the restarts would disrupt Nagios a bit what with > having to do start-time tasks again, I would not have expected that it > would "start over" with the status of some checks. > > What am I missing here? > It seems you haven't grasped how bitmasks work. When you set the mask to 0, you essentially tell it to not let anything through. Set them to -1, or leave them at the default values and you'll get the kind of state retention you want. -- Andreas Ericsson andreas.ericsson at op5.se OP5 AB www.op5.se Tel: +46 8-230225 Fax: +46 8-230231 Considering the successes of the wars on alcohol, poverty, drugs and terror, I think we should give some serious thought to declaring war on peace. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pinoyskull at gmail.com Mon Nov 2 13:09:09 2009 From: pinoyskull at gmail.com (pinoyskull) Date: Mon, 02 Nov 2009 20:09:09 +0800 Subject: check_procs Message-ID: <4AEECBE5.6060803@gmail.com> Hi, Is it possible to exclude process(es) in check_procs plugin? ex. I have 3 processes aaa aaa_monitor tail -f aaa_monitor.log then I monitor it in check_procs plugin check_procs -c 2:2 -a aaa in this case it will give me critical alert since it will detect the 3 processes, and the important process to monitor is only aaa and aaa_monitor, i want to exclude aaa_monitor.log ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From haazeloud at gmail.com Mon Nov 2 14:13:23 2009 From: haazeloud at gmail.com (David B.) Date: Mon, 02 Nov 2009 14:13:23 +0100 Subject: check_openmanage & Dell R410 In-Reply-To: <13579FFE8B208F4DBA327EE25F804AAB05944552@swvbpheaglxmb02.health.local> References: <4AEEB910.50504@gmail.com> <13579FFE8B208F4DBA327EE25F804AAB05944552@swvbpheaglxmb02.health.local> Message-ID: <4AEEDAF3.5080106@gmail.com> Thank you for this Gerald. All is ok now. :) Ortner, Gerald a ?crit : > looks like the symlink function isn't included anymore > you can use --only in the command definition instead > e.g. --only=batteries > > -----Urspr?ngliche Nachricht----- > Von: David B. [mailto:haazeloud at gmail.com] > Gesendet: Montag, 02. November 2009 11:49 > An: nagios-users at lists.sourceforge.net > Betreff: [Nagios-users] check_openmanage & Dell R410 > > Hi nagios list, > > Like a lot of people, i'm using this lovely nagios plugin to check > openmanage (http://folk.uio.no/trondham/software/check_openmanage.html). > This one seems not to work well on Dell R410. > Did someone notice this too ? > > Plugin always return the RAID data, even if i want to check something else. > check_openmanage (version 3.5.1) > check_openmanage_batteries -> check_openmanage > check_openmanage_cpu -> check_openmanage > check_openmanage_fans -> check_openmanage > check_openmanage_memory -> check_openmanage > check_openmanage_power -> check_openmanage > check_openmanage_storage -> check_openmanage > check_openmanage_temperature -> check_openmanage > > Ex : > # ./check_openmanage_batteries > OK - System: 'PowerEdge R410', SN: 'XXXXXX', hardware working fine, 1 > logical drives, 4 physical drives > > Please let me know if i can help. > > Have a nice day. > David. > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Mon Nov 2 14:48:46 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 02 Nov 2009 14:48:46 +0100 Subject: check_openmanage & Dell R410 In-Reply-To: <13579FFE8B208F4DBA327EE25F804AAB05944552@swvbpheaglxmb02.health.local> (Gerald Ortner's message of "Mon, 2 Nov 2009 12:45:07 +0100") References: <4AEEB910.50504@gmail.com> <13579FFE8B208F4DBA327EE25F804AAB05944552@swvbpheaglxmb02.health.local> Message-ID: <15tfx8x3um9.fsf@tux.uio.no> "Ortner, Gerald" writes: > looks like the symlink function isn't included anymore you can use > --only in the command definition instead e.g. --only=batteries Yes, the symlink stuff was messy and unnecessary. I removed it completely and replaced the functionality with the '--only' option. To get the same behaviour in Nagios as before, replace the command in your Nagios config from (example): check_openmanage_cpu to this: check_openmanage --only cpu You can also mimic the symlink stuff with little shell wrappers: $ cat ./check_openmanage_cpu #!/bin/sh exec /usr/lib64/nagios/plugins/check_openmanage --only cpu $* Example run: $ ./check_openmanage_cpu -H login1 PROCESSORS OK - 2 processors checked Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Nov 2 16:10:00 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 2 Nov 2009 10:10:00 -0500 Subject: plugin information In-Reply-To: <6db4a4200911020700x2fa0f7b6y2d3a871ec01eba2@mail.gmail.com> References: <6db4a4200907200828k3abc07c9ndf3cac394db4ae2c@mail.gmail.com> <6db4a4200911020700x2fa0f7b6y2d3a871ec01eba2@mail.gmail.com> Message-ID: <6db4a4200911020710q7671caf0q8bd1eec4732eaf3f@mail.gmail.com> > I pose this question in the past but I apologize for the same question > again. However I saw some discussion on the list about check_mk. I am > using nrpe now to monitor remote host. Do you think move to check_mk is the > right action to take? Architecturally it sounds appealing, although I did > not delve into the code yet. Can someone please advise on this. Thanks > > > On Mon, Jul 20, 2009 at 11:45 AM, Marc Powell wrote: > >> >> On Jul 20, 2009, at 10:28 AM, shadih rahman wrote: >> >> > Is nagios official page going to support this in the future? >> > Thanks in avance >> > >> > http://mathias-kettner.de/check_mk >> >> Probably not, for a number of reasons, not least of which is that it >> isn't developed by Ethan, et al. >> >> First I've heard of it personally so it's use is likely to be limited. >> >> -- >> Marc >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/Challenge >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > -- > Cordially, > Shadhin Rahman > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Mon Nov 2 16:34:55 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Mon, 02 Nov 2009 16:34:55 +0100 Subject: MySQL-plugin : how to use it ?? In-Reply-To: <1257007413.3987.4.camel@SALOTTO> References: <1257001282.9140.5.camel@jonas.jocan.local> <24B6509E4191AF44B60A24EAA3B4AD4926929F@nuexchg.norwich.edu> <1257003423.9762.2.camel@jonas.jocan.local> <1257003876.3987.2.camel@SALOTTO> <1257004459.9762.6.camel@jonas.jocan.local> <1257007413.3987.4.camel@SALOTTO> Message-ID: <1257176095.8556.1.camel@jonas.jocan.local> export PERL5LIB=/usr/local/nagios/libexec/ solved the problem. Jonas. > > The file is already there : > > > > bash-3.2# locate utils.pm > > /usr/local/nagios/libexec/utils.pm > > /usr/src/nagios-plugins-1.4.14/contrib/packet_utils.pm > > /usr/src/nagios-plugins-1.4.14/plugins-scripts/utils.pm > > /usr/src/nagios-plugins-1.4.14/plugins-scripts/utils.pm.in > > > > I guess editing the path is the thing to do : > > nagios/plugins /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi > > /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 > > > > Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Mon Nov 2 17:29:57 2009 From: akpgeek at gmail.com (akp geek) Date: Mon, 2 Nov 2009 11:29:57 -0500 Subject: nrpe[6183]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 Message-ID: <2024a9fb0911020829p291a7e87i563e77e980c729e9@mail.gmail.com> Hi - I am getting the following error nrpe[6183]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 This is the message from /var/adm/messages on solaris 10 I am running the following command from the server where I have installed nagios ./check_nrpe -H 10.xxx.xxx.xx and I get the above message when I do $ netstat -a | grep nrpe localhost.nrpe *.* 0 0 49152 0 LISTEN *.nrpe *.* 0 0 49152 0 LISTEN Any clues where things are going wrong. Struggling on this issue since 2 days Regards -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From f.thakura at tcs.com Mon Nov 2 17:32:41 2009 From: f.thakura at tcs.com (F Thakura) Date: Mon, 2 Nov 2009 22:02:41 +0530 Subject: AUTO: F Thakura is out of the office Message-ID: I am out of the office until 11/16/2009. I will be out of the office starting 27/10/2009 and will not return until 16/11/2009. I will have limited access to mails. Please get in touch with my colleagues for urgent matters Mohandas K (mohandas.k at tcs.com) or Pushkar Patil (pushkar.patil at tcs.com) Note: This is an automated response to your message "Re: [Nagios-users] check_openmanage & Dell R410" sent on 11/2/09 19:18:46. This is the only notification you will receive while this person is away. =====-----=====-----===== 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 ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Mon Nov 2 17:47:32 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Mon, 02 Nov 2009 17:47:32 +0100 Subject: Nagios check_asterisk_peers needs rights to question the Asterisk-server Message-ID: <1257180452.9585.0.camel@jonas.jocan.local> When executing the following command : [root at nagios ~]# /usr/local/nagios/libexec/check_nrpe -H ip_address -c check_asterisk_peers I get the following output : NRPE: Unable to read output Somewhere Nagios does not have enough rights to question Asterisk about the sip peers. These are the rights of the check_nrpe on the Nagios Server : [root at nagios ~]# ls -l /usr/local/nagios/libexec/check_nrpe -rwxrwxr-x 1 nagios nagios 58017 Oct 31 11:40 /usr/local/nagios/libexec/check_nrpe These are the rights of the plugin that questions about the SIP-peers on the Asterisk-server : bash-3.2# ls -l /usr/local/nagios/libexec/nagisk.pl -rwxr-x--- 1 nagios nagios 4163 Nov 2 17:12 /usr/local/nagios/libexec/nagisk.pl The NRPE-plugin on the Asterisk-server is part of the Xinetd-proces. Asterisk himself is currently running as the root-user. Question : I'm confused about which proces/plugin I need to give more rights so that the Asterisk-server can be questioned about its sip-peers. Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Mon Nov 2 18:02:29 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Mon, 02 Nov 2009 18:02:29 +0100 Subject: nrpe[6183]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 In-Reply-To: <2024a9fb0911020829p291a7e87i563e77e980c729e9@mail.gmail.com> References: <2024a9fb0911020829p291a7e87i563e77e980c729e9@mail.gmail.com> Message-ID: <1257181349.9585.7.camel@jonas.jocan.local> I am running the nrpe-plugin as part of xinetd. I had the same issue till I made the following setting in /etc/xinetd.d/nrpe : service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 ip_of_nagios } The only_from-param needs an IP-address of the monitoring server to match the IP-address. Don't know if this helps your case... Jonas. On Mon, 2009-11-02 at 11:29 -0500, akp geek wrote: > > Hi - > > > > I am getting the following error > > > nrpe[6183]: [ID 813741 daemon.error] Error: Could not complete SSL > handshake. 1 > > > This is the message from /var/adm/messages on solaris 10 > > > I am running the following command from the server where I have > installed nagios > > > ./check_nrpe -H 10.xxx.xxx.xx and I get the above message > > > when I do $ netstat -a | grep nrpe > > > localhost.nrpe *.* 0 0 49152 0 > LISTEN > *.nrpe *.* 0 0 49152 0 > LISTEN > > > Any clues where things are going wrong. Struggling on this issue since > 2 days > > > Regards > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Nov 2 17:56:15 2009 From: benny at bennyvision.com (C. Bensend) Date: Mon, 2 Nov 2009 10:56:15 -0600 Subject: Monitoring Active Directory Message-ID: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> Hey folks, I just started a new job, and my immediate task is to build a new Nagios system for them. I love my new job... :) They would like to monitor Active Directory OUs, so that Nagios alerts if any of a certain group of OUs are moved/renamed/deleted. Apparently, this happens every so often due to the number of admins that need rights to the AD structure. So. I checked on the exchange site and did some googling, but have not found any community plugins that will allow me to specify an OU and alert if it's not present. Anyone have something in their toolbox for this? Thanks! Benny -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Mon Nov 2 18:28:25 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Mon, 2 Nov 2009 12:28:25 -0500 Subject: Nagios disfunctional , perhaps due to time change ? In-Reply-To: References: <20091026090945.GB26416@akka.mbv.rejas.net> <8357ce520910260318r214cd1b2vfecbb3a07d2b16c4@mail.gmail.com> <16AFBCCB-DDE1-470C-8D91-EA1C3CE3F5AC@opsera.com> <4AE59BDA.8070400@flacke.org> Message-ID: <6db4a4200911020928o5bff11d4jff2a2cd348d24b1e@mail.gmail.com> All Is there an official patch for this? can someone please advise on this? Thanks On Mon, Oct 26, 2009 at 1:36 PM, Ton Voon wrote: > > On 26 Oct 2009, at 12:53, Matthias Flacke wrote: > > > this change is causing the wrong reschedule: > > http://nagios.cvs.sourceforge.net/viewvc/nagios/nagios/base/utils.c?r1=1.236&r2=1.237&view=patch > > It has been applied on 15th of January 2009 and introduced some > statements > > t->tm_isdst=-1; > > into base/utils.c. > > Affected are all Nagios versions >= 3.1.0. > > I could reproduce it here: if the patch above is backed out, the > scheduling behaves correctly. > > > > I've managed to get a libtap test case with the failure now. As you > correctly say, removing the t->tm_isdst=-1 in utils.c fixes it. > > However, the fact it works is lucky. > > The check is that the scheduled time is between a date_range_start and a > date_range_end. This date_range_end is based on the timeperiod definitions. > However, an end point of 00:00 is calculated as 24*60*60. Obviously, this is > wrong on the day that the clocks go back as there are 25 hours in that day. > > So removing tm_isdst gets the calculation for the epoch time wrong, but > that luckily works because the time falls within the 24 hour period. > > I've applied the patch to remove that single tm_isdst. > > Tests are also added now, for this specific issue. > > Long term, I think it is correct that the isdst flag be set, but there are > other problems that are lurking in the code, such as the calculation for the > next appropriate time. > > Any comments? > > Ton > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From natxo.asenjo at gmail.com Mon Nov 2 20:03:04 2009 From: natxo.asenjo at gmail.com (Natxo Asenjo) Date: Mon, 2 Nov 2009 20:03:04 +0100 Subject: Monitoring Active Directory In-Reply-To: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> References: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> Message-ID: <90f6e8270911021103t6d8d08fsdaa25556cc4e859d@mail.gmail.com> On Mon, Nov 2, 2009 at 5:56 PM, C. Bensend wrote: > > Hey folks, > > I just started a new job, and my immediate task is to build a > new Nagios system for them. I love my new job... :) > > :-) > They would like to monitor Active Directory OUs, so that Nagios > alerts if any of a certain group of OUs are moved/renamed/deleted. > Apparently, this happens every so often due to the number of > admins that need rights to the AD structure. > > So. I checked on the exchange site and did some googling, but > have not found any community plugins that will allow me to specify > an OU and alert if it's not present. > I do not think there is something like that, but it is not difficult to make your own. Use dsquery to see if an ou, user or group exists, write your own plugin and execute it with nrpe. You can use your favorite scripting language for this. -- natxo asenjo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lwilliams at CellularSouth.com Mon Nov 2 20:23:31 2009 From: lwilliams at CellularSouth.com (Lane Williams) Date: Mon, 2 Nov 2009 13:23:31 -0600 Subject: Monitoring Active Directory References: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> <90f6e8270911021103t6d8d08fsdaa25556cc4e859d@mail.gmail.com> Message-ID: <33F193274179644E90F652862670119505DAE909@EXCHANGE1.cellularsouth.net> You can also use the ldapsearch command from your linux based nagios server to query your active directory server. Same as below, use your favorite scripting language to generate the check. Lane Williams Jr. | Senior System Administrator | Cellular South 1018 Highland Colony Parkway | Suite No. 200| Ridgeland, MS 39157 Desk (601-974-7713) | Wireless (769-798-7713) www.cellularsouth.com ________________________________ From: Natxo Asenjo [mailto:natxo.asenjo at gmail.com] Sent: Monday, November 02, 2009 1:03 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring Active Directory On Mon, Nov 2, 2009 at 5:56 PM, C. Bensend wrote: Hey folks, I just started a new job, and my immediate task is to build a new Nagios system for them. I love my new job... :) :-) They would like to monitor Active Directory OUs, so that Nagios alerts if any of a certain group of OUs are moved/renamed/deleted. Apparently, this happens every so often due to the number of admins that need rights to the AD structure. So. I checked on the exchange site and did some googling, but have not found any community plugins that will allow me to specify an OU and alert if it's not present. I do not think there is something like that, but it is not difficult to make your own. Use dsquery to see if an ou, user or group exists, write your own plugin and execute it with nrpe. You can use your favorite scripting language for this. -- natxo asenjo -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 2 20:42:54 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 02 Nov 2009 11:42:54 -0800 Subject: Monitoring Active Directory In-Reply-To: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> References: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> Message-ID: <4AEF363E.6050704@hp.com> The stock check_ldap may work, though you'd need to set up a separate check for each of the objects you're concerned about. C. Bensend wrote: > Hey folks, > > I just started a new job, and my immediate task is to build a > new Nagios system for them. I love my new job... :) > > They would like to monitor Active Directory OUs, so that Nagios > alerts if any of a certain group of OUs are moved/renamed/deleted. > Apparently, this happens every so often due to the number of > admins that need rights to the AD structure. > > So. I checked on the exchange site and did some googling, but > have not found any community plugins that will allow me to specify > an OU and alert if it's not present. > > Anyone have something in their toolbox for this? > > Thanks! > > Benny > > > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardodelgadoar at yahoo.com.ar Mon Nov 2 21:35:03 2009 From: ricardodelgadoar at yahoo.com.ar (Ricardo Delgado) Date: Mon, 2 Nov 2009 12:35:03 -0800 (PST) Subject: using snmp oid In-Reply-To: <4AEF363E.6050704@hp.com> References: <4AEF363E.6050704@hp.com> Message-ID: <948300.9755.qm@web33403.mail.mud.yahoo.com> Hi, i need use snmp to monitoring ups i define 1.- in SERVICES_NAGIOS2.CFG define service{ use generic-service host_name my-ups service_description Uptime is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 8 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_snmp!.1.3.6.1.2.1.1.3.0 # OID uptime } in COMMANDS.CFG define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C readonly -o $ARG1$ } in each ups ej UPS1.CFG? define service{ use generic-service ; Name of service template to use host_name UPS1 service_description UPTIME check_command check_snmp } Is correct? ----------------------------------- \|||||||/ ( @ @ ) ------oOOo-( )---oOOo-------- | Ricardo Delgado | | | |http://delgado.homelinux.net| | | | | | | | | ---------------0ooo--------- ooo0 ( ) ( ) ) / \ ( (_/ \_) Por Favor, no hagas Top Posting http://es.wikipedia.org/wiki/Top-posting Por Favor, sin formato html http://es.wikipedia.org/wiki/Netiquette Sin formatos propietarios. Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gareth.fletcher at onenet.co.nz Mon Nov 2 23:05:41 2009 From: gareth.fletcher at onenet.co.nz (Gareth Fletcher) Date: Tue, 3 Nov 2009 11:05:41 +1300 Subject: Nagios list of devices/IP addresses Message-ID: Hi everyone, I have a simple script that runs every hour and dumps the current hostnames into a MySQL table (to reconcile with our asset database). cat /usr/local/Nagios/var/objects.cache | grep -i host_name | cut -f 3 | sort | uniq > $HOSTLIST cat $HOSTLIST |while true do read LINE || break echo "INSERT INTO $SQLTBL VALUES ('$LINE');"\ |mysql -u$SQLUSER -p$SQLPASS $SQLDB done; exit 0 As is always the case in IT now we want to extend this and insert the IP addresses into this table (so we can build a DNS zone with our Nagios hosts). Does anyone know a way I can easily grab the IP address of a given hostname? Or else an easier way to get all the hostnames/IPs? Any help would be greatly appreciated! Cheers Gareth -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From perldork at webwizarddesign.com Mon Nov 2 23:39:16 2009 From: perldork at webwizarddesign.com (Max) Date: Mon, 2 Nov 2009 17:39:16 -0500 Subject: Nagios list of devices/IP addresses In-Reply-To: References: Message-ID: On Mon, Nov 2, 2009 at 5:05 PM, Gareth Fletcher wrote: > As is always the case in IT now we want to extend this and insert the IP > addresses into this table (so we can build a DNS zone with our Nagios > hosts). > > > > Does anyone know a way I can easily grab the IP address of a given hostname? > Or else an easier way to get all the hostnames/IPs? * You can parse objects.cache * You could switch to NDO or merlin * You could install and use Nagios2JSON as that exposes host and service configuration information. - Max ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gareth.fletcher at onenet.co.nz Mon Nov 2 23:41:29 2009 From: gareth.fletcher at onenet.co.nz (Gareth Fletcher) Date: Tue, 3 Nov 2009 11:41:29 +1300 Subject: Monitoring Active Directory In-Reply-To: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> References: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> Message-ID: What functional level are you at? In 2008 you can protect OUs in AD from being moved etc. It's annoyingly easy it is to accidently click/drag OUs in AD.... You could also use nsclient++ on your domain controller and run a power shell script to compare list of OU's Cheers Gareth -----Original Message----- From: C. Bensend [mailto:benny at bennyvision.com] Sent: Tuesday, 3 November 2009 5:56 a.m. To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring Active Directory Hey folks, I just started a new job, and my immediate task is to build a new Nagios system for them. I love my new job... :) They would like to monitor Active Directory OUs, so that Nagios alerts if any of a certain group of OUs are moved/renamed/deleted. Apparently, this happens every so often due to the number of admins that need rights to the AD structure. So. I checked on the exchange site and did some googling, but have not found any community plugins that will allow me to specify an OU and alert if it's not present. Anyone have something in their toolbox for this? Thanks! Benny -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From les at deltatechnicalservices.com Tue Nov 3 03:08:32 2009 From: les at deltatechnicalservices.com (Les Fenison) Date: Mon, 02 Nov 2009 18:08:32 -0800 Subject: Nagios stopped checking most of my services! Message-ID: <4AEF90A0.7090207@deltatechnicalservices.com> I had nagios working great. Checking 6 hosts and about 85 services. Then suddenly, all services on all hosts except one stopped checking. The next scheduled check is about 24 hours from the last check. I had been checking every 5 minutes. Restarting nagios didn't help. I am using a gui NagioSQL to edit my configuration files so I suspect it did something to me but I have no clue where to look except where I have already looked. What can cause nagios to just stop checking everything like that or to randomly switch to every 24 hours rather than the configured every 5 minutes? I am having to manually do force checks to get it to check. Here are some things I have checked... Hosts check_interval is 5, retry_interval is 1 Services check_interval is 10, retry_interval is 2 So where could Nagios be getting the idea that it is suppose to be every 24 hours? -- ------------------------------------------------------------------------ Les Fenison Delta Technical Services www.DeltaTechnicalServices.com les at DeltaTechnicalServices.com 503-766-0076 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AndyHowell at austin.rr.com Tue Nov 3 03:43:57 2009 From: AndyHowell at austin.rr.com (Andy Howell) Date: Mon, 02 Nov 2009 20:43:57 -0600 Subject: Nagios stopped checking most of my services! In-Reply-To: <4AEF90A0.7090207@deltatechnicalservices.com> References: <4AEF90A0.7090207@deltatechnicalservices.com> Message-ID: <4AEF98ED.9060201@austin.rr.com> Les Fenison wrote: > I had nagios working great. Checking 6 hosts and about 85 services. > Then suddenly, all services on all hosts except one stopped checking. > The next scheduled check is about 24 hours from the last check. I had > been checking every 5 minutes. > > Restarting nagios didn't help. I am using a gui NagioSQL to edit my > configuration files so I suspect it did something to me but I have no > clue where to look except where I have already looked. > > What can cause nagios to just stop checking everything like that or to > randomly switch to every 24 hours rather than the configured every 5 > minutes? > > I am having to manually do force checks to get it to check. > > Here are some things I have checked... > > Hosts check_interval is 5, retry_interval is 1 > Services check_interval is 10, retry_interval is 2 > > So where could Nagios be getting the idea that it is suppose to be every > 24 hours? > I had the same experience yesterday. Maybe daylight savings related? At about 11pm, all the services were scheduled for 11pm the following day. I figured it was something I did wrong. I noticed that "next_check" time in /var/log/nagios/retention.dat was wrong. I renamed the file and restarted nagios. It worked fine after that. I using version 3.2. Regards, Andy ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Tue Nov 3 03:31:01 2009 From: ssimmons at cymfony.com (Seth Simmons) Date: Mon, 2 Nov 2009 21:31:01 -0500 Subject: Nagios stopped checking most of my services! In-Reply-To: <4AEF90A0.7090207@deltatechnicalservices.com> References: <4AEF90A0.7090207@deltatechnicalservices.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB12E1C81@buf-ex01.cymfony.com> Funny you mention this; I just had the same problem. I'm looking at my hosts and of 85 of them, 82 was last checked about 11pm Sunday and the next scheduled check is 11pm Monday (about 90 min from now). I also have a number of services that are not scheduled to be checked again until 11pm. Most host and service checks are 5 min; some are 15/60 min. I'm not using NagioSQL. For example, here is one of my free space checks that should run every 15 min. Current Status: OK (for 31d 8h 26m 23s) Status Information:DISK OK - free space: / 1532 MB (80% inode=95%): Performance Data:/=379MB;1813;1914;0;2015 Current Attempt:1/3 (HARD state) Last Check Time:11-01-2009 22:52:06 Check Type:ACTIVE Check Latency / Duration:0.147 / 0.057 seconds Next Scheduled Check: 11-02-2009 23:00:00 From: Les Fenison [mailto:les at deltatechnicalservices.com] Sent: Monday, November 02, 2009 9:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios stopped checking most of my services! I had nagios working great. Checking 6 hosts and about 85 services. Then suddenly, all services on all hosts except one stopped checking. The next scheduled check is about 24 hours from the last check. I had been checking every 5 minutes. Restarting nagios didn't help. I am using a gui NagioSQL to edit my configuration files so I suspect it did something to me but I have no clue where to look except where I have already looked. What can cause nagios to just stop checking everything like that or to randomly switch to every 24 hours rather than the configured every 5 minutes? I am having to manually do force checks to get it to check. Here are some things I have checked... Hosts check_interval is 5, retry_interval is 1 Services check_interval is 10, retry_interval is 2 So where could Nagios be getting the idea that it is suppose to be every 24 hours? -- ________________________________ Les Fenison Delta Technical Services www.DeltaTechnicalServices.com les at DeltaTechnicalServices.com 503-766-0076 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From les at deltatechnicalservices.com Tue Nov 3 03:46:32 2009 From: les at deltatechnicalservices.com (Les Fenison) Date: Mon, 02 Nov 2009 18:46:32 -0800 Subject: Nagios stopped checking most of my services! In-Reply-To: <4AEF98ED.9060201@austin.rr.com> References: <4AEF90A0.7090207@deltatechnicalservices.com> <4AEF98ED.9060201@austin.rr.com> Message-ID: <4AEF9988.8040505@deltatechnicalservices.com> Well, so far 3 of us with the same problem on the same day. I have to believe it is daylight savings time related. My fix is to go click on each service one by one and reschedule. Then they start checking normally again. I wonder if there is anyway to force an automatic reschedule of all services and hosts for next year when this happens again? Andy Howell wrote: > Les Fenison wrote: >> I had nagios working great. Checking 6 hosts and about 85 services. >> Then suddenly, all services on all hosts except one stopped >> checking. The next scheduled check is about 24 hours from the last >> check. I had been checking every 5 minutes. >> >> Restarting nagios didn't help. I am using a gui NagioSQL to edit >> my configuration files so I suspect it did something to me but I have >> no clue where to look except where I have already looked. >> >> What can cause nagios to just stop checking everything like that or >> to randomly switch to every 24 hours rather than the configured every >> 5 minutes? >> >> I am having to manually do force checks to get it to check. >> >> Here are some things I have checked... >> >> Hosts check_interval is 5, retry_interval is 1 >> Services check_interval is 10, retry_interval is 2 >> >> So where could Nagios be getting the idea that it is suppose to be >> every 24 hours? > > I had the same experience yesterday. Maybe daylight savings related? > At about 11pm, all the services were scheduled for 11pm the following > day. I figured it was something I did wrong. I noticed that > "next_check" time in /var/log/nagios/retention.dat was wrong. I > renamed the file and restarted nagios. It worked fine after that. > > I using version 3.2. > > Regards, > > Andy > -- ------------------------------------------------------------------------ Les Fenison Delta Technical Services www.DeltaTechnicalServices.com les at DeltaTechnicalServices.com 503-766-0076 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Tue Nov 3 03:48:29 2009 From: benny at bennyvision.com (C. Bensend) Date: Mon, 2 Nov 2009 20:48:29 -0600 Subject: Monitoring Active Directory In-Reply-To: References: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> Message-ID: <5301d6378acc6dbe8066f330b935b71b.squirrel@webmail.stinkweasel.net> They're running 2003 and have begun the migration to 2008... I will mention the protections to them, that's good to know. Thanks! Benny > What functional level are you at? In 2008 you can protect OUs in AD from > being moved etc. It's annoyingly easy it is to accidently click/drag OUs > in AD.... > > You could also use nsclient++ on your domain controller and run a power > shell script to compare list of OU's > > Cheers > Gareth > > > -----Original Message----- > From: C. Bensend [mailto:benny at bennyvision.com] > Sent: Tuesday, 3 November 2009 5:56 a.m. > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring Active Directory > > > Hey folks, > > I just started a new job, and my immediate task is to build a new > Nagios system for them. I love my new job... :) > > They would like to monitor Active Directory OUs, so that Nagios alerts > if any of a certain group of OUs are moved/renamed/deleted. > Apparently, this happens every so often due to the number of admins that > need rights to the AD structure. > > So. I checked on the exchange site and did some googling, but have not > found any community plugins that will allow me to specify an OU and > alert if it's not present. > > Anyone have something in their toolbox for this? > > Thanks! > > Benny > > > -- > "It's not all about getting up and putting four slices of kickass > in a two slice toaster." -- ark86, on Fazed.net > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casey at shobe.info Tue Nov 3 04:03:40 2009 From: casey at shobe.info (Casey Allen Shobe) Date: Mon, 2 Nov 2009 22:03:40 -0500 Subject: Nagios stopped checking most of my services! In-Reply-To: <4AEF9988.8040505@deltatechnicalservices.com> References: <4AEF90A0.7090207@deltatechnicalservices.com> <4AEF98ED.9060201@austin.rr.com> <4AEF9988.8040505@deltatechnicalservices.com> Message-ID: <2F485B65-CA39-4D99-B9E6-715CA36B28DD@shobe.info> On Nov 2, 2009, at 9:46 PM, Les Fenison wrote: > Well, so far 3 of us with the same problem on the same day. I have > to believe it is daylight savings time related. I'm gonna go with that too. I had a sort of hunch that might be it earlier. Gonna change the servers to UTC time zone, which they should have been in in the first place (I like servers to always be in UTC). I thought it had been a couple days since it had been checking, but I could be wrong about that. Date might also have been off on the servers - I just set up NTP clients on them today. > My fix is to go click on each service one by one and reschedule. > Then they start checking normally again. I don't have authentication set up so didn't have that option. :P > I wonder if there is anyway to force an automatic reschedule of all > services and hosts for next year when this happens again? Better would be for the software to be fixed (and upgraded). Or you could change the server timezone to UTC. You /could/ do what I did, and force service checking on all your hosts by echoing a line for each host into nagios.cmd. See here: http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=130 I'm not sure if that includes the effect of this one with it: http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=128 I just did it for one host, saw the orphan messages, then did rm of retention.dat to fix all the rest. Cheers, -- Casey Allen Shobe casey at shobe.info ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 3 04:11:54 2009 From: JHorowitz at looksmart.net (Jonah Horowitz) Date: Mon, 2 Nov 2009 19:11:54 -0800 Subject: BoF For Monitoring at LISA Message-ID: <3123F9D3D56CDF499431864372968D2F14CE2D76@SFEX2K3-EVS1.looksmart_sf.ad.looksmart.com> I've scheduled a BoF for Wednesday Night at LISA. If you're around, stop by. Jonah -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From casey at shobe.info Tue Nov 3 03:44:47 2009 From: casey at shobe.info (Casey Allen Shobe) Date: Mon, 2 Nov 2009 21:44:47 -0500 Subject: Nagios stopped checking most of my services! In-Reply-To: <4AEF90A0.7090207@deltatechnicalservices.com> References: <4AEF90A0.7090207@deltatechnicalservices.com> Message-ID: <52E56F3B-3411-4EC3-B81B-77BFCE6A09EF@shobe.info> Was your nagios interface still showing whatever the service status was from the last time it ran the checks as though they were current? I just joined this list over the same problem with 3.2.0. Nagios was showing all green (got 95 services across 12 hosts), then when I went to demo it to my boss who just got back from vacation, I killed a box, and was surprised to see Nagios continue showing green. When I looked in detail I saw that the checks had actually not been running in days... I restarted Nagios a number of times to no avail. I finally echoed a force check into the nagios.cmd file for a host, and got a lot of messages about how the services seemed orphaned. I do have the check for orphans config option enabled (99% of my nagios.cfg is default). I was finally able to get Nagios fixed by stopping it, removing retention.dat, and starting it again. But I don't really want to disable retention unless I have to... I was thinking this might have something to do with my failover setup (though I don't see why). I have two boxes in a Heartbeat+DRBD configuration, with Nagios (and all it's configuration, /var files, etc.) on the DRBD partition. It /seems/ to failover just fine. After seeing this, I tested failing over back and forth about a dozen times and Nagios did not seem to get hung up in the same way, so I don't understand what caused this. Maybe we have the same problem? On Nov 2, 2009, at 9:08 PM, Les Fenison wrote: > I had nagios working great. Checking 6 hosts and about 85 > services. Then suddenly, all services on all hosts except one > stopped checking. The next scheduled check is about 24 hours from > the last check. I had been checking every 5 minutes. > > Restarting nagios didn't help. I am using a gui NagioSQL to edit > my configuration files so I suspect it did something to me but I > have no clue where to look except where I have already looked. > > What can cause nagios to just stop checking everything like that or > to randomly switch to every 24 hours rather than the configured > every 5 minutes? > > I am having to manually do force checks to get it to check. > > Here are some things I have checked... > > Hosts check_interval is 5, retry_interval is 1 > Services check_interval is 10, retry_interval is 2 > > So where could Nagios be getting the idea that it is suppose to be > every 24 hours? -- Casey Allen Shobe casey at shobe.info ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From breandan at dezendorf.com Tue Nov 3 04:22:16 2009 From: breandan at dezendorf.com (Breandan Dezendorf) Date: Mon, 2 Nov 2009 22:22:16 -0500 Subject: Nagios stopped checking most of my services! In-Reply-To: <2F485B65-CA39-4D99-B9E6-715CA36B28DD@shobe.info> References: <4AEF90A0.7090207@deltatechnicalservices.com> <4AEF98ED.9060201@austin.rr.com> <4AEF9988.8040505@deltatechnicalservices.com> <2F485B65-CA39-4D99-B9E6-715CA36B28DD@shobe.info> Message-ID: <8C3C30C1-24BC-4E23-A402-DADC7E03B6AC@dezendorf.com> On Nov 2, 2009, at 10:03 PM, Casey Allen Shobe wrote: > > You /could/ do what I did, and force service checking on all your > hosts by echoing a line for each host into nagios.cmd. See here: > http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=130 The other important thing to setup now, while you are thinking about it, is a sanity check for the Nagios service check frequency. This is much more important in distributed environments, but can be helpful at times like these. We're pulling a little over 600 checks per minute total from two distributed nodes, and I have a simple (hackish) perl script that scans through the log file looking for 'EXTERNAL COMMAND' in the last 1, 5 and 15 minutes. It outputs perfdata, so pnp4nagios picks it up, and I have the warning and critical thresholds set ptetty low. That script is setup as a check command against the front end nodes. I even have pretty graphs now that tell me how many checks I'm doing on average, and how often someone bumps the queue repeatedly force- rechecking a host. -- Breandan Dezendorf breandan at dezendorf.com bwdezend at gmail.com -------------- next part -------------- A non-text attachment was scrubbed... Name: check_nagios_external_checks Type: application/octet-stream Size: 1868 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmartin at gmartin.org Tue Nov 3 05:03:17 2009 From: gmartin at gmartin.org (gmartin) Date: Mon, 2 Nov 2009 23:03:17 -0500 Subject: Monitoring Active Directory In-Reply-To: <5301d6378acc6dbe8066f330b935b71b.squirrel@webmail.stinkweasel.net> References: <48a0a4849280cb49ec8ca345cf342402.squirrel@webmail.stinkweasel.net> <5301d6378acc6dbe8066f330b935b71b.squirrel@webmail.stinkweasel.net> Message-ID: Actually, At 2003 level there is a "prevent accidental deletion" check box on most objects. \\Greg On Mon, Nov 2, 2009 at 9:48 PM, C. Bensend wrote: > > They're running 2003 and have begun the migration to 2008... I > will mention the protections to them, that's good to know. Thanks! > > Benny > > > > What functional level are you at? In 2008 you can protect OUs in AD from > > being moved etc. It's annoyingly easy it is to accidently click/drag OUs > > in AD.... > > > > You could also use nsclient++ on your domain controller and run a power > > shell script to compare list of OU's > > > > Cheers > > Gareth > > > > > > -----Original Message----- > > From: C. Bensend [mailto:benny at bennyvision.com] > > Sent: Tuesday, 3 November 2009 5:56 a.m. > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Monitoring Active Directory > > > > > > Hey folks, > > > > I just started a new job, and my immediate task is to build a new > > Nagios system for them. I love my new job... :) > > > > They would like to monitor Active Directory OUs, so that Nagios alerts > > if any of a certain group of OUs are moved/renamed/deleted. > > Apparently, this happens every so often due to the number of admins that > > need rights to the AD structure. > > > > So. I checked on the exchange site and did some googling, but have > not > > found any community plugins that will allow me to specify an OU and > > alert if it's not present. > > > > Anyone have something in their toolbox for this? > > > > Thanks! > > > > Benny > > > > > > -- > > "It's not all about getting up and putting four slices of kickass > > in a two slice toaster." -- ark86, on Fazed.net > > > > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > -- > "It's not all about getting up and putting four slices of kickass > in a two slice toaster." -- ark86, on Fazed.net > > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- \\Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Nov 3 05:03:34 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Mon, 2 Nov 2009 23:03:34 -0500 Subject: Nagios stopped checking most of my services! In-Reply-To: <4AEF9988.8040505@deltatechnicalservices.com> References: <4AEF90A0.7090207@deltatechnicalservices.com> <4AEF98ED.9060201@austin.rr.com> <4AEF9988.8040505@deltatechnicalservices.com> Message-ID: I guess I'm another "me too". We use Nagios 3.0.6, but I had just setup an upgrade to 3.2.0. From what I could see, my distributed nodes had been sending data just fine for 45 minutes or so. When I double-checked the performance graphs just before retiring for the night I saw no data coming in. When I traced this back to the distributed nodes, their scheduling queue showed no checks scheduled until well into the next day. We have some checks that run as frequently as every minute. I assumed this was a weird bug with 3.2.0, panicked and went back to 3.0.6 a little after midnight and things have been fine ever since. I was going to spend more time observing 3.2.0 in a more contained environment to see if this was normal behavior. My timing (checks stopping around 11pm Sunday night) sounds the same so perhaps it's not just my imagination. One thing that bothered me a bit was that I didn't see messages in the central servers indicating that it was marking service checks as stale and checking automatically. I saw no stale messages in the log and it should have been well past the freshness thresholds of most checks. As I say, it was late and I decided to roll back before I investigated. I've got thousands of service checks so forcing rescheduling wouldn't work for me. Mark From: Les Fenison [mailto:les at deltatechnicalservices.com] Sent: Monday, November 02, 2009 9:47 PM To: Andy Howell Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios stopped checking most of my services! Well, so far 3 of us with the same problem on the same day. I have to believe it is daylight savings time related. My fix is to go click on each service one by one and reschedule. Then they start checking normally again. I wonder if there is anyway to force an automatic reschedule of all services and hosts for next year when this happens again? Andy Howell wrote: Les Fenison wrote: I had nagios working great. Checking 6 hosts and about 85 services. Then suddenly, all services on all hosts except one stopped checking. The next scheduled check is about 24 hours from the last check. I had been checking every 5 minutes. Restarting nagios didn't help. I am using a gui NagioSQL to edit my configuration files so I suspect it did something to me but I have no clue where to look except where I have already looked. What can cause nagios to just stop checking everything like that or to randomly switch to every 24 hours rather than the configured every 5 minutes? I am having to manually do force checks to get it to check. Here are some things I have checked... Hosts check_interval is 5, retry_interval is 1 Services check_interval is 10, retry_interval is 2 So where could Nagios be getting the idea that it is suppose to be every 24 hours? I had the same experience yesterday. Maybe daylight savings related? At about 11pm, all the services were scheduled for 11pm the following day. I figured it was something I did wrong. I noticed that "next_check" time in /var/log/nagios/retention.dat was wrong. I renamed the file and restarted nagios. It worked fine after that. I using version 3.2. Regards, Andy -- ________________________________ Les Fenison Delta Technical Services www.DeltaTechnicalServices.com les at DeltaTechnicalServices.com 503-766-0076 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Nov 3 08:15:30 2009 From: mmelin at gmail.com (Martin Melin) Date: Tue, 3 Nov 2009 08:15:30 +0100 Subject: Nagios stopped checking most of my services! In-Reply-To: References: <4AEF90A0.7090207@deltatechnicalservices.com> <4AEF98ED.9060201@austin.rr.com> <4AEF9988.8040505@deltatechnicalservices.com> Message-ID: This is a confirmed bug in 3.2.0. We Europeans noticed this last week when we switched from DST. Start of thread on the problem: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg29695.html There are a bunch of suggestions there on how to get your checks scheduled sanely again without losing acknowledgements etc. Regards, Martin Melin On Tue, Nov 3, 2009 at 5:03 AM, Frost, Mark {PBG} wrote: > I guess I'm another "me too". We use Nagios 3.0.6, but I had just setup > an upgrade to 3.2.0. From what I could see, my distributed nodes had been > sending data just fine for 45 minutes or so. When I double-checked the > performance graphs just before retiring for the night I saw no data coming > in. When I traced this back to the distributed nodes, their scheduling > queue showed no checks scheduled until well into the next day. We have some > checks that run as frequently as every minute. > > > > I assumed this was a weird bug with 3.2.0, panicked and went back to 3.0.6 > a little after midnight and things have been fine ever since. I was going > to spend more time observing 3.2.0 in a more contained environment to see if > this was normal behavior. My timing (checks stopping around 11pm Sunday > night) sounds the same so perhaps it's not just my imagination. > > > > One thing that bothered me a bit was that I didn't see messages in the > central servers indicating that it was marking service checks as stale and > checking automatically. I saw no stale messages in the log and it should > have been well past the freshness thresholds of most checks. As I say, it > was late and I decided to roll back before I investigated. > > > > I've got thousands of service checks so forcing rescheduling wouldn't work > for me. > > > > Mark > > > > *From:* Les Fenison [mailto:les at deltatechnicalservices.com] > *Sent:* Monday, November 02, 2009 9:47 PM > *To:* Andy Howell > *Cc:* nagios-users at lists.sourceforge.net > *Subject:* Re: [Nagios-users] Nagios stopped checking most of my services! > > > > Well, so far 3 of us with the same problem on the same day. I have to > believe it is daylight savings time related. > > My fix is to go click on each service one by one and reschedule. Then they > start checking normally again. > > I wonder if there is anyway to force an automatic reschedule of all > services and hosts for next year when this happens again? > > Andy Howell wrote: > > Les Fenison wrote: > > I had nagios working great. Checking 6 hosts and about 85 services. > Then suddenly, all services on all hosts except one stopped checking. The > next scheduled check is about 24 hours from the last check. I had been > checking every 5 minutes. > > Restarting nagios didn't help. I am using a gui NagioSQL to edit my > configuration files so I suspect it did something to me but I have no clue > where to look except where I have already looked. > > What can cause nagios to just stop checking everything like that or to > randomly switch to every 24 hours rather than the configured every 5 > minutes? > > I am having to manually do force checks to get it to check. > > Here are some things I have checked... > > Hosts check_interval is 5, retry_interval is 1 > Services check_interval is 10, retry_interval is 2 > > So where could Nagios be getting the idea that it is suppose to be every 24 > hours? > > > I had the same experience yesterday. Maybe daylight savings related? At > about 11pm, all the services were scheduled for 11pm the following day. I > figured it was something I did wrong. I noticed that "next_check" time in > /var/log/nagios/retention.dat was wrong. I renamed the file and restarted > nagios. It worked fine after that. > > I using version 3.2. > > Regards, > > Andy > > > > -- > ------------------------------ > > Les Fenison > Delta Technical Services > www.DeltaTechnicalServices.com > les at DeltaTechnicalServices.com > 503-766-0076 > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dj_lien at hotmail.com Tue Nov 3 12:54:10 2009 From: dj_lien at hotmail.com (Dj Lien) Date: Tue, 3 Nov 2009 11:54:10 +0000 Subject: Delay sending SMS alerts.... Message-ID: I have set my office hours & this part is working correctly. Email alerts are 24/7 & SmS alerts are from 7am to 9am & then from 7pm till 12pm. Can Nagios be configured so that if a problem happens at 2am it will send an SmS alert at 7. The problem I had last night is one of my drives run out of space quite quickly. I got the email alerts as expected. But there was no SmS alert, because SmS alerting wont start till 7am. I have thought about changing the alerting frequency to every hour, but this will become counter productive because due to the number emails that could possibly be generated. I'm wondering if I missed this part in the manual lol :) PeaceLien _________________________________________________________________ New Windows 7: Find the right PC for you. Learn more. http://www.microsoft.com/uk/windows/buy/ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 opsera.com Tue Nov 3 14:09:25 2009 From: ton.voon at opsera.com (Ton Voon) Date: Tue, 3 Nov 2009 13:09:25 +0000 Subject: Time Conversion Bug (Was: no email notifications sent) In-Reply-To: <1228334472.5351.0@antares> References: <1228334472.5351.0@antares> Message-ID: <46D85130-C9D5-4871-B622-D2F11FDB5311@opsera.com> Hi Albrecht, On 3 Dec 2008, at 20:01, Albrecht Dre? wrote: > Am 01.12.08 21:59 schrieb(en) Albrecht Dre?: >> I have a self-compiled nagios 3.0.5 running on a 64-bit Xeon box >> with Ubuntu 8.04 LTS. Everything went perfectly (including >> notifications) until I upgraded from 3.0.1 (iirc) to 3.0.5 during a >> bigger service downtime (inter alia shifting the box into an other >> network etc). > > After adding tons of debug messages, I was finally able to track > down the problem. The problem is that I added a german holiday in > the form > > october 3 00:00-00:00 > > In function (all inbase/utils.c) check_time_against_period(), the > start time was calculated by calculate_time_from_day_of_month() as > 1222988400 (Fri Oct 3 01:00:00 2008), but the end time as > 1222984800 (Fri Oct 3 00:00:00 2008), which is /before/ the start, > and therefore the time span was expanded to a whole year, i.e. the > end now was Oct 3, 2009... > > Looking deeper into function calculate_time_from_day_of_month(), > this is apparently caused by a wrong usage of the call to mktime(), > as the field tm_isdst is /not/ initialised properly. The observed 1 > hour offset seems to come from an earlier call to this function > which returned an active dst flag. > > According to the IEEE Std 1003.1 [1], the field tm_isdst /is/ used > in the time conversion, and should be set to -1 if the dst status is > unknown (you may want to write a small test app, setting this flag > to -1, 0 or 1 to observe the effect). As mktime() is used > frequently in the code without properly initialising this field, > this seems to be a systematic bug which can trigger interesting > effects in nagios. > > Any opinions? As you are probably aware, this change has caused the DST bug that has affected a lot of users of Nagios 3.2.0. I have only reverted one instance of the tm_isdst field, which was specifically causing the rescheduling problem. There is a testcase in HEAD ( download from http://nagios.sourceforge.net/download/cvs/nagios-HEAD.tar.gz && ./configure --enable-libtap && make all && make test) which tests the DST bug (see t-tap/check_timeperiods.c). However, I think some of the other isdst settings maybe causing other bugs, though I'm not sure. It would be helpful if you could add some test for the problem you have fixed, to prove that the functionality you expect continues to work. I'd be happy to apply to CVS if you have an updated check_timeperiods.c file. Ton ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Tue Nov 3 17:14:04 2009 From: akpgeek at gmail.com (akp geek) Date: Tue, 3 Nov 2009 11:14:04 -0500 Subject: nrpe[6183]: [ID 813741 daemon.error] Error: Could not complete SSL handshake. 1 In-Reply-To: <1257181349.9585.7.camel@jonas.jocan.local> References: <2024a9fb0911020829p291a7e87i563e77e980c729e9@mail.gmail.com> <1257181349.9585.7.camel@jonas.jocan.local> Message-ID: <2024a9fb0911030814u33b57b44ge32d732cef76c9ba@mail.gmail.com> I tried the above and it didn't work.. any other suggestions.. Appreciate your help Regards On Mon, Nov 2, 2009 at 12:02 PM, jonas kellens wrote: > I am running the nrpe-plugin as part of xinetd. I had the same issue till > I made the following setting in /etc/xinetd.d/nrpe : > > service nrpe > { > flags = REUSE > socket_type = stream > port = 5666 > wait = no > user = nagios > group = nagios > server = /usr/local/nagios/bin/nrpe > server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd > log_on_failure += USERID > disable = no > only_from = 127.0.0.1 ip_of_nagios > } > > The only_from-param needs an IP-address of the monitoring server to match > the IP-address. > > Don't know if this helps your case... > > Jonas. > > > > On Mon, 2009-11-02 at 11:29 -0500, akp geek wrote: > > > Hi - > > > > I am getting the following error > > > > nrpe[6183]: [ID 813741 daemon.error] Error: Could not complete SSL > handshake. 1 > > > > This is the message from /var/adm/messages on solaris 10 > > > > I am running the following command from the server where I have installed > nagios > > > > ./check_nrpe -H 10.xxx.xxx.xx and I get the above message > > > > when I do $ netstat -a | grep nrpe > > > > localhost.nrpe *.* 0 0 49152 0 > LISTEN > > *.nrpe *.* 0 0 49152 0 LISTEN > > > > > Any clues where things are going wrong. Struggling on this issue since 2 > days > > > > Regards > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Nov 3 18:06:24 2009 From: td3201 at gmail.com (Terry) Date: Tue, 3 Nov 2009 11:06:24 -0600 Subject: granular notifications Message-ID: <8ee061010911030906j7e403a27vf69fe6dd32882663@mail.gmail.com> Sorry for the bad subject. Not sure how to classify this properly. I have a single contact definition for each contact: define contact{ contact_name jo at hotmail.com alias John Doe service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notification-wrapper-service host_notification_commands notification-wrapper-host email jo at hotmail.com pager 1231231234 at vtext.com can_submit_commands 1 } This works pretty well. The command sorts out whether to page or to email, however, in the event I want to disable pages only for this contact, I can't figure out how to do it without separate contacts like this: define contact{ contact_name jdoe-email alias jdoe-email service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,u,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email jo at hotmail.com } define contact{ contact_name jdoe-epager alias jdoe-epager service_notification_period none host_notification_period none service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-epager host_notification_commands host-notify-by-epager email 1231231234 at vtext.com } With the above, I can simply set the notification period to none and thus pages are disabled. Can anyone think of another way to do this, other than timeperiods? Keep in mind, that I still may want critical emails, just not pages. Thanks! ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Nov 3 19:02:48 2009 From: mmelin at gmail.com (Martin Melin) Date: Tue, 3 Nov 2009 19:02:48 +0100 Subject: granular notifications In-Reply-To: <8ee061010911030906j7e403a27vf69fe6dd32882663@mail.gmail.com> References: <8ee061010911030906j7e403a27vf69fe6dd32882663@mail.gmail.com> Message-ID: If your notification command sorts out whether to page or email, why not have it handle empty pager addresses? Just remove the pager address from the contacts that shouldn't get pages, and you should be fine. However I usually like and recommend separate contacts, one per contact method, as this allows you to be more flexible in setting up escalation chains etc. as well as removing ambiguity as to how a contact was notified. Regards, Martin Melin On Tue, Nov 3, 2009 at 6:06 PM, Terry wrote: > Sorry for the bad subject. Not sure how to classify this properly. > > I have a single contact definition for each contact: > > define contact{ > contact_name jo at hotmail.com > alias John Doe > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notification-wrapper-service > host_notification_commands notification-wrapper-host > email jo at hotmail.com > pager 1231231234 at vtext.com > can_submit_commands 1 > } > > > This works pretty well. The command sorts out whether to page or to > email, however, in the event I want to disable pages only for this > contact, I can't figure out how to do it without separate contacts > like this: > > define contact{ > contact_name jdoe-email > alias jdoe-email > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,u,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email jo at hotmail.com > } > > define contact{ > contact_name jdoe-epager > alias jdoe-epager > service_notification_period none > host_notification_period none > service_notification_options c,r > host_notification_options d,r > service_notification_commands notify-by-epager > host_notification_commands host-notify-by-epager > email 1231231234 at vtext.com > } > > With the above, I can simply set the notification period to none and > thus pages are disabled. Can anyone think of another way to do this, > other than timeperiods? Keep in mind, that I still may want critical > emails, just not pages. > > Thanks! > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Nov 3 19:04:54 2009 From: mmelin at gmail.com (Martin Melin) Date: Tue, 3 Nov 2009 19:04:54 +0100 Subject: Delay sending SMS alerts.... In-Reply-To: References: Message-ID: Using two contacts, one for email and one for SMS, will let you get SMS notifications if a problem that occurred during the night still isn't resolved by 7 am (should be a simple escalation definition + timeperiod per contact) Regards, Martin Melin On Tue, Nov 3, 2009 at 12:54 PM, Dj Lien wrote: > I have set my office hours & this part is working correctly. Email alerts > are 24/7 & SmS alerts are from 7am to 9am & then from 7pm till 12pm. Can > Nagios be configured so that if a problem happens at 2am it will send an SmS > alert at 7. > > The problem I had last night is one of my drives run out of space quite > quickly. I got the email alerts as expected. But there was no SmS alert, > because SmS alerting wont start till 7am. > > I have thought about changing the alerting frequency to every hour, but > this will become counter productive because due to the number emails that > could possibly be generated. I'm wondering if I missed this part in the > manual lol :) > > Peace > Lien > > ------------------------------ > New Windows 7: Find the right PC for you. Learn more. > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Tue Nov 3 19:26:08 2009 From: justinp at norchemlab.com (Justin T Pryzby) Date: Tue, 3 Nov 2009 11:26:08 -0700 Subject: Delay sending SMS alerts.... In-Reply-To: References: Message-ID: <20091103182608.GA29861@norchemlab.com> On Tue, Nov 03, 2009 at 07:04:54PM +0100, Martin Melin wrote: > Using two contacts, one for email and one for SMS, will let you get SMS > notifications if a problem that occurred during the night still isn't > resolved by 7 am (should be a simple escalation definition + timeperiod per > contact) Is it possible to get the behavior of a "queue" which is emptied at 7am (for better or worse)? . SMS from earlier than 7am should be sent *at* 7am and not at 7:15 or 7:30 or .. . it shouldn't be necessary to implement this as a 1/minute check sending thousands of emails between 3am and 7am. Justin ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 3 19:06:59 2009 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 03 Nov 2009 13:06:59 -0500 Subject: JBOSS In-Reply-To: References: Message-ID: <1257271619.7992.221.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Wed, 2009-10-28 at 13:43 -0200, Eduardo Barreto wrote: > Hi All, > > How can I monitor a jboss server? Make sure IBM has your bank account on file. Make sure you have at least 16GB of swap file in active paging use. ~BAS ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 3 19:07:07 2009 From: lavalamp at spiritual-machines.org (Brian A. Seklecki) Date: Tue, 03 Nov 2009 13:07:07 -0500 Subject: Supervision CRLS PKI In-Reply-To: <000301ca4e78$96dae390$c490aab0$@mohamed@free.fr> References: <000301ca4e78$96dae390$c490aab0$@mohamed@free.fr> Message-ID: <1257271627.7992.222.camel@soundwave.ws.pitbpa0.priv.collaborativefusion.com> On Fri, 2009-10-16 at 17:51 +0200, ben amar wrote: > 1) the expiry date of CRLS our PKI Root and emmetrices The English is a bit broken here, but: 1) You can monitor the health of the "published CRL" by setting up "check_http" to monitor the URL of your "Active Directory Service" publication point (which is presumably some bullshit IIS plugin?) for certain metrics (Last updated/Last Modified Date, Minimium size, etc.) 2) Our "check_ssl_cert.php" can validate the PKI chain is published by the server (intermediary certs, etc.) and validate expiration date thresholds. We could also modify it's SSL Client to support OCSP/CRL validation. I'll have to look at how OpenSSL does this. ~BAS > 2) accessibility and the presence of our PKI CRLS published in our > Active > Directory ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Nov 3 19:46:00 2009 From: td3201 at gmail.com (Terry) Date: Tue, 3 Nov 2009 12:46:00 -0600 Subject: granular notifications In-Reply-To: References: <8ee061010911030906j7e403a27vf69fe6dd32882663@mail.gmail.com> Message-ID: <8ee061010911031046p7ae4965aw800509529d26db68@mail.gmail.com> Good idea on the script. However, I think you're right about the multiple contacts. On Tue, Nov 3, 2009 at 12:02 PM, Martin Melin wrote: > If your notification command sorts out whether to page or email, why not > have it handle empty pager addresses? Just remove the pager address from the > contacts that shouldn't get pages, and you should be fine. > > However I usually like and recommend separate contacts, one per contact > method, as this allows you to be more flexible in setting up escalation > chains etc. as well as removing ambiguity as to how a contact was notified. > > Regards, > Martin Melin > > On Tue, Nov 3, 2009 at 6:06 PM, Terry wrote: >> >> Sorry for the bad subject. ?Not sure how to classify this properly. >> >> I have a single contact definition for each contact: >> >> define contact{ >> ? ? ? ?contact_name ? ? ? ? ? ? ? ? ? ?jo at hotmail.com >> ? ? ? ?alias ? ? ? ? ? ? ? ? ? ? ? ? ? John Doe >> ? ? ? ?service_notification_period ? ? 24x7 >> ? ? ? ?host_notification_period ? ? ? ?24x7 >> ? ? ? ?service_notification_options ? ?w,u,c,r >> ? ? ? ?host_notification_options ? ? ? d,u,r >> ? ? ? ?service_notification_commands ? notification-wrapper-service >> ? ? ? ?host_notification_commands ? ? ?notification-wrapper-host >> ? ? ? ?email ? ? ? ? ? ? ? ? ? ? ? ? ? jo at hotmail.com >> ? ? ? ?pager ? ? ? ? ? ? ? ? ? ? ? ? ? 1231231234 at vtext.com >> ? ? ? ?can_submit_commands ? ? ? ? ? ? 1 >> ? ? ? ?} >> >> >> This works pretty well. ?The command sorts out whether to page or to >> email, however, in the event I want to disable pages only for this >> contact, I can't figure out how to do it without separate contacts >> like this: >> >> define contact{ >> ? ? ? ?contact_name ? ? ? ? ? ? ? ? ? jdoe-email >> ? ? ? ?alias ? ? ? ? ? ? ? ? ? ? ? ? ? jdoe-email >> ? ? ? ?service_notification_period ? ? 24x7 >> ? ? ? ?host_notification_period ? ? ? ?24x7 >> ? ? ? ?service_notification_options ? ?w,u,c,r >> ? ? ? ?host_notification_options ? ? ? d,u,r >> ? ? ? ?service_notification_commands ? notify-by-email >> ? ? ? ?host_notification_commands ? ? ?host-notify-by-email >> ? ? ? ?email ? ? ? ? ? ? ? ? ? ? ? ? ? jo at hotmail.com >> ? ? ? ?} >> >> define contact{ >> ? ? ? ?contact_name ? ? ? ? ? ? ? ? ? ?jdoe-epager >> ? ? ? ?alias ? ? ? ? ? ? ? ? ? ? ? ? ? jdoe-epager >> ? ? ? ?service_notification_period ? ? none >> ? ? ? ?host_notification_period ? ? ? ?none >> ? ? ? ?service_notification_options ? ?c,r >> ? ? ? ?host_notification_options ? ? ? d,r >> ? ? ? ?service_notification_commands ? notify-by-epager >> ? ? ? ?host_notification_commands ? ? ?host-notify-by-epager >> ? ? ? ?email ? ? ? ? ? ? ? ? ? ? ? ? ? 1231231234 at vtext.com >> ? ? ? ?} >> >> With the above, I can simply set the notification period to none and >> thus pages are disabled. ? Can anyone think of another way to do this, >> other than timeperiods? ? Keep in mind, that I still may want critical >> emails, just not pages. >> >> Thanks! >> >> >> ------------------------------------------------------------------------------ >> Come build with us! The BlackBerry(R) Developer Conference in SF, CA >> is the only developer event you need to attend this year. Jumpstart your >> developing skills, take BlackBerry mobile applications to market and stay >> ahead of the curve. Join us from November 9 - 12, 2009. Register now! >> http://p.sf.net/sfu/devconference >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Nov 3 19:58:58 2009 From: mmelin at gmail.com (Martin Melin) Date: Tue, 3 Nov 2009 19:58:58 +0100 Subject: Delay sending SMS alerts.... In-Reply-To: <20091103182608.GA29861@norchemlab.com> References: <20091103182608.GA29861@norchemlab.com> Message-ID: If you'd like a "queue" of messages, I'd say that this is outside the scope of the Nagios logic and should be best handled by the notification script itself (have it queue up messages outside of certain time periods) However it doesn't seem productive to get spammed with SMS messages at 7 AM if a problem has been going on all night. In this case I would recommend setting up a few escalation definitions and using the optional escalation_period directive to apply them to different time periods. So you'd have one escalation definition (with interval etc) for the night, one for morning + evening and one for normal hours. See http://nagios.sourceforge.net/docs/3_0/escalations.html for more info on this. Using escalations in this way also lets you for example have a group of "critical" servers/services that will spam you via SMS if they're down, and have everything else go to your normal email box. Regards, Martin Melin On Tue, Nov 3, 2009 at 7:26 PM, Justin T Pryzby wrote: > On Tue, Nov 03, 2009 at 07:04:54PM +0100, Martin Melin wrote: > > Using two contacts, one for email and one for SMS, will let you get SMS > > notifications if a problem that occurred during the night still isn't > > resolved by 7 am (should be a simple escalation definition + timeperiod > per > > contact) > Is it possible to get the behavior of a "queue" which is emptied at > 7am (for better or worse)? > > . SMS from earlier than 7am should be sent *at* 7am and not at 7:15 > or 7:30 or .. > . it shouldn't be necessary to implement this as a 1/minute check > sending thousands of emails between 3am and 7am. > > Justin > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Nov 3 21:35:22 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 3 Nov 2009 15:35:22 -0500 Subject: Restarts resetting soft critical states In-Reply-To: <4AEECA46.2060708@op5.se> References: <4AEECA46.2060708@op5.se> Message-ID: >-----Original Message----- >From: Andreas Ericsson [mailto:ae at op5.se] >Sent: Monday, November 02, 2009 7:02 AM >To: Frost, Mark {PBG} >Cc: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Restarts resetting soft critical states > >On 10/29/2009 08:50 PM, Frost, Mark {PBG} wrote: >> You think you know an application and every once in a while you get a >surprise... >> >> Both the reporting server and the distributed node share the same >attributes for retention and soft states: >> >> soft_state_dependencies=0 >> passive_host_checks_are_soft=1 >> retain_state_information=1 >> use_retained_program_state=1 >> use_retained_scheduling_info=1 >> retained_host_attribute_mask=0 >> retained_service_attribute_mask=0 >> retained_process_host_attribute_mask=0 >> retained_process_service_attribute_mask=0 >> retained_contact_host_attribute_mask=0 >> retained_contact_service_attribute_mask=0 >> >> While I would assume the restarts would disrupt Nagios a bit what with >> having to do start-time tasks again, I would not have expected that it >> would "start over" with the status of some checks. >> >> What am I missing here? >> > >It seems you haven't grasped how bitmasks work. When you set the mask to >0, >you essentially tell it to not let anything through. Set them to -1, or >leave them at the default values and you'll get the kind of state >retention >you want. > Thanks, Andreas. Unfortunately, I'm still puzzled. The mask values you refer to are already set to the defaults (they're all 0's). I've never touched those or paid much attention to them until now. I'm actually confused by 2 aspects of this. It seems to me that the thing I'm trying to retain across a restart are soft check states (those are what are being reset). Looking at the MODATTR arguments in include/common.h (3.0.6) I don't see which of those attributes would govern this. There's the *ENABLED attributes which really aren't changing here (and are retained). All the other MODATTR's are (it seems to me) not changing in this case either. The second thing that confuses me here is the verbage used to describe the mask functionality: # RETAINED ATTRIBUTE MASKS (ADVANCED FEATURE) # The following variables are used to specify specific host and # service attributes that should *not* be retained by Nagios during # program restarts. So if MODATTR is set to none, based on the comment doesn't this mean that "NONE" of the attributes are NOT retained? I.e. all are retained (double-negative)? The on-line doc for these masks say "By default, all host and service attributes are retained." I do get masks, I just didn't see how these applied here. Your help is greatly appreciated. Thanks Mark ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Tue Nov 3 22:04:33 2009 From: mmelin at gmail.com (Martin Melin) Date: Tue, 3 Nov 2009 22:04:33 +0100 Subject: Restarts resetting soft critical states In-Reply-To: References: <4AEECA46.2060708@op5.se> Message-ID: On Tue, Nov 3, 2009 at 9:35 PM, Frost, Mark {PBG} wrote: > > > >-----Original Message----- > >From: Andreas Ericsson [mailto:ae at op5.se] > >Sent: Monday, November 02, 2009 7:02 AM > >To: Frost, Mark {PBG} > >Cc: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Restarts resetting soft critical states > > > >On 10/29/2009 08:50 PM, Frost, Mark {PBG} wrote: > >> You think you know an application and every once in a while you get a > >surprise... > >> > >> Both the reporting server and the distributed node share the same > >attributes for retention and soft states: > >> > >> soft_state_dependencies=0 > >> passive_host_checks_are_soft=1 > >> retain_state_information=1 > >> use_retained_program_state=1 > >> use_retained_scheduling_info=1 > >> retained_host_attribute_mask=0 > >> retained_service_attribute_mask=0 > >> retained_process_host_attribute_mask=0 > >> retained_process_service_attribute_mask=0 > >> retained_contact_host_attribute_mask=0 > >> retained_contact_service_attribute_mask=0 > >> > >> While I would assume the restarts would disrupt Nagios a bit what with > >> having to do start-time tasks again, I would not have expected that it > >> would "start over" with the status of some checks. > >> > >> What am I missing here? > >> > > > >It seems you haven't grasped how bitmasks work. When you set the mask to > >0, > >you essentially tell it to not let anything through. Set them to -1, or > >leave them at the default values and you'll get the kind of state > >retention > >you want. > > > > Thanks, Andreas. Unfortunately, I'm still puzzled. The mask values you > refer to are already set to the defaults (they're all 0's). I've never > touched those or paid much attention to them until now. > > I'm actually confused by 2 aspects of this. It seems to me that the thing > I'm trying to retain across a restart are soft check states (those are what > are being reset). Looking at the MODATTR arguments in include/common.h > (3.0.6) I don't see which of those attributes would govern this. There's > the *ENABLED attributes which really aren't changing here (and are > retained). All the other MODATTR's are (it seems to me) not changing in > this case either. > > The second thing that confuses me here is the verbage used to describe the > mask functionality: > > # RETAINED ATTRIBUTE MASKS (ADVANCED FEATURE) > # The following variables are used to specify specific host and > # service attributes that should *not* be retained by Nagios during > # program restarts. > > So if MODATTR is set to none, based on the comment doesn't this mean that > "NONE" of the attributes are NOT retained? I.e. all are retained > (double-negative)? The on-line doc for these masks say "By default, all > host and service attributes are retained." > I don't know the source code behavior, but I agree with this and a default nagios.cfg has all of the masks set to zero, presumably to not mask anything, i.e. to not affect what's retained. > > I do get masks, I just didn't see how these applied here. > > Your help is greatly appreciated. > > I just did a quick experiment with the default values for *retain* variables in nagios.cfg - which are exactly what you quote: [1257281477] SERVICE ALERT: localhost;File age;CRITICAL;SOFT;1;FILE_AGE CRITICAL: File not found - /tmp/nagios [1257281597] SERVICE ALERT: localhost;File age;CRITICAL;SOFT;2;FILE_AGE CRITICAL: File not found - /tmp/nagios [1257281604] Caught SIGTERM, shutting down... [1257281604] Successfully shutdown... (PID=9617) [1257281605] Nagios 3.0.6 starting... (PID=9721) [1257281605] Local time is Tue Nov 03 21:53:25 CET 2009 [1257281605] LOG VERSION: 2.0 [1257281605] Finished daemonizing... (New PID=9722) [1257281715] SERVICE ALERT: localhost;File age;CRITICAL;HARD;3;FILE_AGE CRITICAL: File not found - /tmp/nagios Everything works as expected. I'm guessing you have some other issue that's affecting Nagios' ability to save retention data. What's the value of state_retention_file and retention_update_interval for you? Have you checked that state_retention_file is updated when Nagios runs, that you're not close to capacity of the disk or that something basic like that is going on? Open up the file and grab the definition for the service in question, see what values are being saved. HTH, Regards, Martin Melin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 4 00:24:25 2009 From: marc at ena.com (Marc Powell) Date: Tue, 3 Nov 2009 17:24:25 -0600 Subject: Delay sending SMS alerts.... In-Reply-To: <20091103182608.GA29861@norchemlab.com> References: <20091103182608.GA29861@norchemlab.com> Message-ID: <706969A1-90FB-472E-B0A6-7F1B7F754B8E@ena.com> On Nov 3, 2009, at 12:26 PM, Justin T Pryzby wrote: > Is it possible to get the behavior of a "queue" which is emptied at > 7am (for better or worse)? Not within nagios, but... > . SMS from earlier than 7am should be sent *at* 7am and not at 7:15 > or 7:30 or .. > . it shouldn't be necessary to implement this as a 1/minute check > sending thousands of emails between 3am and 7am. ... as Martin Melin indicates, this is best done by your notification script. The default notification commands work for the majority of users for the majority of use cases. For special cases, such as yours, it's trivial to drop in your own notification script. You just need to write that logic into it. I would.... have it grab the notifications and determine if it should be queued or not. Those that should get written to a file. At 7am, a second script parses that file and sends all the notifications. -- Marc ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 4 00:38:33 2009 From: mwlucas at blackhelicopters.org (Michael W. Lucas) Date: Tue, 3 Nov 2009 18:38:33 -0500 Subject: check_snmp_mem.pl and cisco fast memory Message-ID: <20091103233833.GA46795@bewilderbeast.blackhelicopters.org> Hi, Cisco says that their fast memory on their switches is meant to fill up, and having full fast memory is not an error condition. (See http://www.cisco.com/en/US/products/sw/iosswrel/ps1831/products_tech_note09186a00800a6f3a.shtml for a reference.) Most Cisco devices don't have fast memory, but some of ours do, so we keep generating errors. I don't care if fast memory is 99% full, but I care if other memory is. The below patches check_snmp_mem.pl version 1.5 to skip fast memory. Not sure if anyone else has this problem, or if there's any interest in pulling this into the main program, but I at least wanted to get this in the mailing list archives for the next poor guy who stumbles over this. ==ml === --- /usr/local/libexec/nagios/check_snmp_mem.pl 2009-09-09 15:04:28.000000000 -0400 +++ check_snmp_mem.pl 2009-11-02 16:23:08.000000000 -0500 @@ -334,6 +334,9 @@ foreach my $key ( keys %$resultat) { verb("OID : $key, Desc : $$resultat{$key}"); if ( $key =~ /$cisco_index/ ) { + if ($$resultat{$key} =~/Fast/) { + next; + } @oid=split (/\./,$key); $index[$nindex++] = pop(@oid); } === -- Michael W. Lucas mwlucas at BlackHelicopters.org http://www.MichaelWLucas.com/ Latest book: Cisco Routers for the Desperate, 2nd Edition http://www.CiscoRoutersForTheDesperate.com/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From justinp at norchemlab.com Wed Nov 4 00:56:07 2009 From: justinp at norchemlab.com (Justin T Pryzby) Date: Tue, 3 Nov 2009 16:56:07 -0700 Subject: Delay sending SMS alerts.... In-Reply-To: <706969A1-90FB-472E-B0A6-7F1B7F754B8E@ena.com> References: <20091103182608.GA29861@norchemlab.com> <706969A1-90FB-472E-B0A6-7F1B7F754B8E@ena.com> Message-ID: <20091103235607.GA2573@norchemlab.com> On Tue, Nov 03, 2009 at 05:24:25PM -0600, Marc Powell wrote: > > On Nov 3, 2009, at 12:26 PM, Justin T Pryzby wrote: > > > Is it possible to get the behavior of a "queue" which is emptied at > > 7am (for better or worse)? > > Not within nagios, but... Just to be clear, I'm not looking at queueing large numbers of messages, ideally just one. It could be implemented as a duplicate test with check_interval 7am-7:10am, but I'm not sure if that's best either. > ... as Martin Melin indicates, this is best done by your notification Problem is, it should only notify at 7am if the thing is still broken. I'll eventually see a notification by mail to root, but if a 3am problem resolves itself at 3:30, it'll just cause confusion if there's a dynamic "sleep 4h" command sendings texts hours later. Thanks, Justin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k11h12anh at gmail.com Wed Nov 4 00:55:28 2009 From: k11h12anh at gmail.com (Khanh Truong) Date: Tue, 3 Nov 2009 15:55:28 -0800 Subject: check-host-alive and ping service check Message-ID: Hi, I noticed that the check-host-alive and the PING service are the same checks. This unecessarily creates double checks and duplicate rrd data if you have both of them on. But the dashboard views are better when you have both of them so my question is... how can I consolidate these two checks so that either the PING uses the check-host-alive data or the check-host-alive uses the PING's data and checks? Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajay at wxsec.com Wed Nov 4 02:05:42 2009 From: ajay at wxsec.com (=?ISO-8859-1?B?QUpheQ==?=) Date: Wed, 4 Nov 2009 09:05:42 +0800 Subject: check-host-alive and ping service check Message-ID: I think you just get things complicated. These two checks are both default definition. In my case, I just disabled the PING service. AJay - nagios beginner ------------------ Original ------------------ From: "Khanh Truong"; Date: Wed, Nov 4, 2009 07:55 AM To: "nagios-users"; Subject: [Nagios-users] check-host-alive and ping service check Hi, I noticed that the check-host-alive and the PING service are the same checks. This unecessarily creates double checks and duplicate rrd data if you have both of them on. But the dashboard views are better when you have both of them so my question is... how can I consolidate these two checks so that either the PING uses the check-host-alive data or the check-host-alive uses the PING's data and checks? Ken -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Nov 4 04:10:23 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 3 Nov 2009 22:10:23 -0500 Subject: Restarts resetting soft critical states In-Reply-To: References: <4AEECA46.2060708@op5.se> Message-ID: >From: Martin Melin [mailto:mmelin at gmail.com] >Sent: Tuesday, November 03, 2009 4:05 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Restarts resetting soft critical states > >> On Tue, Nov 3, 2009 at 9:35 PM, Frost, Mark {PBG} wrote: >> >> >>-----Original Message----- >>>From: Andreas Ericsson [mailto:ae at op5.se] >>>Sent: Monday, November 02, 2009 7:02 AM >>>To: Frost, Mark {PBG} >>>Cc: nagios-users at lists.sourceforge.net >>>Subject: Re: [Nagios-users] Restarts resetting soft critical states >>> >>>> On 10/29/2009 08:50 PM, Frost, Mark {PBG} wrote: >>>> >>>> Both the reporting server and the distributed node share the same >>>> attributes for retention and soft states: >>>> >>>> soft_state_dependencies=0 >>>> passive_host_checks_are_soft=1 >>>> retain_state_information=1 >>>> use_retained_program_state=1 >>>> use_retained_scheduling_info=1 >>>> retained_host_attribute_mask=0 >>>> retained_service_attribute_mask=0 >>>> retained_process_host_attribute_mask=0 >>>> retained_process_service_attribute_mask=0 >>>> retained_contact_host_attribute_mask=0 >>>> retained_contact_service_attribute_mask=0 >>>> >>>> While I would assume the restarts would disrupt Nagios a bit what with >>>> having to do start-time tasks again, I would not have expected that it >>>> would "start over" with the status of some checks. >>>> >>>> What am I missing here? >>> >>> >>> It seems you haven't grasped how bitmasks work. When you set the mask to >>> 0, >>> you essentially tell it to not let anything through. Set them to -1, or >>> leave them at the default values and you'll get the kind of state >>> retention >>> you want. >> >> Thanks, Andreas. Unfortunately, I'm still puzzled. The mask values you refer to are >> already set to the defaults (they're all 0's). I've never touched those or paid much >> attention to them until now. >> >> I'm actually confused by 2 aspects of this. It seems to me that the thing I'm trying to >> retain across a restart are soft check states (those are what are being reset). Looking >> at the MODATTR arguments in include/common.h (3.0.6) I don't see which of those >> attributes >would govern this. There's the *ENABLED attributes which really aren't >> changing here (and >are retained). All the other MODATTR's are (it seems to me) not >> changing in this case >either. >> >> The second thing that confuses me here is the verbage used to describe the mask >> functionality: >> >> # RETAINED ATTRIBUTE MASKS (ADVANCED FEATURE) >> # The following variables are used to specify specific host and >> # service attributes that should *not* be retained by Nagios during >> # program restarts. >> >> So if MODATTR is set to none, based on the comment doesn't this mean that "NONE" of the >> attributes are NOT retained? I.e. all are retained (double-negative)? The on-line doc >> for these masks say "By default, all host and service attributes are retained." >> >> > I don't know the source code behavior, but I agree with this and a default nagios.cfg has > all of the masks set to zero, presumably to not mask anything, i.e. to not affect what's > retained. >> >> >> I do get masks, I just didn't see how these applied here. >> >> Your help is greatly appreciated. >> > I just did a quick experiment with the default values for *retain* variables in > nagios.cfg - which are exactly what you quote: > > [1257281477] SERVICE ALERT: localhost;File age;CRITICAL;SOFT;1;FILE_AGE CRITICAL: File not found - /tmp/nagios > [1257281597] SERVICE ALERT: localhost;File age;CRITICAL;SOFT;2;FILE_AGE CRITICAL: File not found - /tmp/nagios > [1257281604] Caught SIGTERM, shutting down... > [1257281604] Successfully shutdown... (PID=9617) > [1257281605] Nagios 3.0.6 starting... (PID=9721) > [1257281605] Local time is Tue Nov 03 21:53:25 CET 2009 > [1257281605] LOG VERSION: 2.0 > [1257281605] Finished daemonizing... (New PID=9722) > [1257281715] SERVICE ALERT: localhost;File age;CRITICAL;HARD;3;FILE_AGE CRITICAL: File >> not found - /tmp/nagios > > Everything works as expected. > > I'm guessing you have some other issue that's affecting Nagios' ability to save retention data. > > What's the value of state_retention_file and retention_update_interval for you? > > Have you checked that state_retention_file is updated when Nagios runs, that you're not close to capacity of the disk or that something basic like that is going on? > > Open up the file and grab the definition for the service in question, see what values are being saved. > > HTH, > > Regards, > Martin Melin Martin, state_retention_file=/usr/local/eam/nagios/var/retention.dat retention_update_interval=60 I see that retention.dat was updated when I restarted Nagios maybe 20 minutes ago. I just tested disabling notifications for a check, but I guess based on my retention_update_interval I won't see the retention.dat file change for another 40 minutes. Nagios monitors the filesystem itself (ie. Nagios watches itself), but the filesystem it resides on is at 35% with 12GB free. If there were a problem with that or some other essential operation of Nagios, I think I'd see some other problem. In this case, I think an unusual set of circumstances were at play -- I was restarting Nagios every few minutes while a host was in the process of failing host checks as reported by the distributed nodes. Never seen that before, but also probably never happened to do it that way either. Looking at this item in retention.dat (it's a host check that we had this issue with, not a service check). This might not be all that useful as this issue isn't happening at the moment. At present, I see the following of interest last_state=0 last_hard_state=0 current_attempt=1 max_attempts=10 state_history=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 I assume perhaps that "last_state" might mean last soft state. It would be interesting to see this value if I could find a practical way to replicate this condition. I would also expect current_attempt to be higher than 1 and the state_history to show some non-OK states while this issue was happening. As I say, I'd have to see these values while this was changing. Thanks Mark ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Terry.Rankine at csiro.au Wed Nov 4 05:25:49 2009 From: Terry.Rankine at csiro.au (Terry.Rankine at csiro.au) Date: Wed, 4 Nov 2009 12:25:49 +0800 Subject: lasted checked Message-ID: <4E88C091A57493498EEC9F2A21D5BF430284E38C6C@EXWA-MBX01.nexus.csiro.au> Hi All We have a problem of NOT looking at whats on our screen. We often disable checks or put checks into passive and poll them as needed. Can we highlight the fact that it's been a while since last check? Ie - we don't want to forget that we have things disabled - we want Nagios web or notifications to tell us that last check was too long - check it again! We want a way to ask the Nagios admin "do you know that this green box is 2 weeks old?" either by some sort of status message or notification. Like a 'did you forget about this', sort of warning or notification. Any Ideas? Terry Rankine -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 4 05:56:22 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 03 Nov 2009 20:56:22 -0800 Subject: lasted checked In-Reply-To: <4E88C091A57493498EEC9F2A21D5BF430284E38C6C@EXWA-MBX01.nexus.csiro.au> References: <4E88C091A57493498EEC9F2A21D5BF430284E38C6C@EXWA-MBX01.nexus.csiro.au> Message-ID: <4AF10976.6070005@hp.com> Terry.Rankine at csiro.au wrote: > > Hi All > > > > We have a problem of NOT looking at whats on our screen. We often > disable checks or put checks into passive and poll them as needed. > > > > Can we highlight the fact that it?s been a while since last check? > For starters -- well, don't do that. The guys I work with get a royal beating if they turn stuff off, when there are things like acknowledgements and downtimes that will expire themselves and save you from the inevitable "something broke while we forgot we had the monitoring turned off." If you have a check you only want done periodically, and know generally how often you want to check, set up a suitable check interval. Likewise, if you want a check to just shut up for a while, put it in downtime, and have the downtime expire at around the same time you think you'd like to check it again. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 smetj.net Wed Nov 4 12:30:58 2009 From: nagios at smetj.net (Jelle Smet) Date: Wed, 04 Nov 2009 12:30:58 +0100 Subject: Alerts and see hosts through web interface Message-ID: <00c5386eb3c8f61fb7b8091031fa41fa@smetj.net> Hi all, When associating contacts and contact groups with a service or hosts controls who whould receive an alert in case of problems which is fine. It is unfortunate in our case that the users only see the hosts and services for which they are in the contact list of that host/service. This prevents people from seeing the big picture, ... So is there a way to make a user a not a contact for a service/host and yet see it in the web interface? (Without change the source) Thanks for yout advice and or tips, .. -- Jelle Smet http://www.smetj.net ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 smetj.net Wed Nov 4 13:33:35 2009 From: nagios at smetj.net (Jelle Smet) Date: Wed, 4 Nov 2009 12:33:35 +0000 (UTC) Subject: Alerts and see hosts through web interface References: <00c5386eb3c8f61fb7b8091031fa41fa@smetj.net> Message-ID: > So is there a way to make a user a not a contact for a service/host and yet see it in the web interface? (Without > change the source) Never mind, I overlooked the parameters in cgi.cfg authorized_for_all_services=* authorized_for_all_hosts=* ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 4 13:46:33 2009 From: marc at ena.com (Marc Powell) Date: Wed, 4 Nov 2009 06:46:33 -0600 Subject: Alerts and see hosts through web interface In-Reply-To: <00c5386eb3c8f61fb7b8091031fa41fa@smetj.net> References: <00c5386eb3c8f61fb7b8091031fa41fa@smetj.net> Message-ID: On Nov 4, 2009, at 5:30 AM, Jelle Smet wrote: > So is there a way to make a user a not a contact for a service/host > and yet see it in the web interface? (Without change the source) Yes, certainly. Create a new .htaccess user and give them appropriate authorized_for_* permissions in cgi.cfg. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ted at serreyn.com Wed Nov 4 16:16:22 2009 From: ted at serreyn.com (Ted Serreyn) Date: Wed, 4 Nov 2009 09:16:22 -0600 Subject: anyone have enviromux-mini problems Message-ID: <001301ca5d61$c7cc3420$57649c60$@com> Does anyone have one of the NTI enviromux-mini devices for temperature/environment monitoring? Have any problems with it? Please contact me off-list. Ted Serreyn Ted at serreyn.com Email secured by Check Point -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-devel mailing list Nagios-devel at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-devel From Narasimha.Tadepalli at pervasive.com Wed Nov 4 17:00:30 2009 From: Narasimha.Tadepalli at pervasive.com (Narasimha Tadepalli) Date: Wed, 4 Nov 2009 10:00:30 -0600 Subject: Strage problem with availability stats Message-ID: <064B882F1EF10E4D837C42B2D39713E40516E23808@pvswmail.pervasive.com> Hi I just today only found one strange behavior with host availability stats. As you notice here it is showing host available for 1 day and one hour for that date. I don't what could be the wrong. Appreciate if you can advice me what could be the wrong and what to do to get rid of it. Thanks Narasimha [cid:image002.png at 01CA5D35.A29EDAD0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 8974 bytes Desc: image002.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Narasimha.Tadepalli at pervasive.com Wed Nov 4 17:25:21 2009 From: Narasimha.Tadepalli at pervasive.com (Narasimha Tadepalli) Date: Wed, 4 Nov 2009 10:25:21 -0600 Subject: Strage problem with availability stats In-Reply-To: <2429AF1CE4BCC642820D969AA68FC6CB05089554DE@pvswmail.pervasive.com> References: <2429AF1CE4BCC642820D969AA68FC6CB05089554DE@pvswmail.pervasive.com> Message-ID: <064B882F1EF10E4D837C42B2D39713E40516E23884@pvswmail.pervasive.com> I found the problem is with daylightsavings adjustment in that day. But I am not sure where to configure the day light adjustments?. Anybody can throw any pointers. Thanks Narasimha From: Narasimha Tadepalli Sent: Wednesday, November 04, 2009 10:01 AM To: 'nagios-users at lists.sourceforge.net' Subject: Strage problem with availability stats Hi I just today only found one strange behavior with host availability stats. As you notice here it is showing host available for 1 day and one hour for that date. I don't what could be the wrong. Appreciate if you can advice me what could be the wrong and what to do to get rid of it. Thanks Narasimha [cid:image001.png at 01CA5D39.1CC10010] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 8974 bytes Desc: image001.png URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From k11h12anh at gmail.com Wed Nov 4 17:39:07 2009 From: k11h12anh at gmail.com (Khanh Truong) Date: Wed, 4 Nov 2009 08:39:07 -0800 Subject: check-host-alive and ping service check In-Reply-To: References: Message-ID: Most of the time I use the Services view, and the problem with disabling the PING is that I have some hosts i.e. switches that doesn't have any other services besides PING so getting rid of it would mean it would stop showing up under the Services view. I guess there is no way to customize views with Nagios is there? Anyone have any other ideas? I think I'll just keep both of them enabled for now so that I get my detailed view and hopefully down the road there it will be possible to create customized Nagios views. On Tue, Nov 3, 2009 at 5:05 PM, AJay wrote: > I think you just get things complicated. These two checks are both default > definition. In my case, I just disabled the PING service. > > > > AJay - nagios beginner > > ------------------ Original ------------------ > *From: * "Khanh Truong"; > *Date: * Wed, Nov 4, 2009 07:55 AM > *To: * "nagios-users"; > *Subject: * [Nagios-users] check-host-alive and ping service check > > Hi, > I noticed that the check-host-alive and the PING service are the same > checks. This unecessarily creates double checks and duplicate rrd data if > you have both of them on. But the dashboard views are better when you have > both of them so my question is... how can I consolidate these two checks so > that either the PING uses the check-host-alive data or the check-host-alive > uses the PING's data and checks? > Ken > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Wed Nov 4 17:50:00 2009 From: pangrazi at gmail.com (Greg Pangrazio) Date: Wed, 4 Nov 2009 11:50:00 -0500 Subject: check-host-alive and ping service check In-Reply-To: References: Message-ID: You could also assign that check to a user that is not you, ie hide them from yourself. Greg Pangrazio pangrazi at gmail.com On Wed, Nov 4, 2009 at 11:39 AM, Khanh Truong wrote: > Most of the time I use the Services view, and the problem with disabling the > PING is that I have some hosts?i.e. ?switches that doesn't have any other > services besides PING so getting rid of it would mean it would stop showing > up under the Services view. > I guess there is no way to customize views with Nagios is there? Anyone have > any other ideas? I think I'll just keep both of them enabled for now so that > I get my detailed view and hopefully down the road there?it will be possible > to create customized Nagios views. > > On Tue, Nov 3, 2009 at 5:05 PM, AJay wrote: >> >> I think you just get things complicated. These two checks are both default >> definition. In my case, I just disabled the PING service. >> >> >> >> AJay - nagios beginner >> >> ------------------?Original?------------------ >> From: ?"Khanh Truong"; >> Date: ?Wed, Nov 4, 2009 07:55 AM >> To: ?"nagios-users"; >> Subject: ?[Nagios-users] check-host-alive and ping service check >> >> Hi, >> I noticed that the check-host-alive and the PING service are the same >> checks. This unecessarily creates double checks and duplicate rrd data if >> you have both of them on. But the dashboard views are better when you have >> both of them so my question is... how can I consolidate these two checks so >> that either the PING uses the check-host-alive data or the check-host-alive >> uses the PING's data and checks? >> Ken > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 4 18:00:54 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 04 Nov 2009 09:00:54 -0800 Subject: Strage problem with availability stats In-Reply-To: <064B882F1EF10E4D837C42B2D39713E40516E23884@pvswmail.pervasive.com> References: <2429AF1CE4BCC642820D969AA68FC6CB05089554DE@pvswmail.pervasive.com> <064B882F1EF10E4D837C42B2D39713E40516E23884@pvswmail.pervasive.com> Message-ID: <4AF1B346.4050806@hp.com> Narasimha Tadepalli wrote: > > I found the problem is with daylightsavings adjustment in that day. > But I am not sure where to configure the day light adjustments?. > Anybody can throw any pointers. > > > > Thanks > > Narasimha > > > > *From:* Narasimha Tadepalli > *Sent:* Wednesday, November 04, 2009 10:01 AM > *To:* 'nagios-users at lists.sourceforge.net' > *Subject:* Strage problem with availability stats > > > > Hi > > > > I just today only found one strange behavior with host availability > stats. As you notice here it is showing host available for 1 day and > one hour for that date. I don?t what could be the wrong. Appreciate if > you can advice me what could be the wrong and what to do to get rid of it. > That day was 1 day, 1 hour long. If you consider a day to be 24 hours, those numbers are correct. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Wed Nov 4 22:38:23 2009 From: td3201 at gmail.com (Terry) Date: Wed, 4 Nov 2009 15:38:23 -0600 Subject: recovery notifications timeline Message-ID: <8ee061010911041338p79d6a89au506d7cbbe2acdf54@mail.gmail.com> Hello, I am trying to figure out a timeline of events in the event of a service down. I have this service: normal check interval: 30 retry interval: 1 max check attempts: 3 Min downtime until notification is 3 minutes. Max downtime until notification is 33 minutes. Take this timeline of events: 12:00:30 - service goes down 12:01:00 - nagios checks and its down 12:02:00 - first retry 12:02:00 - second retry, notification 12:03:00 - service recovers 12:32:00 - check, recovery notification 1. Is that correct? 2. Is there a way to have it check every minute until it recovers? Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at xmanhosting.com.au Thu Nov 5 01:04:17 2009 From: anthony at xmanhosting.com.au (xmanhosting) Date: Thu, 5 Nov 2009 09:04:17 +0900 Subject: Getting MRTG running Message-ID: <000301ca5dab$88c2f7b0$9930fea9@rockinghshs.internal> Hello, I am new to Nagios, and MRTG, so please bear with me. I have been able to get Nagios up and running thanks to some outstanding community help, especially Lyle Giese (cheers for all of your time) . My issue is with getting MRTG up and running. I have attempted to install MRTG on my server (by the tutorial here: http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/mrtg/mrtgconi fg.php ) The webpage where it says it should be running is: http://onlinebackup.xmanhosting.com.au/mymrtg/ I assume that this is the standard page, untill some more configuration occurs. Would someone be able to lead me in the right direction as to what comes next? I am basically looking to monitor bandwidth usage using Nagios. In Nagios, it says: check_mrtgtraf: Unable to open MRTG log file I cannot find a log file anywhere on my server. In the switch.cfg file, it says: # Monitor bandwidth via MRTG logs define service{ use generic-service ; Inherit values from a template host_name Billion service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/var/lib/mrtg/192.168.1.253_1.log!AVG!1000000,1000000!5 000000,5000000!10 } There is no log file in /var/lib/mrtg/ - there is only a file called mrtg.ok , which is an empty page. In etc/mrtg/mrtg.cfg , it also says: LogDir: /var/lib/mrtg Is someone able to assist me in some way from here? Thanks for any help. Kind regards, Anthony -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Thu Nov 5 09:34:50 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 05 Nov 2009 14:04:50 +0530 Subject: can nagios discover active IPs in LAN environment ? Message-ID: <4AF28E2A.5040308@infoservices.in> Hello list, There is always the option to ping an IP to detect if it is up or not. But Is there any script which can be used with nagios to *Discover* the active IPs with in a LAN ? If the IPs then connected with user names we can see who are there. Any clue ? Thanks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Thu Nov 5 11:31:15 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 05 Nov 2009 16:01:15 +0530 Subject: can nagios monitor printer ? Message-ID: <4AF2A973.3040701@infoservices.in> Hello list, I hava an USB printer attached with the server where nagios is running. Can nagios monitor a H/W connected at the USB port ? Please let me know. Thanks on advanced ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 5 11:34:53 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 05 Nov 2009 02:34:53 -0800 Subject: can nagios discover active IPs in LAN environment ? In-Reply-To: <4AF28E2A.5040308@infoservices.in> References: <4AF28E2A.5040308@infoservices.in> Message-ID: <4AF2AA4D.8010008@hp.com> J. Bakshi wrote: > Hello list, > > There is always the option to ping an IP to detect if it is up or not. > But Is there any script which can be used with nagios to *Discover* the > active IPs with in a LAN ? If the IPs then connected with user names we > can see who are there. There are plenty of tools to do network discovery (nmap comes to mind). It's not one of Nagios's strong points. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Thu Nov 5 11:35:32 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 05 Nov 2009 16:05:32 +0530 Subject: normal_check_interval in second ? Message-ID: <4AF2AA74.9000609@infoservices.in> Hello, I have defined normal_check_interval for some specific monitoring like ssh, ftp etc... How can I define the interval in seconds ? The setting I have below `````````````````````` define service{ name myservice ; The name of this service template use generic-service ; Inherit default values from the generic-service definition check_period 24x7 ; The service can be checked at any time of the day max_check_attempts 4 ; Re-check the service up to 4 times in order to determine it> normal_check_interval 1 ; 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> contact_groups admins,others ; Notifications get sent out to everyone in the 'admins> notification_options w,u,c,r ; Send notifications about warning, unknown, critical, and recovery> notification_interval 60 ; Re-notify about service problems every hour notification_period 24x7 ; Notifications can be sent out at any time register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVIC> } define service{ use myservice host_name server service_description SSH check_command check_nrpe!60650!check_SSH -t 30 } define service{ use myservice host_name server service_description FTP check_command check_nrpe!60650!check_FTP -t 30 normal_check_interval 30s } ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Thu Nov 5 11:41:39 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 05 Nov 2009 16:11:39 +0530 Subject: nagios3 does not honor -t value Message-ID: <4AF2ABE3.6060907@infoservices.in> Dear list, socket time out problem reappeared in my nagios after upgrading to nagios3. It reports ```````````````````` CRITICAL - Socket timeout after 10 seconds ```````````````````` Though for that particular service I have already " -t 30" enabled. It seems nagios3 does not honor the -t any more. Any clue ? Thanks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joydeep at infoservices.in Thu Nov 5 11:57:51 2009 From: joydeep at infoservices.in (J. Bakshi) Date: Thu, 05 Nov 2009 16:27:51 +0530 Subject: can nagios discover active IPs in LAN environment ? In-Reply-To: <4AF2AA4D.8010008@hp.com> References: <4AF28E2A.5040308@infoservices.in> <4AF2AA4D.8010008@hp.com> Message-ID: <4AF2AFAF.2050407@infoservices.in> Morris, Patrick wrote: > J. Bakshi wrote: >> Hello list, >> >> There is always the option to ping an IP to detect if it is up or not. >> But Is there any script which can be used with nagios to *Discover* the >> active IPs with in a LAN ? If the IPs then connected with user names we >> can see who are there. > > There are plenty of tools to do network discovery (nmap comes to > mind). It's not one of Nagios's strong points. > nmap is more than an IP discover tool. I am looking for such a simple tool which can be integrated with nagios and simply point out the active machine in the lan. I wonder if there is any third party script which can do it with nagios. Thanks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 5 12:21:53 2009 From: Sebastian.Ries at dtnet.de (Sebastian Ries) Date: Thu, 05 Nov 2009 12:21:53 +0100 Subject: can nagios monitor printer ? In-Reply-To: <4AF2A973.3040701@infoservices.in> References: <4AF2A973.3040701@infoservices.in> Message-ID: <1257420113.15074.13.camel@bofh.dtnet.de> Hi > I hava an USB printer attached with the server where nagios is running. > Can nagios monitor a H/W connected at the USB port ? > Please let me know. What you can do is check cups queues. These will get offline if the printer is not reachable http://monitoringexchange.org/inventory/Check-Plugins/Software/Misc/check_cups_queue Regards Sebastian -- ------------------------------------------------------------ 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 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Thu Nov 5 12:40:27 2009 From: flyinvap at orange.fr (Flyinvap) Date: Thu, 5 Nov 2009 12:40:27 +0100 Subject: normal_check_interval in second ? In-Reply-To: <4AF2AA74.9000609@infoservices.in> References: <4AF2AA74.9000609@infoservices.in> Message-ID: <20091105124027.5480396b@orange.fr> Le Thu, 05 Nov 2009 16:05:32 +0530, "J. Bakshi" a ?crit : > How can I define the interval in seconds ? . Default value is 60 seconds for interval_lenght. So if your normal_check_interval is 5, nagios will check every 60sec * 5 = 300 seconds. Has somebody read the doc before posting ? -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Nov 5 13:13:22 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Nov 2009 06:13:22 -0600 Subject: can nagios discover active IPs in LAN environment ? In-Reply-To: <4AF2AFAF.2050407@infoservices.in> References: <4AF28E2A.5040308@infoservices.in> <4AF2AA4D.8010008@hp.com> <4AF2AFAF.2050407@infoservices.in> Message-ID: <94F5E3F2-40D1-4B1D-86AD-39C226DF22D7@ena.com> On Nov 5, 2009, at 4:57 AM, J. Bakshi wrote: > nmap is more than an IP discover tool. I am looking for such a simple > tool which can be integrated with nagios and simply point out the > active machine in the lan. I wonder if there is any third party script > which can do it with nagios. Google for 'nagios nmap' or search one of the well known Nagios Exchange points (http://exchange.nagios.org). -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jtata at gpworldwide.com Thu Nov 5 16:35:49 2009 From: jtata at gpworldwide.com (Tata, Joseph) Date: Thu, 5 Nov 2009 10:35:49 -0500 Subject: Problem with check_http Message-ID: I am in the process of deploying a new Nagios installation running version 3.2. I currently have v2.7 running on another machine and have imported my config to the 3.2 server using NagiosQL. So far almost everything works, but I'm having a problem with any commands which use the "check_http" option. We have a number of web applications which I'm checking with various custom commands. These commands usually check a specific javascript page on the target server which queries the site's database back end and returns "OK" if everything is working (this lets me ensure that the webserver is able to access the database as well as serve web requests). My command syntax is: ./check_http -H -S -u '' -s OK -w 20 -c 30 -t 40 This works completely fine on my 2.7 server, but always returns "Connection refused HTTP CRITICAL - Unable to open TCP socket" when run from the 3.2 server against the same target. Any idea what could be going on here? Thanks -Joseph -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 5 19:13:26 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 05 Nov 2009 10:13:26 -0800 Subject: Problem with check_http In-Reply-To: References: Message-ID: <4AF315C6.70907@hp.com> Tata, Joseph wrote: > I am in the process of deploying a new Nagios installation running > version 3.2. I currently have v2.7 running on another machine and > have imported my config to the 3.2 server using NagiosQL. So far > almost everything works, but I'm having a problem with any commands > which use the "check_http" option. > We have a number of web applications which I'm checking with various > custom commands. These commands usually check a specific javascript > page on the target server which queries the site's database back end > and returns "OK" if everything is working (this lets me ensure that > the webserver is able to access the database as well as serve web > requests). > > My command syntax is: > > ./check_http -H -S -u ' page>' -s OK -w 20 -c 30 -t 40 > This works completely fine on my 2.7 server, but always returns > "Connection refused HTTP CRITICAL - Unable to open TCP socket" when > run from the 3.2 server against the same target. > > Any idea what could be going on here? The most likely cause I can think of would be a routing misconfiguration on the new box. Can you telnet to the application port (from that check definition, apparently 443) at the target host's address from that host? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 5 19:09:40 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 05 Nov 2009 10:09:40 -0800 Subject: nagios3 does not honor -t value In-Reply-To: <4AF2ABE3.6060907@infoservices.in> References: <4AF2ABE3.6060907@infoservices.in> Message-ID: <4AF314E4.3020500@hp.com> J. Bakshi wrote: > Dear list, > > socket time out problem reappeared in my nagios after upgrading to > nagios3. It reports > > ```````````````````` > CRITICAL - Socket timeout after 10 seconds > ```````````````````` > > Though for that particular service I have already " -t 30" enabled. It > seems nagios3 does not honor the -t any more. Any clue ? Nagios definitely honors timeouts. There are at least two you need to consider: the one you're passing your plugin, and the global setting in nagios.cfg under service_check_timeout. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardodelgadoar at yahoo.com.ar Thu Nov 5 19:32:34 2009 From: ricardodelgadoar at yahoo.com.ar (Ricardo Delgado) Date: Thu, 5 Nov 2009 10:32:34 -0800 (PST) Subject: check snmp with diferent community not work Message-ID: <988474.94696.qm@web33402.mail.mud.yahoo.com> Hi all, when configure 2 o more UPS with the same community it's work's fine, but when i add UPS with other community, it's not work. any ideas? #Servicio para chequear via snmp tiempo total sin apagar define service{ use generic-service hostgroup_name ups service_description SYSTEM UP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_snmp!.1.3.6.1.2.1.1.3.0 } then in each host CONFIGURACION UPS1.CFG define host{ use generic-host ; Name of host template to use host_name UPS EDIF address 10.14.12.106 hostgroups ups notes_url http://10.14.12.106 } define hostgroup{ hostgroup_name ups alias ups } #aqui especifico el comando por snmp define command{ command_name check_snmp command_line /usr/local/nagios/libexec/check_snmp -C comun1 -H $HOSTADDRESS$ -o $ARG1$ } CONFIGURACION UPS2.CFG define host{ use generic-host ; Name of host template to use host_name UPS2 EDIF address 10.14.12.107 hostgroups ups notes_url http://10.14.12.107 } #aqui especifico el comando por snmp define command{ # command_name check_snmp command_line /usr/local/nagios/libexec/check_snmp -C comun1 -H $HOSTADDRESS$ -o $ARG1$ } this is an example to add other host with a diferent community, and not work!! ##CONFIGURATION UPS3.CFG define host{ use generic-host ; Name of host template to use host_name UPS3 EDIF address 10.14.12.187 hostgroups ups notes_url http://10.14.12.187 } #aqui especifico el comando por snmp define command{ # command_name check_snmp command_line /usr/local/nagios/libexec/check_snmp -C publica -H $HOSTADDRESS$ -o $ARG1$ } I try changing the order in the parameters 1.- -H $HOSTADDRESS$ -C publica -o $ARG1$ For 2.- -H $HOSTADDRESS$ -o $ARG1$ -C publica ----------------------------------- \|||||||/ ( @ @ ) ------oOOo-( )---oOOo-------- | Ricardo Delgado | | | |http://delgado.homelinux.net| | | | | | | | | ---------------0ooo--------- ooo0 ( ) ( ) ) / \ ( (_/ \_) Por Favor, no hagas Top Posting http://es.wikipedia.org/wiki/Top-posting Por Favor, sin formato html http://es.wikipedia.org/wiki/Netiquette Sin formatos propietarios. Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Nov 5 19:59:28 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Nov 2009 12:59:28 -0600 Subject: Problem with check_http In-Reply-To: References: Message-ID: <37ABB215-AB99-4D3E-B0E7-5E602DFCD9FD@ena.com> On Nov 5, 2009, at 9:35 AM, Tata, Joseph wrote: > My command syntax is: > > ./check_http -H -S -u ' page>' -s OK -w 20 -c 30 -t 40 > This works completely fine on my 2.7 server, but always returns > "Connection refused HTTP CRITICAL - Unable to open TCP socket" when > run from the 3.2 server against the same target. > > Any idea what could be going on here? We really don't have enough information to do anything but guess. An educated one would be that there doesn't appear to be a daemon listing on port 80 on . My speculation is either that the command definitions are different between the two versions (or your test) or the -H parameter is different between them (i.e. define host { address xxx.xxx.xxx.xxx } is different or the macro you're using in the command definitions is different.) You could also have a firewall preventing that connection but you don't mention it being present. At the very least you're trying to connect via SSL (-S) to port 80 (HTTP), which is extremely unusual. Is that a special server configuration you've created? As you can see, at the minimum posting real, complete definitions are necessary to tell you what's going on. Grab them from objects.cache and also working/non-working log entries from nagios.log. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbayles at readytechs.com Thu Nov 5 21:03:01 2009 From: jbayles at readytechs.com (Jonathan Bayles) Date: Thu, 5 Nov 2009 15:03:01 -0500 Subject: Getting very close In-Reply-To: <37ABB215-AB99-4D3E-B0E7-5E602DFCD9FD@ena.com> References: <37ABB215-AB99-4D3E-B0E7-5E602DFCD9FD@ena.com> Message-ID: <386FCF83D8086E4A89655E41CD3B53D32A55C5A86D@rtexch01> Marc, Thank you for pointing me to the distributed doc and for your explanations. I feel I am very close. Right now if I run: /usr/local/nagios/libexec/eventhandlers/submit_check_result Athena 'PING' OK 'qwrweewfkljewfglkjwegjlwejglwjeglkjwegkwleg' >From the distributed server it outputs correctly in the master server. I understand this to mean that the remote server is correct or close enough, and the NSCA pipe is correct. However, even with obsess and oscp_command set properly in the nagios.conf file on the distributed server the checks don't seem to be motivated to travel across. Do I need to setup a differen't service class with specific options to motivate the data across the NSCA pipe? What is the process flow of obsess? -----Original Message----- From: Marc Powell [mailto:marc at ena.com] Sent: Thursday, November 05, 2009 1:59 PM To: Nagios-Users Mailinglist Subject: Re: [Nagios-users] Problem with check_http On Nov 5, 2009, at 9:35 AM, Tata, Joseph wrote: > My command syntax is: > > ./check_http -H -S -u ' page>' -s OK -w 20 -c 30 -t 40 > This works completely fine on my 2.7 server, but always returns > "Connection refused HTTP CRITICAL - Unable to open TCP socket" when > run from the 3.2 server against the same target. > > Any idea what could be going on here? We really don't have enough information to do anything but guess. An educated one would be that there doesn't appear to be a daemon listing on port 80 on . My speculation is either that the command definitions are different between the two versions (or your test) or the -H parameter is different between them (i.e. define host { address xxx.xxx.xxx.xxx } is different or the macro you're using in the command definitions is different.) You could also have a firewall preventing that connection but you don't mention it being present. At the very least you're trying to connect via SSL (-S) to port 80 (HTTP), which is extremely unusual. Is that a special server configuration you've created? As you can see, at the minimum posting real, complete definitions are necessary to tell you what's going on. Grab them from objects.cache and also working/non-working log entries from nagios.log. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbayles at readytechs.com Thu Nov 5 21:05:41 2009 From: jbayles at readytechs.com (Jonathan Bayles) Date: Thu, 5 Nov 2009 15:05:41 -0500 Subject: Distributed monitoring question: obsess process flow References: <37ABB215-AB99-4D3E-B0E7-5E602DFCD9FD@ena.com> Message-ID: <386FCF83D8086E4A89655E41CD3B53D32A55C5A86F@rtexch01> Sorry list, I treated my last post as an email and did not observe proper list-fu! Marc, Thank you for pointing me to the distributed doc and for your explanations. I feel I am very close. Right now if I run: /usr/local/nagios/libexec/eventhandlers/submit_check_result Athena 'PING' OK 'qwrweewfkljewfglkjwegjlwejglwjeglkjwegkwleg' >From the distributed server it outputs correctly in the master server. I understand this to mean that the remote server is correct or close enough, and the NSCA pipe is correct. However, even with obsess and oscp_command set properly in the nagios.conf file on the distributed server the checks don't seem to be motivated to travel across. Do I need to setup a differen't service class with specific options to motivate the data across the NSCA pipe? What is the process flow of obsess? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 flatto.net Thu Nov 5 21:09:48 2009 From: nagios at flatto.net (Assaf Flatto) Date: Thu, 05 Nov 2009 20:09:48 +0000 Subject: [SPAM] Re: check snmp with diferent community not work In-Reply-To: <988474.94696.qm@web33402.mail.mud.yahoo.com> References: <988474.94696.qm@web33402.mail.mud.yahoo.com> Message-ID: <4AF3310C.8000900@flatto.net> Ricardo Delgado wrote: > Hi all, when configure 2 o more UPS with the same community it's work's fine, but when i add UPS with other community, it's not work. > any ideas? > > > #Servicio para chequear via snmp tiempo total sin apagar > > > define service{ > use generic-service > > hostgroup_name ups > service_description SYSTEM UP > > is_volatile 0 > check_period 24x7 > > max_check_attempts 3 > normal_check_interval 5 > > retry_check_interval 1 > contact_groups admins > notification_interval 0 > > notification_period 24x7 > notification_options c,r > check_command check_snmp!.1.3.6.1.2.1.1.3.0 > } > > > then in each host > > CONFIGURACION UPS1.CFG > > > define host{ > use generic-host ; Name of host > > template to use > host_name UPS EDIF > > address 10.14.12.106 > > hostgroups ups > > notes_url http://10.14.12.106 > } > > > define hostgroup{ > hostgroup_name ups > alias ups > > } > > #aqui especifico el comando por snmp > > > define command{ > command_name check_snmp > > command_line /usr/local/nagios/libexec/check_snmp -C comun1 -H > $HOSTADDRESS$ -o $ARG1$ > } > > > CONFIGURACION UPS2.CFG > > > define host{ > use generic-host ; Name of host > > template to use > host_name UPS2 EDIF > address 10.14.12.107 > hostgroups ups > notes_url http://10.14.12.107 > > } > > > #aqui especifico el comando por snmp > > > define command{ > # command_name check_snmp > > command_line /usr/local/nagios/libexec/check_snmp -C comun1 -H > $HOSTADDRESS$ -o $ARG1$ > } > > > > this is an example to add other host with a diferent community, and not work!! > > ##CONFIGURATION UPS3.CFG > > > define host{ > use generic-host ; Name of host > > template to use > host_name UPS3 EDIF > address 10.14.12.187 > hostgroups ups > notes_url http://10.14.12.187 > > } > > > #aqui especifico el comando por snmp > > > define command{ > # command_name check_snmp > > command_line /usr/local/nagios/libexec/check_snmp -C publica -H > $HOSTADDRESS$ -o $ARG1$ > } > > > I try changing the order in the parameters > > 1.- -H $HOSTADDRESS$ -C publica -o $ARG1$ > > For > > 2.- -H $HOSTADDRESS$ -o $ARG1$ -C publica > > What is the error that you are getting ? this will help know where the issue is . Is the community string correct is the UPS restricting access by IP ? what version of SNMP the UPS is using ? Assaf ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marc at ena.com Thu Nov 5 22:03:07 2009 From: marc at ena.com (Marc Powell) Date: Thu, 5 Nov 2009 15:03:07 -0600 Subject: check snmp with diferent community not work In-Reply-To: <988474.94696.qm@web33402.mail.mud.yahoo.com> References: <988474.94696.qm@web33402.mail.mud.yahoo.com> Message-ID: On Nov 5, 2009, at 12:32 PM, Ricardo Delgado wrote: > Hi all, when configure 2 o more UPS with the same community it's > work's fine, but when i add UPS with other community, it's not work. > any ideas? > define service{ > use generic-service > hostgroup_name ups This service is applied to every host in the 'ups' hostgroup. All hosts in this group use the same check_snmp command definition and must share the same snmp community based on your definitions below (comun1). > service_description SYSTEM UP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups admins > notification_interval 0 > notification_period 24x7 > notification_options c,r > check_command check_snmp!.1.3.6.1.2.1.1.3.0 > } > check_command check_snmp!.1.3.6.1.2.1.1.3.0 This service uses the check_snmp command definition. > define command{ > command_name check_snmp > > command_line /usr/local/nagios/libexec/check_snmp -C > comun1 -H $HOSTADDRESS$ -o $ARG1$ > } Your check_snmp command definition above has a hard-coded community if 'comun1'. With this configuration, this is the only community that will work with this command definition and hence, the only community that will work for all hosts in the 'ups' hostgroup. > define command{ > # command_name check_snmp > > command_line /usr/local/nagios/libexec/check_snmp -C > comun1 -H $HOSTADDRESS$ -o $ARG1$ > } This is a malformed command definition. It has no command_name. I'm surprised that nagios starts with this configuration (does it really?) > this is an example to add other host with a diferent community, and > not work!! > ##CONFIGURATION UPS3.CFG > > > define host{ > use generic-host ; Name of host > > template to use > host_name UPS3 EDIF > address 10.14.12.187 > hostgroups ups > notes_url http://10.14.12.187 > > } Where's the reference to the check_snmp command? The host doesn't appear to have a check_command at all. > #aqui especifico el comando por snmp > > > define command{ > # command_name check_snmp > > command_line /usr/local/nagios/libexec/check_snmp -C > publica -H $HOSTADDRESS$ -o $ARG1$ > } Again, this is a malformed command definition. It has no command_name. I'm surprised that nagios starts with this configuration (does it really?) You appear to be missing a few fundamental concepts. I recommend reading the documentation but generally -- - host and service definitions reference command definition via the check_command parameter. Nagios looks at the command_line for the command definition with that command_name to determine what shell command it should run. - all command{} definitions must have unique command_names. I presume you had problems with nagios complaining about duplicate command names so you decided to comment out the command_names in those duplicate definitions. If nagios actually starts like that, it renders them unusable because you can't reference them. - instead of creating unique command definitions for each snmp community, you can pass it from the host definition just as you're passing the $ARG1$ parameter from the service definition. This can simplify your reuse of the same command definition for similar checks. For example -- define command{ command_name check_snmp command_line /usr/local/nagios/libexec/check_snmp -C $_HOSTSNMP_COMMUNITY$ -H $HOSTADDRESS$ -o $ARG1$ } define service{ use generic-service hostgroup_name ups service_description SYSTEM UP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_snmp!.1.3.6.1.2.1.1.3.0 } define host{ use generic-host ; Name of host template to use host_name UPS EDIF address 10.14.12.106 hostgroups ups notes_url http://10.14.12.106 _SNMP_community comun1 } define host{ use generic-host ; Name of host template to use host_name UPS2 EDIF address 10.14.12.107 hostgroups ups notes_url http://10.14.12.107 _SNMP_community publica } -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Nov 6 00:17:55 2009 From: td3201 at gmail.com (Terry) Date: Thu, 5 Nov 2009 17:17:55 -0600 Subject: problems with service escalations Message-ID: <8ee061010911051517g449d0bd8y1ca50ebb5187df9c@mail.gmail.com> I am having a problem configuration service escalations. Here's what I want: - all notifications go to the contact configured in the service/host - first notification only to go to support at domain.com - second to infinity to go to domain_secondary contactgroup - fourth to infinity to go to domain_tertiary contactgroup Here are my service escalations: define serviceescalation{ hostgroup_name z-allhosts service_description .* contacts support at domain.com first_notification 1 last_notification 1 notification_interval 30 escalation_options w,u,c } # secondary on call define serviceescalation{ hostgroup_name z-allhosts service_description .* contact_groups domain_secondary first_notification 2 last_notification 0 notification_interval 30 escalation_options w,u,c,r } # tertiary on call define serviceescalation{ hostgroup_name z-allhosts service_description .* contact_groups domain_tertiary first_notification 4 last_notification 0 notification_interval 30 escalation_options w,u,c,r } I can't seem to get it working correctly. I am also confused about how the primary contact (configured in the service) gets notified when there are escalations in place. Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 6 02:37:45 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 05 Nov 2009 17:37:45 -0800 Subject: problems with service escalations In-Reply-To: <8ee061010911051517g449d0bd8y1ca50ebb5187df9c@mail.gmail.com> References: <8ee061010911051517g449d0bd8y1ca50ebb5187df9c@mail.gmail.com> Message-ID: <4AF37DE9.3010900@hp.com> Terry wrote: > I am having a problem configuration service escalations. > > Here's what I want: > - all notifications go to the contact configured in the service/host > - first notification only to go to support at domain.com > - second to infinity to go to domain_secondary contactgroup > - fourth to infinity to go to domain_tertiary contactgroup > > Here are my service escalations: > > define serviceescalation{ > hostgroup_name z-allhosts > service_description .* > contacts support at domain.com > first_notification 1 > last_notification 1 > notification_interval 30 > escalation_options w,u,c > } > # secondary on call > define serviceescalation{ > hostgroup_name z-allhosts > service_description .* > contact_groups domain_secondary > first_notification 2 > last_notification 0 > notification_interval 30 > escalation_options w,u,c,r > } > # tertiary on call > define serviceescalation{ > hostgroup_name z-allhosts > service_description .* > contact_groups domain_tertiary > first_notification 4 > last_notification 0 > notification_interval 30 > escalation_options w,u,c,r > } > > I can't seem to get it working correctly. I am also confused about > how the primary contact (configured in the service) gets notified when > there are escalations in place. If you're using Nagios 3, sticking a "+" in front of the contact groups in your escalation definitions will make them additive, and should do what you want. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mgius at createspace.com Fri Nov 6 03:49:03 2009 From: mgius at createspace.com (Mark Gius) Date: Thu, 05 Nov 2009 18:49:03 -0800 Subject: Escalate after X warnings or criticals Message-ID: <4AF38E9F.7000305@createspace.com> Currently, service notifications contain "first/last_notification" directives, that specify the range of notifications that the escalation should apply to. This method of escalation has a weakness however. At my work, we let warnings go to the default contact (which happens to be email), and escalate to a pager chain on critical. However, if a service sits in WARNING for a length of time (which is likely to happen in the middle of the night), by the time the service enters a CRITICAL state the notification count exceeds our highest escalation, and our entire team gets paged immediately. What I'd like to see is the ability to distinguish between a WARNING notification and a CRITICAL notification in the escalation, and set up escalation chains that work based on the number of CRITICAL's that have been sent, as opposed to the total number of notifications. I am planning on patching nagios to support this behavior if there isn't a way to achieve this behavior with the current implementation. My plan is to add a warning/critical count to service, add a first/last warning/critical state to service escalations, and add the directives "(first|last)_(warning|critical)_notification" to the service escalation configs. The idea is also to keep the current behavior (notification_count and first/last_notification would still be present), but allow finer grained control over when escalations are sent out. This way if somebody didn't want to use the finer grained control their behavior would stay the same. My current plan is to match the escalation if _any_ of the 3 notification ranges match (all/warning/critical). Any advice on making this behavior happen with Nagios as-is, or suggestions/advice on the implementation are welcome. -Gius ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwilliams at zynga.com Fri Nov 6 06:05:05 2009 From: bwilliams at zynga.com (Brandon Williams) Date: Thu, 5 Nov 2009 21:05:05 -0800 Subject: check snmp interface monitoring Message-ID: <5ABA0A5E6C0BC24684711749DE0E90BE949A02@EX-MB-CLUS-01.corp.zynga.com> I want to setup Nagios to send out a alert when a interface is down. I am having a problem setting the critical threshold. This is what I am using right now ./check_snmp -c1 -H x.x.x.x -P 2c -C public -o ifAdminStatus.1 SNMP OK - 1 | IF-MIB::ifAdminStatus.1=1 I was trying to have it go critical if the returned value is 1. This was just a test to see if it would give me a critical for being up. Any ideas on what I am doing wrong? 1=up 2=down 3=testing Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 6 09:20:55 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 06 Nov 2009 00:20:55 -0800 Subject: check snmp interface monitoring In-Reply-To: <5ABA0A5E6C0BC24684711749DE0E90BE949A02@EX-MB-CLUS-01.corp.zynga.com> References: <5ABA0A5E6C0BC24684711749DE0E90BE949A02@EX-MB-CLUS-01.corp.zynga.com> Message-ID: <4AF3DC67.3000309@hp.com> Brandon Williams wrote: > > > > I want to setup Nagios to send out a alert when a interface is down. > I am having a problem setting the critical threshold. This is what I > am using right now > > > > ./check_snmp -c1 ?H x.x.x.x ?P 2c ?C public ?o ifAdminStatus.1 > > > > SNMP OK - 1 | IF-MIB::ifAdminStatus.1=1 > > > > I was trying to have it go critical if the returned value is 1. This > was just a test to see if it would give me a critical for being up. > Any ideas on what I am doing wrong? > > > > 1=up > > 2=down > > 3=testing > > > check_snmp requires a range for the warning and critical thresholds. It's explained near the bottom when you do "check_snmp -h" ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Fri Nov 6 11:05:36 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Fri, 06 Nov 2009 11:05:36 +0100 Subject: Need help with configuration of NRPE ! Message-ID: <1257501936.7190.22.camel@jonas.jocan.local> I'm having a lot of difficulty with a plugin that monitors SIP peers on my Asterisk-server. I've been breaking my head for about a week now... This is the configuration of NRPE : [nagios at vps ~]$ vi /etc/xinetd.d/nrpe # default: on # description: NRPE (Nagios Remote Plugin Executor) service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 ip_nagios } These are the rights of the nagios-user on the plugin : [nagios at vps ~]$ ls -l /usr/local/nagios/libexec/nagisk.pl -rwxr-x--- 1 nagios nagios 4163 Nov 2 17:12 /usr/local/nagios/libexec/nagisk.pl This is the sudoers-file : nagios ALL= (root) NOPASSWD: /usr/local/nagios/libexec/nagisk.pl This is the nrpe.cfg-file : command[check_asterisk_peers]=sudo /usr/local/nagios/libexec/nagisk.pl -c peers These are the results of my configuration : [nagios at vps ~]$ /usr/local/nagios/libexec/nagisk.pl -c peers [nagios at vps ~]$ [nagios at vps ~]$ sudo /usr/local/nagios/libexec/nagisk.pl -c peers 4 sip peers [Monitored: 3 online, 1 offline Unmonitored: 0 online, 0 offline] [nagios at vps ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 [nagios at vps ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c check_asterisk_peers NRPE: Unable to read output [nagios at vps ~]$ sudo /usr/local/nagios/libexec/check_nrpe -H localhost -c check_asterisk_peers Password: Sorry, user nagios is not allowed to execute '/usr/local/nagios/libexec/check_nrpe -H localhost -c check_asterisk_peers' as root on vps.domain.tld. What do I need to do to make the NRPE work ???????? If I can't get it to work on localhost, it will definitely not work on Nagios checking the remote Asterisk-server. Please help me with the correct configuration of NRPE and my nagisk-plugin. Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ricardodelgadoar at yahoo.com.ar Fri Nov 6 14:20:07 2009 From: ricardodelgadoar at yahoo.com.ar (Ricardo Delgado) Date: Fri, 6 Nov 2009 05:20:07 -0800 (PST) Subject: check snmp with diferent community not work In-Reply-To: References: Message-ID: <442614.20526.qm@web33408.mail.mud.yahoo.com> Hi marc Please, can you send me a url or example about how use and define snmp? I sent a email days ago with my doubts [Nagios-users] using snmp oid --************* mail sent ***************-- Hi, i need use snmp to monitoring ups i define 1.- in SERVICES_NAGIOS2.CFG define service{ use generic-service host_name my-ups service_description Uptime is_volatile 0 check_period 24x7 max_check_attempts 4 normal_check_interval 8 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_snmp!.1.3.6.1.2.1.1.3.0 # OID uptime } in COMMANDS.CFG define command{ command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -C readonly -o $ARG1$ } in each ups ej UPS1.CFG? define service{ use generic-service ; Name of service template to use host_name UPS1 service_description UPTIME check_command check_snmp } Is correct? --*************End of mail sent ***************-- I?m reading the documentation from this links http://nagios.sourceforge.net/docs/nagios-3.pdf http://conshell.net/wiki/index.php/Using_Nagios_with_SNMP http://nagioses.blogspot.com/2009/03/snmp.html http://www.google.com.ar/search?hl=es&q=nagios+snmp&meta= Best regards ----------------------------------- \|||||||/ ( @ @ ) ------oOOo-( )---oOOo-------- | Ricardo Delgado | | | |http://delgado.homelinux.net| | | | | | | | | ---------------0ooo--------- ooo0 ( ) ( ) ) / \ ( (_/ \_) Por Favor, no hagas Top Posting http://es.wikipedia.org/wiki/Top-posting Por Favor, sin formato html http://es.wikipedia.org/wiki/Netiquette Sin formatos propietarios. Yahoo! Cocina Encontra las mejores recetas con Yahoo! Cocina. http://ar.mujer.yahoo.com/cocina/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 6 14:50:52 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Nov 2009 07:50:52 -0600 Subject: Need help with configuration of NRPE ! In-Reply-To: <1257501936.7190.22.camel@jonas.jocan.local> References: <1257501936.7190.22.camel@jonas.jocan.local> Message-ID: On Nov 6, 2009, at 4:05 AM, jonas kellens wrote: > [nagios at vps ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost -c > check_asterisk_peers > NRPE: Unable to read output Enable NRPE debug mode and look in /var/log/messages for errors. Ensure that you do not have the sudoers option 'requiretty' enabled. > [nagios at vps ~]$ sudo /usr/local/nagios/libexec/check_nrpe -H > localhost -c check_asterisk_peers > Password: > Sorry, user nagios is not allowed to execute '/usr/local/nagios/ > libexec/check_nrpe -H localhost -c check_asterisk_peers' as root on > vps.domain.tld. This is expected to break. You didn't add /usr/local/nagios/libexec/ check_nrpe to the sudoers file (that you've shown), nor should you need/want to. Don't use sudo here. > What do I need to do to make the NRPE work ???????? Take a deep breath... We're happy to help get non-standard plugins working if we can. With what you've posted so far, NRPE seems to be properly configured and you might just have a problem with sudo or your custom plugin. sudo can be finicky. > If I can't get it to work on localhost, it will definitely not work > on Nagios checking the remote Asterisk-server. I can think of several reasons off-hand why this statement wouldn't be true, not least of which is your test above ;) As a general rule though, it's ok. =) > Please help me with the correct configuration of NRPE and my nagisk- > plugin. NRPE, probably; nagisk-plugin, maybe not so much since we don't know where you got it, how it works or what it's requirements are. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Fri Nov 6 14:56:42 2009 From: mmelin at gmail.com (Martin Melin) Date: Fri, 6 Nov 2009 14:56:42 +0100 Subject: Escalate after X warnings or criticals In-Reply-To: <4AF38E9F.7000305@createspace.com> References: <4AF38E9F.7000305@createspace.com> Message-ID: The existing escalation_options directive in escalation definitions will likely get you this behavior without the need for a patch. http://nagios.sourceforge.net/docs/3_0/escalations.html - see the very bottom of this page as well as the object definition documentation for escalation_options. Regards, Martin Melin On Fri, Nov 6, 2009 at 3:49 AM, Mark Gius wrote: > Currently, service notifications contain "first/last_notification" > directives, that specify the range of notifications that the escalation > should apply to. This method of escalation has a weakness however. > > At my work, we let warnings go to the default contact (which happens to > be email), and escalate to a pager chain on critical. However, if a > service sits in WARNING for a length of time (which is likely to happen > in the middle of the night), by the time the service enters a CRITICAL > state the notification count exceeds our highest escalation, and our > entire team gets paged immediately. > > What I'd like to see is the ability to distinguish between a WARNING > notification and a CRITICAL notification in the escalation, and set up > escalation chains that work based on the number of CRITICAL's that have > been sent, as opposed to the total number of notifications. > > I am planning on patching nagios to support this behavior if there isn't > a way to achieve this behavior with the current implementation. My plan > is to add a warning/critical count to service, add a first/last > warning/critical state to service escalations, and add the directives > "(first|last)_(warning|critical)_notification" to the service escalation > configs. The idea is also to keep the current behavior > (notification_count and first/last_notification would still be present), > but allow finer grained control over when escalations are sent out. > This way if somebody didn't want to use the finer grained control their > behavior would stay the same. My current plan is to match the > escalation if _any_ of the 3 notification ranges match > (all/warning/critical). > > Any advice on making this behavior happen with Nagios as-is, or > suggestions/advice on the implementation are welcome. > > -Gius > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Fri Nov 6 15:01:34 2009 From: mmelin at gmail.com (Martin Melin) Date: Fri, 6 Nov 2009 15:01:34 +0100 Subject: Restarts resetting soft critical states In-Reply-To: References: <4AEECA46.2060708@op5.se> Message-ID: Hi Mark, Sorry, was caught up with other stuff so couldn't reply to this. It looks like your retention settings are fine. It would be interesting if you were able to recreate the problem, but my guess is that it probably requires the special circumstances of your production environment, so this may not be prudent. Nagios will write retention.dat on every clean shutdown and every $retention_interval minutes. Your logs look like Nagios did a clean shutdown, but maybe it for some reason didn't write retention.dat. In any case, I can't really see anything wrong here, but if I have time I'm going to see if I can replicate the behavior you experienced. Best regards, Martin Melin On Wed, Nov 4, 2009 at 4:10 AM, Frost, Mark {PBG} wrote: > > > >From: Martin Melin [mailto:mmelin at gmail.com] > >Sent: Tuesday, November 03, 2009 4:05 PM > >To: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Restarts resetting soft critical states > > > >> On Tue, Nov 3, 2009 at 9:35 PM, Frost, Mark {PBG} < > mark.frost1 at pepsi.com> wrote: > >> > >> > >>-----Original Message----- > >>>From: Andreas Ericsson [mailto:ae at op5.se] > >>>Sent: Monday, November 02, 2009 7:02 AM > >>>To: Frost, Mark {PBG} > >>>Cc: nagios-users at lists.sourceforge.net > >>>Subject: Re: [Nagios-users] Restarts resetting soft critical states > >>> > >>>> On 10/29/2009 08:50 PM, Frost, Mark {PBG} wrote: > >>>> > >>>> Both the reporting server and the distributed node share the same > >>>> attributes for retention and soft states: > >>>> > >>>> soft_state_dependencies=0 > >>>> passive_host_checks_are_soft=1 > >>>> retain_state_information=1 > >>>> use_retained_program_state=1 > >>>> use_retained_scheduling_info=1 > >>>> retained_host_attribute_mask=0 > >>>> retained_service_attribute_mask=0 > >>>> retained_process_host_attribute_mask=0 > >>>> retained_process_service_attribute_mask=0 > >>>> retained_contact_host_attribute_mask=0 > >>>> retained_contact_service_attribute_mask=0 > >>>> > >>>> While I would assume the restarts would disrupt Nagios a bit what with > >>>> having to do start-time tasks again, I would not have expected that it > >>>> would "start over" with the status of some checks. > >>>> > >>>> What am I missing here? > >>> > >>> > >>> It seems you haven't grasped how bitmasks work. When you set the mask > to > >>> 0, > >>> you essentially tell it to not let anything through. Set them to -1, or > >>> leave them at the default values and you'll get the kind of state > >>> retention > >>> you want. > >> > >> Thanks, Andreas. Unfortunately, I'm still puzzled. The mask values you > refer to are > >> already set to the defaults (they're all 0's). I've never touched those > or paid much > >> attention to them until now. > >> > >> I'm actually confused by 2 aspects of this. It seems to me that the > thing I'm trying to >> retain across a restart are soft check states (those > are what are being reset). Looking >> at the MODATTR arguments in > include/common.h (3.0.6) I don't see which of those > >> attributes >would govern this. There's the *ENABLED attributes which > really aren't > >> changing here (and >are retained). All the other MODATTR's are (it > seems to me) not > >> changing in this case >either. > >> > >> The second thing that confuses me here is the verbage used to describe > the mask > >> functionality: > >> > >> # RETAINED ATTRIBUTE MASKS (ADVANCED FEATURE) > >> # The following variables are used to specify specific host and > >> # service attributes that should *not* be retained by Nagios > during > >> # program restarts. > >> > >> So if MODATTR is set to none, based on the comment doesn't this mean > that "NONE" of the >> attributes are NOT retained? I.e. all are retained > (double-negative)? The on-line doc >> for these masks say "By default, all > host and service attributes are retained." > >> > >> > > I don't know the source code behavior, but I agree with this and a > default nagios.cfg has > all of the masks set to zero, presumably to not > mask anything, i.e. to not affect what's > retained. > >> > >> > >> I do get masks, I just didn't see how these applied here. > >> > >> Your help is greatly appreciated. > >> > > I just did a quick experiment with the default values for *retain* > variables in > > nagios.cfg - which are exactly what you quote: > > > > [1257281477] SERVICE ALERT: localhost;File age;CRITICAL;SOFT;1;FILE_AGE > CRITICAL: File not found - /tmp/nagios > > [1257281597] SERVICE ALERT: localhost;File age;CRITICAL;SOFT;2;FILE_AGE > CRITICAL: File not found - /tmp/nagios > > [1257281604] Caught SIGTERM, shutting down... > > [1257281604] Successfully shutdown... (PID=9617) > > [1257281605] Nagios 3.0.6 starting... (PID=9721) > > [1257281605] Local time is Tue Nov 03 21:53:25 CET 2009 > > [1257281605] LOG VERSION: 2.0 > > [1257281605] Finished daemonizing... (New PID=9722) > > [1257281715] SERVICE ALERT: localhost;File age;CRITICAL;HARD;3;FILE_AGE > CRITICAL: File >> not found - /tmp/nagios > > > > Everything works as expected. > > > > I'm guessing you have some other issue that's affecting Nagios' ability > to save retention data. > > > > What's the value of state_retention_file and retention_update_interval > for you? > > > > Have you checked that state_retention_file is updated when Nagios runs, > that you're not close to capacity of the disk or that something basic like > that is going on? > > > > Open up the file and grab the definition for the service in question, see > what values are being saved. > > > > HTH, > > > > Regards, > > Martin Melin > > Martin, > > state_retention_file=/usr/local/eam/nagios/var/retention.dat > retention_update_interval=60 > > I see that retention.dat was updated when I restarted Nagios maybe 20 > minutes ago. I just tested disabling notifications for a check, but I guess > based on my retention_update_interval I won't see the retention.dat file > change for another 40 minutes. > > Nagios monitors the filesystem itself (ie. Nagios watches itself), but the > filesystem it resides on is at 35% with 12GB free. If there were a problem > with that or some other essential operation of Nagios, I think I'd see some > other problem. In this case, I think an unusual set of circumstances were > at play -- I was restarting Nagios every few minutes while a host was in the > process of failing host checks as reported by the distributed nodes. Never > seen that before, but also probably never happened to do it that way either. > > Looking at this item in retention.dat (it's a host check that we had this > issue with, not a service check). This might not be all that useful as this > issue isn't happening at the moment. At present, I see the following of > interest > > last_state=0 > last_hard_state=0 > current_attempt=1 > max_attempts=10 > state_history=0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 > > I assume perhaps that "last_state" might mean last soft state. It would be > interesting to see this value if I could find a practical way to replicate > this condition. I would also expect current_attempt to be higher than 1 and > the state_history to show some non-OK states while this issue was happening. > As I say, I'd have to see these values while this was changing. > > Thanks > > Mark > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbayles at readytechs.com Fri Nov 6 15:50:52 2009 From: jbayles at readytechs.com (Jonathan Bayles) Date: Fri, 6 Nov 2009 09:50:52 -0500 Subject: Possible correction to documentation. In-Reply-To: References: <1257501936.7190.22.camel@jonas.jocan.local> Message-ID: <386FCF83D8086E4A89655E41CD3B53D32A55C5A88F@rtexch01> I was able to get my setup working. I noticed in the distributed doc http://nagios.sourceforge.net/docs/1_0/distributed.html define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } Should probably be: define command{ command_name submit_check_result command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' } The change being $OUTPUT$ to $SERVICEOUTPUT$. This seemed to fix things for me. Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Fri Nov 6 15:55:41 2009 From: mmelin at gmail.com (Martin Melin) Date: Fri, 6 Nov 2009 15:55:41 +0100 Subject: Possible correction to documentation. In-Reply-To: <386FCF83D8086E4A89655E41CD3B53D32A55C5A88F@rtexch01> References: <1257501936.7190.22.camel@jonas.jocan.local> <386FCF83D8086E4A89655E41CD3B53D32A55C5A88F@rtexch01> Message-ID: I'm guessing you're using Nagios 3, in which case make sure to read the 3.0 documentation: http://nagios.sourceforge.net/docs/3_0/distributed.html On Fri, Nov 6, 2009 at 3:50 PM, Jonathan Bayles wrote: > I was able to get my setup working. > > I noticed in the distributed doc > http://nagios.sourceforge.net/docs/1_0/distributed.html > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' > } > > > Should probably be: > > define command{ > command_name submit_check_result > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result $HOSTNAME$ > '$SERVICEDESC$' $SERVICESTATE$ '$SERVICEOUTPUT$' > } > > The change being $OUTPUT$ to $SERVICEOUTPUT$. This seemed to fix things for > me. > > Thanks! > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 6 16:35:16 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Nov 2009 09:35:16 -0600 Subject: Possible correction to documentation. In-Reply-To: <386FCF83D8086E4A89655E41CD3B53D32A55C5A88F@rtexch01> References: <1257501936.7190.22.camel@jonas.jocan.local> <386FCF83D8086E4A89655E41CD3B53D32A55C5A88F@rtexch01> Message-ID: <880D3E38-202B-47B3-A714-4EF263ADB035@ena.com> On Nov 6, 2009, at 8:50 AM, Jonathan Bayles wrote: > I was able to get my setup working. > > I noticed in the distributed doc http://nagios.sourceforge.net/docs/1_0/distributed.html 1.0 is about 6 years out-of-date and 2 major versions behind ;) -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Fri Nov 6 16:46:13 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Fri, 06 Nov 2009 16:46:13 +0100 Subject: Need help with configuration of NRPE ! In-Reply-To: References: <1257501936.7190.22.camel@jonas.jocan.local> Message-ID: <1257522373.11986.15.camel@jonas.jocan.local> On Fri, 2009-11-06 at 07:50 -0600, Marc Powell wrote: > Ensure that you do not have the sudoers option 'requiretty' enabled. Just this little tip offered me the solution. All works well now. Thank you ! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 6 18:24:05 2009 From: marc at ena.com (Marc Powell) Date: Fri, 6 Nov 2009 11:24:05 -0600 Subject: check snmp with diferent community not work In-Reply-To: <442614.20526.qm@web33408.mail.mud.yahoo.com> References: <442614.20526.qm@web33408.mail.mud.yahoo.com> Message-ID: <69686032-6964-4789-A7F9-0BECF16A36C7@ena.com> On Nov 6, 2009, at 7:20 AM, Ricardo Delgado wrote: > Hi marc > > Please, can you send me a url or example about how use and > define snmp? No, I don't have any that I can provide other than the example I provided yesterday based on what you're trying to do. I don't think your main problem is understanding how to use check_snmp, but more with understanding how the nagios config pieces go together to create a check. I could be wrong though. Specific questions about what you're confused about would be better than a blanket question that encompasses many parts of the published documentation (and concepts that come out of that). One thing that is wrong (but you're not that far along yet) is that you haven't told check_snmp what's good or bad about the result it will get from the .1.3.6.1.2.1.1.3.0 OID. It'll probably just report OK all the time if it gets any result at all. I will say that check_snmp is one of the more complicated plugins, mainly because SNMP itself is fairly complicated (and flexible) and the plugin needs to match that flexibility. You might consider googling for 'nagios check ups' and see if someone has already simplified checking the kind of UPS that you have. Several people here recommend the 'Nagios' book by Wolfgang Barth. I've never read it myself but they got a lot out of it. > I sent a email days ago with my doubts I responded to one yesterday ;) -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 smetj.net Fri Nov 6 18:29:00 2009 From: nagios at smetj.net (Jelle Smet) Date: Fri, 06 Nov 2009 18:29:00 +0100 Subject: =?utf-8?q?Parameter_defined_in_template_and_also_i?= =?utf-8?q?n_host=2E___Which_one_is_it_going_to_be=3F?= Message-ID: <01690e4290ea8a73cb854b318cfd4528@smetj.net> Hi If I have following example what determines which check_period "bogus-router" will have? - Is it determined by the order Nagios reads the configs? If this is the case, it can be manipulated by ordering different config files? - Or does a parameter in a host, override the same parameter in a template? Cheers, define host{ host_name canaries check_period 16x5 } define host{ use canaries host_name bogus-router alias Bogus Router #1 address 192.168.1.254 parents server-backbone check_command check-host-alive check_interval 5 retry_interval 1 max_check_attempts 5 check_period 24x7 process_perf_data 0 retain_nonstatus_information 0 contact_groups router-admins notification_interval 30 notification_period 24x7 notification_options d,u,r } ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lscarneiro at veltrac.com.br Fri Nov 6 18:31:37 2009 From: lscarneiro at veltrac.com.br (Leonardo Carneiro) Date: Fri, 06 Nov 2009 15:31:37 -0200 Subject: nrpe protocol Message-ID: <4AF45D79.5040403@veltrac.com.br> is TCP or UDP? tks -- *Leonardo de Souza Carneiro* *Veltrac - Tecnologia em Log?stica.* lscarneiro at veltrac.com.br http://www.veltrac.com.br /Fone Com.: (43)2105-5601/ /Av. Higien?polis 1601 Ed. Eurocenter Sl. 803/ /Londrina- PR/ /Cep: 86015-010/ ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Fri Nov 6 19:08:13 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Fri, 6 Nov 2009 19:08:13 +0100 Subject: nrpe protocol In-Reply-To: <4AF45D79.5040403@veltrac.com.br> References: <4AF45D79.5040403@veltrac.com.br> Message-ID: <20091106190813.54902f20@orange.fr> Le Fri, 06 Nov 2009 15:31:37 -0200, Leonardo Carneiro a ?crit : > is TCP or UDP? Can you read a doc ? Try , first link : and read before posting. -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at lilacnetworks.com Fri Nov 6 19:25:27 2009 From: tdondich at lilacnetworks.com (Taylor Dondich) Date: Fri, 06 Nov 2009 10:25:27 -0800 Subject: nrpe protocol In-Reply-To: <20091106190813.54902f20@orange.fr> References: <4AF45D79.5040403@veltrac.com.br> <20091106190813.54902f20@orange.fr> Message-ID: <4AF46A17.7020200@lilacnetworks.com> Flyinvap wrote: > Le Fri, 06 Nov 2009 15:31:37 -0200, > Leonardo Carneiro a ?crit : > > >> is TCP or UDP? >> > > Can you read a doc ? > > Try , first > link : and read > before posting. > > The answer is TCP. But yes, you should refer to the NRPE documentation for questions like this. Are you have TROUBLE with NRPE? -- Taylor Dondich (tdondich at gmail.com) CEO at Lilac Networks (http://www.lilacnetworks.com) Provider of quality support for open source monitoring solutions View our open source Nagios Configuration Tool at http://www.lilacplatform.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at lilacnetworks.com Fri Nov 6 19:24:22 2009 From: tdondich at lilacnetworks.com (Taylor Dondich) Date: Fri, 06 Nov 2009 10:24:22 -0800 Subject: Parameter defined in template and also in host. Which one is it going to be? In-Reply-To: <01690e4290ea8a73cb854b318cfd4528@smetj.net> References: <01690e4290ea8a73cb854b318cfd4528@smetj.net> Message-ID: <4AF469D6.2070302@lilacnetworks.com> Jelle Smet wrote: > Hi > > If I have following example what determines which check_period "bogus-router" will have? > - Is it determined by the order Nagios reads the configs? > If this is the case, it can be manipulated by ordering different config files? > - Or does a parameter in a host, override the same parameter in a template? > > Cheers, > > > define host{ > host_name canaries > check_period 16x5 > } > > define host{ > use canaries > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > check_interval 5 > retry_interval 1 > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > Hi there. Nagios will take the variable defined in the host definition, as it will overwrite the variable defined in the template. It gets tricky when you have multiple levels of inheritance, and there's multiple templates to inherit from. This is all described in the Nagios documentation at: http://nagios.sourceforge.net/docs/3_0/objectinheritance.html -- Taylor Dondich (tdondich at gmail.com) CEO at Lilac Networks (http://www.lilacnetworks.com) Provider of quality support for open source monitoring solutions View our open source Nagios Configuration Tool at http://www.lilacplatform.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 6 21:33:03 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 6 Nov 2009 12:33:03 -0800 Subject: Parameter defined in template and also in host. Which one is it going to be? In-Reply-To: <01690e4290ea8a73cb854b318cfd4528@smetj.net> References: <01690e4290ea8a73cb854b318cfd4528@smetj.net> Message-ID: <20091106203303.GG3236@bakgwai.americas.hpqcorp.net> Hi Jelle! On Fri, 06 Nov 2009, Jelle Smet wrote: > Hi > > If I have following example what determines which check_period "bogus-router" will have? > - Is it determined by the order Nagios reads the configs? > If this is the case, it can be manipulated by ordering different config files? > - Or does a parameter in a host, override the same parameter in a template? > > Cheers, > > > define host{ > host_name canaries > check_period 16x5 > } > > define host{ > use canaries > host_name bogus-router > alias Bogus Router #1 > address 192.168.1.254 > parents server-backbone > check_command check-host-alive > check_interval 5 > retry_interval 1 > max_check_attempts 5 > check_period 24x7 > process_perf_data 0 > retain_nonstatus_information 0 > contact_groups router-admins > notification_interval 30 > notification_period 24x7 > notification_options d,u,r > } bogus-router will have a check_period of 24x7, because you've overridden the value in the host definition. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list.man at bluejeantime.com Fri Nov 6 18:56:44 2009 From: list.man at bluejeantime.com (List Man) Date: Fri, 06 Nov 2009 12:56:44 -0500 Subject: nrpe protocol In-Reply-To: <4AF45D79.5040403@veltrac.com.br> References: <4AF45D79.5040403@veltrac.com.br> Message-ID: tcp On 11/6/09 12:31 PM, "Leonardo Carneiro" wrote: > is TCP or UDP? > tks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Sat Nov 7 02:57:50 2009 From: rperezm at uci.cu (ReynierPM) Date: Fri, 06 Nov 2009 20:57:50 -0500 Subject: Problems implementing Digest Authentication Message-ID: <4AF4D41E.50807@uci.cu> Hi every: I've setup and configure a Nagios but using Basic Auth as the manual suggest at first time. Now I want to use Digest Auth. For that and following the documentation from Apache[1] I make this changes at /etc/apache2/conf.d/nagios.conf file: # SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER # Last Modified: 11-26-2005 # # This file contains examples of entries that need # to be incorporated into your Apache web server # configuration file. Customize the paths, etc. as # needed to fit your system. ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" # SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthType Digest AuthName "Nagios Access" AuthDigestDomain /usr/local/nagios/sbin/ http://10.128.50.2/nagios/ AuthDigestProvider file AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user # AuthName "Nagios Access" # AuthType Basic # AuthUserFile /usr/local/nagios/etc/htpasswd.users # Require valid-user Alias /nagios "/usr/local/nagios/share" # SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all # Order deny,allow # Deny from all # Allow from 127.0.0.1 AuthType Digest AuthName "Nagios Access" AuthDigestDomain /usr/local/nagios/sbin/ http://10.128.50.2/nagios/ AuthDigestProvider file AuthUserFile /usr/local/nagios/etc/htpasswd.users Require valid-user # AuthName "Nagios Access" # AuthType Basic # AuthUserFile /usr/local/nagios/etc/htpasswd.users # Require valid-user AS you can see here I only commented the lines for Basic Auth and add the lines for Digest Auth. When I try to login the pass is asked one time and then again and again and so on. Why? What I'm doing wrong? The error reported by Apache is this: [Fri Nov 06 20:53:08 2009] [error] [client 10.8.40.250] Digest: user `nagiosadmin' in realm `Nagios Access' not found: /nagios/ [1] http://httpd.apache.org/docs/2.2/mod/mod_auth_digest.html -- Saludos ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Nigel.Heaney at bgfl.org Sat Nov 7 03:00:04 2009 From: Nigel.Heaney at bgfl.org (Nigel Heaney) Date: Sat, 7 Nov 2009 02:00:04 +0000 Subject: automated response Message-ID: <10911070200.AA64617@bgfl.org> Hi, I am on leave and will be unavailable until Wednesday 11th November. For urgent enquiries please contact the link2ict service desk or wait until my return. Thankyou, Nigel. ************************************************************* This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify postmaster at bgfl.org The views expressed within this email are those of the individual, and not necessarily those of the organisation ************************************************************* ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Sat Nov 7 09:54:14 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Sat, 7 Nov 2009 09:54:14 +0100 Subject: Problems implementing Digest Authentication In-Reply-To: <4AF4D41E.50807@uci.cu> References: <4AF4D41E.50807@uci.cu> Message-ID: <20091107095414.0f7c2537@orange.fr> Le Fri, 06 Nov 2009 20:57:50 -0500, ReynierPM a ?crit : > AS you can see here I only commented the lines for Basic Auth and add > the lines for Digest Auth. You have to manage your htpasswd file with htdigest, not with htpasswd [1]. Did you change your htpaswd file ? [1] http://httpd.apache.org/docs/2.2/programs/htdigest.html -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam at trstech.net Sat Nov 7 14:28:56 2009 From: sam at trstech.net (SODATONOU Dodji Comlan Samuel) Date: Sat, 7 Nov 2009 13:28:56 +0000 Subject: Help for install nagios on fedora 11 Message-ID: <20091107132242.M84498@trstech.net> On the basis of nagios quickstart guide, i install without error nagios-3.2 and nagios- pluggins-1.4.11 on a linux box server runnning fedora 11. But when i v?rify the sample nagios configuration files via the following command /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg I get this error : /usr/local/nagios/bin/nagios : error while loading the shared libraries: libltdl.so.3: cannot open shared object file: No such file or directory. Any help to resolve this problem will be greatly appreciated. NB: on the linux server, we have installed libtool-ltldl-2.2.6 which provide libltld.so.7. --sam --sam -- TRS - Technologies Reseaux & Solutions (http://www.trstech.net) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Nov 7 19:11:39 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 07 Nov 2009 10:11:39 -0800 Subject: Help for install nagios on fedora 11 In-Reply-To: <20091107132242.M84498@trstech.net> References: <20091107132242.M84498@trstech.net> Message-ID: <4AF5B85B.3030108@hp.com> SODATONOU Dodji Comlan Samuel wrote: > On the basis of nagios quickstart guide, i install without error nagios-3.2 and nagios- > pluggins-1.4.11 on a linux box server runnning fedora 11. > > But when i v?rify the sample nagios configuration files via the following command > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > I get this error : > > /usr/local/nagios/bin/nagios : error while loading the shared libraries: libltdl.so.3: > cannot open shared object file: No such file or directory. > > Any help to resolve this problem will be greatly appreciated. > > > NB: on the linux server, we have installed libtool-ltldl-2.2.6 which provide > libltld.so.7. If that's the standard version of libltdl for Fedora 11, It sounds like the copy of Nagios you've got wasn't built to run on that distribution. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Sat Nov 7 20:30:35 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Sat, 07 Nov 2009 20:30:35 +0100 Subject: Print only one line of text Message-ID: <1257622235.14004.17.camel@jonas.jocan.local> I read the following on http://nagiosplug.sourceforge.net/developer-guidelines.html#PLUGOUTPUT : 2.1. Print only one line of text Nagios will only grab the first line of text from STDOUT when it notifies contacts about potential problems. If you print multiple lines, you're out of luck (though this will be a feature of Nagios 3). Remember, keep your output short and to the point. Output should be in the format: SERVICE STATUS: Information text I'm using Nagios 3.2.0 and I still can't print multiple lines to be send with the notification email. What am I missing ?? My plugin : $PEER=$argv[1]; $LINE=exec('/usr/sbin/asterisk -rx "sip show peers" | grep -w "'.$PEER.'"'); if (!empty($LINE)) { if (strpos("$LINE"," OK ")) { $OUTPUT="OK: ".$LINE."\n"; echo $OUTPUT; exit (0); } elseif (strpos("$LINE","UNREACHABLE")) { $OUTPUT="CRITICAL: ".$LINE."\n"; $OUTPUT.="line 2"; echo $OUTPUT; exit (2); } } On commandline : bash-3.2# /usr/local/nagios/libexec/check_asterisk_sip_peer.php my_peer CRITICAL: my_peer (Unspecified) D N 0 UNREACHABLE line 2 My notification : # 'notify-service-by-email' command definition define command{ command_name notify-service-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n \nType : $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS $\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/mutt -s "** $NOTIFICATIONTYPE$ Service Alert: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } The email I receive : ***** Nagios ***** Type: PROBLEM Service: SIP_peer_mypeer Host: Asterisk Address: ip_address State: CRITICAL Additional Info: CRITICAL: my_peer (Unspecified) D N 0 UNREACHABLE You see that $SERVICEOUTPUT$ consists of only 1 line... How do I get my extra line of text (line 2) ?? Jonas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Sat Nov 7 21:15:55 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Sat, 7 Nov 2009 21:15:55 +0100 Subject: Print only one line of text In-Reply-To: <1257622235.14004.17.camel@jonas.jocan.local> References: <1257622235.14004.17.camel@jonas.jocan.local> Message-ID: <20091107211555.3aca8502@orange.fr> Le Sat, 07 Nov 2009 20:30:35 +0100, jonas kellens a ?crit : > I'm using Nagios 3.2.0 and I still can't print multiple lines to be > send with the notification email. > > What am I missing ?? You don't use the right macro [1] . $SERVICEOUTPUT$ : The first line of text output from the last service check (i.e. "Ping OK"). $LONGSERVICEOUTPUT$ : The full text output (aside from the first line) from the last service check. [1] -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lists at scott-ackerman.com Sat Nov 7 21:21:12 2009 From: lists at scott-ackerman.com (Scott Ackerman) Date: Sat, 7 Nov 2009 13:21:12 -0700 Subject: Binding Nagios to one interface Message-ID: <2E41238AF1524DADB8A6EE4D502E7DBC@sauron> I have a server with two (2) network interfaces, all of the sudden nagios is sending out requests to nrpe on the network interface that I didn't originally set up with, and this is causing problems with the SSL handshake for nrpe. Is there a way to bind nagios to one interface only? Scott Ackerman Usable Web Solutions 1212 Baker Street Fort Collins, Colorado 80524 970-689-3999 www.us-able.com "Design is not just what it looks like and feels like. Design is how it works" - Steve Jobs -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Nov 8 10:37:16 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Sun, 08 Nov 2009 01:37:16 -0800 Subject: Binding Nagios to one interface In-Reply-To: <2E41238AF1524DADB8A6EE4D502E7DBC@sauron> References: <2E41238AF1524DADB8A6EE4D502E7DBC@sauron> Message-ID: <4AF6914C.9020805@hp.com> Scott Ackerman wrote: > I have a server with two (2) network interfaces, all of the sudden > nagios is sending out requests to nrpe on the network interface that I > didn't originally set up with, and this is causing problems with the > SSL handshake for nrpe. Is there a way to bind nagios to one interface > only? Nagios doesn't bind to a network interface, doesn't know about them, and doesn't use them directly. It sounds like you need to fix your routing. Chances are your default route is set on that machine to send traffic out the new interface. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neil.ramsay at market-source.com Sun Nov 8 22:55:19 2009 From: neil.ramsay at market-source.com (Neil Ramsay) Date: Mon, 9 Nov 2009 08:55:19 +1100 Subject: Escalate after X warnings or criticals In-Reply-To: References: <4AF38E9F.7000305@createspace.com> Message-ID: Hi Martin, The escalation_options don't take the state into consideration during the notification count. So if you have an escalate rule on the 4th notification and only escalate on Critical in the escalation_options then following scenario is can occur: You have 3 warning notifications and the 4th is Critical then it will escalate as there have been 4 notifications and a Critical. I posted a help request on this issue a week or two ago and would really like this to be patched or built into the next update. http://article.gmane.org/gmane.network.nagios.user/64997/match=escalation+state Cheers, Neil On Sat, Nov 7, 2009 at 12:56 AM, Martin Melin wrote: > The existing escalation_options directive in escalation definitions will > likely get you this behavior without the need for a patch. > > http://nagios.sourceforge.net/docs/3_0/escalations.html - see the very > bottom of this page as well as the object definition documentation for > escalation_options. > > Regards, > Martin Melin > > > On Fri, Nov 6, 2009 at 3:49 AM, Mark Gius wrote: > >> Currently, service notifications contain "first/last_notification" >> directives, that specify the range of notifications that the escalation >> should apply to. This method of escalation has a weakness however. >> >> At my work, we let warnings go to the default contact (which happens to >> be email), and escalate to a pager chain on critical. However, if a >> service sits in WARNING for a length of time (which is likely to happen >> in the middle of the night), by the time the service enters a CRITICAL >> state the notification count exceeds our highest escalation, and our >> entire team gets paged immediately. >> >> What I'd like to see is the ability to distinguish between a WARNING >> notification and a CRITICAL notification in the escalation, and set up >> escalation chains that work based on the number of CRITICAL's that have >> been sent, as opposed to the total number of notifications. >> >> I am planning on patching nagios to support this behavior if there isn't >> a way to achieve this behavior with the current implementation. My plan >> is to add a warning/critical count to service, add a first/last >> warning/critical state to service escalations, and add the directives >> "(first|last)_(warning|critical)_notification" to the service escalation >> configs. The idea is also to keep the current behavior >> (notification_count and first/last_notification would still be present), >> but allow finer grained control over when escalations are sent out. >> This way if somebody didn't want to use the finer grained control their >> behavior would stay the same. My current plan is to match the >> escalation if _any_ of the 3 notification ranges match >> (all/warning/critical). >> >> Any advice on making this behavior happen with Nagios as-is, or >> suggestions/advice on the implementation are welcome. >> >> -Gius >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xjtuzmj at qq.com Mon Nov 9 05:19:32 2009 From: xjtuzmj at qq.com (=?ISO-8859-1?B?QUpheQ==?=) Date: Mon, 9 Nov 2009 12:19:32 +0800 Subject: problem with check_mrtgtraf Message-ID: hi, all My nagios is 3.2.0 with pnp-0.4.14 and I installed mrtg-2.14.5-2. I use the default plugin check_mrtgtraf to monitor interface traffic. Our system is not online yet, so the traffic is very low -- sometime 2 KB/s, sometime 800 B/s. Everything works fine except for the graphics. When the traffic is 2 KB/s, the graphics records 2 and unit is KB/s. When the traffic is 800 B/s, the graphics records 800 and the unit changes to B/s. It seems like the graphics only cares about the numbers and ignores the unit, so that makes my MAX traffic 800 KB/s. This is definitely not right. My questions is, how can I set the unit to fixed KB/s and let the plugin convert 800B/s to 0.8KB/s automatically? Thanks in advance! ps: My mrtg.cfg: Options[_]: growright, bits -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nkeshav12 at gmail.com Mon Nov 9 15:34:12 2009 From: nkeshav12 at gmail.com (keshav murthy) Date: Mon, 9 Nov 2009 20:04:12 +0530 Subject: Connection refused/socket time out Message-ID: Hey guys, My environment - 2 nagios servers - 1 nagios server monitoring more than 920 clients and another more than 700 clients - Clients are both Windows and Unix servers - *No firewalls*. - Added both the nagios server's IP address on all the client's config file. Issue - Occasionally we get connection refused sometimes and Socket timeout sometimes. - During such times, it generates CRITICAL alert and our ticketing system generates lots of tickets Assumptions - Network slowness between nagios server and client. - Client takes more time to respond to the check and nrpe timeouts. - NRPE dies on the nagios server. Clarification needed - What are the various causes for these alerts? (are the assumptions correct, if wrong please clarify.) - Is it possible to change them as "Warning"? - If yes for above, how? Regards Kesava -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From oyvind.nordang at gmail.com Mon Nov 9 15:48:34 2009 From: oyvind.nordang at gmail.com (=?ISO-8859-1?Q?=D8yvind_Nordang?=) Date: Mon, 9 Nov 2009 15:48:34 +0100 Subject: Custom nagios reports, some help / suggestions needed Message-ID: Hi I was wondering if there was a way to send anything else than all or to the hostgroup parameter in avail.cgi? I want to be able to only show the availability for some of the host groups, not just one and not all. Another wish is to be able to list a report looking something like this: Hostgroup A HostA - Disk full... dd.mm.yyy, resolved after 0d 0h 15m - Ping lost? dd.mm.yyyy, resolved after 0d 1h 4m HostB - sdfsdf Hostgroup B HostC - Ping lost? dd.mm.yyyy, resolved after 0d 1h 4m I have tried some addons, but haven't been able to get any of them to work. Any suggestions would be appreciated. Thanks in advance -- ?yvind Nordang ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Mon Nov 9 16:08:30 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Mon, 09 Nov 2009 16:08:30 +0100 Subject: CHECK_NRPE: Error - Could not complete SSL handshake. Message-ID: <1257779310.10675.15.camel@jonas.jocan.local> Probably one of the most asked questions. I don't know why in my case things aren't working. [nagios at itcenter1 ~]$ ps aux |grep nrpe nagios 9194 0.0 0.1 8220 1712 ? Ss 08:39 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d nagios 12480 0.0 0.0 3936 748 pts/0 S+ 09:58 0:00 grep nrpe [nagios at itcenter1 ~]# vi /usr/local/nagios/etc/nrpe.cfg allowed_hosts=127.0.0.1, public_ip_nagios [nagios at itcenter1 ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 [nagios at itcenter1 ~]$ netstat -at | grep 5666 tcp 0 0 *:5666 *:* LISTEN TCP port 5666 is open on firewall... [nagios at itcenter1 ~]$ rpm -qa | grep ssl openssl-devel-0.9.8e-12.el5 app-ssl-5.0-10 openssl-0.9.8e-12.el5 But on Nagios : [nagios at nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_public_server CHECK_NRPE: Error - Could not complete SSL handshake. Other hosts work fine : [nagios at nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_other_public_server NRPE v2.12 So what am I forgetting here ?! Thanks ! Jonas. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 9 16:38:19 2009 From: marc at ena.com (Marc Powell) Date: Mon, 9 Nov 2009 09:38:19 -0600 Subject: problem with check_mrtgtraf In-Reply-To: References: Message-ID: <24442DC4-4B87-44A1-89B5-DEE02CE4122B@ena.com> On Nov 8, 2009, at 10:19 PM, AJay wrote: > hi, all > My nagios is 3.2.0 with pnp-0.4.14 and I installed > mrtg-2.14.5-2. I use the default plugin check_mrtgtraf to monitor > interface traffic. Our system is not online yet, so the traffic is > very low -- sometime 2 KB/s, sometime 800 B/s. Everything works fine > except for the graphics. When the traffic is 2 KB/s, the graphics > records 2 and unit is KB/s. When the traffic is 800 B/s, the > graphics records 800 and the unit changes to B/s. It seems like the > graphics only cares about the numbers and ignores the unit, so that > makes my MAX traffic 800 KB/s. This is definitely not right. My > questions is, how can I set the unit to fixed KB/s and let the > plugin convert 800B/s to 0.8KB/s automatically? Thanks in advance! > > ps: My mrtg.cfg: Options[_]: growright, bit Your question is not clear, at least to me, nor is it apparent how this is related to nagios. PNP4nagios and mrtg are two different things, getting data from two different places. Both use their own RRD databases for backends. RRD files are units-agnostic. They just store a number and it's up to the presentation layer to determine what units that number is (bits, Kb, Mb, apples falling/second, etc). If you're having a problem with MRTG graphs, the proper forum would be the mrtg listserv. If you're having a problem with pnp4nagios graphs, the proper forum would be pnp4nagios-users. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 9 17:17:47 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 09 Nov 2009 08:17:47 -0800 Subject: problem with check_mrtgtraf In-Reply-To: References: Message-ID: <4AF840AA.9080800@hp.com> AJay wrote: > hi, all > My nagios is 3.2.0 with pnp-0.4.14 and I installed > mrtg-2.14.5-2. I use the default plugin check_mrtgtraf to monitor > interface traffic. Our system is not online yet, so the traffic is > very low -- sometime 2 KB/s, sometime 800 B/s. Everything works fine > except for the graphics. When the traffic is 2 KB/s, the graphics > records 2 and unit is KB/s. When the traffic is 800 B/s, the graphics > records 800 and the unit changes to B/s. It seems like the graphics > only cares about the numbers and ignores the unit, so that makes > my MAX traffic 800 KB/s. This is definitely not right. My questions > is, how can I set the unit to fixed KB/s and let the plugin convert > 800B/s to 0.8KB/s automatically? Thanks in advance! > > ps: My mrtg.cfg: Options[_]: growright, bits > I may be misunderstanding here, but it sounds like you're asking about mrtg itself, and not check_mrtgtraf? It's not clear what graphs you're talking about, but check_mrtgtraf doesn't generate any, or use them. It just looks at the MRTG log. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frank.bourdeau at dga.defense.gouv.fr Mon Nov 9 17:22:39 2009 From: frank.bourdeau at dga.defense.gouv.fr (frank.bourdeau at dga.defense.gouv.fr) Date: Mon, 9 Nov 2009 17:22:39 +0100 Subject: RE CHECK_NRPE: Error - Could not complete SSL handshake. In-Reply-To: <1257779310.10675.15.camel@jonas.jocan.local> References: <1257779310.10675.15.camel@jonas.jocan.local> Message-ID: hi Are openssl development libraries installed on the nagios server ? If not, install it and compile nrpe with it (specify in command line : ./configure --with-ssl=) Cheers email: frank.bourdeau at dga.defense.gouv.fr fonction: administrateur syst?mes et r?seaux tel: 0241936560 fax: 0241936681 ETAS - BP 60036 - route de Laval - 49245 AVRILLE CEDEX [ENVOYE PAR INTERNET] jonas kellens 09/11/2009 16:08 A Nagios-Users cc Objet [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. Probably one of the most asked questions. I don't know why in my case things aren't working. [nagios at itcenter1 ~]$ ps aux |grep nrpe nagios 9194 0.0 0.1 8220 1712 ? Ss 08:39 0:00 /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d nagios 12480 0.0 0.0 3936 748 pts/0 S+ 09:58 0:00 grep nrpe [nagios at itcenter1 ~]# vi /usr/local/nagios/etc/nrpe.cfg allowed_hosts=127.0.0.1, public_ip_nagios [nagios at itcenter1 ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 [nagios at itcenter1 ~]$ netstat -at | grep 5666 tcp 0 0 *:5666 *:* LISTEN TCP port 5666 is open on firewall... [nagios at itcenter1 ~]$ rpm -qa | grep ssl openssl-devel-0.9.8e-12.el5 app-ssl-5.0-10 openssl-0.9.8e-12.el5 But on Nagios : [nagios at nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_public_server CHECK_NRPE: Error - Could not complete SSL handshake. Other hosts work fine : [nagios at nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H ip_other_public_server NRPE v2.12 So what am I forgetting here ?! Thanks ! Jonas. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonas.kellens at telenet.be Mon Nov 9 17:49:14 2009 From: jonas.kellens at telenet.be (jonas kellens) Date: Mon, 09 Nov 2009 17:49:14 +0100 Subject: RE CHECK_NRPE: Error - Could not complete SSL handshake. In-Reply-To: <1257785310.12393.3.camel@jonas.jocan.local> References: <1257785310.12393.3.camel@jonas.jocan.local> Message-ID: <1257785354.12393.4.camel@jonas.jocan.local> As rpm -qa shows, I have the openssl-devel package installed : [nagios at itcenter1 ~]$ rpm -qa | grep ssl openssl-devel-0.9.8e-12.el5 app-ssl-5.0-10 openssl-0.9.8e-12.el5 What would then be my ??? /usr/bin/openssl /usr/include/openssl /usr/include/openssl/aes.h /usr/include/openssl/asn1.h /usr/include/openssl/asn1_mac.h /usr/include/openssl/asn1t.h /usr/include/openssl/bio.h ... /usr/lib/openssl /usr/lib/openssl/engines /usr/lib/openssl/engines/lib4758cca.so /usr/lib/openssl/engines/libaep.so /usr/lib/openssl/engines/libatalla.so ... I find in the source-code of configure the following : --with-ssl=DIR sets location of the SSL installation --with-ssl-inc=DIR sets location of the SSL include files --with-ssl-lib=DIR sets location of the SSL libraries Greetingz, Jonas. On Mon, 2009-11-09 at 17:22 +0100, frank.bourdeau at dga.defense.gouv.fr wrote: > hi > > Are openssl development libraries installed on the nagios server ? > If not, install it and compile nrpe with it (specify in command line : > ./configure --with-ssl=) > > Cheers -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam at trstech.net Mon Nov 9 18:10:07 2009 From: sam at trstech.net (SODATONOU Dodji Comlan Samuel) Date: Mon, 9 Nov 2009 17:10:07 +0000 Subject: Help for install nagios on fedora 11 In-Reply-To: <4AF5B85B.3030108@hp.com> References: <20091107132242.M84498@trstech.net> <4AF5B85B.3030108@hp.com> Message-ID: <20091109170134.M78921@trstech.net> On Sat, 07 Nov 2009 10:11:39 -0800, Morris, Patrick wrote > SODATONOU Dodji Comlan Samuel wrote: > > On the basis of nagios quickstart guide, i install without error nagios-3.2 and nagios- > > pluggins-1.4.11 on a linux box server runnning fedora 11. > > > > But when i v?rify the sample nagios configuration files via the following command > > > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > > > > I get this error : > > > > /usr/local/nagios/bin/nagios : error while loading the shared libraries: libltdl.so.3: > > cannot open shared object file: No such file or directory. > > > > Any help to resolve this problem will be greatly appreciated. > > > > > > NB: on the linux server, we have installed libtool-ltldl-2.2.6 which provide > > libltld.so.7. > > If that's the standard version of libltdl for Fedora 11, It sounds like > the copy of Nagios you've got wasn't built to run on that distribution. I get this error when i install the nagios version 3.2 ( last stable release of nagios) but the same error was also reproduced when i install the old version 3.0.3 of nagios --sam -- TRS - Technologies Reseaux & Solutions (http://www.trstech.net) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Mon Nov 9 19:38:51 2009 From: kdawg44 at gmail.com (Kevin Holleran) Date: Mon, 9 Nov 2009 13:38:51 -0500 Subject: Groupings Message-ID: <5caea3690911091038g5047ebabnd31390d64547e808@mail.gmail.com> Hello, I am relatively new to Nagios. I have laid out a structure for Nagios configs for all our servers, network gear, and 100 remote offices that we monitor. My question is can I group devices by multiple ways? For instance, I would like one group to be all the remote offices and include only their edge routers. However, I would also like a group for each remote office that includes the router as well as devices within the office. Can this be done so that I can click on a service group for all remote routers at the offices and then another series of groups to just see everything in that office? Thanks. Kevin -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Mon Nov 9 20:15:14 2009 From: pangrazi at gmail.com (Greg Pangrazio) Date: Mon, 9 Nov 2009 14:15:14 -0500 Subject: Groupings In-Reply-To: <5caea3690911091038g5047ebabnd31390d64547e808@mail.gmail.com> References: <5caea3690911091038g5047ebabnd31390d64547e808@mail.gmail.com> Message-ID: Kevin, Hosts and services can be members of multiple groups. I am doing exactly what you are saying. I define the host group and then the members. Some systems are in multiple host group definitions. Greg Pangrazio pangrazi at gmail.com On Mon, Nov 9, 2009 at 1:38 PM, Kevin Holleran wrote: > Hello, > > I am relatively new to Nagios.? I have laid out a structure for Nagios > configs for all our servers, network gear, and 100 remote offices that we > monitor.? My question is can I group devices by multiple ways?? For > instance, I would like one group to be all the remote offices and include > only their edge routers.? However, I would also like a group for each remote > office that includes the router as well as devices within the office.? Can > this be done so that I can click on a service group for all remote routers > at the offices and then another series of groups to just see everything in > that office? > > Thanks. > > Kevin > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 9 20:40:24 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 9 Nov 2009 11:40:24 -0800 Subject: Help for install nagios on fedora 11 In-Reply-To: <20091109170134.M78921@trstech.net> References: <20091107132242.M84498@trstech.net> <4AF5B85B.3030108@hp.com> <20091109170134.M78921@trstech.net> Message-ID: <20091109194024.GS3236@bakgwai.americas.hpqcorp.net> On Mon, 09 Nov 2009, SODATONOU Dodji Comlan Samuel wrote: > On Sat, 07 Nov 2009 10:11:39 -0800, Morris, Patrick wrote > > SODATONOU Dodji Comlan Samuel wrote: > > > On the basis of nagios quickstart guide, i install without error nagios-3.2 and > nagios- > > > pluggins-1.4.11 on a linux box server runnning fedora 11. > > > > > > But when i v?rify the sample nagios configuration files via the following command > > > > > > /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg > > > > > > > > > I get this error : > > > > > > /usr/local/nagios/bin/nagios : error while loading the shared libraries: > libltdl.so.3: > > > cannot open shared object file: No such file or directory. > > > > > > Any help to resolve this problem will be greatly appreciated. > > > > > > > > > NB: on the linux server, we have installed libtool-ltldl-2.2.6 which provide > > > libltld.so.7. > > > > If that's the standard version of libltdl for Fedora 11, It sounds like > > the copy of Nagios you've got wasn't built to run on that distribution. > > I get this error when i install the nagios version 3.2 ( last stable release of > nagios) but the same error was also reproduced when i install the old version 3.0.3 of > nagios How are you installing it? From source, RPM or other? If you're building it yourself and it's linking against a library that it can't find at runtime, that would indicate a problem with the machine's environment. If you're installing from RPM and it's linked against a library that's not provided by distribution, either the RPM is broken or you're installing a version that was not build for Fedora 11. If it's built for Fedora 11 and expecting to see libltdl.so.3 but you don't have it, either you haven't installed the correct packages on that machine or, again, your environment might not be correct. It's going to take a bit more information to troubleshoot this. There are still too many unkown variables. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Mon Nov 9 20:46:52 2009 From: neufpas at gmail.com (Noel Platzke) Date: Mon, 9 Nov 2009 14:46:52 -0500 Subject: distributed servers not updating master with host problems Message-ID: <96c54e8b0911091146q448dfdcdh26e48fd8ccc9e5cc@mail.gmail.com> I've just started noticing a strange problem. If a host being monitored by a distributed server dies the master server isn't receiving the information it needs to generate an email. This doesn't happen every time only on occasion but I can't figure out why it's an intermittent problem. *This is an excerpt from the logs on the master:* [11-09-2009 14:05:56] SERVICE ALERT: prodhv28;Alert 11003 - Check Local Disks;CRITICAL;HARD;1;CRITICAL - Plugin timed out while executing system call [11-09-2009 14:05:26] SERVICE ALERT: prodhv28;Alert 11002 - Check Load;CRITICAL;HARD;1;CRITICAL - Plugin timed out while executing system call [11-09-2009 14:05:16] HOST ALERT: prodhv28;DOWN;SOFT;1;PING CRITICAL - Packet loss = 100% [11-09-2009 14:04:56] SERVICE ALERT: prodhv28;Alert 11002 - Check Load;CRITICAL;SOFT;1;CRITICAL - Plugin timed out while executing system call *But this is what I see on the slave:* [11-09-2009 14:06:50] HOST ALERT: ashprdhv28;DOWN;HARD;3;PING CRITICAL - Packet loss = 100% [11-09-2009 14:05:29] SERVICE ALERT: ashprdhv28;Alert 11003 - Check Local Disks;CRITICAL;HARD;1;CRITICAL - Plugin timed out while executing system call [11-09-2009 14:05:29] HOST ALERT: ashprdhv28;DOWN;SOFT;2;PING CRITICAL - Packet loss = 100% [11-09-2009 14:05:06] SERVICE ALERT: ashprdhv28;Alert 11002 - Check Load;CRITICAL;HARD;1;CRITICAL - Plugin timed out while executing system call [11-09-2009 14:04:24] HOST ALERT: ashprdhv28;DOWN;SOFT;1;PING CRITICAL - Packet loss = 100% [11-09-2009 14:04:04] SERVICE ALERT: ashprdhv28;Alert 11002 - Check Load;CRITICAL;SOFT;1;CRITICAL - Plugin timed out while executing system call The two subsequent host check attempts never made it back to the master. I'd chalk it up to a problem with nsca but I'm not missing any service checks, only host. I've currently got every host using the same template, which includes a 5 minute check interval with a 1 minute retry and a 600 second freshness threshold. Somewhere one of the servers should be kicking off these checks but for some reason the master isn't doing what it's configured to do. I'm at a loss. Any ideas? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From todd.mcneill at pmigroup.com Mon Nov 9 22:17:03 2009 From: todd.mcneill at pmigroup.com (Todd Mcneill) Date: Mon, 9 Nov 2009 13:17:03 -0800 Subject: Nagios to monitor job progress? Message-ID: <0C2DE43CE07423448B054668322815B8030A626F@PMI-HMBX1.us.corp.pmigroup.com> Hi- I have a batch process that runs on a Windows box that I'd like to monitor through Nagios. Currently, the job writes all status output to a log file, and this log file is parsed by another monitoring agent (NetIQ) in order to alert when problems occur. This job only runs once a month, and is not scheduled on the Windows server, but triggered by another process running on an iSeries box, so we have no idea when the job will start. In order to gain awareness of job progress, NetIQ is also sending non-error alerts when the job starts and completes, as well as alerts when certain phases of the job complete, also based upon the job log output. NetIQ is completely unreliable, and we're getting these alerts hours after the events occur. I currently have Nagios running in our enterprise monitoring Unix and database services, but nothing running for Windows. I can probably use Splunk to perform the log parsing and alerting, but that means adding another alert source into the mix, which can get confusing. Does anyone have any suggestions on how I can do this through Nagios? Is there a way to configure a Nagios service check to send out an alert for a non-error condition (i.e. no state change, just a status update change)? Thanks, Todd -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Mon Nov 9 22:41:19 2009 From: joliver at john-oliver.net (John Oliver) Date: Mon, 9 Nov 2009 13:41:19 -0800 Subject: Problem starting Nagios Message-ID: <20091109214119.GA32032@ns.sdsitehosting.net> I installed Nagios from Dag Wieers' RPMForge site [joliver at mda-services4 ~]$ rpm -q nagios nagios-3.2.0-1.el5.rf When I try to start it: [joliver at mda-services4 ~]$ sudo /etc/init.d/nagios start Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios configuration. But: [joliver at mda-services4 ~]$ ls -la /var/log/nagios/ total 24 drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 . drwxr-xr-x 12 root root 4096 Nov 9 12:49 .. drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives And: [joliver at mda-services4 ~]$ sudo /usr/bin/nagios -v /etc/nagios/nagios.cfg Nagios Core 3.2.0 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-12-2009 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/etc/nagios/objects/commands.cfg'... Processing object config file '/etc/nagios/objects/contacts.cfg'... Processing object config file '/etc/nagios/objects/timeperiods.cfg'... Processing object config file '/etc/nagios/objects/templates.cfg'... Processing object config file '/etc/nagios/objects/localhost.cfg'... Processing object config file '/etc/nagios/objects/windows.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 15 services. Checking hosts... Checked 2 hosts. Checking host groups... Checked 2 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 1 contacts. Checking contact groups... Checked 1 contact groups. Checking service escalations... Checked 0 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 0 host escalations. Checking host dependencies... Checked 0 host dependencies. Checking commands... Checked 24 commands. Checking time periods... Checked 5 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check So, how do I find what it's unhappy about, with no logs and a manual check that indicates no problems? -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 9 23:25:03 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 9 Nov 2009 14:25:03 -0800 Subject: Problem starting Nagios In-Reply-To: <20091109214119.GA32032@ns.sdsitehosting.net> References: <20091109214119.GA32032@ns.sdsitehosting.net> Message-ID: <20091109222503.GW3236@bakgwai.americas.hpqcorp.net> Hi John! On Mon, 09 Nov 2009, John Oliver wrote: > I installed Nagios from Dag Wieers' RPMForge site > > [joliver at mda-services4 ~]$ rpm -q nagios > nagios-3.2.0-1.el5.rf > > > > When I try to start it: > > [joliver at mda-services4 ~]$ sudo /etc/init.d/nagios start > Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios > configuration. > > > > But: > > [joliver at mda-services4 ~]$ ls -la /var/log/nagios/ > total 24 > drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 . > drwxr-xr-x 12 root root 4096 Nov 9 12:49 .. > drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives > > > > And: > > [joliver at mda-services4 ~]$ sudo /usr/bin/nagios -v > /etc/nagios/nagios.cfg > [snip] > Total Warnings: 0 > Total Errors: 0 > > Things look okay - No serious problems were detected during the > pre-flight check > > > > So, how do I find what it's unhappy about, with no logs and a manual > check that indicates no problems? It seems likely to me that either: a) The config you're checking and the one the init script is telling Nagios to load are not the same thing, or b) The Nagios you're running, and the one the init script is running, are not the same thing. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Tue Nov 10 03:45:09 2009 From: akpgeek at gmail.com (akp geek) Date: Mon, 9 Nov 2009 21:45:09 -0500 Subject: RE CHECK_NRPE: Error - Could not complete SSL handshake. In-Reply-To: References: <1257779310.10675.15.camel@jonas.jocan.local> Message-ID: <2024a9fb0911091845m4a63b29ax76ce9d4f9bbebf41@mail.gmail.com> I got this issue on solaris. The way I have resolved the issue I have used ./Cofigure --enable-ssl=no that solved my proeblem Hope this helps Regards On Mon, Nov 9, 2009 at 11:22 AM, wrote: > hi > > Are openssl development libraries installed on the nagios server ? > If not, install it and compile nrpe with it (specify in command line : > ./configure --with-ssl=) > > Cheers > > email: frank.bourdeau at dga.defense.gouv.fr > fonction: administrateur syst?mes et r?seaux > tel: 0241936560 > fax: 0241936681 > ETAS - BP 60036 - route de Laval - 49245 AVRILLE CEDEX > [ENVOYE PAR INTERNET] > > > > jonas kellens > 09/11/2009 16:08 > > A > Nagios-Users > cc > > Objet > [Nagios-users] CHECK_NRPE: Error - Could not complete SSL handshake. > > > > > > > Probably one of the most asked questions. I don't know why in my case > things aren't working. > > [nagios at itcenter1 ~]$ ps aux |grep nrpe > nagios 9194 0.0 0.1 8220 1712 ? Ss 08:39 0:00 > /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -d > nagios 12480 0.0 0.0 3936 748 pts/0 S+ 09:58 0:00 grep nrpe > > [nagios at itcenter1 ~]# vi /usr/local/nagios/etc/nrpe.cfg > allowed_hosts=127.0.0.1, public_ip_nagios > > [nagios at itcenter1 ~]$ /usr/local/nagios/libexec/check_nrpe -H localhost > NRPE v2.12 > > [nagios at itcenter1 ~]$ netstat -at | grep 5666 > tcp 0 0 *:5666 *:* LISTEN > > TCP port 5666 is open on firewall... > > [nagios at itcenter1 ~]$ rpm -qa | grep ssl > openssl-devel-0.9.8e-12.el5 > app-ssl-5.0-10 > openssl-0.9.8e-12.el5 > > But on Nagios : > > [nagios at nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H > ip_public_server > CHECK_NRPE: Error - Could not complete SSL handshake. > > Other hosts work fine : > [nagios at nagios objects]$ /usr/local/nagios/libexec/check_nrpe -H > ip_other_public_server > NRPE v2.12 > > > So what am I forgetting here ?! > > Thanks ! Jonas. > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajay at wxsec.com Tue Nov 10 04:16:42 2009 From: ajay at wxsec.com (=?ISO-8859-1?B?QUpheQ==?=) Date: Tue, 10 Nov 2009 11:16:42 +0800 Subject: problem with check_mrtgtraf Message-ID: Sorry about the confusion. Actually I was talking about pnp graphics. The check_mrtgtraf plugin got the correct traffic value from the mrtg log file -- e.g., 2 KB/s or 800 B/s. I just want the 800B/s to automatically convert to 0.8KB/s via the check_mrtgtraf plugin (OR via pnp). Today with my colleague's help, I edited and recompiled check_mrtgtraf.c, removed the "report in/outgoing traffic in Bytes/sec" parts and "report in/outgoing traffic in MBytes/sec" parts. Now the output for the plugin is 0.8KB/s. And the pnp graphics look good, too. It's great! Anyway, thanks for your help, guys! ------------------ Original ------------------ From: "Marc Powell"; Date: Mon, Nov 9, 2009 11:38 PM To: "Nagios-Users Mailinglist"; Subject: Re: [Nagios-users] problem with check_mrtgtraf On Nov 8, 2009, at 10:19 PM, AJay wrote: > hi, all > My nagios is 3.2.0 with pnp-0.4.14 and I installed > mrtg-2.14.5-2. I use the default plugin check_mrtgtraf to monitor > interface traffic. Our system is not online yet, so the traffic is > very low -- sometime 2 KB/s, sometime 800 B/s. Everything works fine > except for the graphics. When the traffic is 2 KB/s, the graphics > records 2 and unit is KB/s. When the traffic is 800 B/s, the > graphics records 800 and the unit changes to B/s. It seems like the > graphics only cares about the numbers and ignores the unit, so that > makes my MAX traffic 800 KB/s. This is definitely not right. My > questions is, how can I set the unit to fixed KB/s and let the > plugin convert 800B/s to 0.8KB/s automatically? Thanks in advance! > > ps: My mrtg.cfg: Options[_]: growright, bit Your question is not clear, at least to me, nor is it apparent how this is related to nagios. PNP4nagios and mrtg are two different things, getting data from two different places. Both use their own RRD databases for backends. RRD files are units-agnostic. They just store a number and it's up to the presentation layer to determine what units that number is (bits, Kb, Mb, apples falling/second, etc). If you're having a problem with MRTG graphs, the proper forum would be the mrtg listserv. If you're having a problem with pnp4nagios graphs, the proper forum would be pnp4nagios-users. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Tue Nov 10 05:17:53 2009 From: rperezm at uci.cu (ReynierPM) Date: Mon, 09 Nov 2009 23:17:53 -0500 Subject: Error after installed Nagios in a new server Message-ID: <4AF8E971.7070600@uci.cu> Hi every: I've installed today Nagios on a new dedicated server. I've also one Bacula Server configured to check. When I try to access to "Hosts" or any other link I get this error: "It appears as though you do not have permission to view information for any of the hosts you requested..." I check this links: http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg06010.html http://nagios.sourceforge.net/docs/2_0/installweb.html http://nagios.sourceforge.net/docs/3_0/cgiauth.html And do all this but it still not working. Can any help me to fix this? -- Cheers ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nkeshav12 at gmail.com Tue Nov 10 12:16:15 2009 From: nkeshav12 at gmail.com (keshav murthy) Date: Tue, 10 Nov 2009 16:46:15 +0530 Subject: Connection refused/socket time out In-Reply-To: References: Message-ID: Can somebody help please. Cheers Kesava On Mon, Nov 9, 2009 at 8:04 PM, keshav murthy wrote: > Hey guys, > > My environment > > > - 2 nagios servers > - 1 nagios server monitoring more than 920 clients and another more > than 700 clients > - Clients are both Windows and Unix servers > - *No firewalls*. > - Added both the nagios server's IP address on all the client's config > file. > > Issue > > - Occasionally we get connection refused sometimes and Socket timeout > sometimes. > - During such times, it generates CRITICAL alert and our ticketing > system generates lots of tickets > > Assumptions > > - Network slowness between nagios server and client. > - Client takes more time to respond to the check and nrpe timeouts. > - NRPE dies on the nagios server. > > > Clarification needed > > - What are the various causes for these alerts? (are the assumptions > correct, if wrong please clarify.) > - Is it possible to change them as "Warning"? > - If yes for above, how? > > Regards > Kesava > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 10 13:46:56 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Nov 2009 06:46:56 -0600 Subject: Connection refused/socket time out In-Reply-To: References: Message-ID: On Nov 10, 2009, at 5:16 AM, keshav murthy wrote: > Issue > ? Occasionally we get connection refused sometimes and Socket timeout sometimes. > ? During such times, it generates CRITICAL alert and our ticketing system generates lots of tickets > Assumptions > ? Network slowness between nagios server and client. > ? Client takes more time to respond to the check and nrpe timeouts. > ? NRPE dies on the nagios server. > > Clarification needed > ? What are the various causes for these alerts? (are the assumptions correct, if wrong please clarify.) The ones above would be possible given certain network configurations (i.e. slow WAN link to remote site, etc). They could also indicate that the host or service you are checking is down. You should be able to determine the cause through troubleshooting... > ? Is it possible to change them as "Warning"? Yes, but requires code editing. Search for the exit strings in the source of the plugin or within nagios and change the exit or state code to 2. Bear in mind that these could also indicate other problem with the services you are checking. You might also consider increasing your retry count instead so that you give more time for temporary latency issues and the like to resolve themselves. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Tue Nov 10 15:12:53 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 10 Nov 2009 09:12:53 -0500 Subject: Error after installed Nagios in a new server In-Reply-To: <4AF8E971.7070600@uci.cu> References: <4AF8E971.7070600@uci.cu> Message-ID: <4AF974E5.4090306@uci.cu> ReynierPM wrote: > Hi every: > I've installed today Nagios on a new dedicated server. I've also one > Bacula Server configured to check. When I try to access to "Hosts" or > any other link I get this error: > > "It appears as though you do not have permission to view information for > any of the hosts you requested..." > > I check this links: > http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg06010.html > http://nagios.sourceforge.net/docs/2_0/installweb.html > http://nagios.sourceforge.net/docs/3_0/cgiauth.html > > And do all this but it still not working. Can any help me to fix this? Hi again: Today I check all the configuration files and do whatever I can but still not working. I described here what I'm doing. 1) Configure the Apache && Nagios authentication as follow: ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" SSLRequireSSL Options ExecCGI AllowOverride None Order allow,deny Allow from all AuthType Basic AuthBasicProvider ldap AuthName "Servicio Monitoreo DT IP" AuthLDAPURL "ldap://10.0.0.3/OU=UCI Domain Users,DC=uci,DC=cu?sAMAccountname?sub?(objectClass=person)" AuthLDAPBindDN "ad.search at uci.cu" AuthLDAPBindPassword "uF2SODWAHiW0eJboFFQEAvVzJ" AuthzLDAPAuthoritative Off Require ldap-user cvega rperezm Alias /nagios "/usr/local/nagios/share" SSLRequireSSL Options None AllowOverride None Order allow,deny Allow from all AuthType Basic AuthBasicProvider ldap AuthName "Servicio Monitoreo DT IP" AuthLDAPURL "ldap://10.0.0.3/OU=UCI Domain Users,DC=uci,DC=cu?sAMAccountname?sub?(objectClass=person)" AuthLDAPBindDN "ad.search at uci.cu" AuthLDAPBindPassword "uF2SODWAHiW0eJboFFQEAvVzJ" AuthzLDAPAuthoritative Off Require ldap-user cvega rperezm As you can see I use LDAP instead of Basic or Digest auth and also use HTTPS instead of HTTP. 2) Set the var use_authentication in /usr/local/nagios/etc to 1 use_authentication=1 3) Change all authorized_for_ vars to suit all the users authorized_for_system_information=nagiosadmin, nagios, rperezm authorized_for_configuration_information=nagiosadmin, nagios, rperezm authorized_for_system_commands=nagiosadmin, nagios, rperezm authorized_for_all_services=nagiosadmin, nagios, rperezm authorized_for_all_hosts=nagiosadmin, nagios, rperezm authorized_for_all_service_commands=nagiosadmin, nagios, rperezm authorized_for_all_host_commands=nagiosadmin, nagios, rperezm 4) Restart Nagios several times What's wrong? Why this still not working? -- Saludos ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 10 16:19:23 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Nov 2009 09:19:23 -0600 Subject: Error after installed Nagios in a new server In-Reply-To: <4AF974E5.4090306@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> Message-ID: <94135490-6302-4572-AECC-0B56163115DA@ena.com> On Nov 10, 2009, at 8:12 AM, ReynierPM wrote: > 3) Change all authorized_for_ vars to suit all the users > authorized_for_system_information=nagiosadmin, nagios, rperezm > authorized_for_configuration_information=nagiosadmin, nagios, rperezm > authorized_for_system_commands=nagiosadmin, nagios, rperezm > authorized_for_all_services=nagiosadmin, nagios, rperezm > authorized_for_all_hosts=nagiosadmin, nagios, rperezm > authorized_for_all_service_commands=nagiosadmin, nagios, rperezm > authorized_for_all_host_commands=nagiosadmin, nagios, rperezm In the top left box, does nagios show you 'Logged in as' one of these users? -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyle at lcrcomputer.net Tue Nov 10 16:56:28 2009 From: lyle at lcrcomputer.net (Lyle Giese) Date: Tue, 10 Nov 2009 09:56:28 -0600 Subject: Error after installed Nagios in a new server In-Reply-To: <4AF974E5.4090306@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> Message-ID: <4AF98D2C.4060000@lcrcomputer.net> ReynierPM wrote: > ReynierPM wrote: > >> Hi every: >> I've installed today Nagios on a new dedicated server. I've also one >> Bacula Server configured to check. When I try to access to "Hosts" or >> any other link I get this error: >> >> "It appears as though you do not have permission to view information for >> any of the hosts you requested..." >> >> I check this links: >> http://www.mail-archive.com/nagios-users at lists.sourceforge.net/msg06010.html >> http://nagios.sourceforge.net/docs/2_0/installweb.html >> http://nagios.sourceforge.net/docs/3_0/cgiauth.html >> >> And do all this but it still not working. Can any help me to fix this? >> > > Hi again: > Today I check all the configuration files and do whatever I can but > still not working. I described here what I'm doing. > > 1) Configure the Apache && Nagios authentication as follow: > > ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin" > > SSLRequireSSL > Options ExecCGI > AllowOverride None > Order allow,deny > Allow from all > > AuthType Basic > AuthBasicProvider ldap > AuthName "Servicio Monitoreo DT IP" > AuthLDAPURL "ldap://10.0.0.3/OU=UCI Domain > Users,DC=uci,DC=cu?sAMAccountname?sub?(objectClass=person)" > AuthLDAPBindDN "ad.search at uci.cu" > AuthLDAPBindPassword "uF2SODWAHiW0eJboFFQEAvVzJ" > AuthzLDAPAuthoritative Off > Require ldap-user cvega rperezm > > > Alias /nagios "/usr/local/nagios/share" > > SSLRequireSSL > Options None > AllowOverride None > Order allow,deny > Allow from all > > AuthType Basic > AuthBasicProvider ldap > AuthName "Servicio Monitoreo DT IP" > AuthLDAPURL "ldap://10.0.0.3/OU=UCI Domain > Users,DC=uci,DC=cu?sAMAccountname?sub?(objectClass=person)" > AuthLDAPBindDN "ad.search at uci.cu" > AuthLDAPBindPassword "uF2SODWAHiW0eJboFFQEAvVzJ" > AuthzLDAPAuthoritative Off > Require ldap-user cvega rperezm > > > As you can see I use LDAP instead of Basic or Digest auth and also use > HTTPS instead of HTTP. > > 2) Set the var use_authentication in /usr/local/nagios/etc to 1 > use_authentication=1 > > 3) Change all authorized_for_ vars to suit all the users > authorized_for_system_information=nagiosadmin, nagios, rperezm > authorized_for_configuration_information=nagiosadmin, nagios, rperezm > authorized_for_system_commands=nagiosadmin, nagios, rperezm > authorized_for_all_services=nagiosadmin, nagios, rperezm > authorized_for_all_hosts=nagiosadmin, nagios, rperezm > authorized_for_all_service_commands=nagiosadmin, nagios, rperezm > authorized_for_all_host_commands=nagiosadmin, nagios, rperezm > > 4) Restart Nagios several times > > What's wrong? Why this still not working? > In addition to what Marc asked, did you restart your browser? Most web browsers will cache login info until you restart your browser. Lyle Giese LCR Computer Services, Inc. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Tue Nov 10 17:21:29 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 10 Nov 2009 11:21:29 -0500 Subject: Error after installed Nagios in a new server In-Reply-To: <94135490-6302-4572-AECC-0B56163115DA@ena.com> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> Message-ID: <4AF99309.7020605@uci.cu> Marc Powell wrote: > On Nov 10, 2009, at 8:12 AM, ReynierPM wrote: > > > In the top left box, does nagios show you 'Logged in as' one of these > users? > Yes it's it show me logged in as rperezm -- Saludos ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Tue Nov 10 17:22:02 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 10 Nov 2009 11:22:02 -0500 Subject: Error after installed Nagios in a new server In-Reply-To: <4AF98D2C.4060000@lcrcomputer.net> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <4AF98D2C.4060000@lcrcomputer.net> Message-ID: <4AF9932A.70809@uci.cu> Lyle Giese wrote: > ReynierPM wrote: > In addition to what Marc asked, did you restart your browser? Most web > browsers will cache login info until you restart your browser. > Several times, really I don't know why it doesn't work -- Saludos ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 10 18:09:18 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Nov 2009 11:09:18 -0600 Subject: Error after installed Nagios in a new server In-Reply-To: <4AF99309.7020605@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> Message-ID: <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> On Nov 10, 2009, at 10:21 AM, ReynierPM wrote: > Marc Powell wrote: >> On Nov 10, 2009, at 8:12 AM, ReynierPM wrote: >> In the top left box, does nagios show you 'Logged in as' one of >> these users? > > Yes it's it show me logged in as rperezm *Exactly* that? The authentication is very simplistic on the nagios side. All it does is look at the REMOTE_USER environment variable set by your web server and matches that against contacts specified for hosts/services and the authorized_for_* settings. If you are shown to be 'Logged in as rperezm' (exactly), then it should be working and there is little room for it not to be. The only other option I can think of is that the cgi.cfg file you are editing is not the one being used by the CGI's (maybe I need more coffee though). ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mramos at co.sapo.pt Tue Nov 10 18:26:13 2009 From: mramos at co.sapo.pt (Marco Ramos) Date: Tue, 10 Nov 2009 17:26:13 +0000 Subject: Problem starting Nagios In-Reply-To: <20091109222503.GW3236@bakgwai.americas.hpqcorp.net> References: <20091109214119.GA32032@ns.sdsitehosting.net> <20091109222503.GW3236@bakgwai.americas.hpqcorp.net> Message-ID: <97CB358E-84F7-402B-9832-601236FF30C5@co.sapo.pt> Hi! On 2009/11/09, at 22:25, Morris, Patrick wrote: > Hi John! > > On Mon, 09 Nov 2009, John Oliver wrote: > >> I installed Nagios from Dag Wieers' RPMForge site >> >> [joliver at mda-services4 ~]$ rpm -q nagios >> nagios-3.2.0-1.el5.rf >> >> >> >> When I try to start it: >> >> [joliver at mda-services4 ~]$ sudo /etc/init.d/nagios start >> Starting nagios:CONFIG ERROR! Start aborted. Check your Nagios >> configuration. >> >> >> >> But: >> >> [joliver at mda-services4 ~]$ ls -la /var/log/nagios/ >> total 24 >> drwxr-xr-x 3 nagios nagios 4096 Nov 9 12:49 . >> drwxr-xr-x 12 root root 4096 Nov 9 12:49 .. >> drwxr-xr-x 2 nagios nagios 4096 Aug 27 06:35 archives >> >> >> >> And: >> >> [joliver at mda-services4 ~]$ sudo /usr/bin/nagios -v >> /etc/nagios/nagios.cfg >> > [snip] >> Total Warnings: 0 >> Total Errors: 0 >> >> Things look okay - No serious problems were detected during the >> pre-flight check >> >> >> >> So, how do I find what it's unhappy about, with no logs and a manual >> check that indicates no problems? > > It seems likely to me that either: > > a) The config you're checking and the one the init script is telling > Nagios to load are not the same thing, > > or > > b) The Nagios you're running, and the one the init script is running, > are not the same thing. indeed. Have you tried to strace it? HTH, Marco Ramos > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Tue Nov 10 18:53:02 2009 From: flyinvap at orange.fr (Flyinvap) Date: Tue, 10 Nov 2009 18:53:02 +0100 Subject: Problem starting Nagios In-Reply-To: <20091109214119.GA32032@ns.sdsitehosting.net> References: <20091109214119.GA32032@ns.sdsitehosting.net> Message-ID: <20091110185302.5caa760e@orange.fr> Le Mon, 9 Nov 2009 13:41:19 -0800, John Oliver a ?crit : > [joliver at mda-services4 ~]$ sudo /usr/bin/nagios -v > /etc/nagios/nagios.cfg Could you try, to run nagios -v as nagios user with : sudo -u nagios /usr/bin/nagios -v /etc/nagios/nagios.cfg -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Tue Nov 10 19:22:35 2009 From: joliver at john-oliver.net (John Oliver) Date: Tue, 10 Nov 2009 10:22:35 -0800 Subject: Problem starting Nagios In-Reply-To: <20091110185302.5caa760e@orange.fr> References: <20091109214119.GA32032@ns.sdsitehosting.net> <20091110185302.5caa760e@orange.fr> Message-ID: <20091110182235.GA5880@ns.sdsitehosting.net> On Tue, Nov 10, 2009 at 06:53:02PM +0100, Flyinvap wrote: > Le Mon, 9 Nov 2009 13:41:19 -0800, > John Oliver a ?crit : > > > [joliver at mda-services4 ~]$ sudo /usr/bin/nagios -v > > /etc/nagios/nagios.cfg > > Could you try, to run nagios -v as nagios user with : > > sudo -u nagios /usr/bin/nagios -v /etc/nagios/nagios.cfg Thanks for all of the responses! This turned out to be an SELinux problem. Remember - Always Blame SELinux! -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Tue Nov 10 19:52:38 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 10 Nov 2009 13:52:38 -0500 Subject: Error after installed Nagios in a new server In-Reply-To: <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> Message-ID: <4AF9B676.7020409@uci.cu> Marc Powell wrote: > *Exactly* that? The authentication is very simplistic on the nagios > side. All it does is look at the REMOTE_USER environment variable set > by your web server and matches that against contacts specified for > hosts/services and the authorized_for_* settings. If you are shown to > be 'Logged in as rperezm' (exactly), then it should be working and > there is little room for it not to be. The only other option I can > think of is that the cgi.cfg file you are editing is not the one being > used by the CGI's (maybe I need more coffee though). So, what you suggest then? Cheers -- ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Tue Nov 10 20:43:37 2009 From: joliver at john-oliver.net (John Oliver) Date: Tue, 10 Nov 2009 11:43:37 -0800 Subject: Don't have permission Message-ID: <20091110194337.GA8406@ns.sdsitehosting.net> Well, after fighting through a bunch of SELinux issues (the module for nagios in the latest selinux packages for CentOS 5 doesn't have enough rules, I've had to add three more modules to catch all of the violations :-( ), I can finally access the Nagios UI. But it says: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. However, no errors are logged by httpd, and selinux isn't catching anything, either. So... what "permission" am I missing? -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 10 20:54:57 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 10 Nov 2009 11:54:57 -0800 Subject: Don't have permission In-Reply-To: <20091110194337.GA8406@ns.sdsitehosting.net> References: <20091110194337.GA8406@ns.sdsitehosting.net> Message-ID: <20091110195457.GY3236@bakgwai.americas.hpqcorp.net> Hi John! On Tue, 10 Nov 2009, John Oliver wrote: > Well, after fighting through a bunch of SELinux issues (the module for > nagios in the latest selinux packages for CentOS 5 doesn't have enough > rules, I've had to add three more modules to catch all of the violations > :-( ), I can finally access the Nagios UI. But it says: > > It appears as though you do not have permission to view information for > any of the services you requested... > > If you believe this is an error, check the HTTP server authentication > requirements for accessing this CGI > and check the authorization options in your CGI configuration file. > > > However, no errors are logged by httpd, and selinux isn't catching > anything, either. So... what "permission" am I missing? Definitely going to need more than that to go on, since there are about 25,000 different configuration problems that could cause that one. Do you have Apache authentication configured? How have you set any authentication options in the cgi.cfg file? Does nagios show you as logged in? Is that username a contact on any hosts or services? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 10 21:02:31 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Nov 2009 14:02:31 -0600 Subject: Error after installed Nagios in a new server In-Reply-To: <4AF9B676.7020409@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> <4AF9B676.7020409@uci.cu> Message-ID: On Nov 10, 2009, at 12:52 PM, ReynierPM wrote: > Marc Powell wrote: >> *Exactly* that? The authentication is very simplistic on the >> nagios side. All it does is look at the REMOTE_USER environment >> variable set by your web server and matches that against contacts >> specified for hosts/services and the authorized_for_* settings. If >> you are shown to be 'Logged in as rperezm' (exactly), then it >> should be working and there is little room for it not to be. The >> only other option I can think of is that the cgi.cfg file you are >> editing is not the one being used by the CGI's (maybe I need more >> coffee though). > > So, what you suggest then? Besides the only other option I could think of before? Can you see hosts/services with 'use_authentication' disabled? Could you have a web server permissions problem? Does your web server have read access to the nagios var directory and files? -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From joliver at john-oliver.net Tue Nov 10 21:58:02 2009 From: joliver at john-oliver.net (John Oliver) Date: Tue, 10 Nov 2009 12:58:02 -0800 Subject: Don't have permission In-Reply-To: <20091110195457.GY3236@bakgwai.americas.hpqcorp.net> References: <20091110194337.GA8406@ns.sdsitehosting.net> <20091110195457.GY3236@bakgwai.americas.hpqcorp.net> Message-ID: <20091110205802.GA10689@ns.sdsitehosting.net> On Tue, Nov 10, 2009 at 11:54:57AM -0800, Morris, Patrick wrote: > Do you have Apache authentication configured? Yes, and that works. > How have you set any authentication options in the cgi.cfg file? I have not touched that file. > Does nagios show you as logged in? Yes. > Is that username a contact on any hosts or services? Not yet. I just got this going. The last time I used Nagios, there was a hosts.cfg, services.cfg, etc. I haven't yet figured out how to add stuff. I went into /etc/nagios/objects/windows.cfg and added a host entry for one Windows server and changed a couple of the services to refer to it instead of the stock "winserver", but nothing is showing up in the Nagios UI yet. I was hoping to find "The Absolute Beginners FAQ"... here's how to add a host, here's how to add a service. But the docs at http://nagios.sourceforge.net/docs/3_0/toc.html refer to each other in a circle. I'm not sure how much reading I'm going to have to do to discover how to do this. Does Nagios just read any config file in /etc/nagios/objects/ ? Should I just create a /etc/nagios/objects/hosts.cfg? Is there some other file that hosts and services and such should be added to? I think I will remember enough to get going once I find out how this stuff has changed between 2.X and 3.X -- *********************************************************************** * John Oliver http://www.john-oliver.net/ * * * *********************************************************************** ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Nov 10 22:44:53 2009 From: td3201 at gmail.com (Terry) Date: Tue, 10 Nov 2009 15:44:53 -0600 Subject: nsclient changing service down state Message-ID: <8ee061010911101344q721ee1afw3a67efe0113b0627@mail.gmail.com> Hello, I have a simple check set up to check a windows service using nsclient++. It works great. However, I want it to go to a warning state when a service is stopped, not critical: -sh-3.2$ /usr/lib64/nagios/plugins/check_nrpe -H host -t 50 -c checkServiceState -a ShowAll MSSQLSERVER=started CRITICAL: MSSQLSERVER: stopped (critical) -sh-3.2$ echo $? 2 Again, I don't want it to ALWAYS be warning, just not be critical. The end goal is for me to have an email sent, not a page. So I am also rolling around the possibility of messing with the notifications but don't want to over complicate things either. Hopefully I am not overlooking something obvious. Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 10 23:04:10 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Nov 2009 16:04:10 -0600 Subject: nsclient changing service down state In-Reply-To: <8ee061010911101344q721ee1afw3a67efe0113b0627@mail.gmail.com> References: <8ee061010911101344q721ee1afw3a67efe0113b0627@mail.gmail.com> Message-ID: On Nov 10, 2009, at 3:44 PM, Terry wrote: > Hello, > > I have a simple check set up to check a windows service using > nsclient++. It works great. However, I want it to go to a warning > state when a service is stopped, not critical: > -sh-3.2$ /usr/lib64/nagios/plugins/check_nrpe -H host -t 50 -c > checkServiceState -a ShowAll MSSQLSERVER=started > CRITICAL: MSSQLSERVER: stopped (critical) > -sh-3.2$ echo $? > 2 > > Again, I don't want it to ALWAYS be warning, just not be critical. If you always want CRITICAL to be changed to WARNING for this test, you could use the negate plugin. ./negate --help negate v1859 (nagios-plugins 1.4.11) Copyright (c) 2002-2007 Nagios Plugin Development Team Negates the status of a plugin (returns OK for CRITICAL and vice-versa). Additional switches can be used to control which state becomes what. Usage:negate [-t timeout] [-owcu STATE] [snippage] -c,--critical=STATUS STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without single quotes. Numeric values are accepted. If nothing is specified, permutes OK and CRITICAL. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.friedrich at univie.ac.at Tue Nov 10 23:09:17 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Tue, 10 Nov 2009 23:09:17 +0100 Subject: NDOUTILS - Duplicate lines for each service check in servicechecks table (ndoutils 1.4b9) In-Reply-To: References: Message-ID: <4AF9E48D.70108@univie.ac.at> ?yvind Nordang wrote: > Duplicate lines for each service check in servicechecks table > (ndoutils 1.4b9) > > I have: > Nagios 3.2.0 > NDOutils 1.4b9 > > Is this a bug of feature? I've attached the patch to nagios-devel, dunno when it will be fixed then. But I have analyzed more queries, and there are several other tables missing unique constraints and therefore causing duplicate rows - e.g. systemcommands while testing perfdata output ... Maybe another patch will follow but first I will first on Icinga :-) Kind regards, Michael ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Tue Nov 10 23:15:50 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 10 Nov 2009 17:15:50 -0500 Subject: Error after installed Nagios in a new server In-Reply-To: References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> <4AF9B676.7020409@uci.cu> Message-ID: <4AF9E616.6000006@uci.cu> Marc Powell wrote: > On Nov 10, 2009, at 12:52 PM, ReynierPM wrote: > > > Besides the only other option I could think of before? > > Can you see hosts/services with 'use_authentication' disabled? Could > you have a web server permissions problem? Does your web server have > read access to the nagios var directory and files? Well I disabled 'use_authentication' and now I can access without problems, but this is not a security breach? -- Cheers ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 10 23:22:06 2009 From: marc at ena.com (Marc Powell) Date: Tue, 10 Nov 2009 16:22:06 -0600 Subject: Error after installed Nagios in a new server In-Reply-To: <4AF9E616.6000006@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> <4AF9B676.7020409@uci.cu> <4AF9E616.6000006@uci.cu> Message-ID: <9236CE22-6E00-4F1E-A705-884603AF43F7@ena.com> On Nov 10, 2009, at 4:15 PM, ReynierPM wrote: > Marc Powell wrote: >> On Nov 10, 2009, at 12:52 PM, ReynierPM wrote: >> Besides the only other option I could think of before? >> Can you see hosts/services with 'use_authentication' disabled? >> Could you have a web server permissions problem? Does your web >> server have read access to the nagios var directory and files? > > Well I disabled 'use_authentication' and now I can access without > problems, but this is not a security breach? I don't know that I'd say security breach but it does show that permissions are not an issue per se and that you're editing the right file. I have no more suggestions for you other than to try with simple .htaccess/htpasswd auth instead of your LDAP auth. Perhaps that's doing something strange to REMOTE_USER. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Nov 10 23:53:13 2009 From: td3201 at gmail.com (Terry) Date: Tue, 10 Nov 2009 16:53:13 -0600 Subject: nsclient changing service down state In-Reply-To: References: <8ee061010911101344q721ee1afw3a67efe0113b0627@mail.gmail.com> Message-ID: <8ee061010911101453h2f405d9cg36d1f40aa6e2926d@mail.gmail.com> On Tue, Nov 10, 2009 at 4:04 PM, Marc Powell wrote: > > On Nov 10, 2009, at 3:44 PM, Terry wrote: > >> Hello, >> >> I have a simple check set up to check a windows service using >> nsclient++. ?It works great. ?However, I want it to go to a warning >> state when a service is stopped, not critical: >> -sh-3.2$ /usr/lib64/nagios/plugins/check_nrpe -H host -t 50 -c >> checkServiceState -a ShowAll MSSQLSERVER=started >> CRITICAL: MSSQLSERVER: stopped (critical) >> -sh-3.2$ echo $? >> 2 >> >> Again, I don't want it to ALWAYS be warning, just not be critical. > > If you always want CRITICAL to be changed to WARNING for this test, > you could use the negate plugin. > > ?./negate --help > negate v1859 (nagios-plugins 1.4.11) > Copyright (c) 2002-2007 Nagios Plugin Development Team > ? ? ? ? > > Negates the status of a plugin (returns OK for CRITICAL and vice-versa). > Additional switches can be used to control which state becomes what. > > > Usage:negate [-t timeout] [-owcu STATE] > ? ? ? ? [snippage] > ?-c,--critical=STATUS > > ? ? STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without > single > ? ? quotes. Numeric values are accepted. If nothing is specified, > permutes > ? ? OK and CRITICAL. > > -- > Marc [root at omajelut01 plugins]# /usr/lib64/nagios/plugins/negate -c WARNING /usr/lib64//nagios/plugins/check_nrpe -H host -t 50 -c checkServiceState -a ShowAll MSSQLSERVER=started CRITICAL: MSSQLSERVER: stopped (critical) [root at omajelut01 plugins]# echo $? 1 The plugin still says CRITICAL but as you can see will actually register as a warning. Perfect. Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 11 01:25:26 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 10 Nov 2009 16:25:26 -0800 Subject: Don't have permission In-Reply-To: <20091110205802.GA10689@ns.sdsitehosting.net> References: <20091110194337.GA8406@ns.sdsitehosting.net> <20091110195457.GY3236@bakgwai.americas.hpqcorp.net> <20091110205802.GA10689@ns.sdsitehosting.net> Message-ID: <20091111002526.GB3236@bakgwai.americas.hpqcorp.net> Hi John! On Tue, 10 Nov 2009, John Oliver wrote: > On Tue, Nov 10, 2009 at 11:54:57AM -0800, Morris, Patrick wrote: > > Do you have Apache authentication configured? > > Yes, and that works. > > > How have you set any authentication options in the cgi.cfg file? > > I have not touched that file. > > > Does nagios show you as logged in? > > Yes. > > > Is that username a contact on any hosts or services? > > Not yet. Well, that's why, then. The default behavior of Nagios is to only show you the stuff you're a contact on. If you're not a contact on anything, then you'll get the message you're seeing. > I just got this going. The last time I used Nagios, there was a > hosts.cfg, services.cfg, etc. I haven't yet figured out how to add > stuff. I went into /etc/nagios/objects/windows.cfg and added a host > entry for one Windows server and changed a couple of the services to > refer to it instead of the stock "winserver", but nothing is showing up > in the Nagios UI yet. Take a look at the nagios.cfg file. It lists every file (or directory) it'll look in for configs. It's the same as Nagios 2 in that respect. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.filla at gmail.com Wed Nov 11 04:12:51 2009 From: joseph.filla at gmail.com (Joseph Filla) Date: Tue, 10 Nov 2009 19:12:51 -0800 Subject: Check_ssh not working Message-ID: <1c2386500911101912k65e8200ewdcb7e79f7a47dcbf@mail.gmail.com> Good day, My nagios 3.2 with nagios-plugins 1.4.14 install running on Debian 5 is not running check_ssh correctly. I can run it successfully from the command line as both myself and as user nagios but the web pages are showing a status of 'Unknown' and a Status Information of 'check_ssh: Could not parse arguments' My check command: # 'check_ssh' command definition: define command{ command_name check_ssh command_line $USER1$/check_ssh -H $HOSTADDRESS$ } my service definition: define service{ use default-service-host hostgroup_name linux_hosts service_description SSH check_command check_ssh } I've also tried running check_ssh without the '-H $HOSTADDRESS$' but still the same. I've set this to check three different hosts, including localhost, and I do not get any status other than UNKNOWN. Any help is very much appreciated. Joe ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Wed Nov 11 05:20:00 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 10 Nov 2009 23:20:00 -0500 Subject: Error after installed Nagios in a new server In-Reply-To: <9236CE22-6E00-4F1E-A705-884603AF43F7@ena.com> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> <4AF9B676.7020409@uci.cu> <4AF9E616.6000006@uci.cu> <9236CE22-6E00-4F1E-A705-884603AF43F7@ena.com> Message-ID: <4AFA3B70.4090800@uci.cu> Marc Powell wrote: > I don't know that I'd say security breach but it does show that > permissions are not an issue per se and that you're editing the right > file. Ok, if you said this I believe because you're and expert and I don't. > I have no more suggestions for you other than to try with > simple .htaccess/htpasswd auth instead of your LDAP auth. Perhaps > that's doing something strange to REMOTE_USER. Maybe you or developers will take this into account for future version of Nagios. Personally in my work is better use a LDAP domain instead of create independents users every time I need gain acces to Nagios Web Interface. Cheers -- ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ian at acces.co.jp Wed Nov 11 05:26:00 2009 From: ian at acces.co.jp (Ian Masters) Date: Wed, 11 Nov 2009 13:26:00 +0900 Subject: Check_ssh not working In-Reply-To: <1c2386500911101912k65e8200ewdcb7e79f7a47dcbf@mail.gmail.com> References: <1c2386500911101912k65e8200ewdcb7e79f7a47dcbf@mail.gmail.com> Message-ID: <4AFA3CD8.9070906@acces.co.jp> Joseph > # 'check_ssh' command definition: > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ > } Try changing this to: # 'check_ssh' command definition define command{ command_name check_ssh command_line $USER1$/check_ssh $ARG1$ $HOSTADDRESS$ } Ian ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Wed Nov 11 05:31:33 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 10 Nov 2009 23:31:33 -0500 Subject: Problems checking external host Message-ID: <4AFA3E25.3030003@uci.cu> Hi every: I'm trying to check a external server using check_by_ssh command but I'm getting this errors: 1. Remote command execution failed: Host key verification failed. 2. (Return code of 127 is out of bounds - plugin may be missing) My config is as follow for bacula-server.cfg: # HOST DEFINITION define host{ use linux-server host_name bacula-server alias bacula address 10.128.50.11 } # SERVICE DEFINITIONS define service{ use generic-service host_name bacula-server service_description PING check_command check_nrpe!check_ping!100.0,20%!500.0,60% } define service{ use generic-service host_name bacula-server service_description Linux LVM Space SDA2 check_command check_nrpe!check_sda2!20%!10%!/ } define service{ use generic-service host_name bacula-server service_description SAN Space SDB1 check_command check_nrpe!check_sdb1!20%!10%!/ } define service{ use generic-service host_name bacula-server service_description Current Users check_command check_nrpe!check_users!20!50 } define service{ use generic-service host_name bacula-server service_description Total Processes check_command check_nrpe!check_procs!250!400!RSZDT } define service{ use generic-service host_name bacula-server service_description Current Load check_command check_nrpe!check_load!5.0,4.0,3.0!10.0,6.0,4.0 } define service{ use generic-service host_name bacula-server service_description Swap Usage check_command check_nrpe!check_swap!20!10 } define service{ use generic-service host_name bacula-server service_description Bacula FD Daemon check_command check_spezial_procs_by_ssh!2:!1:!bacula-fd } define service{ use generic-service host_name bacula-server service_description Bacula SD Daemon check_command check_spezial_procs_by_ssh!2:!1:!bacula-sd } define service{ use generic-service host_name bacula-server service_description Bacula DIR Daemon check_command check_spezial_procs_by_ssh!2:!1:!bacula-dir } The check_spezial_procs_by_ssh is defined in commands.cfg file as follow: define command { command_name check_spezial_procs_by_ssh command_line $USER1$/check_by_ssh -t 60 -H $HOSTADDRESS$ -C "/usr/local/nagios/libexec/check_procs -w $ARG1$ -c $ARG2$ -C $ARG3$" } Why it fails? Cheers and thanks in advance -- ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Wed Nov 11 10:17:57 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Wed, 11 Nov 2009 10:17:57 +0100 Subject: Error after installed Nagios in a new server In-Reply-To: <4AFA3B70.4090800@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> <4AF9B676.7020409@uci.cu> <4AF9E616.6000006@uci.cu> <9236CE22-6E00-4F1E-A705-884603AF43F7@ena.com> <4AFA3B70.4090800@uci.cu> Message-ID: <20091111101757.032ef2bc@orange.fr> Le Tue, 10 Nov 2009 23:20:00 -0500, ReynierPM a ?crit : > Maybe you or developers will take this into account for future > version of Nagios. Personally in my work is better use a LDAP domain > instead of create independents users every time I need gain acces to > Nagios Web Interface. Authentication is made by Apache (via ldap or anything else) not by nagios. Apache set the REMOTE_USER and it must match a contact name from nagios configuration. So you have to user the user name from ldap in your nagios config. -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 11 10:50:10 2009 From: melanie_pfefer at yahoo.co.uk (Melanie Pfefer) Date: Wed, 11 Nov 2009 09:50:10 +0000 (GMT) Subject: add categories of warnings Message-ID: <843746.66725.qm@web26207.mail.ukl.yahoo.com> Hello, Is there a way to add categories to nagios other than warning/critical/recovery? What I want to achieve here is to have stats on a specific warning. Currently, 10 or maybe 15 types of warning are categorized in nagios as 1 warning. Is these stats can be gathered in another method, please also let me know. Thanks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 11 11:58:54 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 11 Nov 2009 05:58:54 -0500 Subject: nsclient changing service down state In-Reply-To: <8ee061010911101453h2f405d9cg36d1f40aa6e2926d@mail.gmail.com> References: <8ee061010911101344q721ee1afw3a67efe0113b0627@mail.gmail.com> <8ee061010911101453h2f405d9cg36d1f40aa6e2926d@mail.gmail.com> Message-ID: <4AFA98EE.8070403@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 10/11/09 05:53 PM, Terry wrote: > On Tue, Nov 10, 2009 at 4:04 PM, Marc Powell wrote: >> On Nov 10, 2009, at 3:44 PM, Terry wrote: >> >>> Hello, >>> >>> I have a simple check set up to check a windows service using >>> nsclient++. It works great. However, I want it to go to a warning >>> state when a service is stopped, not critical: >>> -sh-3.2$ /usr/lib64/nagios/plugins/check_nrpe -H host -t 50 -c >>> checkServiceState -a ShowAll MSSQLSERVER=started >>> CRITICAL: MSSQLSERVER: stopped (critical) >>> -sh-3.2$ echo $? >>> 2 >>> >>> Again, I don't want it to ALWAYS be warning, just not be critical. >> If you always want CRITICAL to be changed to WARNING for this test, >> you could use the negate plugin. >> >> ./negate --help >> negate v1859 (nagios-plugins 1.4.11) >> Copyright (c) 2002-2007 Nagios Plugin Development Team >> >> >> Negates the status of a plugin (returns OK for CRITICAL and vice-versa). >> Additional switches can be used to control which state becomes what. >> >> >> Usage:negate [-t timeout] [-owcu STATE] >> [snippage] >> -c,--critical=STATUS >> >> STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without >> single >> quotes. Numeric values are accepted. If nothing is specified, >> permutes >> OK and CRITICAL. >> >> -- >> Marc > > > [root at omajelut01 plugins]# /usr/lib64/nagios/plugins/negate -c WARNING > /usr/lib64//nagios/plugins/check_nrpe -H host -t 50 -c > checkServiceState -a ShowAll MSSQLSERVER=started > CRITICAL: MSSQLSERVER: stopped (critical) > [root at omajelut01 plugins]# echo $? > 1 > > The plugin still says CRITICAL but as you can see will actually > register as a warning. Perfect. Thanks! Since 1.4.12 you can use -s (--substitute) to change the status text as well. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFK+pjt6dZ+Kt5BchYRAnedAJ0ZD4CEGW8XEFZyOTbBWGOSo+t2FQCgtikk N1lQ+idzhEA1ebCUAlnICuk= =Q9t1 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Albert.Shih at obspm.fr Wed Nov 11 12:23:27 2009 From: Albert.Shih at obspm.fr (Albert Shih) Date: Wed, 11 Nov 2009 12:23:27 +0100 Subject: notify_recovery Message-ID: <20091111112327.GF37536@obspm.fr> Hi I've template about all my service. For one service I don't want a message when the service is recovery. It'seem the notify_recovery don't work anymore in service. So how can I tell one service I don't want recovery message ? I prefer to not do something like notifications_options w,f,c Is there any way to say something like ?delete? inheritance strings value ? I'm run Nagios 3.0 Regards. -- Albert SHIH SIO batiment 15 Observatoire de Paris Meudon 5 Place Jules Janssen 92195 Meudon Cedex T?l?phone : 01 45 07 76 26/06 86 69 95 71 Heure local/Local time: Mer 11 nov 2009 12:17:14 CET ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Nov 11 13:59:32 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 11 Nov 2009 07:59:32 -0500 Subject: Problems checking external host In-Reply-To: <4AFA3E25.3030003@uci.cu> References: <4AFA3E25.3030003@uci.cu> Message-ID: <24B6509E4191AF44B60A24EAA3B4AD492A3676@nuexchg.norwich.edu> >> -----Original Message----- >> From: ReynierPM [mailto:rperezm at uci.cu] >> Sent: Tuesday, November 10, 2009 11:32 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Problems checking external host >> >> Hi every: >> I'm trying to check a external server using check_by_ssh command but I'm >> getting this errors: >> 1. Remote command execution failed: Host key verification failed. >> 2. (Return code of 127 is out of bounds - plugin may be missing) >> >> My config is as follow for bacula-server.cfg: >> Hi, I believe the key error here is: "Host key verification failed" - I don't use check_by_ssh, but I assume you need to setup shared ssh keys for password-less authentication - http://lmgtfy.com/?q=ssh+shared+key regards, james ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 11 14:05:33 2009 From: marc at ena.com (Marc Powell) Date: Wed, 11 Nov 2009 07:05:33 -0600 Subject: Error after installed Nagios in a new server In-Reply-To: <4AFA3B70.4090800@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> <4AF9B676.7020409@uci.cu> <4AF9E616.6000006@uci.cu> <9236CE22-6E00-4F1E-A705-884603AF43F7@ena.com> <4AFA3B70.4090800@uci.cu> Message-ID: <085BF49A-7233-41BF-8475-6E9535C1D143@ena.com> On Nov 10, 2009, at 10:20 PM, ReynierPM wrote: > Marc Powell wrote: >> I don't know that I'd say security breach but it does show that permissions are not an issue per se and that you're editing the right file. > > Ok, if you said this I believe because you're and expert and I don't. I'm a bit confused by this statement. This test was just a troubleshooting step, really to eliminate filesystem permission issues. As far as being a security issue, that depends entirely on your environment and policies. I have several nagios instances with authentication off and several with it on, based on our needs. >> I have no more suggestions for you other than to try with simple .htaccess/htpasswd auth instead of your LDAP auth. Perhaps that's doing something strange to REMOTE_USER. > > Maybe you or developers will take this into account for future version of Nagios. Take what into account/how? There's nothing that nagios needs to account for. Either your auth plugin sets the normal auth environment variable and you've told nagios to expect that exact string or not. > Personally in my work is better use a LDAP domain instead of create independents users every time I need gain acces to Nagios Web Interface. My suggestion to do so was yet another troubleshooting step to eliminate your ldap auth plugin as a source of the problem. If you can log in with a htpasswd user and everything works then the problem is with the LDAP auth configuration in apache. It gives you a direction to look. There's no reason you shouldn't be able to use LDAP auth assuming that your chosen auth plugin does the right things. A quick google for 'nagios ldap authentication' show several how-to's, specifically ldap against Active Directory so it can work... It appears the most common problem is that the ldap plugin may set the REMOTE_USER environment variable to the entire DN, not just the username part. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 11 14:07:25 2009 From: marc at ena.com (Marc Powell) Date: Wed, 11 Nov 2009 07:07:25 -0600 Subject: Check_ssh not working In-Reply-To: <1c2386500911101912k65e8200ewdcb7e79f7a47dcbf@mail.gmail.com> References: <1c2386500911101912k65e8200ewdcb7e79f7a47dcbf@mail.gmail.com> Message-ID: <387E4EA5-CAF7-4490-8557-6D87D96D9588@ena.com> On Nov 10, 2009, at 9:12 PM, Joseph Filla wrote: > Good day, > > My nagios 3.2 with nagios-plugins 1.4.14 install running on Debian 5 > is not running check_ssh correctly. I can run it successfully from the > command line as both myself and as user nagios but the web pages are > showing a status of 'Unknown' and a Status Information of 'check_ssh: > Could not parse arguments' > > My check command: > > # 'check_ssh' command definition: > define command{ > command_name check_ssh > command_line $USER1$/check_ssh -H $HOSTADDRESS$ > } > > my service definition: > define service{ > use default-service-host > hostgroup_name linux_hosts > service_description SSH > check_command check_ssh > } Verify that these are actually what nagios is using by finding them in objects.cache. Verify that you don't have multiple copies of nagios running at the same time (stop, kill any that remain, start). -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 11 14:11:45 2009 From: marc at ena.com (Marc Powell) Date: Wed, 11 Nov 2009 07:11:45 -0600 Subject: add categories of warnings In-Reply-To: <843746.66725.qm@web26207.mail.ukl.yahoo.com> References: <843746.66725.qm@web26207.mail.ukl.yahoo.com> Message-ID: On Nov 11, 2009, at 3:50 AM, Melanie Pfefer wrote: > Hello, > > Is there a way to add categories to nagios other than warning/critical/recovery? no/yes. That functionality doesn't exist. You could code it and add it to nagios though. I do not believe it would be trivial. > Is these stats can be gathered in another method, please also let me know. It's not clear what you're really going for but perhaps post-analysis of the nagios.log files? -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Wed Nov 11 14:32:44 2009 From: mmelin at gmail.com (Martin Melin) Date: Wed, 11 Nov 2009 14:32:44 +0100 Subject: add categories of warnings In-Reply-To: <843746.66725.qm@web26207.mail.ukl.yahoo.com> References: <843746.66725.qm@web26207.mail.ukl.yahoo.com> Message-ID: Part of the beauty of Nagios is that it does not need to know about the different types of failures that can happen in your network. If you explain what kind of end result you're trying to achieve, I think we can point you in the right direction. Perhaps you would be better served by using something like pnp4nagios to process performance data provided by your check plugins? Regards, Martin Melin On Wed, Nov 11, 2009 at 10:50 AM, Melanie Pfefer wrote: > Hello, > > Is there a way to add categories to nagios other than > warning/critical/recovery? > > What I want to achieve here is to have stats on a specific warning. > Currently, 10 or maybe 15 types of warning are categorized in nagios as 1 > warning. > Is these stats can be gathered in another method, please also let me know. > > Thanks > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Wed Nov 11 15:22:58 2009 From: td3201 at gmail.com (Terry) Date: Wed, 11 Nov 2009 08:22:58 -0600 Subject: nsclient changing service down state In-Reply-To: <4AFA98EE.8070403@aei.ca> References: <8ee061010911101344q721ee1afw3a67efe0113b0627@mail.gmail.com> <8ee061010911101453h2f405d9cg36d1f40aa6e2926d@mail.gmail.com> <4AFA98EE.8070403@aei.ca> Message-ID: <8ee061010911110622k62291214le5e3f5f2840a644b@mail.gmail.com> Oh, ya, good catch. Appreciate the responses. On Wed, Nov 11, 2009 at 4:58 AM, Thomas Guyot-Sionnest wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On 10/11/09 05:53 PM, Terry wrote: >> On Tue, Nov 10, 2009 at 4:04 PM, Marc Powell wrote: >>> On Nov 10, 2009, at 3:44 PM, Terry wrote: >>> >>>> Hello, >>>> >>>> I have a simple check set up to check a windows service using >>>> nsclient++. ?It works great. ?However, I want it to go to a warning >>>> state when a service is stopped, not critical: >>>> -sh-3.2$ /usr/lib64/nagios/plugins/check_nrpe -H host -t 50 -c >>>> checkServiceState -a ShowAll MSSQLSERVER=started >>>> CRITICAL: MSSQLSERVER: stopped (critical) >>>> -sh-3.2$ echo $? >>>> 2 >>>> >>>> Again, I don't want it to ALWAYS be warning, just not be critical. >>> If you always want CRITICAL to be changed to WARNING for this test, >>> you could use the negate plugin. >>> >>> ?./negate --help >>> negate v1859 (nagios-plugins 1.4.11) >>> Copyright (c) 2002-2007 Nagios Plugin Development Team >>> ? ? ? ? >>> >>> Negates the status of a plugin (returns OK for CRITICAL and vice-versa). >>> Additional switches can be used to control which state becomes what. >>> >>> >>> Usage:negate [-t timeout] [-owcu STATE] >>> ? ? ? ? [snippage] >>> ?-c,--critical=STATUS >>> >>> ? ? STATUS can be 'OK', 'WARNING', 'CRITICAL' or 'UNKNOWN' without >>> single >>> ? ? quotes. Numeric values are accepted. If nothing is specified, >>> permutes >>> ? ? OK and CRITICAL. >>> >>> -- >>> Marc >> >> >> [root at omajelut01 plugins]# /usr/lib64/nagios/plugins/negate -c WARNING >> /usr/lib64//nagios/plugins/check_nrpe -H host -t 50 -c >> checkServiceState -a ShowAll MSSQLSERVER=started >> CRITICAL: MSSQLSERVER: stopped (critical) >> [root at omajelut01 plugins]# echo $? >> 1 >> >> The plugin still says CRITICAL but as you can see will actually >> register as a warning. ?Perfect. ?Thanks! > > Since 1.4.12 you can use -s (--substitute) to change the status text as > well. > > - -- > Thomas > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.6 (GNU/Linux) > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org > > iD8DBQFK+pjt6dZ+Kt5BchYRAnedAJ0ZD4CEGW8XEFZyOTbBWGOSo+t2FQCgtikk > N1lQ+idzhEA1ebCUAlnICuk= > =Q9t1 > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Wed Nov 11 16:41:04 2009 From: wallis at aps.anl.gov (David Wallis) Date: Wed, 11 Nov 2009 09:41:04 -0600 Subject: Error after installed Nagios in a new server In-Reply-To: <4AFA3B70.4090800@uci.cu> References: <4AF8E971.7070600@uci.cu> <4AF974E5.4090306@uci.cu> <94135490-6302-4572-AECC-0B56163115DA@ena.com> <4AF99309.7020605@uci.cu> <6DC49330-1C6F-4E81-8E60-2C79B4F9C1A0@ena.com> <4AF9B676.7020409@uci.cu> <4AF9E616.6000006@uci.cu> <9236CE22-6E00-4F1E-A705-884603AF43F7@ena.com> <4AFA3B70.4090800@uci.cu> Message-ID: <4AFADB10.8060801@aps.anl.gov> ReynierPM wrote: >> simple .htaccess/htpasswd auth instead of your LDAP auth. Perhaps >> that's doing something strange to REMOTE_USER. >> > I have no more suggestions for you other than to try with > > Maybe you or developers will take this into account for future version > of Nagios. Personally in my work is better use a LDAP domain instead of > create independents users every time I need gain acces to Nagios Web > Interface. > Cheers > I use LDAP authentication on all of my Nagios installations, and have never had a problem with it. Obviously, your LDAP configuration is likely to be different than mine, but in general, LDAP and Nagios play nicely together. -- David Wallis Information Technology Advanced Photon Source Argonne National Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Wed Nov 11 16:48:32 2009 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Wed, 11 Nov 2009 10:48:32 -0500 Subject: read-only nagios Message-ID: <7f62d2420911110748r9a1661en673aba7d4b0c5434@mail.gmail.com> We're looking for a mechanism to allow others access to our nagios server for viewing only. The kicker is they want to be able to reach it without any htpasswd so multiple htpasswords and authorization_for_system_commands is not an option. I'm thinking the only practical method to accomplish this is to somehow mirror the install elsewhere. One idea was a cronjob that ran a wget hitting the status cgi and dumping it somewhere on the same machine. This still tends to have authentication queries embedded in it. Another option might be another install on the same server, different port, no authentication and perhaps rsync'ing data from the master. Has anyone set up anything like this before? TIA ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Wed Nov 11 17:11:32 2009 From: jpratt at norwich.edu (James Pratt) Date: Wed, 11 Nov 2009 11:11:32 -0500 Subject: read-only nagios In-Reply-To: <7f62d2420911110748r9a1661en673aba7d4b0c5434@mail.gmail.com> References: <7f62d2420911110748r9a1661en673aba7d4b0c5434@mail.gmail.com> Message-ID: <24B6509E4191AF44B60A24EAA3B4AD492A36F6@nuexchg.norwich.edu> >> -----Original Message----- >> From: dave stern - e-mail.pluribus.unum [mailto:dit.dash at gmail.com] >> Sent: Wednesday, November 11, 2009 10:49 AM >> To: nagios List >> Subject: [Nagios-users] read-only nagios >> >> We're looking for a mechanism to allow others access to our nagios >> server for viewing only. The kicker is they want to be able to reach it >> without any htpasswd so multiple htpasswords and >> authorization_for_system_commands is not an option. >> >> I'm thinking the only practical method to accomplish this is to >> somehow mirror the install elsewhere. One idea was a cronjob that >> ran a wget hitting the status cgi and dumping it somewhere on the >> same machine. This still tends to have authentication queries >> embedded in it. Another option might be another install on the >> same server, different port, no authentication and >> perhaps rsync'ing data from the master. >> >> Has anyone set up anything like this before? >> >> TIA Have you considered Nagios Looking Glass? Sounds like it may do the job, but I've never used it myself - http://exchange.nagios.org/directory/Addons/Frontends-%28GUIs-and-CLIs%2 9/Web-Interfaces/Nagios-Looking-Glass/details cheers, jamie ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 11 18:30:04 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 11 Nov 2009 09:30:04 -0800 Subject: Problems checking external host In-Reply-To: <4AFA3E25.3030003@uci.cu> References: <4AFA3E25.3030003@uci.cu> Message-ID: <4AFAF49C.1070701@hp.com> ReynierPM wrote: > Hi every: > I'm trying to check a external server using check_by_ssh command but I'm > getting this errors: > 1. Remote command execution failed: Host key verification failed. > 2. (Return code of 127 is out of bounds - plugin may be missing) > > [snip] > > Why it fails? > Cheers and thanks in advance > check_by_ssh does host key checking, and if one does not exist or it does not match what's in Nagios's known_hosts file, it will fail. The easy fix would be to SSH from the Nagios box to each of those hosts manually as the Nagios user, using the exact same address Nagios will use when checking, and let it save the host key. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 11 18:31:13 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 11 Nov 2009 09:31:13 -0800 Subject: notify_recovery In-Reply-To: <20091111112327.GF37536@obspm.fr> References: <20091111112327.GF37536@obspm.fr> Message-ID: <4AFAF4E1.5030107@hp.com> Albert Shih wrote: > Hi > > I've template about all my service. > > For one service I don't want a message when the service is recovery. > > It'seem the notify_recovery don't work anymore in service. > > So how can I tell one service I don't want recovery message ? I prefer to > not do something like > > notifications_options w,f,c > > Is there any way to say something like ?delete? inheritance strings value ? > No, there is not. If you want to override the default values and remove an option, you'll need to specify all the options you want. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From john at andrunas.net Wed Nov 11 19:53:07 2009 From: john at andrunas.net (John Andrunas) Date: Wed, 11 Nov 2009 10:53:07 -0800 Subject: Encrpyt passwords in resource.cfg Message-ID: <9c4cd14a0911111053p100236f4m50730833732b2ff@mail.gmail.com> Is it possible to encrypt passwords in the resource.cfg file? Other than file permissions/SElinux, what methods would people use to secure the resource.cfg file? -- John ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Wed Nov 11 20:51:20 2009 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Wed, 11 Nov 2009 14:51:20 -0500 Subject: Summary: read-only nagios Message-ID: <7f62d2420911111151n71c3b8abq9e1bbcdbcfeb8eca@mail.gmail.com> It seems that all options will run up against the fact that we have enabled web authentication and are not willing to turn it off. I've come up with a couple of ideas however. 1/ create a htpasswd account called guest with no password. At least that limits the necessary typing/authentication 2/ You can encode a username/password combination into a URL. This can also work with a redirect. So if I have an htpasswd account named "open", password "open", I can point people to a URL containing this: This works perfectly....for most browsers. IE, in its infinite wisdom wont allow this for security concerns. Thanks to everyone for their help ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Wed Nov 11 20:54:16 2009 From: wallis at aps.anl.gov (David Wallis) Date: Wed, 11 Nov 2009 13:54:16 -0600 Subject: Encrpyt passwords in resource.cfg In-Reply-To: <9c4cd14a0911111053p100236f4m50730833732b2ff@mail.gmail.com> References: <9c4cd14a0911111053p100236f4m50730833732b2ff@mail.gmail.com> Message-ID: <4AFB1668.8080907@aps.anl.gov> John Andrunas wrote: > Is it possible to encrypt passwords in the resource.cfg file? Other > than file permissions/SElinux, what methods would people use to secure > the resource.cfg file? > > You can increase the security by turning off world read and making the file readable by only your nagios user and group. I don't know definitively, but I doubt it's possible to encrypt passwords in config files without modifying Nagios source code. -- David Wallis Information Technology Advanced Photon Source Argonne National Laboratory ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 11 22:14:32 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 11 Nov 2009 13:14:32 -0800 Subject: Encrpyt passwords in resource.cfg In-Reply-To: <9c4cd14a0911111053p100236f4m50730833732b2ff@mail.gmail.com> References: <9c4cd14a0911111053p100236f4m50730833732b2ff@mail.gmail.com> Message-ID: <20091111211432.GG3236@bakgwai.americas.hpqcorp.net> On Wed, 11 Nov 2009, John Andrunas wrote: > Is it possible to encrypt passwords in the resource.cfg file? Other > than file permissions/SElinux, what methods would people use to secure > the resource.cfg file? Sure. You can put anything you want in that file. However, if you do you're also going to need to come up with a way to decrypt them when you pass them off to whatever needs them. Nagios does no processing on what's in that file other than stick those values into variables for you. What you do with those values is completely up to you. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Wed Nov 11 22:10:48 2009 From: mmelin at gmail.com (Martin Melin) Date: Wed, 11 Nov 2009 22:10:48 +0100 Subject: Summary: read-only nagios In-Reply-To: <7f62d2420911111151n71c3b8abq9e1bbcdbcfeb8eca@mail.gmail.com> References: <7f62d2420911111151n71c3b8abq9e1bbcdbcfeb8eca@mail.gmail.com> Message-ID: I believe you could run two copies of the CGIs, one with only readonly access. I haven't looked into how you would do it but it shouldn't be too hard to do. On Wed, Nov 11, 2009 at 8:51 PM, dave stern - e-mail.pluribus.unum < dit.dash at gmail.com> wrote: > It seems that all options will run up against the fact that we have > enabled web authentication > and are not willing to turn it off. I've come up with a couple of ideas > however. > > 1/ create a htpasswd account called guest with no password. At least > that limits the > necessary typing/authentication > 2/ You can encode a username/password combination into a URL. This can also > work > with a redirect. So if I have an htpasswd account named "open", > password "open", > I can point people to a URL containing this: > > > This works perfectly....for most browsers. IE, in its infinite wisdom > wont allow this for > security concerns. > > Thanks to everyone for their help > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Nov 12 00:31:11 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 11 Nov 2009 18:31:11 -0500 Subject: Summary: read-only nagios In-Reply-To: References: <7f62d2420911111151n71c3b8abq9e1bbcdbcfeb8eca@mail.gmail.com> Message-ID: <4AFB493F.9070408@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 11/11/09 04:10 PM, Martin Melin wrote: > I believe you could run two copies of the CGIs, one with only readonly > access. I haven't looked into how you would do it but it shouldn't be > too hard to do. You can run the 2nd copy as a different user (I'm talking about the webserver/cgi user) that don't have write access to the command pipe. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFK+0k/6dZ+Kt5BchYRAvbMAJ9Ugj3z6mOEeOMNTnsA6MyiljBm1wCfc9J0 XIzHzHqlGp5boLMB2Q/COoc= =wZyJ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juki.emma at gmail.com Thu Nov 12 12:42:47 2009 From: juki.emma at gmail.com (Juki) Date: Thu, 12 Nov 2009 14:42:47 +0300 Subject: Installing Nagios Server on a Virtual Machine Message-ID: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> Hello people, I would like to know if it is advisable (or best practice) to install and run a Nagios monitoring server on a virtual machine (in this case, with OpenSuSE as the OS) with the intention of monitoring physical hardware client machines on the same LAN. If so, what known issues should I look out for in this case? Thanks, Juki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cschneemann at suse.de Thu Nov 12 13:03:05 2009 From: cschneemann at suse.de (Christian Schneemann) Date: Thu, 12 Nov 2009 13:03:05 +0100 Subject: Installing Nagios Server on a Virtual Machine In-Reply-To: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> References: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> Message-ID: <200911121303.06534.cschneemann@suse.de> Hi, On Thursday November 12 2009 12:42:47 pm Juki wrote: > Hello people, > > I would like to know if it is advisable (or best practice) to install and > run a Nagios monitoring server on a virtual machine (in this case, with > OpenSuSE as the OS) with > the intention of monitoring physical hardware client machines on the same > LAN. we have our Nagios testsystem and some distributed Nagios' running in Xen guests. We are seeing no problems with doing that. > > If so, what known issues should I look out for in this case? > > > Thanks, > Juki Greetings, Christian -- Christian Schneemann Operations & Services ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone:??+49 (0)911 - 740 53 0 e-mail:?cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Leif.Hoppe at hartrodt.com Thu Nov 12 13:59:32 2009 From: Leif.Hoppe at hartrodt.com (DE/HAM Hoppe, Leif) Date: Thu, 12 Nov 2009 13:59:32 +0100 Subject: Installing Nagios Server on a Virtual Machine In-Reply-To: <200911121303.06534.cschneemann@suse.de> References: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> <200911121303.06534.cschneemann@suse.de> Message-ID: <7C2C9D8B57E8144DB9A65851D781E1343AE5CC9A28@DC01MBX.ah.lan> Hi Juki, No problems here, either. OpenSuSe on Vmware ESX. regards from Hamburg cheers Leif -----Original Message----- From: Christian Schneemann [mailto:cschneemann at suse.de] Sent: Donnerstag, 12. November 2009 13:03 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual Machine Hi, On Thursday November 12 2009 12:42:47 pm Juki wrote: > Hello people, > > I would like to know if it is advisable (or best practice) to install and > run a Nagios monitoring server on a virtual machine (in this case, with > OpenSuSE as the OS) with > the intention of monitoring physical hardware client machines on the same > LAN. we have our Nagios testsystem and some distributed Nagios' running in Xen guests. We are seeing no problems with doing that. > > If so, what known issues should I look out for in this case? > > > Thanks, > Juki Greetings, Christian -- Christian Schneemann Operations & Services ------------------------------------- SUSE LINUX Products GmbH, Maxfeldstr. 5, D - 90409 N?rnberg Phone: +49 (0)911 - 740 53 0 e-mail: cschneemann at suse.de ------------------------------------- SUSE LINUX Products GmbH, GF: Markus Rex HRB 16746 (AG N?rnberg) ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Thu Nov 12 14:51:07 2009 From: kdawg44 at gmail.com (Kevin Holleran) Date: Thu, 12 Nov 2009 08:51:07 -0500 Subject: Monitoring Multiple Servers Message-ID: <5caea3690911120551o40031fe3o3994b8fc8b463143@mail.gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I am grouping a series of servers together (for example, all File and Print Servers). I remember seeing in a post someone mentioning wildcards for setting up monitoring. Can I define all the servers in a cfg file, and then set up a single monitor to cover all servers? So instead of having a "monitor disk space on C: drive for server 1", "monitor disk space on C: drive for server 2" ... "monitor disk space on C: drive for server N", can I say "monitor disk space on C: drive for all servers in CFG file"? Thanks. I have been trying to replace our network monitoring software with Nagios and I will say that though I have not completed the set up for our infrastructure, I have already changed many opinions from "No way" to "That looks great, what else can you do" Thanks for your continued support. Kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iQEcBAEBAgAGBQJK/BLKAAoJELwJyEr2hjSx8IgIAJmNbG2SNTweh6luBajSYJN5 +8+0vb0X9SHugiUJATR+1yv2TushW9U+9MJH1NTonPgmgR6Bb1tnpyZRtgN1735S +fd8GnL1Xceswsrd3Sx5WC5HY4fNPhIyWOq0EngmwYeQaKEsGgDCcIuT3aFrk4zV RkVHT0WaklpEggVrihFSZaM1c5Buf93uM2UJ9PlgYnsUPFk7ET+LgqAQHrquVpW9 2Dm/Qe/RiyrEiLoS8VQ3qtBMh10DDQWNXwJb2ZnYyRMOX+IiAP8MNHuky67zuk9c pFdjtjteTxV0Q4LB5qNsE4LhEGzXVrovoYgyoAzC8DTRX+lqEQjDANvJXZZKy3w= =3uyL -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From achapela.rexistros at gmail.com Thu Nov 12 15:09:03 2009 From: achapela.rexistros at gmail.com (Adrian Chapela) Date: Thu, 12 Nov 2009 15:09:03 +0100 Subject: Monitoring Multiple Servers In-Reply-To: <5caea3690911120551o40031fe3o3994b8fc8b463143@mail.gmail.com> References: <5caea3690911120551o40031fe3o3994b8fc8b463143@mail.gmail.com> Message-ID: <4AFC16FF.2080207@gmail.com> Kevin Holleran escribi?: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > I am grouping a series of servers together (for example, all File and > Print Servers). I remember seeing in a post someone mentioning > wildcards for setting up monitoring. Can I define all the servers in > a cfg file, and then set up a single monitor to cover all servers? So > instead of having a "monitor disk space on C: drive for server 1", > "monitor disk space on C: drive for server 2" ... "monitor disk space > on C: drive for server N", can I say "monitor disk space on C: drive > for all servers in CFG file"? > Are you looking for something like that ? host_name server1,server2, ... , serverN > Thanks. I have been trying to replace our network monitoring software > with Nagios and I will say that though I have not completed the set up > for our infrastructure, I have already changed many opinions from "No > way" to "That looks great, what else can you do" > > Thanks for your continued support. > > Kevin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) > > iQEcBAEBAgAGBQJK/BLKAAoJELwJyEr2hjSx8IgIAJmNbG2SNTweh6luBajSYJN5 > +8+0vb0X9SHugiUJATR+1yv2TushW9U+9MJH1NTonPgmgR6Bb1tnpyZRtgN1735S > +fd8GnL1Xceswsrd3Sx5WC5HY4fNPhIyWOq0EngmwYeQaKEsGgDCcIuT3aFrk4zV > RkVHT0WaklpEggVrihFSZaM1c5Buf93uM2UJ9PlgYnsUPFk7ET+LgqAQHrquVpW9 > 2Dm/Qe/RiyrEiLoS8VQ3qtBMh10DDQWNXwJb2ZnYyRMOX+IiAP8MNHuky67zuk9c > pFdjtjteTxV0Q4LB5qNsE4LhEGzXVrovoYgyoAzC8DTRX+lqEQjDANvJXZZKy3w= > =3uyL > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 12 17:36:05 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 12 Nov 2009 08:36:05 -0800 Subject: Monitoring Multiple Servers In-Reply-To: <5caea3690911120551o40031fe3o3994b8fc8b463143@mail.gmail.com> References: <5caea3690911120551o40031fe3o3994b8fc8b463143@mail.gmail.com> Message-ID: <4AFC3975.6010103@hp.com> Kevin Holleran wrote: > I am grouping a series of servers together (for example, all File and > Print Servers). I remember seeing in a post someone mentioning > wildcards for setting up monitoring. Can I define all the servers in > a cfg file, and then set up a single monitor to cover all servers? So > instead of having a "monitor disk space on C: drive for server 1", > "monitor disk space on C: drive for server 2" ... "monitor disk space > on C: drive for server N", can I say "monitor disk space on C: drive > for all servers in CFG file"? Sure. Stick them in a hostgroup, and attach the monitor to that group using hostgroup_name ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Thu Nov 12 18:36:38 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Thu, 12 Nov 2009 12:36:38 -0500 Subject: Installing Nagios Server on a Virtual Machine In-Reply-To: <7C2C9D8B57E8144DB9A65851D781E1343AE5CC9A28@DC01MBX.ah.lan> References: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> <200911121303.06534.cschneemann@suse.de> <7C2C9D8B57E8144DB9A65851D781E1343AE5CC9A28@DC01MBX.ah.lan> Message-ID: This was a year or two ago, but we found that when we ran Nagios in this way it worked in general, but because of the sort of variable size of a second on VMware, the latencies were kind of screwed up. This was clearly evidenced when we looked at the performance statistics. Nagios indicated that a lot of checks ran earlier or later than it had expected them to. I don't know if somehow that's gone away or not, but it was a big issue for us and not within the realm of things we were able to tolerate so we want back to physical servers. One of the arguments I know I've seen before on this list is the idea that you're doing your critical system monitoring inside an abstracted layer (the VM) which might alter your view of the world or fail to work should there be an issue with the ESX server. But all possible acceptable depending on your site's needs. Mark >-----Original Message----- >From: DE/HAM Hoppe, Leif [mailto:Leif.Hoppe at hartrodt.com] >Sent: Thursday, November 12, 2009 8:00 AM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual >Machine > >Hi Juki, > >No problems here, either. >OpenSuSe on Vmware ESX. > >regards from Hamburg > >cheers >Leif > >-----Original Message----- >From: Christian Schneemann [mailto:cschneemann at suse.de] >Sent: Donnerstag, 12. November 2009 13:03 >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual >Machine > >Hi, > >On Thursday November 12 2009 12:42:47 pm Juki wrote: >> Hello people, >> >> I would like to know if it is advisable (or best practice) to install >and >> run a Nagios monitoring server on a virtual machine (in this case, >with >> OpenSuSE as the OS) with >> the intention of monitoring physical hardware client machines on the >same >> LAN. > >we have our Nagios testsystem and some distributed Nagios' running in >Xen >guests. We are seeing no problems with doing that. > >> >> If so, what known issues should I look out for in this case? >> >> >> Thanks, >> Juki > >Greetings, > Christian > >-- >Christian Schneemann >Operations & Services >------------------------------------- >SUSE LINUX Products GmbH, >Maxfeldstr. 5, D - 90409 N?rnberg > >Phone: +49 (0)911 - 740 53 0 >e-mail: cschneemann at suse.de >------------------------------------- >SUSE LINUX Products GmbH, GF: Markus Rex >HRB 16746 (AG N?rnberg) > >------------------------------------------------------------------------ >------ >Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30- >Day >trial. Simplify your report design, integration and deployment - and >focus on >what you do best, core application coding. Discover what's new with >Crystal Reports now. http://p.sf.net/sfu/bobj-july >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > >------------------------------------------------------------------------ >------ >Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30- >Day >trial. Simplify your report design, integration and deployment - and >focus on >what you do best, core application coding. Discover what's new with >Crystal Reports now. http://p.sf.net/sfu/bobj-july >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Thu Nov 12 21:37:49 2009 From: rperezm at uci.cu (ReynierPM) Date: Thu, 12 Nov 2009 15:37:49 -0500 Subject: Problems checking external host In-Reply-To: <4AFAF49C.1070701@hp.com> References: <4AFA3E25.3030003@uci.cu> <4AFAF49C.1070701@hp.com> Message-ID: <4AFC721D.8050108@uci.cu> Morris, Patrick wrote: > ReynierPM wrote: > > check_by_ssh does host key checking, and if one does not exist or it > does not match what's in Nagios's known_hosts file, it will fail. > > The easy fix would be to SSH from the Nagios box to each of those hosts > manually as the Nagios user, using the exact same address Nagios will > use when checking, and let it save the host key. > I try both solution, make SSH key at Nagios server and copy RSA key to /root/.ssh/authorized_keys and also login as root at 10.128.50.11 to the remote server and the error still. Any other help? -- Saludos ReynierPM ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stuart.Jones at health.wa.gov.au Thu Nov 12 23:30:54 2009 From: Stuart.Jones at health.wa.gov.au (Jones, Stuart) Date: Fri, 13 Nov 2009 06:30:54 +0800 Subject: Cisco's Application Control Engine [ACE] - performance monitoring via Nagios Message-ID: Has anyone had an opportunity or need to monitor the performance of Cisco's ACE using Nagios typically via SNMP Get commands? If so would you mind sharing your experiences, settings and impressions please? Thx, Stuart -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmartin at gmartin.org Fri Nov 13 02:18:37 2009 From: gmartin at gmartin.org (gmartin) Date: Thu, 12 Nov 2009 20:18:37 -0500 Subject: Installing Nagios Server on a Virtual Machine In-Reply-To: References: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> <200911121303.06534.cschneemann@suse.de> <7C2C9D8B57E8144DB9A65851D781E1343AE5CC9A28@DC01MBX.ah.lan> Message-ID: This definitely a question of scale. I suspect a virtual solution could support a couple thousand services or even more in a distributed environment. For a smaller environment it would be a no-brainer. We virtualize everything by default so the next nagios server will go virtual in our MS Hyper-V pool. \\Greg On Thu, Nov 12, 2009 at 12:36 PM, Frost, Mark {PBG} wrote: > This was a year or two ago, but we found that when we ran Nagios in this > way it worked in general, but because of the sort of variable size of a > second on VMware, the latencies were kind of screwed up. This was clearly > evidenced when we looked at the performance statistics. Nagios indicated > that a lot of checks ran earlier or later than it had expected them to. > > I don't know if somehow that's gone away or not, but it was a big issue for > us and not within the realm of things we were able to tolerate so we want > back to physical servers. > > One of the arguments I know I've seen before on this list is the idea that > you're doing your critical system monitoring inside an abstracted layer (the > VM) which might alter your view of the world or fail to work should there be > an issue with the ESX server. But all possible acceptable depending on your > site's needs. > > Mark > > >-----Original Message----- > >From: DE/HAM Hoppe, Leif [mailto:Leif.Hoppe at hartrodt.com] > >Sent: Thursday, November 12, 2009 8:00 AM > >To: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual > >Machine > > > >Hi Juki, > > > >No problems here, either. > >OpenSuSe on Vmware ESX. > > > >regards from Hamburg > > > >cheers > >Leif > > > >-----Original Message----- > >From: Christian Schneemann [mailto:cschneemann at suse.de] > >Sent: Donnerstag, 12. November 2009 13:03 > >To: nagios-users at lists.sourceforge.net > >Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual > >Machine > > > >Hi, > > > >On Thursday November 12 2009 12:42:47 pm Juki wrote: > >> Hello people, > >> > >> I would like to know if it is advisable (or best practice) to install > >and > >> run a Nagios monitoring server on a virtual machine (in this case, > >with > >> OpenSuSE as the OS) with > >> the intention of monitoring physical hardware client machines on the > >same > >> LAN. > > > >we have our Nagios testsystem and some distributed Nagios' running in > >Xen > >guests. We are seeing no problems with doing that. > > > >> > >> If so, what known issues should I look out for in this case? > >> > >> > >> Thanks, > >> Juki > > > >Greetings, > > Christian > > > >-- > >Christian Schneemann > >Operations & Services > \\Greg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 02:31:56 2009 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 13 Nov 2009 14:31:56 +1300 Subject: Installing Nagios Server on a Virtual Machine In-Reply-To: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> References: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> Message-ID: <6B587E8C999646469B54486AF21958460CB97C097B@UXCHANGE7-1.UoA.auckland.ac.nz> I would be very very wary of running Nagios on a VM (we use VMware here). The reason for this is Clock Skew. Clock Skew causes the virtual clock on the guest OS to lag behind then skip forward depending on the loading and sleep times of the guest. Note that this will not affect 'Para-virtualised' guests as they share the hardware clock, but these are only possible in some Xen guests at the moment AFAIK and are not common. VMWare can't do them. On a lightly loaded physical machine your clock skew will be negligible but as load goes up you can get the guest clock lagging as much as 10sec or even more. This can screw up latencies, scheduling, rate calculations (such as CPU use and net use) and so on. In addition any monitoring of virtualised resource (CPU, Memory) will be completely wrong unless you obtain the values from a source which is aware of the virtualiasation (eg VMWare tools API or VirtualCentre API for vmware) Clock skew and virtualised resource monitoring has caused too many problems in our tests and we now only use physical servers for Nagios (and MRTG). I have a Nagios plugin check_vmware at www.steveshipway.org/forum for monitoring VMware virtualised resources via the API to get meaningful values - previous used check_esx3 but this has been superceeded by the use of the VC API in check_vmware Steve ________________________________ From: Juki [juki.emma at gmail.com] Sent: Friday, 13 November 2009 12:42 a.m. To: Nagios Users Mail-list Subject: [Nagios-users] Installing Nagios Server on a Virtual Machine Hello people, I would like to know if it is advisable (or best practice) to install and run a Nagios monitoring server on a virtual machine (in this case, with OpenSuSE as the OS) with the intention of monitoring physical hardware client machines on the same LAN. If so, what known issues should I look out for in this case? Thanks, Juki -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Terry.Rankine at csiro.au Fri Nov 13 02:55:53 2009 From: Terry.Rankine at csiro.au (Terry.Rankine at csiro.au) Date: Fri, 13 Nov 2009 09:55:53 +0800 Subject: Installing Nagios Server on a Virtual Machine In-Reply-To: References: <7545d7d20911120342mb62657exc76cb4d1232a1174@mail.gmail.com> <200911121303.06534.cschneemann@suse.de> <7C2C9D8B57E8144DB9A65851D781E1343AE5CC9A28@DC01MBX.ah.lan> Message-ID: <4E88C091A57493498EEC9F2A21D5BF430289C542DF@EXWA-MBX01.nexus.csiro.au> Hi We have an esx pool of about 120 VMs, and about 4-5 service checks per vm (disk/stock web/ssh/ldap/ssl certificate expiry/tomcat web apps/etc etc). The nagios monitor (also a vm) hits them all. Only ?unique? issue we have since the vms are in a really aggressive load balancer, outages in networks with effect different VMS as they have vmotioned somewhere else in the cluster. We haven?t won that battle ? and are happy to just live with it for now. As for scaling ? its a debian box with 256mb of memory also running our LDAP slave server, and looks at 600 different things. And we run nagiosgrapher to disk. I think thats a win for nagios ? Terry From: gmartin [mailto:gmartin at gmartin.org] Sent: Friday, 13 November 2009 9:19 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual Machine This definitely a question of scale.? I suspect a virtual solution could support a couple thousand services or even more in a distributed environment.? For a smaller environment it would be a no-brainer. We virtualize everything by default so the next nagios server will go virtual in our MS Hyper-V pool. \\Greg On Thu, Nov 12, 2009 at 12:36 PM, Frost, Mark {PBG} wrote: This was a year or two ago, but we found that when we ran Nagios in this way it worked in general, but because of the sort of variable size of a second on VMware, the latencies were kind of screwed up. ?This was clearly evidenced when we looked at the performance statistics. ?Nagios indicated that a lot of checks ran earlier or later than it had expected them to. I don't know if somehow that's gone away or not, but it was a big issue for us and not within the realm of things we were able to tolerate so we want back to physical servers. One of the arguments I know I've seen before on this list is the idea that you're doing your critical system monitoring inside an abstracted layer (the VM) which might alter your view of the world or fail to work should there be an issue with the ESX server. ?But all possible acceptable depending on your site's needs. Mark >-----Original Message----- >From: DE/HAM Hoppe, Leif [mailto:Leif.Hoppe at hartrodt.com] >Sent: Thursday, November 12, 2009 8:00 AM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual >Machine > >Hi Juki, > >No problems here, either. >OpenSuSe on Vmware ESX. > >regards from Hamburg > >cheers >Leif > >-----Original Message----- >From: Christian Schneemann [mailto:cschneemann at suse.de] >Sent: Donnerstag, 12. November 2009 13:03 >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Installing Nagios Server on a Virtual >Machine > >Hi, > >On Thursday November 12 2009 12:42:47 pm Juki wrote: >> Hello people, >> >> I would like to know if it is advisable (or best practice) to install >and >> run a Nagios monitoring server on a virtual machine (in this case, >with >> OpenSuSE as the OS) with >> the intention of monitoring physical hardware client machines on the >same >> LAN. > >we have our Nagios testsystem and some distributed Nagios' running in >Xen >guests. We are seeing no problems with doing that. > >> >> If so, what known issues should I look out for in this case? >> >> >> Thanks, >> Juki > >Greetings, > Christian > >-- >Christian Schneemann >Operations & Services \\Greg ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 13 05:43:51 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 12 Nov 2009 20:43:51 -0800 Subject: Problems checking external host In-Reply-To: <4AFC721D.8050108@uci.cu> References: <4AFA3E25.3030003@uci.cu> <4AFAF49C.1070701@hp.com> <4AFC721D.8050108@uci.cu> Message-ID: <4AFCE407.1020503@hp.com> ReynierPM wrote: > Morris, Patrick wrote: > >> ReynierPM wrote: >> >> check_by_ssh does host key checking, and if one does not exist or it >> does not match what's in Nagios's known_hosts file, it will fail. >> >> The easy fix would be to SSH from the Nagios box to each of those hosts >> manually as the Nagios user, using the exact same address Nagios will >> use when checking, and let it save the host key. >> >> > > I try both solution, make SSH key at Nagios server and copy RSA key to > /root/.ssh/authorized_keys and also login as root at 10.128.50.11 to the > remote server and the error still. Any other help? > > The part I'm fairly sure you're missing is that the name in authorized_keys must match the name or address Nagios uses, exactly. That's really the only reason you'd see that error. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bob at 171group.com Fri Nov 13 05:45:20 2009 From: bob at 171group.com (Robert C. Ehlenfield) Date: Thu, 12 Nov 2009 23:45:20 -0500 Subject: ndomod: Still unable to connect to data sink **SOLVED** (for me) Message-ID: Make sure that your ndo2db.cfg and ndomod.cfg files are owned by the same users that runs ndo2db and Nagios. In my case it is "nagios". I noticed that ndo.sock was not being created in /usr/local/nagios/var. On a hunch I checked the permissions on the two config files (mentioned above) and found that they were owned by root, since I was logged in as root when I copied them over from the nod-utils distribution. As soon as I changed the ownership, restarted ndo2db and nagios, the problem was solved. Hope this helps someone. Bob. Bob Ehlenfield Technology Specialist 171 Group, LLC MCSE 2003:Security, MCSA 2003:Security, MCSE 2000, MCSA 2000, MCT, MCP, CCNA A+, Server+, Network+, Security+, HP APS bob at 171group.com Phone: 716.570.6870 [cid:image001.jpg at 01CA63F2.31A62D10] [cid:image002.jpg at 01CA63F2.31A62D10] [cid:image003.jpg at 01CA63F2.31A62D10] [cid:image004.jpg at 01CA63F2.31A62D10] [cid:image005.jpg at 01CA63F2.31A62D10] [cid:image006.jpg at 01CA63F2.31A62D10] [cid:image007.gif at 01CA63F2.31A62D10] [cid:image008.jpg at 01CA63F2.31A62D10] [cid:image009.jpg at 01CA63F2.31A62D10] [cid:image010.jpg at 01CA63F2.31A62D10] [cid:image011.jpg at 01CA63F2.31A62D10] [cid:image012.jpg at 01CA63F2.31A62D10] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 8312 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 10565 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 11428 bytes Desc: image003.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.jpg Type: image/jpeg Size: 11188 bytes Desc: image004.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.jpg Type: image/jpeg Size: 12157 bytes Desc: image005.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image006.jpg Type: image/jpeg Size: 9409 bytes Desc: image006.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image007.gif Type: image/gif Size: 713 bytes Desc: image007.gif URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image008.jpg Type: image/jpeg Size: 3082 bytes Desc: image008.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image009.jpg Type: image/jpeg Size: 3208 bytes Desc: image009.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image010.jpg Type: image/jpeg Size: 3268 bytes Desc: image010.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image011.jpg Type: image/jpeg Size: 3238 bytes Desc: image011.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image012.jpg Type: image/jpeg Size: 2150 bytes Desc: image012.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 13 09:23:24 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 13 Nov 2009 00:23:24 -0800 Subject: ndomod: Still unable to connect to data sink **SOLVED** (for me) In-Reply-To: References: Message-ID: <4AFD177C.2080300@hp.com> Robert C. Ehlenfield wrote: > > Make sure that your ndo2db.cfg and ndomod.cfg files are owned by the > same users that runs ndo2db and Nagios. > > In my case it is "nagios". > > > > I noticed that ndo.sock was not being created in /usr/local/nagios/var. > > On a hunch I checked the permissions on the two config files > (mentioned above) and found that they were owned by root, since I was > logged in as root when I copied them over from the nod-utils distribution. > > > > As soon as I changed the ownership, restarted ndo2db and nagios, the > problem was solved. > > > > Hope this helps someone. > > > The ownership is not important. What is important is that those files are readable by the Nagios and/or ndo2db user. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gavin.williams at card.co.uk Fri Nov 13 11:18:38 2009 From: gavin.williams at card.co.uk (Gavin Williams) Date: Fri, 13 Nov 2009 04:18:38 -0600 Subject: Add Plugins to RPM Build Message-ID: <5C16CFAE83B7D24781CCEFC6A63E5B4B551FCE@34093-C11-EVS1.exchange.rackspace.com> Hi there, I posted this on the Nagios-Plugins list, but haven't received anything as yet, and could do with sorting something out ASAP J --- Hi there, I'm trying to build a customer nagios-plugins RPM which contains all the normal nagios plugins, plus some plugins that I have written specifically for our environments and requirements. I have managed to successfully build the basic nagios-plugins into an RPM, however I'm not sure where to start with regards adding additional plugins... Any comments/pointers appreciated. Regards Gavin --- Cheers Gavin ________________________________ Gavin Williams - Support Engineer Applied Card Technologies Ltd www.card.co.uk t: +44 1249 751239 f: +44 1249 751201 e: Gavin.Williams at card.co.uk Langley Gate Kington Langley Chippenham Wiltshire SN15 5SE United Kingdom Registered in England : 04476799 ________________________________ The information contained in or attached to this email is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are not authorised to and must not disclose, copy, distribute, or retain this message or any part of it. It may contain information which is confidential and/or covered by legal professional or other privilege (or other rules or laws with similar effect in jurisdictions outside Northern Ireland, England and Wales). The views expressed in this email are not necessarily the views of Applied Card Technologies Ltd. The company, its directors, officers or employees make no representation or accept any liability for its accuracy or completeness unless expressly stated to the contrary. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 6559 bytes Desc: image001.jpg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonathan.wheeler at stfc.ac.uk Fri Nov 13 11:41:57 2009 From: jonathan.wheeler at stfc.ac.uk (jonathan.wheeler at stfc.ac.uk) Date: Fri, 13 Nov 2009 10:41:57 -0000 Subject: FW: Add Plugins to RPM Build Message-ID: > From: Gavin Williams [mailto:gavin.williams at card.co.uk] > Sent: 13 November 2009 10:19 > I posted this on the Nagios-Plugins list, but haven?t received anything as yet, and could > do with sorting something out ASAP ? > --- >> Hi there, >>? >> I?m trying to build a customer nagios-plugins RPM which contains all the normal nagios >> plugins, plus some plugins that I have written specifically for our environments and >> requirements. >> I have managed to successfully build the basic nagios-plugins into an RPM, however I?m not >> sure where to start with regards adding additional plugins? >> >> Any comments/pointers appreciated. What we have done is to create a separate (local) RPM which puts our RPMs in subdirectories of the plugins directory (in our case, /usr/lib/nagios/plugins/LLLLL, where LLLLL is replaced by our local names). We can then update the standard plugins RPM or our RPM independently. Jonathan Wheeler e-Science Centre Rutherford Appleton Laboratory -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT481741.txt URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT481742.txt URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 14:02:32 2009 From: marc at ena.com (Marc Powell) Date: Fri, 13 Nov 2009 07:02:32 -0600 Subject: Add Plugins to RPM Build In-Reply-To: <5C16CFAE83B7D24781CCEFC6A63E5B4B551FCE@34093-C11-EVS1.exchange.rackspace.com> References: <5C16CFAE83B7D24781CCEFC6A63E5B4B551FCE@34093-C11-EVS1.exchange.rackspace.com> Message-ID: On Nov 13, 2009, at 4:18 AM, Gavin Williams wrote: > Hi there, > > I posted this on the Nagios-Plugins list, but haven?t received anything as yet, and could do with sorting something out ASAP J You didn't get an answer there because it's not a nagios-plugins issue, it's a 'how do I create/modify an RPM' issue, and outside the scope of either of the lists ;) Hint: read up on SPEC files. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Fri Nov 13 14:54:38 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 13 Nov 2009 13:54:38 +0000 Subject: Nagios to monitor job progress? In-Reply-To: <0C2DE43CE07423448B054668322815B8030A626F@PMI-HMBX1.us.corp.pmigroup.com> References: <0C2DE43CE07423448B054668322815B8030A626F@PMI-HMBX1.us.corp.pmigroup.com> Message-ID: <765d77c80911130554n4dc1a1ccn3331c56e1a584f3a@mail.gmail.com> 2009/11/9 Todd Mcneill : > Hi- > > I have a batch process that runs on a Windows box that I?d like to monitor > through Nagios.? Currently, the job writes all status output to a log file, > and this log file is parsed by another monitoring agent (NetIQ) in order to > alert when problems occur.? This job only runs once a month, and is not > scheduled on the Windows server, but triggered by another process running on > an iSeries box, so we have no idea when the job will start.?? In order to > gain awareness of job progress, NetIQ is also sending non-error alerts when > the job starts and completes, as well as alerts when certain phases of the > job complete, also based upon the job log output. > > NetIQ is completely unreliable, and we?re getting these alerts hours after > the events occur.? I currently have Nagios running in our enterprise > monitoring Unix and database services, but nothing running for Windows.? I > can probably use Splunk to perform the log parsing and alerting, but that > means adding another alert source into the mix, which can get confusing. > > Does anyone have any suggestions on how I can do this through Nagios?? Is > there a way to configure a Nagios service check to send out an alert for a > non-error condition (i.e. no state change, just a status update change)? You can install the send_nsca binary for Windows on your server, then get your job to run the binary, sending the appropriate passive check result to the Nagios server whenever a particular part of the job completes. It can send OK check results for steps which finish okay and WARNING or CRITICAL check results if any part fails. You will of course need to configure the nsca daemon on your Nagios server to receive the checks. You can configure the passive service with freshness checking so that if you don't recieve any check at all for a given amount of time, Nagios will alert you. hth, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Fri Nov 13 15:00:19 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Fri, 13 Nov 2009 09:00:19 -0500 Subject: Nagios to monitor job progress? In-Reply-To: <765d77c80911130554n4dc1a1ccn3331c56e1a584f3a@mail.gmail.com> References: <0C2DE43CE07423448B054668322815B8030A626F@PMI-HMBX1.us.corp.pmigroup.com>, <765d77c80911130554n4dc1a1ccn3331c56e1a584f3a@mail.gmail.com> Message-ID: We do all this sort of log file monitoring to Nagios alerting using Splunk and get very rapid alerting using this mechanism. Splunk runs one or more scheduled searches looking for certain patterns with a small window going backwards (i.e. "in the last 2 minutes, did you see X"). That will then trigger a script that returns passive check results to Nagios. It's worked quite well for us. Mark ________________________________________ From: Jim Avery [jim at jimavery.me.uk] Sent: Friday, November 13, 2009 8:54 AM To: Todd Mcneill Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios to monitor job progress? 2009/11/9 Todd Mcneill : > Hi- > > I have a batch process that runs on a Windows box that I?d like to monitor > through Nagios. Currently, the job writes all status output to a log file, > and this log file is parsed by another monitoring agent (NetIQ) in order to > alert when problems occur. This job only runs once a month, and is not > scheduled on the Windows server, but triggered by another process running on > an iSeries box, so we have no idea when the job will start. In order to > gain awareness of job progress, NetIQ is also sending non-error alerts when > the job starts and completes, as well as alerts when certain phases of the > job complete, also based upon the job log output. > > NetIQ is completely unreliable, and we?re getting these alerts hours after > the events occur. I currently have Nagios running in our enterprise > monitoring Unix and database services, but nothing running for Windows. I > can probably use Splunk to perform the log parsing and alerting, but that > means adding another alert source into the mix, which can get confusing. > > Does anyone have any suggestions on how I can do this through Nagios? Is > there a way to configure a Nagios service check to send out an alert for a > non-error condition (i.e. no state change, just a status update change)? You can install the send_nsca binary for Windows on your server, then get your job to run the binary, sending the appropriate passive check result to the Nagios server whenever a particular part of the job completes. It can send OK check results for steps which finish okay and WARNING or CRITICAL check results if any part fails. You will of course need to configure the nsca daemon on your Nagios server to receive the checks. You can configure the passive service with freshness checking so that if you don't recieve any check at all for a given amount of time, Nagios will alert you. hth, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.friedrich at univie.ac.at Fri Nov 13 16:02:12 2009 From: michael.friedrich at univie.ac.at (Michael Friedrich) Date: Fri, 13 Nov 2009 16:02:12 +0100 Subject: NDOUtils: duplicate rows in several tables Message-ID: <4AFD74F4.9030503@univie.ac.at> Hi there, we had an issue with servicechecks where duplicate rows where inserted instead of updating one single row. During my analysis there was more of that "feature"... Looking at timedevents table ... there also is no unique constraint since unique key != key now it looks like this: +---------------+-------------+------------+---------------------+------------------+---------------------+-----------------+---------------------+-----------------+-----------+---------------------+--------------------+ | timedevent_id | instance_id | event_type | queued_time | queued_time_usec | event_time | event_time_usec | scheduled_time | recurring_event | object_id | deletion_time | deletion_time_usec | +---------------+-------------+------------+---------------------+------------------+---------------------+-----------------+---------------------+-----------------+-----------+---------------------+--------------------+ | 346416 | 1 | 0 | 2009-11-11 16:16:06 | 448613 | 0000-00-00 00:00:00 | 0 | 2009-11-11 16:20:58 | 0 | 19918 | 0000-00-00 00:00:00 | 0 | | 346941 | 1 | 0 | 0000-00-00 00:00:00 | 0 | 2009-11-11 16:20:58 | 49905 | 2009-11-11 16:20:58 | 0 | 19918 | 0000-00-00 00:00:00 | 0 | as you can see instance_id=1 - both event_type=0 - both scheduled_time='2009-11-11 16:20:58' - both object_id=19918 - both So the second query should generate an update not an insert! This fail concerns the following tables: systemcommands timedeventqueue timedevents Difference between mysql and postgres/oracle: MySQL: INSERT INTO table () VALUES () ON DUPLICATE KEY UPDATE SET foo=bar; depends on the defined unique constraint within the table creation. Oracle: MERGE INTO table USING DUAL ON (unique constraint) WHEN MATCHED THEN UPDATE SET foo=bar WHEN NOT MATCHED INSERT () VALUES (); Postgres: UPDATE table SET foo=bar WHERE (unique constraint); if nothing affected INSERT INTO table () VALUES (); Both Oracle and Postgres have defined unique constraints within the queries already. The table created unique constraints are just a doubled check. They have been deeply debugged by myself, since I have implemented their support (currently only within Icinga IDOUtils). But MySQL is missing some constraints and cannot recheck that within the query. ------------------------------------------------------------------------ So my fix attempted to recreate those unique keys within the table creation. Looks nice indeed, no more duplicates (tested on Icinga IDOUtils where the exact same DB Scheme is applied and MySQL does the same on duplicate key) mysql> select * from icinga_timedevents where object_id=20260; +---------------+-------------+------------+---------------------+------------------+---------------------+-----------------+---------------------+-----------------+-----------+---------------------+--------------------+ | timedevent_id | instance_id | event_type | queued_time | queued_time_usec | event_time | event_time_usec | scheduled_time | recurring_event | object_id | deletion_time | deletion_time_usec | +---------------+-------------+------------+---------------------+------------------+---------------------+-----------------+---------------------+-----------------+-----------+---------------------+--------------------+ | 362362 | 1 | 0 | 2009-11-11 18:25:56 | 255593 | 2009-11-11 18:30:44 | 240715 | 2009-11-11 18:30:44 | 0 | 20260 | 0000-00-00 00:00:00 | 0 | mysql> select * from icinga_systemcommands where start_time='2009-11-11 18:25:46' and start_time_usec=178164; +------------------+-------------+---------------------+-----------------+---------------------+---------------+---------------------------------------------------------------------------------------------------------------------------------------------------+---------+---------------+----------------+-------------+--------+-------------+ | systemcommand_id | instance_id | start_time | start_time_usec | end_time | end_time_usec | command_line | timeout | early_timeout | execution_time | return_code | output | long_output | +------------------+-------------+---------------------+-----------------+---------------------+---------------+---------------------------------------------------------------------------------------------------------------------------------------------------+---------+---------------+----------------+-------------+--------+-------------+ | 126918 | 1 | 2009-11-11 18:25:46 | 178164 | 2009-11-11 18:25:46 | 207814 | /usr/bin/printf "%b" "1257960336\thostname\tUP\t1\tHARD\t0.030\tPING OK - Packet loss = 0%, RTA = 0.69 ms\t\n" >> /opt/icinga/var/host-perfdata.out | 5 | 0 | 0.029 | 0 | | | People are wondering why timedevents are that many rows and exploding the db... well fixing that you'll get probably the half of them! Before sending a patch feedback on the servicechecks patch would be much appreciated - useful or duplicate rows are intended? This was btw introduced within the commit "Long time catchup on some minor patches" in January 2009 - for whatever reason. Kind regards, Michael PS: When will Nagios/NDOUtils move to GIT? Would be much easier to send those patches. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lecb79 at gmail.com Fri Nov 13 17:10:12 2009 From: lecb79 at gmail.com (Eduardo Barreto) Date: Fri, 13 Nov 2009 14:10:12 -0200 Subject: Interface web user and their hosts Message-ID: Hi all, Is there any way to set the hosts to be viewed by their own users? It's because in the company each department have their own user and a list of hosts, how can I separate it, is it possible? Thanks in advance Eduardo Barreto -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 17:29:32 2009 From: marc at ena.com (Marc Powell) Date: Fri, 13 Nov 2009 10:29:32 -0600 Subject: Interface web user and their hosts In-Reply-To: References: Message-ID: On Nov 13, 2009, at 10:10 AM, Eduardo Barreto wrote: > Hi all, > > Is there any way to set the hosts to be viewed by their own users? Yes, discussed almost weekly here it seems like ;) > It's because in the company each department have their own user and > a list of hosts, how can I separate it, is it possible? http://nagios.sourceforge.net/docs/3_0/cgiauth.html -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Fri Nov 13 18:56:46 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Fri, 13 Nov 2009 12:56:46 -0500 Subject: Supression of action_url ? Message-ID: <4AFD9DDE.5060103@lafayette.edu> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I'm working on pnp4nagios integration with our current nagios deployment and I've run into a cosmetic snag. Some of the services we monitor either don't have performance data, or it doesn't make sense to record the performance data. For those services, I can easily set process_perf_data to 0 and it won't create the data. That part works fine, but the result is a cosmetic issue in that the "Perform Extra Service Actions" icon still appears in the Nagios gui. One method of preventing this is to put action_url fields in all of the relevant service templates, and not in the ones that don't need it. However, this makes for lots of work and a rather large, confusing configuration. So is there a way to tell nagios to supress the action button for given services/hosts ? Thanks, - -- - --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu - --------------------------- "What I cannot create, I do not understand" - Richard Feynman -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/ iEYEARECAAYFAkr9nd4ACgkQO80o6DJ8Uvl/vgCggN2v4fHiqZZMTs5XcNh5Xxzs ZM8AoJNSpFua9J2cB41pRbNFR/1i1/tv =+qrW -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 13 19:56:00 2009 From: marc at ena.com (Marc Powell) Date: Fri, 13 Nov 2009 12:56:00 -0600 Subject: Supression of action_url ? In-Reply-To: <4AFD9DDE.5060103@lafayette.edu> References: <4AFD9DDE.5060103@lafayette.edu> Message-ID: On Nov 13, 2009, at 11:56 AM, Jason Frisvold wrote: > One method of preventing this is to put action_url fields in all of > the > relevant service templates, and not in the ones that don't need it. > However, this makes for lots of work and a rather large, confusing > configuration. So is there a way to tell nagios to supress the action > button for given services/hosts ? http://nagios.sourceforge.net/docs/3_0/objectinheritance.html#cancel_string -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Fri Nov 13 21:44:34 2009 From: td3201 at gmail.com (Terry) Date: Fri, 13 Nov 2009 14:44:34 -0600 Subject: prioritizing state returns Message-ID: <8ee061010911131244k10d0dfc8k77a7abab57678105@mail.gmail.com> Hello, I have an nsclient++ checkdrivesize check in place. There is a weird condition where with microsoft clusters, after a failover event, the passive node still has the drive letters around. This causes the check to return an unknown status for those drives: : UNKNOWN: Could not get free space for: E: "E:" reason: 21 The fix is to reboot the node but that isn't acceptable to us right now. However, it may not be a big deal if I could prioritize warning and critical events before an unknown drive state like what is shown here. For example, if the C drive goes warning, I would want it to say that before it shows this unknown state of E. I am guessing this has to be something that nsclient++ has to do but not seeing it. Any ideas? Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gmartin at gmartin.org Sat Nov 14 00:29:23 2009 From: gmartin at gmartin.org (gmartin) Date: Fri, 13 Nov 2009 18:29:23 -0500 Subject: Nagios to monitor job progress? In-Reply-To: <0C2DE43CE07423448B054668322815B8030A626F@PMI-HMBX1.us.corp.pmigroup.com> References: <0C2DE43CE07423448B054668322815B8030A626F@PMI-HMBX1.us.corp.pmigroup.com> Message-ID: Todd, there a probably multiple ways to skin this issue. One that occurs using nrpe and a custom script to parse the logfile. The nsclient++ supports custome scripts pretty well Another approach would be to add a passive service and a notificaion into the batch process that updates the status at various times. On 11/9/09, Todd Mcneill wrote: > Hi- > > I have a batch process that runs on a Windows box that I'd like to > monitor through Nagios. Currently, the job writes all status output to > a log file, and this log file is parsed by another monitoring agent > (NetIQ) in order to alert when problems occur. This job only runs once > a month, and is not scheduled on the Windows server, but triggered by > another process running on an iSeries box, so we have no idea when the > job will start. In order to gain awareness of job progress, NetIQ is > also sending non-error alerts when the job starts and completes, as well > as alerts when certain phases of the job complete, also based upon the > job log output. > > NetIQ is completely unreliable, and we're getting these alerts hours > after the events occur. I currently have Nagios running in our > enterprise monitoring Unix and database services, but nothing running > for Windows. I can probably use Splunk to perform the log parsing and > alerting, but that means adding another alert source into the mix, which > can get confusing. > > Does anyone have any suggestions on how I can do this through Nagios? > Is there a way to configure a Nagios service check to send out an alert > for a non-error condition (i.e. no state change, just a status update > change)? > > Thanks, > Todd > -- Sent from my mobile device \\Greg ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at xmanhosting.com.au Sat Nov 14 05:27:26 2009 From: anthony at xmanhosting.com.au (xmanhosting) Date: Sat, 14 Nov 2009 13:27:26 +0900 Subject: Final stage of getting MRTG working with Nagios v2 Message-ID: <000f01ca64e2$c78c07f0$9930fea9@rockinghshs.internal> Hello, I have been fluffing around with Nagios for a couple of weeks, and have nearly finally nailed it. I just have one thing to go. I am trying to get MRTG to work with Nagios. I have got MRGT working locally on my machine , and can see it working by going to these 2 sites (locally) in a browser: file:///usr/local/mrtg-2/share/mrtg2/icons/index.html and file:///usr/local/mrtg-2/share/mrtg2/icons/localhost_2.html I followed the tutorial below to set up my router with Nagios: http://www.thegeekstuff.com/2008/11/how-to-monitor-network-switch-and-ports- using-nagios/ however I am yet to get MRTG working with Nagios: PING OK 11-14-2009 13:13:56 21d 16h 10m 13s 1/3 PING OK - Packet loss = 0%, RTA = 1.38 ms Port 1 Bandwidth Usage UNKNOWN 11-14-2009 13:09:49 21d 16h 8m 43s 3/3 check_mrtgtraf: Unable to open MRTG log file Port 1 Link Status OK 11-14-2009 13:11:29 12d 22h 37m 5s 1/3 SNMP OK - up(1) Uptime OK 11-14-2009 13:10:29 12d 22h 27m 57s 1/3 SNMP OK - Timeticks: (152738042) 17 days, 16:16:20.42 My switch.cfg currently has the following: # Monitor bandwidth via MRTG logs define service{ use generic-service ; Inherit values from a template host_name Billion service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/usr/local/mrtg-2/share/mrtg2/icons/localhost2.log!AVG! 1000000,1000000!5000000,5000000!10 } My localhost2.log is at the location above: /usr/local/mrtg-2/share/mrtg2/icons/localhost2.log ,however I still must have something wrong for it to not work. When I run: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg , it says: "Things look okay - No serious problems were detected during the pre-flight check" When I run: /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , it says: ----------------------------------------------------------------------- ERROR: Mrtg will most likely not work properly when the environment variable LANG is set to UTF-8. Please run mrtg in an environment where this is not the case. Try the following command to start: env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg ----------------------------------------------------------------------- When I run: env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , there are no errors. Does anyone know what I am still doing wrong Thanks for any help, Kind regards, Anthony -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anthony at xmanhosting.com.au Sat Nov 14 05:24:18 2009 From: anthony at xmanhosting.com.au (xmanhosting) Date: Sat, 14 Nov 2009 13:24:18 +0900 Subject: Final stage of getting MRTG working with Nagios Message-ID: <000901ca64e2$5698a030$9930fea9@rockinghshs.internal> Hello, I have been fluffing around with Nagios for a couple of weeks, and have nearly finally nailed it. I just have one thing to go. I am trying to get MRTG to work with Nagios. I have got MRGT working locally on my machine by going to these 2 sites in a browser: file:///usr/local/mrtg-2/share/mrtg2/icons/index.html and file:///usr/local/mrtg-2/share/mrtg2/icons/localhost_2.html I followed the tutorial below to set up my router with Nagios: http://www.thegeekstuff.com/2008/11/how-to-monitor-network-switch-and-ports- using-nagios/ however I am yet to get MRTG working with Nagios: PING OK 11-14-2009 13:13:56 21d 16h 10m 13s 1/3 PING OK - Packet loss = 0%, RTA = 1.38 ms Port 1 Bandwidth Usage UNKNOWN 11-14-2009 13:09:49 21d 16h 8m 43s 3/3 check_mrtgtraf: Unable to open MRTG log file Port 1 Link Status OK 11-14-2009 13:11:29 12d 22h 37m 5s 1/3 SNMP OK - up(1) Uptime OK 11-14-2009 13:10:29 12d 22h 27m 57s 1/3 SNMP OK - Timeticks: (152738042) 17 days, 16:16:20.42 My switch.cfg currently has the following: # Monitor bandwidth via MRTG logs define service{ use generic-service ; Inherit values from a template host_name Billion service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/usr/local/mrtg-2/share/mrtg2/icons/localhost2.log!AVG! 1000000,1000000!5000000,5000000!10 } My localhost2.log is at the location above: /usr/local/mrtg-2/share/mrtg2/icons/localhost2.log ,however I still must have something wrong for it to not work. When I run: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg , it says: "Things look okay - No serious problems were detected during the pre-flight check" When I run: /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , it says: If you have any other questions or comments, please do not hesitate to contact me at any time. Kind regards, Anthony. __________________________________________ Anthony Exeter xmanhosting PO Box 691 | Innaloo | WA | 6918 | F: 08 6270 4407 Email anthony at xmanhosting.com.au We value your feedback: Please review our services, or provide comments here -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: footer.gif Type: image/gif Size: 5394 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Sat Nov 14 09:41:11 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sat, 14 Nov 2009 09:41:11 +0100 Subject: Supression of action_url ? In-Reply-To: <4AFD9DDE.5060103@lafayette.edu> References: <4AFD9DDE.5060103@lafayette.edu> Message-ID: <4AFE6D27.6080802@ederdrom.de> Jason Frisvold schrieb: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > > I'm working on pnp4nagios integration with our current nagios > deployment and I've run into a cosmetic snag. Some of the services we > monitor either don't have performance data, or it doesn't make sense to > record the performance data. For those services, I can easily set > process_perf_data to 0 and it won't create the data. That part works > fine, but the result is a cosmetic issue in that the "Perform Extra > Service Actions" icon still appears in the Nagios gui. > > One method of preventing this is to put action_url fields in all of the > relevant service templates, and not in the ones that don't need it. > However, this makes for lots of work and a rather large, confusing > configuration. So is there a way to tell nagios to supress the action > button for given services/hosts ? http://docs.pnp4nagios.org/pnp-0.6/webfe set "process_perf_data 0" in srv-pnp and/or host-pnp templates. Make sure these templates a used first because object definition within first template wins. Joerg ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kelseysmith at caseyfamilyservices.org Sat Nov 14 10:00:16 2009 From: kelseysmith at caseyfamilyservices.org (kelseysmith at caseyfamilyservices.org) Date: Sat, 14 Nov 2009 04:00:16 -0500 Subject: AUTO: Kelsey Smith/CFS01/CFS is out of the office. (returning 11/20/2009) Message-ID: I am out of the office until 11/20/2009. Note: This is an automated response to your message "Nagios-users Digest, Vol 42, Issue 12" sent on 11/14/2009 12:27:32 AM. This is the only notification you will receive while this person is away. ------------------------------------------------------ Confirmed virus-free by mymssp.net see www.anchortechnologies.com for more information. ------------------------------------------------------ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajay at wxsec.com Mon Nov 16 03:24:20 2009 From: ajay at wxsec.com (=?ISO-8859-1?B?QUpheQ==?=) Date: Mon, 16 Nov 2009 10:24:20 +0800 Subject: Final stage of getting MRTG working with Nagios v2 Message-ID: Your mrtg is probably not working correctly, check you mrtg.cfg and /var/spool/mail/root to see what's going on with mrtg. ------------------ AJay ------------------ Original ------------------ From: "xmanhosting"; Date: Sat, Nov 14, 2009 12:27 PM To: "nagios-users"; Subject: [Nagios-users] Final stage of getting MRTG working with Nagios v2 Hello, I have been fluffing around with Nagios for a couple of weeks, and have nearly finally nailed it. I just have one thing to go. I am trying to get MRTG to work with Nagios. I have got MRGT working locally on my machine , and can see it working by going to these 2 sites (locally) in a browser: file:///usr/local/mrtg-2/share/mrtg2/icons/index.html and file:///usr/local/mrtg-2/share/mrtg2/icons/localhost_2.html I followed the tutorial below to set up my router with Nagios: http://www.thegeekstuff.com/2008/11/how-to-monitor-network-switch-and-ports-using-nagios/ however I am yet to get MRTG working with Nagios: PING OK 11-14-2009 13:13:56 21d 16h 10m 13s 1/3 PING OK - Packet loss = 0%, RTA = 1.38 ms Port 1 Bandwidth Usage UNKNOWN 11-14-2009 13:09:49 21d 16h 8m 43s 3/3 check_mrtgtraf: Unable to open MRTG log file Port 1 Link Status OK 11-14-2009 13:11:29 12d 22h 37m 5s 1/3 SNMP OK - up(1) Uptime OK 11-14-2009 13:10:29 12d 22h 27m 57s 1/3 SNMP OK - Timeticks: (152738042) 17 days, 16:16:20.42 My switch.cfg currently has the following: # Monitor bandwidth via MRTG logs define service{ use generic-service ; Inherit values from a template host_name Billion service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/usr/local/mrtg-2/share/mrtg2/icons/localhost2.log!AVG!1000000,1000000!5000000,5000000!10 } My localhost2.log is at the location above: /usr/local/mrtg-2/share/mrtg2/icons/localhost2.log ,however I still must have something wrong for it to not work. When I run: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg , it says: "Things look okay - No serious problems were detected during the pre-flight check" When I run: /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , it says: ----------------------------------------------------------------------- ERROR: Mrtg will most likely not work properly when the environment variable LANG is set to UTF-8. Please run mrtg in an environment where this is not the case. Try the following command to start: env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg ----------------------------------------------------------------------- When I run: env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , there are no errors. Does anyone know what I am still doing wrong Thanks for any help, Kind regards, Anthony -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.omahony at curamsoftware.com Mon Nov 16 13:31:15 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Mon, 16 Nov 2009 12:31:15 +0000 Subject: check_nrpe from Nagios Dashboard Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF30142B71168AF@MAIL06.curamsoftware.com> I seem to be having an issue here. It is with various checks that don't have an argument value. If I run check_nrpe -H XXX -c check_uptime from the shell on my nagios server, I get the correct return. However if I setup the serveice check with check_nrpe|check_uptime I get "(No output returned from plugin)" in the Status information window, and an "Unknown" status. If I use check_nrpe_noargs - [this doesn't have -a $ARG1$ $ARG2$ $ARG3$ at the end] then the service check on the host works from the webpage. I assume that this is because on these checks there are no actual arguments. Im just wondering if I send a zero value on the end,, which does work, would this be acceptable. As this will be across architectures, im trying to use the same tests, and on some machines there will be actual argument values. I am just using the check_uptime above as an example. There are a few others that this is affecting also. Thanks B The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Mon Nov 16 15:11:35 2009 From: pangrazi at gmail.com (Greg Pangrazio) Date: Mon, 16 Nov 2009 08:11:35 -0600 Subject: Final stage of getting MRTG working with Nagios v2 In-Reply-To: References: Message-ID: I may be wrong here but i thought you had to point the check_mrtg to a rrd file and not the rrdtool log file. Greg Pangrazio pangrazi at gmail.com On Sun, Nov 15, 2009 at 8:24 PM, AJay wrote: > Your mrtg is probably not working correctly, check you mrtg.cfg and > /var/spool/mail/root to see what's going on with mrtg. > > ------------------ > AJay > > > > ------------------ Original ------------------ > *From: * "xmanhosting"; > *Date: * Sat, Nov 14, 2009 12:27 PM > *To: * "nagios-users"; > *Subject: * [Nagios-users] Final stage of getting MRTG working with > Nagios v2 > > Hello, > > I have been fluffing around with Nagios for a couple of weeks, and have > nearly finally nailed it. > > I just have one thing to go. > > I am trying to get MRTG to work with Nagios. > > I have got MRGT working locally on my machine , and can see it working bygoing to these 2 sites (locally) > in a browser: > > file:///usr/local/mrtg-2/share/mrtg2/icons/index.html and > > > file:///usr/local/mrtg-2/share/mrtg2/icons/localhost_2.html > > I followed the tutorial below to set up my router with Nagios: > > > http://www.thegeekstuff.com/2008/11/how-to-monitor-network-switch-and-ports-using-nagios/ > > however I am yet to get MRTG working with Nagios: > > PING OK 11-14-2009 13:13:56 21d 16h 10m 13s 1/3 PING OK - Packet loss = 0%, > RTA = 1.38 ms > Port 1 Bandwidth Usage UNKNOWN 11-14-2009 13:09:49 21d 16h 8m 43s 3/3 *check_mrtgtraf: > Unable to open MRTG log file* > Port 1 Link Status OK 11-14-2009 13:11:29 12d 22h 37m 5s 1/3 SNMP OK - > up(1) > Uptime OK 11-14-2009 13:10:29 12d 22h 27m 57s 1/3 SNMP OK - Timeticks: > (152738042) 17 days, 16:16:20.42 > > My switch.cfg currently has the following: > > # Monitor bandwidth via MRTG logs > define service{ > use generic-service ; Inherit values from a template > host_name Billion > service_description Port 1 Bandwidth Usage > check_command * > check_local_mrtgtraf!/usr/local/mrtg-2/share/mrtg2/icons/localhost2.log!AVG!1000000,1000000!5000000,5000000!10 > * > } > > My localhost2.log is at the location above: * > /usr/local/mrtg-2/share/mrtg2/icons/localhost2.log* ,however I still must > have something wrong for it to not work. > > When I run: /usr/local/nagios/bin/nagios -v > /usr/local/nagios/etc/nagios.cfg , it says: "*Things look okay - No > serious problems were detected during the pre-flight check*" > > When I run: /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , it says: > > ----------------------------------------------------------------------- > ERROR: Mrtg will most likely not work properly when the environment > variable LANG is set to UTF-8. Please run mrtg in an environment > where this is not the case. Try the following command to start: > > env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg > ----------------------------------------------------------------------- > > When I run: env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg > , there are no errors. > > Does anyone know what I am still doing wrong > > Thanks for any help, > > Kind regards, > Anthony > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Mon Nov 16 15:44:58 2009 From: rperezm at uci.cu (ReynierPM) Date: Mon, 16 Nov 2009 09:44:58 -0500 Subject: Problems checking external host In-Reply-To: <4AFCE407.1020503@hp.com> References: <4AFA3E25.3030003@uci.cu> <4AFAF49C.1070701@hp.com> <4AFC721D.8050108@uci.cu> <4AFCE407.1020503@hp.com> Message-ID: <4B01656A.3020300@uci.cu> Morris, Patrick wrote: > The part I'm fairly sure you're missing is that the name in > authorized_keys must match the name or address Nagios uses, exactly. > That's really the only reason you'd see that error. Hi Patrick: What you mean with address nagios use? You mean the users configured on cgi.cfg file? Or nagios user or nagcmd group? Could be a little explicit on this? I'm very newbie and I try to understand the process Cheers ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Nov 16 15:55:30 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 16 Nov 2009 09:55:30 -0500 Subject: Problems checking external host In-Reply-To: <4B01656A.3020300@uci.cu> References: <4AFA3E25.3030003@uci.cu> <4AFAF49C.1070701@hp.com><4AFC721D.8050108@uci.cu> <4AFCE407.1020503@hp.com> <4B01656A.3020300@uci.cu> Message-ID: <24B6509E4191AF44B60A24EAA3B4AD492D453F@nuexchg.norwich.edu> >> -----Original Message----- >> From: ReynierPM [mailto:rperezm at uci.cu] >> Sent: Monday, November 16, 2009 9:45 AM >> To: Morris, Patrick >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Problems checking external host >> >> Morris, Patrick wrote: >> > The part I'm fairly sure you're missing is that the name in >> > authorized_keys must match the name or address Nagios uses, exactly. >> > That's really the only reason you'd see that error. >> >> Hi Patrick: >> What you mean with address nagios use? You mean the users configured on >> cgi.cfg file? Or nagios user or nagcmd group? Could be a little explicit >> on this? I'm very newbie and I try to understand the process >> >> Cheers >> Hi Here's a tutorial I found on setting this up - http://www.zdnetasia.com/techguide/opensource/0,39044899,62052006,00.htm regards, jamie ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Mon Nov 16 16:03:45 2009 From: rperezm at uci.cu (ReynierPM) Date: Mon, 16 Nov 2009 10:03:45 -0500 Subject: Problems checking external host In-Reply-To: <24B6509E4191AF44B60A24EAA3B4AD492D453F@nuexchg.norwich.edu> References: <4AFA3E25.3030003@uci.cu> <4AFAF49C.1070701@hp.com><4AFC721D.8050108@uci.cu> <4AFCE407.1020503@hp.com> <4B01656A.3020300@uci.cu> <24B6509E4191AF44B60A24EAA3B4AD492D453F@nuexchg.norwich.edu> Message-ID: <4B0169D1.7030201@uci.cu> James Pratt wrote: > > Here's a tutorial I found on setting this up - > > http://www.zdnetasia.com/techguide/opensource/0,39044899,62052006,00.htm > Thanks for the tutorial it really help me a lot but I need to ask some dummie or newbie :( question: if I'm logged in as root, how I can create the ssh-key for nagios from root command line? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpratt at norwich.edu Mon Nov 16 16:07:09 2009 From: jpratt at norwich.edu (James Pratt) Date: Mon, 16 Nov 2009 10:07:09 -0500 Subject: Problems checking external host In-Reply-To: <4B0169D1.7030201@uci.cu> References: <4AFA3E25.3030003@uci.cu> <4AFAF49C.1070701@hp.com><4AFC721D.8050108@uci.cu> <4AFCE407.1020503@hp.com> <4B01656A.3020300@uci.cu> <24B6509E4191AF44B60A24EAA3B4AD492D453F@nuexchg.norwich.edu> <4B0169D1.7030201@uci.cu> Message-ID: <24B6509E4191AF44B60A24EAA3B4AD492D4556@nuexchg.norwich.edu> >> -----Original Message----- >> From: ReynierPM [mailto:rperezm at uci.cu] >> Sent: Monday, November 16, 2009 10:04 AM >> To: James Pratt >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] Problems checking external host >> >> James Pratt wrote: >> > >> > Here's a tutorial I found on setting this up - >> > >> > http://www.zdnetasia.com/techguide/opensource/0,39044899,62052006,00.htm >> > >> >> Thanks for the tutorial it really help me a lot but I need to ask some >> dummie or newbie :( question: if I'm logged in as root, how I can create >> the ssh-key for nagios from root command line? No problem - As root, just run: su - nagios -c "ssh nagios at remotebox.com" (replace your target hostname here, or use IP) let it connect and accept the key, then do the same on the target box in reverse, so that both sides have the key in ~/.ssh/authorized_keys files. Hth - cheers, James ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tdondich at lilacnetworks.com Mon Nov 16 17:22:56 2009 From: tdondich at lilacnetworks.com (Taylor Dondich) Date: Mon, 16 Nov 2009 08:22:56 -0800 Subject: What would you want in a replacement web interface? Message-ID: <4B017C60.8040707@lilacnetworks.com> Hi there. I've been working on a replacement web interface for Nagios, and it's coming along great! However, I wanted to take the time to ask the community some questions to get your feedback and roll it into the interface. So I have 3 questions to ask you all. If you could answer with as much detail as possible, it would be fantastic. #1) What is the most important thing you want to see in a Tactical Overview replacement? What are the most essential components? #2) When looking at a Host or a Service, what are the details you want/need to see? What can you not live without? #3) What is your biggest gripe regarding the existing Nagios web user interface? -- Taylor Dondich (tdondich at gmail.com) CEO at Lilac Networks (http://www.lilacnetworks.com) Provider of quality support for open source monitoring solutions View our open source Nagios Configuration Tool at http://www.lilacplatform.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Mon Nov 16 17:46:47 2009 From: rperezm at uci.cu (ReynierPM) Date: Mon, 16 Nov 2009 11:46:47 -0500 Subject: Check external hosts using NRPE Message-ID: <4B0181F7.7000908@uci.cu> Hi every: I'm trying to check some services in a remote host (Ubuntu Linux 9.04 Server) using NRPE. I have the NRPE plugin installed on both machines: the nagios server and the remote host. I describe below what I've done until now: Remote Host (machine to check) 1) Compile and install the nagios plugins and NRPE 2) Check NRPE connection: ~# /usr/local/nagios/libexec/check_nrpe -H localhost NRPE v2.12 3) Install and cofigure xinetd service (/etc/xinetd.d/nrpe) * 10.128.50.2 (is the Nagios Server IP) service nrpe { flags = REUSE socket_type = stream port = 5666 wait = no user = nagios group = nagios server = /usr/local/nagios/bin/nrpe server_args = -c /usr/local/nagios/etc/nrpe.cfg --inetd log_on_failure += USERID disable = no only_from = 127.0.0.1 10.128.50.2 } 4) Add the NRPE daemon to services file (/etc/services) 5) Check if NRPE daemon is running correctly ~# netstat -at | grep nrpe tcp 0 0 *:nrpe *:* LISTEN 6) Allow NRPE on iptables ## NRPE Nagios Plugin iptables -A INPUT -p tcp --dport 5666 -j ACCEPT 7) Configure all services at /usr/local/nagios/etc/nrpe.cfg command[check_ping]=/usr/local/nagios/libexec/check_ping!100.0,20%!500.0,60% After all this changes, off course, I restart all services (xinetd, iptables and so on) Server (machine where Nagios is running) 1) Install the NRPE plugin 2) Check connection to remote host ~# /usr/local/nagios/libexec/check_nrpe -H 10.128.50.11 NRPE v2.12 3) Create command definitions (/usr/local/nagios/etc/commands.cfg) #'nrpe' command definition define command{ command_name check_nrpe command_line $USERS1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ } 4) Create host and service definitions Host Template: -- define host{ name linux-server use generic-host check_period 24x7 check_interval 5 retry_interval 1 max_check_attempts 10 check_command check-host-alive notification_period 24x7 notification_interval 30 notification_options d,u,r contact_groups admins register 0 } Define Host (bacula-server.cfg) (the server to check): -- define host{ use linux-server host_name bacula-server alias bacula address 10.128.50.11 } Define Services: -- define service{ use generic-service host_name bacula-server service_description PING check_command check_nrpe!check_ping } Just one for now for testing purpose. 5) Restart Nagios ~#/etc/init.d/nagios restart After all this I'm getting, constantly, these errors: [1258389533] Warning: Return code of 127 for check of service 'SAN Space SDB1' on host 'bacula-server' was out of bounds. Make sure the plugin you're trying to run actually exists. [1258389583] Warning: Return code of 127 for check of service 'SSH' on host 'bacula-server' was out of bounds. Make sure the plugin you're trying to run actually exists. [1258389633] Warning: Return code of 127 for check of service 'Swap Usage' on host 'bacula-server' was out of bounds. Make sure the plugin you're trying to run actually exists. [1258389813] Warning: Return code of 127 for check of service 'Total Processes' on host 'bacula-server' was out of bounds. Make sure the plugin you're trying to run actually exists. [1258389813] SERVICE NOTIFICATION: nagiosadmin;bacula-server;Total Processes;CRITICAL;notify-service-by-email;(Return code of 127 is out of bounds - plugin may be missing) The funny part is if I run this command (from nagios server): # ./check_nrpe -H 10.128.50.11 -c check_users USERS OK - 1 users currently logged in |users=1;5;10;0 What I miss here? Where is the error? Cheers and thanks in advance ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Nov 16 17:59:23 2009 From: benny at bennyvision.com (C. Bensend) Date: Mon, 16 Nov 2009 10:59:23 -0600 Subject: check_openmanage.exe cannot find Dell OMSA Message-ID: Hey folks, I'm trying to teach my newest Nagios installation how to test Dell's hardware on remote Windows boxes via NRPE/NSClient++, and I'm running into a snag: ./check_nrpe -H HOSTNAME -c check_openmanage ERROR: Dell OpenManage Server Administrator (OMSA) is not installed Hmm. It's installed, and it's installed on every host I've tried so far, but each of them report that OMSA is not installed. Running the check_openmanage.exe from the command prompt locally on the Windows machine reports the exact same, that it thinks OMSA is not installed. Thoughts/cluebats? Thanks! Benny -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Mon Nov 16 18:05:49 2009 From: neufpas at gmail.com (Noel Platzke) Date: Mon, 16 Nov 2009 12:05:49 -0500 Subject: inconsistencies across distributed servers Message-ID: <96c54e8b0911160905x6dc813c4i70d42fef342b7b92@mail.gmail.com> I'm occasionally seeing inconsistencies across my distributed setup. It's very infrequent but the result is that occasionally the data sent to a master will either incorrectly trigger or fail to trigger an alert. The first time I saw this it was with a host being marked as hard down in a distributed server but incorrectly marked as soft down in the master. Today I saw the opposite. distributed server: [11-16-2009 11:29:01] HOST ALERT: server01;DOWN;SOFT;1;PING CRITICAL - Packet loss = 100% master server: [11-16-2009 11:29:24] HOST ALERT: server01;DOWN;HARD;1;PING CRITICAL - Packet loss = 100% The slave servers are using the same config as the master so I'm at a loss as to what could cause this inconsistency. Does anyone have any idea what is going on? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Nov 16 18:21:52 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 16 Nov 2009 09:21:52 -0800 Subject: inconsistencies across distributed servers In-Reply-To: <96c54e8b0911160905x6dc813c4i70d42fef342b7b92@mail.gmail.com> References: <96c54e8b0911160905x6dc813c4i70d42fef342b7b92@mail.gmail.com> Message-ID: <4B018A30.7090804@hp.com> Noel Platzke wrote: > I'm occasionally seeing inconsistencies across my distributed setup. > It's very infrequent but the result is that occasionally the data sent > to a master will either incorrectly trigger or fail to trigger an > alert. The first time I saw this it was with a host being marked as > hard down in a distributed server but incorrectly marked as soft down > in the master. Today I saw the opposite. > > distributed server: > [11-16-2009 11:29:01] HOST ALERT: server01;DOWN;SOFT;1;PING CRITICAL - > Packet loss = 100% > > master server: > [11-16-2009 11:29:24] HOST ALERT: server01;DOWN;HARD;1;PING CRITICAL - > Packet loss = 100% > > The slave servers are using the same config as the master so I'm at a > loss as to what could cause this inconsistency. Does anyone have any > idea what is going on? > This would be normal, assuming you've got passive_host_checks_are_soft=0 in your config. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Mon Nov 16 18:52:52 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 16 Nov 2009 18:52:52 +0100 Subject: check_openmanage.exe cannot find Dell OMSA In-Reply-To: (C. Bensend's message of "Mon, 16 Nov 2009 10:59:23 -0600") References: Message-ID: <15ttywuz79n.fsf@tux.uio.no> "C. Bensend" writes: > Hey folks, > > I'm trying to teach my newest Nagios installation how to test Dell's > hardware on remote Windows boxes via NRPE/NSClient++, and I'm running > into a snag: > > ./check_nrpe -H HOSTNAME -c check_openmanage > ERROR: Dell OpenManage Server Administrator (OMSA) is not installed > > Hmm. It's installed, and it's installed on every host I've tried > so far, but each of them report that OMSA is not installed. Running > the check_openmanage.exe from the command prompt locally on the > Windows machine reports the exact same, that it thinks OMSA is not > installed. > > Thoughts/cluebats? Hi, Which version of check_openmanage is this? Find out with check_openmanage.exe -V Also, where is omreport.exe installed on your hosts? Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Nov 16 20:14:20 2009 From: benny at bennyvision.com (C. Bensend) Date: Mon, 16 Nov 2009 13:14:20 -0600 Subject: check_openmanage.exe cannot find Dell OMSA In-Reply-To: <15ttywuz79n.fsf@tux.uio.no> References: <15ttywuz79n.fsf@tux.uio.no> Message-ID: <14141bef04780bbe485ef701cdbb10fc.squirrel@webmail.stinkweasel.net> > "C. Bensend" writes: > >> Hey folks, >> >> I'm trying to teach my newest Nagios installation how to test Dell's >> hardware on remote Windows boxes via NRPE/NSClient++, and I'm running >> into a snag: >> >> ./check_nrpe -H HOSTNAME -c check_openmanage >> ERROR: Dell OpenManage Server Administrator (OMSA) is not installed >> >> Hmm. It's installed, and it's installed on every host I've tried >> so far, but each of them report that OMSA is not installed. Running >> the check_openmanage.exe from the command prompt locally on the >> Windows machine reports the exact same, that it thinks OMSA is not >> installed. >> >> Thoughts/cluebats? > > Hi, > > Which version of check_openmanage is this? Find out with > > check_openmanage.exe -V > > Also, where is omreport.exe installed on your hosts? Hi Trond, -V reports v3.5.1. I believe that's the latest release. omreport.exe is in F:\dellopenmanage\oma\bin, which is where our infrastructure group stores their software (the F: drive). Is there a way to tell check_openmanage where it is? Thanks! Benny -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Nov 16 20:23:15 2009 From: td3201 at gmail.com (Terry) Date: Mon, 16 Nov 2009 13:23:15 -0600 Subject: prioritizing state returns In-Reply-To: <8ee061010911131244k10d0dfc8k77a7abab57678105@mail.gmail.com> References: <8ee061010911131244k10d0dfc8k77a7abab57678105@mail.gmail.com> Message-ID: <8ee061010911161123g46fe5e4fud55261d74e655171@mail.gmail.com> On Fri, Nov 13, 2009 at 2:44 PM, Terry wrote: > Hello, > > I have an nsclient++ checkdrivesize check in place. ?There is a weird > condition where with microsoft clusters, after a failover event, the > passive node still has the drive letters around. ?This causes the > check to return an unknown status for those drives: > : ? ? ? UNKNOWN: Could not get free space for: E: "E:" reason: 21 > > The fix is to reboot the node but that isn't acceptable to us right > now. ?However, it may not be a big deal if I could prioritize warning > and critical events before an unknown drive state like what is shown > here. ?For example, if the C drive goes warning, I would want it to > say that before it shows this unknown state of E. ?I am guessing this > has to be something that nsclient++ has to do but not seeing it. ?Any > ideas? > > Thanks! > I am still digging to find a solution to this but haven't found anything yet. Anyone have an idea? Thanks ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Mon Nov 16 20:27:39 2009 From: akpgeek at gmail.com (akp geek) Date: Mon, 16 Nov 2009 14:27:39 -0500 Subject: This host has not yet been checked, so status information is not available Message-ID: <2024a9fb0911161127t718d07c2m72764c2d58d8d7d2@mail.gmail.com> Hi All - I have installed Nagios on solaris. I have defined a new host in templates.cfg and check_command. I have also define host in localhost.cfg for the new host I have added the command in commands.cfg and I have verified the configuration and did not get any errors. when I opened the Nagios page. I got the servers and but the status is showing as pending instead of UP. I am not able to figure what else I need to do ? Can you please help Regards ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From t.h.amundsen at usit.uio.no Mon Nov 16 20:39:59 2009 From: t.h.amundsen at usit.uio.no (Trond Hasle Amundsen) Date: Mon, 16 Nov 2009 20:39:59 +0100 Subject: check_openmanage.exe cannot find Dell OMSA In-Reply-To: <14141bef04780bbe485ef701cdbb10fc.squirrel@webmail.stinkweasel.net> (C. Bensend's message of "Mon, 16 Nov 2009 13:14:20 -0600") References: <15ttywuz79n.fsf@tux.uio.no> <14141bef04780bbe485ef701cdbb10fc.squirrel@webmail.stinkweasel.net> Message-ID: <15tzl6mxnqo.fsf@tux.uio.no> "C. Bensend" writes: >> "C. Bensend" writes: >> >>> Hey folks, >>> >>> I'm trying to teach my newest Nagios installation how to test Dell's >>> hardware on remote Windows boxes via NRPE/NSClient++, and I'm running >>> into a snag: >>> >>> ./check_nrpe -H HOSTNAME -c check_openmanage >>> ERROR: Dell OpenManage Server Administrator (OMSA) is not installed >>> >>> Hmm. It's installed, and it's installed on every host I've tried >>> so far, but each of them report that OMSA is not installed. Running >>> the check_openmanage.exe from the command prompt locally on the >>> Windows machine reports the exact same, that it thinks OMSA is not >>> installed. >>> >>> Thoughts/cluebats? >> >> Hi, >> >> Which version of check_openmanage is this? Find out with >> >> check_openmanage.exe -V >> >> Also, where is omreport.exe installed on your hosts? > > Hi Trond, > > -V reports v3.5.1. I believe that's the latest release. Yep, that is the latest release. > omreport.exe is in F:\dellopenmanage\oma\bin, which is where our > infrastructure group stores their software (the F: drive). Is there > a way to tell check_openmanage where it is? Yes, your problem is that omreport.exe is not installed in the search path of check_openmanage. You can use the '--omreport' option to specify where omreport.exe is, like this: check_openmanage.exe --omreport F:\dellopenmanage\oma\bin\omreport.exe This should be configured in your nsc.ini file on the hosts. Cheers, -- Trond H. Amundsen Center for Information Technology Services, University of Oslo ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Mon Nov 16 21:12:08 2009 From: benny at bennyvision.com (C. Bensend) Date: Mon, 16 Nov 2009 14:12:08 -0600 Subject: check_openmanage.exe cannot find Dell OMSA In-Reply-To: <15tzl6mxnqo.fsf@tux.uio.no> References: <15ttywuz79n.fsf@tux.uio.no> <14141bef04780bbe485ef701cdbb10fc.squirrel@webmail.stinkweasel.net> <15tzl6mxnqo.fsf@tux.uio.no> Message-ID: > "C. Bensend" writes: > >>> "C. Bensend" writes: >>> >>>> Hey folks, >>>> >>>> I'm trying to teach my newest Nagios installation how to test >>>> Dell's >>>> hardware on remote Windows boxes via NRPE/NSClient++, and I'm running >>>> into a snag: >>>> >>>> ./check_nrpe -H HOSTNAME -c check_openmanage >>>> ERROR: Dell OpenManage Server Administrator (OMSA) is not installed >>>> >>>> Hmm. It's installed, and it's installed on every host I've tried >>>> so far, but each of them report that OMSA is not installed. Running >>>> the check_openmanage.exe from the command prompt locally on the >>>> Windows machine reports the exact same, that it thinks OMSA is not >>>> installed. >>>> >>>> Thoughts/cluebats? >>> >>> Hi, >>> >>> Which version of check_openmanage is this? Find out with >>> >>> check_openmanage.exe -V >>> >>> Also, where is omreport.exe installed on your hosts? >> >> Hi Trond, >> >> -V reports v3.5.1. I believe that's the latest release. > > Yep, that is the latest release. > >> omreport.exe is in F:\dellopenmanage\oma\bin, which is where our >> infrastructure group stores their software (the F: drive). Is there >> a way to tell check_openmanage where it is? > > Yes, your problem is that omreport.exe is not installed in the search > path of check_openmanage. You can use the '--omreport' option to specify > where omreport.exe is, like this: > > check_openmanage.exe --omreport F:\dellopenmanage\oma\bin\omreport.exe > > This should be configured in your nsc.ini file on the hosts. Thank you, Trond... That fixed everything up! I should have seen that option... Benny -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at davidkrider.com Mon Nov 16 21:17:13 2009 From: david at davidkrider.com (David Krider) Date: Mon, 16 Nov 2009 15:17:13 -0500 Subject: pnp4nagios, check_snmp, and the `-m' flag Message-ID: <1258402633.9523.49.camel@localhost> I have a system all setup and running with Nagios and PNP4Nagios. Some of the SNMP checks are not making graphs for me. My general habit has been to "anchor" the SNMP check with the `-m' flag on the check_snmp command. My command: define command { command_name check_snmp command_line $USER1$/check_snmp -H $HOSTADDRESS$ -m $ARG1$ -o $ARG2$ } My service: define service { hostgroup_name power_meters service_description Demand KiloWatts use snmp-service check_command check_snmp! EATON-PWR-MTR-MIB!.1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 servicegroups power_meter_checks } My result: temporary configs # /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 -m EATON-PWR-MTR-MIB -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 SNMP OK - 19 kilo-watts | Notice that there's no perfdata. If I leave out the `-m', I get it: temporary configs # /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 SNMP OK - 19 | iso.3.6.1.4.1.534.8.3.1.5.1.1.4.1=19 It would be nice to keep the units on these calls, just for the sake of it, but this is what's keeping the performance data from being reported in these instances. Just thought I'd post this to the list for future reference. If past experience is any indication of future trending, I'll find this through Google in about 3 years when I can't figure out why I can't get performance data in Nagios again. ;-) Regards, dk ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmelin at gmail.com Mon Nov 16 22:18:21 2009 From: mmelin at gmail.com (Martin Melin) Date: Mon, 16 Nov 2009 22:18:21 +0100 Subject: prioritizing state returns In-Reply-To: <8ee061010911161123g46fe5e4fud55261d74e655171@mail.gmail.com> References: <8ee061010911131244k10d0dfc8k77a7abab57678105@mail.gmail.com> <8ee061010911161123g46fe5e4fud55261d74e655171@mail.gmail.com> Message-ID: So the issue is that you have a single check that checks all the drives on the machine, and then return whatever it considers the "worst" state - in this case UNKNOWN? Couldn't you simply have one check per drive? This way, you'll know if more than one drive goes out of disk space at the same time as well as give you better history for graphs etc. It's late and I am a bit tired so let me know if I'm missing something obvious here :-) Regards, Martin Melin On Mon, Nov 16, 2009 at 8:23 PM, Terry wrote: > On Fri, Nov 13, 2009 at 2:44 PM, Terry wrote: > > Hello, > > > > I have an nsclient++ checkdrivesize check in place. There is a weird > > condition where with microsoft clusters, after a failover event, the > > passive node still has the drive letters around. This causes the > > check to return an unknown status for those drives: > > : UNKNOWN: Could not get free space for: E: "E:" reason: 21 > > > > The fix is to reboot the node but that isn't acceptable to us right > > now. However, it may not be a big deal if I could prioritize warning > > and critical events before an unknown drive state like what is shown > > here. For example, if the C drive goes warning, I would want it to > > say that before it shows this unknown state of E. I am guessing this > > has to be something that nsclient++ has to do but not seeing it. Any > > ideas? > > > > Thanks! > > > > I am still digging to find a solution to this but haven't found > anything yet. Anyone have an idea? > > Thanks > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Nov 16 22:39:31 2009 From: td3201 at gmail.com (Terry) Date: Mon, 16 Nov 2009 15:39:31 -0600 Subject: prioritizing state returns In-Reply-To: References: <8ee061010911131244k10d0dfc8k77a7abab57678105@mail.gmail.com> <8ee061010911161123g46fe5e4fud55261d74e655171@mail.gmail.com> Message-ID: <8ee061010911161339t49f9a462if02b474cb114e57f@mail.gmail.com> This is what I ended up doing. Here's a snippet of checking both cluster nodes and the cluster drives themselves. Sorry for not thinking outside of the box to begin with: define service { use service-active-perf-30 host_name cluster1a,cluster1b service_description disk drives - nrpe check_command check_nrpe_win_drives_free!3G!1G!'D:\\'!'K:\\'!'Q:\\' } define service { use service-active-perf-30 host_name cluster1 service_description disk drives - nrpe check_command check_nrpe_win_drives_free!3G!1G!'C:\\'!'Q:\\' } On Mon, Nov 16, 2009 at 3:18 PM, Martin Melin wrote: > So the issue is that you have a single check that checks all the drives on > the machine, and then return whatever it considers the "worst" state - in > this case UNKNOWN? > > Couldn't you simply have one check per drive? This way, you'll know if more > than one drive goes out of disk space at the same time as well as give you > better history for graphs etc. > > It's late and I am a bit tired so let me know if I'm missing something > obvious here :-) > > Regards, > Martin Melin > > On Mon, Nov 16, 2009 at 8:23 PM, Terry wrote: >> >> On Fri, Nov 13, 2009 at 2:44 PM, Terry wrote: >> > Hello, >> > >> > I have an nsclient++ checkdrivesize check in place. ?There is a weird >> > condition where with microsoft clusters, after a failover event, the >> > passive node still has the drive letters around. ?This causes the >> > check to return an unknown status for those drives: >> > : ? ? ? UNKNOWN: Could not get free space for: E: "E:" reason: 21 >> > >> > The fix is to reboot the node but that isn't acceptable to us right >> > now. ?However, it may not be a big deal if I could prioritize warning >> > and critical events before an unknown drive state like what is shown >> > here. ?For example, if the C drive goes warning, I would want it to >> > say that before it shows this unknown state of E. ?I am guessing this >> > has to be something that nsclient++ has to do but not seeing it. ?Any >> > ideas? >> > >> > Thanks! >> > >> >> I am still digging to find a solution to this but haven't found >> anything yet. ?Anyone have an idea? >> >> Thanks >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 >> 30-Day >> trial. Simplify your report design, integration and deployment - and focus >> on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 00:15:37 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Mon, 16 Nov 2009 18:15:37 -0500 Subject: pnp4nagios, check_snmp, and the `-m' flag In-Reply-To: <1258402633.9523.49.camel@localhost> References: <1258402633.9523.49.camel@localhost> Message-ID: <4B01DD19.3070106@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 16/11/09 03:17 PM, David Krider wrote: > I have a system all setup and running with Nagios and PNP4Nagios. Some > of the SNMP checks are not making graphs for me. My general habit has > been to "anchor" the SNMP check with the `-m' flag on the check_snmp > command. > > My command: > > define command { > command_name check_snmp > command_line $USER1$/check_snmp -H $HOSTADDRESS$ -m $ARG1$ -o $ARG2$ > } > > My service: > > define service { > hostgroup_name power_meters > service_description Demand KiloWatts > use snmp-service > check_command check_snmp! > EATON-PWR-MTR-MIB!.1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 > servicegroups power_meter_checks > } > > My result: > > temporary configs # /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 -m > EATON-PWR-MTR-MIB -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 > SNMP OK - 19 kilo-watts | > > Notice that there's no perfdata. If I leave out the `-m', I get it: > > temporary configs # /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 > -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 > SNMP OK - 19 | iso.3.6.1.4.1.534.8.3.1.5.1.1.4.1=19 > > It would be nice to keep the units on these calls, just for the sake of > it, but this is what's keeping the performance data from being reported > in these instances. Just thought I'd post this to the list for future > reference. If past experience is any indication of future trending, I'll > find this through Google in about 3 years when I can't figure out why I > can't get performance data in Nagios again. ;-) The problem is that check_snmp parses the output from snmpget and it appears that when you load the MIB it detects the result as a string (if you post the full debug output (-vvv switch) I will be able to confirm). The best fix would be to use the SNMP C library instead or running snmpget (which would be more reliable too). This is a major rewrite and we don't have time for that right now. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLAd0Z6dZ+Kt5BchYRAr7SAJ40KLEe3jp6GG8S/Vfkc3w15s0oEACfaFBi GVmi/p+ge4iZcg8+CHbDXj8= =531R -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ajay at wxsec.com Tue Nov 17 04:38:31 2009 From: ajay at wxsec.com (=?ISO-8859-1?B?QUpheQ==?=) Date: Tue, 17 Nov 2009 11:38:31 +0800 Subject: Final stage of getting MRTG working with Nagios v2 Message-ID: My mrtg.cfg: ######## HtmlDir: /var/www/mrtg ImageDir: /var/www/mrtg LogDir: /var/lib/mrtg ThreshDir: /var/lib/mrtg Options[_]: growright, bits #WorkDir: /var/lib/mrtg Target[switch]: 10101:public at 192.168.1.1 MaxBytes[switch]: 12500000 Title[switch]: 3750G Gi1/0/1 Traffic Analysis PageTop[switch]:

Stats for Gi1/0/1 of 3750G

######### [switch] means log file name is switch.log, and it will be created in LogDir. 10101 is the interface-number that I want to monitor. Use "snmpwalk -v2c -c community-string HOST 1.3.6.1.2.1.31.1.1.1.1" you'll get lines like this: "IF-MIB::ifName.x = STRING: Gi1/0/1" and x is the interface-number. and my switch.cfg: ####### define service{ use generic-service host_name 3750G service_description Gi 1/0/1 Traffic check_command check_local_mrtgtraf!/var/lib/mrtg/switch.log!AVG!500000,1000000!1500000,2000000!10 } ####### The first ARG "/var/lib/mrtg/switch.log" shows where the mrtg log file is. Make sure it's consistent with the settings in your mrtg.cfg. ------------------ AJay ------------------ Original ------------------ From: "xmanhosting"; Date: Mon, Nov 16, 2009 08:00 PM To: "'AJay'"; Subject: RE: [Nagios-users] Final stage of getting MRTG working with Nagios v2 Hello Ajay, Thanks for the reply - however I have no idea what I am looking for in these files as I am new to all of this. Would you be able to point me in the right direction? Kind regards, Anthony. From: xjtuzmj at qq.com [mailto:xjtuzmj at qq.com] On Behalf Of AJay Sent: Monday, 16 November 2009 11:24 AM To: xmanhosting; nagios-users Subject: Re:[Nagios-users] Final stage of getting MRTG working with Nagios v2 Your mrtg is probably not working correctly, check you mrtg.cfg and /var/spool/mail/root to see what's going on with mrtg. ------------------ AJay ------------------ Original ------------------ From: "xmanhosting"; Date: Sat, Nov 14, 2009 12:27 PM To: "nagios-users"; Subject: [Nagios-users] Final stage of getting MRTG working with Nagios v2 Hello, I have been fluffing around with Nagios for a couple of weeks, and have nearly finally nailed it. I just have one thing to go. I am trying to get MRTG to work with Nagios. I have got MRGT working locally on my machine , and can see it working by going to these 2 sites (locally) in a browser: file:///usr/local/mrtg-2/share/mrtg2/icons/index.html and file:///usr/local/mrtg-2/share/mrtg2/icons/localhost_2.html I followed the tutorial below to set up my router with Nagios: http://www.thegeekstuff.com/2008/11/how-to-monitor-network-switch-and-ports-using-nagios/ however I am yet to get MRTG working with Nagios: PING OK 11-14-2009 13:13:56 21d 16h 10m 13s 1/3 PING OK - Packet loss = 0%, RTA = 1.38 ms Port 1 Bandwidth Usage UNKNOWN 11-14-2009 13:09:49 21d 16h 8m 43s 3/3 check_mrtgtraf: Unable to open MRTG log file Port 1 Link Status OK 11-14-2009 13:11:29 12d 22h 37m 5s 1/3 SNMP OK - up(1) Uptime OK 11-14-2009 13:10:29 12d 22h 27m 57s 1/3 SNMP OK - Timeticks: (152738042) 17 days, 16:16:20.42 My switch.cfg currently has the following: # Monitor bandwidth via MRTG logs define service{ use generic-service ; Inherit values from a template host_name Billion service_description Port 1 Bandwidth Usage check_command check_local_mrtgtraf!/usr/local/mrtg-2/share/mrtg2/icons/localhost2.log!AVG!1000000,1000000!5000000,5000000!10 } My localhost2.log is at the location above: /usr/local/mrtg-2/share/mrtg2/icons/localhost2.log ,however I still must have something wrong for it to not work. When I run: /usr/local/nagios/bin/nagios -v /usr/local/nagios/etc/nagios.cfg , it says: "Things look okay - No serious problems were detected during the pre-flight check" When I run: /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , it says: ----------------------------------------------------------------------- ERROR: Mrtg will most likely not work properly when the environment variable LANG is set to UTF-8. Please run mrtg in an environment where this is not the case. Try the following command to start: env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg ----------------------------------------------------------------------- When I run: env LANG=C /usr/local/mrtg-2/bin/mrtg /home/mrtg/cfg/mrtg.cfg , there are no errors. Does anyone know what I am still doing wrong Thanks for any help, Kind regards, Anthony -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 06:01:20 2009 From: marc at ena.com (Marc Powell) Date: Mon, 16 Nov 2009 23:01:20 -0600 Subject: Check external hosts using NRPE In-Reply-To: <4B0181F7.7000908@uci.cu> References: <4B0181F7.7000908@uci.cu> Message-ID: <1A499DF4-90EC-4C50-807C-7D9CE63C04B1@ena.com> On Nov 16, 2009, at 10:46 AM, ReynierPM wrote: > Hi every: > I'm trying to check some services in a remote host (Ubuntu Linux 9.04 > Server) using NRPE. I have the NRPE plugin installed on both machines: > the nagios server and the remote host. I describe below what I've done > until now: [reordering for clarity] > > After all this I'm getting, constantly, these errors: > > [1258389533] Warning: Return code of 127 for check of service 'SAN Space > SDB1' on host 'bacula-server' was out of bounds. Make sure the plugin > you're trying to run actually exists. 127 means that the program you're trying to run doesn't exist in the path you've specified. > #'nrpe' command definition > define command{ > command_name check_nrpe > command_line $USERS1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ > } You mean to use $USER1$ here (presuming that is set to the path to the plugins in resource.cfg). -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Tue Nov 17 06:11:27 2009 From: rperezm at uci.cu (ReynierPM) Date: Tue, 17 Nov 2009 00:11:27 -0500 Subject: Check external hosts using NRPE In-Reply-To: <1A499DF4-90EC-4C50-807C-7D9CE63C04B1@ena.com> References: <4B0181F7.7000908@uci.cu> <1A499DF4-90EC-4C50-807C-7D9CE63C04B1@ena.com> Message-ID: <4B02307F.2000404@uci.cu> Marc Powell wrote: >> After all this I'm getting, constantly, these errors: >> >> [1258389533] Warning: Return code of 127 for check of service 'SAN Space >> SDB1' on host 'bacula-server' was out of bounds. Make sure the plugin >> you're trying to run actually exists. > > 127 means that the program you're trying to run doesn't exist in the path you've specified. Did you see the entire email? As I said before I run the command from command line and it works fine. >> #'nrpe' command definition >> define command{ >> command_name check_nrpe >> command_line $USERS1$/check_nrpe -H $HOSTADDRESS$ -c $ARG1$ >> } > > You mean to use $USER1$ here (presuming that is set to the path to the plugins in resource.cfg). This var is setup and point to /usr/local/nagios/libexec where plugins are located. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 06:20:08 2009 From: marc at ena.com (Marc Powell) Date: Mon, 16 Nov 2009 23:20:08 -0600 Subject: Check external hosts using NRPE In-Reply-To: <4B02307F.2000404@uci.cu> References: <4B0181F7.7000908@uci.cu> <1A499DF4-90EC-4C50-807C-7D9CE63C04B1@ena.com> <4B02307F.2000404@uci.cu> Message-ID: <37D9E404-DA03-4E66-8EEF-17199069869B@ena.com> On Nov 16, 2009, at 11:11 PM, ReynierPM wrote: > Did you see the entire email? As I said before I run the command from command line and it works fine. So? That's not what's broke as you demonstrated ;) Did you see my entire e-mail? What I'm telling you to fix has nothing to do with manually running it from the command line. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cosmin.neagu at omnilogic.ro Tue Nov 17 10:36:01 2009 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Tue, 17 Nov 2009 11:36:01 +0200 Subject: Sending mails - first post Message-ID: <4B026E81.70107@omnilogic.ro> Hello everybody, First time here, so if it is a stupid questions, sorry for that. I have just installed nagios 3.2.0 an have some host and services monitoring. Is installed on SuSE 10.2. The only thing that i don't know hot to do, is making nagios to send emails. Never configured stuff relating to emails before. From what i see from commands.cfg, by default it tries to send email with: /usr/bin/mail -s. But the email ends up in a local folder /var/mail/cosmin. Can anyone help me with some documentation or some advice on how can i make nagios send emails? Thanks. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hkinwel at nl.tiscali.com Tue Nov 17 10:56:04 2009 From: hkinwel at nl.tiscali.com (Hans Kinwel) Date: Tue, 17 Nov 2009 10:56:04 +0100 Subject: What would you want in a replacement web interface? In-Reply-To: <4B017C60.8040707@lilacnetworks.com> References: <4B017C60.8040707@lilacnetworks.com> Message-ID: <4B027334.4040006@nl.tiscali.com> Taylor Dondich wrote: > #3) What is your biggest gripe regarding the existing Nagios web user > interface I have a colleague that would like to look at the Nagios status screen with his PDA. A quick google search did not give any result, might be me. Anyway, something with smalls screens and/or CSS? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Constantin.Bugneac at endava.com Tue Nov 17 11:54:13 2009 From: Constantin.Bugneac at endava.com (Constantin Bugneac) Date: Tue, 17 Nov 2009 12:54:13 +0200 Subject: Issues with running Nagios 3.2.0 with --enable-embedded-perl Message-ID: Hello Guys, I have tried to install Nagios 3.2.0 version on Linux CentOS 5.2 and I have got a issue: When starting, it ends with segmentation fault: [root at mon bin]# ./nagios -d /usr/local/nagios_new/etc/nagios.cfg Segmentation fault [root at mon bin]# Despite the fact that checking the config works OK: [root at mon bin]# ./nagios -v /usr/local/nagios_new/etc/nagios.cfg Nagios Core 3.2.0 Copyright (c) 2009 Nagios Core Development Team and Community Contributors Copyright (c) 1999-2009 Ethan Galstad Last Modified: 08-12-2009 License: GPL Website: http://www.nagios.org Reading configuration data... Read main config file okay... Processing object config file '/usr/local/nagios_new/etc/objects/contactgroups.cfg'... Processing object config file '/usr/local/nagios_new/etc/objects/timeperiods.cfg'... Processing object config file '/usr/local/nagios_new/etc/objects/templates.cfg'... Processing object config directory '/usr/local/nagios_new/etc/output'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj Application srv.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj Interxion srv.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj Network srv.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj VPNs.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/commands.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj ISP EuroWeb.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj UPS.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj ISP RDS.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj Redbus srv.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/Cluj London.cfg'... Processing object config file '/usr/local/nagios_new/etc/output/sgroup.cfg'... Read object config files okay... Running pre-flight check on configuration data... Checking services... Checked 225 services. Checking hosts... Checked 74 hosts. Checking host groups... Checked 9 host groups. Checking service groups... Checked 0 service groups. Checking contacts... Checked 4 contacts. Checking contact groups... Checked 5 contact groups. Checking service escalations... Checked 450 service escalations. Checking service dependencies... Checked 0 service dependencies. Checking host escalations... Checked 148 host escalations. Checking host dependencies... Checked 73 host dependencies. Checking commands... Checked 107 commands. Checking time periods... Checked 4 time periods. Checking for circular paths between hosts... Checking for circular host and service dependencies... Checking global event handlers... Checking obsessive compulsive processor commands... Checking misc settings... Total Warnings: 0 Total Errors: 0 Things look okay - No serious problems were detected during the pre-flight check [root at mon bin]# The Nagios is compiled with embedded perl support (as I have a some plugins in Perl). No errors or warnings appeared while configuring and compiling the code. Below is a try to find the cause: [root at rmon bin]# gdb ./nagios GNU gdb Red Hat Linux (6.5-37.el5_2.2rh) Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux-gnu"...(no debugging symbols found) Using host libthread_db library "/lib/libthread_db.so.1". (gdb) run -d /usr/local/nagios_new/etc/nagios.cfg Starting program: /usr/local/nagios_new/bin/nagios -d /usr/local/nagios_new/etc/nagios.cfg [1]+ Stopped gdb ./nagios [root at rocjmon02 bin]# fg gdb ./nagios (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] (no debugging symbols found) [New Thread -1208183104 (LWP 21792)] (no debugging symbols found) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208183104 (LWP 21792)] 0x00938be1 in Perl_get_cv () from /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so (gdb) bt #0 0x00938be1 in Perl_get_cv () from /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so #1 0x0093b036 in perl_free () from /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so #2 0x0093d5f9 in perl_parse () from /usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE/libperl.so #3 0x080905b7 in init_embedded_perl () #4 0x080579f5 in main () (gdb) It seems that this is due to perl, but I cannot figure out what exactly causes this. Also have tried to run Nagios in debug mode (with debug_level=-1, debug_verbosity=2) but this is all I got in nagios.debug: [1258446070.459957] [001.0] [pid=23617] drop_privileges() start [1258446070.460128] [004.0] [pid=23617] Original UID/GID: 0/0 [1258446070.471956] [004.0] [pid=23617] New UID/GID: 500/501 Could someone help me with this? Or just point out what?s wrong with perl? Many Thanks, Constantin. ________________________________ The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Any opinions expressed are mine and do not necessarily represent the opinions of the Company. Emails are susceptible to interference. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is strictly prohibited and may be unlawful. If you have received this message in error, do not open any attachments but please notify the EndavaIT Service Desk on (+44 (0)870 423 0187), and delete this message from your system. The sender accepts no responsibility for information, errors or omissions in this email, or for its use or misuse, or for any act committed or omitted in connection with this communication. If in doubt, please verify the authenticity of the contents with the sender. Please rely on your own virus checkers as no responsibility is taken by the sender for any damage rising out of any bug or virus infection. Endava Limited is a company registered in England under company number 5722669 whose registered office is at 125 Old Broad Street, London, EC2N 1AR, United Kingdom. Endava Limited is the Endava group holding company and does not provide any services to clients. Each of Endava Limited and its subsidiaries is a separate legal entity and has no liability for another such entity's acts or omissions. Please refer to the ?Legal? section on our website for a list of legal entities. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscription at kkeane.com Tue Nov 17 15:09:13 2009 From: subscription at kkeane.com (Kevin Keane) Date: Tue, 17 Nov 2009 06:09:13 -0800 Subject: What would you want in a replacement web interface? In-Reply-To: <4B017C60.8040707@lilacnetworks.com> References: <4B017C60.8040707@lilacnetworks.com> Message-ID: <724C3B2F1C5EB44D9108E471EC5E99332F2F135CE1@akechi-denki.ad.nctechcenter.com> > -----Original Message----- > From: Taylor Dondich [mailto:tdondich at lilacnetworks.com] > Sent: Monday, November 16, 2009 8:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] What would you want in a replacement web > interface? > > Hi there. I've been working on a replacement web interface for Nagios, > and it's coming along great! However, I wanted to take the time to ask > the community some questions to get your feedback and roll it into the > interface. > > > So I have 3 questions to ask you all. If you could answer with as much > detail as possible, it would be fantastic. > > #1) What is the most important thing you want to see in a Tactical > Overview replacement? What are the most essential components? My main screen is the service problems, not the tactical overview. Maybe the tactical overview could (optionally) contain a list of all service problems? > #2) When looking at a Host or a Service, what are the details you > want/need to see? What can you not live without? For those people who use the FQDN as host name, I would love to see a way to sort hosts by domain. The sort should not be case sensitive. OK, that's not directly an answer to your question, but for me it's a little thing that would help enormously. When monitoring hosts in several different domains, the host list is sorted by host name; domains aren't grouped together. Also, FQDNs aren't case sensitive, but Nagios is. That's primarily an issue when monitoring Windows servers. > #3) What is your biggest gripe regarding the existing Nagios web user > interface? The Nagios navigation is too closely tied to the content. What I'd love to see is Nagios being a set of individual snippets that you can embed in your own Web site (plus a framework that ties them all together for those people who want to use it the current way). In my case, for instance, I'd love to be able to embed Nagios into Joomla pages. If the user clicks on a link within one of the Nagios pages (say, clicks on a service to see service details), it should be possible to forward such a click to the page that Nagios is embedded into and let the framework handle navigation. A session-based authentication scheme would be nice. The ultimate goal would be single-sign-on support; when logged into one of the common frameworks (in my case, again, Joomla), there should be a way for Nagios to retrieve the user name and password from the "parent" session without exposing the password. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Tue Nov 17 14:40:31 2009 From: akpgeek at gmail.com (akp geek) Date: Tue, 17 Nov 2009 08:40:31 -0500 Subject: Nagios This host has not yet been checked, so status information is not available Message-ID: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> Hi all - Can you please help with the issue? Regards ---------- Forwarded message ---------- From: akp geek Date: Mon, Nov 16, 2009 at 2:27 PM Subject: This host has not yet been checked, so status information is not available To: Nagios-Users Mailinglist Hi All - ? ? ? ? ? ? ? I have installed Nagios on solaris. I have defined a new host in templates.cfg and check_command. ? ? ? ? ? ? ? I have also define host ?in localhost.cfg for the new host ? ? ? ? ? ? ? I have added the command in commands.cfg and I have verified the configuration and did not get any errors. when I opened the Nagios page. I got the servers and but the status is showing as pending instead of UP. I am not able to figure what else I need to do ? Can you please help Regards ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyle at lcrcomputer.net Tue Nov 17 15:55:53 2009 From: lyle at lcrcomputer.net (Lyle Giese) Date: Tue, 17 Nov 2009 08:55:53 -0600 Subject: Sending mails - first post Message-ID: <4B02B979.4020805@lcrcomputer.net> Cosmin Neagu wrote: > Hello everybody, > First time here, so if it is a stupid questions, sorry for that. > I have just installed nagios 3.2.0 an have some host and services > monitoring. > Is installed on SuSE 10.2. The only thing that i don't know hot to do, > is making nagios to send emails. Never configured stuff relating to > emails before. > From what i see from commands.cfg, by default it tries to send email > with: /usr/bin/mail -s. > But the email ends up in a local folder /var/mail/cosmin. > Can anyone help me with some documentation or some advice on how can i > make nagios send emails? > Thanks. > > Nagios is correctly sending emails via the OS system utilities. Now what you really want is for the OS to push them somewhere else. I use SuSE Linux here and it uses Postfix for email and I know how to forward email and setup Postfix when forwarding to another server to use smtp auth. If you need a bit of advice on Postfix, let me know. Lyle Giese LCR Computer Services, Inc. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 16:52:24 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Nov 2009 09:52:24 -0600 Subject: Nagios This host has not yet been checked, so status information is not available In-Reply-To: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> References: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> Message-ID: <476F8B51-D5A0-4E77-BCDF-BC8D60B05468@ena.com> On Nov 17, 2009, at 7:40 AM, akp geek wrote: > Hi all - > > Can you please help with the issue? You problem is to vague at this point; too many possibilities. It would help if you provided real configuration information (host{} definitions, service{} definitions from objects.cache). A pointer to the instructions you used for installation would help give context on the steps you took as well. -- Marc > ---------- Forwarded message ---------- > From: akp geek > Date: Mon, Nov 16, 2009 at 2:27 PM > Subject: This host has not yet been checked, so status information is > not available > To: Nagios-Users Mailinglist > > > Hi All - > > I have installed Nagios on solaris. I have defined a > new host in templates.cfg and check_command. > I have also define host in localhost.cfg for the new host > I have added the command in commands.cfg and I have > verified the configuration and did not get any errors. > > when I opened the Nagios page. I got the servers and but the status is > showing as pending instead of UP. I am not able to figure what else I > need to do ? Can you please help ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 16:55:02 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Nov 2009 09:55:02 -0600 Subject: Sending mails - first post In-Reply-To: <4B026E81.70107@omnilogic.ro> References: <4B026E81.70107@omnilogic.ro> Message-ID: <4D819858-0D74-4CC4-B4F8-E71E9C4BB391@ena.com> On Nov 17, 2009, at 3:36 AM, Cosmin Neagu wrote: > From what i see from commands.cfg, by default it tries to send email > with: /usr/bin/mail -s. > But the email ends up in a local folder /var/mail/cosmin. > Can anyone help me with some documentation or some advice on how can i > make nagios send emails? It sounds like you're not using a fully-qualifed email address for your contact{} (address at domain.com) or else the local SMTP server running on your nagios box believes that it is responsible for the @domain.com you're sending to. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.saldivar at advocatecreditrepair.com Tue Nov 17 16:50:07 2009 From: mike.saldivar at advocatecreditrepair.com (Michael Saldivar) Date: Tue, 17 Nov 2009 08:50:07 -0700 Subject: Sending mails - first post In-Reply-To: <4B026E81.70107@omnilogic.ro> References: <4B026E81.70107@omnilogic.ro> Message-ID: On Tue, Nov 17, 2009 at 2:36 AM, Cosmin Neagu wrote: > Hello everybody, > From what i see from commands.cfg, by default it tries to send email > with: /usr/bin/mail -s. > But the email ends up in a local folder /var/mail/cosmin. > Can anyone help me with some documentation or some advice on how can i > make nagios send emails? > Thanks. > > Looks like it is sending mail, and that mail is being delivered locally. When you configured Nagios to send e-mail, what e-mail address did you tell it to send to? Also, look for a file called /etc/aliases. Open it, and see if there is a line like: root: cosmin The name on the left may match the e-mail address you gave nagios, and the aliases file is re-directing that mail to the local user cosmin. Replace cosmin with an e-mail address on a different domain. Or modify Nagios to send to a an e-mail address on a domain different than the local machine. Or configure the e-mail client on your computer to check the e-mail account on your Nagios machine. -- Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 17 17:36:22 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 17 Nov 2009 08:36:22 -0800 Subject: Nagios This host has not yet been checked, so status information is not available In-Reply-To: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> References: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> Message-ID: <4B02D106.4070104@hp.com> akp geek wrote: > I have installed Nagios on solaris. I have defined a > new host in templates.cfg and check_command. > I have also define host in localhost.cfg for the new host > I have added the command in commands.cfg and I have > verified the configuration and did not get any errors. > > when I opened the Nagios page. I got the servers and but the status is > showing as pending instead of UP. I am not able to figure what else I > need to do ? Can you please help > I'm going to make a couple guesses in the absence of any real configuration information and guess that you're not running scheduled checks on your hosts and that you haven't defined any services. If that's the case, what you're seeing would be perfectly normal. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevenshepherd at gmail.com Tue Nov 17 17:43:03 2009 From: stevenshepherd at gmail.com (Steve Shepherd) Date: Tue, 17 Nov 2009 11:43:03 -0500 Subject: Odd NRPE issue - variable not printing Message-ID: <309671b0911170843s30d7b6d6l3573111549919c51@mail.gmail.com> Hello, Using NRPE 2.12 and have an issue with a variable from a perl script not being printed. The script works fine when executed manually using the 'nagios' user which NRPE is running as: sh-2.05a$ /usr/local/nagios/libexec/check_apache OK - 68 requests being processed. However, via NRPE: /usr/local/nagios/libexec/check_nrpe -H localhost -c check_apache OK - requests being processed. Below is the script. I've tried many different code variations, but end result is the same. I appreciate any insight as to what the issue could be. Thanks! ------ #!/usr/bin/perl $OK = 0; $WARNING = 1; $CRITICAL = 2; $status = $OK; $returnstring = ""; ($apache_tool, @lines, $tot_req); $apache_tool = "/usr/local/apache/sbin/apachectl status"; @lines = `$apache_tool`; foreach (@lines) { if ($_ =~ /requests currently being processed/) { $tot_req = (split(" ", $_))[0]; last; } } if ($tot_req < 350) { $status = $OK; } elsif ($tot_req >= 350 && $tot_req < 450) { $status = $WARNING; } elsif ($tot_req > 450) { $status = $CRITICAL; } if ($status == $OK) { $returnstring = "$tot_req requests being processed.\n"; print "OK - $returnstring\n"; } elsif ($status == $WARNING) { $returnstring = "$tot_req requests being processed.\n"; print "WARNING - $returnstring\n"; } elsif ($status == $CRITICAL) { $returnstring = "$tot_req request being processed.\n"; print "CRITICAL - $returnstring\n"; } exit $status; -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Tue Nov 17 17:45:14 2009 From: mitsuto at gmail.com (Marcel) Date: Tue, 17 Nov 2009 14:45:14 -0200 Subject: Custom Macros in Service Definitions? Message-ID: <2dfcbd1b0911170845m766df1ebj50aab320309ac543@mail.gmail.com> Hi, I have several webservers that have over 20 (virtual)interfaces each. So I've defined the host with custom macros for each private IP: define host{ use linux-server _ip_private_VIP_1 10.4.200.101 _ip_private_VIP_2 10.4.201.101 ... } Now I want to refer to this $_HOSTip_provate_VIP_1$ macro in services definitions, but nagios is complaining about not finding the service. The documentation isn't clear whether or not custom macros could be used in service definitions. I've a command like this: define command{ command_name check_http_str_return_args command_line $USER1$/check_http -I $ARG1$ $ARG2$ } And the service definition: define service{ use generic-service (...) check_command check_http_str_return_args!$_HOSTip_private_VIP_1$!-u / -t 10 -w 3 -c 5 -e HTTP/1.1 200 OK } My question is: Is it by design that custom macros should NOT be used in service definitions? Because I'd need to create ONE COMMAND per VIP just to use custom macros? I would like to set just one services, to use just ONE command, and be able to check the whole webserver farm. Best regards, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 17 17:49:38 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 17 Nov 2009 08:49:38 -0800 Subject: Odd NRPE issue - variable not printing In-Reply-To: <309671b0911170843s30d7b6d6l3573111549919c51@mail.gmail.com> References: <309671b0911170843s30d7b6d6l3573111549919c51@mail.gmail.com> Message-ID: <4B02D422.6030205@hp.com> Steve Shepherd wrote: > Hello, > > Using NRPE 2.12 and have an issue with a variable from a perl script > not being printed. > > The script works fine when executed manually using the 'nagios' user > which NRPE is running as: > > sh-2.05a$ /usr/local/nagios/libexec/check_apache > > OK - 68 requests being processed. > > > However, via NRPE: > > /usr/local/nagios/libexec/check_nrpe -H localhost -c check_apache > > OK - requests being processed. > > > Below is the script. I've tried many different code variations, but > end result is the same. I appreciate any insight as to what the issue > could be. Thanks! When you test at the command line, are you doing it as the nagios user? Looks like it could easily be a permissions issue. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stevenshepherd at gmail.com Tue Nov 17 17:57:55 2009 From: stevenshepherd at gmail.com (Steve Shepherd) Date: Tue, 17 Nov 2009 11:57:55 -0500 Subject: Odd NRPE issue - variable not printing In-Reply-To: <4B02D422.6030205@hp.com> References: <309671b0911170843s30d7b6d6l3573111549919c51@mail.gmail.com> <4B02D422.6030205@hp.com> Message-ID: <309671b0911170857m434c1f2x53645461bff27622@mail.gmail.com> Yes, the script runs fine w/ Nagios user as stated. On Tue, Nov 17, 2009 at 11:49 AM, Morris, Patrick wrote: > Steve Shepherd wrote: > >> Hello, >> >> Using NRPE 2.12 and have an issue with a variable from a perl script not >> being printed. >> >> The script works fine when executed manually using the 'nagios' user which >> NRPE is running as: >> >> sh-2.05a$ /usr/local/nagios/libexec/check_apache >> >> OK - 68 requests being processed. >> >> >> However, via NRPE: >> >> /usr/local/nagios/libexec/check_nrpe -H localhost -c check_apache >> OK - requests being processed. >> >> >> Below is the script. I've tried many different code variations, but end >> result is the same. I appreciate any insight as to what the issue could be. >> Thanks! >> > > When you test at the command line, are you doing it as the nagios user? > Looks like it could easily be a permissions issue. > -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Tue Nov 17 18:06:00 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 17 Nov 2009 12:06:00 -0500 Subject: Odd NRPE issue - variable not printing In-Reply-To: <309671b0911170857m434c1f2x53645461bff27622@mail.gmail.com> References: <309671b0911170843s30d7b6d6l3573111549919c51@mail.gmail.com> <4B02D422.6030205@hp.com> <309671b0911170857m434c1f2x53645461bff27622@mail.gmail.com> Message-ID: From: Steve Shepherd [mailto:stevenshepherd at gmail.com] Sent: Tuesday, November 17, 2009 11:58 AM To: Morris, Patrick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Odd NRPE issue - variable not printing Yes, the script runs fine w/ Nagios user as stated. On Tue, Nov 17, 2009 at 11:49 AM, Morris, Patrick > wrote: Steve Shepherd wrote: Hello, Using NRPE 2.12 and have an issue with a variable from a perl script not being printed. The script works fine when executed manually using the 'nagios' user which NRPE is running as: sh-2.05a$ /usr/local/nagios/libexec/check_apache OK - 68 requests being processed. However, via NRPE: /usr/local/nagios/libexec/check_nrpe -H localhost -c check_apache OK - requests being processed. Below is the script. I've tried many different code variations, but end result is the same. I appreciate any insight as to what the issue could be. Thanks! When you test at the command line, are you doing it as the nagios user? Looks like it could easily be a permissions issue. I must admit to see this kind of thing myself from time to time. Although to me, it seems more like perl than NRPE. In a broader context the issue is about getting something different when running from the command line versus running through Nagios. One that comes to mind that looks for processes consuming lots of CPU will tell me the specific process name when run from the command line, but tells me only "java" when run automatically via Nagios. I have another script that runs great from the command-line, but blows up when it runs through Nagios. I haven't had the time to dig in as much as I'd like and Nagios itself does not, unfortunately, provide much useful info from what I've seen to help you debug plugin problems. In this case though, I'm a little suspicious of ePN causing the different behavior as that's what's really different between my command-line runs and Nagios' automatic runs. Mark -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 17 18:13:39 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 17 Nov 2009 09:13:39 -0800 Subject: Odd NRPE issue - variable not printing In-Reply-To: <309671b0911170857m434c1f2x53645461bff27622@mail.gmail.com> References: <309671b0911170843s30d7b6d6l3573111549919c51@mail.gmail.com> <4B02D422.6030205@hp.com> <309671b0911170857m434c1f2x53645461bff27622@mail.gmail.com> Message-ID: <4B02D9C3.1020607@hp.com> Sorry, I meant to say the NRPE user, but it's early and I'd also misread the original statement. Coffee should be kicking in any time now. Anyway, based on that, I'd guess it's failing on the "@lines = `$apache_tool`;" line, since it doesn't seem to be picking up anything at all. How is "check_apache" defined in the NRPE config? I'm wondering if it's being called in a way that isn't allowing external shell commands. Steve Shepherd wrote: > Yes, the script runs fine w/ Nagios user as stated. > > On Tue, Nov 17, 2009 at 11:49 AM, Morris, Patrick > > wrote: > > Steve Shepherd wrote: > > Hello, > > Using NRPE 2.12 and have an issue with a variable from a perl > script not being printed. > > The script works fine when executed manually using the > 'nagios' user which NRPE is running as: > > sh-2.05a$ /usr/local/nagios/libexec/check_apache > > OK - 68 requests being processed. > > > However, via NRPE: > > /usr/local/nagios/libexec/check_nrpe -H localhost -c check_apache > OK - requests being processed. > > > Below is the script. I've tried many different code > variations, but end result is the same. I appreciate any > insight as to what the issue could be. Thanks! > > > When you test at the command line, are you doing it as the nagios > user? Looks like it could easily be a permissions issue. > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Tue Nov 17 18:17:36 2009 From: mitsuto at gmail.com (Marcel) Date: Tue, 17 Nov 2009 15:17:36 -0200 Subject: MACRO SPANNING Message-ID: <2dfcbd1b0911170917i381223c7r337e67b376c657c3@mail.gmail.com> Hi, Do nagios does multiple MACRO SPANNING? I mean... If I define a service with a custom host macro $_HOST_ip_private_VIP_1$, and the command is defined as $USER1$/check_http -I $ARG1$, is Nagios able to span the $_HOST_ip_private_VIP_1$ macro when substituting it by $ARG1$ ?? Best regards, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at davidkrider.com Tue Nov 17 18:35:05 2009 From: david at davidkrider.com (David Krider) Date: Tue, 17 Nov 2009 12:35:05 -0500 Subject: pnp4nagios, check_snmp, and the `-m' flag In-Reply-To: <4B01DD19.3070106@aei.ca> References: <1258402633.9523.49.camel@localhost> <4B01DD19.3070106@aei.ca> Message-ID: <1258479305.17766.9.camel@localhost> On Mon, 2009-11-16 at 18:15 -0500, Thomas Guyot-Sionnest wrote: > The problem is that check_snmp parses the output from snmpget and it > appears that when you load the MIB it detects the result as a string (if > you post the full debug output (-vvv switch) I will be able to confirm). Just because you asked. I'm not all that worried about it. The MIB is obviously reporting an INTEGER value, but getting the units back is confusing the issue. temporary ~ # /usr/lib/nagios/plugins/check_snmp -vvv -H 10.1.25.11 -m EATON-PWR-MTR-MIB -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 /usr/bin/snmpget -t 1 -r 5 -m EATON-PWR-MTR-MIB -v 1 -c public 10.1.25.11:161 .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 EATON-PWR-MTR-MIB::pwrMtrDemandKiloWatts.1 = INTEGER: 26 kilo-watts SNMP OK - 26 kilo-watts | ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Tue Nov 17 19:14:44 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Tue, 17 Nov 2009 13:14:44 -0500 Subject: Occasional unknown status messages from a particular server Message-ID: Hi there -- We are running Nagios 3.1.2, and one of our monitored servers, running NRPE client 2.0, is occasionally sending back unknown status messages to the server. An example of this is shown below: UNKNOWN 11-17-2009 13:10:15 0d 0h 1m 54s 2/3 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. UNKNOWN 11-17-2009 13:10:15 0d 0h 1m 54s 2/3 NRPE: Call to fork() failed This service is flapping between states UNKNOWN 11-17-2009 13:10:15 0d 0h 0m 54s 3/3 NRPE: Unable to read output This service is flapping between states UNKNOWN 11-17-2009 13:06:15 0d 0h 4m 54s 3/3 NRPE: Call to fork() failed UNKNOWN 11-17-2009 13:10:15 0d 0h 1m 54s 2/3 CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. The server being monitored is an HP-UX 11.00 system running on a PA-RISC chipset. I have checked the log files of the remote host, but there is nothing to indicate there being a problem. I have also run the check commands manually on the remote host, and all have returned known output. Has anyone seen this, know what it is, and what steps can be done to stop it from occurring? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 19:39:59 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Nov 2009 12:39:59 -0600 Subject: Custom Macros in Service Definitions? In-Reply-To: <2dfcbd1b0911170845m766df1ebj50aab320309ac543@mail.gmail.com> References: <2dfcbd1b0911170845m766df1ebj50aab320309ac543@mail.gmail.com> Message-ID: <0B749C2B-502B-4490-8F40-FD874DEEC324@ena.com> On Nov 17, 2009, at 10:45 AM, Marcel wrote: > Now I want to refer to this $_HOSTip_provate_VIP_1$ macro in services definitions, but nagios is complaining about not finding the service. What is the exact error that you are seeing? I can't see how a problem with that macro substitution would generate any error about 'not finding the service'. > The documentation isn't clear whether or not custom macros could be used in service definitions. > > I've a command like this: > > define command{ > command_name check_http_str_return_args > command_line $USER1$/check_http -I $ARG1$ $ARG2$ > } > > And the service definition: > > define service{ > use generic-service > (...) > check_command check_http_str_return_args!$_HOSTip_private_VIP_1$!-u / -t 10 -w 3 -c 5 -e HTTP/1.1 200 OK > } This is unusual but based on the documentation on how to check service and host clusters, I expect this should probably work. Looking in the code it looks like macro substitution happens at the right place too... There is a problem with the resulting command in that '-e HTTP/1.1 200 OK' will be translated to '-e' with an argument of 'HTTP/1.1' and then a dangling 200 and a dangling OK to the entire command. If you want to match more than HTTP/1.1, enclose the entire 'HTTP/1.1 200 OK' in quotes. > My question is: > > Is it by design that custom macros should NOT be used in service definitions? I don't recall seeing it stated either way (should/should not). I know that you can use other macros in this way and don't believe that custom macros are special. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 19:45:58 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Nov 2009 12:45:58 -0600 Subject: Occasional unknown status messages from a particular server In-Reply-To: References: Message-ID: <0D8A64D7-2739-4CB3-B01C-CBBC6AEAA36C@ena.com> On Nov 17, 2009, at 12:14 PM, Kaplan, Andrew H. wrote: > Hi there -- > > We are running Nagios 3.1.2, and one of our monitored servers, running NRPE client 2.0, is occasionally > sending back unknown status messages to the server. An example of this is shown below: > > > UNKNOWN 11-17-2009 13:10:15 0d 0h 1m 54s 2/3 > CHECK_NRPE: Received 0 bytes from daemon. Check the remote server logs for error messages. > > UNKNOWN 11-17-2009 13:10:15 0d 0h 1m 54s 2/3 NRPE: Call to fork() failed I'm not familiar with HP-UX but this is indicating that the NRPE daemon on the remote host is unable to create a new process to run the check. Do you have restrictions on that host to prevent that? limits on memory use, max number of process, etc? Have you tried putting NRPE into debug mode? You might get more information but it sounds like the OS is preventing the creation of the child process. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Tue Nov 17 20:38:33 2009 From: td3201 at gmail.com (Terry) Date: Tue, 17 Nov 2009 13:38:33 -0600 Subject: plugin to track full page load performance Message-ID: <8ee061010911171138n414ab7f9pe297d4783d98bc33@mail.gmail.com> Hello, I am looking to avoid reinventing a wheel here. I am looking for a plugin that will do a full page load (including images). Check_http doesn't do images from what I am seeing. It should be easy enough to do this with wget but does anyone have any other ideas? Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Tue Nov 17 20:36:41 2009 From: kdawg44 at gmail.com (Kevin Holleran) Date: Tue, 17 Nov 2009 14:36:41 -0500 Subject: Integrating Nagios & Cacti Message-ID: <5caea3690911171136u32873b92p6cfedc9f93b6e73b@mail.gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, I installed and setup PNP4Nagios but am not really liking it. I have used Cacti in the past (on its own) and would like to integrate Nagios and Cacti. Is there a HOWTO page or anything that can help me configure Cacti to integrate with Nagios? I do not want to have to manage two sets of devices or two data areas and it appears that Cacti and Nagios can integrate. Thanks for your help. Kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iQEcBAEBAgAGBQJLAvtIAAoJELwJyEr2hjSxDxgIAKiovV0yQ9RuyOtO+u7FkQT0 CcVafR4JcbixAOBBJTm0ryzhF6G5AEccE5Erxg7kqnE9p+JES3VBnu8SLMFFiGR2 phoigHk8xibMIiWOnSF8fK97Om/yXaBcVSFfhiQWgkLH3m/wqEAFLK4n1CdZCzQf ejBfzjwgJ3/EmOfPTRFm1J4I7mnrDm2zdsB/DJL5Jzr92LAzhrwptpMx7E1poJVQ AizvK9uAUXPWMDVpDUME1Vcsx4NAT2QKgx9x87FVxasLcuDYBvAqTxRpHdXrI2t8 feojO3TR/M5FhBrIJOeC47JAw1D0qf6BMM2s+Hr5VHcmsexojYtHGINZgJCB358= =DWtQ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 17 20:43:43 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 17 Nov 2009 11:43:43 -0800 Subject: plugin to track full page load performance In-Reply-To: <8ee061010911171138n414ab7f9pe297d4783d98bc33@mail.gmail.com> References: <8ee061010911171138n414ab7f9pe297d4783d98bc33@mail.gmail.com> Message-ID: <4B02FCEF.3090408@hp.com> Terry wrote: > Hello, > > I am looking to avoid reinventing a wheel here. I am looking for a > plugin that will do a full page load (including images). Check_http > doesn't do images from what I am seeing. It should be easy enough to > do this with wget but does anyone have any other ideas? > http://www.webinject.org/plugin.html ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Tue Nov 17 20:54:55 2009 From: mitsuto at gmail.com (Marcel) Date: Tue, 17 Nov 2009 17:54:55 -0200 Subject: Custom Macros in Service Definitions? In-Reply-To: <0B749C2B-502B-4490-8F40-FD874DEEC324@ena.com> References: <2dfcbd1b0911170845m766df1ebj50aab320309ac543@mail.gmail.com> <0B749C2B-502B-4490-8F40-FD874DEEC324@ena.com> Message-ID: <2dfcbd1b0911171154i74fff37dhe27137af8d5cdd2a@mail.gmail.com> Greetings Marc, Well, I've wrapped the command in question with /bin/echo { command_line def. } >> /tmp/check_http_jmx.log to see what Nagios is issuing. The -I flag of the check_http command was being issued with just a dollar sign ($) as it's parameter. So i think it's a matter of macro double spanning, because there is a custom macro ($_HOSTIP_PRIVATE_VIP_1$) being passed to be spanned by $ARG1$ at the command_line definition. I do not know If I ever saw or used a configuration like this. I don't think is a problem of quoting, because Nagios should replace $_HOSTIP_PRIVATE_VIP_1$ by it's custom host value say, 10.0.0.1, and then pass this value to be replaced at $ARG1$ standard command macro, but all I see is a dolar sign being issued by nagios as a parameter of -I. Then my second question in my next email about double macro spanning. Do you think it could be a configuration problem? Best regards, Marcel On Tue, Nov 17, 2009 at 4:39 PM, Marc Powell wrote: > > On Nov 17, 2009, at 10:45 AM, Marcel wrote: > > > Now I want to refer to this $_HOSTip_provate_VIP_1$ macro in services > definitions, but nagios is complaining about not finding the service. > > What is the exact error that you are seeing? I can't see how a problem with > that macro substitution would generate any error about 'not finding the > service'. > > > The documentation isn't clear whether or not custom macros could be used > in service definitions. > > > > I've a command like this: > > > > define command{ > > command_name check_http_str_return_args > > command_line $USER1$/check_http -I $ARG1$ $ARG2$ > > } > > > > And the service definition: > > > > define service{ > > use generic-service > > (...) > > check_command check_http_str_return_args!$_HOSTip_private_VIP_1$!-u / > -t 10 -w 3 -c 5 -e HTTP/1.1 200 OK > > } > > This is unusual but based on the documentation on how to check service and > host clusters, I expect this should probably work. Looking in the code it > looks like macro substitution happens at the right place too... There is a > problem with the resulting command in that '-e HTTP/1.1 200 OK' will be > translated to '-e' with an argument of 'HTTP/1.1' and then a dangling 200 > and a dangling OK to the entire command. If you want to match more than > HTTP/1.1, enclose the entire 'HTTP/1.1 200 OK' in quotes. > > > My question is: > > > > Is it by design that custom macros should NOT be used in service > definitions? > > I don't recall seeing it stated either way (should/should not). I know that > you can use other macros in this way and don't believe that custom macros > are special. > > -- > Marc > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Tue Nov 17 21:03:34 2009 From: akpgeek at gmail.com (akp geek) Date: Tue, 17 Nov 2009 15:03:34 -0500 Subject: Nagios This host has not yet been checked, so status information is not available In-Reply-To: <476F8B51-D5A0-4E77-BCDF-BC8D60B05468@ena.com> References: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> <476F8B51-D5A0-4E77-BCDF-BC8D60B05468@ena.com> Message-ID: <2024a9fb0911171203yb489d79oa17514069ad0f359@mail.gmail.com> Thanks for the response. Following are the details of my commands.cfg, localhost.cfg and templates.cfg ################################################################################ # # SAMPLE HOST CHECK COMMANDS commands.cfg # ################################################################################ # 'check-host-alive' command definition define command{ command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS:devl_01$ -w 3000.0,80% -c 5000.0,100% -p 5 } define command{ command_name check-solaris-alive command_line $USER1$/check_ping -H $HOSTADDRESS:devl_02$ -w 3000.0,80% -c 5000.0,100% -p 5 } ################################################################################# localhost.cfg define host{ use solaris-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 devl_01 alias devl02 address xx.xxx.xxx.24 } define host{ use solaris-server; inherit default values from a template host_name devl_02; The name we're giving to this server alias devl02 longer name for the server address xx.xxx.xxx.30 IP address of the server } # Define a service to "ping" the local machine define service{ use local-service ; Name of service template to use host_name devl_01 service_description PING check_command check_ping!100.0,20%!500.0,60% } define service{ use local-service ; Name of service template to use host_name devl_02 service_description PING check_command check_ping!100.0,20%!500.0,60% } ######################################################################################## templates.cfg define host{ name solaris-server ; The name of this host template use generic-host ; This template inherits other values from the generic-host template check_period 24x7 ; By default, Linux hosts are checked round the clock check_interval 5 ; Actively check the host every 5 minutes retry_interval 1 ; Schedule host check retries at 1 minute intervals max_check_attempts 10 ; Check each Linux host 10 times (max) check_command check-solaris-alive; Default command to check Linux hosts notification_period workhours ; Linux admins hate to be woken up, so we only notify during the day ; Note that the notification_period variable is being overridden from ; the value that is inherited from the generic-host template! notification_interval 120 ; Resend notifications every 2 hours notification_options d,u,r ; Only send notifications for specific host states contact_groups admins ; Notifications get sent to the admins by default register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! } ============================================================================= Appreciate your help Regards On Tue, Nov 17, 2009 at 10:52 AM, Marc Powell wrote: > > On Nov 17, 2009, at 7:40 AM, akp geek wrote: > >> Hi all - >> >> ? ? ? ? ? ? Can you please help with the issue? > > You problem is to vague at this point; too many possibilities. It would help if you provided real configuration information (host{} definitions, service{} definitions from objects.cache). A pointer to the instructions you used for installation would help give context on the steps you took as well. > > -- > Marc > > > >> ---------- Forwarded message ---------- >> From: akp geek >> Date: Mon, Nov 16, 2009 at 2:27 PM >> Subject: This host has not yet been checked, so status information is >> not available >> To: Nagios-Users Mailinglist >> >> >> Hi All - >> >> ? ? ? ? ? ? ? I have installed Nagios on solaris. I have defined a >> new host in templates.cfg and check_command. >> ? ? ? ? ? ? ? I have also define host ?in localhost.cfg for the new host >> ? ? ? ? ? ? ? I have added the command in commands.cfg and I have >> verified the configuration and did not get any errors. >> >> when I opened the Nagios page. I got the servers and but the status is >> showing as pending instead of UP. I am not able to figure what else I >> need to do ? Can you please help > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.carlson at gmail.com Tue Nov 17 21:08:27 2009 From: jeff.carlson at gmail.com (Jeff Carlson) Date: Tue, 17 Nov 2009 14:08:27 -0600 Subject: CheckWMIvalue and WMI namespace Message-ID: <5fe788f80911171208s1dbbd845ub39429b2fba0a217@mail.gmail.com> Hello, I am wanting to monitor the recieved wireless signal strength of laptops. This value is stored in \\root\WMI\MSNdis_80211_ReceivedSignalStrength. But I cant figure out how to change the namespace in the syntax of checkWMIValue. Can anyone point me in the correct direction? Thanks for your help. Jeff Carlson -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Tue Nov 17 21:36:04 2009 From: akpgeek at gmail.com (akp geek) Date: Tue, 17 Nov 2009 15:36:04 -0500 Subject: Nagios This host has not yet been checked, so status information is not available In-Reply-To: <2024a9fb0911171203yb489d79oa17514069ad0f359@mail.gmail.com> References: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> <476F8B51-D5A0-4E77-BCDF-BC8D60B05468@ena.com> <2024a9fb0911171203yb489d79oa17514069ad0f359@mail.gmail.com> Message-ID: <2024a9fb0911171236s604b7d3r1ae0b723d20fb4e@mail.gmail.com> I just want add the following information also... When I monitor the logs , it saying The check of host 'devl_02' looks like it was orphaned (results never came back). Regards On Tue, Nov 17, 2009 at 3:03 PM, akp geek wrote: > Thanks for the response. Following are the details of my commands.cfg, > localhost.cfg and templates.cfg > > > ################################################################################ > # > # SAMPLE HOST CHECK COMMANDS commands.cfg > # > ################################################################################ > > > # 'check-host-alive' command definition > define command{ > ? ? ? ?command_name ? ?check-host-alive > ? ? ? ?command_line ? ?$USER1$/check_ping -H $HOSTADDRESS:devl_01$ -w > 3000.0,80% -c 5000.0,100% -p 5 > ? ? ? ?} > > define command{ > ? ? ? ?command_name ? ?check-solaris-alive > ? ? ? ?command_line ? ?$USER1$/check_ping -H $HOSTADDRESS:devl_02$ -w > 3000.0,80% -c 5000.0,100% -p 5 > ? ? ? ?} > > > ################################################################################# > > localhost.cfg > > define host{ > ? ? ? ?use ? ? ? ? ? ? ? ? ? ?solaris-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 ? ? ? ? ? ? ? devl_01 > ? ? ? ?alias ? ? ? ? ? ? ? ? ? ?devl02 > ? ? ? ?address ? ? ? ? ? ? ? ? xx.xxx.xxx.24 > ? ? ? ?} > > define host{ > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? solaris-server; ? ? ? ? inherit > default values from a template > ? ? ? ?host_name ? ? ? ? ? ? ? devl_02; ? ? ? ? ? ? ? The name we're > giving to this server > ? ? ? ?alias ? ? ? ? ? ? ? ? ? devl02 longer name for the server > ? ? ? ?address ? ? ? ? ? ? ? xx.xxx.xxx.30 ? ? ? ?IP address of the server > } > > # Define a service to "ping" the local machine > > define service{ > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? local-service ? ? ? ? ; Name > of service template to use > ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? devl_01 > ? ? ? ?service_description ? ? ? ? ? ? PING > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check_ping!100.0,20%!500.0,60% > ? ? ? ?} > > define service{ > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? local-service ? ? ? ? ; Name > of service template to use > ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? devl_02 > ? ? ? ?service_description ? ? ? ? ? ? PING > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check_ping!100.0,20%!500.0,60% > ? ? ? ?} > > > ######################################################################################## > > templates.cfg > > define host{ > ? ? ? ?name ? ? ? ? ? ? ? ? ? ? ? ? ? ?solaris-server ?; The name of > this host template > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? generic-host ? ?; This > template inherits other values from the generic-host template > ? ? ? ?check_period ? ? ? ? ? ? ? ? ? ?24x7 ? ? ? ? ? ?; By default, > Linux hosts are checked round the clock > ? ? ? ?check_interval ? ? ? ? ? ? ? ? ?5 ? ? ? ? ? ? ? ; Actively > check the host every 5 minutes > ? ? ? ?retry_interval ? ? ? ? ? ? ? ? ?1 ? ? ? ? ? ? ? ; Schedule > host check retries at 1 minute intervals > ? ? ? ?max_check_attempts ? ? ? ? ? ? ?10 ? ? ? ? ? ? ?; Check each > Linux host 10 times (max) > ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check-solaris-alive; Default > command to check Linux hosts > ? ? ? ?notification_period ? ? ? ? ? ? workhours ? ? ? ; Linux admins > hate to be woken up, so we only notify during the day > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?; Note that > the notification_period variable is being overridden from > ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?; the value > that is inherited from the generic-host template! > ? ? ? ?notification_interval ? ? ? ? ? 120 ? ? ? ? ? ? ; Resend > notifications every 2 hours > ? ? ? ?notification_options ? ? ? ? ? ?d,u,r ? ? ? ? ? ; Only send > notifications for specific host states > ? ? ? ?contact_groups ? ? ? ? ? ? ? ? ?admins ? ? ? ? ?; > Notifications get sent to the admins by default > ? ? ? ?register ? ? ? ? ? ? ? ? ? ? ? ?0 ? ? ? ? ? ? ? ; DONT > REGISTER THIS DEFINITION - ITS NOT A REAL HOST, JUST A TEMPLATE! > ? ? ? ?} > ============================================================================= > > Appreciate your help > > Regards > On Tue, Nov 17, 2009 at 10:52 AM, Marc Powell wrote: >> >> On Nov 17, 2009, at 7:40 AM, akp geek wrote: >> >>> Hi all - >>> >>> ? ? ? ? ? ? Can you please help with the issue? >> >> You problem is to vague at this point; too many possibilities. It would help if you provided real configuration information (host{} definitions, service{} definitions from objects.cache). A pointer to the instructions you used for installation would help give context on the steps you took as well. >> >> -- >> Marc >> >> >> >>> ---------- Forwarded message ---------- >>> From: akp geek >>> Date: Mon, Nov 16, 2009 at 2:27 PM >>> Subject: This host has not yet been checked, so status information is >>> not available >>> To: Nagios-Users Mailinglist >>> >>> >>> Hi All - >>> >>> ? ? ? ? ? ? ? I have installed Nagios on solaris. I have defined a >>> new host in templates.cfg and check_command. >>> ? ? ? ? ? ? ? I have also define host ?in localhost.cfg for the new host >>> ? ? ? ? ? ? ? I have added the command in commands.cfg and I have >>> verified the configuration and did not get any errors. >>> >>> when I opened the Nagios page. I got the servers and but the status is >>> showing as pending instead of UP. I am not able to figure what else I >>> need to do ? Can you please help >> >> >> ------------------------------------------------------------------------------ >> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day >> trial. Simplify your report design, integration and deployment - and focus on >> what you do best, core application coding. Discover what's new with >> Crystal Reports now. ?http://p.sf.net/sfu/bobj-july >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eemerson at safecore.com Tue Nov 17 20:33:00 2009 From: eemerson at safecore.com (Eric Emerson) Date: Tue, 17 Nov 2009 14:33:00 -0500 Subject: Custom Object Variables Message-ID: Nagios Version 3.1.2 running on FC11 //I am trying to set up some custom Object Variables based on the following docs but I must be misunderstanding something: //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- http://nagios.sourceforge.net/docs/3_0/customobjectvars.html http://nagios.sourceforge.net/docs/3_0/macros.html //The following definitions return an UNKNOWN status with the following entry in the nagios.log: //--------------------------------------------------------------------------------------------------------------------------------------- [1258485573] SERVICE ALERT: someSpecificHostName;SSH;UNKNOWN;SOFT;1;check_ssh: Port number must be a positive integer - $ If I change the check_command to read check_ssh!-p 22 it works perfect. Can someone please point me in a direction, thanks. define host{ use someStandardHostTemplate host_name someSpecificHostName alias someSpecificHostAlias address 11.22.33.44 _sshPort 22 #the port number for ssh connections specific to this host } define service{ use someStandardServiceTemplate host_name someSpecificHostName service_description SSH check_command check_ssh!-p $_HOSTsshPort$ } define command{ command_name check_ssh command_line $USER1$/check_ssh $ARG1$ $HOSTADDRESS$ } -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Tue Nov 17 22:14:21 2009 From: mitsuto at gmail.com (Marcel) Date: Tue, 17 Nov 2009 19:14:21 -0200 Subject: Custom Object Variables In-Reply-To: References: Message-ID: <2dfcbd1b0911171314s579c5903s6cd8bb1d2474099f@mail.gmail.com> Hi there, On Tue, Nov 17, 2009 at 5:33 PM, Eric Emerson wrote: > //I am trying to set up some custom Object Variables based on the following > docs but I must be misunderstanding something: > define service{ > use someStandardServiceTemplate > host_name someSpecificHostName > service_description SSH > check_command check_ssh!-p $_HOSTsshPort$ > } > Capitalize the varname: $_HOSTSSHPORT$ Instead of the documentation saying that it is case insensitive, it only works on TOUPPER variable name representation. Cheers! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 22:25:34 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Nov 2009 15:25:34 -0600 Subject: Custom Object Variables In-Reply-To: <2dfcbd1b0911171314s579c5903s6cd8bb1d2474099f@mail.gmail.com> References: <2dfcbd1b0911171314s579c5903s6cd8bb1d2474099f@mail.gmail.com> Message-ID: <330DE4BE-0C1C-4134-8F90-553233649CD1@ena.com> On Nov 17, 2009, at 3:14 PM, Marcel wrote: > Capitalize the varname: $_HOSTSSHPORT$ > > Instead of the documentation saying that it is case insensitive, it only works on TOUPPER variable name representation. Did this come from your _ip_private_VIP_1 troubleshooting? That was it? -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 17 22:33:26 2009 From: marc at ena.com (Marc Powell) Date: Tue, 17 Nov 2009 15:33:26 -0600 Subject: Nagios This host has not yet been checked, so status information is not available In-Reply-To: <2024a9fb0911171203yb489d79oa17514069ad0f359@mail.gmail.com> References: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> <476F8B51-D5A0-4E77-BCDF-BC8D60B05468@ena.com> <2024a9fb0911171203yb489d79oa17514069ad0f359@mail.gmail.com> Message-ID: <040F9A07-7BB7-4CA1-94F3-42213CEC3DBC@ena.com> On Nov 17, 2009, at 2:03 PM, akp geek wrote: > Thanks for the response. Following are the details of my commands.cfg, > localhost.cfg and templates.cfg > > > ################################################################################ > # > # SAMPLE HOST CHECK COMMANDS commands.cfg > # > ################################################################################ > > > # 'check-host-alive' command definition > define command{ > command_name check-host-alive > command_line $USER1$/check_ping -H $HOSTADDRESS:devl_01$ -w 3000.0,80% -c 5000.0,100% -p 5 > } This command doesn't appear to be used (not in what you've posted, at least). > define command{ > command_name check-solaris-alive > command_line $USER1$/check_ping -H $HOSTADDRESS:devl_02$ -w 3000.0,80% -c 5000.0,100% -p 5 > } $HOSTADDRESS:devl_01$ and $HOSTADDRESS:devl_02$ aren't needed here or above. Use $HOSTADDRESS$ only in both command_lines. This will substitute the value for the 'address' parameter in the host{} definition for the host currently being checked. This may be your issue. > define service{ > use local-service ; Name > of service template to use > host_name devl_01 > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } > > define service{ > use local-service ; Name > of service template to use > host_name devl_02 > service_description PING > check_command check_ping!100.0,20%!500.0,60% > } These are redundant. If you're doing active ping checks of the host, it doesn't make sense to add another ping check as a service. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eemerson at safecore.com Tue Nov 17 22:56:33 2009 From: eemerson at safecore.com (Eric Emerson) Date: Tue, 17 Nov 2009 16:56:33 -0500 Subject: Custom Object Variables In-Reply-To: <330DE4BE-0C1C-4134-8F90-553233649CD1@ena.com> References: <2dfcbd1b0911171314s579c5903s6cd8bb1d2474099f@mail.gmail.com> <330DE4BE-0C1C-4134-8F90-553233649CD1@ena.com> Message-ID: Works great thank you On Tue, Nov 17, 2009 at 4:25 PM, Marc Powell wrote: > > On Nov 17, 2009, at 3:14 PM, Marcel wrote: > > > Capitalize the varname: $_HOSTSSHPORT$ > > > > Instead of the documentation saying that it is case insensitive, it only > works on TOUPPER variable name representation. > > Did this come from your _ip_private_VIP_1 troubleshooting? That was it? > > -- > Marc > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mark.frost1 at pepsi.com Wed Nov 18 01:50:25 2009 From: mark.frost1 at pepsi.com (Frost, Mark {PBG}) Date: Tue, 17 Nov 2009 19:50:25 -0500 Subject: auditing for external commands? Message-ID: We're looking at possibly allowing more individual users into the web interface and allowing them to schedule their own downtime. One concern is that if a team doesn't get an alert they could come to my team (the team that administers Nagios) and say "why didn't Nagios send us an alert when X was down?" when the issue was actually caused because a member of their own team had disabled notifications. I know we can see that an external command was executed in the log file and when, but there's no way of knowing (as far as I can see) who actually requested that that command be run. In my opinion, it could be useful to know that 'bob' requested that notifications be disabled on host X particularly as it pertains to the web interface. Is there a way to do this or would this need to be a feature request? Thanks Mark ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kyleodonnell at gmail.com Wed Nov 18 02:06:55 2009 From: kyleodonnell at gmail.com (Kyle O'Donnell) Date: Tue, 17 Nov 2009 20:06:55 -0500 Subject: auditing for external commands? In-Reply-To: References: Message-ID: <2274b9c30911171706r833de44l5f8089ec2b4e10f8@mail.gmail.com> setup a log file monitor for the apache access_log whenever anyone uses the ext command cgi's the apache log should give you the username and the http post data depending on how you configure apache, On Tue, Nov 17, 2009 at 7:50 PM, Frost, Mark {PBG} wrote: > > We're looking at possibly allowing more individual users into the web > interface and allowing them to schedule their own downtime. One concern is > that if a team doesn't get an alert they could come to my team (the team > that administers Nagios) and say "why didn't Nagios send us an alert when X > was down?" when the issue was actually caused because a member of their own > team had disabled notifications. > > I know we can see that an external command was executed in the log file and > when, but there's no way of knowing (as far as I can see) who actually > requested that that command be run. In my opinion, it could be useful to > know that 'bob' requested that notifications be disabled on host X > particularly as it pertains to the web interface. > > Is there a way to do this or would this need to be a feature request? > > Thanks > > Mark > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Wed Nov 18 08:25:41 2009 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Wed, 18 Nov 2009 08:25:41 +0100 Subject: check_nt MEMUSE Message-ID: <4B03A175.1070504@fhv.at> Hi all, check_nt -v MEMUSE shows me the complete memory (physical memory + page.sys) from the 64bit Windows Clients, which are using NSClient++ 0.3.7.493 2009-10-12. [...] # /usr/local/libexec/nagios/check_nt -p 5666 -v MEMUSE \ -w 80 -c 90 -H <64bitClient> Memory usage: total:7939.16 Mb - used: 4101.70 Mb (52%) - free: 3837.46 Mb (48%) | 'Memory usage'=4101.70Mb;6351.33;7145.25;0.00;7939.16 [...] 32bit Windows clients shows me _only_ the real memory (same NSClient Version). Is it possible to configure check_nt to show me also only the real memory from the 64bit Windows clients? We are using nagios-3.0.6_3 and check_nt v1991 (nagios-plugins 1.4.13) on a FreeBSD 7.2-STABLE Box. thanks in advance Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cosmin.neagu at omnilogic.ro Wed Nov 18 09:31:21 2009 From: cosmin.neagu at omnilogic.ro (Cosmin Neagu) Date: Wed, 18 Nov 2009 10:31:21 +0200 Subject: Sending mails - first post In-Reply-To: References: <4B026E81.70107@omnilogic.ro> Message-ID: <4B03B0D9.5010304@omnilogic.ro> OK, i have put in /etc/aliases: /root: cosmin.neagu at omnilogic.ro, \root/ The email account in Thunderbird has outgoing smtp server: mail2.omnilogic.ro:25 Also Lyle Giese gave me some more tips on how to configure /etc/postfix/main. This is how postfix are configured now: /etc/postfix/main.cfg: //everything else is left unchanged. /myhostname = mail2.omnilogic.ro //mydomain = omnilogic.ro/ /myorigin = $mydomain/ /mydestination = $myhostname, localhost.$mydomain, localhost, $mydomain smtp_sasl_auth_enable = yes smtp_sasl_security_options = smtp_sasl_password_maps = hash:/etc/postfix/sasl_passwd transport_maps = hash:/etc/postfix/transport/ /relayhost =/ /etc/postfix/transport /omnilogic.ro : .omnilogic.ro : * smtp:[mail2.omnilogic.ro]:25/ /etc/postfix/sasl_passwd: /webmail.omnilogic.ro cosmin.neagu at omnilogic.ro:***// / I have attached the 2 configs that i thing is relevant to Nagios host/service configurations. And regarding your last advice, i have no clue on how to configure my email client to check the email account on the nagios machine...don't i need a mail server on nagios machine for that? So...can anyone tell me what is missing, or point me to some step-by-step documentation? *************************************************************************** Just before pressing SEND, Lyle gave me some more hints, and now it working, i can receive mails. These line needed to be added in /etc/postfix/transport: mail2.omnilogic.ro : .mail2.omnilogic.ro : * smtp:[mail2.omnilogic.ro]:25 Thank allot Lyle Michael Saldivar wrote: > On Tue, Nov 17, 2009 at 2:36 AM, Cosmin Neagu > > wrote: > > Hello everybody, > From what i see from commands.cfg, by default it tries to send email > with: /usr/bin/mail -s. > But the email ends up in a local folder /var/mail/cosmin. > Can anyone help me with some documentation or some advice on how can i > make nagios send emails? > Thanks. > > > Looks like it is sending mail, and that mail is being delivered > locally. When you configured Nagios to send e-mail, what e-mail > address did you tell it to send to? > > Also, look for a file called /etc/aliases. Open it, and see if there > is a line like: > > root: cosmin > > The name on the left may match the e-mail address you gave nagios, and > the aliases file is re-directing that mail to the local user cosmin. > Replace cosmin with an e-mail address on a different domain. Or > modify Nagios to send to a an e-mail address on a domain different > than the local machine. Or configure the e-mail client on your > computer to check the e-mail account on your Nagios machine. > > -- > Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: contacts.cfg URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: cosmindell.cfg URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 12:11:51 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 18 Nov 2009 06:11:51 -0500 Subject: check_nt MEMUSE In-Reply-To: <4B03A175.1070504@fhv.at> References: <4B03A175.1070504@fhv.at> Message-ID: <4B03D677.6010802@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/11/09 02:25 AM, Richard Gliebe wrote: > Hi all, > > check_nt -v MEMUSE shows me the complete memory (physical memory + > page.sys) from the 64bit Windows Clients, which are using NSClient++ > 0.3.7.493 2009-10-12. > > [...] > # /usr/local/libexec/nagios/check_nt -p 5666 -v MEMUSE \ > -w 80 -c 90 -H <64bitClient> > > Memory usage: total:7939.16 Mb - used: 4101.70 Mb (52%) - free: 3837.46 > Mb (48%) | 'Memory usage'=4101.70Mb;6351.33;7145.25;0.00;7939.16 > [...] > > 32bit Windows clients shows me _only_ the real memory (same NSClient > Version). > > Is it possible to configure check_nt to show me also only the real > memory from the 64bit Windows clients? I'm not sure about using check_nt; I beliebe the recommended bethog for NSClient++ is using check_nrpe (you will have to make sure the NEPE listener module is enabled and properly configured) Here are example of memory checks you can do with check_nrpe: Physical memory: CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=physical Page file: CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=virtual All memort (RAM+SWAP): CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=paged You can set them as aliases ($ARGx$ are nrpe arguments) or even call CheckMem as the NRPE command and the rest of the line are the nrpe arguments (-a). - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLA9Z36dZ+Kt5BchYRAj8CAJwLN3mP8TaRlKITx6BKcFwZJUCQzACgstfp MUjwhDVooXxc2X2ogn+L9p4= =0ild -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 12:46:36 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 18 Nov 2009 06:46:36 -0500 Subject: pnp4nagios, check_snmp, and the `-m' flag In-Reply-To: <1258479305.17766.9.camel@localhost> References: <1258402633.9523.49.camel@localhost> <4B01DD19.3070106@aei.ca> <1258479305.17766.9.camel@localhost> Message-ID: <4B03DE9C.3070007@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 17/11/09 12:35 PM, David Krider wrote: > On Mon, 2009-11-16 at 18:15 -0500, Thomas Guyot-Sionnest wrote: >> The problem is that check_snmp parses the output from snmpget and it >> appears that when you load the MIB it detects the result as a string (if >> you post the full debug output (-vvv switch) I will be able to confirm). > > Just because you asked. I'm not all that worried about it. The MIB is > obviously reporting an INTEGER value, but getting the units back is > confusing the issue. > > > temporary ~ # /usr/lib/nagios/plugins/check_snmp -vvv -H 10.1.25.11 -m > EATON-PWR-MTR-MIB -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 > /usr/bin/snmpget -t 1 -r 5 -m EATON-PWR-MTR-MIB -v 1 -c public > 10.1.25.11:161 .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 > EATON-PWR-MTR-MIB::pwrMtrDemandKiloWatts.1 = INTEGER: 26 kilo-watts > > SNMP OK - 26 kilo-watts | You may be able to get the perfdata again by specifying a warning or critical threshold. The code changed lately so if it doesn't work with an older version you may want to try with 1.4.14 (the version I looked at). Note though that check_snmp runs faster without loading any mibs, which is an important tuning for large monitoring systems using this plugin. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLA96c6dZ+Kt5BchYRAm0pAKD/y9sEb3axeFdCRyicAwKnnFvxuQCfUQvm JCbUrxULCAUWraMHDgcfT2A= =zmcL -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Wed Nov 18 14:47:52 2009 From: mitsuto at gmail.com (Marcel) Date: Wed, 18 Nov 2009 11:47:52 -0200 Subject: Custom Object Variables In-Reply-To: <330DE4BE-0C1C-4134-8F90-553233649CD1@ena.com> References: <2dfcbd1b0911171314s579c5903s6cd8bb1d2474099f@mail.gmail.com> <330DE4BE-0C1C-4134-8F90-553233649CD1@ena.com> Message-ID: <2dfcbd1b0911180547g7c0d4fa1t7c337dfc69f66180@mail.gmail.com> YES! On Tue, Nov 17, 2009 at 7:25 PM, Marc Powell wrote: > > On Nov 17, 2009, at 3:14 PM, Marcel wrote: > > > Capitalize the varname: $_HOSTSSHPORT$ > > > > Instead of the documentation saying that it is case insensitive, it only > works on TOUPPER variable name representation. > > Did this come from your _ip_private_VIP_1 troubleshooting? That was it? > > -- > Marc > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samir at eprs.co.in Wed Nov 18 12:57:44 2009 From: samir at eprs.co.in (Samir Pathan) Date: Wed, 18 Nov 2009 17:27:44 +0530 Subject: Nagios vs MMonit - URGENT Message-ID: Hi All, I installed mmonit and configure and was running perfect until I install Nagios on the same server. Now the mmonit is not sending the alert mails. Is anybody installed and running perfectly Nagios and mmonit on the same server? Best regards, Sam. This email and any files transmitted with it are for the sole use of the addressee and may contain confidential and privileged information. If you are not the addressee, please contact the sender by reply e-mail and delete this e-mail and other copies of it from your computer system. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in confidence on this e-mail is strictly prohibited and may be unlawful. Please check for viruses and defects before opening any attachment . Thank You. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at davidkrider.com Wed Nov 18 15:31:28 2009 From: david at davidkrider.com (David Krider) Date: Wed, 18 Nov 2009 09:31:28 -0500 Subject: pnp4nagios, check_snmp, and the `-m' flag In-Reply-To: <4B03DE9C.3070007@aei.ca> References: <1258402633.9523.49.camel@localhost> <4B01DD19.3070106@aei.ca> <1258479305.17766.9.camel@localhost> <4B03DE9C.3070007@aei.ca> Message-ID: <1258554688.13588.6.camel@localhost> On Wed, 2009-11-18 at 06:46 -0500, Thomas Guyot-Sionnest wrote: > You may be able to get the perfdata again by specifying a warning or > critical threshold. The code changed lately so if it doesn't work with > an older version you may want to try with 1.4.14 (the version I looked at). Spot-on, mate. Thanks for the suggestion! I'll revamp all my checks to use warnings, even if they don't really need them. > Note though that check_snmp runs faster without loading any mibs, which > is an important tuning for large monitoring systems using this plugin. Now, this is odd, because it speeds things up TREMENDOUSLY with doing things at the command line with snmpwalk and snmpget. As this is my SNMP management machine, we have thousands of mib files being parsed before those commands are run without specifying. So I checked: temporary ~ # time /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 -w 10:20 -c 20:30 SNMP WARNING - *27* | iso.3.6.1.4.1.534.8.3.1.5.1.1.4.1=27 real 0m0.264s user 0m0.050s sys 0m0.010s temporary ~ # time /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 -m EATON-PWR-MTR-MIB -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 -w 10:20 -c 20:30 SNMP WARNING - *27* | EATON-PWR-MTR-MIB::pwrMtrDemandKiloWatts.1=27 real 0m0.040s user 0m0.030s sys 0m0.010s I did each several times in a row to make sure it wasn't a fluke. At least here, on my version, with my particular setup, specifying the mib file the counter is coming from seems to be an extraordinary speedup. dk ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samir at eprs.co.in Wed Nov 18 12:53:38 2009 From: samir at eprs.co.in (Samir Pathan) Date: Wed, 18 Nov 2009 17:23:38 +0530 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! Message-ID: <85A2BC49650947E5B086E917E384C22D@Sam> Hello All, I am facing below error while "Re-schedule the next check of this service" and commit. "Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! The external command file may be missing, Nagios may not be running, and/or Nagios may not be checking external commands. An error occurred while attempting to commit your command for processing. Return from whence you came" I even don't have the nagios.cmd file. SELinux is disabled. Please suggest ASAP. Best regards, Sam. __________________________________________ This email and any files transmitted with it are for the sole use of the addressee and may contain confidential and privileged information. If you are not the addressee, please contact the sender by reply e-mail and delete this e-mail and other copies of it from your computer system. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in confidence on this e-mail is strictly prohibited and may be unlawful. Please check for viruses and defects before opening any attachment. Thank You. __________ Information from ESET NOD32 Antivirus, version of virus signature database 4613 (20091116) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 16:59:54 2009 From: marc at ena.com (Marc Powell) Date: Wed, 18 Nov 2009 09:59:54 -0600 Subject: Nagios vs MMonit - URGENT In-Reply-To: References: Message-ID: On Nov 18, 2009, at 5:57 AM, Samir Pathan wrote: > Hi All, > > I installed mmonit and configure and was running perfect until I install Nagios on the same server. Now the mmonit is not sending the alert mails. Is anybody installed and running perfectly Nagios and mmonit on the same server? > Best regards, Nagios does not make any modifications to anything related to mail. It depends entirely on you to already have a properly configured and working mail sending system locally. It just uses [/usr]/bin/mail, already installed on most unix-like systems, to send e-mail. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 17:04:17 2009 From: marc at ena.com (Marc Powell) Date: Wed, 18 Nov 2009 10:04:17 -0600 Subject: Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! In-Reply-To: <85A2BC49650947E5B086E917E384C22D@Sam> References: <85A2BC49650947E5B086E917E384C22D@Sam> Message-ID: <17CEF482-5EE5-41E2-9763-AFE5A9780EC9@ena.com> On Nov 18, 2009, at 5:53 AM, Samir Pathan wrote: > Hello All, > > I am facing below error while "Re-schedule the next check of this service" > and commit. > > "Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'! > The external command file may be missing, Nagios may not be running, and/or > Nagios may not be checking external commands. > An error occurred while attempting to commit your command for processing. > Return from whence you came" > > I even don't have the nagios.cmd file. SELinux is disabled. Please suggest > ASAP. Make sure you followed the quickstart guide for your OS, including issuing all the 'make ...' commands. Make sure that external commands are enabled in nagios.cfg. Restart nagios if you had to make any other changes. Note: This is not an URGENT or ASAP kind of support system. If you need that level of support you should consider purchasing nagios support from someone who provides it or hire someone locally who can help you. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 17:13:27 2009 From: marc at ena.com (Marc Powell) Date: Wed, 18 Nov 2009 10:13:27 -0600 Subject: Custom Object Variables In-Reply-To: <2dfcbd1b0911180547g7c0d4fa1t7c337dfc69f66180@mail.gmail.com> References: <2dfcbd1b0911171314s579c5903s6cd8bb1d2474099f@mail.gmail.com> <330DE4BE-0C1C-4134-8F90-553233649CD1@ena.com> <2dfcbd1b0911180547g7c0d4fa1t7c337dfc69f66180@mail.gmail.com> Message-ID: <7024F607-A2E1-44E0-8E5F-1E822FBC0BE8@ena.com> On Nov 18, 2009, at 7:47 AM, Marcel wrote: > YES! > > On Tue, Nov 17, 2009 at 7:25 PM, Marc Powell wrote: > > Instead of the documentation saying that it is case insensitive, it only works on TOUPPER variable name representation. > > Did this come from your _ip_private_VIP_1 troubleshooting? That was it? > Yup. I see it in the code now. xdata/xodtemplate.c ~4840 -- /* convert varname to all uppercase (saves CPU time during macro functions) */ for(x=0;new_customvariablesmember->variable_name[x]!='\x0';x++) new_customvariablesmember->variable_name[x]=toupper(new_customvariablesmember->variable_name[x]); Submitted documentation patch to clarify that. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 18 17:17:30 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Wed, 18 Nov 2009 11:17:30 -0500 Subject: pnp4nagios, check_snmp, and the `-m' flag In-Reply-To: <1258554688.13588.6.camel@localhost> References: <1258402633.9523.49.camel@localhost> <4B01DD19.3070106@aei.ca> <1258479305.17766.9.camel@localhost> <4B03DE9C.3070007@aei.ca> <1258554688.13588.6.camel@localhost> Message-ID: <4B041E1A.9030007@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 18/11/09 09:31 AM, David Krider wrote: > On Wed, 2009-11-18 at 06:46 -0500, Thomas Guyot-Sionnest wrote: >> You may be able to get the perfdata again by specifying a warning or >> critical threshold. The code changed lately so if it doesn't work with >> an older version you may want to try with 1.4.14 (the version I looked at). > > Spot-on, mate. Thanks for the suggestion! I'll revamp all my checks to > use warnings, even if they don't really need them. > >> Note though that check_snmp runs faster without loading any mibs, which >> is an important tuning for large monitoring systems using this plugin. > > Now, this is odd, because it speeds things up TREMENDOUSLY with doing > things at the command line with snmpwalk and snmpget. As this is my SNMP > management machine, we have thousands of mib files being parsed before > those commands are run without specifying. So I checked: > > > temporary ~ # time /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 > -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 -w 10:20 -c 20:30 > SNMP WARNING - *27* | iso.3.6.1.4.1.534.8.3.1.5.1.1.4.1=27 > > real 0m0.264s > user 0m0.050s > sys 0m0.010s > > > temporary ~ # time /usr/lib/nagios/plugins/check_snmp -H 10.1.25.11 -m > EATON-PWR-MTR-MIB -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 -w 10:20 -c 20:30 > SNMP WARNING - *27* | EATON-PWR-MTR-MIB::pwrMtrDemandKiloWatts.1=27 > > real 0m0.040s > user 0m0.030s > sys 0m0.010s > > > I did each several times in a row to make sure it wasn't a fluke. At > least here, on my version, with my particular setup, specifying the mib > file the counter is coming from seems to be an extraordinary speedup. This is very strange. I can understand that loading a single MIB is fast, but check_snmp should force a blank mib list (-m '') when only a numeric OID is broken. some time ago I fixed it when using multiple numerical oids separated with commas, but this behaviour with a single OID should be very old. Can you please show be your version, send the verbose output for the 1st one and try the same with this switch: - -m '' Thanks - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLBB4a6dZ+Kt5BchYRAtNDAJ4nJ28033owi272lEZw7Y/oGj/wdwCfZd9C /Gda53ujJaIZYUF5/ZuGDhg= =5ls9 -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Charles.Breite at altertrading.com Wed Nov 18 17:34:22 2009 From: Charles.Breite at altertrading.com (Charles Breite) Date: Wed, 18 Nov 2009 10:34:22 -0600 Subject: EMC Recovery Point Monitoring Message-ID: <5D490E0402B4D14F836B5C4436D5949ABCED6E@VMEXCHANGE2.alterscrap.com> Does anyone know of a way to monitor and EMC Recover Point device. Are their any plugins for it? It does have SNMP. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From akpgeek at gmail.com Wed Nov 18 18:05:04 2009 From: akpgeek at gmail.com (akp geek) Date: Wed, 18 Nov 2009 12:05:04 -0500 Subject: Nagios This host has not yet been checked, so status information is not available In-Reply-To: <040F9A07-7BB7-4CA1-94F3-42213CEC3DBC@ena.com> References: <2024a9fb0911170540y3404b2c5k6d6497ab98e76472@mail.gmail.com> <476F8B51-D5A0-4E77-BCDF-BC8D60B05468@ena.com> <2024a9fb0911171203yb489d79oa17514069ad0f359@mail.gmail.com> <040F9A07-7BB7-4CA1-94F3-42213CEC3DBC@ena.com> Message-ID: <2024a9fb0911180905x3c6c0909odf2fa8c61e544f68@mail.gmail.com> Thanks for the input and I made the changes. the main problem is , I did not install the plugins. Now I have installed them and with the changes you have mentioned , every thing is fine.. Regards On Tue, Nov 17, 2009 at 4:33 PM, Marc Powell wrote: > > On Nov 17, 2009, at 2:03 PM, akp geek wrote: > >> Thanks for the response. Following are the details of my commands.cfg, >> localhost.cfg and templates.cfg >> >> >> ################################################################################ >> # >> # SAMPLE HOST CHECK COMMANDS commands.cfg >> # >> ################################################################################ >> >> >> # 'check-host-alive' command definition >> define command{ >> ? ? ? ?command_name ? ?check-host-alive >> ? ? ? ?command_line ? ?$USER1$/check_ping -H $HOSTADDRESS:devl_01$ -w 3000.0,80% -c 5000.0,100% -p 5 >> ? ? ? ?} > > This command doesn't appear to be used (not in what you've posted, at least). > >> define command{ >> ? ? ? ?command_name ? ?check-solaris-alive >> ? ? ? ?command_line ? ?$USER1$/check_ping -H $HOSTADDRESS:devl_02$ -w 3000.0,80% -c 5000.0,100% -p 5 >> ? ? ? ?} > > $HOSTADDRESS:devl_01$ and $HOSTADDRESS:devl_02$ aren't needed here or above. Use $HOSTADDRESS$ only in both command_lines. This will substitute the value for the 'address' parameter in the host{} definition for the host currently being checked. This may be your issue. > >> define service{ >> ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? local-service ? ? ? ? ; Name >> of service template to use >> ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? devl_01 >> ? ? ? ?service_description ? ? ? ? ? ? PING >> ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check_ping!100.0,20%!500.0,60% >> ? ? ? ?} >> >> define service{ >> ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? local-service ? ? ? ? ; Name >> of service template to use >> ? ? ? ?host_name ? ? ? ? ? ? ? ? ? ? ? devl_02 >> ? ? ? ?service_description ? ? ? ? ? ? PING >> ? ? ? ?check_command ? ? ? ? ? ? ? ? ? check_ping!100.0,20%!500.0,60% >> ? ? ? ?} > > These are redundant. If you're doing active ping checks of the host, it doesn't make sense to add another ping check as a service. > > -- > Marc > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From david at davidkrider.com Wed Nov 18 19:46:36 2009 From: david at davidkrider.com (David Krider) Date: Wed, 18 Nov 2009 13:46:36 -0500 Subject: pnp4nagios, check_snmp, and the `-m' flag In-Reply-To: <4B041E1A.9030007@aei.ca> References: <1258402633.9523.49.camel@localhost> <4B01DD19.3070106@aei.ca> <1258479305.17766.9.camel@localhost> <4B03DE9C.3070007@aei.ca> <1258554688.13588.6.camel@localhost> <4B041E1A.9030007@aei.ca> Message-ID: <1258569996.13588.26.camel@localhost> On Wed, 2009-11-18 at 11:17 -0500, Thomas Guyot-Sionnest wrote: > This is very strange. I can understand that loading a single MIB is > fast, but check_snmp should force a blank mib list (-m '') when only a > numeric OID is broken. some time ago I fixed it when using multiple > numerical oids separated with commas, but this behaviour with a single > OID should be very old. I'm on Gentoo, and the current version here is 3.0.6. The latest version (3.2.0) is available if I "unmask" it from being labeled as "unstable." I have the plugins at 1.4.13. Again, the latest version is available. > Can you please show be your version, send the verbose output for the 1st > one and try the same with this switch: > - -m '' temporary ~ # /usr/lib/nagios/plugins/check_snmp -V check_snmp v2021 (nagios-plugins 1.4.13) temporary ~ # time /usr/lib/nagios/plugins/check_snmp -v -H 10.1.25.11 -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 -w 10:20 -c 20:30 /usr/bin/snmpget -t 1 -r 5 -m '' -v 1 -c public 10.1.25.11:161 .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 iso.3.6.1.4.1.534.8.3.1.5.1.1.4.1 = INTEGER: 28 SNMP WARNING - *28* | iso.3.6.1.4.1.534.8.3.1.5.1.1.4.1=28 real 0m0.190s user 0m0.080s sys 0m0.010s temporary ~ # time /usr/lib/nagios/plugins/check_snmp -v -H 10.1.25.11 -m '' -o .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 -w 10:20 -c 20:30 /usr/bin/snmpget -t 1 -r 5 -m -v 1 -c public 10.1.25.11:161 .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m -v 1 [authpriv] 10.1.25.11:161 .1.3.6.1.4.1.534.8.3.1.5.1.1.4.1 real 0m0.112s user 0m0.000s sys 0m0.000s Note that the second one breaks. Thanks for being so helpful with this! dk ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From John.Carroll at govdelivery.com Wed Nov 18 23:52:16 2009 From: John.Carroll at govdelivery.com (John Patrick Carroll) Date: Wed, 18 Nov 2009 16:52:16 -0600 Subject: elog.exe Nagios Check Message-ID: <6E66FBDB43DE0F47A921161C395545B4363A7C8BE5@mail1.office.gdi> When I use the elog.exe Nagios check, the --incOp part does not seem to work as I would expect it to. The command I am running is: C:\Program Files\NRPE_NT\plugins\bin>elog --logs Application --include Source:"BlackBerry Controller" --incOp And --include Description:"will not restart" --period 7200 --timeout 30 The results I get are: CRITICAL - Backup Exec(45828:2:3);BlackBerry Controller(0:457:13);BlackBerry Messaging Agent IT-UTIL1 Agent 1(10:311:268);Windows Server Update Services(21:21:1);BlackBerry Dispatcher IT-UTIL1(0:41:38);BlackBerry Router(2:1:5);Application Hang(2:0... I would expect this to find event log messages in the last 5 days that are in the Application log, have a Source of "BlackBerry Controller", and have the text "will not restart" in the Description. But what I seem to get is every message in the last 5 days. Can someone point out the flaw in my thinking or syntax, so I can get this check working? If I run the command with just the Source part, I get back an appropriate number of messages, so all I wanted to do was filter that set a little more to pull out messages with certain text. command: C:\Program Files\NRPE_NT\plugins\bin>elog --logs Application --include "Source":"BlackBerry Controller" --period 7200 --timeout 30 -vv results: 11/13/2009 6:08:19 PM Warning None BlackBerry Controller The description for Event ID '-1342222410' in Source 'BlackBerry Controller' cannot be found. The local computer may not have the necessary registry information or message DLL files to display the message, or you may not have permission to access them. The following information is part of the event:''IT-UTIL1' agent 1: will not restart - reached the maximum of 10 restarts per 24 hours' Done WARNING - BlackBerry Controller(0:457:13); Oddly enough, the Event ID shown in the above message is NOT the Event ID shown in the Event Viewer. That Event ID is 20406. thanks, John John Patrick Carroll | Senior Systems Administrator GovDelivery, Inc. 408 St. Peter St, Ste 600 | St Paul, MN 55102-1147 651.757.4124 or 866.276.5583 ext. 124 Resources Website: www.govdelivery.com Blog: www.reachthepublic.com Twitter: www.twitter.com/govdelivery -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Thu Nov 19 07:12:50 2009 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Thu, 19 Nov 2009 15:12:50 +0900 Subject: About Nagios Avail Report Message-ID: <200911190612.AA01237@S2007337.jp.fujitsu.com> Hello All. I have a question regarding to Nagios availability report. Could someone help me out? I am now using Nagios v3.0.6 on a RHEL 5.1 machined. I was looking at the Undeterimined state area and realized that the Nagios Not Running is 0d 0h 0m 0s , although, the program restart had occured in the day.(please see attach nagios_avai_report_2.PNG) I have generated the report Today which is "11-19-2009 00:00:00 to 11-19-2009 15:07:02" (please see attach nagios_avai_report_1.PNG) Is there a condition that Nagios decides even if there are Normal Program restart? Thank you Yu -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_avai_report.1.PNG Type: image/png Size: 29353 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios_avai_report.2.PNG Type: image/png Size: 30259 bytes Desc: not available URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Thu Nov 19 08:27:06 2009 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Thu, 19 Nov 2009 08:27:06 +0100 Subject: check_nt MEMUSE In-Reply-To: <4B03D677.6010802@aei.ca> References: <4B03A175.1070504@fhv.at> <4B03D677.6010802@aei.ca> Message-ID: <4B04F34A.40908@fhv.at> On 11/18/09 12:11 PM Thomas Guyot-Sionnest wrote: > I'm not sure about using check_nt; I beliebe the recommended bethog for > NSClient++ is using check_nrpe (you will have to make sure the NEPE > listener module is enabled and properly configured) > > Here are example of memory checks you can do with check_nrpe: > > Physical memory: > CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=physical > > Page file: > CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=virtual > > All memort (RAM+SWAP): > CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=paged > > > You can set them as aliases ($ARGx$ are nrpe arguments) or even call > CheckMem as the NRPE command and the rest of the line are the nrpe > arguments (-a). OK, I've tried to use check_nrpe, but I can't connect to the Windows Client # ./check_nrpe -H -p 5666 -c alias_up CHECK_NRPE: Error receiving data from host. When I return to check_nt, I can connect to the Windows Client. # ./check_nt -H -p 5666 -v MEMUSE Memory usage: total:2469.98 Mb - used: 201.26 Mb (8%) - free: 2268.72 Mb (92%) | 'Memory usage'=201.26Mb;0.00;0.00;0.00;2469.98 the Client Logfile shows me: [...] 2009-11-19 07:43:04: error:D:\source\NSCP-stable\include\Socket.h:699: Error: Could not complete SSL handshake : [-1] 1, attempting to resume... [...] Whats going on? ;-) Here is my nsc.ini [...] [modules] ;# NSCLIENT++ MODULES ;# A list with DLLs to load at startup. ; You will need to enable some of these for NSClient++ to work. ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ; * * ; * N O T I C E ! ! ! - Y O U H A V E T O E D I T T H I S * ; * * ; ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! FileLogger.dll CheckSystem.dll CheckDisk.dll ;NSClientListener.dll NRPEListener.dll SysTray.dll CheckEventLog.dll CheckHelpers.dll CheckWMI.dll ; ; Script to check external scripts and/or internal aliases. ;CheckExternalScripts.dll ; ; NSCA Agent if you enable this NSClient++ will talk to NSCA hosts repeatedly (so dont enable unless you want to use NSCA) ;NSCAAgent.dll ; ; LUA script module used to write your own "check deamon". ;LUAScript.dll ; ; RemoteConfiguration IS AN EXTREM EARLY IDEA SO DONT USE FOR PRODUCTION ENVIROMNEMTS! ;RemoteConfiguration.dll ; Check other hosts through NRPE extreme beta and probably a bit dangerous! :) ;NRPEClient.dll ; Extreamly early beta of a task-schedule checker ;CheckTaskSched.dll [Settings] ;# OBFUSCATED PASSWORD ; This is the same as the password option but here you can store the password in an obfuscated manner. ; *NOTICE* obfuscation is *NOT* the same as encryption, someone with access to this file can still figure out the ; password. Its just a bit harder to do it at first glance. ;obfuscated_password=Jw0KAUUdXlAAUwASDAAB ; ;# PASSWORD ; This is the password (-s) that is required to access NSClient remotely. If you leave this blank everyone will be able to access the daemon remotly. ;password=secret-password ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to the all daemons. ; If leave this blank anyone can access the deamon remotly (NSClient still requires a valid password). ; The syntax is host or ip/mask so 192.168.0.0/24 will allow anyone on that subnet access allowed_hosts=10.10.41.68,10.10.8.50 ; ;# USE THIS FILE ; Use the INI file as opposed to the registry if this is 0 and the use_reg in the registry is set to 1 ; the registry will be used instead. use_file=1 ; ; # USE SHARED MEMORY CHANNELS ; This is the "new" way for using the system tray based on an IPC framework on top shared memmory channels and events. ; It is brand new and (probably has bugs) so dont enable this unless for testing! ; If set to 1 shared channels will be created and system tray icons created and such and such... shared_session=1 [log] ;# LOG DEBUG ; Set to 1 if you want debug message printed in the log file (debug messages are always printed to stdout when run with -test) debug=1 ; ;# LOG FILE ; The file to print log statements to file=nsclient_glr.log ; ;# LOG DATE MASK ; The format to for the date/time part of the log entry written to file. date_mask=%Y-%m-%d %H:%M:%S ; ;# LOG ROOT FOLDER ; The root folder to use for logging. ; exe = the folder where the executable is located ; local-app-data = local application data (probably a better choice then the old default) root_folder=exe [NSClient] ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NSClient deamon. ; If you leave this blank the global version will be used instead. allowed_hosts=10.10.41.68,10.10.8.50 ; ;# NSCLIENT PORT NUMBER ; This is the port the NSClientListener.dll will listen to. port=5666 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ;bind_to_address= ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [NRPE] ;# NRPE PORT NUMBER ; This is the port the NRPEListener.dll will listen to. port=5666 ; ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# USE SSL SOCKET ; This option controls if SSL should be used on the socket. use_ssl=1 ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to all avalible IP adresses. ; bind_to_address= ; ;# ALLOWED HOST ADDRESSES ; This is a comma-delimited list of IP address of hosts that are allowed to talk to NRPE deamon. ; If you leave this blank the global version will be used instead. allowed_hosts=10.10.41.68,10.10.8.50 ; ;# SCRIPT DIRECTORY ; All files in this directory will become check commands. ; *WARNING* This is undoubtedly dangerous so use with care! ;script_dir=scripts\ ; ;# SOCKET TIMEOUT ; Timeout when reading packets on incoming sockets. If the data has not arrived withint this time we will bail out. ;socket_timeout=30 [Check System] ;# CPU BUFFER SIZE ; Can be anything ranging from 1s (for 1 second) to 10w for 10 weeks. Notice that a larger buffer will waste memory ; so don't use a larger buffer then you need (ie. the longest check you do +1). ;CPUBufferSize=1h ; ;# CHECK RESOLUTION ; The resolution to check values (currently only CPU). ; The value is entered in 1/10:th of a second and the default is 10 (which means ones every second) ;CheckResolution=10 ; ;# CHECK ALL SERVICES ; Configure how to check services when a CheckAll is performed. ; ...=started means services in that class *has* to be running. ; ...=stopped means services in that class has to be stopped. ; ...=ignored means services in this class will be ignored. ;check_all_services[SERVICE_BOOT_START]=ignored ;check_all_services[SERVICE_SYSTEM_START]=ignored ;check_all_services[SERVICE_AUTO_START]=started ;check_all_services[SERVICE_DEMAND_START]=ignored ;check_all_services[SERVICE_DISABLED]=stopped [External Script] ;# COMMAND TIMEOUT ; This specifies the maximum number of seconds that the NRPE daemon will allow plug-ins to finish executing before killing them off. ;command_timeout=60 ; ;# COMMAND ARGUMENT PROCESSING ; This option determines whether or not the NRPE daemon will allow clients to specify arguments to commands that are executed. ;allow_arguments=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;allow_nasty_meta_chars=0 ; ;# COMMAND ALLOW NASTY META CHARS ; This option determines whether or not the NRPE daemon will allow clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. ;script_dir=c:\my\script\dir [External Scripts] ;check_es_long=scripts\long.bat ;check_es_ok=scripts\ok.bat ;check_es_nok=scripts\nok.bat ;check_vbs_sample=cscript.exe //T:30 //NoLogo scripts\check_vb.vbs ;check_powershell_warn=cmd /c echo scripts\powershell.ps1 | powershell.exe -command - [External Alias] alias_cpu=checkCPU warn=80 crit=90 time=5m time=1m time=30s alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s alias_disk=CheckDriveSize MinWarn=10% MinCrit=5% CheckAll FilterType=FIXED alias_service=checkServiceState CheckAll alias_process=checkProcState $ARG1$=started alias_mem=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=physical alias_up=checkUpTime MinWarn=1d MinWarn=1h alias_file_age=checkFile2 filter=out "file=$ARG1$" filter-written=>1d MaxWarn=1 MaxCrit=1 "syntax=%filename% %write%" alias_file_size=checkFile2 filter=out "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_file_size_in_dir=checkFile2 filter=out pattern=*.txt "file=$ARG1$" filter-size=>$ARG2$ MaxWarn=1 MaxCrit=1 "syntax=%filename% %size%" alias_event_log=CheckEventLog file=application file=system filter=new filter=out MaxWarn=1 MaxCrit=1 filter-generated=>2d filter-severity==success filter-severity==informational truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" alias_event_log2=CheckEventLog file=application file=system filter=new filter=in MaxWarn=1 MaxCrit=1 filter+generated=<2d "filter+eventSource==Service Control Manager" filter+severity==error truncate=1023 unique descriptions "syntax=%severity%: %source%: %message% (%count%)" check_ok=CheckOK Everything is fine! ; [includes] ;# The order when used is "reversed" thus the last included file will be "first" ;# Included files can include other files (be carefull only do basic recursive checking) ; ; myotherfile.ini ; real.ini [NSCA Agent] ;# CHECK INTERVALL (in seconds) ; How often we should run the checks and submit the results. ;interval=5 ; ;# ENCRYPTION METHOD ; This option determines the method by which the send_nsca client will encrypt the packets it sends ; to the nsca daemon. The encryption method you choose will be a balance between security and ; performance, as strong encryption methods consume more processor resources. ; You should evaluate your security needs when choosing an encryption method. ; ; Note: The encryption method you specify here must match the decryption method the nsca daemon uses ; (as specified in the nsca.cfg file)!! ; Values: ; 0 = None (Do NOT use this option) ; 1 = Simple XOR (No security, just obfuscation, but very fast) ; 2 = DES ; 3 = 3DES (Triple DES) ; 4 = CAST-128 ; 6 = xTEA ; 8 = BLOWFISH ; 9 = TWOFISH ; 11 = RC2 ; 14 = RIJNDAEL-128 (AES) ; 20 = SERPENT ;encryption_method=14 ; ;# ENCRYPTION PASSWORD ; This is the password/passphrase that should be used to encrypt the sent packets. ;password= ; ;# BIND TO ADDRESS ; Allows you to bind server to a specific local address. This has to be a dotted ip adress not a hostname. ; Leaving this blank will bind to "one" local interface. ; -- not supported as of now -- ;bind_to_address= ; ;# LOCAL HOST NAME ; The name of this host (if empty "computername" will be used. ;hostname= ; ;# NAGIOS SERVER ADDRESS ; The address to the nagios server to submit results to. ;nsca_host=192.168.0.1 ; ;# NAGIOS SERVER PORT ; The port to the nagios server to submit results to. ;nsca_port=5667 ; ;# CHECK COMMAND LIST ; The checks to run everytime we submit results back to nagios ; Any command(alias/key) starting with a host_ is sent as HOST_COMMAND others are sent as SERVICE_COMMANDS ; where the alias/key is used as service name. ; [NSCA Commands] ;my_cpu_check=checkCPU warn=80 crit=90 time=20m time=10s time=4 ;my_mem_check=checkMem MaxWarn=80% MaxCrit=90% ShowAll type=page ;my_svc_check=checkServiceState CheckAll exclude=wampmysqld exclude=MpfService ;host_check=check_ok ;# REMOTE NRPE PROXY COMMANDS ; A list of commands that check other hosts. ; Used by the NRPECLient module [NRPE Client Handlers] check_other=-H 192.168.0.1 -p 5666 -c remote_command -a arguments ;# LUA SCRIPT SECTION ; A list of all Lua scripts to load. ;[LUA Scripts] ;scripts\test.lua [...] thanks in advance Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arungnair at gmail.com Thu Nov 19 10:13:47 2009 From: arungnair at gmail.com (Arun G Nair) Date: Thu, 19 Nov 2009 14:43:47 +0530 Subject: help: nrpe + event handler Message-ID: <3fa7d6a0911190113m66a3722fh1189c52370db450b@mail.gmail.com> Hi, We use red5 to stream media files on our website. Sometimes the RSS reaches 3.2GB of memory and it stops serving requests. Hence I've to restart the service when ever it reaches the limit. I was doing this manually for sometime and today I decided to make an event handler for this. We use Nagios 2.6 on Debian etch. So on the nagios server I created a service definition define service{ use system-service host_name flash1-server service_description check-red5-process-memory-size event_handler restart_red5 check_command check_nrpe_1arg!check_red5_proc_mem } And the command definition for the event handler: define command{ command_name restart_red5 command_line check_nrpe -H $HOSTADDRESS$ -c restart_red5 -a $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ } Now, on the red5 server I've defined the commands as: #check RSS of red5 command[check_red5_proc_mem]=/usr/lib/nagios/plugins/check_procs -C java -a 'red5' -w 2900000 -c 3100000 --metric=RSS # event handler to restart red5 command[restart_red5]=/usr/local/bin/restart_red5.sh I've added 'nagios' to /etc/sudoers: red5:~# grep 'nagios' /etc/sudoers nagios ALL= NOPASSWD: /etc/init.d/red5 restart Below is the restart_red5.sh script: ------------------- #!/bin/sh # Event handler for nagios # restarts red5 daemon when its memory consumption reaches 3GB # args passed: $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ /usr/bin/logger -t nrpe "$@" case "$1" in OK) ;; WARNING) ;; UNKNOWN) ;; CRITICAL) case "$2" in SOFT) case "$3" in 3) /usr/bin/logger -t nrpe 'Restarting red5 server...' /usr/bin/sudo /etc/init.d/red5 restart /usr/bin/pgrep java && /usr/bin/logger -t nrpe 'Successfully restarted red5 server...' ;; esac ;; HARD) /usr/bin/logger -t nrpe 'Restarting red5 server...' /usr/bin/sudo /etc/init.d/red5 restart /usr/bin/pgrep java && /usr/bin/logger -t nrpe 'Successfully restarted red5 server...' ;; esac ;; esac echo 'Done' exit 0 ------------------- And now about the issue I have. From the nagios log on the server, I can see that the event handler gets invoked. But on the red5 server, nothing happens. As you can see from the script, I log to syslog. Nothing shows up in the log. If I manually issue the check_nrpe command from the nagios server, I just get 'Done' as reply, whatever the values I pass as argument. nagios:~# /usr/lib/nagios/plugins/check_nrpe -H red5_server -c restart_red5 -a CRITICAL HARD 3 Done logger doesn't print the arguments passed to the syslog as instructed in the script. If I print $# (the number of args), its always 0. My guess is that the arguments $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ are not getting passed to the script. I have tried passing the arguments in the service definition itself define service{ use system-service host_name flash1-server service_description check-red5-process-memory-size event_handler restart_red5!$SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ check_command check_nrpe_1arg!check_red5_proc_mem } define command{ command_name restart_red5 command_line check_nrpe -H $HOSTADDRESS$ -c restart_red5 -a $ARG1$ } It didn't have any effect as well. What am I doing wrong here ? Am sure its something simple, but I can't seem to get to it. Please help. TIA -Arun -- ...Keep Smiling... ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From arungnair at gmail.com Thu Nov 19 11:28:02 2009 From: arungnair at gmail.com (Arun G Nair) Date: Thu, 19 Nov 2009 15:58:02 +0530 Subject: help: nrpe + event handler In-Reply-To: <3fa7d6a0911190113m66a3722fh1189c52370db450b@mail.gmail.com> References: <3fa7d6a0911190113m66a3722fh1189c52370db450b@mail.gmail.com> Message-ID: <3fa7d6a0911190228g1d98e334n89af52d8b8eb8c50@mail.gmail.com> On Thu, Nov 19, 2009 at 2:43 PM, Arun G Nair wrote: > Hi, > > ?We use red5 to stream media files on our website. Sometimes the RSS > reaches 3.2GB of memory and it stops serving requests. Hence I've to > restart the service when ever it reaches the limit. I was doing this > manually for sometime and today I decided to make an event handler for > this. We use Nagios 2.6 on Debian etch. So on the nagios server I > created a service definition > > define service{ > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? system-service > ? ? ? ?host_name ? ? ? ? ? ? ? ? flash1-server > ? ? ? ?service_description ? check-red5-process-memory-size > ? ? ? ?event_handler ? ? ? ? ? ?restart_red5 > ? ? ? ?check_command ? ? ? ? check_nrpe_1arg!check_red5_proc_mem > ? ? ? ?} > > And the command definition for the event handler: > > define command{ > ? ? ? ?command_name ? restart_red5 > ? ? ? ?command_line ? ? ? check_nrpe -H $HOSTADDRESS$ -c restart_red5 > -a $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ > } > > > Now, on the red5 server I've defined the commands as: > > #check RSS of red5 > command[check_red5_proc_mem]=/usr/lib/nagios/plugins/check_procs -C > java -a 'red5' -w 2900000 -c 3100000 --metric=RSS > # event handler to restart red5 > command[restart_red5]=/usr/local/bin/restart_red5.sh > > > I've added 'nagios' to /etc/sudoers: > red5:~# grep 'nagios' /etc/sudoers > nagios ?ALL= NOPASSWD: /etc/init.d/red5 restart > > > Below is the restart_red5.sh script: > ------------------- > #!/bin/sh > > # Event handler for nagios > # restarts red5 daemon when its memory consumption reaches 3GB > # args passed: $SERVICESTATE$ $SERVICESTATETYPE$ $SERVICEATTEMPT$ > /usr/bin/logger -t nrpe "$@" > case "$1" in > ? ?OK) ;; > ? ?WARNING) ;; > ? ?UNKNOWN) ;; > ? ?CRITICAL) > ? ? ? ?case "$2" in > ? ? ? ? ? ?SOFT) > ? ? ? ? ? ? ? ?case "$3" in > ? ? ? ? ? ? ? ? ? ?3) > ? ? ? ? ? ? ? ? ? ? ? ?/usr/bin/logger -t nrpe 'Restarting red5 server...' > ? ? ? ? ? ? ? ? ? ? ? ?/usr/bin/sudo /etc/init.d/red5 restart > ? ? ? ? ? ? ? ? ? ? ? ?/usr/bin/pgrep java && /usr/bin/logger -t nrpe > 'Successfully restarted red5 server...' > ? ? ? ? ? ? ? ? ? ? ? ?;; > ? ? ? ? ? ? ? ?esac > ? ? ? ? ? ? ? ?;; > ? ? ? ? ? ?HARD) > ? ? ? ? ? ? ? ?/usr/bin/logger -t nrpe 'Restarting red5 server...' > ? ? ? ? ? ? ? ?/usr/bin/sudo /etc/init.d/red5 restart > ? ? ? ? ? ? ? ?/usr/bin/pgrep java && /usr/bin/logger -t nrpe > 'Successfully restarted red5 server...' > ? ? ? ? ? ? ? ?;; > ? ? ? ?esac > ? ? ? ?;; > esac > > echo 'Done' > exit 0 > ------------------- > > And now about the issue I have. From the nagios log on the server, I > can see that the event handler gets invoked. But on the red5 server, > nothing happens. As you can see from the script, I log to syslog. > Nothing shows up in the log. ?If I manually issue the check_nrpe > command from the nagios server, I just get 'Done' as reply, whatever > the values I pass as argument. > > nagios:~# /usr/lib/nagios/plugins/check_nrpe -H red5_server -c > restart_red5 -a CRITICAL HARD 3 > Done > > > logger doesn't print the arguments passed to the syslog as instructed > in the script. If I print $# (the number of args), its always 0. My > guess is that the arguments $SERVICESTATE$ $SERVICESTATETYPE$ > $SERVICEATTEMPT$ are not getting passed to the script. I have tried > passing the arguments in the service definition itself > > define service{ > ? ? ? ?use ? ? ? ? ? ? ? ? ? ? ? ? ? ? system-service > ? ? ? ?host_name ? ? ? ? ? ? ? ? flash1-server > ? ? ? ?service_description ? check-red5-process-memory-size > ? ? ? ?event_handler ? ? ? ? ? ?restart_red5!$SERVICESTATE$ > $SERVICESTATETYPE$ $SERVICEATTEMPT$ > ? ? ? ?check_command ? ? ? ? check_nrpe_1arg!check_red5_proc_mem > ? ? ? ?} > > > define command{ > ? ? ? ?command_name ? restart_red5 > ? ? ? ?command_line ? ? ? check_nrpe -H $HOSTADDRESS$ -c restart_red5 -a $ARG1$ > } > > It didn't have any effect as well. > > > What am I doing wrong here ? Am sure its something simple, but I can't > seem to get to it. Please help. > > TIA > -Arun > -- > ...Keep Smiling... > Nevermind the issue. It was something simpel as I guessed. I forgot to pass $ARGn$ on red5_restart command definition on red5 server. command[restart_red5]=/usr/local/bin/restart_red5.sh $ARG1$ $ARG2$ $ARG3$ No more manual restarts! :D -Arun -- ...Keep Smiling... ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.omahony at curamsoftware.com Thu Nov 19 11:58:09 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Thu, 19 Nov 2009 10:58:09 +0000 Subject: Multiple Users for Web Interface Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF30142B71AF58E@MAIL06.curamsoftware.com> Ive read http://nagios.sourceforge.net/docs/3_0/cgiauth.html I can log in, but I have no hosts showing in the hostgroup overview. Instead I get this: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I want specific users to only have certain machines visible, but I cannot find the variable to add to the host/hostgroup. Thanks B The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Nov 19 14:04:16 2009 From: mitsuto at gmail.com (Marcel) Date: Thu, 19 Nov 2009 11:04:16 -0200 Subject: Multiple Users for Web Interface In-Reply-To: <86E8DA9E18BC2344BD0218BF23C88DF30142B71AF58E@MAIL06.curamsoftware.com> References: <86E8DA9E18BC2344BD0218BF23C88DF30142B71AF58E@MAIL06.curamsoftware.com> Message-ID: <2dfcbd1b0911190504y6424f145r5650c6294ad62a23@mail.gmail.com> Hi Brian, On Thu, Nov 19, 2009 at 8:58 AM, Brian O'Mahony < brian.omahony at curamsoftware.com> wrote: > I want specific users to only have certain machines visible, but I cannot > find the variable to add to the host/hostgroup. > You should create a contact, assign it to a contactgroup, and then use this contactgroup as a object variable in host/service object definitions. Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dermoth at aei.ca Thu Nov 19 14:37:04 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Thu, 19 Nov 2009 08:37:04 -0500 Subject: check_nt MEMUSE In-Reply-To: <4B0545C3.4010703@fhv.at> References: <4B0545C3.4010703@fhv.at> Message-ID: <4B054A00.5000300@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/11/09 08:18 AM, Richard Gliebe wrote: > On 11/18/09 12:11 PM Thomas Guyot-Sionnest wrote: >> I'm not sure about using check_nt; I beliebe the recommended bethog for >> NSClient++ is using check_nrpe (you will have to make sure the NEPE >> listener module is enabled and properly configured) >> >> Here are example of memory checks you can do with check_nrpe: >> >> Physical memory: >> CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=physical >> >> Page file: >> CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=virtual >> >> All memort (RAM+SWAP): >> CheckMem ShowAll=long MaxWarn=$ARG1$ MaxCrit=$ARG2$ type=paged >> >> >> You can set them as aliases ($ARGx$ are nrpe arguments) or even call >> CheckMem as the NRPE command and the rest of the line are the nrpe >> arguments (-a). > > Hi Thomas, > > OK, I've tried to use check_nrpe, but I can't connect to the Windows Client > > # ./check_nrpe -H -p 5666 -c alias_up > CHECK_NRPE: Error receiving data from host. > > When I return to check_nt, I can connect to the Windows Client. > > # ./check_nt -H -p 5666 -v MEMUSE > Memory usage: total:2469.98 Mb - used: 201.26 Mb (8%) - free: 2268.72 Mb > (92%) | 'Memory usage'=201.26Mb;0.00;0.00;0.00;2469.98 > > the Client Logfile shows me: > > [...] > 2009-11-19 07:43:04: error:D:\source\NSCP-stable\include\Socket.h:699: > Error: Could not complete SSL handshake : [-1] 1, attempting to resume... > [...] > > Whats going on? ;-) This seems to be because your NRPE don't have ssl enabled. Look at the - --help output of check_nrpe, you should see: SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required > Here is my NSC.ini > > [...] > > [NRPE] > ;# NRPE PORT NUMBER > ; This is the port the NRPEListener.dll will listen to. > port=5666 > ; > ;# COMMAND TIMEOUT > ; This specifies the maximum number of seconds that the NRPE daemon > will allow plug-ins to finish executing before killing them off. > ;command_timeout=60 > ; > ;# COMMAND ARGUMENT PROCESSING > ; This option determines whether or not the NRPE daemon will allow > clients to specify arguments to commands that are executed. > ;allow_arguments=0 > ; > ;# COMMAND ALLOW NASTY META CHARS > ; This option determines whether or not the NRPE daemon will allow > clients to specify nasty (as in |`&><'"\[]{}) characters in arguments. > ;allow_nasty_meta_chars=0 > ; > ;# USE SSL SOCKET > ; This option controls if SSL should be used on the socket. > use_ssl=1 Atlernatively turn this to 0 and use the -n switch in check_nrpe (so if you upgrade you won't break your checks by enabling SSL) > ;# BIND TO ADDRESS > ; Allows you to bind server to a specific local address. This has to be > a dotted ip adress not a hostname. > ; Leaving this blank will bind to all avalible IP adresses. > ; bind_to_address= > ; > ;# ALLOWED HOST ADDRESSES > ; This is a comma-delimited list of IP address of hosts that are > allowed to talk to NRPE deamon. > ; If you leave this blank the global version will be used instead. > allowed_hosts= Make sure tis parameter list the IP/network from your monitoring server (be extra careful if your monitoring server has multiple VLANs / servers) - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLBUoA6dZ+Kt5BchYRAjadAJ0YNbVwf4CSQPQyvzSR3hSXAImTcwCeIGQv 1T8PAKGduf7/9zmu9/qiOGY= =O5iw -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rperezm at uci.cu Thu Nov 19 15:31:31 2009 From: rperezm at uci.cu (ReynierPM) Date: Thu, 19 Nov 2009 09:31:31 -0500 Subject: Problems checking external host In-Reply-To: <24B6509E4191AF44B60A24EAA3B4AD492D4556@nuexchg.norwich.edu> References: <4AFA3E25.3030003@uci.cu> <4AFAF49C.1070701@hp.com><4AFC721D.8050108@uci.cu> <4AFCE407.1020503@hp.com> <4B01656A.3020300@uci.cu> <24B6509E4191AF44B60A24EAA3B4AD492D453F@nuexchg.norwich.edu> <4B0169D1.7030201@uci.cu> <24B6509E4191AF44B60A24EAA3B4AD492D4556@nuexchg.norwich.edu> Message-ID: <4B0556C3.2020109@uci.cu> James Pratt wrote: > su - nagios -c "ssh nagios at remotebox.com" (replace your target > hostname here, or use IP) > > let it connect and accept the key, then do the same on the target box > in reverse, so that both sides have the key in ~/.ssh/authorized_keys > files. Ok I run the command and I get this error now: Remote command execution failed: Permission denied, please try again. Why this? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.omahony at curamsoftware.com Thu Nov 19 15:35:11 2009 From: brian.omahony at curamsoftware.com (Brian O'Mahony) Date: Thu, 19 Nov 2009 14:35:11 +0000 Subject: Multiple Users for Web Interface In-Reply-To: <2dfcbd1b0911190504y6424f145r5650c6294ad62a23@mail.gmail.com> References: <86E8DA9E18BC2344BD0218BF23C88DF30142B71AF58E@MAIL06.curamsoftware.com> <2dfcbd1b0911190504y6424f145r5650c6294ad62a23@mail.gmail.com> Message-ID: <86E8DA9E18BC2344BD0218BF23C88DF30142B71AF6FD@MAIL06.curamsoftware.com> Thanks Marcel My problem was I thought I could add the contact_group as the login, which was the wrong way to go about it. B From: webknowledge at gmail.com [mailto:webknowledge at gmail.com] On Behalf Of Marcel Sent: 19 November 2009 13:04 To: Brian O'Mahony Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Multiple Users for Web Interface Hi Brian, On Thu, Nov 19, 2009 at 8:58 AM, Brian O'Mahony > wrote: I want specific users to only have certain machines visible, but I cannot find the variable to add to the host/hostgroup. You should create a contact, assign it to a contactgroup, and then use this contactgroup as a object variable in host/service object definitions. Cheers, The information in this email is confidential and may be legally privileged. It is intended solely for the addressee. Access to this email by anyone else is unauthorized. If you are not the intended recipient, any disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited and may be unlawful. If you are not the intended addressee please contact the sender and dispose of this e-mail. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From evilensky at gmail.com Thu Nov 19 15:47:48 2009 From: evilensky at gmail.com (Eugene Vilensky) Date: Thu, 19 Nov 2009 08:47:48 -0600 Subject: monitoring IBM system x Message-ID: Hi, I'd like to do some monitoring of a disparate set of IBM system X servers running RHEL 3/4/5. Is there anything available that is as easy to use and as comprehensive as the Dell OpenManage plugins? Regards, Eugene ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Thu Nov 19 15:50:04 2009 From: benny at bennyvision.com (C. Bensend) Date: Thu, 19 Nov 2009 08:50:04 -0600 Subject: Passive service on Windows 2003 box notifies intermittently Message-ID: <39b0c58ce366c818c819271e10a7ce1a.squirrel@webmail.stinkweasel.net> Hey folks, I'm working on ironing out Windows event log alerting for our eleventy billion Windows hosts, and they're slowly but surely driving me insane. I am using Steve Shipway's Nagios EventLog Agent, as I need the end users to be able to add/edit/remove their own alerts as they see fit. However, *I* am having a helluva time getting this all working together. Sorry for the length of this email, I've included a metric buttload of data. I have the following service definition on the Nagios host (from objects.cache): define service { host_name winhost service_description System EventLog check_period 24x7 passive checks check_command check_passive_service!0!No critical system events contact_groups testing-admins notification_period 24x7 passive checks initial_state o check_interval 5.000000 retry_interval 2.000000 max_check_attempts 1 is_volatile 0 parallelize_check 1 active_checks_enabled 0 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 14400 check_freshness 1 notification_options u,w,c,r notifications_enabled 1 notification_interval 360.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 } The check_passive_service command is defined as such: define command { command_name check_passive_service command_line $USER1$/check_dummy $ARG1$ "$ARG2$" } The "24x7 passive checks" timeperiod is defined as such: define timeperiod { timeperiod_name 24x7 passive checks alias 24x7 passive checks - single alert notifies sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 } The testing-admins contact group is defined as such: define contactgroup { contactgroup_name testing-admins alias Bensend testing group members cbensend } On the Windows side, I have a EventLog Agent alert set up like so: Name: User Initiated System Reboot Event Log to Check: System Which Events to Alert: Information, Warning, Error Match String: has initiated the restart of computer HOSTNAME Service Name: System EventLog Service Status: (2) Critical The Agent and NSCA are communicating fine, I get a notification each time I restart the agent. However, the System EventLog alert matches the regexp string above, but does not notify. After resetting all passive services so they are in an OK state, here are the log entries from the Nagios side when I reboot the Windows machine with my explanations and comments (please pardon the crappy line wrapping): Nov 19 08:20:05 hostname nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;winhost;EventLog Agent;1;HEARTBEAT [WARN #1]: Service starting -- OK, that's the Nagios EventLog Agent starting. Nov 19 08:20:06 hostname nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;winhost;System EventLog;2;System [info] [USER32 #1074]: The process Explorer.EXE has initiated the restart of computer WINHOST on behalf of user DOMAIN\me for the following reason: Application: Maintenance (Planned) Reason Code: 0x84040001 Shutdown Type: restart Commen -- That is the passive event coming in from NSCA, so the Agent is working and communicating with NSCA just fine Nov 19 08:20:06 hostname nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;winhost;System EventLog;2;System [info] [USER32 #1074]: The process svchost.exe has initiated the restart of computer WINHOST on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found Reason Code: 0x80070020 Shutdown Type: restart -- Ditto here Nov 19 08:20:12 hostname nagios: PASSIVE SERVICE CHECK: winhost;EventLog Agent;1;HEARTBEAT [WARN #1]: Service starting -- I believe that's Nagios picking up the passive service check data from the named pipe Nov 19 08:20:12 hostname nagios: SERVICE ALERT: winhost;EventLog Agent;WARNING;HARD;1;HEARTBEAT [WARN #1]: Service starting -- Nagios generates a service alert for the agent Nov 19 08:20:12 hostname nagios: SERVICE NOTIFICATION: me;winhost;EventLog Agent;WARNING;notify-service-by-email;HEARTBEAT [WARN #1]: Service starting -- Yay, Nagios notifies me via email because the Nagios EventLog Agent has started up Nov 19 08:20:12 hostname nagios: PASSIVE SERVICE CHECK: winhost;System EventLog;2;System [info] [USER32 #1074]: The process svchost.exe has initiated the restart of computer WINHOST on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found Reason Code: 0x80070020 Shutdown Type: restart -- Nagios picking up the passive service data from the named pipe? Nov 19 08:20:12 hostname nagios: SERVICE ALERT: winhost;System EventLog;CRITICAL;HARD;1;System [info] [USER32 #1074]: The process svchost.exe has initiated the restart of computer WINHOST on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found Reason Code: 0x80070020 Shutdown Type: restart -- OK, Nagios generates a service alert here. Yay. But ... Nov 19 08:20:12 hostname nagios: PASSIVE SERVICE CHECK: winhost;System EventLog;2;System [info] [USER32 #1074]: The process Explorer.EXE has initiated the restart of computer WINHOST on behalf of user DOMAIN\me for the following reason: Application: Maintenance (Planned) Reason Code: 0x84040001 Shutdown Type: restart Commen That's it. No notification. No nothing else, and I didn't skip any log entries other than one of the NSClient++ services getting a connection refused while the host was rebooting. And what makes this worse is that it's not consistent - I get the entries from NSCA every time, but I only get the notifications SOME of the time. Here is one that *did* work: Nov 19 08:39:24 hostname nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;winhost;EventLog Agent;1;HEARTBEAT [WARN #1]: Service starting -- OK, again, the passive EventLog Agent service starts Nov 19 08:39:24 hostname nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;winhost;System EventLog;2;System [info] [USER32 #1074]: The process Explorer.EXE has initiated the restart of computer WINHOST on behalf of user DOMAIN\Me for the following reason: Application: Maintenance (Planned) Reason Code: 0x84040001 Shutdown Type: restart Commen -- The agent kicks in, and sends the desired alert to NSCA Nov 19 08:39:25 hostname nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;winhost;System EventLog;2;System [info] [USER32 #1074]: The process svchost.exe has initiated the restart of computer WINHOST on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found Reason Code: 0x80070020 Shutdown Type: restart -- Nagios notices Nov 19 08:39:32 hostname nagios: PASSIVE SERVICE CHECK: winhost;System EventLog;2;System [info] [USER32 #1074]: The process Explorer.EXE has initiated the restart of computer WINHOST on behalf of user DOMAIN\Me for the following reason: Application: Maintenance (Planned) Reason Code: 0x84040001 Shutdown Type: restart Commen -- Ditto Nov 19 08:39:32 hostname nagios: SERVICE ALERT: winhost;System EventLog;CRITICAL;HARD;1;System [info] [USER32 #1074]: The process Explorer.EXE has initiated the restart of computer WINHOST on behalf of user DOMAIN\Me for the following reason: Application: Maintenance (Planned) Reason Code: 0x84040001 Shutdown Type: restart Commen -- Nagios generates a service alert Nov 19 08:39:32 hostname nagios: SERVICE NOTIFICATION: cbensend;winhost;System EventLog;CRITICAL;notify-service-by-email;System [info] [USER32 #1074]: The process Explorer.EXE has initiated the restart of computer WINHOST on behalf of user DOMAIN\Me for the following reason: Application: Maintenance (Planned) Reason Code: 0x84040001 Shutdown Type: restart Commen -- And this time, it generates a service *NOTIFICATION*. Why this time and not the last? Nov 19 08:39:32 hostname nagios: PASSIVE SERVICE CHECK: winhost;EventLog Agent;1;HEARTBEAT [WARN #1]: Service starting Nov 19 08:39:32 hostname nagios: SERVICE ALERT: winhost;EventLog Agent;WARNING;HARD;1;HEARTBEAT [WARN #1]: Service starting Nov 19 08:39:32 hostname nagios: SERVICE NOTIFICATION: cbensend;winhost;EventLog Agent;WARNING;notify-service-by-email;HEARTBEAT [WARN #1]: Service starting Nov 19 08:39:32 hostname nagios: PASSIVE SERVICE CHECK: winhost;System EventLog;2;System [info] [USER32 #1074]: The process svchost.exe has initiated the restart of computer WINHOST on behalf of user NT AUTHORITY\SYSTEM for the following reason: No title for this reason could be found Reason Code: 0x80070020 Shutdown Type: restart This is the first time I've done anything with passive service checks; am I just not understanding something silly? Or .. ? This is Nagios 3.2.0 running on RHEL 5.4 (built from source), BTW. Thanks folks, Benny -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Thu Nov 19 16:03:08 2009 From: kdawg44 at gmail.com (Kevin Holleran) Date: Thu, 19 Nov 2009 10:03:08 -0500 Subject: Integrating Nagios & Cacti In-Reply-To: <5caea3690911171136u32873b92p6cfedc9f93b6e73b@mail.gmail.com> References: <5caea3690911171136u32873b92p6cfedc9f93b6e73b@mail.gmail.com> Message-ID: <5caea3690911190703n1c775026q85309df168906d66@mail.gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Tue, Nov 17, 2009 at 2:36 PM, Kevin Holleran wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello, > > I installed and setup PNP4Nagios but am not really liking it. I have > used Cacti in the past (on its own) and would like to integrate Nagios > and Cacti. Is there a HOWTO page or anything that can help me > configure Cacti to integrate with Nagios? I do not want to have to > manage two sets of devices or two data areas and it appears that Cacti > and Nagios can integrate. > > Thanks for your help. > > Kevin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) > > iQEcBAEBAgAGBQJLAvtIAAoJELwJyEr2hjSxDxgIAKiovV0yQ9RuyOtO+u7FkQT0 > CcVafR4JcbixAOBBJTm0ryzhF6G5AEccE5Erxg7kqnE9p+JES3VBnu8SLMFFiGR2 > phoigHk8xibMIiWOnSF8fK97Om/yXaBcVSFfhiQWgkLH3m/wqEAFLK4n1CdZCzQf > ejBfzjwgJ3/EmOfPTRFm1J4I7mnrDm2zdsB/DJL5Jzr92LAzhrwptpMx7E1poJVQ > AizvK9uAUXPWMDVpDUME1Vcsx4NAT2QKgx9x87FVxasLcuDYBvAqTxRpHdXrI2t8 > feojO3TR/M5FhBrIJOeC47JAw1D0qf6BMM2s+Hr5VHcmsexojYtHGINZgJCB358= > =DWtQ > -----END PGP SIGNATURE----- > I have downloaded and followed the documentation for the Nagios2Cacti (http://code.google.com/p/nagios2cacti/) but I am having trouble and documentation is severely limited. Has anyone used this? Do I have to setup the devices in Cacti AND Nagios? Thanks for any help. Kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iQEcBAEBAgAGBQJLBV4rAAoJELwJyEr2hjSx4JMH/20AVO7IAC0sHq48JmKzzvD1 j4mbvHu8o6myY18sDaQDZGpiho+r9ZtvjtP788TDzwDEYA84vPYzVgEn5HxkWiYx PgXA1gExAa/GFiO8HR4O8JOvpY2gEIGJ8R/bsZLd5hU7Wu0f2ADtar/Nn0ipHMg9 mI3Ib213oF2XqbRf/vZmshIRP2O3PbrK0uxnTFENhqfCLDvJTD4nIavvrgqDeFsb jpqtWP4kJx98IDafqPgI9DguD8H2tcn4OcAX5fCQphCaS0ajGWcCy2xzCQoCovuK qJ1AIfcMkhhvVNN2culoLIO7jIda9JlsM3jTKkXMhCwwe0qBBj4cOLneP1PjHGQ= =Mt2+ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Thu Nov 19 16:03:48 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Thu, 19 Nov 2009 12:03:48 -0300 Subject: Nagios 3.2 awareness latency? Message-ID: Hi, i'm having a weird issue with nagios 3.2. Sometimes it takes up to an hour to make it aware of a server being up again after maintenance or a hardware issue. Our checks are scheduled to run every 1 minute or 5 minutes at most. Even if you force the check it's not done! We have around 300 hosts and 1800 services and the nagios server resources are fine (near 800MB free RAM and 90% idle CPU). Any ideas? Regards, CI.- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Thu Nov 19 16:48:33 2009 From: pangrazi at gmail.com (Greg Pangrazio) Date: Thu, 19 Nov 2009 09:48:33 -0600 Subject: Integrating Nagios & Cacti In-Reply-To: <5caea3690911190703n1c775026q85309df168906d66@mail.gmail.com> References: <5caea3690911171136u32873b92p6cfedc9f93b6e73b@mail.gmail.com> <5caea3690911190703n1c775026q85309df168906d66@mail.gmail.com> Message-ID: I use it right now. You do set up the devices in both places and "link" the two devices together. If you have any specific questions. Greg Pangrazio pangrazi at gmail.com On Thu, Nov 19, 2009 at 9:03 AM, Kevin Holleran wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Tue, Nov 17, 2009 at 2:36 PM, Kevin Holleran ?wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hello, >> >> I installed and setup PNP4Nagios but am not really liking it. ?I have >> used Cacti in the past (on its own) and would like to integrate Nagios >> and Cacti. ?Is there a HOWTO page or anything that can help me >> configure Cacti to integrate with Nagios? ?I do not want to have to >> manage two sets of devices or two data areas and it appears that Cacti >> and Nagios can integrate. >> >> Thanks for your help. >> >> Kevin >> -----BEGIN PGP SIGNATURE----- >> Version: GnuPG v1.4.9 (MingW32) >> Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) >> >> iQEcBAEBAgAGBQJLAvtIAAoJELwJyEr2hjSxDxgIAKiovV0yQ9RuyOtO+u7FkQT0 >> CcVafR4JcbixAOBBJTm0ryzhF6G5AEccE5Erxg7kqnE9p+JES3VBnu8SLMFFiGR2 >> phoigHk8xibMIiWOnSF8fK97Om/yXaBcVSFfhiQWgkLH3m/wqEAFLK4n1CdZCzQf >> ejBfzjwgJ3/EmOfPTRFm1J4I7mnrDm2zdsB/DJL5Jzr92LAzhrwptpMx7E1poJVQ >> AizvK9uAUXPWMDVpDUME1Vcsx4NAT2QKgx9x87FVxasLcuDYBvAqTxRpHdXrI2t8 >> feojO3TR/M5FhBrIJOeC47JAw1D0qf6BMM2s+Hr5VHcmsexojYtHGINZgJCB358= >> =DWtQ >> -----END PGP SIGNATURE----- >> > > > I have downloaded and followed the documentation for the Nagios2Cacti > (http://code.google.com/p/nagios2cacti/) but I am having trouble and > documentation is severely limited. ?Has anyone used this? ?Do I have > to setup the devices in Cacti AND Nagios? > > Thanks for any help. > > Kevin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) > > iQEcBAEBAgAGBQJLBV4rAAoJELwJyEr2hjSx4JMH/20AVO7IAC0sHq48JmKzzvD1 > j4mbvHu8o6myY18sDaQDZGpiho+r9ZtvjtP788TDzwDEYA84vPYzVgEn5HxkWiYx > PgXA1gExAa/GFiO8HR4O8JOvpY2gEIGJ8R/bsZLd5hU7Wu0f2ADtar/Nn0ipHMg9 > mI3Ib213oF2XqbRf/vZmshIRP2O3PbrK0uxnTFENhqfCLDvJTD4nIavvrgqDeFsb > jpqtWP4kJx98IDafqPgI9DguD8H2tcn4OcAX5fCQphCaS0ajGWcCy2xzCQoCovuK > qJ1AIfcMkhhvVNN2culoLIO7jIda9JlsM3jTKkXMhCwwe0qBBj4cOLneP1PjHGQ= > =Mt2+ > -----END PGP SIGNATURE----- > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. ?http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kdawg44 at gmail.com Thu Nov 19 16:52:03 2009 From: kdawg44 at gmail.com (Kevin Holleran) Date: Thu, 19 Nov 2009 10:52:03 -0500 Subject: Integrating Nagios & Cacti In-Reply-To: References: <5caea3690911171136u32873b92p6cfedc9f93b6e73b@mail.gmail.com> <5caea3690911190703n1c775026q85309df168906d66@mail.gmail.com> Message-ID: <5caea3690911190752g5bd5822ckaf4f60628a89877e@mail.gmail.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Thanks for your help. Is there a config file anywhere in Cacti where I can write something to automate this as opposed to entering the devices twice? Basically, to set up this infrastructure I have about 350 devices to set up.... if I have to do it twice.... Thanks. Kevin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (MingW32) Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) iQEcBAEBAgAGBQJLBWmjAAoJELwJyEr2hjSxVY0IAIgcJp9/2UppG+HoZsTv60US +cbOYyKmznHB/68bj9GSPTlOxMc5YIxBjFCxxhoWc3mXHsKDqZd8hUSRr+0w7YbZ XpVT2KrzFUdZdjq4PWvEaLE/6wgfn9OfowQKL8Ceigh0xzceVkKhlRtWigioOIwL 6laWFk1S+/+9UYsTFhbvAXXljIZ6QbCCwtn/LqrhBO4KTAZDSjwahQZfRrceWImT bXh5CeekQaIoC4d/q1VLmKdZ7j0MDd44Y2e+rJzqE8yjII2tvKGbopBbnSg7YGib bJi+heuVbCqRUFH7CHiPDHHEuywaTaiqlunW+tuaZWrXXQzk1jOQeFArukSNVeU= =1d+/ -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pangrazi at gmail.com Thu Nov 19 17:08:25 2009 From: pangrazi at gmail.com (Greg Pangrazio) Date: Thu, 19 Nov 2009 10:08:25 -0600 Subject: Integrating Nagios & Cacti In-Reply-To: <5caea3690911190752g5bd5822ckaf4f60628a89877e@mail.gmail.com> References: <5caea3690911171136u32873b92p6cfedc9f93b6e73b@mail.gmail.com> <5caea3690911190703n1c775026q85309df168906d66@mail.gmail.com> <5caea3690911190752g5bd5822ckaf4f60628a89877e@mail.gmail.com> Message-ID: I thing you are going to have to configure them twice. the npc plugin only populates its database tables from the nagios output so you can't configure nagios from cacti. As for configuring cacti from nagios, you should be able to create a device template and then apply it to bulk hosts but that will have to be through the sql back end. The entire cacti config is in the cacti database and the actual data is RRD files located usually in the $cacti_install/rra folder. there aren't any "config files" in cacti like there are in nagios. Greg Pangrazio On Thu, Nov 19, 2009 at 9:52 AM, Kevin Holleran wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Thanks for your help. ?Is there a config file anywhere in Cacti where > I can write something to automate this as opposed to entering the > devices twice? ?Basically, to set up this infrastructure I have about > 350 devices to set up.... if I have to do it twice.... > > Thanks. > > Kevin > -----BEGIN PGP SIGNATURE----- > Version: GnuPG v1.4.9 (MingW32) > Comment: Use GnuPG with Firefox : http://getfiregpg.org (Version: 0.7.10) > > iQEcBAEBAgAGBQJLBWmjAAoJELwJyEr2hjSxVY0IAIgcJp9/2UppG+HoZsTv60US > +cbOYyKmznHB/68bj9GSPTlOxMc5YIxBjFCxxhoWc3mXHsKDqZd8hUSRr+0w7YbZ > XpVT2KrzFUdZdjq4PWvEaLE/6wgfn9OfowQKL8Ceigh0xzceVkKhlRtWigioOIwL > 6laWFk1S+/+9UYsTFhbvAXXljIZ6QbCCwtn/LqrhBO4KTAZDSjwahQZfRrceWImT > bXh5CeekQaIoC4d/q1VLmKdZ7j0MDd44Y2e+rJzqE8yjII2tvKGbopBbnSg7YGib > bJi+heuVbCqRUFH7CHiPDHHEuywaTaiqlunW+tuaZWrXXQzk1jOQeFArukSNVeU= > =1d+/ > -----END PGP SIGNATURE----- > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Nov 19 18:48:06 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 19 Nov 2009 12:48:06 -0500 Subject: Check for memory leaks Message-ID: Hi there -- We am running Nagios 3.1.2 and one of the systems that is being monitored is an HP-UX system. There are indications that an application on the monitored system is causing a slow memory leak. Is there a plugin or histogram setting that is available that would help check for memory leaks on the remote system? Thanks. The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Nov 19 19:02:54 2009 From: mitsuto at gmail.com (Marcel) Date: Thu, 19 Nov 2009 16:02:54 -0200 Subject: Check for memory leaks In-Reply-To: References: Message-ID: <2dfcbd1b0911191002q2762308eg2216a65fd1e2393a@mail.gmail.com> Hi Andew, On Thu, Nov 19, 2009 at 3:48 PM, Kaplan, Andrew H. wrote: > There are indications that an application on the monitored system is > causing a slow memory leak. > Is there a plugin or histogram setting that is available that would help > check for memory leaks on > the remote system? Thanks. > Trending is more suitable for graphing solutions that uses RRDs. Nagios is more likely to be used as an exception monitoring tool, though it might be used to generate graphs as well. Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Nov 19 19:11:12 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 19 Nov 2009 13:11:12 -0500 Subject: Check for memory leaks In-Reply-To: <2dfcbd1b0911191002q2762308eg2216a65fd1e2393a@mail.gmail.com> References: <2dfcbd1b0911191002q2762308eg2216a65fd1e2393a@mail.gmail.com> Message-ID: Hi there -- Thanks for your reply. I do have the pnp4-nagios utility installed on the Nagios server. Among the trends that are graphed by it is Current Load. If Current Load is the trend to look at, which of the three data sources associated with it, load1 load5 load15, would be the one affiliated with memory? ________________________________ From: webknowledge at gmail.com [mailto:webknowledge at gmail.com] On Behalf Of Marcel Sent: Thursday, November 19, 2009 1:03 PM To: Kaplan, Andrew H. Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check for memory leaks Hi Andew, On Thu, Nov 19, 2009 at 3:48 PM, Kaplan, Andrew H. wrote: There are indications that an application on the monitored system is causing a slow memory leak. Is there a plugin or histogram setting that is available that would help check for memory leaks on the remote system? Thanks. Trending is more suitable for graphing solutions that uses RRDs. Nagios is more likely to be used as an exception monitoring tool, though it might be used to generate graphs as well. Cheers, The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Thu Nov 19 19:15:05 2009 From: flyinvap at orange.fr (Flyinvap) Date: Thu, 19 Nov 2009 19:15:05 +0100 Subject: Retain last output Message-ID: <20091119191505.3dd04af5@orange.fr> Hi, I would like to use last output and last performance data from a service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros contain this but a said in the doc : " These macros are not valid for the service they are associated with when that service is being checked (i.e. they make no sense, as they haven't been determined yet). " So when the plugin is executed, these macros are empty. How can I retrieve these data. I would like to avoid using temporaries files. Any idea ? -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Nov 19 19:21:40 2009 From: mitsuto at gmail.com (Marcel) Date: Thu, 19 Nov 2009 16:21:40 -0200 Subject: Check for memory leaks In-Reply-To: References: <2dfcbd1b0911191002q2762308eg2216a65fd1e2393a@mail.gmail.com> Message-ID: <2dfcbd1b0911191021x5f94f2e6xb4904674d52dc28d@mail.gmail.com> Hi Andrew, On Thu, Nov 19, 2009 at 4:11 PM, Kaplan, Andrew H. wrote: > I do have the pnp4-nagios utility installed on the Nagios server. > Among the trends that are graphed by it is Current Load. > If Current Load is the trend to look at, which of the three data sources > associated with it, > load1 load5 load15, would be the one affiliated with memory? > Load means the number of processes per processor waiting in the scheduler's RUN QUEUE. The load1 is the average of that number in the last minute, load5 it's the same average within 5 minutes, and load15 the same for the last 15 minutes. It does NOT relates to memory leak detection. On Thu, Nov 19, 2009 at 3:48 PM, Kaplan, Andrew H. wrote: > >> There are indications that an application on the monitored system is >> causing a slow memory leak. >> Is there a plugin or histogram setting that is available that would help >> check for memory leaks on >> the remote system? Thanks. >> > Trending is more suitable for graphing solutions that uses RRDs. > Nagios is more likely to be used as an exception monitoring tool, though it > might be used to generate graphs as well. > Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Nov 19 19:24:12 2009 From: mitsuto at gmail.com (Marcel) Date: Thu, 19 Nov 2009 16:24:12 -0200 Subject: Retain last output In-Reply-To: <20091119191505.3dd04af5@orange.fr> References: <20091119191505.3dd04af5@orange.fr> Message-ID: <2dfcbd1b0911191024l7fc3c191t4a7baabe37d64efc@mail.gmail.com> Hi, On Thu, Nov 19, 2009 at 4:15 PM, Flyinvap wrote: > I would like to use last output and last performance data from a > service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros > contain this but a said in the doc : > > " These macros are not valid for the service they are associated with > when that service is being checked (i.e. they make no sense, as they > haven't been determined yet). " > > So when the plugin is executed, these macros are empty. How can I > retrieve these data. I would like to avoid using temporaries files. > > Any idea ? > You can setup a memcached to hold the last status information for all services, and a perfdata command or whatever wrapper to input data to memcache. Cheers, -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wallis at aps.anl.gov Thu Nov 19 19:29:54 2009 From: wallis at aps.anl.gov (David Wallis) Date: Thu, 19 Nov 2009 12:29:54 -0600 Subject: Check for memory leaks In-Reply-To: References: <2dfcbd1b0911191002q2762308eg2216a65fd1e2393a@mail.gmail.com> Message-ID: <4B058EA2.60401@aps.anl.gov> Kaplan, Andrew H. wrote: > Hi there -- > > Thanks for your reply. I do have the pnp4-nagios utility installed on > the Nagios server. > Among the trends that are graphed by it is Current Load. > > If Current Load is the trend to look at, which of the three data > sources associated with it, > load1 load5 load15, would be the one affiliated with memory? > Load average (current load) is the average number of processes that are ready to run, averaged over 1, 5 and 15 minutes. Load average has nothing to do with memory utilization. There is no way to directly detect a memory leak... especially a slow one. Nagios generally concerns itself with the status of some measured value at the time of the check. You can check the amount of available memory, and report back if the total free memory is less than some threshold, but there is no plugin that checks the status of memory over time. -- David Wallis Information Technology Advanced Photon Source Argonne National Laboratory -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Nov 19 19:32:13 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 19 Nov 2009 13:32:13 -0500 Subject: Check for memory leaks In-Reply-To: <4B058EA2.60401@aps.anl.gov> References: <2dfcbd1b0911191002q2762308eg2216a65fd1e2393a@mail.gmail.com> <4B058EA2.60401@aps.anl.gov> Message-ID: Hi there -- Thanks for the reply. Looks like I'll go with the threshold check. ________________________________ From: David Wallis [mailto:wallis at aps.anl.gov] Sent: Thursday, November 19, 2009 1:30 PM To: Kaplan, Andrew H. Cc: Marcel; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check for memory leaks Kaplan, Andrew H. wrote: Hi there -- Thanks for your reply. I do have the pnp4-nagios utility installed on the Nagios server. Among the trends that are graphed by it is Current Load. If Current Load is the trend to look at, which of the three data sources associated with it, load1 load5 load15, would be the one affiliated with memory? Load average (current load) is the average number of processes that are ready to run, averaged over 1, 5 and 15 minutes. Load average has nothing to do with memory utilization. There is no way to directly detect a memory leak... especially a slow one. Nagios generally concerns itself with the status of some measured value at the time of the check. You can check the amount of available memory, and report back if the total free memory is less than some threshold, but there is no plugin that checks the status of memory over time. -- David Wallis Information Technology Advanced Photon Source Argonne National Laboratory The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Thu Nov 19 19:38:49 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 19 Nov 2009 19:38:49 +0100 Subject: Retain last output In-Reply-To: <20091119191505.3dd04af5@orange.fr> References: <20091119191505.3dd04af5@orange.fr> Message-ID: <4B0590B9.4010903@ederdrom.de> Flyinvap schrieb: > Hi, > > I would like to use last output and last performance data from a > service in a plugin . The $SERVICEOUTPUT$ and $SERVICEPERFDATA$ macros > contain this but a said in the doc : > > " These macros are not valid for the service they are associated with > when that service is being checked (i.e. they make no sense, as they > haven't been determined yet). " > > So when the plugin is executed, these macros are empty. How can I > retrieve these data. I would like to avoid using temporaries files. On-Demand Macros should work in this case. http://nagios.sourceforge.net/docs/3_0/macros.html Joerg ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AHKAPLAN at PARTNERS.ORG Thu Nov 19 20:44:42 2009 From: AHKAPLAN at PARTNERS.ORG (Kaplan, Andrew H.) Date: Thu, 19 Nov 2009 14:44:42 -0500 Subject: Check for memory leaks In-Reply-To: <4B058EA2.60401@aps.anl.gov> References: <2dfcbd1b0911191002q2762308eg2216a65fd1e2393a@mail.gmail.com> <4B058EA2.60401@aps.anl.gov> Message-ID: Hi there -- I am going to use the check_mem.pl script. As far as warning and critical levels for the amount of free space is concerned, I am thinking 50 and 40 percent respectively. ________________________________ From: David Wallis [mailto:wallis at aps.anl.gov] Sent: Thursday, November 19, 2009 1:30 PM To: Kaplan, Andrew H. Cc: Marcel; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check for memory leaks Kaplan, Andrew H. wrote: Hi there -- Thanks for your reply. I do have the pnp4-nagios utility installed on the Nagios server. Among the trends that are graphed by it is Current Load. If Current Load is the trend to look at, which of the three data sources associated with it, load1 load5 load15, would be the one affiliated with memory? Load average (current load) is the average number of processes that are ready to run, averaged over 1, 5 and 15 minutes. Load average has nothing to do with memory utilization. There is no way to directly detect a memory leak... especially a slow one. Nagios generally concerns itself with the status of some measured value at the time of the check. You can check the amount of available memory, and report back if the total free memory is less than some threshold, but there is no plugin that checks the status of memory over time. -- David Wallis Information Technology Advanced Photon Source Argonne National Laboratory The information in this e-mail is intended only for the person to whom it is addressed. If you believe this e-mail was sent to you in error and the e-mail contains patient information, please contact the Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Thu Nov 19 22:10:35 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Thu, 19 Nov 2009 22:10:35 +0100 Subject: Retain last output In-Reply-To: <4B0590B9.4010903@ederdrom.de> References: <20091119191505.3dd04af5@orange.fr> <4B0590B9.4010903@ederdrom.de> Message-ID: <20091119221035.37fb7ce0@orange.fr> Le Thu, 19 Nov 2009 19:38:49 +0100, Joerg Linge a ?crit : > On-Demand Macros should work in this case. $SERVICEOUTPUT$ is empty and $SERVICEOUTPUT:myhost:myservice$ would contain the data ? I'll try. -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Fri Nov 20 07:37:13 2009 From: xml.devel at gmail.com (Kumar, Ashish) Date: Fri, 20 Nov 2009 12:07:13 +0530 Subject: Log file monitoring with NSCA Message-ID: <633e02960911192237s773b0f83vd6a323c9cd42683d@mail.gmail.com> Hello list, We are testing log monitoring with NSCA and Nagios 3.0.6 on RHEL 5. The NSCA is setup properly and functioning. Our script is executing every minute to check for any critical and warning messages in log files and sends them one by one to NSCA server. We executed following test cases: #1 100 messages with same contents but different severity (crit and warn) Result: OK, we get 100 e-mails #2 100 messages with different contents and different severity Result: OK, we get 100 e-mails #3 100 messages with different contents but same severity (crit or warn) Result: FAILED, we receive only 1 e-mail generated by first alert. We have verified this in "View History For This Service" I was just wondering if there is a way to not suppress notifications regardless of message contents and severity? So we get an alert every time NSCA sends something interesting. I appreciate your time. Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Nov 20 07:52:37 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 19 Nov 2009 22:52:37 -0800 Subject: Log file monitoring with NSCA In-Reply-To: <633e02960911192237s773b0f83vd6a323c9cd42683d@mail.gmail.com> References: <633e02960911192237s773b0f83vd6a323c9cd42683d@mail.gmail.com> Message-ID: <4B063CB5.1020505@hp.com> Kumar, Ashish wrote: > Hello list, > > We are testing log monitoring with NSCA and Nagios 3.0.6 on RHEL 5. > The NSCA is setup properly and functioning. Our script is executing > every minute to check for any critical and warning messages in log > files and sends them one by one to NSCA server. [snip] > #3 100 messages with different contents but same severity (crit or warn) > Result: FAILED, we receive only 1 e-mail generated by first alert. We > have verified this in "View History For This Service" > > I was just wondering if there is a way to not suppress notifications > regardless of message contents and severity? So we get an alert every > time NSCA sends something interesting. http://nagios.sourceforge.net/docs/3_0/volatileservices.html ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pitchfork at ederdrom.de Fri Nov 20 07:57:17 2009 From: pitchfork at ederdrom.de (Joerg Linge) Date: Fri, 20 Nov 2009 07:57:17 +0100 Subject: Log file monitoring with NSCA In-Reply-To: <633e02960911192237s773b0f83vd6a323c9cd42683d@mail.gmail.com> References: <633e02960911192237s773b0f83vd6a323c9cd42683d@mail.gmail.com> Message-ID: <4B063DCD.70301@ederdrom.de> Kumar, Ashish schrieb: > Hello list, > > We are testing log monitoring with NSCA and Nagios 3.0.6 on RHEL 5. The > NSCA is setup properly and functioning. Our script is executing every > minute to check for any critical and warning messages in log files and sends > them one by one to NSCA server. > > We executed following test cases: > #1 100 messages with same contents but different severity (crit and warn) > Result: OK, we get 100 e-mails > > #2 100 messages with different contents and different severity > Result: OK, we get 100 e-mails > > #3 100 messages with different contents but same severity (crit or warn) > Result: FAILED, we receive only 1 e-mail generated by first alert. We have > verified this in "View History For This Service" > > I was just wondering if there is a way to not suppress notifications > regardless of message contents and severity? So we get an alert every time > NSCA sends something interesting. 'is_volatile 1' is defined for this kind of services? http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service Joerg ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From xml.devel at gmail.com Fri Nov 20 08:07:44 2009 From: xml.devel at gmail.com (Kumar, Ashish) Date: Fri, 20 Nov 2009 12:37:44 +0530 Subject: Log file monitoring with NSCA In-Reply-To: <4B063DCD.70301@ederdrom.de> References: <633e02960911192237s773b0f83vd6a323c9cd42683d@mail.gmail.com> <4B063DCD.70301@ederdrom.de> Message-ID: <633e02960911192307i1aa85ad1ye7cd2018e98cb107@mail.gmail.com> > > 'is_volatile 1' is defined for this kind of services? > > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#service setting is_volatile to 1 really did the magic. I tested it with test case #3 and the result is OK. I really appreciate your swift and prompt response. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amateo at um.es Fri Nov 20 08:45:02 2009 From: amateo at um.es (Angel L. Mateo) Date: Fri, 20 Nov 2009 08:45:02 +0100 Subject: Integrating Nagios & Cacti In-Reply-To: References: <5caea3690911171136u32873b92p6cfedc9f93b6e73b@mail.gmail.com> <5caea3690911190703n1c775026q85309df168906d66@mail.gmail.com> <5caea3690911190752g5bd5822ckaf4f60628a89877e@mail.gmail.com> Message-ID: <1258703102.28595.18.camel@joshua.atica.um.es> Hello, Maybe I'm too late (I've missed the initial mails)... There is no need to integrate nagios and cacti because you have pnp4nagios that is already integrated with nagios and collects stats. -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n _o) y las Comunicaciones Aplicadas (ATICA) / \\ http://www.um.es/atica _(___V Tfo: 868887590 Fax: 868888337 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gtj at addicks.org Fri Nov 20 10:19:10 2009 From: gtj at addicks.org (Glynne Jones) Date: Fri, 20 Nov 2009 09:19:10 +0000 Subject: Distributed Monitoring & Disabling Checks Message-ID: <20091120091910.GA22696@valley.addicks.org> Hi, I'm in the process of setting up a distributed monitoring system and have hit on an issue where one of my operators wants to disable a check in the web interface but the check is actually being run on the remote distributed system. How can I disable the check on the remote host in this example? Thanks, Glynne ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From benny at bennyvision.com Fri Nov 20 15:07:30 2009 From: benny at bennyvision.com (C. Bensend) Date: Fri, 20 Nov 2009 08:07:30 -0600 Subject: Passive service on Windows 2003 box notifies intermittently In-Reply-To: <39b0c58ce366c818c819271e10a7ce1a.squirrel@webmail.stinkweasel.net> References: <39b0c58ce366c818c819271e10a7ce1a.squirrel@webmail.stinkweasel.net> Message-ID: <935682f84ba04d7f957849aec1dc4b30.squirrel@webmail.stinkweasel.net> > Nov 19 08:20:12 hostname nagios: SERVICE ALERT: winhost;System > EventLog;CRITICAL;HARD;1;System [info] [USER32 #1074]: The process > svchost.exe has initiated the restart of computer WINHOST on behalf of > user NT AUTHORITY\SYSTEM for the following reason: No title for this > reason could be found Reason Code: 0x80070020 Shutdown Type: restart > > -- OK, Nagios generates a service alert here. Yay. But ... > > Nov 19 08:20:12 hostname nagios: PASSIVE SERVICE CHECK: winhost;System > EventLog;2;System [info] [USER32 #1074]: The process Explorer.EXE has > initiated the restart of computer WINHOST on behalf of user DOMAIN\me for > the following reason: Application: Maintenance (Planned) Reason Code: > 0x84040001 Shutdown Type: restart Commen > > > That's it. No notification. No nothing else, and I didn't skip > any log entries other than one of the NSClient++ services getting a > connection refused while the host was rebooting. > > And what makes this worse is that it's not consistent - I get the > entries from NSCA every time, but I only get the notifications SOME > of the time. Here is one that *did* work: And a further data point... Setting 'is_volatile' to 1 in the service does *NOT* cause it to notify either. :/ Help? Benny -- "It's not all about getting up and putting four slices of kickass in a two slice toaster." -- ark86, on Fazed.net ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 20 15:58:23 2009 From: marc at ena.com (Marc Powell) Date: Fri, 20 Nov 2009 08:58:23 -0600 Subject: Passive service on Windows 2003 box notifies intermittently In-Reply-To: <39b0c58ce366c818c819271e10a7ce1a.squirrel@webmail.stinkweasel.net> References: <39b0c58ce366c818c819271e10a7ce1a.squirrel@webmail.stinkweasel.net> Message-ID: <4C29C85B-CF22-46CC-A374-CFA4F297B13A@ena.com> On Nov 19, 2009, at 8:50 AM, C. Bensend wrote: > Nov 19 08:20:12 hostname nagios: SERVICE ALERT: winhost;System > EventLog;CRITICAL;HARD;1;System [info] [USER32 #1074]: The process > svchost.exe has initiated the restart of computer WINHOST on behalf of > user NT AUTHORITY\SYSTEM for the following reason: No title for this > reason could be found Reason Code: 0x80070020 Shutdown Type: restart > > -- OK, Nagios generates a service alert here. Yay. But ... > > Nov 19 08:20:12 hostname nagios: PASSIVE SERVICE CHECK: winhost;System > EventLog;2;System [info] [USER32 #1074]: The process Explorer.EXE has > initiated the restart of computer WINHOST on behalf of user DOMAIN\me for > the following reason: Application: Maintenance (Planned) Reason Code: > 0x84040001 Shutdown Type: restart Commen > > > That's it. No notification. No nothing else, and I didn't skip > any log entries other than one of the NSClient++ services getting a > connection refused while the host was rebooting. The service was already in a HARD non-OK state, no additional notification would be sent. > And what makes this worse is that it's not consistent - I get the > entries from NSCA every time, but I only get the notifications SOME > of the time. Here is one that *did* work: Another possibility is host checks. What is the state of the host when you *do not* receive a notification? You're rebooting it so it's going to be seen as non-OK, depending on the timing of this last passive check. Notifications for services on non-OK hosts are automatically suppressed. > This is the first time I've done anything with passive service > checks; am I just not understanding something silly? Or .. ? They're really not treated much differently than active checks; especially in this regard. A non-OK service check results in a check of the host to make sure it's still up (depending on caching options you have set). If the host is down, notifications for services are suppressed. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Fri Nov 20 17:15:04 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 20 Nov 2009 16:15:04 +0000 Subject: What would you want in a replacement web interface? In-Reply-To: <4B017C60.8040707@lilacnetworks.com> References: <4B017C60.8040707@lilacnetworks.com> Message-ID: <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> 2009/11/16 Taylor Dondich : > #1) What is the most important thing you want to see in a Tactical > Overview replacement? ?What are the most essential components? I think most if not all of it is useful except ... for quite a few of my services I have deliberately disabled flap detection, and for passive checks I have disabled active checks. I would like not to see anything about these in the tactical overview. In fact, it would be useful to have a customisable tactical overview so I can pick/choose which elements I want to see in it. > #2) When looking at a Host or a Service, what are the details you > want/need to see? ?What can you not live without? To be honest, I don't think I can live without any of it. Except I usually modify the URL of the status cgis to include "noheader" as I'm rarely interested in what's in the header. > #3) What is your biggest gripe regarding the existing Nagios web user > interface? In no particular order ... I would like to be able to view host and service status on the same screen, in the same table. I would like optionally to view problems in hard state only. I would like the option to output any report to a .pdf I would like the display to change only subtly when I'm restarting the nagios daemon. Cheers, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Fri Nov 20 17:35:15 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 20 Nov 2009 16:35:15 +0000 Subject: About Nagios Avail Report In-Reply-To: <200911190612.AA01237@S2007337.jp.fujitsu.com> References: <200911190612.AA01237@S2007337.jp.fujitsu.com> Message-ID: <765d77c80911200835n79703533i4a0a19ae68a70a8d@mail.gmail.com> 2009/11/19 Yu Watanabe : > Hello All. > > I have a question regarding to Nagios availability report. > Could someone help me out? > > I am now using Nagios v3.0.6 on a RHEL 5.1 machined. > > I was looking at the Undeterimined state area and realized that the > Nagios Not Running is 0d 0h 0m 0s , although, the program restart had occured in the day.(please see attach nagios_avai_report_2.PNG) > > I have generated the report Today which is "11-19-2009 00:00:00 to 11-19-2009 15:07:02" (please see attach nagios_avai_report_1.PNG) > > Is there a condition that Nagios decides even if there are Normal Program restart? > > Thank you > Yu My guess is this is a bug. I see the same here on v3.2.0. I think it used to work ok in version 2. I couldn't see anything for it in the tracker at http://tracker.nagios.org/view_all_bug_page.php so it might be worth adding it as a bug in there (if that's the thing to do - I can't say I've ever reported a bug myself in the past). Cheers, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Fri Nov 20 18:20:55 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Fri, 20 Nov 2009 17:20:55 +0000 Subject: About Nagios Avail Report In-Reply-To: <200911190612.AA01237@S2007337.jp.fujitsu.com> References: <200911190612.AA01237@S2007337.jp.fujitsu.com> Message-ID: <765d77c80911200920u1acfdea9w3ac8eb7331037f2@mail.gmail.com> 2009/11/19 Yu Watanabe : > Hello All. > > I have a question regarding to Nagios availability report. > Could someone help me out? > > I am now using Nagios v3.0.6 on a RHEL 5.1 machined. > > I was looking at the Undeterimined state area and realized that the > Nagios Not Running is 0d 0h 0m 0s , although, the program restart had occured in the day.(please see attach nagios_avai_report_2.PNG) > > I have generated the report Today which is "11-19-2009 00:00:00 to 11-19-2009 15:07:02" (please see attach nagios_avai_report_1.PNG) > > Is there a condition that Nagios decides even if there are Normal Program restart? > > Thank you > Yu later ... okay it's not a bug at all. When you run the report, you need to specify "Assume States During Program Downtime:" = No. In the URL, you can add "&assumestatesduringnotrunning=no" to set this too. You only normally see all these menu options for the availability report if you run it from the main Nagios menu. If you run it from the little menu in the extinfo.cgi for a service or host, you don't see all these options. I hope that helps. If it doesn't make sense let me know and I'll send you a screen shot or two. Cheers, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From richard.gliebe at fhv.at Sat Nov 21 05:23:48 2009 From: richard.gliebe at fhv.at (Richard Gliebe) Date: Sat, 21 Nov 2009 05:23:48 +0100 Subject: check_nt MEMUSE In-Reply-To: <4B054A00.5000300@aei.ca> References: <4B0545C3.4010703@fhv.at> <4B054A00.5000300@aei.ca> Message-ID: <4B076B54.1090502@fhv.at> On 11/19/09 2:37 PM Thomas Guyot-Sionnest wrote: Hi there, >> the Client Logfile shows me: >> >> [...] >> 2009-11-19 07:43:04: error:D:\source\NSCP-stable\include\Socket.h:699: >> Error: Could not complete SSL handshake : [-1] 1, attempting to resume... >> [...] >> >> Whats going on? ;-) > > This seems to be because your NRPE don't have ssl enabled. Look at the > - --help output of check_nrpe, you should see: > > SSL/TLS Available: Anonymous DH Mode, OpenSSL 0.9.6 or higher required check_nrpe --help isn't show me something like SSL/TLS. We are using NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 1.9 Last Modified: 07-22-2003 License: GPL >> ;# USE SSL SOCKET >> ; This option controls if SSL should be used on the socket. >> use_ssl=1 > > Atlernatively turn this to 0 and use the -n switch in check_nrpe (so if > you upgrade you won't break your checks by enabling SSL) OK, I've set use_ssl to "0" now I'm getting following message: # ./check_nrpe -H -p 5666 -c alias_up CHECK_NRPE: Received 0 bytes. Are we allowed to connect to the host? allowed_hosts entries are 'blank' (only for testing) the logfile from the Windows Client shows me: 2009-11-21 05:11:39: error:modules\NRPEListener\NRPEListener.cpp:358: We got more then we wanted 1036, we only got: 1040 >> ;# BIND TO ADDRESS >> ; Allows you to bind server to a specific local address. This has to be >> a dotted ip adress not a hostname. >> ; Leaving this blank will bind to all avalible IP adresses. >> ; bind_to_address= >> ; >> ;# ALLOWED HOST ADDRESSES >> ; This is a comma-delimited list of IP address of hosts that are >> allowed to talk to NRPE deamon. >> ; If you leave this blank the global version will be used instead. >> allowed_hosts= > > Make sure tis parameter list the IP/network from your monitoring server > (be extra careful if your monitoring server has multiple VLANs / servers) for testing, all allowed_hosts entries in nsc.ini are now blank. This version of check_nrpe is running on our nagios servers: NRPE Plugin for Nagios Copyright (c) 1999-2003 Ethan Galstad (nagios at nagios.org) Version: 1.9 Last Modified: 07-22-2003 License: GPL (I know, its an old version, but at the moment we can't upgrade to the newest version) and NSClient++ 0.3.7.493 2009-10-12 on our Windows Clients (32 and 64 bit). thanks in advance Richard ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Sat Nov 21 09:12:57 2009 From: flyinvap at orange.fr (Flyinvap) Date: Sat, 21 Nov 2009 09:12:57 +0100 Subject: Retain last output In-Reply-To: <20091119221035.37fb7ce0@orange.fr> References: <20091119191505.3dd04af5@orange.fr> <4B0590B9.4010903@ederdrom.de> <20091119221035.37fb7ce0@orange.fr> Message-ID: <20091121091257.4085dfa6@wanadoo.fr> Le Thu, 19 Nov 2009 22:10:35 +0100, Flyinvap a ?crit : > $SERVICEOUTPUT$ is empty and $SERVICEOUTPUT:myhost:myservice$ would > contain the data ? Finally, I was wrong. These 2 macros contain OUTPUT from last check, $SERVICEPERFDATA$ contains last performance data, etc. I define my service like: define service { host_name myhostname use generic-service service_description output_test check_command cmd-test!$SERVICEPERFDATA$ } define command{ command_name cmd-test command_line $USER2$/test_plugin "$ARG1$" } I keep memcached in my mind. -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alibby at xforty.com Sat Nov 21 14:44:04 2009 From: alibby at xforty.com (Andrew Libby) Date: Sat, 21 Nov 2009 08:44:04 -0500 Subject: Distributed Monitoring & Disabling Checks In-Reply-To: <20091120091910.GA22696@valley.addicks.org> References: <20091120091910.GA22696@valley.addicks.org> Message-ID: <4B07EEA4.7070401@xforty.com> >From my knowledge, you'll either need to log in to the server running the remote nagios instance and disable checks in the configuration, or turn notifications off at the instance running the web interface. Depending on your needs, it might seem a decent fit to simply turn off notifications yet allow the monitoring to continue. Andy Glynne Jones wrote: > Hi, > > I'm in the process of setting up a distributed monitoring system and have hit on an issue where one of my operators wants to disable a check in the web interface but the check is actually being run on the remote distributed system. > > How can I disable the check on the remote host in this example? > > Thanks, > > Glynne > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- =============================================== xforty technologies Andrew Libby alibby at xforty.com http://xforty.com =============================================== ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Nov 21 15:51:39 2009 From: grover1711 at gmail.com (ankush grover) Date: Sat, 21 Nov 2009 20:21:39 +0530 Subject: nagios showing warning of system time change Message-ID: <5f638b360911210651w2dc97c52pfa911e183729a57f@mail.gmail.com> Hi friends, I am running Nagios 2.7-1 on Centos 5.0 32-bit. I have installed Nagios through rpm. The issue I am seeing on the server is sometimes nagios is showing the below messages in /var/log/messages and as the system time gets changed some false alarms gets generated. I searched it on the google but I am not able to find the correct solution. Ntp server is already set and servers are listed in ntp.conf file Nov 21 20:37:12 linuxmonitoring nagios: Warning: A system time change of 4398 seconds (forwards in time) has been detected. Compensating... Nov 21 19:23:54 linuxmonitoring nagios: Warning: A system time change of 4398 seconds (backwards in time) has been detected. Compensating.. ntp.conf file restrict default ignore restrict 127.0.0.1 driftfile /var/lib/ntp/drift broadcastdelay 0.008 #authenticate yes keys /etc/ntp/keys restrict 172.16.6.3 nomodify notrap noquery server 172.16.6.3 restrict 172.16.6.2 nomodify notrap noquery server 172.16.6.2 Please see the output of hwclock and date at the same time. hwclock Sat 21 Nov 2009 08:19:02 PM IST -0.496922 seconds date Sat Nov 21 20:19:55 IST 2009 Please advice what I need to do to fix this error. Regards Ankush ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From les at deltatechnicalservices.com Sat Nov 21 22:46:48 2009 From: les at deltatechnicalservices.com (Les Fenison) Date: Sat, 21 Nov 2009 13:46:48 -0800 Subject: How to Schedule regular weekly downtime? Message-ID: <4B085FC8.8050907@deltatechnicalservices.com> I am monitoring a server that runs windows update and reboots every week on Saturday at the same time. Is there any way to schedule this downtime without having to go enter it every week manually? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Sat Nov 21 23:03:52 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sat, 21 Nov 2009 22:03:52 +0000 Subject: How to Schedule regular weekly downtime? In-Reply-To: <4B085FC8.8050907@deltatechnicalservices.com> References: <4B085FC8.8050907@deltatechnicalservices.com> Message-ID: <765d77c80911211403t4c07ace4g8216944158e9087d@mail.gmail.com> 2009/11/21 Les Fenison : > I am monitoring a server that runs windows update and reboots every week > on Saturday at the same time. ?Is there any way to schedule this > downtime without having to go enter it every week manually? You will find a few utilities to try at http://exchange.nagios.org/directory/Addons/Scheduled-Downtime I use the one from Steve Shipway. I like it because it gives you a web interface to add and remove scheduled entries so once it's set up you don't need to mess around editing text files. hth, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From les at deltatechnicalservices.com Sat Nov 21 23:36:01 2009 From: les at deltatechnicalservices.com (Les Fenison) Date: Sat, 21 Nov 2009 14:36:01 -0800 Subject: How to Schedule regular weekly downtime? In-Reply-To: <765d77c80911211403t4c07ace4g8216944158e9087d@mail.gmail.com> References: <4B085FC8.8050907@deltatechnicalservices.com> <765d77c80911211403t4c07ace4g8216944158e9087d@mail.gmail.com> Message-ID: <4B086B51.4010705@deltatechnicalservices.com> Looks like a nice idea but doesn't work on Nagios 3.2 Jim Avery wrote: > 2009/11/21 Les Fenison : > >> I am monitoring a server that runs windows update and reboots every week >> on Saturday at the same time. Is there any way to schedule this >> downtime without having to go enter it every week manually? >> > > You will find a few utilities to try at > http://exchange.nagios.org/directory/Addons/Scheduled-Downtime > > I use the one from Steve Shipway. I like it because it gives you a > web interface to add and remove scheduled entries so once it's set up > you don't need to mess around editing text files. > > hth, > > Jim > -- ------------------------------------------------------------------------ Les Fenison Delta Technical Services www.DeltaTechnicalServices.com les at DeltaTechnicalServices.com 503-766-0076 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jon at netdork.net Sun Nov 22 02:56:31 2009 From: jon at netdork.net (Jonathan Angliss) Date: Sat, 21 Nov 2009 19:56:31 -0600 Subject: nagios showing warning of system time change References: <5f638b360911210651w2dc97c52pfa911e183729a57f@mail.gmail.com> Message-ID: On Sat, 21 Nov 2009 20:21:39 +0530, ankush grover wrote: >Hi friends, > >I am running Nagios 2.7-1 on Centos 5.0 32-bit. I have installed >Nagios through rpm. The issue I am seeing on the server is sometimes >nagios is showing the below messages in /var/log/messages and as the >system time gets changed some false alarms gets generated. I searched >it on the google but I am not able to find the correct solution. > >Ntp server is already set and servers are listed in ntp.conf file > >Nov 21 20:37:12 linuxmonitoring nagios: Warning: A system time change >of 4398 seconds (forwards in time) has been detected. Compensating... >Nov 21 19:23:54 linuxmonitoring nagios: Warning: A system time change >of 4398 seconds (backwards in time) has been detected. Compensating.. Is your server really losing and gaining over an hour in time difference? That's an awful lot of time to be shifting. I'd recommend starting there to find out why your server shifts so much before looking at nagios. -- Jonathan Angliss ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 22 15:50:37 2009 From: marc at ena.com (Marc Powell) Date: Sun, 22 Nov 2009 08:50:37 -0600 Subject: How to Schedule regular weekly downtime? In-Reply-To: <4B086B51.4010705@deltatechnicalservices.com> References: <4B085FC8.8050907@deltatechnicalservices.com> <765d77c80911211403t4c07ace4g8216944158e9087d@mail.gmail.com> <4B086B51.4010705@deltatechnicalservices.com> Message-ID: <1D2C13B9-2138-4108-AAEF-6E83152799B3@ena.com> On Nov 21, 2009, at 4:36 PM, Les Fenison wrote: > Looks like a nice idea but doesn't work on Nagios 3.2 Tested? I don't use it but I don't see why it wouldn't. The things it touches haven't changed between versions. You could also just create a check_period that excludes your reboot window. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alibby at xforty.com Sun Nov 22 16:19:20 2009 From: alibby at xforty.com (Andrew Libby) Date: Sun, 22 Nov 2009 10:19:20 -0500 Subject: How to Schedule regular weekly downtime? In-Reply-To: <1D2C13B9-2138-4108-AAEF-6E83152799B3@ena.com> References: <4B085FC8.8050907@deltatechnicalservices.com> <765d77c80911211403t4c07ace4g8216944158e9087d@mail.gmail.com> <4B086B51.4010705@deltatechnicalservices.com> <1D2C13B9-2138-4108-AAEF-6E83152799B3@ena.com> Message-ID: <4B095678.4010406@xforty.com> When ever I've needed to do this, I use cron and script the SCHEDULE_HOST_DOWNTIME external command. http://old.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=118 Marc Powell wrote: > On Nov 21, 2009, at 4:36 PM, Les Fenison wrote: > >> Looks like a nice idea but doesn't work on Nagios 3.2 > > Tested? I don't use it but I don't see why it wouldn't. The things it touches haven't changed between versions. > > You could also just create a check_period that excludes your reboot window. > > -- > Marc > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- =============================================== xforty technologies Andrew Libby alibby at xforty.com http://xforty.com =============================================== ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Sun Nov 22 17:42:31 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Sun, 22 Nov 2009 16:42:31 +0000 Subject: How to Schedule regular weekly downtime? In-Reply-To: <1D2C13B9-2138-4108-AAEF-6E83152799B3@ena.com> References: <4B085FC8.8050907@deltatechnicalservices.com> <765d77c80911211403t4c07ace4g8216944158e9087d@mail.gmail.com> <4B086B51.4010705@deltatechnicalservices.com> <1D2C13B9-2138-4108-AAEF-6E83152799B3@ena.com> Message-ID: <765d77c80911220842i5fedcbb2ge99057f5edb972c4@mail.gmail.com> 2009/11/22 Marc Powell : > > On Nov 21, 2009, at 4:36 PM, Les Fenison wrote: > >> Looks like a nice idea but doesn't work on Nagios 3.2 > > Tested? I don't use it but I don't see why it wouldn't. The things it touches haven't changed between versions. There was a change between Nagios 2 and 3 which broke it, I can't remember precisely what, but it's not difficult to fix. I'll have a look tomorrow if I get a minute. > You could also just create a check_period that excludes your reboot window. Another option is to set a delay before notification which is longer than the usual time it takes to reboot. That's what I do for most of our WIntel reboots. Cheers, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ssimmons at cymfony.com Mon Nov 23 02:11:53 2009 From: ssimmons at cymfony.com (Seth Simmons) Date: Sun, 22 Nov 2009 20:11:53 -0500 Subject: How to Schedule regular weekly downtime? References: <4B085FC8.8050907@deltatechnicalservices.com> Message-ID: <4881ECF1AB752843908A20CEE07A8EB108EDBA@buf-ex01.cymfony.com> You could use a time exclusion in nagios. In your time periods, make a copy of 24x7 calling it something different and use the exclusion. Then, with your server/services, change the notification_period to that new time period to avoid receiving notifications during the reboot. example, if you want to exclude notifications from 2am-3am, you would do this: define timeperiod{ timeperiod_name windows-update alias windows-update sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 exclude reboot } define timeperiod{ timeperiod_name reboot alias reboot saturday 02:00-03:00 } Nagios will still show host and service messages, but won't send notifications in that time period. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod ________________________________ From: Les Fenison [mailto:les at deltatechnicalservices.com] Sent: Sat 11/21/2009 4:46 PM To: Nagios Users Mailinglist Subject: [Nagios-users] How to Schedule regular weekly downtime? I am monitoring a server that runs windows update and reboots every week on Saturday at the same time. Is there any way to schedule this downtime without having to go enter it every week manually? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cyruspy at gmail.com Mon Nov 23 05:57:04 2009 From: cyruspy at gmail.com (Ciro Iriarte) Date: Mon, 23 Nov 2009 01:57:04 -0300 Subject: Nagios 3.2 awareness latency? In-Reply-To: References: Message-ID: 2009/11/19 Ciro Iriarte : > Hi, i'm having a weird issue with nagios 3.2. Sometimes it takes up to > an hour to make it aware of a server being up again after maintenance > or a hardware issue. Our checks are scheduled to run every 1 minute or > 5 minutes at most. Even if you force the check it's not done! > > We have around 300 hosts and 1800 services and the nagios server > resources are fine (near 800MB free RAM and 90% idle CPU). Any ideas? > > Regards, > CI.- > Bump.... I think I should have called the thread "long gap between checks". Even if you force it, the check is not done when this delay occur... -- Ciro Iriarte http://cyruspy.wordpress.com -- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Mon Nov 23 10:44:05 2009 From: m.borsani at it.net (Marco Borsani) Date: Mon, 23 Nov 2009 10:44:05 +0100 Subject: R: How to Schedule regular weekly downtime? In-Reply-To: <4881ECF1AB752843908A20CEE07A8EB108EDBA@buf-ex01.cymfony.com> References: <4B085FC8.8050907@deltatechnicalservices.com> <4881ECF1AB752843908A20CEE07A8EB108EDBA@buf-ex01.cymfony.com> Message-ID: <9087.8939176493$1258970959@news.gmane.org> Excuse me, is it not simplest use a timeperiod like follow: define timeperiod{ timeperiod_name windows-update alias windows-update sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-02:00,03:00-24:00 } Regards Marco Da: Seth Simmons [mailto:ssimmons at cymfony.com] Inviato: luned? 23 novembre 2009 2.12 A: les at deltatechnicalservices.com; Nagios Users Mailinglist Oggetto: Re: [Nagios-users] How to Schedule regular weekly downtime? You could use a time exclusion in nagios. In your time periods, make a copy of 24x7 calling it something different and use the exclusion. Then, with your server/services, change the notification_period to that new time period to avoid receiving notifications during the reboot. example, if you want to exclude notifications from 2am-3am, you would do this: define timeperiod{ timeperiod_name windows-update alias windows-update sunday 00:00-24:00 monday 00:00-24:00 tuesday 00:00-24:00 wednesday 00:00-24:00 thursday 00:00-24:00 friday 00:00-24:00 saturday 00:00-24:00 exclude reboot } define timeperiod{ timeperiod_name reboot alias reboot saturday 02:00-03:00 } Nagios will still show host and service messages, but won't send notifications in that time period. http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#timeperiod _____ From: Les Fenison [mailto:les at deltatechnicalservices.com] Sent: Sat 11/21/2009 4:46 PM To: Nagios Users Mailinglist Subject: [Nagios-users] How to Schedule regular weekly downtime? I am monitoring a server that runs windows update and reboots every week on Saturday at the same time. Is there any way to schedule this downtime without having to go enter it every week manually? ---------------------------------------------------------------------------- -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From contactdayo at gmail.com Mon Nov 23 11:52:28 2009 From: contactdayo at gmail.com (Dayo Adewunmi) Date: Mon, 23 Nov 2009 11:52:28 +0100 Subject: Shutting down host groups Message-ID: <4B0A696C.8080009@gmail.com> Hi all I have nagios monitoring two Ubuntu Linux labs. Each lab is a hostgroup. How do I get nagios to shutdown all the machines in a given hostgroup? Best regards Dayo ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Mon Nov 23 14:10:41 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Mon, 23 Nov 2009 13:10:41 +0000 Subject: How to Schedule regular weekly downtime? In-Reply-To: <4B086B51.4010705@deltatechnicalservices.com> References: <4B085FC8.8050907@deltatechnicalservices.com> <765d77c80911211403t4c07ace4g8216944158e9087d@mail.gmail.com> <4B086B51.4010705@deltatechnicalservices.com> Message-ID: <765d77c80911230510v1d31bd9v10461113e4b227e5@mail.gmail.com> 2009/11/21 Les Fenison : > Looks like a nice idea but doesn't work on Nagios 3.2 In case you're tempted to try and get it working in Nagios 3 (as I did), here are the changes I made to the perl script to get it working: # diff /usr/local/src/downtime-2.2/downtime_job.pl /usr/local/nagios/bin/downtime_job.pl 32c32 < my($NAGDIR) = "/u02/nagios" ; # Nagios root directory --- > my($NAGDIR) = "/usr/local/nagios" ; # Nagios root directory 36c36 < my($CMDFILE) = "$NAGDIR/log/rw/nagios.cmd"; # Nagios CMD file --- > my($CMDFILE) = "$NAGDIR/var/rw/nagios.cmd"; # Nagios CMD file 38,39c38,40 < my($OBJECTS) = "$NAGDIR/log/objects.cache"; # Nagios 2 objects file < my($DOWNDAT) = "$NAGDIR/log/downtime.dat"; # existing sched downtime --- > my($OBJECTS) = "$NAGDIR/var/objects.cache"; # Nagios 2 objects file > # my($DOWNDAT) = "$NAGDIR/var/downtime.dat"; # existing sched downtime > my($DOWNDAT) = "$NAGDIR/var/retention.dat"; # existing sched downtime 41,43c42,44 < my($STATUSLOG) = "$NAGDIR/log/status.log"; # Nagios status log file < my($HGCFG) = "$NAGDIR/etc/hostgroups.cfg";# needed if ver=1 < my($DOWNLOG) = "$NAGDIR/log/downtime.log"; # existing sched downtime --- > my($STATUSLOG) = "$NAGDIR/var/status.log"; # Nagios status log file > my($HGCFG) = "$NAGDIR/etc/objects/hostgroups.cfg";# needed if ver=1 > my($DOWNLOG) = "$NAGDIR/var/downtime.log"; # existing sched downtime Of course in Nagios 3.2 the side.html is now side.php, but that change is trivial to work out too. hth, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jerome.Meyer at baldata.ch Mon Nov 23 13:59:10 2009 From: Jerome.Meyer at baldata.ch (Meyer Jerome) Date: Mon, 23 Nov 2009 13:59:10 +0100 Subject: Receive xml infos from Nagios Message-ID: <46EEEA5FAED9CA479556002BA9C27FD706846DEE@iw50.iwbnet.ch> Hi One team in my firm want to receive the Nagios's information in a xml format! I sought on the internet and I found NXE (Nagios XML Engine)... Is NXE interesting or exists it other different tools? Is this that could correspond to my waitings? As someone experience with NXE? Best regards J?r?me M. Meyer Network Engineer IWB - b?ldata -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 23 15:10:58 2009 From: marc at ena.com (Marc Powell) Date: Mon, 23 Nov 2009 08:10:58 -0600 Subject: Shutting down host groups In-Reply-To: <4B0A696C.8080009@gmail.com> References: <4B0A696C.8080009@gmail.com> Message-ID: On Nov 23, 2009, at 4:52 AM, Dayo Adewunmi wrote: > Hi all > > I have nagios monitoring two Ubuntu Linux labs. Each lab is a hostgroup. > How do I get nagios to shutdown all the machines in a given hostgroup? Nagios was not designed to do this. The only way I can think to do it would be to create a special check that only runs at a specific time that uses check_by_ssh (or another plugin you've written) to issue the shutdown command on the machines. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Mon Nov 23 15:18:27 2009 From: guidosh at gmail.com (Guy Waugh) Date: Mon, 23 Nov 2009 14:18:27 +0000 Subject: Controlling contacts/contactgroups with hostgroups/servicegroups Message-ID: Hi all, I currently use host and service templates to add contacts for specific hosts and services. For example, for most of my services, only the admins need to be notified if the service goes down. For a few (critical) services, however, additional people need to be notified if the service goes down. I achieve this by adding an extra service template to these critical services -- the extra service template has a "contact_groups +critical-contacts" directive in it. This works fine, except that I have to define extra services because of this. For example, I run "check_http" service checks for a lot of hosts, but only "check_http" service checks on some (critical) hosts need to have the above 'critical-contacts' people notified if the HTTP service goes down. So, I need to define one "check_http" service for all the hosts with normal notifications and another "check_http" service for the critical HTTP services. That's a simple example... I have a lot of contactgroups and a lot of services, some of which are 'critical' services. I've recently thought that it would be much nicer to control contacts through hostgroups and servicegroups rather than templates. Because it isn't possible to define contacts for hostgroups and servicegroups, I tried creating a service template and having it as part of a servicegroup, and having the "critical-host,check_http" service be a part of the servicegroup. Unfortunately, it didn't work (i.e. the contacts for the service template didn't get notified when the service went down). Anyway, two questions: * Is anyone out there using hostgroups or servicegroups to control contacts/contactgroups? If so, how? * Is there any other way (other than applying extra templates to hosts/services to define extra contacts) that I can control contacts/contactgroups like this? Thanks... -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Mon Nov 23 15:31:31 2009 From: td3201 at gmail.com (Terry) Date: Mon, 23 Nov 2009 08:31:31 -0600 Subject: Controlling contacts/contactgroups with hostgroups/servicegroups In-Reply-To: References: Message-ID: <8ee061010911230631m7e5ff9f9ne3ff4abc8108c510@mail.gmail.com> On Mon, Nov 23, 2009 at 8:18 AM, Guy Waugh wrote: > Hi all, > > I currently use host and service templates to add contacts for specific > hosts and services. For example, for most of my services, only the admins > need to be notified if the service goes down. For a few (critical) services, > however, additional people need to be notified if the service goes down. I > achieve this by adding an extra service template to these critical services > -- the extra service template has a "contact_groups +critical-contacts" > directive in it. > > This works fine, except that I have to define extra services because of > this. For example, I run "check_http" service checks for a lot of hosts, but > only "check_http" service checks on some (critical) hosts need to have the > above 'critical-contacts' people notified if the HTTP service goes down. So, > I need to define one "check_http" service for all the hosts with normal > notifications and another "check_http" service for the critical HTTP > services. That's a simple example... I have a lot of contactgroups and a lot > of services, some of which are 'critical' services. > > I've recently thought that it would be much nicer to control contacts > through hostgroups and servicegroups rather than templates. Because it isn't > possible to define contacts for hostgroups and servicegroups, I tried > creating a service template and having it as part of a servicegroup, and > having the "critical-host,check_http" service be a part of the servicegroup. > Unfortunately, it didn't work (i.e. the contacts for the service template > didn't get notified when the service went down). > > Anyway, two questions: > > * Is anyone out there using hostgroups or servicegroups to control > contacts/contactgroups? If so, how? > > * Is there any other way (other than applying extra templates to > hosts/services to define extra contacts) that I can control > contacts/contactgroups like this? > > Thanks... > > ------------------------------------------------------------------------------ I set up an on-call rotation using service escalations. You could take this logic and simply add contacts to hostgroups that way. # secondary on call define serviceescalation{ hostgroup_name z-allhosts service_description .* contact_groups +secondary first_notification 2 last_notification 3 notification_interval 30 escalation_options w,u,c,r } # tertiary on call define serviceescalation{ hostgroup_name z-allhosts service_description .* contact_groups +tertiary,secondary first_notification 4 last_notification 0 notification_interval 30 escalation_options w,u,c,r } Hopefully this helps. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sp at tdchosting.dk Mon Nov 23 16:38:50 2009 From: sp at tdchosting.dk (Steffen Poulsen) Date: Mon, 23 Nov 2009 16:38:50 +0100 Subject: check_disk parameter question Message-ID: <995380CA30455549A6B8C57CE5A47AE55EFFCC3E9E@TDCHEXBE01.int.tdch.dk> Hi, If I write this as check_disk parameters, what does it actually mean? /usr/local/nagios/libexec/check_disk -w 101%:101% -c 101%:101% - 101% free or 101% used capacity? Best regards, Steffen -- Venlig hilsen / Best regards Steffen Poulsen UNIX System Administrator TDC Hosting A/S Phone: +45 70 26 25 27 E-mail: sp at tdchosting.dk Web: www.tdchosting.dk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 23 17:01:30 2009 From: marc at ena.com (Marc Powell) Date: Mon, 23 Nov 2009 10:01:30 -0600 Subject: check_disk parameter question In-Reply-To: <995380CA30455549A6B8C57CE5A47AE55EFFCC3E9E@TDCHEXBE01.int.tdch.dk> References: <995380CA30455549A6B8C57CE5A47AE55EFFCC3E9E@TDCHEXBE01.int.tdch.dk> Message-ID: <9441DD94-F9C5-4730-8A96-4A8C8CFDEC20@ena.com> On Nov 23, 2009, at 9:38 AM, Steffen Poulsen wrote: > Hi, > > If I write this as check_disk parameters, what does it actually mean? > > /usr/local/nagios/libexec/check_disk -w 101%:101% -c 101%:101% > > - 101% free or 101% used capacity? $ ~nagios/libexec/check_disk --help -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From guidosh at gmail.com Mon Nov 23 17:31:55 2009 From: guidosh at gmail.com (Guy Waugh) Date: Mon, 23 Nov 2009 16:31:55 +0000 Subject: Controlling contacts/contactgroups with hostgroups/servicegroups In-Reply-To: <8ee061010911230631m7e5ff9f9ne3ff4abc8108c510@mail.gmail.com> References: <8ee061010911230631m7e5ff9f9ne3ff4abc8108c510@mail.gmail.com> Message-ID: On Mon, Nov 23, 2009 at 2:31 PM, Terry wrote: > On Mon, Nov 23, 2009 at 8:18 AM, Guy Waugh wrote: > > Hi all, > > > > I currently use host and service templates to add contacts for specific > > hosts and services. For example, for most of my services, only the admins > > need to be notified if the service goes down. For a few (critical) > services, > > however, additional people need to be notified if the service goes down. > I > > achieve this by adding an extra service template to these critical > services > > -- the extra service template has a "contact_groups +critical-contacts" > > directive in it. > > > > This works fine, except that I have to define extra services because of > > this. For example, I run "check_http" service checks for a lot of hosts, > but > > only "check_http" service checks on some (critical) hosts need to have > the > > above 'critical-contacts' people notified if the HTTP service goes down. > So, > > I need to define one "check_http" service for all the hosts with normal > > notifications and another "check_http" service for the critical HTTP > > services. That's a simple example... I have a lot of contactgroups and a > lot > > of services, some of which are 'critical' services. > > > > I've recently thought that it would be much nicer to control contacts > > through hostgroups and servicegroups rather than templates. Because it > isn't > > possible to define contacts for hostgroups and servicegroups, I tried > > creating a service template and having it as part of a servicegroup, and > > having the "critical-host,check_http" service be a part of the > servicegroup. > > Unfortunately, it didn't work (i.e. the contacts for the service template > > didn't get notified when the service went down). > > > > Anyway, two questions: > > > > * Is anyone out there using hostgroups or servicegroups to control > > contacts/contactgroups? If so, how? > > > > * Is there any other way (other than applying extra templates to > > hosts/services to define extra contacts) that I can control > > contacts/contactgroups like this? > > > > Thanks... > > > > > ------------------------------------------------------------------------------ > > I set up an on-call rotation using service escalations. You could > take this logic and simply add contacts to hostgroups that way. > > # secondary on call > define serviceescalation{ > hostgroup_name z-allhosts > service_description .* > contact_groups +secondary > first_notification 2 > last_notification 3 > notification_interval 30 > escalation_options w,u,c,r > } > # tertiary on call > define serviceescalation{ > hostgroup_name z-allhosts > service_description .* > contact_groups +tertiary,secondary > first_notification 4 > last_notification 0 > notification_interval 30 > escalation_options w,u,c,r > } > > Hopefully this helps. > Thanks Terry, interesting idea, and I got most of the way through setting up a test configuration before I realised that it's not quite the right solution for me. I'd like to be able to specify particular services on particular hosts, and to use service escalations to do that, I'd have to set up a service escalation for each 'critical' service for each host. If I could specify a servicegroup instead of a hostgroup in a service escalation definition, it would be perfect, as I could set up a 'critical' servicegroup that included all the 'critical' services and set up a single service escalation :) Regards, Guy. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frisvolj at lafayette.edu Mon Nov 23 22:03:24 2009 From: frisvolj at lafayette.edu (Jason Frisvold) Date: Mon, 23 Nov 2009 16:03:24 -0500 Subject: Supression of action_url ? In-Reply-To: References: <4AFD9DDE.5060103@lafayette.edu> Message-ID: <4B0AF89C.1000305@lafayette.edu> On 11/13/2009 01:56 PM, Marc Powell wrote: > On Nov 13, 2009, at 11:56 AM, Jason Frisvold wrote: >> One method of preventing this is to put action_url fields in all of the >> relevant service templates, and not in the ones that don't need it. >> However, this makes for lots of work and a rather large, confusing >> configuration. So is there a way to tell nagios to supress the action >> button for given services/hosts ? > > http://nagios.sourceforge.net/docs/3_0/objectinheritance.html#cancel_string Ah, excellent. This is exactly what I'm looking for. Thanks! > -- > Marc -- --------------------------- Jason Frisvold Network Engineer frisvolj at lafayette.edu --------------------------- "What I cannot create, I do not understand" - Richard Feynman ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From keller.mark at con-way.com Mon Nov 23 22:22:05 2009 From: keller.mark at con-way.com (Mark Keller) Date: Mon, 23 Nov 2009 13:22:05 -0800 Subject: Controlling contacts/contactgroups with hostgroups/servicegroups In-Reply-To: References: <8ee061010911230631m7e5ff9f9ne3ff4abc8108c510@mail.gmail.com> Message-ID: <200911231322.05376.keller.mark@con-way.com> On Monday 23 November 2009 08:31:55 am Guy Waugh wrote: > On Mon, Nov 23, 2009 at 2:31 PM, Terry > > wrote: > > > Thanks Terry, interesting idea, and I got most of the way through setting > up a test configuration before I realised that it's not quite the right > solution for me. I'd like to be able to specify particular services on > particular hosts, and to use service escalations to do that, I'd have to > set up a service escalation for each 'critical' service for each host. If > I could specify a servicegroup instead of a hostgroup in a service > escalation definition, it would be perfect, as I could set up a 'critical' > servicegroup that included all the 'critical' services and set up a single > service escalation :) > > Regards, > Guy. > You may not be able to use servicegroups, but you can get the same effect. You can use a list of services for the service_description so you don't need one escalation per service. We do something similar for many of our application teams. This basically gives you you the same power as a servicegroup. define serviceescalation{ hostgroup_name dba-notify-servers service_description Disk,Swap,SSH first_notification 1 last_notification 0 notification_interval 30 contact_groups +dba-team escalation_options r,w,c } So you can still setup a critical hostgroup, then list the services in the escalation. The previous example basically mirrors any notifications to the DBA's that our *NIX admins get, but only on hosts in the dba-notify-servers group. Mark ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bwilliams at zynga.com Tue Nov 24 01:10:20 2009 From: bwilliams at zynga.com (Brandon Williams) Date: Mon, 23 Nov 2009 16:10:20 -0800 Subject: check_snmp problem Message-ID: <5ABA0A5E6C0BC24684711749DE0E90BE949A3E@EX-MB-CLUS-01.corp.zynga.com> Hey Guys I am trying to monitor a switch by using snmp. When I run the check_snmp I get this result ./check_snmp -H x.x.x.x -C Cust at m -P 2c -o .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 SNMP problem - No data received from host CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 2c [authpriv] 10.7.128.77:161 .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 If I were to run snmpget I am able to get results su nagios -c "snmpget -t 1 -r 5 -m '' -v 2c -c Cust at m x.x.x.x:161 .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1" iso.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 = Gauge32: 61 Any ideas on why check_snmp is having a problem? The only odd thing I see is [authpriv] which I guess means it is hiding the community string. The community string I am showing is not the actual one we use. The one we use has letters and numbers. Would that have anything to do with it? Brandon Williams NOC Engineer Cell: 415.624.4577 Skype-ID: bwilliams3000 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Tue Nov 24 01:59:12 2009 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Tue, 24 Nov 2009 09:59:12 +0900 Subject: About Nagios Avail Report In-Reply-To: <765d77c80911200920u1acfdea9w3ac8eb7331037f2@mail.gmail.com> References: <765d77c80911200920u1acfdea9w3ac8eb7331037f2@mail.gmail.com> Message-ID: <200911240059.AA01244@S2007337.jp.fujitsu.com> Hello Jim Thank you for the reply. Yes, like you mentioned , I've confirmed that whenever you deactivate the "Assume States During Program Downtime" option Nagios does not assume the state during the Downtime , which I assume the total amount time of the "Normal program termination" period. I also found out that whenever "Assume Initial States" is deactivated , Naios does not assume the state of the period when the status of host and service does not exist in the nagios.log , or time when log file itself does not exist. This amount of time would be counted up as "Insufficient Data". Thank you Yu Watanabe Jim Avery ????????: >2009/11/19 Yu Watanabe : >> Hello All. >> >> I have a question regarding to Nagios availability report. >> Could someone help me out? >> >> I am now using Nagios v3.0.6 on a RHEL 5.1 machined. >> >> I was looking at the Undeterimined state area and realized that the >> Nagios Not Running is 0d 0h 0m 0s , although, the program restart had occured in the day.(please see attach nagios_avai_report_2.PNG) >> >> I have generated the report Today which is "11-19-2009 00:00:00 to 11-19-2009 15:07:02" (please see attach nagios_avai_report_1.PNG) >> >> Is there a condition that Nagios decides even if there are Normal Program restart? >> >> Thank you >> Yu > > >later ... > >okay it's not a bug at all. > >When you run the report, you need to specify "Assume States During >Program Downtime:" = No. > >In the URL, you can add "&assumestatesduringnotrunning=no" to set this too. > >You only normally see all these menu options for the availability >report if you run it from the main Nagios menu. If you run it from >the little menu in the extinfo.cgi for a service or host, you don't >see all these options. > >I hope that helps. If it doesn't make sense let me know and I'll send >you a screen shot or two. > >Cheers, > >Jim > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 24 06:12:51 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 24 Nov 2009 00:12:51 -0500 Subject: check_snmp problem In-Reply-To: <5ABA0A5E6C0BC24684711749DE0E90BE949A3E@EX-MB-CLUS-01.corp.zynga.com> References: <5ABA0A5E6C0BC24684711749DE0E90BE949A3E@EX-MB-CLUS-01.corp.zynga.com> Message-ID: <4B0B6B53.9000607@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 23/11/09 07:10 PM, Brandon Williams wrote: > Hey Guys I am trying to monitor a switch by using snmp. When I run the > check_snmp I get this result > > > > > > ./check_snmp -H x.x.x.x -C Cust at m -P 2c -o > .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 > > SNMP problem - No data received from host > > CMD: /usr/bin/snmpget -t 1 -r 5 -m '' -v 2c [authpriv] 10.7.128.77:161 > .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 > > > > If I were to run snmpget I am able to get results > > > > su nagios -c "snmpget -t 1 -r 5 -m '' -v 2c -c Cust at m x.x.x.x:161 > .1.3.6.1.4.1.6027.3.10.1.2.2.1.14.1" > > iso.3.6.1.4.1.6027.3.10.1.2.2.1.14.1 = Gauge32: 61 > > > > Any ideas on why check_snmp is having a problem? The only odd thing I > see is [authpriv] which I guess means it is hiding the community > string. The community string I am showing is not the actual one we > use. The one we use has letters and numbers. Would that have anything > to do with it? Which version of check_snmp are you using? 1.4.14 should have better handling of special characters than anything before... whichever version you use it would be nice it you could try the other (1.4.14 vs older). Besides that I don't see what wouldn't work. Maybe try with debug output (-vvv). NB: check_snmp v1.4.14 has broken support for multiple -o option, but you can still pass multiple oids separated with commas. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLC2tT6dZ+Kt5BchYRAijpAKCKiByUCak8yBy0YcqaKQM/T0ynpwCbBYNm G62RDLRz8ZYlKym02b4dUok= =Mljf -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From koch2 at inbox.lv Tue Nov 24 08:04:45 2009 From: koch2 at inbox.lv (Konstantin Chekushin) Date: Tue, 24 Nov 2009 09:04:45 +0200 Subject: Nagios + nsca + n2rrd Message-ID: <1259046285.4b0b858d6cf9c@mail.inbox.lv> Hi! I'm using nagios 3.2.0 and n2rrd 1.4.0. Is it possible to get graphs from the remote host, which periodically send to nagios some information (using addon nsca 2.7.2)? Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nkeshav12 at gmail.com Tue Nov 24 11:23:50 2009 From: nkeshav12 at gmail.com (keshav murthy) Date: Tue, 24 Nov 2009 15:53:50 +0530 Subject: Managing cluster failovers Message-ID: Hi All, I would like to know what is the best mechanism to monitor cluster resources through nagios. We have the disks that failover to other node, in that case, in the parent node, nagios shows the drive as invalid and alert as UNKOWN. Any help is highly appreciated. Cheers Kesava -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Baxter at visma.com Tue Nov 24 12:20:58 2009 From: Mark.Baxter at visma.com (Mark Baxter) Date: Tue, 24 Nov 2009 12:20:58 +0100 Subject: Graphing Software that Retains Perfdata Message-ID: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> Hi, We've been using Nagiosgraph for some time for graphing, but of late my boss has been requesting historical data for presentations and whatnot. The problem is that the rrdtool doesn't appear to keep all the data it gets. Maybe it is configured badly, but it appears to only keep limited data for the yearly graphs, so when doing a data export we only really have decent data for analysis from the past month or so. Ideally I think a solution that stores the information in a MySQL database would be optimal as the required data could be easily queried and exported in a boss-friendly format. Does anyone know of such a solution? If not, does anyone know if I have simply screwed up the Nagiosgraph install or, if not, if there is any way I can change the configuration so as to retain all data written to the .rrd files? Thanks, Mark Baxter ________________________________ Mark Baxter OnDemand Administrator Visma Proceedo AB R?lambsv?gen 17, v?n 12, S-112 59 Stockholm, Sweden Switchboard : +46 8 522 930 30 Direct : +46 8 522 930 60 Mobile : +46 73 978 92 60 Fax : +46 8 58 88 48 29 Internet : http://www.vismaproceedo.com E-mail : mark.baxter at visma.com Ekonomisystem - Elektronisk fakturahantering - Redovisning - Tid- och projektstyrning - S?ljst?dssystem - L?n - Inkassotj?nster - Ink?p - Butiksdatal?sningar - E-handels- och webbl?sningar This communication is intended for the person(s) named above only. It contains information that is confidential and legally privileged. If received in error, please delete this e-mail and notify the sender. ________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 24 13:12:09 2009 From: dario.bestetti at opservices.com.br (Dario B. Bestetti (OpServices)) Date: Tue, 24 Nov 2009 10:12:09 -0200 (BRST) Subject: Graphing Software that Retains Perfdata In-Reply-To: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> References: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> Message-ID: <23286700.121331259064729550.JavaMail.root@mail.opservices.com.br> ----- "Mark Baxter" escreveu: > > Hi, We?ve been using Nagiosgraph for some time for graphing, but of late my boss has been requesting historical data for presentations and whatnot. The problem is that the rrdtool doesn?t appear to keep all the data it gets. Maybe it is configured badly, but it appears to only keep limited data for the yearly graphs, so when doing a data export we only really have decent data for analysis from the past month or so. Ideally I think a solution that stores the information in a MySQL database would be optimal as the required data could be easily queried and exported in a boss-friendly format. Does anyone know of such a solution? If not, does anyone know if I have simply screwed up the Nagiosgraph install or, if not, if there is any way I can change the configuration so as to retain all data written to the .rrd files? Thanks, Mark Baxter > > > Mark Baxter > OnDemand Administrator > Visma Proceedo AB > R?lambsv?gen 17, v?n 12, S-112 59 Stockholm, Sweden > Switchboard : +46 8 522 930 30 Direct : +46 8 522 930 60 Mobile : +46 73 978 92 60 Fax : +46 8 58 88 48 29 Internet : http://www.vismaproceedo.com E-mail : mark.baxter at visma.com Ekonomisystem - Elektronisk fakturahantering - Redovisning - Tid- och projektstyrning - S?ljst?dssystem - L?n - Inkassotj?nster - Ink?p - Butiksdatal?sningar - E-handels- och webbl?sningar > > This communication is intended for the person(s) named above only. It contains information that is confidential and legally privileged. If received in error, please delete this e-mail and notify the sender. > > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null Mark, if you are interested, we have a open-source solution that can help you to have long-term capacity planning graphics at www.opmon.org . _________________________________________________ Dario B. Bestetti OpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)32753588 Mobile 55(51)81518218 Fax 55(51)32753588 Email dario.bestetti at opservices.com.br "In God we trust, the rest we monitor ..." _________________________________________________ -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 24 14:54:36 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 24 Nov 2009 08:54:36 -0500 Subject: Graphing Software that Retains Perfdata In-Reply-To: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> References: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> Message-ID: <4B0BE59C.5090605@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/11/09 06:20 AM, Mark Baxter wrote: > Hi, > > > > We?ve been using Nagiosgraph for some time for graphing, but of late my > boss has been requesting historical data for presentations and whatnot. > The problem is that the rrdtool doesn?t appear to keep all the data it > gets. Maybe it is configured badly, but it appears to only keep limited > data for the yearly graphs, so when doing a data export we only really > have decent data for analysis from the past month or so. > > > > Ideally I think a solution that stores the information in a MySQL > database would be optimal as the required data could be easily queried > and exported in a boss-friendly format. > > > > Does anyone know of such a solution? If not, does anyone know if I have > simply screwed up the Nagiosgraph install or, if not, if there is any > way I can change the configuration so as to retain all data written to > the .rrd files? I don't know about Nagiosgraph, the the way RRD are designed it to keep different resolution of data for different intervals, doing automatic aggregation. These resolutions/interval are defined in RRA's with a consolidation function (CF) that determine what value is retained (AVG (average), MAX, MIN...). Lets say you have a RRD that gets data every minute, and you have 2880 lines in the first RRA, that means it will keep 2 days of 1-minute data (60*24*2 = 1880). Then the next one might gets 5-minute average (5 primary data point (pdp) per row) and if you have 4032 lines in this RRA,it will retain 14 days of data, then you might have a 30-minute (6 pdp since it's based on the 5-minute RRA), 2-hours (4 pdp), daily (6 pdp) RRAs and so on. A daily-data RRA of 1460 rows will retain 4 years of data with 1-day granularity. That looks great with long-term graphs that covers nearly a full year or more, but if you zoom in it you will not find it much appealing (i.e. no curves that you'd normally expect on daily graphs as the load change throughout the day). Therefore if you're just missing long-term low-resolution data then you will have add such RRA to keep this data. OTOH if you want high resolution on long term data you will have to increase the number of rows on the RRAs you need, based on what you need. Note that the later option will greatly increase the size of you RRD files, which are created at full capacity and will never grow. Also take note that you can't just resize a RRD, you normally have to export and re-import it, although if it's somewhat compatible you may be able to export the data from the old RRAs and import it on the new one. This is a manual process, but there may be some tools available out there that automate resizing of RRD files. You will find more information on RRD files and the RRDTool commands at this page: http://oss.oetiker.ch/rrdtool/ Hope this helps. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLC+Wc6dZ+Kt5BchYRAvONAKCx4rWnr+/ILZ3Hbflx+eZDSbJ21ACgo/V/ rdPt4hY9IbSjsGPwc180bck= =lH8e -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 24 14:33:48 2009 From: dermoth at aei.ca (Thomas Guyot-Sionnest) Date: Tue, 24 Nov 2009 08:33:48 -0500 Subject: Managing cluster failovers In-Reply-To: References: Message-ID: <4B0BE0BC.5000809@aei.ca> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 24/11/09 05:23 AM, keshav murthy wrote: > Hi All, > > I would like to know what is the best mechanism to monitor cluster > resources through nagios. > > We have the disks that failover to other node, in that case, in the > parent node, nagios shows the drive as invalid and alert as UNKOWN. > > Any help is highly appreciated. Use a failover IP (that follows the disk) for monitoring any cluster resources, so that it's always monitoring the active node. As a mater of fact most clustered resources will have a failover IP that clients connect to regardless of the server that runs them. - -- Thomas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFLC+C86dZ+Kt5BchYRAnG7AJsG6RIL44zlPP2Mm5MEP32vj0AxdACeLIs4 wxdEqXrZ4TJSv3K3gB7Sq70= =meDx -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rakesh at ctrls.in Tue Nov 24 16:12:20 2009 From: rakesh at ctrls.in (Rakesh) Date: Tue, 24 Nov 2009 20:42:20 +0530 Subject: Graphing Software that Retains Perfdata In-Reply-To: <23286700.121331259064729550.JavaMail.root@mail.opservices.com.br> References: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> <23286700.121331259064729550.JavaMail.root@mail.opservices.com.br> Message-ID: <001501ca6d18$8484d160$8d8e7420$@in> Hi , We are looking for a script to be executed when a event triggers, for example I need to run a script in my nagios server if my remote windows servers CPU utilization state has changed from normal to warning . Please help me out to achieve this. Regards, Rakesh.G -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 24 16:45:30 2009 From: marc at ena.com (Marc Powell) Date: Tue, 24 Nov 2009 09:45:30 -0600 Subject: Graphing Software that Retains Perfdata In-Reply-To: <001501ca6d18$8484d160$8d8e7420$@in> References: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> <23286700.121331259064729550.JavaMail.root@mail.opservices.com.br> <001501ca6d18$8484d160$8d8e7420$@in> Message-ID: <4ECB75F5-1817-4DBD-BFD2-7444F1A0FA6E@ena.com> On Nov 24, 2009, at 9:12 AM, Rakesh wrote: > Hi , > > We are looking for a script to be executed when a event triggers, for example I need to run a script in my nagios server if my remote windows servers CPU utilization state has changed from normal to warning . > Please help me out to achieve this. Please don't hijack someone else's thread for your own purposes. What you're looking for is documented under Event Handlers. If you need further help, start a new thread. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sp at tdchosting.dk Tue Nov 24 17:44:28 2009 From: sp at tdchosting.dk (Steffen Poulsen) Date: Tue, 24 Nov 2009 17:44:28 +0100 Subject: check_disk parameter question In-Reply-To: <9441DD94-F9C5-4730-8A96-4A8C8CFDEC20@ena.com> References: <995380CA30455549A6B8C57CE5A47AE55EFFCC3E9E@TDCHEXBE01.int.tdch.dk>, <9441DD94-F9C5-4730-8A96-4A8C8CFDEC20@ena.com> Message-ID: <995380CA30455549A6B8C57CE5A47AE55EFFCB8C1E@TDCHEXBE01.int.tdch.dk> So, you are saying - actually the plugin should just have rejected the parameters as bad? Best regards, Steffen ________________________________________ From: Marc Powell [marc at ena.com] Sent: Monday, November 23, 2009 5:01 PM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] check_disk parameter question On Nov 23, 2009, at 9:38 AM, Steffen Poulsen wrote: > Hi, > > If I write this as check_disk parameters, what does it actually mean? > > /usr/local/nagios/libexec/check_disk -w 101%:101% -c 101%:101% > > - 101% free or 101% used capacity? $ ~nagios/libexec/check_disk --help -w, --warning=PERCENT% Exit with WARNING status if less than PERCENT of disk space is free -c, --critical=PERCENT% Exit with CRITCAL status if less than PERCENT of disk space is free -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 24 18:19:00 2009 From: marc at ena.com (Marc Powell) Date: Tue, 24 Nov 2009 11:19:00 -0600 Subject: check_disk parameter question In-Reply-To: <995380CA30455549A6B8C57CE5A47AE55EFFCB8C1E@TDCHEXBE01.int.tdch.dk> References: <995380CA30455549A6B8C57CE5A47AE55EFFCC3E9E@TDCHEXBE01.int.tdch.dk>, <9441DD94-F9C5-4730-8A96-4A8C8CFDEC20@ena.com> <995380CA30455549A6B8C57CE5A47AE55EFFCB8C1E@TDCHEXBE01.int.tdch.dk> Message-ID: <9D2D3E24-CECD-45B6-B225-EE1E396939CB@ena.com> On Nov 24, 2009, at 10:44 AM, Steffen Poulsen wrote: > So, you are saying - actually the plugin should just have rejected the parameters as bad? Yes, it probably should have since you can't have greater than 100% of anything but all I was really doing was answering your question regarding whether it was free or used percent... -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dit.dash at gmail.com Tue Nov 24 19:30:34 2009 From: dit.dash at gmail.com (dave stern - e-mail.pluribus.unum) Date: Tue, 24 Nov 2009 13:30:34 -0500 Subject: tailoring a notification Message-ID: <7f62d2420911241030s2dba63acx353ed2b70d7b6eca@mail.gmail.com> I'd like to specify an additional string within the notification message for just a few hosts that will be sent to the contactgroup for those hosts and only those hosts. The string will be static. I presume this can be done with macros somehow? TIA ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Tue Nov 24 19:59:29 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Tue, 24 Nov 2009 19:59:29 +0100 Subject: tailoring a notification In-Reply-To: <7f62d2420911241030s2dba63acx353ed2b70d7b6eca@mail.gmail.com> References: <7f62d2420911241030s2dba63acx353ed2b70d7b6eca@mail.gmail.com> Message-ID: <20091124195929.44d9d394@orange.fr> Le Tue, 24 Nov 2009 13:30:34 -0500, "dave stern - e-mail.pluribus.unum" a ?crit : > I'd like to specify an additional string within the notification > message for just a few hosts that will be sent to the contactgroup > for those hosts and only those hosts. The string will be static. I > presume this can be done with macros somehow? first link : second link : You have do modify your notification script to include the macro you will create. -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Nov 24 19:47:05 2009 From: israel at frontierflying.com (Israel Brewster) Date: Tue, 24 Nov 2009 09:47:05 -0900 Subject: What would you want in a replacement web interface? In-Reply-To: <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> References: <4B017C60.8040707@lilacnetworks.com> <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> Message-ID: <542B1247-CC51-4EB4-9F7C-F097F53A1D33@frontierflying.com> 2009/11/16 Taylor Dondich : > #3) What is your biggest gripe regarding the existing Nagios web user > interface? The lack of a real search. The select box is practically useless. For example, I have a bunch of hosts named ffs-, but if I type in ffs- to the search box, I only get one result. I would really like a real (albeit simple) search so if I type ffs, I get ALL hosts containing ffs. ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- -------------- next part -------------- A non-text attachment was scrubbed... Name: Israel Brewster.vcf Type: text/directory Size: 417 bytes Desc: not available URL: -------------- next part -------------- -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shadhin71 at gmail.com Tue Nov 24 21:48:56 2009 From: shadhin71 at gmail.com (shadih rahman) Date: Tue, 24 Nov 2009 15:48:56 -0500 Subject: What would you want in a replacement web interface? In-Reply-To: <542B1247-CC51-4EB4-9F7C-F097F53A1D33@frontierflying.com> References: <4B017C60.8040707@lilacnetworks.com> <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> <542B1247-CC51-4EB4-9F7C-F097F53A1D33@frontierflying.com> Message-ID: <6db4a4200911241248w2270faf3ude5a71a8184d7b55@mail.gmail.com> This is not an issue. nagios search bar does regular expression search. do ffs-* in your box and it will result in all the hosts. Nagios is a monitoring tool. I think nagios users and administrators are some what involved with technology. Knowing how to do "regular expression" search is not an extreme requirement. On Tue, Nov 24, 2009 at 1:47 PM, Israel Brewster wrote: > > 2009/11/16 Taylor Dondich : > > #3) What is your biggest gripe regarding the existing Nagios web user >> interface? >> > > > The lack of a real search. The select box is practically useless. For > example, I have a bunch of hosts named ffs-, but if I type in ffs- > to the search box, I only get one result. I would really like a real (albeit > simple) search so if I type ffs, I get ALL hosts containing ffs. > ----------------------------------------------- > Israel Brewster > Computer Support Technician II > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Cordially, Shadhin Rahman -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yu.watanabe at jp.fujitsu.com Wed Nov 25 06:37:49 2009 From: yu.watanabe at jp.fujitsu.com (Yu Watanabe) Date: Wed, 25 Nov 2009 14:37:49 +0900 Subject: Nagios is logging "Service Check Timed Out" for certain service Message-ID: <200911250537.AA01253@S2007337.jp.fujitsu.com> Hello All. I am gathering information for a problem I had experienced in nagios v2.10. I was running Nagios on RHEL 4.5. The story is that Nagios suddenly started returing "Service Check Timed Out" on a certain service, not on other services. The time that "Service Check Timed Out" started occuring was 23:13:48. Has anyone had such experience? Thank you Yu Watanabe ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samir at eprs.co.in Wed Nov 25 11:44:43 2009 From: samir at eprs.co.in (Samir Pathan) Date: Wed, 25 Nov 2009 16:14:43 +0530 Subject: How to check a host, ping disabled Message-ID: Hello, I need to monitor the servers which has ping disabled. Where and what configuration I have to change. Please suggest. Best regards, Sam. __________________________________________ This email and any files transmitted with it are for the sole use of the addressee and may contain confidential and privileged information. If you are not the addressee, please contact the sender by reply e-mail and delete this e-mail and other copies of it from your computer system. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in confidence on this e-mail is strictly prohibited and may be unlawful. Please check for viruses and defects before opening any attachment . Thank You. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From flyinvap at orange.fr Wed Nov 25 12:48:49 2009 From: flyinvap at orange.fr (Flyinvap) Date: Wed, 25 Nov 2009 12:48:49 +0100 Subject: How to check a host, ping disabled In-Reply-To: References: Message-ID: <20091125124849.3896f38a@orange.fr> Le Wed, 25 Nov 2009 16:14:43 +0530, "Samir Pathan" a ?crit : > I need to monitor the servers which has ping disabled. Where and what > configuration I have to change. Please suggest. Replace ping by check_tcp or check_udp on a open port. -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Wed Nov 25 14:06:48 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 25 Nov 2009 13:06:48 +0000 Subject: What would you want in a replacement web interface? In-Reply-To: <6db4a4200911241248w2270faf3ude5a71a8184d7b55@mail.gmail.com> References: <4B017C60.8040707@lilacnetworks.com> <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> <542B1247-CC51-4EB4-9F7C-F097F53A1D33@frontierflying.com> <6db4a4200911241248w2270faf3ude5a71a8184d7b55@mail.gmail.com> Message-ID: <765d77c80911250506m24fccd28t8c4f51e8f636354f@mail.gmail.com> 2009/11/24 shadih rahman : > This is not an issue.? nagios search bar does regular expression search.? do > ffs-* in your box and it will result in all the hosts. > > Nagios is a monitoring tool.? I think nagios users and administrators are > some what involved with technology.? Knowing how to do "regular expression" > search is not an extreme requirement. I'm pretty sure it's not a regular expression, it's just a simple wild-card. For example, it won't understand ffs-[0-9] ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Wed Nov 25 14:09:41 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 25 Nov 2009 13:09:41 +0000 Subject: Nagios is logging "Service Check Timed Out" for certain service In-Reply-To: <200911250537.AA01253@S2007337.jp.fujitsu.com> References: <200911250537.AA01253@S2007337.jp.fujitsu.com> Message-ID: <765d77c80911250509y70fa57dfo6b8bdb99799efef8@mail.gmail.com> 2009/11/25 Yu Watanabe : > Hello All. > > I am gathering information for a problem I had experienced in nagios v2.10. > > I was running Nagios on RHEL 4.5. The story is that Nagios suddenly started returing "Service Check Timed Out" > on a certain service, not on other services. The time that "Service Check Timed Out" started occuring was > 23:13:48. > > Has anyone had such experience? Yes. I occasionally see this behaviour for certain SNMP checks when the SNMP daemon on the montitored host stops working properly. Which service is causing the problem and which ones seem to be still OK? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Wed Nov 25 14:23:42 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Wed, 25 Nov 2009 13:23:42 +0000 Subject: How to check a host, ping disabled In-Reply-To: References: Message-ID: <765d77c80911250523k3f887332pccfe1693cb1da4db@mail.gmail.com> 2009/11/25 Samir Pathan : > Hello, > > > > I need to monitor the servers which has ping disabled. Where and what > configuration I have to change. Please suggest. > > Best regards, > > > > Sam. If it is a server then presumably it has some other port open? For example if it's an email server, you may be able to use check_smtp as your host check. It really depends what is available to you, and what will give you a check which is closest to answering the question "Is this host 'up'?". You will need to change the check_command directive in the host definition for that host, and you might need to tweak the command definition too. For example, your new host definition might look like this: define host{ use generic-host host_name server1 alias server1 - email server - pings disabled address 10.10.11.12 hostgroups +servers parents router3 check_command check_smtp!-w 5 -c 8 } and your check_smtp command definition might look like this: # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ $ARG1$ } hth, Jim ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From samir at eprs.co.in Wed Nov 25 15:13:13 2009 From: samir at eprs.co.in (Samir Pathan) Date: Wed, 25 Nov 2009 19:43:13 +0530 Subject: How to check a host, ping disabled Message-ID: Hello All, I have few servers with ping enable and disabled in two different locations. I am currently monitoring ping enables servers successfully. Can we monitor ping disabled servers using Nagios? If yes, please suggest how to configure it and where to configure it, file names pls. thanks. Best regards, Sam. __________________________________________ This email and any files transmitted with it are for the sole use of the addressee and may contain confidential and privileged information. If you are not the addressee, please contact the sender by reply e-mail and delete this e-mail and other copies of it from your computer system. Any unauthorized review, use, disclosure, dissemination, forwarding, printing or copying of this email or any action taken in confidence on this e-mail is strictly prohibited and may be unlawful. Please check for viruses and defects before opening any attachment . Thank You. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Baxter at visma.com Wed Nov 25 16:16:48 2009 From: Mark.Baxter at visma.com (Mark Baxter) Date: Wed, 25 Nov 2009 16:16:48 +0100 Subject: Graphing Software that Retains Perfdata In-Reply-To: <4529521.121301259064638704.JavaMail.root@mail.opservices.com.br> References: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022A23@DKVBLEXVS1.datakraftverk.no> <4529521.121301259064638704.JavaMail.root@mail.opservices.com.br> Message-ID: <9AE3E5D0DCF05D40AAC39D89DCCBBE2003022BBF@DKVBLEXVS1.datakraftverk.no> Dario, I've been looking at your site and I may be interested, Thanks for the info. Regards, Mark ________________________________ Mark Baxter OnDemand Administrator, Visma Proceedo AB Switchboard : +46 8 522 930 30 - Direct : +46 8 522 930 60 - Mobile : +46 73 978 92 60 - Fax : +46 8 58 88 48 29 ________________________________ ________________________________ From: Dario B. Bestetti (OpServices) [mailto:dario.bestetti at opservices.com.br] Sent: den 24 november 2009 13:11 To: Mark Baxter Subject: Re: [Nagios-users] Graphing Software that Retains Perfdata Mark, if you are interested, we have a open-source solution that can help you to have long-term capacity planning graphics at www.opmon.org. We also have a commercial solution based on Nagios that you might want to try. Please take a look at www.opservices.com.br. In case of any doubt, please let me know. Best regards, _________________________________________________ Dario B. Bestetti OpServices R. Luciana de Abreu, 471 - Sala 403 Porto Alegre, RS - CEP 90570-060 Fone 55(51)32753588 Mobile 55(51)81518218 Fax 55(51)32753588 Email dario.bestetti at opservices.com.br "In God we trust, the rest we monitor ..." _________________________________________________ ----- "Mark Baxter" escreveu: > > Hi, We've been using Nagiosgraph for some time for graphing, but of late my boss has been requesting historical data for presentations and whatnot. The problem is that the rrdtool doesn't appear to keep all the data it gets. Maybe it is configured badly, but it appears to only keep limited data for the yearly graphs, so when doing a data export we only really have decent data for analysis from the past month or so. Ideally I think a solution that stores the information in a MySQL database would be optimal as the required data could be easily queried and exported in a boss-friendly format. Does anyone know of such a solution? If not, does anyone know if I have simply screwed up the Nagiosgraph install or, if not, if there is any way I can change the configuration so as to retain all data written to the .rrd files? Thanks, Mark Baxter > > ________________________________ > Mark Baxter > OnDemand Administrator > Visma Proceedo AB > R?lambsv?gen 17, v?n 12, S-112 59 Stockholm, Sweden > Switchboard : +46 8 522 930 30 Direct : +46 8 522 930 60 Mobile : +46 73 978 92 60 Fax : +46 8 58 88 48 29 Internet : http://www.vismaproceedo.com E-mail : mark.baxter at visma.com Ekonomisystem - Elektronisk fakturahantering - Redovisning - Tid- och projektstyrning - S?ljst?dssystem - L?n - Inkassotj?nster - Ink?p - Butiksdatal?sningar - E-handels- och webbl?sningar > > This communication is intended for the person(s) named above only. It contains information that is confidential and legally privileged. If received in error, please delete this e-mail and notify the sender. > ________________________________ > ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Wed Nov 25 16:34:15 2009 From: mitsuto at gmail.com (Marcel) Date: Wed, 25 Nov 2009 13:34:15 -0200 Subject: What would you want in a replacement web interface? In-Reply-To: <4B017C60.8040707@lilacnetworks.com> References: <4B017C60.8040707@lilacnetworks.com> Message-ID: <2dfcbd1b0911250734v5824fa5fo93ac7e00a39f5c63@mail.gmail.com> I'd like (and i think this is the answer for question #3): * mobile webpages; * customizable ajax/web2.0 interface; Answers: #1) the tactical overview is fine; #2) would like to see what check commands nagios is issuing (for the need of troubleshooting, issuing the same command nagios triggers is a pain) - an easier way too see configured thresholds and the full command line and output. On Mon, Nov 16, 2009 at 2:22 PM, Taylor Dondich wrote: > Hi there. I've been working on a replacement web interface for Nagios, > and it's coming along great! However, I wanted to take the time to ask > the community some questions to get your feedback and roll it into the > interface. > > > So I have 3 questions to ask you all. If you could answer with as much > detail as possible, it would be fantastic. > > #1) What is the most important thing you want to see in a Tactical > Overview replacement? What are the most essential components? > > #2) When looking at a Host or a Service, what are the details you > want/need to see? What can you not live without? > > #3) What is your biggest gripe regarding the existing Nagios web user > interface? > > -- > Taylor Dondich (tdondich at gmail.com) > CEO at Lilac Networks (http://www.lilacnetworks.com) > Provider of quality support for open source monitoring solutions > View our open source Nagios Configuration Tool at > http://www.lilacplatform.com > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 25 16:01:02 2009 From: marc at ena.com (Marc Powell) Date: Wed, 25 Nov 2009 09:01:02 -0600 Subject: Nagios is logging "Service Check Timed Out" for certain service In-Reply-To: <200911250537.AA01253@S2007337.jp.fujitsu.com> References: <200911250537.AA01253@S2007337.jp.fujitsu.com> Message-ID: On Nov 24, 2009, at 11:37 PM, Yu Watanabe wrote: > Hello All. > > I am gathering information for a problem I had experienced in nagios v2.10. > > I was running Nagios on RHEL 4.5. The story is that Nagios suddenly started returing "Service Check Timed Out" > on a certain service, not on other services. The time that "Service Check Timed Out" started occuring was > 23:13:48. > > Has anyone had such experience? Yes. It means that the check is taking longer than either the plugin timeout or nagios' master timeout. There are many reasons why this could be happening but the most common are that the remote system is slow to respond or network problems between the nagios machine and the remote system are present. It could also be caused by problems with external systems as well such as DNS. There are far too many factors to give you a specific answer. You'll need to do some digging into events around that time on your network and systems in order to discover the cause. I'd suggest starting by discovering all the things that these problem checks have in common and check each for potential cause. -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 25 18:16:46 2009 From: israel at frontierflying.com (Israel Brewster) Date: Wed, 25 Nov 2009 08:16:46 -0900 Subject: What would you want in a replacement web interface? In-Reply-To: <6db4a4200911241248w2270faf3ude5a71a8184d7b55@mail.gmail.com> References: <4B017C60.8040707@lilacnetworks.com> <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> <542B1247-CC51-4EB4-9F7C-F097F53A1D33@frontierflying.com> <6db4a4200911241248w2270faf3ude5a71a8184d7b55@mail.gmail.com> Message-ID: <4147BDE7-7A88-4F8C-BFB0-A7A70A161337@frontierflying.com> No, knowing how to do "regular expression" (or wildcard) searches is not an extreme requirement. In fact, it makes perfect sense, and I am intimately familiar with both. That said, last time I tried that it didn't work - I'm not so stupid as to not think to try a simple wildcard :-). On the other hand, I'm running 3.0.6, as that is what is distributed with the stable version of OpenBSD. Perhaps this is something that was fixed in 3.1 or 3.2? I seem to recall reading something about a new web interface. So my point stands that this is MY biggest gripe with the web interface. If it's already been fixed, awesome! :-) On Nov 24, 2009, at 11:48 AM, shadih rahman wrote: > This is not an issue. nagios search bar does regular expression > search. do ffs-* in your box and it will result in all the hosts. > > Nagios is a monitoring tool. I think nagios users and > administrators are some what involved with technology. Knowing how > to do "regular expression" search is not an extreme requirement. > > On Tue, Nov 24, 2009 at 1:47 PM, Israel Brewster > wrote: > > 2009/11/16 Taylor Dondich : > > #3) What is your biggest gripe regarding the existing Nagios web user > interface? > > > The lack of a real search. The select box is practically useless. > For example, I have a bunch of hosts named ffs-, but if I > type in ffs- to the search box, I only get one result. I would > really like a real (albeit simple) search so if I type ffs, I get > ALL hosts containing ffs. > ----------------------------------------------- > Israel Brewster > Computer Support Technician II > Frontier Flying Service Inc. > 5245 Airport Industrial Rd > Fairbanks, AK 99709 > (907) 450-7250 x293 > ----------------------------------------------- > > > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and > focus on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > Cordially, > Shadhin Rahman ----------------------------------------------- Israel Brewster Computer Support Technician II Frontier Flying Service Inc. 5245 Airport Industrial Rd Fairbanks, AK 99709 (907) 450-7250 x293 ----------------------------------------------- -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Israel Brewster.vcf Type: text/directory Size: 417 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 25 19:12:07 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 25 Nov 2009 10:12:07 -0800 Subject: How to check a host, ping disabled In-Reply-To: References: Message-ID: <4B0D7377.6040402@hp.com> Samir Pathan wrote: > > Hello, > > > > I need to monitor the servers which has ping disabled. Where and what > configuration I have to change. Please suggest. > > Best regards, > > > > Sam. > Use something you *can* reach on the server as the host check. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Nov 25 19:14:18 2009 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 25 Nov 2009 10:14:18 -0800 Subject: What would you want in a replacement web interface? In-Reply-To: <4147BDE7-7A88-4F8C-BFB0-A7A70A161337@frontierflying.com> References: <4B017C60.8040707@lilacnetworks.com> <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> <542B1247-CC51-4EB4-9F7C-F097F53A1D33@frontierflying.com> <6db4a4200911241248w2270faf3ude5a71a8184d7b55@mail.gmail.com> <4147BDE7-7A88-4F8C-BFB0-A7A70A161337@frontierflying.com> Message-ID: <4B0D73FA.9050303@hp.com> Israel Brewster wrote: > No, knowing how to do "regular expression" (or wildcard) searches is > not an extreme requirement. In fact, it makes perfect sense, and I am > intimately familiar with both. That said, last time I tried that it > didn't work - I'm not so stupid as to not think to try a simple > wildcard :-). On the other hand, I'm running 3.0.6, as that is what is > distributed with the stable version of OpenBSD. Perhaps this is > something that was fixed in 3.1 or 3.2? I seem to recall reading > something about a new web interface. So my point stands that this is > MY biggest gripe with the web interface. If it's already been fixed, > awesome! :-) > > On Nov 24, 2009, at 11:48 AM, shadih rahman wrote: > >> This is not an issue. nagios search bar does regular expression >> search. do ffs-* in your box and it will result in all the hosts. >> >> Nagios is a monitoring tool. I think nagios users and administrators >> are some what involved with technology. Knowing how to do "regular >> expression" search is not an extreme requirement. >> >> On Tue, Nov 24, 2009 at 1:47 PM, Israel Brewster >> > wrote: >> >> >> 2009/11/16 Taylor Dondich > >: >> >> #3) What is your biggest gripe regarding the existing Nagios >> web user >> interface? >> >> >> >> The lack of a real search. The select box is practically useless. >> For example, I have a bunch of hosts named ffs-, but if >> I type in ffs- to the search box, I only get one result. I would >> really like a real (albeit simple) search so if I type ffs, I get >> ALL hosts containing ffs. >> While we're complaining about the search bar: How about having the search pull up something other than hosts. It drives me nuts that I can't get hits on a hostgroup or servicegroup name, for example. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From neufpas at gmail.com Wed Nov 25 19:31:05 2009 From: neufpas at gmail.com (Noel Platzke) Date: Wed, 25 Nov 2009 13:31:05 -0500 Subject: What would you want in a replacement web interface? In-Reply-To: <4B0D73FA.9050303@hp.com> References: <4B017C60.8040707@lilacnetworks.com> <765d77c80911200815q779b6128oa51b01796a2d5af8@mail.gmail.com> <542B1247-CC51-4EB4-9F7C-F097F53A1D33@frontierflying.com> <6db4a4200911241248w2270faf3ude5a71a8184d7b55@mail.gmail.com> <4147BDE7-7A88-4F8C-BFB0-A7A70A161337@frontierflying.com> <4B0D73FA.9050303@hp.com> Message-ID: <96c54e8b0911251031h6ad33af4jf83f6f1158b326dd@mail.gmail.com> My biggest gripe with the web interface is the inability to select multiple hosts/services/groups to ack or put into maintenance mode. I hate having to do them one at a time. Also it would be nice if dependent services didn't show up in the "Unhandled" view once the parent service was acked. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From td3201 at gmail.com Wed Nov 25 21:24:44 2009 From: td3201 at gmail.com (Terry) Date: Wed, 25 Nov 2009 14:24:44 -0600 Subject: custom reports Message-ID: <8ee061010911251224v1076703xfed4e2cef3237d8f@mail.gmail.com> Is it possible to create custom reports that pull in metrics about services? For example, I want to know how many alerts I get on passive services in a service group in a 24 hour period. I can code it just want to know where to start or if there is something I am missing. Thanks! ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Wed Nov 25 22:22:15 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Wed, 25 Nov 2009 22:22:15 +0100 Subject: How to check a host, ping disabled In-Reply-To: References: Message-ID: <20091125222215.38a5b40f@orange.fr> Le Wed, 25 Nov 2009 19:43:13 +0530, "Samir Pathan" a ?crit : > Can we monitor > ping disabled servers using Nagios? If yes, please suggest how to > configure it and where to configure it, file names pls. thanks. Huuumm. Did you read the answers to your previous question ? Not sure. -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From doepain at gmail.com Thu Nov 26 01:04:31 2009 From: doepain at gmail.com (dOE) Date: Wed, 25 Nov 2009 19:04:31 -0500 Subject: Clustering Nagios 3.x Message-ID: Is it possible to cluster two physical Nagios servers active\passive? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scabrera at portachtzig.de Thu Nov 26 09:19:47 2009 From: scabrera at portachtzig.de (Sebastian Cabrera) Date: Thu, 26 Nov 2009 09:19:47 +0100 Subject: Clustering Nagios 3.x In-Reply-To: References: Message-ID: <4B0E3A23.50304@portachtzig.de> Hi, dOE wrote: > Is it possible to cluster two physical Nagios servers active\passive? at least that should be possible using Heartbeat and DRBD. Don't know if that helps :) regards, Sebastian -- A: Yes. >Q: Are you sure? >>A: Because it reverses the logical flow of conversation. >>>Q: Why is top posting frowned upon? ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From misch at multinet.de Thu Nov 26 10:01:55 2009 From: misch at multinet.de (Michael Schwartzkopff) Date: Thu, 26 Nov 2009 10:01:55 +0100 Subject: Clustering Nagios 3.x In-Reply-To: <4B0E3A23.50304@portachtzig.de> References: <4B0E3A23.50304@portachtzig.de> Message-ID: <200911261001.55632.misch@multinet.de> Am Donnerstag, 26. November 2009 09:19:47 schrieb Sebastian Cabrera: > Hi, > > dOE wrote: > > Is it possible to cluster two physical Nagios servers active\passive? > > at least that should be possible using Heartbeat and DRBD. > Don't know if that helps :) > > regards, > > Sebastian Please do not use heartbeat any more. It is outdated. Please use pacemaker. See: www.clusterlabs.org Greetings, -- Dr. Michael Schwartzkopff MultiNET Services GmbH Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany Tel: +49 - 89 - 45 69 11 0 Fax: +49 - 89 - 45 69 11 21 mob: +49 - 174 - 343 28 75 mail: misch at multinet.de web: www.multinet.de Sitz der Gesellschaft: 85630 Grasbrunn Registergericht: Amtsgericht M?nchen HRB 114375 Gesch?ftsf?hrer: G?nter Jurgeneit, Hubert Martens --- PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B Skype: misch42 ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 at jimavery.me.uk Thu Nov 26 10:11:12 2009 From: jim at jimavery.me.uk (Jim Avery) Date: Thu, 26 Nov 2009 09:11:12 +0000 Subject: How to check a host, ping disabled In-Reply-To: References: Message-ID: <765d77c80911260111v633fd607p4692c40741e09a5a@mail.gmail.com> 2009/11/25 Samir Pathan : > Hello All, > > > > I have few servers with ping enable and disabled in two different locations. > I am currently monitoring ping enables servers successfully. Can we monitor > ping disabled servers using Nagios? If yes, please suggest how to configure > it and where to configure it, file names pls. thanks. See my answer to your earlier question. If you need some help understanding which configuration files to edit and how they all fit together, then I highly recommend the book "Nagios" by Wolfgang Barth pub. No Starch Press: http://nostarch.com/nagios_2e.htm ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Terry.Chow at hk.fortisnl.com Thu Nov 26 10:07:27 2009 From: Terry.Chow at hk.fortisnl.com (Terry.Chow at hk.fortisnl.com) Date: Thu, 26 Nov 2009 17:07:27 +0800 Subject: Nagios with MRTG Message-ID: Dear all, I am currently using Nagios 3 in Solaris 10 X86 version, it is fine. Also I have install MRTG on the server and configure to collect one switch interface traffic for testing. Is it possible to integrate MRTG graph about the switch interface traffic into Nagios? So that I can use Nagios portal to view the switch uptime, or other alert and also view the bandwidth usage of the switch in MRTG format. Thank you. Terry Chow System Engineer Fortis (Hong Kong) Limited 28/F Fortis Bank Tower 77-79 Gloucester Road Hong Kong Tel : +852-3653-0823 Email : terry.chow at hk.fortisnl.com ******** This message (including any attachments ) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you have received this message by mistake please notify the sender by return email and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. ******** -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agargiulo at users.sourceforge.net Thu Nov 26 12:43:42 2009 From: agargiulo at users.sourceforge.net (agargiulo at users.sourceforge.net) Date: Thu, 26 Nov 2009 12:43:42 +0100 Subject: NConf 1.2.6 released Message-ID: <1259235822PHP-mail@stars.access.ch> The long-awaited next version of NConf is now finally available for download! NConf is a PHP based web-tool for configuring the Nagios monitoring software. It differs from similar tools by offering enterprise-class features like templates, dependencies and the ability to configure a large-scale, distributed Nagios server topology. Among numerous improvements and bugfixes, the new release offers the following new functionality: - Improved GUI usability, smarter search-filters and forms - Service templates - Host templates (real, Nagios templates) - CSV config importer - Expanded database API - Various implemented user-requests - New web-portal for support & reference Download the new version here: http://www.nconf.org ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Nov 26 21:50:44 2009 From: mitsuto at gmail.com (Marcel) Date: Thu, 26 Nov 2009 18:50:44 -0200 Subject: Nagios with MRTG In-Reply-To: References: Message-ID: <2dfcbd1b0911261250g7a8bcc49r7f84a9080170d103@mail.gmail.com> There is a check_mrtg plugin, if i recall correctly, you can check against values on the RRD. On Thu, Nov 26, 2009 at 7:07 AM, wrote: > Dear all, > > > > I am currently using Nagios 3 in Solaris 10 X86 version, it > is fine. Also I have install MRTG on the server and configure to collect one > switch interface traffic for testing. > > > > Is it possible to integrate MRTG graph about the switch > interface traffic into Nagios? So that I can use Nagios portal to view the > switch uptime, or other alert and also view the bandwidth usage of the > switch in MRTG format. > > > > Thank you. > > > > Terry Chow > > System Engineer > > *Fortis **(Hong Kong) **Limited* > > 28/F Fortis Bank Tower > > 77-79 Gloucester Road > > Hong Kong > > Tel : +852-3653-0823 > > Email : terry.chow at hk.fortisnl.com > > > > ******** > This message (including any attachments ) is confidential and is intended solely for the use of the individual or entity to whom it is addressed. If you have received this message by mistake please notify the sender by return email and delete this message from your system. Any unauthorised use or dissemination of this message in whole or in part is strictly prohibited. > ******** > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mitsuto at gmail.com Thu Nov 26 22:50:12 2009 From: mitsuto at gmail.com (Marcel) Date: Thu, 26 Nov 2009 19:50:12 -0200 Subject: flapping detection and recovery notifications Message-ID: <2dfcbd1b0911261350gb8d03d2me35f1240985497e8@mail.gmail.com> Hi list, If I've flapping detection it supresses a Recovery notification in the event of the flapping detection start just in the case of a Recovery Notification? Is there a way to have flapping detection to NOT supress notification in the Recovery event? Cheers, Marcel -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nkeshav12 at gmail.com Fri Nov 27 08:38:43 2009 From: nkeshav12 at gmail.com (keshav murthy) Date: Fri, 27 Nov 2009 13:08:43 +0530 Subject: Help with notifications Message-ID: Hello all, We are using Nagios as our primary monitoring tool which is integrated with Remedy (ticketing system) by MasterCell. Current setup: *) Nagios identifies critical "Alert" *) mposter_service (agent by Mastercell) is invoked and the alert is passed to MasterCell *) Some Mastercell + Remedy magic is happening here ( I assume, there is priority set to each server in Remedy which is compared) and the tickets are generated as P1 tickets all the time even for non-critical server. In a month, we are getting around 8000 P1 tickets for 1600 Servers configured in Nagios 3.0.6 Question: Is there a notification method possible where in which we can send the alert priority along with the notification? I am also checking with the Mastercell expert who is an external vendor (he is very costly too ;-) ). you help is highly appreciated. Cheers Kesava -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hq.sofia at gmail.com Fri Nov 27 10:15:27 2009 From: hq.sofia at gmail.com (Sofia Haschiu) Date: Fri, 27 Nov 2009 11:15:27 +0200 Subject: Need help installing opcp Message-ID: <9f1fb4ae0911270115o3505d74dpd40f2dfcd5f22fe8@mail.gmail.com> Hi, Dario I visited your site and since opcp is what I was looking for as a capacity planning solution for Nagios I was eager to give it a try. Unfortunately the documentation on how to install the opcp is poor and I kindly ask you to tell me if there's some more detailed documentation on how to get the opcp to work. Or maybe someone who already managed to install this module can provide me some step-by-step advices. Thank you in advance Sofia Haschiu -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gael.cheron at free.fr Fri Nov 27 11:05:27 2009 From: gael.cheron at free.fr (Gael Cheron) Date: Fri, 27 Nov 2009 11:05:27 +0100 Subject: Distributed Monitoring & Disabling Checks In-Reply-To: <4B07EEA4.7070401@xforty.com> References: <20091120091910.GA22696@valley.addicks.org> <4B07EEA4.7070401@xforty.com> Message-ID: <8480e60f0911270205x328f83c4xc420da5ef06fc788@mail.gmail.com> Hi, I'm facing the same issue. And I'd like to find a way to turn off the monitoring on the remote host from the web interface on the main server. Because operators are not abble to log on the remote monitoring servers. Does anyone know if there is an add-on abble to do this ? I think about Centreon but I didn't test it yet. Regards, Ga?l. 2009/11/21 Andrew Libby > > >From my knowledge, you'll either need to log in to the > server running the remote nagios instance and disable checks > in the configuration, or turn notifications off at the > instance running the web interface. Depending on your > needs, it might seem a decent fit to simply turn off > notifications yet allow the monitoring to continue. > > Andy > > > Glynne Jones wrote: > > Hi, > > > > I'm in the process of setting up a distributed monitoring system and have > hit on an issue where one of my operators wants to disable a check in the > web interface but the check is actually being run on the remote distributed > system. > > > > How can I disable the check on the remote host in this example? > > > > Thanks, > > > > Glynne > > > > > > > > > ------------------------------------------------------------------------------ > > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > > trial. Simplify your report design, integration and deployment - and > focus on > > what you do best, core application coding. Discover what's new with > > Crystal Reports now. http://p.sf.net/sfu/bobj-july > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > -- > > =============================================== > xforty technologies > Andrew Libby > alibby at xforty.com > http://xforty.com > =============================================== > > > > ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. http://p.sf.net/sfu/bobj-july > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rlemerlus at merethis.com Fri Nov 27 12:48:38 2009 From: rlemerlus at merethis.com (Romain Le Merlus) Date: Fri, 27 Nov 2009 12:48:38 +0100 Subject: Distributed Monitoring & Disabling Checks In-Reply-To: <8480e60f0911270205x328f83c4xc420da5ef06fc788@mail.gmail.com> References: <20091120091910.GA22696@valley.addicks.org> <4B07EEA4.7070401@xforty.com> <8480e60f0911270205x328f83c4xc420da5ef06fc788@mail.gmail.com> Message-ID: <8d9ba4010911270348p4eaba1d0t8236d36f1ed253d9@mail.gmail.com> Hi Gael, On Fri, Nov 27, 2009 at 11:05 AM, Gael Cheron wrote: > I'm facing the same issue. And I'd like to find a way to turn off the > monitoring on the remote host from the web interface on the main server. > Because operators are not abble to log on the remote monitoring servers. > Does anyone know if there is an add-on abble to do this ? I think about > Centreon but I didn't test it yet. > You are right, you can do that through Centreon web interface. The external commands are managed with ACL, so the users are allow or not to submit them. Then, they are sent to the Nagios core regardless Nagios is installed on the Centreon server or a remote poller. Best regards. -- Romain LE MERLUS | Directeur des projets rlemerlus at merethis.com Tel. +33 (0)1 49 69 97 12 Mob. +33(0)6 85 05 02 82 MERETHIS est ?diteur du logiciel Centreon. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donald.teed at gmail.com Fri Nov 27 18:47:34 2009 From: donald.teed at gmail.com (D G Teed) Date: Fri, 27 Nov 2009 13:47:34 -0400 Subject: monitoring hundreds of network switches Message-ID: I'm looking for a streamlined method of configuring the check_fping test for hundreds of network switches. Looking at the examples I see for hosts and hostgroup configuration, e.g.: http://sourceforge.net/mailarchive/message.php?msg_name=5caea3690911120551o40031fe3o3994b8fc8b463143%40mail.gmail.com I can't see doing it that way, with a list of 400+ IPs in a single hostgroup. There must be a better way to do this. With the fping command (not check_fping) I can feed it a list of IPs to check from a file. If I ran fping with -a and did a diff between that output and my original list of IPs, I'd get a report of which switches are down. I could write a shell script to do this and set up a cron in less time than it would take to do the same in nagios with my current knowledge of the configuration options in nagios. I'm sure someone will be up to the challenge of showing me it is just as easy to set up in nagios. I saw this example: http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html<%20http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html> but I don't get "allhosts, switches" in the hostgroups configuration. Is this some sort of keyword or built-in wildcard? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july -------------- next part -------------- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 21:28:34 2009 From: marc at ena.com (Marc Powell) Date: Fri, 27 Nov 2009 14:28:34 -0600 Subject: monitoring hundreds of network switches In-Reply-To: References: Message-ID: <7D060D9D-75E5-4FD2-9FF4-140CFB940C33@ena.com> On Nov 27, 2009, at 11:47 AM, D G Teed wrote: > I'm looking for a streamlined method of configuring the check_fping > test for hundreds of network switches. > > Looking at the examples I see for hosts and hostgroup configuration, > > e.g.: http://sourceforge.net/mailarchive/message.php?msg_name=5caea3690911120551o40031fe3o3994b8fc8b463143%40mail.gmail.com > > I can't see doing it that way, with a list of 400+ IPs in a single hostgroup. > There must be a better way to do this. Different problem. If you're just wanting to ping them, the only purpose of the hostgroup would just be to group them for display in the GUI. You do need them in a hostgroup for that. They should be in a hostgroup anyway though, it's just better in the long-run. > With the fping command (not check_fping) I can feed it a list of IPs > to check from a file. If I ran fping with -a and did a diff between > that output and my original list of IPs, I'd get a report of which switches are > down. I could write a shell script to do this and set up a cron in less time > than it would take to do the same in nagios with my current knowledge > of the configuration options in nagios. fping != nagios in the same way that a bicycle != an 18 wheeler. Each solves different problem statements and their complexity relates directly to their functionality. fping may be the tool for you if that's all you need or until you get familiar with nagios configuration (and develop your workflow). I'm a hands-on kind of learner and I personally think you're not going to really learn it until you do it though. > I saw this example: > http://nagios.sourceforge.net/docs/3_0/monitoring-routers.html > but I don't get "allhosts, switches" in the hostgroups configuration. > Is this some sort of keyword or built-in wildcard? No, they're not keywords, the names are arbitrary but hopefully representational. They're real hostgroup{}s with appropriate members (or a wildcard member for allhosts presumably) created by you if you like those names. It should be fairly straightforward for you... You'll first need to create a hostgroup{} definition to contain all the switches. - http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup define hostgroup{ hostgroup_name switches alias All Your Switches Are Belong To Us } There are at least 3 ways to associate your switches with this hostgroup. I purposely avoided using a 'members' directive with a wildcard because you may one day monitor more than just these switches... I also didn't list out each switch in the members line either. You could do it, but it gets messy to manage by hand. A third way, and most flexible, is below. Next, you'll need to create a host{} definition for each of your switches. Your script-fu powers should come in handy here (i.e. a long one-liner awk should do it). Besides the usual required parameters, be sure to set the 'hostgroups' parameter to 'switches' to include it in the group above -- http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host define host{ host_name cool_switch alias Freezer Switch address 192.168.1.2 hostgroups switches check_command check_fping ;(or whatever it's called) check_period 24x7 ; (or whatever your schedule is) check_interval 5 ; (or whatever your schedule is) retry_interval 1 ; (or whatever your schedule is) other required parameters ... } Make sure that these directives are put in a cfg_file that nagios reads, verify your config (/path/to/nagios -f /path/to/nagios.cfg), fix any problems, start nagios and voila. Not as good as home made bread but tasty none-the-less... -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Flyinvap at orange.fr Fri Nov 27 22:10:50 2009 From: Flyinvap at orange.fr (Flyinvap) Date: Fri, 27 Nov 2009 22:10:50 +0100 Subject: monitoring hundreds of network switches In-Reply-To: <7D060D9D-75E5-4FD2-9FF4-140CFB940C33@ena.com> References: <7D060D9D-75E5-4FD2-9FF4-140CFB940C33@ena.com> Message-ID: <20091127221050.20670eb1@orange.fr> Le Fri, 27 Nov 2009 14:28:34 -0600, Marc Powell a ?crit : > > Next, you'll need to create a host{} definition for each of your > switches. Your script-fu powers should come in handy here (i.e. a I agree. Use scripts to create config files are finally the best way. Keep your scripts, you can use their to modify configs in the future. > > define host{ > host_name cool_switch > alias Freezer Switch > address 192.168.1.2 > hostgroups switches > check_command check_fping ;(or whatever it's called) > check_period 24x7 ; (or whatever your schedule is) > check_interval 5 ; (or whatever your schedule is) > retry_interval 1 ; (or whatever your schedule is) > other required parameters ... > } I like to use template. define host{ name switch-template register 0 hostgroups switches check_command check_fping ;(or whatever it's called) check_period 24x7 ; (or whatever your schedule is) check_interval 5 ; (or whatever your schedule is) retry_interval 1 ; (or whatever your schedule is) other required parameters ... } define host{ host_name cool_switch alias Freezer Switch address 192.168.1.2 use switch-template } I you want to change a value for all your switches, you just have to modify the template. If you just want to modify one switch, you can overwrite a parameter, you change it in the switch config file. Object inheritance is useful [1]. For example : define host{ host_name other_switch alias Another Switch address 192.168.1.3 use switch-template retry_interval 3 ; change from template ... } [1] http://nagios.sourceforge.net/docs/3_0/objectinheritance.html -- Flyinvap ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Nov 27 22:57:10 2009 From: marc at ena.com (Marc Powell) Date: Fri, 27 Nov 2009 15:57:10 -0600 Subject: monitoring hundreds of network switches In-Reply-To: <20091127221050.20670eb1@orange.fr> References: <7D060D9D-75E5-4FD2-9FF4-140CFB940C33@ena.com> <20091127221050.20670eb1@orange.fr> Message-ID: <826FF2E9-A1F3-44A5-87EA-08FE9C77456C@ena.com> On Nov 27, 2009, at 3:10 PM, Flyinvap wrote: > Le Fri, 27 Nov 2009 14:28:34 -0600, > Marc Powell a ?crit : > >> >> Next, you'll need to create a host{} definition for each of your >> switches. Your script-fu powers should come in handy here (i.e. a > > I agree. Use scripts to create config files are finally the best way. > Keep your scripts, you can use their to modify configs in the future. ++ I've have scripts that automate the monitoring of 99% of our devices that I wrote about 9 years ago that have only needed changes as config file changes occurred. Our staff just needs to input some basic data about new or changed devices into a DB (via web) and it all Just Works. My Nagios time is almost entirely limited to figuring out why things are down. =) > I like to use template. Of course we make extensive use of templates as well... I didn't want to add that complexity to an already long e-mail ;) -- Marc ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From donald.teed at gmail.com Sat Nov 28 05:12:43 2009 From: donald.teed at gmail.com (D G Teed) Date: Sat, 28 Nov 2009 00:12:43 -0400 Subject: monitoring hundreds of network switches In-Reply-To: <7D060D9D-75E5-4FD2-9FF4-140CFB940C33@ena.com> References: <7D060D9D-75E5-4FD2-9FF4-140CFB940C33@ena.com> Message-ID: On Fri, Nov 27, 2009 at 4:28 PM, Marc Powell wrote: > > Different problem. If you're just wanting to ping them, the only purpose of > the hostgroup would just be to group them for display in the GUI. You do > need them in a hostgroup for that. They should be in a hostgroup anyway > though, it's just better in the long-run. > As mentioned, a script can generate such config files. But would they work? Has anyone tried listing 400+ hosts in a hostgroup? > You'll first need to create a hostgroup{} definition to contain all the > switches. - > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#hostgroup > > define hostgroup{ > hostgroup_name switches > alias All Your Switches Are Belong To Us > } > > There are at least 3 ways to associate your switches with this hostgroup. I > purposely avoided using a 'members' directive with a wildcard because you > may one day monitor more than just these switches... I also didn't list out > each switch in the members line either. You could do it, but it gets messy > to manage by hand. A third way, and most flexible, is below. > > Next, you'll need to create a host{} definition for each of your switches. > Your script-fu powers should come in handy here (i.e. a long one-liner awk > should do it). Besides the usual required parameters, be sure to set the > 'hostgroups' parameter to 'switches' to include it in the group above -- > http://nagios.sourceforge.net/docs/3_0/objectdefinitions.html#host > > define host{ > host_name cool_switch > alias Freezer Switch > address 192.168.1.2 > hostgroups switches > check_command check_fping ;(or whatever it's called) > check_period 24x7 ; (or whatever your schedule is) > check_interval 5 ; (or whatever your schedule is) > retry_interval 1 ; (or whatever your schedule is) > other required parameters ... > } > > I'm liking that the hosts don't need to be listed in a hostgroup but can be configured as in your example. That is much more workable. It looks like this will meet our needs nicely and I will be automating the generation of the configs for this part of our nagios set up. Thanks for your help everyone... -------------- next part -------------- An HTML attachment was scrubbed... URL: