From hannu.liljemark at gstdomain.net Mon May 1 10:33:42 2006 From: hannu.liljemark at gstdomain.net (Hannu Liljemark) Date: Mon, 1 May 2006 11:33:42 +0300 Subject: Active Directory Monitoring In-Reply-To: <20060201151204.GA9755@luckyduck.tux> References: <20060201151204.GA9755@luckyduck.tux> Message-ID: <20060501083342.GB2772@sigourney> On Wed, Feb 01, 2006 at 04:12:05PM +0100, Jan Brinkmann wrote: > I'm currently searching for a way to monitor an active directory using > nagios. Check check_dns against your AD-integrated DNS servers so they return your domain controller IP addresses when you query your domain name. Run check_ldap against all domain controllers (even the ones with no DNS server) to see they return something (for authentication create a domain user account and tell check_ldap to bind to the DC machines with that). And as suggested by others, check CPU use, memory, disk space and services (netlogon, dns, kdc, ntfrs) with check_nt or check_nc_net. -- Hannu Liljemark | Appelsiini Finland Oy | http://appelsiini.fi ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bart.poort at omroep.nl Mon May 1 11:20:26 2006 From: bart.poort at omroep.nl (Bart Poort) Date: Mon, 1 May 2006 11:20:26 +0200 (CEST) Subject: Command argument question Message-ID: Hi List, I'm using command arguments to keep my client configuration as short as possible. The server and client configuration look like this at the moment: define service{ host_name esmeralda service_description CPU Load check_command check_nrpe!check_load -a 4,2,2 6,4,4 use template } command[check_load]=/local/nagios-plugins/check_load -w $ARG1$ -c $ARG2$ I want to make te client configfile even shorter by doing something like this: define service{ host_name esmeralda service_description CPU Load check_command check_nrpe!check_load -a -w 4,2,2 -c 6,4,4 use template } command[check_load]=/local/nagios-plugins/check_load $ARG1$ So what i actually want is -w 4,2,2 -c 6,4,4 to fit on $ARG1$.Is that possible? Thanks in advance. Kind regards, -- Bart Poort, internetbeheerder Publieke Omroep Internet Services []() --Where's the GUI on this thing?-- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Mon May 1 11:18:32 2006 From: paul at ranahminang.net (PD) Date: Mon, 1 May 2006 16:18:32 +0700 Subject: Installation error on FBSD 5.4 In-Reply-To: <20060429155923.GL31183@torres.l21.ma.zugschlus.de> References: <20060429155923.GL31183@torres.l21.ma.zugschlus.de> Message-ID: <200605011618.32183.paul@ranahminang.net> Hi folks, I still new to this nagios. When try to install it from FBSD ports, I got the following error : # pwd /usr/ports/net-mgmt/nagios # make ===> Vulnerability check disabled, database not found ===> Found saved configuration for nagios-2.2 ===> Extracting for nagios-2.2 => Checksum OK for nagios-2.2.tar.gz. ===> nagios-2.2 depends on file: /usr/local/bin/perl5.8.6 - found ===> Patching for nagios-2.2 ===> nagios-2.2 depends on file: /usr/local/bin/perl5.8.6 - found ===> Applying FreeBSD patches for nagios-2.2 -e 's#"main.html"#"main.html"#' /usr/ports/net-mgmt/nagios/work/nagios-2.2/html/index.html.in -e: not found *** Error code 127 Stop in /usr/ports/net-mgmt/nagios. # The installation is from FBSD 5.4 ports Any advices will be appriciated. Regards PD ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From R.Ford at pindar.com Mon May 1 19:44:04 2006 From: R.Ford at pindar.com (Rob Ford) Date: Mon, 1 May 2006 18:44:04 +0100 Subject: Rob Ford is out of the office. Message-ID: I will be out of the office starting 25/04/2006 and will not return until 10/05/2006. I will respond to your message when I return. *********************************************************************************** This e-mail and attachments are intended for the above name only and may be confidential. If they have come to you in error, you must take no action based on them, nor must copy or show them to anyone; please reply to this e-mail and report the error. Security warning: Please note that this e-mail has been created in the knowledge that the internet is not a one hundred percent secure communication medium. We advise that you understand and observe this lack of security when e-mailing us. Virus: Although we have taken steps to ensure that this e-mail and attachments are free from any virus, we advise that in keeping with good practice the recipient should ensure they are actually virus free. If you have received this e-mail in error please notify: postmaster at pindar.com This message has been scanned for viruses by MailControl - www.mailcontrol.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From subscribe at aehome.net Mon May 1 21:10:21 2006 From: subscribe at aehome.net (subscribe) Date: Mon, 1 May 2006 14:10:21 -0500 Subject: Installation error on FBSD 5.4 In-Reply-To: <200605011618.32183.paul@ranahminang.net> References: <200605011618.32183.paul@ranahminang.net> Message-ID: <001301c66d52$f679c880$0208090a@a1> Its been a while since I installed on bsd but I never saw that particular error. Did you update your ports? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of PD Sent: Monday, May 01, 2006 4:19 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Installation error on FBSD 5.4 Hi folks, I still new to this nagios. When try to install it from FBSD ports, I got the following error : # pwd /usr/ports/net-mgmt/nagios # make ===> Vulnerability check disabled, database not found ===> Found saved configuration for nagios-2.2 ===> Extracting for nagios-2.2 => Checksum OK for nagios-2.2.tar.gz. ===> nagios-2.2 depends on file: /usr/local/bin/perl5.8.6 - found ===> Patching for nagios-2.2 ===> nagios-2.2 depends on file: /usr/local/bin/perl5.8.6 - found ===> Applying FreeBSD patches for nagios-2.2 -e 's#"main.html"#"main.html"#' /usr/ports/net-mgmt/nagios/work/nagios-2.2/html/index.html.in -e: not found *** Error code 127 Stop in /usr/ports/net-mgmt/nagios. # The installation is from FBSD 5.4 ports Any advices will be appriciated. Regards PD ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From treed at ultraviolet.org Tue May 2 02:10:39 2006 From: treed at ultraviolet.org (Tracy R Reed) Date: Mon, 01 May 2006 17:10:39 -0700 Subject: remote passive checks Message-ID: <4456A37F.1080008@ultraviolet.org> I am setting up nagios for the first time to monitor my companies systems. I have the active checking working fine. But I am confused as to how passive checks are best implemented. When I chose nagios I had thought (incorrectly it seems) that nagios would come with some sort of daemon or service that would connect or be connected to the main nagios system to report on things like disk usage, load, swap, etc. But upon reading: http://nagios.sourceforge.net/docs/1_0/passivechecks.html and many other documents and postings it seems this is not the case. I have chosen nsca because I prefer my machines connect to my server since some of them may be behind firewalls etc. The problem is how do I feed the data into nsca? For some reason it seems that the output from the checks that come with nagios (check_disk, check_load, check_swap) are not compatible with the input for nsca. Why is this? It seems many people have written their own wrappers for the checks to feed nsca. I am wondering how I am going to handle configuration and management of this wrapper to wrap all of the local checks and configure them appropriately for the local machine. The nagios config on the server does not apply to remote checks. So basically I have to write a custom shell script for each server that calls all of the right checks with the right arguments, converts their output, and passes the result into send_nsca to the main nagios server. At that point it almost seems cleaner to just write my own program from scratch in python which does the local checks I am interested in and passes the result into send_nsca. But since this is a need everyone with more than one system to monitor must have I must be reinventing the wheel here. I feel like I must have missed something and that there has got to be a more elegant way to do it. Suggestions? Advice? Pillories? -- Tracy R Reed http://ultraviolet.org ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From holger at CIS.FU-Berlin.DE Tue May 2 03:33:31 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Tue, 2 May 2006 03:33:31 +0200 Subject: remote passive checks In-Reply-To: <4456A37F.1080008@ultraviolet.org> References: <4456A37F.1080008@ultraviolet.org> Message-ID: <20060502013330.GB26953387@CIS.FU-Berlin.DE> * Tracy R Reed [2006-05-01 17:10]: > I have chosen nsca because I prefer my machines connect to my server > since some of them may be behind firewalls etc. The problem is how do I > feed the data into nsca? For some reason it seems that the output from > the checks that come with nagios (check_disk, check_load, check_swap) > are not compatible with the input for nsca. Yes, see the README file included with the NSCA package for a description of the format. > Why is this? For passive checks, the exit code of the plugin and the host/service the submitted plugin output refers to must be passed to Nagios in addition to the usual plugin output for active checks. > I am wondering how I am going to handle configuration and management of > this wrapper to wrap all of the local checks and configure them > appropriately for the local machine. The nagios config on the server > does not apply to remote checks. So basically I have to write a custom > shell script for each server that calls all of the right checks with the > right arguments, converts their output, and passes the result into > send_nsca to the main nagios server. You could use a wrapper script such as the following (not tested): ftp://ftp.in-berlin.de/pub/users/weiss/nagios/tools/nsca_client.sh This wrapper could be called via the following crontab entry: * * * * * /path/to/nsca_client.sh diskspace /path/to/check_disk -w 20% -c 10% | /path/to/send_nsca Holger -- PGP fingerprint: F1F0 9071 8084 A426 DD59 9839 59D3 F3A1 B8B5 D3DE ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travis at pageonepr.com Tue May 2 05:22:11 2006 From: travis at pageonepr.com (travis at pageonepr.com) Date: 2 May 2006 03:22:11 -0000 Subject: Travis Van Is Out of the Office Message-ID: <20060502032211.13416.qmail@ds.bigproduction.com> I will be at Interop (www.interop.com) this week, back in the office on Friday, May 5. If urgent, please call me on my cell: 650.380.9738 Thanks, Travis Van ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From paul at ranahminang.net Tue May 2 10:31:54 2006 From: paul at ranahminang.net (PD) Date: Tue, 2 May 2006 15:31:54 +0700 Subject: Installation error on FBSD 5.4 In-Reply-To: <001301c66d52$f679c880$0208090a@a1> References: <001301c66d52$f679c880$0208090a@a1> Message-ID: <200605021531.54678.paul@ranahminang.net> On Tuesday 02 May 2006 02:10, subscribe wrote: > Its been a while since I installed on bsd but I never saw that particular > error. Did you update your ports? > Well.. the port just updated before 'make' command issued. The port version downloaded is v2.2 PD ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adrian.bridgett at opsera.com Tue May 2 18:03:58 2006 From: adrian.bridgett at opsera.com (Adrian Bridgett) Date: Tue, 02 May 2006 17:03:58 +0100 Subject: macros in check_command Message-ID: <445782EE.9060905@opsera.com> I've had a google for this but can't see anyone else reporting it. I have a website which I'd like to monitor, however it will be loadbalanced and HA'd between two machines. I'd therefore like to monitor, webA, webB and the external address. define hostgroup{ hostgroup_name ext_web alias External webservers contact_groups web-admins members webA,webB } define host{ use generic-host host_name webA alias webA (HA-1) } define host{ use generic-host host_name webB alias webB (HA-2) } define command{ command_name check_ext_web command_line /usr/lib/nagios/plugins/check_http -H www.example.com -I $ARG1$ -u "/" -s "Welcome to Example.com" -w 2 -c 10 } define service{ use frequent-service hostgroup_name mgmt service_description external web contact_groups web-admins check_command check_ext_web!www.example.com event_handler_enabled 1 event_handler event-handler } define service{ use frequent-service hostgroup_name ext_web service_description external web contact_groups web-admins check_command check_ext_web!$HOSTADDRESS$ event_handler_enabled 1 event_handler event-handler } However although the first service works fine, the second one doesn't. check_http ends up being called with "$" instead of the address of webA and webB. I've left out the details of the "mgmt" group. This is nagios 1.3 I'm afraid. Looking at the docs and reading between the lines a little am I correct in saying that macros are _only_ supported in commands in v1.3? http://nagios.sourceforge.net/docs/1_0/macros.html Many thanks, Adrian -- **Adrian Bridgett ** -------------- next part -------------- An HTML attachment was scrubbed... URL: From Janet.Post at excapsa.ca Tue May 2 18:18:44 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Tue, 2 May 2006 12:18:44 -0400 Subject: Grouping services and hosts Message-ID: Hello, I have a nagios setup that is GIGANTIC -- over 1000 hosts and over 2000 services. And we are just getting started (we are only about one-third the way done!). I need to be able to group hosts and services together a little more logically for the side menu for my administrators. For example: Host Groups New York Host Host Host LA Production Host Host Testing Host Host Host Host And I would like the labels "New York" and "LA" to give me a tactical view of all the hosts under them, and the "Production" and "Testing" to give tactical views of the hosts under them. Is this possible? Is there some configuration voodoo I can do to make this work? Thanks, Janet ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From noyler at khimetrics.com Tue May 2 18:26:59 2006 From: noyler at khimetrics.com (Nathan Oyler) Date: Tue, 2 May 2006 09:26:59 -0700 Subject: Grouping services and hosts Message-ID: <59B15593F41BD24591D59436E7226EAD03A6FA34@Khiphx2.khimetrics.com> Who needs voodoo?! Per your example, your host groups Very easy to get a view of what you want. NY_Linux NY_Windows LA_PROD_Linux LA_PROD_Windows LA_TEST_Linux LA_TEST_Windows LA_Linux LA_Windows > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Janet Post > Sent: Tuesday, May 02, 2006 9:19 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Grouping services and hosts > > Hello, > > I have a nagios setup that is GIGANTIC -- over 1000 hosts and over 2000 > services. And we are just getting started (we are only about one-third > the way done!). I need to be able to group hosts and services together > a little more logically for the side menu for my administrators. > > For example: > > Host Groups > New York > Host > Host > Host > LA > Production > Host > Host > Testing > Host > Host > Host > Host > > > And I would like the labels "New York" and "LA" to give me a tactical > view of all the hosts under them, and the "Production" and "Testing" to > give tactical views of the hosts under them. Is this possible? Is > there some configuration voodoo I can do to make this work? > > Thanks, > > Janet > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Tue May 2 19:27:50 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Tue, 2 May 2006 13:27:50 -0400 Subject: Nagios 2.2 and FreeBSD 4.x + LinuxThreads stops doing checks Message-ID: I'm seeing a weird problem where Nagios doesn't seem to do checks after a while (a few hours), it seemed to have happened with 2.0 as well. Is the problem I'm describing supposed to be fixed with 2.2 or is it still a known unresolved issue? I have another machine with FreeBSD 6.0 and Nagios 2.2 is fine there so far. -- Mark Hennessy ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Tue May 2 19:40:43 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 2 May 2006 10:40:43 -0700 Subject: Perfomance Data via NDO? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD443FF88@raptor.redhawk.info> Hello Everyone, For some odd reason, I have it in my head that you can write performance data into the NDO tables via a service check command. I have looked at PerfParse, but quite frankly, adding on, yet another add-on seems like more work than it should be. I'm looking for bandwidth utilization type performance, uptime, interface errors, etc. I would like to write that the perfdata column for the ndo_servicestatus table. I can use the check_snmp check for the interface errors, and write the data. But I wonder if that's the correct direction. Am I off base here, or do I need another cup of coffee? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Tue May 2 22:09:03 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 2 May 2006 22:09:03 +0200 (CEST) Subject: macros in check_command In-Reply-To: <445782EE.9060905@opsera.com> References: <445782EE.9060905@opsera.com> Message-ID: On Tue, 2 May 2006, Adrian Bridgett wrote: > define service{ > use frequent-service > hostgroup_name ext_web > service_description external web > contact_groups web-admins > check_command check_ext_web!$HOSTADDRESS$ > event_handler_enabled 1 > event_handler event-handler > } This is not valid. You can only use these variable in you command definition but not in your service definition. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue May 2 22:12:00 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 2 May 2006 22:12:00 +0200 (CEST) Subject: Nagios 2.2 and FreeBSD 4.x + LinuxThreads stops doing checks In-Reply-To: References: Message-ID: On Tue, 2 May 2006, Mark Hennessy wrote: > I'm seeing a weird problem where Nagios doesn't seem to do checks after a > while (a few hours), it seemed to have happened with 2.0 as well. Is the > problem I'm describing supposed to be fixed with 2.2 or is it still a known > unresolved issue? If you are - using flap detection - see the nagios process die then you may still suffer from the bug which is supposed to be solved in Nagios 2.2 Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Tue May 2 23:09:13 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Tue, 2 May 2006 17:09:13 -0400 Subject: Nagios 2.2 and FreeBSD 4.x + LinuxThreads stops doing checks Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Hugo van der Kooij > Sent: Tuesday, May 02, 2006 4:12 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Nagios 2.2 and FreeBSD 4.x + > LinuxThreads stops doing checks > > On Tue, 2 May 2006, Mark Hennessy wrote: > > > I'm seeing a weird problem where Nagios doesn't seem to do > checks after a > > while (a few hours), it seemed to have happened with 2.0 as > well. Is the > > problem I'm describing supposed to be fixed with 2.2 or is > it still a known > > unresolved issue? > > If you are > - using flap detection > - see the nagios process die > then you may still suffer from the bug which is supposed to > be solved in > Nagios 2.2 > > Hugo. The Nagios process doesn't die, and flap detection is disabled. > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org > http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Tue May 2 23:49:42 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Tue, 2 May 2006 14:49:42 -0700 Subject: Perfomance Data via NDO? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD443FF8C@raptor.redhawk.info> I might be closer to answer my own question, but I think this is a "submit_check_result" issue, rather than NDO issue. Looking through the NDO source code, I see where it has the ability to write to the perfdata column. I think the problem lies within the "submit_check_results" command. It doesn't really send the performance data, but rather drops it. Here is my output: ./check_snmp_int -H 10.1.1.1 -C public -n -f em1:UP, em0:UP, exp0:UP:3 UP: OK | 'em1_in_octet'=381357882c 'em1_out_octet'=1161492429c 'em0_in_octet'=1464302566c 'em0_out_octet'=550763402c 'exp0_in_octet'=70379851c 'exp0_out_octet'=56255289c I think it has to do with the single quotes and the "|" (pipe) . I by far am no programmer. My submit_check_result is the typical one that comes with Nagios. Here it is: #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=3 ;; esac /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/libexec/send_nsca -H -to 15 -c /usr/local/nagios/etc/send_nsca.cfg Thoughts? Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Tuesday, May 02, 2006 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Perfomance Data via NDO? Hello Everyone, For some odd reason, I have it in my head that you can write performance data into the NDO tables via a service check command. I have looked at PerfParse, but quite frankly, adding on, yet another add-on seems like more work than it should be. I'm looking for bandwidth utilization type performance, uptime, interface errors, etc. I would like to write that the perfdata column for the ndo_servicestatus table. I can use the check_snmp check for the interface errors, and write the data. But I wonder if that's the correct direction. Am I off base here, or do I need another cup of coffee? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsullivan at opensourcedevel.com Wed May 3 05:13:58 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Tue, 02 May 2006 23:13:58 -0400 Subject: Regular Expression Expansion Message-ID: <1146626038.3001.7.camel@localhost> Hello, all. I'm still struggling a bit with regular expression expansion in Nagios 2.0. Here is a snippet from a config file I have been playing with: define servicedependency{ dependent_host_name HammondSGGW.niag dependent_service_description ^Tun.*-Chattanooga$, ^Tun.*-Midlothian$ #dependent_service_description ^Tun.*-(?:Chattanooga|Midlothian)$ host_name BuffaloSGGW.niag service_description Niagara_SSH execution_failure_criteria c } The commented line generates errors on pre-flight check. It's almost as if it cannot handle the alternation (|). Have I mangled the regular expression or is this a peculiarity of Nagios? Thanks - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travis at pageonepr.com Wed May 3 05:17:29 2006 From: travis at pageonepr.com (travis at pageonepr.com) Date: 3 May 2006 03:17:29 -0000 Subject: Travis Van Is Out of the Office Message-ID: <20060503031729.7563.qmail@ds.bigproduction.com> I will be at Interop (www.interop.com) this week, back in the office on Friday, May 5. If urgent, please call me on my cell: 650.380.9738 Thanks, Travis Van ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ravikmrs at yahoo.com Wed May 3 08:08:11 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Tue, 2 May 2006 23:08:11 -0700 (PDT) Subject: Dynamic DNSmonitoring Message-ID: <20060503060811.63530.qmail@web53903.mail.yahoo.com> Hi, I want to monitor couple of server which IP will get chance but box name would be same.Is there any way we can monitor? thanks Ravi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Wed May 3 08:22:08 2006 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 03 May 2006 16:22:08 +1000 Subject: Dynamic DNSmonitoring In-Reply-To: <20060503060811.63530.qmail@web53903.mail.yahoo.com> References: <20060503060811.63530.qmail@web53903.mail.yahoo.com> Message-ID: <44584C10.80105@qut.edu.au> Hello Ravi, Ravi Kumar wrote: > Hi, > I want to monitor couple of server which IP will get chance but box name > would be same.Is there any way we can monitor? Enter the DNS name in the address field for that host definition - your Nagios server will then have to hit the DNS server each time a service check runs on that host, but it will get the current IP that name resolves to. -- Greg Vickers Project Manager, IT Security Information Technology Services Queensland University of Technology L12, 126 Margaret St, Brisbane Phone: +61 7 3864 9536 Mobile: 0410 434 734 Fax: +61 7 3864 2921 Email: g.vickers at qut.edu.au IT Security web site: http://www.its.qut.edu.au/itsecurity/ CRICOS No. 00213J ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From adrian.bridgett at opsera.com Wed May 3 09:42:00 2006 From: adrian.bridgett at opsera.com (Adrian Bridgett) Date: Wed, 03 May 2006 08:42:00 +0100 Subject: macros in check_command In-Reply-To: References: <445782EE.9060905@opsera.com> Message-ID: <44585EC8.2090602@opsera.com> Hugo van der Kooij wrote: > [snip] > This is not valid. > > You can only use these variable in you command definition but not in your > service definition. > Darn. Oh well, thanks for the confirmation. Adrian -- **Adrian Bridgett ** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sghosh at sghosh.org Wed May 3 13:41:32 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Wed, 3 May 2006 07:41:32 -0400 (EDT) Subject: Dynamic DNSmonitoring In-Reply-To: <44584C10.80105@qut.edu.au> References: <20060503060811.63530.qmail@web53903.mail.yahoo.com> <44584C10.80105@qut.edu.au> Message-ID: On Wed, 3 May 2006, Greg Vickers wrote: > Hello Ravi, > > Ravi Kumar wrote: >> Hi, >> I want to monitor couple of server which IP will get chance but box name >> would be same.Is there any way we can monitor? > > Enter the DNS name in the address field for that host definition - your > Nagios server will then have to hit the DNS server each time a service > check runs on that host, but it will get the current IP that name > resolves to. Also make sure your DNS refresh time is set low enough such that the IP is not cached at the resolvers. -- -sg ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Wed May 3 16:45:51 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 3 May 2006 10:45:51 -0400 Subject: Nagios stops recording checks Message-ID: Hello, I am running 1.2 with a very large implementation. (many many hosts and services) It has suddenly stopped recording when the last checks have occurred and when the next checks happen. This is a big problem. Is there something I can do to reset them? ----------------------------- Janet Post Unix Application and Network Monitor Excapsa Services Inc. 416-640-1556 x5165 janet.post at excapsa.ca ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed May 3 16:53:36 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 3 May 2006 16:53:36 +0200 (CEST) Subject: Nagios stops recording checks In-Reply-To: References: Message-ID: On Wed, 3 May 2006, Janet Post wrote: > I am running 1.2 with a very large implementation. (many many hosts and > services) It has suddenly stopped recording when the last checks have > occurred and when the next checks happen. This is a big problem. Is > there something I can do to reset them? Is nagios still running? Of so: Are you running too many nagios daemons? I suggest you stop nagios the regular way and then check to make sure you have no other nagios daemons running. Once your system is clear you could start nagios again as daemon. Let us know if this solved your issue. If not: Provide more details. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Wed May 3 17:24:57 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Wed, 3 May 2006 11:24:57 -0400 Subject: Nagios stops recording checks Message-ID: Problem fixed. I stopped and restarted the process many times, every time making sure there were no residual processes left behind and it did not solve the problem. I was composing my email with more details, discussing my database setup, when it occurred to me that I did not restart the database. I shut down nagios, and restarted the database. When nagios restarted, the schedule was working properly again. :-) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: May 3, 2006 10:54 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios stops recording checks On Wed, 3 May 2006, Janet Post wrote: > I am running 1.2 with a very large implementation. (many many hosts and > services) It has suddenly stopped recording when the last checks have > occurred and when the next checks happen. This is a big problem. Is > there something I can do to reset them? Is nagios still running? Of so: Are you running too many nagios daemons? I suggest you stop nagios the regular way and then check to make sure you have no other nagios daemons running. Once your system is clear you could start nagios again as daemon. Let us know if this solved your issue. If not: Provide more details. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cocianain at yahoo.com Wed May 3 17:32:28 2006 From: cocianain at yahoo.com (Cormac O' Cianain) Date: Wed, 3 May 2006 08:32:28 -0700 (PDT) Subject: status.sav to rentention.dat Message-ID: <20060503153228.66965.qmail@web50008.mail.yahoo.com> Hi there, Has anyone had to convert status.sav (Netsaint) to retention.dat(Nagios) ? I have just installed Nagios 2.2 and converted the log and config files over but I haven't been able to find an easy way to convert status.sav to retention.dat (These are in very different formats). This needs to be done as I have 4 years of historical data that I'd like to keep. I'm sure it can be done manually but it could take a while. Does anyone know of a easier way to do this? Thanks, Cormac __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 3 17:50:26 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 3 May 2006 11:50:26 -0400 Subject: status.sav to rentention.dat Message-ID: Hisorical data is not contained in retention.dat. It only saves the last state of each service. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cormac O' Cianain Sent: Wednesday, May 03, 2006 8:32 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] status.sav to rentention.dat Hi there, Has anyone had to convert status.sav (Netsaint) to retention.dat(Nagios) ? I have just installed Nagios 2.2 and converted the log and config files over but I haven't been able to find an easy way to convert status.sav to retention.dat (These are in very different formats). This needs to be done as I have 4 years of historical data that I'd like to keep. I'm sure it can be done manually but it could take a while. Does anyone know of a easier way to do this? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 3 17:51:30 2006 From: marc at ena.com (Marc Powell) Date: Wed, 3 May 2006 10:51:30 -0500 Subject: status.sav to rentention.dat Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Cormac O' Cianain > Sent: Wednesday, May 03, 2006 10:32 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] status.sav to rentention.dat > > Hi there, > > Has anyone had to convert status.sav (Netsaint) to > retention.dat(Nagios) ? > I have just installed Nagios 2.2 and converted the log > and config files over but I haven't been able to find > an easy way to convert status.sav to retention.dat > (These are in very different formats). > > This needs to be done as I have 4 years of historical > data that I'd like to keep. I'm sure it can be done > manually but it could take a while. Does anyone know > of a easier way to do this? There's really no need from my experience. status.sav and retention.dat just contain current status information and they'll be re-populated on the first check of each service based on your current configs and check results. status.sav is used by the CGI's to display current status and retention.dat is used by nagios to reload current state on restart. All historical information is in nagios/netsaint.log and the archives. The only thing that I can think of that might be interesting to port over from retention.dat might be acknowledgement status. I handled that by looking at the comments file for ACKNOWLEDGMENT and greping out the appropriate parts of the line to submit an acknowledgement external command. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 3 18:01:16 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 3 May 2006 12:01:16 -0400 Subject: Perfomance Data via NDO? Message-ID: You'll need to pass the $SERVICEPERFDATA$ variable into the submission script as well. I tweaked my nsca submission command to include $SERVICEPERFDATA$ in the command configuration, then changed the prontf line in the submission script like this: /usr/bin/printf "%s\t%s\t%s\t%s|%s\n" "$1" "$2" "$return_code" "$4" "$5" | /usr/local/nagios/libexec/send_nsca -H -to 15 -c /usr/local/nagios/etc/send_nsca.cfg ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Tuesday, May 02, 2006 2:50 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Perfomance Data via NDO? I might be closer to answer my own question, but I think this is a "submit_check_result" issue, rather than NDO issue. Looking through the NDO source code, I see where it has the ability to write to the perfdata column. I think the problem lies within the "submit_check_results" command. It doesn't really send the performance data, but rather drops it. Here is my output: ./check_snmp_int -H 10.1.1.1 -C public -n -f em1:UP, em0:UP, exp0:UP:3 UP: OK | 'em1_in_octet'=381357882c 'em1_out_octet'=1161492429c 'em0_in_octet'=1464302566c 'em0_out_octet'=550763402c 'exp0_in_octet'=70379851c 'exp0_out_octet'=56255289c I think it has to do with the single quotes and the "|" (pipe) . I by far am no programmer. My submit_check_result is the typical one that comes with Nagios. Here it is: #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=3 ;; esac /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/libexec/send_nsca -H -to 15 -c /usr/local/nagios/etc/send_nsca.cfg Thoughts? Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Tuesday, May 02, 2006 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Perfomance Data via NDO? Hello Everyone, For some odd reason, I have it in my head that you can write performance data into the NDO tables via a service check command. I have looked at PerfParse, but quite frankly, adding on, yet another add-on seems like more work than it should be. I'm looking for bandwidth utilization type performance, uptime, interface errors, etc. I would like to write that the perfdata column for the ndo_servicestatus table. I can use the check_snmp check for the interface errors, and write the data. But I wonder if that's the correct direction. Am I off base here, or do I need another cup of coffee? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From Schimpke.Thomas at bhn-services.com Wed May 3 18:02:03 2006 From: Schimpke.Thomas at bhn-services.com (Schimpke, Dr. Thomas - bhn) Date: Wed, 3 May 2006 18:02:03 +0200 Subject: snmp problem with apan In-Reply-To: <43CBAB44.4060202@juntadeandalucia.es> References: <43CBAB44.4060202@juntadeandalucia.es> Message-ID: <1146672124.12301.52.camel@raptor.lenze.com> Hi, I think, you've enabled the processing of performance data in nagios (I wrote before)... That means, that the check_snmp plugin of *nagios* will output performance data to apan, but apan could not handle these data and the insert into the RRD files fail. I've fixed that the hard way: in snmp.sh in the plugins-sql directory of apan I've inserted in function snmpget (which is used to gather interface data) after the call of check_snmp and the status code the following lines: # # Delete Performance data information VALUE=$(echo ${VALUE} | sed 's/|.*$//') This line will delete everything from the check_snmp output, after the '|' character, which is used in nagios to seperate regular data from performance data. Not nice, but it seems to work. Thomas On Mon, 2006-01-16 at 15:18 +0100, Jose Castilla Gallardo wrote: > Hi, in status information get > > "SNMP OK: IN:iso.3.6.1.2.1.2.2.1.10.1=341414189c::::, " but in the graph > haven`t data. Do you know why? > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cocianain at yahoo.com Wed May 3 19:06:44 2006 From: cocianain at yahoo.com (Cormac O' Cianain) Date: Wed, 3 May 2006 10:06:44 -0700 (PDT) Subject: status.sav to rentention.dat In-Reply-To: References: Message-ID: <20060503170644.17043.qmail@web50006.mail.yahoo.com> Hi Mark, Thanks for getting back to me. Does the status.sav file not: Store host and service state information before it shuts down. The state information in this file is then read immediately prior the starting to monitor the network when NetSaint is restarted? I only know this because, when I moved this file and restarted netsaint, all the hosts then went into pending state and then "Ping OK" for 4 mins etc. The exact same thing happened when I moved retention.dat. I can only presume that this is where the historical data is kept. I need to convert the files so I can prove SLA's have been meet in the past fwe years. Any idea's ? Thanks in advance, Cormac __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Guarino at jpl.nasa.gov Wed May 3 19:13:54 2006 From: Frank.Guarino at jpl.nasa.gov (Frank Guarino) Date: Wed, 03 May 2006 10:13:54 -0700 Subject: Problem: host UP messages Message-ID: <4458E4D2.2060406@jpl.nasa.gov> Hi Everyone, I'm still fairly new to Nagios and I'm having a problem with notifications. I keep getting unwanted UP messages like: >Subject: PROBLEM alert - Host /xxxhostname.domainname/ is UP >Host 'SunFire-880 - Solaris 9 - NBU Media Server 2' is UP >Info: PING OK - Packet loss = 0%, RTA = 0.29 ms >Time: Fri Apr 28 14:16:19 PDT 2006 These messages only occur when a service is down (for something like maintenance) but the host is up. This is occurring from all hosts/servers. Also, these messages don't appear under the 'Notifications' page on the web interface. I've adjusted the settings and eliminated any 'Recovery' options for events or notifications, but I still get the messages. Has anyone seen these messages before? Can anyone give me advice on what setting I have wrong or is this a bug I need to report? Thanks in advance for any help! -Frank Guarino -Frank.Guarino at Jpl.nasa.gov -------------- next part -------------- A non-text attachment was scrubbed... Name: Frank.Guarino.vcf Type: text/x-vcard Size: 322 bytes Desc: not available URL: From marc at ena.com Wed May 3 19:42:41 2006 From: marc at ena.com (Marc Powell) Date: Wed, 3 May 2006 12:42:41 -0500 Subject: status.sav to rentention.dat Message-ID: > -----Original Message----- > From: Cormac O' Cianain [mailto:cocianain at yahoo.com] > Sent: Wednesday, May 03, 2006 12:07 PM > To: Marc Powell; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] status.sav to rentention.dat > > Hi Mark, > > Thanks for getting back to me. > Does the status.sav file not: > Store host and service state information before it > shuts down. The state information in this file is then > read immediately prior the starting to monitor the > network when NetSaint is restarted? > > I only know this because, when I moved this file and > restarted netsaint, all the hosts then went into > pending state and then "Ping OK" for 4 mins etc. Status.sav must by your state_retention_file. It is only used on restart to load the last known state of hosts/services before shutdown. Removing the file forces nagios to re-determine the state of the hosts and services from the next check which it would normally do anyway. If you do nothing with this file when upgrading, host and service states will be UNDETERMINED during the interval between shutting down the old nagios and starting up your new. I was able to accomplish that change in under 3 minutes with a little pre-planning. You could run them in tandem for a period of time equal to your log_rotation and not even have that or even merge the current log files. > > The exact same thing happened when I moved > retention.dat. I can only presume that this is where > the historical data is kept. I need to convert the > files so I can prove SLA's have been meet in the past > fwe years. Any idea's ? Why assume when you can verify? Perform this test again and actually look at the historical data. It'll be there. Look at the contents of status.sav even. You'll see that it only contains current information at the time it was created. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed May 3 19:51:25 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 3 May 2006 19:51:25 +0200 (CEST) Subject: status.sav to rentention.dat In-Reply-To: <20060503170644.17043.qmail@web50006.mail.yahoo.com> References: <20060503170644.17043.qmail@web50006.mail.yahoo.com> Message-ID: On Wed, 3 May 2006, Cormac O' Cianain wrote: > Thanks for getting back to me. > Does the status.sav file not: > Store host and service state information before it > shuts down. The state information in this file is then > read immediately prior the starting to monitor the > network when NetSaint is restarted? > > I only know this because, when I moved this file and > restarted netsaint, all the hosts then went into > pending state and then "Ping OK" for 4 mins etc. > > The exact same thing happened when I moved > retention.dat. I can only presume that this is where > the historical data is kept. I need to convert the > files so I can prove SLA's have been meet in the past > fwe years. Any idea's ? If you need to retain proof then you have to build a new system and keep the old one running untill eveything is OK and then store the old system in a safe or something. In my view you need to produce the reports from the old one and scratch it as soon as you can do a month report on the new system that matches the old one. So how do you handle a broken disk on your Nagios system? If that happens all your proof is down the drain as well I guess. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed May 3 19:54:30 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 3 May 2006 19:54:30 +0200 (CEST) Subject: Problem: host UP messages In-Reply-To: <4458E4D2.2060406@jpl.nasa.gov> References: <4458E4D2.2060406@jpl.nasa.gov> Message-ID: On Wed, 3 May 2006, Frank Guarino wrote: > I'm still fairly new to Nagios and I'm having a problem with notifications. > > I keep getting unwanted UP messages like: > > >Subject: PROBLEM alert - Host /xxxhostname.domainname/ is UP > > >Host 'SunFire-880 - Solaris 9 - NBU Media Server 2' is UP > >Info: PING OK - Packet loss = 0%, RTA = 0.29 ms > >Time: Fri Apr 28 14:16:19 PDT 2006 > > These messages only occur when a service is down (for something like > maintenance) but the host is up. This is occurring from all > hosts/servers. Also, these messages don't appear under the > 'Notifications' page on the web interface. I've adjusted the settings > and eliminated any 'Recovery' options for events or notifications, but I > still get the messages. > > Has anyone seen these messages before? Can anyone give me advice on > what setting I have wrong or is this a bug I need to report? You have to better then this. You have not shown your service or host definition(s). If you want people to think along make sure they know things because at this point the best guess is configuration error but there is no way tell unless you tell us what you did configure. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Wed May 3 22:25:24 2006 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Wed, 3 May 2006 21:25:24 +0100 Subject: Printable Documentation Message-ID: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> Hello to all, I've repackaged the Official Nagios documentation to generate a "pretty" printable version of the doc. (2side version, table of content and page numbering, chapter numbering ...) Available here: http://runnagios.be/index.html?doc.html Comments are welcome ... Regards, Seb. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill.kimura at baesystems.com Wed May 3 22:23:53 2006 From: bill.kimura at baesystems.com (Kimura, Bill (US SSA)) Date: Wed, 3 May 2006 16:23:53 -0400 Subject: check_http plugin question Message-ID: <9570F1681AC3D5498D54FC9D4A6FADAB010F962C@blums0017.alphatech.com> Greetings, If I don't define a warning/critical response time for the check_http plugin, and the plugin ends up timing out by default after 10 seconds, will notification be sent? Or do I need to define a timeout? I was hoping that I could just rely on the default plugin timeout of 10 seconds since that's acceptable for notification. Thanks, Bill Kimura Senior Unix Administrator BAE Systems Advanced Information Technologies 6 New England Executive Park Burlington, MA 01803 Phone: 781-273-3388 x545 Cell: 781-389-2572 Email: bill.kimura at baesystems.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 3 22:48:45 2006 From: td3201 at gmail.com (Terry) Date: Wed, 03 May 2006 15:48:45 -0500 Subject: check_http plugin question In-Reply-To: <9570F1681AC3D5498D54FC9D4A6FADAB010F962C@blums0017.alphatech.com> References: <9570F1681AC3D5498D54FC9D4A6FADAB010F962C@blums0017.alphatech.com> Message-ID: <4459172D.1020208@gmail.com> Crit/warn messages depend on the return code sent by the plugin. My guess in your case it will return 2 for critical. you can always run the command manually on the command line and do "echo $?". This gives you the return code that nagios uses to determine how notifications are handled. Kimura, Bill (US SSA) wrote: > Greetings, > If I don't define a warning/critical response time > for the check_http plugin, and the plugin ends up > timing out by default after 10 seconds, will notification > be sent? Or do I need to define a timeout? I was > hoping that I could just rely on the default plugin > timeout of 10 seconds since that's acceptable for > notification. > > Thanks, > > Bill Kimura > Senior Unix Administrator > BAE Systems Advanced Information Technologies > 6 New England Executive Park > Burlington, MA 01803 > > Phone: 781-273-3388 x545 > Cell: 781-389-2572 > Email: bill.kimura at baesystems.com > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Guarino at jpl.nasa.gov Wed May 3 23:43:03 2006 From: Frank.Guarino at jpl.nasa.gov (Frank Guarino) Date: Wed, 03 May 2006 14:43:03 -0700 Subject: Problem: host UP messages Message-ID: <445923E7.1080605@jpl.nasa.gov> Hi Everyone, Sorry the last post didn't contain any configuration information. I was hoping someone had seen this before. Here are the relevant files: nagios.cfg: # Written by NSFG (1.0 Release Candidate 1) at: May 3, 2006, 11:36 am# Generated for IBS Network log_file=/var/log/nagios/nagios.log cfg_file=/etc/nagios/host_templates.cfg cfg_file=/etc/nagios/hosts.cfg cfg_file=/etc/nagios/commands.cfg cfg_file=/etc/nagios/timeperiods.cfg cfg_file=/etc/nagios/contactgroups.cfg cfg_file=/etc/nagios/contacts.cfg cfg_file=/etc/nagios/hostgroups.cfg cfg_file=/etc/nagios/service_templates.cfg cfg_file=/etc/nagios/services.cfg cfg_file=/etc/nagios/servicegroups.cfg resource_file=/etc/nagios/resources.cfg cfg_file=/etc/nagios/hostextinfo.cfg cfg_file=/etc/nagios/serviceextinfo.cfg cfg_file=/etc/nagios/dependencies.cfg log_file=/var/log/nagios/nagios.log temp_file=/var/log/nagios/nagios.tmp status_file=/var/log/nagios/status.dat aggregate_status_updates=1 status_update_interval=15 nagios_user=nagios nagios_group=nagios enable_notifications=1 execute_service_checks=1 accept_passive_service_checks=1 enable_event_handlers=1 log_rotation_method=d log_archive_path=/var/log/nagios/archives check_external_commands=1 command_check_interval=-1 command_file=/var/log/nagios/rw/nagios.cmd downtime_file=/var/log/nagios/downtime.dat comment_file=/var/log/nagios/comments.dat lock_file=/var/run/nagios.pid p1_file=/usr/bin/p1.pl retain_state_information=1 state_retention_file=/var/log/nagios/retention.dat retention_update_interval=60 use_retained_program_state=1 use_syslog=1 log_notifications=1 log_service_retries=1 log_host_retries=1 log_event_handlers=1 log_initial_states=0 log_external_commands=1 log_passive_checks=1 sleep_time=0.25 service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 interval_length=60 use_aggressive_host_checking=0 enable_flap_detection=0 low_service_flap_threshold=5 high_service_flap_threshold=20 low_host_flap_threshold=5 high_host_flap_threshold=20 service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 obsess_over_services=0 process_performance_data=0 check_for_orphaned_services=0 check_service_freshness=0 date_format=us illegal_object_name_chars=`~!$%^&*|'"<>?,()= illegal_macro_output_chars=`~$&|'"<> admin_email=Frank.Guarino at jpl.nasa.gov admin_pager=pagenagios object_cache_file=/var/log/nagios/objects.cache execute_host_checks=1 service_inter_check_delay_method=s use_retained_scheduling_info=0 accept_passive_host_checks=1 max_service_check_spread=30 host_inter_check_delay_method=s max_host_check_spread=30 auto_reschedule_checks=0 auto_rescheduling_interval=30 auto_rescheduling_window=180 check_host_freshness=0 host_freshness_check_interval=60 service_freshness_check_interval=60 use_regexp_matching=0 use_true_regexp_matching=0 event_broker_options=-1 daemon_dumps_core=0 some entries from hosts.cfg: define host { use IBS External Support Server host_name nbs-sapg1.jpl.nasa.gov alias Ultra-60 - Solaris 9 - NBU Master Server ISO address 128.149.128.51 check_command check_ssh hostgroups UNIX Servers,Unix FTP Access contact_groups SystemAdmins-WH,OnCall_SA } define host { use IBS External Production Server host_name nbs-uprd002.jpl.nasa.gov alias x86_64 - Linux - SUSE Enterprise Server 9 - ccharvest host address 128.149.128.137 check_command check_ssh hostgroups LINUX,UNIX Servers contact_groups SystemAdmins-WH,OnCall_SA } define host { use IBS Internal Support Server host_name media1.jpl.nasa.gov alias SunFire-280R - Solaris 9 - NBU Media Server 1 address 137.78.46.30 hostgroups UNIX Servers,Unix FTP Access contact_groups SystemAdmins-WH,OnCall_SA } the host_template.cfg file: # Written by NSFG (1.0 Release Candidate 1) at: May 3, 2006, 11:36 am # Generated for IBS Network define host { name IBS BOSS Server use IBS External Production Server check_command check_ssh max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS DCO Server check_period 24x7 notification_interval 0 notification_period NBSServiceHours register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS DMZ Server use IBS External Production Server check_command check_ssh max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS Equipment use IBS DCO Server check_command check-host-alive check_interval 1 event_handler host-notify-by-epager register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS External Development Server use IBS External Production Server check_command check_ssh max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS External Production Server use IBS External Server check_command check_ssh max_check_attempts 15 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS External Server use IBS DCO Server check_command check_ssh check_interval 5 event_handler host-notify-by-epager register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS External Support Server use IBS External Production Server check_command check_ssh max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS Internal Development Server use IBS Internal Production Server check_command check-host-alive max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS Internal Production Server use IBS Internal Server check_command check-host-alive max_check_attempts 15 register 0 notification_options d,u,r contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS Internal Support Equipment use IBS Equipment check_command check-host-alive max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name IBS Internal Support Server use IBS Internal Production Server check_command check-host-alive max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define host { name Library Server use IBS External Production Server check_command check_ssh max_check_attempts 8 register 0 contact_groups SystemAdmins-WH,OnCall_SA } some entries from the services.cfg file: define service { use FTP Service service_description FTP check_command check_ftp hostgroup_name Unix FTP Access contact_groups OnCall_SA,SystemAdmins-WH } define service { use CPULOAD00 service_description CPU Load hostgroup_name UNIXCPU10 contact_groups SystemAdmins-WH,OnCall_SA } define service { service_description HTTP passive_checks_enabled 1 host_name nbs.jpl.nasa.gov } The service_templates.cfg: define service { name CPULOAD00 use System Level Service check_command check_nrpe!check_load!10,5,5!15,10,10 register 0 contact_groups SystemAdmins-WH,OnCall_SA } define service { name FTP Service use Production Service check_command check_ftp normal_check_interval 10 notification_interval 0 register 0 contact_groups OnCall_SA,SystemAdmins-WH } define service { name HTTP Service use Production Service check_command check_http register 0 } define service { name HTTP-check-uri Service use Production Service check_command check_uri register 0 } define service { name IBS DCO Service max_check_attempts 5 normal_check_interval 5 retry_check_interval 1 check_period 24x7 event_handler host-notify-by-epager event_handler_enabled 1 notification_interval 0 notification_period 24x7 notifications_enabled 1 register 0 notification_options w,u,c } define service { name Support Service use IBS DCO Service register 0 } define service { name System Level Service use IBS DCO Service check_command check_nrpe register 0 } define service { name TNS Ping Service use Production Service check_command check_oracle register 0 contact_groups OnCall_DBA,DatabaseAdmins-WH } If you need any other configuration information, let me know and I'll post that as well. Thanks in advance! -Frank Guarino Original message: I'm still fairly new to Nagios and I'm having a problem with notifications. I keep getting unwanted UP messages like: >Subject: PROBLEM alert - Host /xxxhostname.domainname/ is UP >Host 'SunFire-880 - Solaris 9 - NBU Media Server 2' is UP >Info: PING OK - Packet loss = 0%, RTA = 0.29 ms >Time: Fri Apr 28 14:16:19 PDT 2006 These messages only occur when a service is down (for something like maintenance) but the host is up. This is occurring from all hosts/servers. Also, these messages don't appear under the 'Notifications' page on the web interface. I've adjusted the settings and eliminated any 'Recovery' options for events or notifications, but I still get the messages. Has anyone seen these messages before? Can anyone give me advice on what setting I have wrong or is this a bug I need to report? Thanks in advance for any help! -Frank Guarino -Frank.Guarino at Jpl.nasa.gov -------------- next part -------------- A non-text attachment was scrubbed... Name: Frank.Guarino.vcf Type: text/x-vcard Size: 322 bytes Desc: not available URL: From travis at pageonepr.com Thu May 4 05:21:39 2006 From: travis at pageonepr.com (travis at pageonepr.com) Date: 4 May 2006 03:21:39 -0000 Subject: Travis Van Is Out of the Office Message-ID: <20060504032139.904.qmail@ds.bigproduction.com> I will be at Interop (www.interop.com) this week, back in the office on Friday, May 5. If urgent, please call me on my cell: 650.380.9738 Thanks, Travis Van ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Thu May 4 08:50:59 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Thu, 04 May 2006 10:50:59 +0400 Subject: How service and host checks work together? Message-ID: Hi there! I have some poblem: I user nagios to monitor about 1000 hosts (radio bridges on base stations, routers and switches) with a very big tree of connections (using "parents" in host definition). Now I use active host checks to determine host status (It's very much importaint to me if a host is DOWN or UNREACHABLE (i.e. its parent is DOWN). Since active host checks are not parallelized, when some big base station crashes, about 100-200 units crash too and nagios begins to check host states very slow. To prevent that lag in host cheks and determining of host state I have to migrate from active host checks to active service checks. The question is how to configure nagios to change host status to DOWN or UNREACHABLE after active service check (PING) of this host failed (changed status to CRITICAL). Where can I find info about how active service checks work with host states? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Thu May 4 09:01:54 2006 From: estair at ilm.com (Eli Stair) Date: Thu, 4 May 2006 00:01:54 -0700 Subject: How service and host checks work together? References: Message-ID: <6E56E676C9D6A74EBC980144BC06A17D01469877@mailbox03.lucas.alllucas.com> After turning off active host checks, assign a service check of whatever type and frequency you want to use in order to determine host up state. Next, assign a parent for the host configuration of devices _behind_ (logically, from the point of view/route of the monitor host) the parent using the "parents" option. At this point, after either a detected service failure in the gateway device directly, or by a forced parent check if nagios detects a host down behind it, you will end up having the parent gateway device in a dependency chain that is always checked on failure. If it _is_ down, your settings for host alerts based on unreachable and down will be used. For more precise explanation & usage, check the object/template config file docs in your installation or nagios.org. /eli -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Danila Kutepkin Sent: Wed 5/3/2006 11:50 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How service and host checks work together? Hi there! I have some poblem: I user nagios to monitor about 1000 hosts (radio bridges on base stations, routers and switches) with a very big tree of connections (using "parents" in host definition). Now I use active host checks to determine host status (It's very much importaint to me if a host is DOWN or UNREACHABLE (i.e. its parent is DOWN). Since active host checks are not parallelized, when some big base station crashes, about 100-200 units crash too and nagios begins to check host states very slow. To prevent that lag in host cheks and determining of host state I have to migrate from active host checks to active service checks. The question is how to configure nagios to change host status to DOWN or UNREACHABLE after active service check (PING) of this host failed (changed status to CRITICAL). Where can I find info about how active service checks work with host states? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From qstreb at tannakra.net Thu May 4 09:14:21 2006 From: qstreb at tannakra.net (qstreb) Date: Thu, 04 May 2006 09:14:21 +0200 Subject: nagios friends/neighborhood Message-ID: <4459A9CD.6030207@tannakra.net> the company i work for is facing the decision to leave the CA and implement Nagios & friends. The problem is we need ISIL comformance and for that we need software that play nice with nagios (plugins, central DB) RT would be nice for tracking, but Asset Management is a real pain in the a.. So what do you use for asset (hardware, software, licenses) tracking & inventory, auto software patching/installation etc. please URGENT! It could be the only possibility we have to get out of CA, if we dont convince the top project manager, we will be stuck the next 3 years with CA :( thats a lot of costs, better a part to go for oss support :) Please give your recomendations based on experience, as we have only one "stop" person to put nagios in charge. Thank you very much for your recomendations, if you feel its a kind of advertisement, send it directly to my email Oh yes, this installation will be for Linux, Solaris, Windows & Cisco domain. Kind Regards, Qstreb ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 4 09:44:02 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 4 May 2006 09:44:02 +0200 (CEST) Subject: nagios friends/neighborhood In-Reply-To: <4459A9CD.6030207@tannakra.net> References: <4459A9CD.6030207@tannakra.net> Message-ID: On Thu, 4 May 2006, qstreb wrote: > the company i work for is facing the decision to leave the CA and > implement Nagios & friends. > > The problem is we need ISIL comformance > and for that we need software that play nice with nagios (plugins, > central DB) > RT would be nice for tracking, but Asset Management is a real pain in > the a.. Frankly. This is where we leave Nagios behind. Nagios is part of the solution and that is fine. But your question needs a carefull investigation and goes miles beyond what nagios can do. So I personally feel it is inappropriate to burden this list with such a question. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miguelfa at eu.skechers.com Thu May 4 10:31:06 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Thu, 04 May 2006 09:31:06 +0100 Subject: change nagios 1.2 to 2 Message-ID: <4459BBCA.4090606@eu.skechers.com> Hi guys, I installed nagios 2 on a machine that has nagios 1.2. I made sure the paths were diferent as I dont want to remove the old nagios until I have fully tested the new one. My problem at the moment is that I cant get the new nagios to run on the web browser, only the old one. You guys have any suggestions to what I could check to change that? old nagios folder is nagios and the new one is nagios2 Thanks -- Miguel Faria IT department - Skechers USA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Thu May 4 10:55:20 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Thu, 04 May 2006 12:55:20 +0400 Subject: active service checks and host statses Message-ID: Hi there! host1 with IP address 172.21.1.100 has disabled active host cheks and a service called PING. When a state of the SERVICE check PING chenges HARD (ie from OK to CRITICAL and vice versa), I'd like to see a change in a HOST state (from UP to DOWN/UNREACHABLE). Is there any configuration tricks in service and host configuration of Nagios to achieve such schema? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Juliet_Tree at cotyinc.com Thu May 4 11:00:47 2006 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Thu, 4 May 2006 10:00:47 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 04/05/2006 and will not return until 08/05/2006. I am away so please contact Mike Procyshyn on 2261 for any urgent issues. Thankyou Thanks. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Thu May 4 11:04:56 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Thu, 04 May 2006 05:04:56 -0400 Subject: nagios friends/neighborhood In-Reply-To: References: <4459A9CD.6030207@tannakra.net> Message-ID: <1146733496.3015.2.camel@localhost> On Thu, 2006-05-04 at 09:44 +0200, Hugo van der Kooij wrote: > On Thu, 4 May 2006, qstreb wrote: > > > the company i work for is facing the decision to leave the CA and > > implement Nagios & friends. > > > > The problem is we need ISIL comformance > > and for that we need software that play nice with nagios (plugins, > > central DB) > > RT would be nice for tracking, but Asset Management is a real pain in > > the a.. > > Frankly. This is where we leave Nagios behind. Nagios is part of the > solution and that is fine. But your question needs a carefull > investigation and goes miles beyond what nagios can do. > > So I personally feel it is inappropriate to burden this list with such a > question. > > Hugo. > Actually, I was very appreciative that the question was asked. I have the same issues and am quite curious about how other nagios users have addressed the problem even if it is not strictly a technical problem. -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Thu May 4 11:12:24 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Thu, 04 May 2006 13:12:24 +0400 Subject: change nagios 1.2 to 2 In-Reply-To: <4459BBCA.4090606@eu.skechers.com> References: <4459BBCA.4090606@eu.skechers.com> Message-ID: On Thu, 04 May 2006 09:31:06 +0100 Miguel Faria wrote: > Hi guys, > > I installed nagios 2 on a machine that has nagios 1.2. I made sure >the paths were diferent as I dont want to remove the old nagios until >I have fully tested the new one. My problem at the moment is that I >cant get the new nagios to run on the web browser, only the old one. > > You guys have any suggestions to what I could check to change that? >old nagios folder is nagios and the new one is nagios2 > > Thanks > > -- > Miguel Faria > IT department - Skechers USA > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, >security? > Get stuff done quickly with pre-integrated technology to make your >job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache >Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk >being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Thu May 4 11:29:23 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Thu, 04 May 2006 13:29:23 +0400 Subject: change nagios 1.2 to 2 In-Reply-To: <4459BBCA.4090606@eu.skechers.com> References: <4459BBCA.4090606@eu.skechers.com> Message-ID: 1. paths for different nagioses must be different too. (for example /home/apache/www/nafios and /home/apache/www/nagios2 2 you need to make some changes in youe httpd.conf and create two directories for web-interfaces: for http://localhost/nagios & http://localhost/nagios2 (and don't forget about paths for CGI). 4. check that htaccess files for auth. users 5. check permitions for apache user to read files 6. see your access.log and error.log to enshure that you have corrent paths. as another way - create virual domain in apache for new nagios ;-) On Thu, 04 May 2006 09:31:06 +0100 Miguel Faria wrote: > Hi guys, > > I installed nagios 2 on a machine that has nagios 1.2. I made sure >the paths were diferent as I dont want to remove the old nagios until >I have fully tested the new one. My problem at the moment is that I >cant get the new nagios to run on the web browser, only the old one. > > You guys have any suggestions to what I could check to change that? >old nagios folder is nagios and the new one is nagios2 > > Thanks > > -- > Miguel Faria > IT department - Skechers USA > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, >security? > Get stuff done quickly with pre-integrated technology to make your >job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache >Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk >being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gorste at tesco.net Thu May 4 12:06:23 2006 From: gorste at tesco.net (Gordon Stewart) Date: Thu, 4 May 2006 10:06:23 +0000 Subject: NSCA - Connection refused Message-ID: <20060504100623.ONLU16286.aamtaout03-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear List I have installed central nagios and nsca on some remote sites. The nsca works ok but some times I get "Connection Refuse" on my central server. If I log onto the remote site and force a check then the central server will report correctly. Is there a way of stopping the Connection Refuse from happening. Thanks Gordon Stewart ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 4 12:49:43 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 4 May 2006 12:49:43 +0200 (CEST) Subject: NSCA - Connection refused In-Reply-To: <20060504100623.ONLU16286.aamtaout03-winn.ispmail.ntl.com@smtp.ntlworld.com> References: <20060504100623.ONLU16286.aamtaout03-winn.ispmail.ntl.com@smtp.ntlworld.com> Message-ID: On Thu, 4 May 2006, Gordon Stewart wrote: > I have installed central nagios and nsca on some remote sites. The nsca works ok but some times I get "Connection Refuse" on my central server. If I log onto the remote site and force a check then the central server will report correctly. Is there a way of stopping the Connection Refuse from happening. The key is to find the reason for the refusal. As you seem to know the time at which it occurs it should be possible to read all the logs and see what happens around that time. Check you logs of nagios, ncsa, os on both systems, firewall/router/.... The thruth is out there. But as you are the one with access to these logs you have to go through them and tell us which entries strike you as odd. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From qstreb at tannakra.net Thu May 4 15:33:08 2006 From: qstreb at tannakra.net (qstreb) Date: Thu, 04 May 2006 15:33:08 +0200 Subject: nagios friends/neighborhood In-Reply-To: References: <4459A9CD.6030207@tannakra.net> Message-ID: <445A0294.9070104@tannakra.net> Hugo van der Kooij schrieb: > On Thu, 4 May 2006, qstreb wrote: > >> the company i work for is facing the decision to leave the CA and >> implement Nagios & friends. >> >> The problem is we need ISIL comformance >> and for that we need software that play nice with nagios (plugins, >> central DB) >> RT would be nice for tracking, but Asset Management is a real pain in >> the a.. > > Frankly. This is where we leave Nagios behind. Nagios is part of the > solution and that is fine. But your question needs a carefull > investigation and goes miles beyond what nagios can do. > > So I personally feel it is inappropriate to burden this list with such a > question. > > Hugo. > Frankly, you are complete right, except that it is all about nagios 1. I will summurize: The point is we need a system: system=(monitoring+tickets+(asset-management+softwaredelivery/patching)) 2. we want nagios monitoring we found RT as sufficient we need (asset-management+softwaredelivery/patching) 3. thats my question: what do you use, comform & easy to integrate with nagios & RT, not needed to be OpenSource (but no so costly as a CA), just good enough to be able to link it with the nagios objects and vs 4. case A: we dont have all the tools and visual repretesentation that our manager request: we are forced to use CA, and spent money and effort on the wrong place 4. case B: we have all the tools for the system: we engage a X company, that works in cooperation with nagios developers, we pay for nagios support, we contribute ideas, patches & experience to the nagios community sincerely yours, qstreb p.s. right now 3 of us are researching the missing part - (asset-management+softwaredelivery/patching) Windows2003, Solaris10-sparc/x86, linux - redhat/SuSE/Debian, *BSD ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Thu May 4 15:33:03 2006 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITISEEEE) Date: Thu, 4 May 2006 14:33:03 +0100 Subject: Nagios 2.2 Extended host/service Core dumps Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50329E381@abe-s-039.europe.shell.com> Folks After using Nagios 1.2 for years , decided to upgrade to Nagios 2.2 There seems to be a problem with the number of entries in the Extended host/service cfg file. If I have 43 or less Extended host info Defines , than Nagios works fine. If however I go over the 43 mark , it seg dump on me. # ../bin/nagios -v nagios.cfg Nagios 2.2 Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) Last Modified: 04-07-2006 License: GPL Reading configuration data... Segmentation Fault # I am using the exact same Extended file , that I was using on Nagios 1.2 Last few lines of Extended hostinfo # Extended info for client Host1 linux using info.cgi script define hostextinfo{ host_name host1 notes_url info.cgi?host=host1&type=linux&comment=linux server &l ocation=3110&machine=xw8200 &serial=X&fname=matt&lname=garrett&phone=8373&racf=w ymgan icon_image linux.gif icon_image_alt host1 S/N - linux server - Location 3110 - Name matt garrett - Phone 8373 - RACF wymgan vrml_image linux.png statusmap_image linux.gd2 2d_coords 220, 3d_coords 100.0,50.0,75.0 } Matthew Garrett Linux / Unix IMG Support EPE Shell Information Technology International Limited Seafield House, North Anderson Drive, Aberdeen AB15 6GZ, United Kingdom Tel: +44 (0)1224 81 8373 Other Tel: Internal 630 8373 Email: Internet: http://www.shell.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From tom at ng23.net Thu May 4 15:47:33 2006 From: tom at ng23.net (Tom Brown) Date: Thu, 04 May 2006 14:47:33 +0100 Subject: Dell Blade Centre - Nagios - SNMP Message-ID: <445A05F5.4040401@ng23.net> Hi We have a number of blade chassis and use the usual OMSA and Nagios setup to monitor the status of the blades. What i want to be able to do is also monitor the status of the chassis themselves. Has anyone done this and if so what do you use. thanks ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Thu May 4 15:54:41 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Thu, 04 May 2006 09:54:41 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20[Nagios-users]=20Dell=20Blade=20Cent?= =?ISO-8859-1?Q?re=20-=20Nagios=20-=20SNMP?= Message-ID: Hello, I don't, but if you want to start from scratch you could begin here http://www.mibdepot.com/ or with the MIBs that Dell have on his website about your product. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> Tom Brown 2006-05-04 09:47:33 >>> Hi We have a number of blade chassis and use the usual OMSA and Nagios setup to monitor the status of the blades. What i want to be able to do is also monitor the status of the chassis themselves. Has anyone done this and if so what do you use. thanks ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jstevensog at gmail.com Thu May 4 15:56:59 2006 From: jstevensog at gmail.com (John Stevens) Date: Thu, 4 May 2006 23:56:59 +1000 Subject: Problem with Performance data since upgrade to Nagois 2 Message-ID: Hi All, I am have rcently upgraded my nagios from 1.3 to 2.2, and am having trouble with nagiosgraph's insert.pl ever since. If I set up my process-service-perfdata command like so: define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b\n" "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" >>/var/log/nagios/service-perfdata.out } I get lovely lines of perfomance data, and can run these lines as a parameter to the insert.pl script like so and it logs the data in the appropriate rrd, and nagiosgraph.log (logging is turned on in the script). sudo -u nagios /path/to/insert.pl "1146750185||printer||PING||OK - 192.168.0.200: rta 27.302ms, lost 0%||rta=27.302ms;100.000;500.000;0; pl=0%;20;60;;" or su - nagios /path/to/insert.pl "1146750185||printer||PING||OK - 192.168.0.200: rta 27.302ms, lost 0%||rta=27.302ms;100.000;500.000;0; pl=0%;20;60;;" However, with my process-service-perfdata command set to this: define command{ command_name process-service-perfdata command_line /usr/lib/nagios/nagiosgraph/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" } no rrds are updated, and nothing appears in the nagiosgraph.log. Firstly, has anyone had a similar problem with performance data in general, and secondly, can anyone see anything obviously wrong in what I have done? Googling has gotten me nowhere, the manual has put me on the right track in a lot of ways, but I can't fathom why the script is, apparently, not being run by the daemon. Thanks in advance. John -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu May 4 16:25:04 2006 From: marc at ena.com (Marc Powell) Date: Thu, 4 May 2006 09:25:04 -0500 Subject: change nagios 1.2 to 2 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Miguel Faria > Sent: Thursday, May 04, 2006 3:31 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] change nagios 1.2 to 2 > > Hi guys, > > I installed nagios 2 on a machine that has nagios 1.2. I made sure the > paths were diferent as I dont want to remove the old nagios until I have > fully tested the new one. My problem at the moment is that I cant get > the new nagios to run on the web browser, only the old one. > > You guys have any suggestions to what I could check to change that? old > nagios folder is nagios and the new one is nagios2 That would depend on the error/problem you are seeing. Please provide details and how you got there. It should just work if you've installed them in different directories and modified apache appropriately; i.e. a second set of ScriptAlias, Alias and Directory options specific to the new install as detailed at http://nagios.sourceforge.net/docs/2_0/installweb.html. I opted for name-based VirtualHost containers myself. I ran 1.2 and 2.0 in tandem for about a month and a half during testing (and still am actually). The only significant change I made was to modify the init script to be aware of both instances for stop/start. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Thu May 4 16:41:43 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Thu, 04 May 2006 10:41:43 -0400 Subject: nagios friends/neighborhood In-Reply-To: <445A0294.9070104@tannakra.net> References: <4459A9CD.6030207@tannakra.net> <445A0294.9070104@tannakra.net> Message-ID: <1146753704.26096.23.camel@localhost> On Thu, 2006-05-04 at 15:33 +0200, qstreb wrote: > Hugo van der Kooij schrieb: > > On Thu, 4 May 2006, qstreb wrote: > > > >> the company i work for is facing the decision to leave the CA and > >> implement Nagios & friends. > >> > >> The problem is we need ISIL comformance > >> and for that we need software that play nice with nagios (plugins, > >> central DB) > >> RT would be nice for tracking, but Asset Management is a real pain in > >> the a.. > > > > Frankly. This is where we leave Nagios behind. Nagios is part of the > > solution and that is fine. But your question needs a carefull > > investigation and goes miles beyond what nagios can do. > > > > So I personally feel it is inappropriate to burden this list with such a > > question. > > > > Hugo. > > > > Frankly, you are complete right, except that it is all about nagios > 1. > I will summurize: > The point is we need a system: > system=(monitoring+tickets+(asset-management+softwaredelivery/patching)) > 2. > we want nagios monitoring > we found RT as sufficient > we need (asset-management+softwaredelivery/patching) > 3. > thats my question: what do you use, comform & easy to integrate with > nagios & RT, not needed to be OpenSource (but no so costly as a CA), > just good enough to be able to link it with the nagios objects and vs > 4. case A: > we dont have all the tools and visual repretesentation that our manager > request: > we are forced to use CA, and spent money and effort on the wrong place > 4. case B: > we have all the tools for the system: > we engage a X company, that works in cooperation with nagios developers, > we pay for nagios support, we contribute ideas, patches & experience to > the nagios community > > sincerely yours, > qstreb > > p.s. right now 3 of us are researching the missing part - > (asset-management+softwaredelivery/patching) > Windows2003, Solaris10-sparc/x86, linux - redhat/SuSE/Debian, *BSD > Please keep us apprised. I am very interested to see where you come out on this - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 4 17:29:42 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 4 May 2006 17:29:42 +0200 (CEST) Subject: Nagios 2.2 Extended host/service Core dumps In-Reply-To: <4E88F6699E4BAE41B724A3EC3CC457D50329E381@abe-s-039.europe.shell.com> References: <4E88F6699E4BAE41B724A3EC3CC457D50329E381@abe-s-039.europe.shell.com> Message-ID: On Thu, 4 May 2006, Garrett, Matt M SITI-ITISEEEE wrote: > After using Nagios 1.2 for years , decided to upgrade to Nagios 2.2 > > There seems to be a problem with the number of entries in the > Extended host/service cfg file. > > If I have 43 or less Extended host info Defines , than Nagios works fine. Have you tried splitting them into seperate files and using the directory option? That would be the 2.x way to do things. I noticed it is explicitly recommended with various tools. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Robert.H.Lowe at lawrence.edu Thu May 4 17:36:33 2006 From: Robert.H.Lowe at lawrence.edu (Robert Lowe) Date: Thu, 04 May 2006 10:36:33 -0500 Subject: Notification/escalation configuration question Message-ID: <445A1F81.1080403@lawrence.edu> Hi! I'd like to: 1) notify by e-mail during business hours; e-mail and pager outside of business hours. 2) Escalate to pagers during business hours, or to an emergency pager outside of these hours. 3) Further escalate to all pagers. Is this possible? Does someone have some example config for this? TIA, Robert ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 4 17:50:21 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 4 May 2006 11:50:21 -0400 Subject: Notification/escalation configuration question Message-ID: The first is easy: set up separate email and pager contacts, and put a notification time period on the pager contact. For the second, my coffee hasn't kicked in yet, and I'm not sure I've got my head around what you're trying to do... Sounds like you just need escalations with different timeperiods on them. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Robert Lowe Sent: Thursday, May 04, 2006 8:37 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Notification/escalation configuration question Hi! I'd like to: 1) notify by e-mail during business hours; e-mail and pager outside of business hours. 2) Escalate to pagers during business hours, or to an emergency pager outside of these hours. 3) Further escalate to all pagers. Is this possible? Does someone have some example config for this? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jkiiru at swiftkenya.com Thu May 4 18:25:31 2006 From: jkiiru at swiftkenya.com (James Kiiru) Date: Thu, 4 May 2006 19:25:31 +0300 Subject: Installing nagmin Message-ID: <000a01c66f97$5d00b4b0$74c0f050@jemmoh> Hi; I want to install nagmin. How do I go round it and the config needed ? ----------------------------------------------------------- Regard, James Kiiru Msn: jemmoh at hotmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Thu May 4 18:42:18 2006 From: marc at ena.com (Marc Powell) Date: Thu, 4 May 2006 11:42:18 -0500 Subject: Installing nagmin Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of James Kiiru > Sent: Thursday, May 04, 2006 11:26 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Installing nagmin > > Hi; > > > > I want to install nagmin. How do I go round it and the config needed ? To be direct -- http://www.catb.org/~esr/faqs/smart-questions.html#rtfm -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 4 19:14:51 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 4 May 2006 19:14:51 +0200 (CEST) Subject: Installing nagmin In-Reply-To: <000a01c66f97$5d00b4b0$74c0f050@jemmoh> References: <000a01c66f97$5d00b4b0$74c0f050@jemmoh> Message-ID: On Thu, 4 May 2006, James Kiiru wrote: > I want to install nagmin. How do I go round it and the config needed ? nagmin seems to be rather old. I think there are better tools for the job. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryn at duke.edu Thu May 4 19:21:12 2006 From: bryn at duke.edu (Bryn Smith) Date: Thu, 04 May 2006 13:21:12 -0400 Subject: Installing nagmin In-Reply-To: References: <000a01c66f97$5d00b4b0$74c0f050@jemmoh> Message-ID: <445A3808.9000003@duke.edu> Hugo van der Kooij wrote: > On Thu, 4 May 2006, James Kiiru wrote: > > >> I want to install nagmin. How do I go round it and the config needed ? >> > > nagmin seems to be rather old. I think there are better tools for the job. > > Hugo. > > Hugo, Could you maybe tell us some examples instead of just saying "don't use that one"? -- Bryn Smith (Ms) A&SIST 660-2434 bryn at jabber.duke.edu ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 4 19:29:37 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 4 May 2006 19:29:37 +0200 (CEST) Subject: Installing nagmin In-Reply-To: <445A3808.9000003@duke.edu> References: <000a01c66f97$5d00b4b0$74c0f050@jemmoh> <445A3808.9000003@duke.edu> Message-ID: On Thu, 4 May 2006, Bryn Smith wrote: > Hugo van der Kooij wrote: > > On Thu, 4 May 2006, James Kiiru wrote: > > > >> I want to install nagmin. How do I go round it and the config needed ? > > > > nagmin seems to be rather old. I think there are better tools for the job. > Could you maybe tell us some examples instead of just saying "don't use > that one"? It's that the task of http://www.nagiosexchange.org/ ? The link is right on the download page of http://www.nagios.org/download/ And off course one can read the archives of this mailinglist. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tiagocruz at forumgdh.net Thu May 4 21:03:47 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Thu, 04 May 2006 16:03:47 -0300 Subject: Check_NTP issues Message-ID: <445A5013.1060408@forumgdh.net> Hello all, I would like to know how the gentleman's are using the perl script called check_ntp, because I tried to use and have a lot of errors, like this: sidious:~# ./check_ntp -H 10.0.0.19 Use of uninitialized value in division (/) at /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424. NTP WARNING: Desynchronized peer server found|offset=-5.885026, jitter=0,peer_stratum=16 Why? All the hosts are syncronized with my NTP server... and what is this error message? This error of the first line goes to my nagios monitor :( sidious:~# ./check_ntp -H 10.0.0.125 Use of uninitialized value in division (/) at /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424. NTP CRITICAL: No suitable peer server found - Server for ntp probably down|offset=0.000000, jitter=0,peer_stratum=0 Why? The NTP is running in the machine 10.0.0.125... and what is this error message? This error of the first line goes to my nagios monitor :( sidious:~# ./check_ntp -H localhost Argument "(not parsed)" isn't numeric in abs at /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 355. NTP WARNING: Desynchronized peer server found|offset=0.000002, jitter=0,peer_stratum=16 Another error that goes to my monitor... Thanks for any help! Tiago Cruz ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jolet.net Thu May 4 22:41:17 2006 From: john at jolet.net (John Jolet) Date: Thu, 4 May 2006 15:41:17 -0500 Subject: Check_NTP issues In-Reply-To: <445A5013.1060408@forumgdh.net> References: <445A5013.1060408@forumgdh.net> Message-ID: <200605041541.17894.john@jolet.net> On Thursday 04 May 2006 14:03, Tiago Cruz wrote: > Hello all, > > I would like to know how the gentleman's are using the perl script > called check_ntp, because I tried to use and have a lot of errors, like > this: > > sidious:~# ./check_ntp -H 10.0.0.19 > Use of uninitialized value in division (/) at > /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424. > NTP WARNING: Desynchronized peer server found|offset=-5.885026, > jitter=0,peer_stratum=16 that line divides $jitter by 1000. for some reason, $jitter isn't getting set. it's initialized at the top of the code to undef, and is supposed to be set to $11 from the output of the ntpq command. if you run the ntpq command yourself, do you get a value for jitter? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tiagocruz at forumgdh.net Thu May 4 21:21:36 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Thu, 04 May 2006 16:21:36 -0300 Subject: Check_NTP issues In-Reply-To: <200605041541.17894.john@jolet.net> References: <445A5013.1060408@forumgdh.net> <200605041541.17894.john@jolet.net> Message-ID: <445A5440.9020703@forumgdh.net> John Jolet wrote: > On Thursday 04 May 2006 14:03, Tiago Cruz wrote: >> sidious:~# ./check_ntp -H 10.0.0.19 >> Use of uninitialized value in division (/) at >> /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424. >> NTP WARNING: Desynchronized peer server found|offset=-5.885026, >> jitter=0,peer_stratum=16 > that line divides $jitter by 1000. for some reason, $jitter isn't getting > set. it's initialized at the top of the code to undef, and is supposed to be > set to $11 from the output of the ntpq command. if you run the ntpq command > yourself, do you get a value for jitter? Hello John, I'm not sure about the correct syntax of this command, but, please, look at this: sidious:~# ntpq -p 10.0.0.19 10.0.0.19: timed out, nothing received ***Request timed out sidious:~# ntpq -p localhost remote refid st t when poll reach delay offset jitter ============================================================================== 10.0.0.91 .INIT. 16 u 658 1024 0 0.000 0.000 4000.00 It this that you want? Many thanks by your attention! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jolet.net Thu May 4 23:08:57 2006 From: john at jolet.net (John Jolet) Date: Thu, 4 May 2006 16:08:57 -0500 Subject: Check_NTP issues In-Reply-To: <445A5440.9020703@forumgdh.net> References: <445A5013.1060408@forumgdh.net> <200605041541.17894.john@jolet.net> <445A5440.9020703@forumgdh.net> Message-ID: <200605041608.57766.john@jolet.net> On Thursday 04 May 2006 14:21, Tiago Cruz wrote: > John Jolet wrote: > > On Thursday 04 May 2006 14:03, Tiago Cruz wrote: > >> sidious:~# ./check_ntp -H 10.0.0.19 > >> Use of uninitialized value in division (/) at > >> /interdotnet/tools/nagios/plugins/bin-1.4.2/libexec/check_ntp line 424. > >> NTP WARNING: Desynchronized peer server found|offset=-5.885026, > >> jitter=0,peer_stratum=16 > > > > that line divides $jitter by 1000. for some reason, $jitter isn't > > getting set. it's initialized at the top of the code to undef, and is > > supposed to be set to $11 from the output of the ntpq command. if you > > run the ntpq command yourself, do you get a value for jitter? > > Hello John, > > I'm not sure about the correct syntax of this command, but, please, look > at this: > > sidious:~# ntpq -p 10.0.0.19 > 10.0.0.19: timed out, nothing received > ***Request timed out > > sidious:~# ntpq -p localhost > remote refid st t when poll reach delay offset > jitter > > =========================================================================== >=== 10.0.0.91 .INIT. 16 u 658 1024 0 0.000 0.000 > 4000.00 > > It this that you want? > Many thanks by your attention! > well, as you can see..running it against 10.0.0.19 results in null for jitter :) sounds like ntp on that box isn't listening to remote hosts. try running the check_ntp on that host via nrpe... prepare for this by running ntpq -p localhost on that 10.0.0.19 box. if you still get nothing received...ntpd is not running. -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Thu May 4 21:41:22 2006 From: ddunham at taos.com (Darren Dunham) Date: Thu, 4 May 2006 12:41:22 -0700 (PDT) Subject: Check_NTP issues In-Reply-To: <445A5440.9020703@forumgdh.net> from "Tiago Cruz" at May 04, 2006 04:21:36 PM References: <445A5440.9020703@forumgdh.net> Message-ID: <200605041941.MAA17206@redwood.taos.com> > sidious:~# ntpq -p 10.0.0.19 > 10.0.0.19: timed out, nothing received > ***Request timed out This machine is not responding. It may not be running ntpd, or the communication may be blocked in some manner (restrictions on the server, firewall on the network, etc.) > sidious:~# ntpq -p localhost > remote refid st t when poll reach delay offset > jitter > > ============================================================================== > 10.0.0.91 .INIT. 16 u 658 1024 0 0.000 0.000 > 4000.00 This machine is running ntp, but if that's the entire output, then it is not synchronized. It is talking to a single reference clock with no backup, and the reference clock is invalid (st = 16). -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tiagocruz at forumgdh.net Thu May 4 22:21:00 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Thu, 04 May 2006 17:21:00 -0300 Subject: Check_NTP issues In-Reply-To: <200605041941.MAA17206@redwood.taos.com> References: <200605041941.MAA17206@redwood.taos.com> Message-ID: <445A622C.70504@forumgdh.net> Darren Dunham wrote: > This machine is not responding. It may not be running ntpd, or the > communication may be blocked in some manner (restrictions on the server, > firewall on the network, etc.) Yes, the ntpd daemon is only listen no 127.0.0.1. I did a test, please look: 1- On host 10.0.0.91, in /etc/ntp.conf, I've added: restrict 10.0.0.173 nomodify 2- On host 10.0.0.173, now I can run this command: trinity:~# ntpq -p 10.0.0.91 remote refid st t when poll reach delay offset jitter ============================================================================== 10.0.0.91 .INIT. 16 u - 64 0 0.000 0.000 4000.00 3- Still on host 10.0.0.173, I re-synchronized with my NTP server (is the 10.0.0.91): trinity:~# /etc/init.d/ntpdate restart Running ntpdate to synchronize clock. 4- When I try compare my clock my the NTP server, I get this error: trinity:~# ./check_ntp -v -H 10.0.0.91 ntperr = 0 remote refid st t when poll reach delay offset jitter No match! ============================================================================== No match! 10.0.0.91 .INIT. 16 u - 256 0 0.000 0.000 4000.00 No match! Argument "(not parsed)" isn't numeric in abs at /.../bin-1.4.2/libexec/check_ntp line 355. NTP WARNING: Desynchronized peer server found You (list), know how can I solve this another problem? Many thanks! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From s.shipway at auckland.ac.nz Thu May 4 23:41:54 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 5 May 2006 09:41:54 +1200 Subject: Nagios Eventlog monitor for windows v1.8.1 released Message-ID: <002f01c66fc3$8feb82c0$8ea8d882@UoA.auckland.ac.nz> The new version of the NagEvLog agent, for filtering and forwarding eventlog entries on a Windows server to Nagios via NSCA, is now available from http://www.steveshipway.org/software/ in the Nagios Utilities section, and from NagiosExchange. This has a few improvements on the previous versions - 1) New heartbeat funtion to periodically send 'agent is alive' alerts. 2) Fixed a couple of bugs in filtering code from v1.6 3) Install package now includes the course code 4) Install package should now be able to do an Upgrade Install for existing users 5) Corrected looping error message bug from v1.8.0 Please report any problems, feature requests, and so on on the online support forum at http://www.steveshipway.org/forum/ Thanks for your time, Steve ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri May 5 00:11:32 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 5 May 2006 00:11:32 +0200 (CEST) Subject: Check_NTP issues In-Reply-To: <445A622C.70504@forumgdh.net> References: <200605041941.MAA17206@redwood.taos.com> <445A622C.70504@forumgdh.net> Message-ID: On Thu, 4 May 2006, Tiago Cruz wrote: > Darren Dunham wrote: > > > This machine is not responding. It may not be running ntpd, or the > > communication may be blocked in some manner (restrictions on the server, > > firewall on the network, etc.) > > Yes, the ntpd daemon is only listen no 127.0.0.1. I did a test, please look: .... Pardon me for noting. But shouldn't you setup ntp correctly before you start to setup monitoring it? Untill ntp is working and keeping everything in sync I would not spend another second on trying to make a ntp service check work. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Fri May 5 11:25:04 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 5 May 2006 11:25:04 +0200 Subject: Installing nagmin In-Reply-To: <000a01c66f97$5d00b4b0$74c0f050@jemmoh> References: <000a01c66f97$5d00b4b0$74c0f050@jemmoh> Message-ID: Hi James I use NagiosQL 2005 http://www.nagiosQL.org and it works for our daily job. It is easy to install and to configure. If you want to give it a try i can assist you with the configuration. On the otherhand i use the latest version ov Fruity http://fruity.sourceforge.net/ and it works also very good Also nag2Web is a good tool. So its your choice now /j?rg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 10010 bytes Desc: not available URL: From me at renux.de Fri May 5 12:04:01 2006 From: me at renux.de (Rene Fertig) Date: Fri, 5 May 2006 12:04:01 +0200 Subject: Printable Documentation In-Reply-To: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> References: <4e0e33ee0605031325j4d9d9005n150d7aa96e53d502@mail.gmail.com> Message-ID: <200605051204.01727.me@renux.de> Hello Seb. > I've repackaged the Official Nagios documentation to generate a > "pretty" printable version of the doc. > > Comments are welcome ... Verry good work! Nagios is already very well documented but I've missed a pretty and searchable one-document manual. Now I have one! Many thanks!! Bye, Ren? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matt.garrett at shell.com Fri May 5 12:09:09 2006 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITISEEEE) Date: Fri, 5 May 2006 11:09:09 +0100 Subject: Nagios 2.2 Extended host/service Core dumps Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50329E38B@abe-s-039.europe.shell.com> Folks / Hugo I have tried splitting them up and using the Directory option. But Again once I get over the number of 46 entries , I get Core Dumps BTW: I have just installed Nagios 2.3 Just to see if it will do the same thing. Which is does. Any other idea's folks Thanks Matt Date: Thu, 4 May 2006 17:29:42 +0200 (CEST) From: Hugo van der Kooij Reply-To: Nagios Users Mailinglist To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Nagios 2.2 Extended host/service Core dumps On Thu, 4 May 2006, Garrett, Matt M SITI-ITISEEEE wrote: > After using Nagios 1.2 for years , decided to upgrade to Nagios 2.2 > > There seems to be a problem with the number of entries in the > Extended host/service cfg file. > > If I have 43 or less Extended host info Defines , than Nagios works fine. Have you tried splitting them into seperate files and using the directory option? That would be the 2.x way to do things. I noticed it is explicitly recommended with various tools. Hugo. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lantschner at edvg.at Fri May 5 13:39:04 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Fri, 5 May 2006 13:39:04 +0200 Subject: Antwort: Regular Expression Expansion In-Reply-To: <1146626038.3001.7.camel@localhost> References: <1146626038.3001.7.camel@localhost> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 03.05.2006 05:13:58: > #dependent_service_description ^Tun.*-(?:Chattanooga|Midlothian)$ > ... > > The commented line generates errors on pre-flight check. It's almost as > if it cannot handle the alternation (|). Have I mangled the regular > expression or is this a peculiarity of Nagios? Thanks - John Seems as if it is not clear, which flavor of Regex is suported in Nagios, I had a similar problem, and could not find a clear documentation about the regex-suport in Nagios yet. F.e. [sw][0-9]{3}[a-z]{2,124}\.company\.net This should match any string starting with either s or w, followed by exactly 3 digits and a resonable number of characters plus the domain suffix. But it did not work. May be I am missing some backslashes? Please, can anyone point us to the right place? TIA, Ingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From sebastien.hugues at gmail.com Fri May 5 14:18:37 2006 From: sebastien.hugues at gmail.com (Sebastien Hugues) Date: Fri, 5 May 2006 14:18:37 +0200 Subject: notification retention Message-ID: Hi, Thanks a lot for this great project. I have two simple questions: - Is Nagios able to keep notifications for a given contact until its service_notification_period is reached ? - Is nagios able to keep a service in CRITICAL state until a person acknowledged it and even if this service is back to OK state ? Thanks a lot for your answer. Best Regards Sebatsien Hugues -- Sebastien Hugues Open Source & Web Consultant EasyBox Technologies Rue des Terreaux 7 CH-1003 Lausanne Switzerland Tel: + 41 21 312 58 66 Fax: + 41 21 312 58 65 From tiagocruz at forumgdh.net Fri May 5 14:36:47 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Fri, 05 May 2006 09:36:47 -0300 Subject: Check_NTP issues In-Reply-To: References: <200605041941.MAA17206@redwood.taos.com> <445A622C.70504@forumgdh.net> Message-ID: <445B46DF.2030402@forumgdh.net> Hugo van der Kooij wrote: >> Yes, the ntpd daemon is only listen no 127.0.0.1. I did a test, please look: > .... > > Pardon me for noting. But shouldn't you setup ntp correctly before you > start to setup monitoring it? Untill ntp is working and keeping everything > in sync I would not spend another second on trying to make a ntp service > check work. Ok, I agree with you. But I have ~300 servers, and the NTP is running and working in some ones, not in every servers. I didn't know about this configuration (ntpd only listen in localhost) and I'm very been thankful to this list to help me to find this problem. Now, I'm just try find a way to monitory all the servers and discover how have a unsynchronized clock, but I'm not sure that what I have to do :) Please, say if I'm correct: All the servers MUST be listen in all interfaces, and not only in localhost to work? Many thanks by attention! -- Tiago Cruz Network Administrator Linux is like an Indian tent: no Windows, no Gates and an Apache inside. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jolet.net Fri May 5 16:12:50 2006 From: john at jolet.net (John Jolet) Date: Fri, 5 May 2006 09:12:50 -0500 Subject: Check_NTP issues In-Reply-To: <445B46DF.2030402@forumgdh.net> References: <200605041941.MAA17206@redwood.taos.com> <445B46DF.2030402@forumgdh.net> Message-ID: <200605050912.50997.john@jolet.net> On Friday 05 May 2006 07:36, Tiago Cruz wrote: > Now, I'm just try find a way to monitory all the servers and discover how > have a unsynchronized clock, but I'm not sure that what I have to do :) > > Please, say if I'm correct: All the servers MUST be listen in all > interfaces, and not only in localhost to work? > > Many thanks by attention! not necessarily. You can use nrpe to run the check_ntp locally on those hosts that do not need to listen to ntp requests from the net. In fact, if you are doing nrpe checks for other things on those hosts, that's how i would set it up. No reason for a host to listen on all interfaces just so you can check whether it's clock is synchronized.... -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me at renux.de Fri May 5 15:18:08 2006 From: me at renux.de (Rene Fertig) Date: Fri, 5 May 2006 15:18:08 +0200 Subject: Check_NTP issues In-Reply-To: <445B46DF.2030402@forumgdh.net> References: <200605041941.MAA17206@redwood.taos.com> <445B46DF.2030402@forumgdh.net> Message-ID: <200605051518.09224.me@renux.de> Am Freitag, 5. Mai 2006 14:36 schrieb Tiago Cruz: > Now, I'm just try find a way to monitory all the servers and discover how > have a unsynchronized clock, but I'm not sure that what I have to do :) I've made a script (long before I began to use nagios) which is run by cron twice a day on every host which runs xntpd. It checks if ntpd is running, if the host has a reference clock and if it is synchronized to it and so on. It logs to syslog and send a Mail on failure. Maybe it is useful to you: -- snipp ----------------------------------------------------------------- #!/usr/bin/perl # #!/usr/nsue/contrib/perl/bin/perl # $Header: /usr/local/share/cvs/Tools/chktime,v 1.6 2006/03/08 14:14:36 rfertig Exp $ # (c)2001 Rene Fertig # Dieses Script pr?ft # 1. ob der xntpd l?uft # 2a. ob dieser eine Reference-Clock hat # 2b. ob eine Verbindung zu dieser aufgebaut werden kann # 3. ob die System-Zeit von der Referenz-Zeit abweicht # 4. ob die System-Zeit von der CMOS-Uhr abweicht # Das Ergebnis wird an den syslog-Demon mit dem Facility local3.info # ?bergeben. # -------------------------------------------------------------------- use Getopt::Std; use Sys::Hostname; my $host = hostname(); $facility = "local3.info"; # Absender f?r die Mail my $sender = "chktime"; # Mailprogramm: my $mailer = "/usr/sbin/sendmail -t"; # BCC: my $bcc = "admin\@company.tld"; # Reply-to my $replyto = "admin\@company.tld"; # ---- Parameter verarbeiten ---------------------------------------- $usage = "USAGE: $0 [-d] [-m mail_to]\n\t-d\tdebug-mode\n\t-m\tsend error-messages via mail\n"; unless(getopts("m:dh?", \%option)) { die "$usage"; } if(defined $option{m}) { $mailto = $option{m}; } else { $mailto = ""; } if(defined $option{d}) { $debug = 1; } else { $debug = 0; } if(defined $option{h} or defined $option{"?"}) { die "$usage"; } # ------------------------------------------------------------------- my $error = 0; if($peers = `ntpq -p`) { $_ = $peers; /\n\*([\w-]+)[\s\.]/; if($1 ne "") { $refclk = $1; } else { $refclk = "No RefClk!"; $error = 1; } } else { $refclk = "Unable to run ntpq! Is xntpd running?"; $error = 1; } print "Reference-Clock: $refclk\n" if($debug); if($refclk ne "No RefClk!") { open NDATE, "ntpdate -qd $refclk 2>/dev/null |" or die "?ger mit ntpdate: $!\n"; while() { chomp; # print "NDATE: $_\n"; SWITCH: { /^originate timestamp:/ && do { /^.+:\s+(\w+\.\w+)\s+([\w ,:.]+)$/; if($1 eq "00000000.00000000") { $reftime = "not available"; $error = 1; } else { $reftime = $2; } last SWITCH; }; /^transmit timestamp:/ && do { /^.+:\s+(\w+\.\w+)\s+([\w ,:.]+)$/; if($1 eq "00000000.00000000") { $systime = "not available"; $error = 1; } else { $systime = $2; } last SWITCH; }; /^offset / && do { /^offset\s+([\w .-]+)$/; $offset = $1; last SWITCH; }; } } } if($debug) { print "Ref-Time: $reftime\n"; print "Sys-Time: $systime\n"; print "Offset : $offset sec.\n"; } if($hwclock=`hwclock`) { # nix } else { $hwclock="not available"; $error = 1; } print "HW-Time: $hwclock\n" if($debug); if($refclk ne "No RefClk!") { $logstr = "RefClk=$refclk; RefTime=$reftime; SysTime=$systime; Offset=$offset; HWClk=$hwclock;" } else { $logstr = "RefClk=$refclk (cannot determine RefTime, SysTime and Offset); HWClk=$hwclock;" } system("/bin/logger -p $facility -t TIMECHECK \"$logstr\"") == 0 or die "Upps, kann logger nicht ausf?hren! $?\n"; if($error && $mailto ne "") { open(MAIL,"|$mailer") or die "Upps, konnte Shell f?r Mail nicht ??ffnen!"; print MAIL "From: $sender\n"; print MAIL "To: $mail_to\n"; print MAIL "Bcc: $bcc\n"; print MAIL "Reply-To: $replyto\n"; print MAIL "Subject: chktime-failure at $host\n"; print MAIL "\n"; print MAIL $logstr; close MAIL; } -- snipp ----------------------------------------------------------------- Perhaps you have to correct some linebreaks which are made by the mailer. Bye, Ren? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri May 5 15:20:49 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 05 May 2006 09:20:49 -0400 Subject: Is there a way to check the cpu %? Message-ID: Hi people, Does someone has a way to check for the cpu or CPUs % of utilisation for Linux? check_proc does a great job with process, but sometimes I would need the cpu too. Thanks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SrvFaucon at cslaval.qc.ca Fri May 5 15:59:37 2006 From: SrvFaucon at cslaval.qc.ca (Serveur-Faucon Surveillance) Date: Fri, 05 May 2006 09:59:37 -0400 Subject: =?ISO-8859-1?Q?R=E9p.=20:=20RE:=20[Nagios-users]=20Is=20there=20?= =?ISO-8859-1?Q?a=20way=20to=20check=20the=20cpu=20%=3F?= Message-ID: Thanks for this first answer. Unfortunatly, check_load only show the load and not the cpu utilisation, the equivalent of typing "w" in shell. What I am looking for is more something like "top". See below I have copy the result of "top". load = number of tasks in the queue and running (average) cpu utilisation = % of cpu in use. Here is the result of top. --- top --- 09:48:53 up 310 days, 17:31, 1 user, load average: 0.76, 0.51, 0.52 65 processes: 58 sleeping, 7 running, 0 zombie, 0 stopped CPU0 states: 48.0% user 4.0% system 0.0% nice 0.0% iowait 46.0% idle CPU1 states: 48.0% user 0.1% system 0.0% nice 0.0% iowait 50.0% idle You can get the first line of infos with check_load and check_uptime (contrib) The second with check_proc But currently I don't see any way of getter the other lines. Someone has done that? --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada >>> 2006-05-05 09:42:37 >>> Have a look at check_load. It is close to what you want. rgds, Lars -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Serveur-Faucon Surveillance Sent: Friday, May 05, 2006 15:21 To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Is there a way to check the cpu %? Hi people, Does someone has a way to check for the cpu or CPUs % of utilisation for Linux? check_proc does a great job with process, but sometimes I would need the cpu too. Thanks. --------------------------------------------------- Alexandre Racine - Gardien Virtuel - S?curit? Informatique www.gardienvirtuel.com Montr?al, Qu?bec, Canada ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nrc at eurotux.com Fri May 5 15:58:17 2006 From: nrc at eurotux.com (Nuno Carvalho) Date: Fri, 5 May 2006 14:58:17 +0100 Subject: Nagios 1.2 issue in calculated availability Message-ID: <200605051458.25909.nrc@eurotux.com> Good day, We are experiencing some problems with Nagios calculating services availability. If we check the logs we can see messages showing the service status going CRITICAL and OK, but if we check the grapich that the availability feature creates we come up with wrong information. It seems that Nagios isn't using all the information in the logs to generate the graphic. To try to be more specific the logs tell me that some_service went critical and back: [Fri Apr 7 12:21:56 2006] SERVICE ALERT: some_host;some_service;CRITICAL;HARD;1;No route to host (..) [Fri Apr 7 12:23:54 2006] SERVICE ALERT: some_host;some_service;OK;SOFT;2;HTTP OK HTTP/1.1 200 OK - 61872 bytes in 10.072 seconds it then shows some_service going critical again some days later: [Tue May 2 15:34:03 2006] SERVICE ALERT: some_host;some_service;CRITICAL;HARD;5;Connection refused When we check availability for this service it just tells us that the service was always critical. Next to the availability report we can check the service logs entry and it's strange that it doesn't show a lot on entries between those two specific days, althought we see them a lot in the log files. 2006-04-07 12:21:56 2006-04-19 03:43:32 11d 15h 21m 36s SERVICE CRITICAL No route to host 2006-05-02 15:34:03 2006-05-02 15:42:12 0d 0h 8m 9s SERVICE CRITICAL Connection refused Hope to have gather all the info needed. Anyone has experiencing this kind of situation. We are running Nagios: Nagios 1.2 Last Modified: 02-02-2004 Any help with this issue would be greatly appreciated. Best regards, -- Nuno Carvalho Eurotux Inform?tica, S.A. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Janet.Post at excapsa.ca Fri May 5 16:01:19 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 5 May 2006 10:01:19 -0400 Subject: Antwort: Regular Expression Expansion Message-ID: Just a thought here...but the [a-z] will only match against lowercase characters. Is that the behaviour you wanted? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ingo Lantschner Sent: May 5, 2006 7:39 AM Cc: nagios-users at lists.sourceforge.net Subject: Antwort: [Nagios-users] Regular Expression Expansion nagios-users-admin at lists.sourceforge.net schrieb am 03.05.2006 05:13:58: > #dependent_service_description ^Tun.*-(?:Chattanooga|Midlothian)$ > ... > > The commented line generates errors on pre-flight check. It's almost as > if it cannot handle the alternation (|). Have I mangled the regular > expression or is this a peculiarity of Nagios? Thanks - John Seems as if it is not clear, which flavor of Regex is suported in Nagios, I had a similar problem, and could not find a clear documentation about the regex-suport in Nagios yet. F.e. [sw][0-9]{3}[a-z]{2,124}\.company\.net This should match any string starting with either s or w, followed by exactly 3 digits and a resonable number of characters plus the domain suffix. But it did not work. May be I am missing some backslashes? Please, can anyone point us to the right place? TIA, Ingo. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tgenessay at aliadis.fr Fri May 5 16:18:10 2006 From: tgenessay at aliadis.fr (Thibault Genessay) Date: Fri, 05 May 2006 16:18:10 +0200 Subject: =?ISO-8859-1?Q?R=E9p=2E_=3A_RE=3A_=5BNa?= =?ISO-8859-1?Q?gios-users=5D_Is_there_a_way_to_check_the_?= =?ISO-8859-1?Q?cpu_=25=3F?= In-Reply-To: References: Message-ID: <445B5EA2.6060601@aliadis.fr> Serveur-Faucon Surveillance wrote: > Unfortunatly, check_load only show the load and not the cpu utilisation, the equivalent of typing "w" in shell. What I am looking for is more something like "top". See below I have copy the result of "top". > > load = number of tasks in the queue and running (average) > cpu utilisation = % of cpu in use. > > Here is the result of top. > --- top --- > 09:48:53 up 310 days, 17:31, 1 user, load average: 0.76, 0.51, 0.52 > 65 processes: 58 sleeping, 7 running, 0 zombie, 0 stopped > CPU0 states: 48.0% user 4.0% system 0.0% nice 0.0% iowait 46.0% idle > CPU1 states: 48.0% user 0.1% system 0.0% nice 0.0% iowait 50.0% idle > You can get this info with top -b -n 1 Then you can awk, grep or pythonize the output to get whatever you need However, I do not recommend this method as it is both slow and heavy in resources usage. Furthermore, those CPU loads are instantaneous values that represent only 1 second (or any delay top uses to compute those numbers), and thus can be aberrant regarding what the CPU has during all the time it was not checked for; i.e. if your check_interval is 5 minutes you should not take a random, 1 second long sample in a 5 min period but an average value computed over the 5 minutes. > You can get the first line of infos with check_load and check_uptime (contrib) > The second with check_proc > > But currently I don't see any way of getter the other lines. > Have a look check_snmp_load.pl and its *netsc *option for the -T argument (see http://www.manubulon.com/nagios/snmp_load.html) This might be what you are looking for. -- Thibault ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter at berghold.net Fri May 5 16:38:51 2006 From: Peter at berghold.net (Peter L. Berghold) Date: Fri, 05 May 2006 10:38:51 -0400 Subject: Is there a way to check the cpu %? In-Reply-To: References: Message-ID: <445B637B.6020605@Berghold.Net> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Serveur-Faucon Surveillance wrote: > Hi people, > > Does someone has a way to check for the cpu or CPUs % of utilisation for Linux? Try this: PERSONALITY=bsd ps faxo pid,euid,egid,ni:2,vsz:6,rss:6,pcpu,pmem,stat:3=ST,tname:6,stime,bsdtime,args Execute that as all one line and you'll note there is a column for %CPU for each process as well as a few other neat things... - -- :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Peter L. Berghold Peter at Berghold.Net "Those who fail to learn from history are condemned to repeat it." AIM: redcowdawg Yahoo IM: blue_cowdawg ICQ: 11455958 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) Comment: Using GnuPG with Red Hat - http://enigmail.mozdev.org iD8DBQFEW2N7UM9/01RIhaARAtHcAKCYNIVfx84LpUtz+g1pc9y5a1So7gCeIlQd Kz46Z/cF5Btf4l/GeiNXqzQ= =imfb -----END PGP SIGNATURE----- -------------- next part -------------- A non-text attachment was scrubbed... Name: Peter.vcf Type: text/x-vcard Size: 239 bytes Desc: not available URL: From hvdkooij at vanderkooij.org Fri May 5 16:42:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 5 May 2006 16:42:33 +0200 (CEST) Subject: Is there a way to check the cpu %? In-Reply-To: References: Message-ID: On Fri, 5 May 2006, Serveur-Faucon Surveillance wrote: > Does someone has a way to check for the cpu or CPUs % of utilisation for Linux? check_proc does a great job with process, but sometimes I would need the cpu too. As I need snmp for other things as well I use snmp to track it. But it might be overkill in your situation. See also: http://www.nagiosexchange.org/Check_Plugins.21.0.html?&tx_netnagext_pi1[p_view]=536 Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Maunir.shah at knowles.com Fri May 5 16:46:08 2006 From: Maunir.shah at knowles.com (Shah, Maunir) Date: Fri, 5 May 2006 09:46:08 -0500 Subject: Setting up users in Nagios Message-ID: I have nagiosadmin as the main user to do all the config. changes. I also have created another user, which I created my own user id to take a look at Nagios page. The issue that I'm having is that when I login as myself I'm still able to pass the external commands for any desired devices. I already checked cgi.cfg and the only user to do anything is nagiosadmin. Am I missing something simple? Please help. thanks Maunir Shah 285-5875 ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ******************************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From sloane at ku.edu Fri May 5 16:57:56 2006 From: sloane at ku.edu (Sloane, Robert Raymond) Date: Fri, 5 May 2006 09:57:56 -0500 Subject: Security vulnerability Message-ID: <9632C3DAB675864EB0A9B7724D85DB790310FD20@MAILBOXSEVEN.home.ku.edu> I assume everyone has already seen this? http://www.frsirt.com/english/advisories/2006/1662 -- Bob Sloane, University of Kansas Computer Center, Lawrence, KS, 66045 Email:sloane at ku.edu http://www.ku.edu/home/sloane Phone:(785)864-0444 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tiagocruz at forumgdh.net Fri May 5 17:03:21 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Fri, 05 May 2006 12:03:21 -0300 Subject: Check_NTP issues In-Reply-To: <200605050912.50997.john@jolet.net> References: <200605041941.MAA17206@redwood.taos.com> <445B46DF.2030402@forumgdh.net> <200605050912.50997.john@jolet.net> Message-ID: <445B6939.7060506@forumgdh.net> John Jolet wrote: > not necessarily. You can use nrpe to run the check_ntp locally on those hosts > that do not need to listen to ntp requests from the net. Thanks!!! To begin a test, I did this: - Insert in nrpe.cfg one new command: command[check_ntp]=/.../bin-1.4.2/libexec/check_ntp -H localhost - Check this service remote: trinity:~# /.../bin-1.4.2/libexec/check_nrpe -H 10.0.0.91 -c check_ntp NTP WARNING: Desynchronized peer server found|offset=0.000002, jitter=0,peer_stratum=16 And, when I tried the command in the host 10.0.0.91, I get another error: rust:~# /.../bin-1.4.2/libexec/check_ntp -H localhost Argument "(not parsed)" isn't numeric in abs at /.../check_ntp line 355. NTP WARNING: Desynchronized peer server found|offset=0.000002, jitter=0,peer_stratum=16 I would like to know: 1-) How can I fix this error on line 355 2-) Why my clock is unsynchronized (the 10.0.0.91 is the NTP server of my network!) Many thanks (and good lunch for all :-p ) -- Tiago Cruz Network Administrator Linux is like an Indian tent: no Windows, no Gates and an Apache inside. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Fri May 5 17:04:03 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Fri, 05 May 2006 10:04:03 -0500 Subject: Security vulnerability In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB790310FD20@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB790310FD20@MAILBOXSEVEN.home.ku.edu> Message-ID: <1146841443.4564.26.camel@chi101100.int.tt.local> On Fri, 2006-05-05 at 09:57 -0500, Sloane, Robert Raymond wrote: > I assume everyone has already seen this? > > http://www.frsirt.com/english/advisories/2006/1662 Not that exact alert, but yes, and it's been dealt with in development. v2.3 and v1.4 of Nagios core have the fix. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From patrick.morris at hp.com Fri May 5 17:23:20 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 5 May 2006 11:23:20 -0400 Subject: Setting up users in Nagios Message-ID: Is your login name set up as a contact on the hosts or services you're asking about? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shah, Maunir Sent: Friday, May 05, 2006 7:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up users in Nagios I have nagiosadmin as the main user to do all the config. changes. I also have created another user, which I created my own user id to take a look at Nagios page. The issue that I'm having is that when I login as myself I'm still able to pass the external commands for any desired devices. I already checked cgi.cfg and the only user to do anything is nagiosadmin. Am I missing something simple? Please help. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Maunir.shah at knowles.com Fri May 5 17:28:46 2006 From: Maunir.shah at knowles.com (Shah, Maunir) Date: Fri, 5 May 2006 10:28:46 -0500 Subject: Setting up users in Nagios Message-ID: Yes it is? Maunir Shah 285-5875 -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, May 05, 2006 10:23 AM To: Shah, Maunir; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting up users in Nagios Is your login name set up as a contact on the hosts or services you're asking about? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shah, Maunir Sent: Friday, May 05, 2006 7:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up users in Nagios I have nagiosadmin as the main user to do all the config. changes. I also have created another user, which I created my own user id to take a look at Nagios page. The issue that I'm having is that when I login as myself I'm still able to pass the external commands for any desired devices. I already checked cgi.cfg and the only user to do anything is nagiosadmin. Am I missing something simple? Please help. ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ******************************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 17:35:29 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 5 May 2006 11:35:29 -0400 Subject: Setting up users in Nagios Message-ID: Well, there you go. That's why. http://nagios.sourceforge.net/docs/2_0/cgiauth.html#default_rights -----Original Message----- From: Shah, Maunir [mailto:Maunir.shah at knowles.com] Sent: Friday, May 05, 2006 8:29 AM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting up users in Nagios Yes it is? Maunir Shah 285-5875 -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, May 05, 2006 10:23 AM To: Shah, Maunir; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting up users in Nagios Is your login name set up as a contact on the hosts or services you're asking about? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shah, Maunir Sent: Friday, May 05, 2006 7:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up users in Nagios I have nagiosadmin as the main user to do all the config. changes. I also have created another user, which I created my own user id to take a look at Nagios page. The issue that I'm having is that when I login as myself I'm still able to pass the external commands for any desired devices. I already checked cgi.cfg and the only user to do anything is nagiosadmin. Am I missing something simple? Please help. ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ************************************************************************ ******** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Maunir.shah at knowles.com Fri May 5 17:37:09 2006 From: Maunir.shah at knowles.com (Shah, Maunir) Date: Fri, 5 May 2006 10:37:09 -0500 Subject: Setting up users in Nagios Message-ID: Oh...that's why. Cool thanks.... Maunir Shah 285-5875 -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, May 05, 2006 10:35 AM To: Shah, Maunir; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting up users in Nagios Well, there you go. That's why. http://nagios.sourceforge.net/docs/2_0/cgiauth.html#default_rights -----Original Message----- From: Shah, Maunir [mailto:Maunir.shah at knowles.com] Sent: Friday, May 05, 2006 8:29 AM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting up users in Nagios Yes it is? Maunir Shah 285-5875 -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Friday, May 05, 2006 10:23 AM To: Shah, Maunir; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Setting up users in Nagios Is your login name set up as a contact on the hosts or services you're asking about? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Shah, Maunir Sent: Friday, May 05, 2006 7:46 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Setting up users in Nagios I have nagiosadmin as the main user to do all the config. changes. I also have created another user, which I created my own user id to take a look at Nagios page. The issue that I'm having is that when I login as myself I'm still able to pass the external commands for any desired devices. I already checked cgi.cfg and the only user to do anything is nagiosadmin. Am I missing something simple? Please help. ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ************************************************************************ ******** ******************************* IMPORTANT MESSAGE ****************************** This transmission may contain information that is privileged, confidential and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. ******************************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 motionbox.com Fri May 5 17:42:48 2006 From: jim at motionbox.com (James Nachlin) Date: Fri, 05 May 2006 11:42:48 -0400 Subject: SSL handshake of doom Message-ID: <445B7278.4080904@motionbox.com> Hi, I'm getting the dreaded "CHECK_NRPE: Error - Could not complete SSL handshake" error. Both nrpe and check_nrpe are 2.5.1; both say "SSL/TLS Available". The nagios user owns the config file. "/dev/*random*" is readable, and "allowed_hosts" is commented out in the config file. Both machines are running CentOS, 2.6.9 SMP kernel, OpenSSL 0.9.7a. This connects (where yo is the nagios server and survivor is the client): [root at yo ~]# telnet survivor 5666 Trying 192.168.2.101... Connected to survivor (192.168.2.101). Escape character is '^]'. Connection closed by foreign host. Can anyone suggest what to try next? Any and all suggestions appreciated. Finally, nrpe.cfg: pid_file=/var/run/nrpe.pid server_port=5666 nrpe_user=nagios nrpe_group=nagios dont_blame_nrpe=1 debug=0 command_timeout=60 command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 ... commands left out for brevity. -- Jim Nachlin Motionbox Systems Administrator ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Fri May 5 17:47:28 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 05 May 2006 12:47:28 -0300 Subject: =?iso-8859-1?Q?Re:_=5BNagios-users=5D_R=E9p._:_RE:_=5BNagios-users=5D?= =?iso-8859-1?Q?Is_there_a_way_to_check_the_cpu_%=3F?= In-Reply-To: <445B5EA2.6060601@aliadis.fr> References: <445B5EA2.6060601@aliadis.fr> Message-ID: <1146844049.2215.1.camel@localhost> On Fri, 2006-05-05 at 16:18 +0200, Thibault Genessay wrote: > Serveur-Faucon Surveillance wrote: > > Unfortunatly, check_load only show the load and not the cpu utilisation, the equivalent of typing "w" in shell. What I am looking for is more something like "top". See below I have copy the result of "top". > > > > load = number of tasks in the queue and running (average) > > cpu utilisation = % of cpu in use. > > > > Here is the result of top. > > --- top --- > > 09:48:53 up 310 days, 17:31, 1 user, load average: 0.76, 0.51, 0.52 > > 65 processes: 58 sleeping, 7 running, 0 zombie, 0 stopped > > CPU0 states: 48.0% user 4.0% system 0.0% nice 0.0% iowait 46.0% idle > > CPU1 states: 48.0% user 0.1% system 0.0% nice 0.0% iowait 50.0% idle > > > You can get this info with > top -b -n 1 > Then you can awk, grep or pythonize the output to get whatever you need > > However, I do not recommend this method as it is both slow and heavy in > resources usage. Furthermore, those CPU loads are instantaneous values > that represent only 1 second (or any delay top uses to compute those > numbers), and thus can be aberrant regarding what the CPU has during all > the time it was not checked for; i.e. if your check_interval is 5 > minutes you should not take a random, 1 second long sample in a 5 min > period but an average value computed over the 5 minutes. > > You can get the first line of infos with check_load and check_uptime (contrib) > > The second with check_proc > > > > But currently I don't see any way of getter the other lines. sysstat package, using sar command, solves the issue. HTH, Marcel > > > Have a look check_snmp_load.pl and its *netsc *option for the -T > argument (see http://www.manubulon.com/nagios/snmp_load.html) > This might be what you are looking for. > AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From travisll at comfedcu.org Fri May 5 17:48:23 2006 From: travisll at comfedcu.org (Travis Llewellyn) Date: Fri, 5 May 2006 10:48:23 -0500 Subject: nagios friends/neighborhood Message-ID: We have implemented GLPI as our inventory / asset management component it integrates with ocsinventory http://ocsinventory.sourceforge.net/ With the two of these we can get automatic inventory of Linux and Windows machines. There is some manual stuff to do when it comes to Cisco devices. But anyway. Travis Llewellyn Network Administrator Communication Federal Credit Union travisll at comfedcu.org ------------------------------------------------------------------------ - Exodus 34:6,7 Then the Lord passed by in front of him and proclaimed, "The Lord, the Lord God, compassionate and gracious, slow to anger, and abounding in loving kindness and truth...yet He will by no means leave the guilty unpunished, visiting the iniquity of fathers on the children and on the grandchildren to the third and fourth generations." -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of qstreb Posted At: Thursday, May 04, 2006 2:14 AM Posted To: Nagios Lists Conversation: [Nagios-users] nagios friends/neighborhood Subject: [Nagios-users] nagios friends/neighborhood the company i work for is facing the decision to leave the CA and implement Nagios & friends. The problem is we need ISIL comformance and for that we need software that play nice with nagios (plugins, central DB) RT would be nice for tracking, but Asset Management is a real pain in the a.. So what do you use for asset (hardware, software, licenses) tracking & inventory, auto software patching/installation etc. please URGENT! It could be the only possibility we have to get out of CA, if we dont convince the top project manager, we will be stuck the next 3 years with CA :( thats a lot of costs, better a part to go for oss support :) Please give your recomendations based on experience, as we have only one "stop" person to put nagios in charge. Thank you very much for your recomendations, if you feel its a kind of advertisement, send it directly to my email Oh yes, this installation will be for Linux, Solaris, Windows & Cisco domain. Kind Regards, Qstreb ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ----------------------------------------------------------------- This e-mail and the files transmitted with it are the property of the sender and/or its affiliates, are confidential, and are intended solely for use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender by replying to the e-mail you received and delete this message from your computer immediately. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri May 5 17:49:59 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 May 2006 08:49:59 -0700 Subject: SSL handshake of doom In-Reply-To: <445B7278.4080904@motionbox.com> References: <445B7278.4080904@motionbox.com> Message-ID: <20060505154959.GD12699@mal.toger.us> On Fri, May 05, 2006 at 11:42:48AM -0400, James Nachlin wrote: > [root at yo ~]# telnet survivor 5666 > Trying 192.168.2.101... > Connected to survivor (192.168.2.101). > Escape character is '^]'. > Connection closed by foreign host. Is NRPE in daemon or xinetd mode? Does the connection clise immediately? Are there any messages in syslog on survivor about it? -Jason Martin > > Can anyone suggest what to try next? Any and all suggestions appreciated. > > Finally, nrpe.cfg: > pid_file=/var/run/nrpe.pid > server_port=5666 > nrpe_user=nagios > nrpe_group=nagios > dont_blame_nrpe=1 > debug=0 > command_timeout=60 > command[check_users]=/usr/local/nagios/libexec/check_users -w 5 -c 10 > ... commands left out for brevity. > > -- DIODE: What happens to people who don't die young. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From travisll at comfedcu.org Fri May 5 17:54:12 2006 From: travisll at comfedcu.org (Travis Llewellyn) Date: Fri, 5 May 2006 10:54:12 -0500 Subject: nagios friends/neighborhood Message-ID: I guess it would be nice to add the URL for GLPI. http://glpi.indepnet.org/?lang=en Travis Llewellyn Network Administrator Communication Federal Credit Union travisll at comfedcu.org ------------------------------------------------------------------------ - Exodus 15:13 In your unfailing love you will lead the people you have redeemed... -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Travis Llewellyn Posted At: Friday, May 05, 2006 10:48 AM Posted To: Nagios Lists Conversation: [Nagios-users] nagios friends/neighborhood Subject: RE: [Nagios-users] nagios friends/neighborhood We have implemented GLPI as our inventory / asset management component it integrates with ocsinventory http://ocsinventory.sourceforge.net/ With the two of these we can get automatic inventory of Linux and Windows machines. There is some manual stuff to do when it comes to Cisco devices. But anyway. Travis Llewellyn Network Administrator Communication Federal Credit Union travisll at comfedcu.org ------------------------------------------------------------------------ - Exodus 34:6,7 Then the Lord passed by in front of him and proclaimed, "The Lord, the Lord God, compassionate and gracious, slow to anger, and abounding in loving kindness and truth...yet He will by no means leave the guilty unpunished, visiting the iniquity of fathers on the children and on the grandchildren to the third and fourth generations." -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of qstreb Posted At: Thursday, May 04, 2006 2:14 AM Posted To: Nagios Lists Conversation: [Nagios-users] nagios friends/neighborhood Subject: [Nagios-users] nagios friends/neighborhood the company i work for is facing the decision to leave the CA and implement Nagios & friends. The problem is we need ISIL comformance and for that we need software that play nice with nagios (plugins, central DB) RT would be nice for tracking, but Asset Management is a real pain in the a.. So what do you use for asset (hardware, software, licenses) tracking & inventory, auto software patching/installation etc. please URGENT! It could be the only possibility we have to get out of CA, if we dont convince the top project manager, we will be stuck the next 3 years with CA :( thats a lot of costs, better a part to go for oss support :) Please give your recomendations based on experience, as we have only one "stop" person to put nagios in charge. Thank you very much for your recomendations, if you feel its a kind of advertisement, send it directly to my email Oh yes, this installation will be for Linux, Solaris, Windows & Cisco domain. Kind Regards, Qstreb ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ----------------------------------------------------------------- This e-mail and the files transmitted with it are the property of the sender and/or its affiliates, are confidential, and are intended solely for use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender by replying to the e-mail you received and delete this message from your computer immediately. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ----------------------------------------------------------------- This e-mail and the files transmitted with it are the property of the sender and/or its affiliates, are confidential, and are intended solely for use of the individual or entity to whom this e-mail is addressed. If you are not one of the named recipient(s) or otherwise have reason to believe that you have received this message in error, please notify the sender by replying to the e-mail you received and delete this message from your computer immediately. Any other use, retention, dissemination, forwarding, printing, or copying of this e-mail is strictly prohibited. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From yonienjcn at gmail.com Fri May 5 15:36:12 2006 From: yonienjcn at gmail.com (Tao Yaoning) Date: Fri, 5 May 2006 09:36:12 -0400 Subject: NagiosQL Message-ID: <8ee7548c0605050636r45a24ebdja7ecc300256028b5@mail.gmail.com> Hi, all guys I'm configuring Nagios 2.1 with NagiosQL 2005 now. I meet strange problems. I configured Nagios follow the documentation. I configured Nagios folder permission as 755 for /etc/nagios, and ownership is apache.nagios I configured Nagios configuration file permission as 644 and ownership is apache.nagios When I access NagiosQL from Firefox, I can create new configuration files or modify current configuration files. But I couldn't save them. Even I just modify the nagios.cfg, I couldn't save it eighter. But NagiosQL told me, the files are written properly. I totally lost, anybody and any ideas for it. Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim at motionbox.com Fri May 5 18:28:36 2006 From: jim at motionbox.com (James Nachlin) Date: Fri, 05 May 2006 12:28:36 -0400 Subject: SSL handshake of doom In-Reply-To: <20060505154959.GD12699@mal.toger.us> References: <445B7278.4080904@motionbox.com> <20060505154959.GD12699@mal.toger.us> Message-ID: <445B7D34.1010605@motionbox.com> Jason Martin wrote: > On Fri, May 05, 2006 at 11:42:48AM -0400, James Nachlin wrote: > >>[root at yo ~]# telnet survivor 5666 >>Trying 192.168.2.101... >>Connected to survivor (192.168.2.101). >>Escape character is '^]'. >>Connection closed by foreign host. > > Is NRPE in daemon or xinetd mode? Daemon. > Does the connection clise > immediately? No, it waits about 7 seconds. > Are there any messages in syslog on survivor about > it? Yes! A few of these: May 5 14:34:03 survivor nrpe[19415]: refused connect from 192.168.2.30 (192.168.2.30) Could this just be an issue where nrpe is configured not to accept any connections from that network? There are two interfaces on survivor. eth0 is connected to another network. Jim ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jolet.net Fri May 5 19:58:48 2006 From: john at jolet.net (John Jolet) Date: Fri, 5 May 2006 12:58:48 -0500 Subject: Check_NTP issues In-Reply-To: <445B6939.7060506@forumgdh.net> References: <200605041941.MAA17206@redwood.taos.com> <200605050912.50997.john@jolet.net> <445B6939.7060506@forumgdh.net> Message-ID: <200605051258.48935.john@jolet.net> On Friday 05 May 2006 10:03, Tiago Cruz wrote: > John Jolet wrote: > > not necessarily. You can use nrpe to run the check_ntp locally on those > > hosts that do not need to listen to ntp requests from the net. > > Thanks!!! > To begin a test, I did this: > > - Insert in nrpe.cfg one new command: > command[check_ntp]=/.../bin-1.4.2/libexec/check_ntp -H localhost did you run check_ntp -H localhost on the box in question? did it return okay? > > - Check this service remote: > trinity:~# /.../bin-1.4.2/libexec/check_nrpe -H 10.0.0.91 -c check_ntp > NTP WARNING: Desynchronized peer server found|offset=0.000002, > jitter=0,peer_stratum=16 the -H here is the host from above? > > And, when I tried the command in the host 10.0.0.91, I get another error: > > rust:~# /.../bin-1.4.2/libexec/check_ntp -H localhost > Argument "(not parsed)" isn't numeric in abs at /.../check_ntp line 355. > NTP WARNING: Desynchronized peer server found|offset=0.000002, > jitter=0,peer_stratum=16 > > I would like to know: > 1-) How can I fix this error on line 355 > 2-) Why my clock is unsynchronized (the 10.0.0.91 is the NTP server of my > network!) what was the output of ntpq -p localhost on 10.0.0.91? > > Many thanks (and good lunch for all :-p ) -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmiller at servermotion.com Fri May 5 18:36:40 2006 From: cmiller at servermotion.com (Chris Miller) Date: Fri, 05 May 2006 11:36:40 -0500 Subject: Check_NRPE Connectivity Issues Message-ID: <445B7F18.5010903@servermotion.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I am using check_nrpe to connect to a remote box and run a check command. I am able to telnet to the box on port 5666 and get an open connection, but when I try to run check_nrpe (either via Nagios or just from CLI), I get: "CHECK_NRPE: Socket timeout after 10 seconds." I know it works because I have it checking other machines running NRPE too, with the exact same configuration. On the remote machine, I am getting this in /var/log/messages: "Could not read request from client, bailing out..." All of the machines that run nrpe are FreeBSD 5.4 and FreeBSD 6.0 (this one is 6.0). I am able to run the check_nrpe command from the local box and I get "OK" returned just fine. I have NRPE bound to the correct IP address -- the one I am checking from the remote host. The only difference in configuration between the host that I'm getting the errors on and the other machines that also run NRPE without any issue is that the Nagios server is behind a NAT (running static NAT). The other servers running NRPE are also behind the same NAT, so I connect to them using the 10.x.x.x address. On the machine I am having problems with, it is located on the other side of the NAT (I connect to its public IP). The machine having issues is *not* behind a NAT its self, so I only traverse the NAT on the way *out* from the Nagios server. Since it runs over TCP, I would think it should work just fine as the connection state would be maintained in the NAT. What am I missing here? I'm also certain it's something in the NAT, was just wondering if there is anything special I have to do. The NAT is a Cisco PIX. - -- Thanks, Chris Miller ServerMotion www.servermotion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEW38YxBwlCB7CRwsRAnERAJ4liEvlSU26ly5vwKZF6fQQxBzB7wCbBvgu 350nVoxuEHWyPxH7+X1dBd8= =KZv4 -----END PGP SIGNATURE----- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Fri May 5 18:44:46 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Fri, 05 May 2006 12:44:46 -0400 Subject: nagios friends/neighborhood In-Reply-To: References: Message-ID: <1146847486.2952.7.camel@localhost> This looks very nice. So I suppose the last missing piece is software distribution. I would imagine that is the most difficult one. Does anyone have an open source solution for that? - John On Fri, 2006-05-05 at 10:54 -0500, Travis Llewellyn wrote: > I guess it would be nice to add the URL for GLPI. > http://glpi.indepnet.org/?lang=en > > > Travis Llewellyn > Network Administrator > Communication Federal Credit Union > travisll at comfedcu.org > > ------------------------------------------------------------------------ > - > Exodus 15:13 In your unfailing love you will lead the people you have > redeemed... > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Travis > Llewellyn > Posted At: Friday, May 05, 2006 10:48 AM > Posted To: Nagios Lists > Conversation: [Nagios-users] nagios friends/neighborhood > Subject: RE: [Nagios-users] nagios friends/neighborhood > > > We have implemented GLPI as our inventory / asset management component > it integrates with ocsinventory http://ocsinventory.sourceforge.net/ > > With the two of these we can get automatic inventory of Linux and > Windows machines. > > > There is some manual stuff to do when it comes to Cisco devices. > > But anyway. > > > Travis Llewellyn > Network Administrator > Communication Federal Credit Union > travisll at comfedcu.org > > ------------------------------------------------------------------------ > - > Exodus 34:6,7 Then the Lord passed by in front of him and proclaimed, > "The Lord, the Lord God, compassionate and gracious, slow to anger, and > abounding in loving kindness and truth...yet He will by no means leave > the guilty unpunished, visiting the iniquity of fathers on the children > and on the grandchildren to the third and fourth generations." > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of qstreb > Posted At: Thursday, May 04, 2006 2:14 AM > Posted To: Nagios Lists > Conversation: [Nagios-users] nagios friends/neighborhood > Subject: [Nagios-users] nagios friends/neighborhood > > the company i work for is facing the decision to leave the CA and > implement Nagios & friends. > > The problem is we need ISIL comformance > and for that we need software that play nice with nagios (plugins, > central DB) > RT would be nice for tracking, but Asset Management is a real pain in > the a.. > > So what do you use for asset (hardware, software, licenses) tracking & > inventory, auto software patching/installation etc. > > please URGENT! It could be the only possibility we have to get out of > CA, if we dont convince the top project manager, we will be stuck the > next 3 years with CA :( thats a lot of costs, better a part to go for > oss support :) > Please give your recomendations based on experience, as we have only one > "stop" person to put nagios in charge. > > Thank you very much for your recomendations, > if you feel its a kind of advertisement, send it directly to my email > > Oh yes, this installation will be for Linux, Solaris, Windows & Cisco > domain. > > Kind Regards, > Qstreb > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > ----------------------------------------------------------------- > This e-mail and the files transmitted with it are the property > of the sender and/or its affiliates, are confidential, and are > intended solely for use of the individual or entity to whom > this e-mail is addressed. If you are not one of the named > recipient(s) or otherwise have reason to believe that you have > received this message in error, please notify the sender by > replying to the e-mail you received and delete this message > from your computer immediately. Any other use, retention, > dissemination, forwarding, printing, or copying of this e-mail > is strictly prohibited. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ----------------------------------------------------------------- > This e-mail and the files transmitted with it are the property > of the sender and/or its affiliates, are confidential, and are > intended solely for use of the individual or entity to whom > this e-mail is addressed. If you are not one of the named > recipient(s) or otherwise have reason to believe that you have > received this message in error, please notify the sender by > replying to the e-mail you received and delete this message > from your computer immediately. Any other use, retention, > dissemination, forwarding, printing, or copying of this e-mail > is strictly prohibited. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Fri May 5 18:49:19 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 May 2006 09:49:19 -0700 Subject: SSL handshake of doom In-Reply-To: <445B7D34.1010605@motionbox.com> References: <445B7278.4080904@motionbox.com> <20060505154959.GD12699@mal.toger.us> <445B7D34.1010605@motionbox.com> Message-ID: <20060505164918.GF12699@mal.toger.us> On Fri, May 05, 2006 at 12:28:36PM -0400, James Nachlin wrote: > May 5 14:34:03 survivor nrpe[19415]: refused connect from 192.168.2.30 > (192.168.2.30) > > Could this just be an issue where nrpe is configured not to accept any > connections from that network? There are two interfaces on survivor. Sounds like an allowed_hosts problem in your nrpe configuration. is 192.168.2.30 included? -JM > > > Jim > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk being > sent to /dev/null -- Oxymoron: Science Fiction. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From jhmartin at toger.us Fri May 5 18:57:03 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 5 May 2006 09:57:03 -0700 Subject: nagios friends/neighborhood In-Reply-To: <1146847486.2952.7.camel@localhost> References: <1146847486.2952.7.camel@localhost> Message-ID: <20060505165703.GG12699@mal.toger.us> On Fri, May 05, 2006 at 12:44:46PM -0400, John A. Sullivan III wrote: > This looks very nice. So I suppose the last missing piece is software > distribution. I would imagine that is the most difficult one. Does > anyone have an open source solution for that? - John Check out www.cfengine.org. That, possibly combined with the package manager of your choice, handles the situation fairly well. -Jason Martin -- Oxymoron: Science Fiction. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From tiagocruz at forumgdh.net Fri May 5 19:10:57 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Fri, 05 May 2006 14:10:57 -0300 Subject: Check_NTP issues In-Reply-To: <200605051258.48935.john@jolet.net> References: <200605041941.MAA17206@redwood.taos.com> <200605050912.50997.john@jolet.net> <445B6939.7060506@forumgdh.net> <200605051258.48935.john@jolet.net> Message-ID: <445B8721.2030902@forumgdh.net> Thanks again by your attention! :) John Jolet wrote: > did you run check_ntp -H localhost on the box in question? did it return > okay? I'll post all the output here, because I'm not understanding what's can be happing here :-( Trinity, IP 10.0.0.173 (Nagios Server) trinity:~# ntpq -p localhost remote refid st t when poll reach delay offset jitter ============================================================================== 10.0.0.91 .INIT. 16 u 704 1024 0 0.000 0.000 4000.00 trinity:~# /.../check_ntp -H localhost Argument "(not parsed)" isn't numeric in abs at /.../check_ntp line 355. NTP WARNING: Desynchronized peer server found --- Rust, IP 10.0.0.91 (NTP Server of my Network) rust:~# ntpq -p localhost remote refid st t when poll reach delay offset jitter ============================================================================== 10.0.0.91 .INIT. 16 u - 1024 0 0.000 0.000 4000.00 rust:~# /.../check_ntp -H localhost Argument "(not parsed)" isn't numeric in abs at /.../check_ntp line 355. NTP WARNING: Desynchronized peer server found|offset=0.000003, jitter=0,peer_stratum=16 Strange.. I'm out of synchrony with my self 8-) Many thanks! -- Tiago Cruz Network Administrator Linux is like an Indian tent: no Windows, no Gates and an Apache inside. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 jolet.net Fri May 5 20:51:57 2006 From: john at jolet.net (John Jolet) Date: Fri, 5 May 2006 13:51:57 -0500 Subject: Check_NTP issues In-Reply-To: <445B8721.2030902@forumgdh.net> References: <200605041941.MAA17206@redwood.taos.com> <200605051258.48935.john@jolet.net> <445B8721.2030902@forumgdh.net> Message-ID: <200605051351.57283.john@jolet.net> On Friday 05 May 2006 12:10, Tiago Cruz wrote: > Thanks again by your attention! :) > > John Jolet wrote: > > did you run check_ntp -H localhost on the box in question? did it return > > okay? > > I'll post all the output here, because I'm not understanding what's can be > happing here :-( > > Trinity, IP 10.0.0.173 (Nagios Server) > > trinity:~# ntpq -p localhost > remote refid st t when poll reach delay offset > jitter > =========================================================================== >=== 10.0.0.91 .INIT. 16 u 704 1024 0 0.000 0.000 > 4000.00 > > trinity:~# /.../check_ntp -H localhost > Argument "(not parsed)" isn't numeric in abs at /.../check_ntp line 355. > NTP WARNING: Desynchronized peer server found okay, first thing is that neither of those servers are synced with anyone. if they were synced, they would have a * next to the "remote" address. i'd get ntp working and synchronizing first, before I messed with checking that service. If 10.0.0.91 is supposed to be the reference for the rest of your network, get him syncing to at least 3 servers on at least two strata first. If you want to email me offlist with your ntpd.conf file, i'll try to help out some more. However, until ntp is actually working on the server that's supposed to be supplying your time locally, i think you're going to be kinda off-topic for this list with this issue. -- John Jolet Your On-Demand IT Department 512-762-0729 www.jolet.net john at jolet.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jeremy.Pavleck at capella.edu Fri May 5 19:36:07 2006 From: Jeremy.Pavleck at capella.edu (Pavleck, Jeremy D.) Date: Fri, 5 May 2006 12:36:07 -0500 Subject: Alerts via RSS? Message-ID: <0F1A5F3993566D4883C596CB56E59B9A05F80D31@mspmail02.int.capella.lan> Has anyone seen a setup to have the last X alerts displayed via RSS? I'm trying to integrate it into a complete monitoring portal Jeremy Pavleck Network Engineer - Systems Management IT Networks and Infrastructure Direct Line: 612-977-5881 Toll Free: 1-888-CAPELLA ext. 5881 Fax: 612-977-5053 E-mail: jeremy.pavleck at capella.edu Capella University 225 South 6th Street, 9th Floor Minneapolis, MN 55402 www.capella.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: From jsullivan at opensourcedevel.com Fri May 5 19:36:13 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Fri, 05 May 2006 13:36:13 -0400 Subject: nagios friends/neighborhood In-Reply-To: <20060505165703.GG12699@mal.toger.us> References: <1146847486.2952.7.camel@localhost> <20060505165703.GG12699@mal.toger.us> Message-ID: <1146850573.2952.17.camel@localhost> On Fri, 2006-05-05 at 09:57 -0700, Jason Martin wrote: > On Fri, May 05, 2006 at 12:44:46PM -0400, John A. Sullivan III wrote: > > This looks very nice. So I suppose the last missing piece is software > > distribution. I would imagine that is the most difficult one. Does > > anyone have an open source solution for that? - John > Check out www.cfengine.org. That, possibly combined with the > package manager of your choice, handles the situation fairly > well. > > -Jason Martin Thanks. Coming back to the theme of the original post - finding a suite of tools to complement Nagios to help it compete with the likes of UniCenter and Tivoli - cfEngine seems very Linux and server oriented although it does discuss using Cygwin to manage Windows servers. In my CIO/CTO positions, I have always found the challenge to be Windows desktops. To build an open source alternative to the proprietary offerings, the big missing piece has always seemed to be software distribution and PC maintenance, e.g., LANDesk, Empirum, Marimba. Has anyone found a mature such open source product and especially one with ties to Nagios? - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com Financially sustainable open source development http://www.opensourcedevel.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri May 5 16:47:47 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 5 May 2006 16:47:47 +0200 (CEST) Subject: Antwort: Regular Expression Expansion In-Reply-To: References: Message-ID: On Fri, 5 May 2006, Ingo Lantschner wrote: > nagios-users-admin at lists.sourceforge.net schrieb am 03.05.2006 05:13:58: > > > #dependent_service_description ^Tun.*-(?:Chattanooga|Midlothian)$ > > ... > > > > The commented line generates errors on pre-flight check. It's almost as > > if it cannot handle the alternation (|). Have I mangled the regular > > expression or is this a peculiarity of Nagios? Thanks - John > Seems as if it is not clear, which flavor of Regex is suported in Nagios, > I had a similar problem, and could not find a clear documentation about > the regex-suport in Nagios yet. > > F.e. > [sw][0-9]{3}[a-z]{2,124}\.company\.net > This should match any string starting with either s or w, followed by > exactly 3 digits and a resonable number of characters plus the domain > suffix. > But it did not work. May be I am missing some backslashes? > > Please, can anyone point us to the right place? How about sharing with us the exact settings used in nagios.cfg in this regard? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri May 5 16:46:04 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 5 May 2006 16:46:04 +0200 (CEST) Subject: Nagios 1.2 issue in calculated availability In-Reply-To: <200605051458.25909.nrc@eurotux.com> References: <200605051458.25909.nrc@eurotux.com> Message-ID: On Fri, 5 May 2006, Nuno Carvalho wrote: > We are experiencing some problems with Nagios calculating services > availability. If we check the logs we can see messages showing the service > status going CRITICAL and OK, but if we check the grapich that the > availability feature creates we come up with wrong information. It seems that > Nagios isn't using all the information in the logs to generate the graphic. > To try to be more specific the logs tell me that some_service went critical > and back: Sounds like a known and fixed issue if I read the changelog correctly: http://www.nagios.org/development/changelog.php Time to upgrade to 1.4 (or the 2.x branch if you like). Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Fri May 5 20:19:46 2006 From: imarks at comcast.net (Ian Marks) Date: Fri, 05 May 2006 14:19:46 -0400 Subject: NSCA Time Out Message-ID: <445B9742.4090202@comcast.net> I'm having an issue with nsca in a distributed setup. I keep getting the following error "Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check Ping Service' on host '/host_name/' timed out after 5 seconds" I see the initial connection on the central server get established, so I was assuming it was an encryption issue. For troubleshooting purposes, I have disabled encryption, but still see the same error. I have the following defined on the ##distributed server. in nagios.cfg obsess_over_services=1 ocsp_command=submit_check_result_nsca in checkcommnands.cfg define command{ command_name submit_check_result_nsca command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } ##central server all services and hosts have been defined for the remote server, nsca is running, passive checks are enabled, and iptables rules have been set to allow the connection. Thanks in advanced for any help!! Ian ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 20:27:42 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 5 May 2006 14:27:42 -0400 Subject: NSCA Time Out Message-ID: What happens if you run it manually as the Nagios user? What, if anything, appears in the logs on the server side? How are you running nsca? inetd? Standalone? If standalone, is the nsca server configured to allow connections from your clients? Give us something to work with here. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian Marks Sent: Friday, May 05, 2006 11:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCA Time Out I'm having an issue with nsca in a distributed setup. I keep getting the following error "Warning: OCSP command '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check Ping Service' on host '/host_name/' timed out after 5 seconds" I see the initial connection on the central server get established, so I was assuming it was an encryption issue. For troubleshooting purposes, I have disabled encryption, but still see the same error. I have the following defined on the ##distributed server. in nagios.cfg obsess_over_services=1 ocsp_command=submit_check_result_nsca in checkcommnands.cfg define command{ command_name submit_check_result_nsca command_line /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' } ##central server all services and hosts have been defined for the remote server, nsca is running, passive checks are enabled, and iptables rules have been set to allow the connection. Thanks in advanced for any help!! Ian ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mhennessy at cloud9.net Fri May 5 20:34:44 2006 From: mhennessy at cloud9.net (Mark Hennessy) Date: Fri, 5 May 2006 14:34:44 -0400 Subject: Was this bug ever fixed? Message-ID: Was the bug noted below ever fixed in a later Nagios 2.x? The changelog doesn't seem to indicate that it has. >From the Nagios 2.x documentation: Known Issues There is a known issue that can affect Nagios 2.0 on FreeBSD systems. Hopefully this problem can be fixed in a 2.x release... 1. FreeBSD and threads. On FreeBSD there's a native user-level implementation of threads called 'pthread' and there's also an optional ports collection 'linuxthreads' that uses kernel hooks. Some folks from Yahoo! have reported that using the pthread library causes Nagios to pause under heavy I/O load, causing some service check results to be lost. Switching to linuxthreads seems to help this problem, but not fix it. The lock happens in liblthread's __pthread_acquire() - it can't ever acquire the spinlock. It happens when the main thread forks to execute an active check. On the second fork to create the grandchild, the grandchild is created by fork, but never returns from liblthread's fork wrapper, because it's stuck in __pthread_acquire(). Maybe some FreeBSD users can help out with this problem. -- Mark Hennessy ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Fri May 5 20:46:41 2006 From: imarks at comcast.net (Ian Marks) Date: Fri, 05 May 2006 14:46:41 -0400 Subject: NSCA Time Out In-Reply-To: References: Message-ID: <445B9D91.5070809@comcast.net> 1. It times out at 10 seconds. I also tried setting ocsp_timeout=30. 2. I'm really not sure what log to look at on the server side, I was basing the connection established on tcpdump after seeing a handshake take place. 3. nsca is running under init.d as a service. Morris, Patrick wrote: > What happens if you run it manually as the Nagios user? > > What, if anything, appears in the logs on the server side? > > How are you running nsca? inetd? Standalone? > > If standalone, is the nsca server configured to allow connections from > your clients? > > Give us something to work with here. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian Marks > Sent: Friday, May 05, 2006 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCA Time Out > > I'm having an issue with nsca in a distributed setup. I keep getting > the following error > "Warning: OCSP command > '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca > /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check Ping > Service' on host '/host_name/' timed out after 5 seconds" > I see the initial connection on the central server get established, so I > was assuming it was an encryption issue. For troubleshooting purposes, > I have disabled encryption, but still see the same error. > > I have the following defined on the > ##distributed server. > in nagios.cfg > obsess_over_services=1 > ocsp_command=submit_check_result_nsca > > in checkcommnands.cfg > define command{ > command_name submit_check_result_nsca > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' > } > > ##central server > all services and hosts have been defined for the remote server, nsca is > running, passive checks are enabled, and iptables rules have been set to > allow the connection. > > Thanks in advanced for any help!! > Ian > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 20:55:40 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 5 May 2006 14:55:40 -0400 Subject: NSCA Time Out Message-ID: OK, that still leaves a couple important questions: > What happens if you run it manually as the Nagios user? > If standalone, is the nsca server configured to allow connections from > your clients? -----Original Message----- From: Ian Marks [mailto:imarks at comcast.net] Sent: Friday, May 05, 2006 11:47 AM To: Morris, Patrick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSCA Time Out 1. It times out at 10 seconds. I also tried setting ocsp_timeout=30. 2. I'm really not sure what log to look at on the server side, I was basing the connection established on tcpdump after seeing a handshake take place. 3. nsca is running under init.d as a service. Morris, Patrick wrote: > What happens if you run it manually as the Nagios user? > > What, if anything, appears in the logs on the server side? > > How are you running nsca? inetd? Standalone? > > If standalone, is the nsca server configured to allow connections from > your clients? > > Give us something to work with here. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian > Marks > Sent: Friday, May 05, 2006 11:20 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCA Time Out > > I'm having an issue with nsca in a distributed setup. I keep getting > the following error > "Warning: OCSP command > '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca > /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check > Ping Service' on host '/host_name/' timed out after 5 seconds" > I see the initial connection on the central server get established, so > I was assuming it was an encryption issue. For troubleshooting > purposes, I have disabled encryption, but still see the same error. > > I have the following defined on the > ##distributed server. > in nagios.cfg > obsess_over_services=1 > ocsp_command=submit_check_result_nsca > > in checkcommnands.cfg > define command{ > command_name submit_check_result_nsca > command_line > /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca > $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' > } > > ##central server > all services and hosts have been defined for the remote server, nsca > is running, passive checks are enabled, and iptables rules have been > set to allow the connection. > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Fri May 5 21:04:38 2006 From: imarks at comcast.net (Ian Marks) Date: Fri, 05 May 2006 15:04:38 -0400 Subject: NSCA Time Out In-Reply-To: References: Message-ID: <445BA1C6.1030307@comcast.net> When I run it manually, it times out after 10 seconds. I have iptables allowing port 5667 from the distributed server and no tcp wrappers enabled. I have enabled debug for nsca on the central server. According to /var/log/messages events are getting to the server, but just not being read by nagios. Morris, Patrick wrote: > OK, that still leaves a couple important questions: > > >> What happens if you run it manually as the Nagios user? >> If standalone, is the nsca server configured to allow connections from >> > > >> your clients? >> > > -----Original Message----- > From: Ian Marks [mailto:imarks at comcast.net] > Sent: Friday, May 05, 2006 11:47 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCA Time Out > > 1. It times out at 10 seconds. I also tried setting ocsp_timeout=30. > 2. I'm really not sure what log to look at on the server side, I was > basing the connection established on tcpdump after seeing a handshake > take place. > 3. nsca is running under init.d as a service. > > Morris, Patrick wrote: > >> What happens if you run it manually as the Nagios user? >> >> What, if anything, appears in the logs on the server side? >> >> How are you running nsca? inetd? Standalone? >> >> If standalone, is the nsca server configured to allow connections from >> > > >> your clients? >> >> Give us something to work with here. >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian >> Marks >> Sent: Friday, May 05, 2006 11:20 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] NSCA Time Out >> >> I'm having an issue with nsca in a distributed setup. I keep getting >> the following error >> "Warning: OCSP command >> '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >> /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check >> Ping Service' on host '/host_name/' timed out after 5 seconds" >> I see the initial connection on the central server get established, so >> > > >> I was assuming it was an encryption issue. For troubleshooting >> purposes, I have disabled encryption, but still see the same error. >> >> I have the following defined on the >> ##distributed server. >> in nagios.cfg >> obsess_over_services=1 >> ocsp_command=submit_check_result_nsca >> >> in checkcommnands.cfg >> define command{ >> command_name submit_check_result_nsca >> command_line >> /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >> $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' >> } >> >> ##central server >> all services and hosts have been defined for the remote server, nsca >> is running, passive checks are enabled, and iptables rules have been >> set to allow the connection. >> >> > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 5 21:12:38 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 5 May 2006 15:12:38 -0400 Subject: NSCA Time Out Message-ID: OK, that still leaves one question (I feel like a dentist): >> If standalone, is the nsca server configured to allow connections >> from your clients? This would be "allowed_hosts" in the nsca config file. At this point, It might be good to add the questions: Have you tried enabling debugging in the nsca config? What does your nsca config look like, anyway? Can you telnet to port 5667 on the nsca server? -----Original Message----- From: Ian Marks [mailto:imarks at comcast.net] Sent: Friday, May 05, 2006 12:05 PM To: Morris, Patrick Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NSCA Time Out When I run it manually, it times out after 10 seconds. I have iptables allowing port 5667 from the distributed server and no tcp wrappers enabled. I have enabled debug for nsca on the central server. According to /var/log/messages events are getting to the server, but just not being read by nagios. Morris, Patrick wrote: > OK, that still leaves a couple important questions: > > >> What happens if you run it manually as the Nagios user? >> If standalone, is the nsca server configured to allow connections >> from >> > > >> your clients? >> > > -----Original Message----- > From: Ian Marks [mailto:imarks at comcast.net] > Sent: Friday, May 05, 2006 11:47 AM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCA Time Out > > 1. It times out at 10 seconds. I also tried setting ocsp_timeout=30. > 2. I'm really not sure what log to look at on the server side, I was > basing the connection established on tcpdump after seeing a handshake > take place. > 3. nsca is running under init.d as a service. > > Morris, Patrick wrote: > >> What happens if you run it manually as the Nagios user? >> >> What, if anything, appears in the logs on the server side? >> >> How are you running nsca? inetd? Standalone? >> >> If standalone, is the nsca server configured to allow connections >> from >> > > >> your clients? >> >> Give us something to work with here. >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian >> Marks >> Sent: Friday, May 05, 2006 11:20 AM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] NSCA Time Out >> >> I'm having an issue with nsca in a distributed setup. I keep getting >> the following error >> "Warning: OCSP command >> '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >> /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check >> Ping Service' on host '/host_name/' timed out after 5 seconds" >> I see the initial connection on the central server get established, >> so >> > > >> I was assuming it was an encryption issue. For troubleshooting >> purposes, I have disabled encryption, but still see the same error. >> >> I have the following defined on the >> ##distributed server. >> in nagios.cfg >> obsess_over_services=1 >> ocsp_command=submit_check_result_nsca >> >> in checkcommnands.cfg >> define command{ >> command_name submit_check_result_nsca >> command_line >> /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >> $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' >> } >> >> ##central server >> all services and hosts have been defined for the remote server, nsca >> is running, passive checks are enabled, and iptables rules have been >> set to allow the connection. >> ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Fri May 5 21:23:39 2006 From: imarks at comcast.net (Ian Marks) Date: Fri, 05 May 2006 15:23:39 -0400 Subject: NSCA Time Out In-Reply-To: References: Message-ID: <445BA63B.2090802@comcast.net> I'm running nsca Version: 2.6, which doesn't appear to support the allowed_hosts variable. The fact that I'm able to see a vaild tcp session would show that nothing is blocking it?? Morris, Patrick wrote: > OK, that still leaves one question (I feel like a dentist): > > >>> If standalone, is the nsca server configured to allow connections >>> from your clients? >>> > > This would be "allowed_hosts" in the nsca config file. > > At this point, It might be good to add the questions: > > Have you tried enabling debugging in the nsca config? > What does your nsca config look like, anyway? > Can you telnet to port 5667 on the nsca server? > > -----Original Message----- > From: Ian Marks [mailto:imarks at comcast.net] > Sent: Friday, May 05, 2006 12:05 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCA Time Out > > When I run it manually, it times out after 10 seconds. > I have iptables allowing port 5667 from the distributed server and no > tcp wrappers enabled. > I have enabled debug for nsca on the central server. According to > /var/log/messages events are getting to the server, but just not being > read by nagios. > > Morris, Patrick wrote: > >> OK, that still leaves a couple important questions: >> >> >> >>> What happens if you run it manually as the Nagios user? >>> If standalone, is the nsca server configured to allow connections >>> from >>> >>> >> >> >>> your clients? >>> >>> >> -----Original Message----- >> From: Ian Marks [mailto:imarks at comcast.net] >> Sent: Friday, May 05, 2006 11:47 AM >> To: Morris, Patrick >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NSCA Time Out >> >> 1. It times out at 10 seconds. I also tried setting ocsp_timeout=30. >> 2. I'm really not sure what log to look at on the server side, I was >> basing the connection established on tcpdump after seeing a handshake >> take place. >> 3. nsca is running under init.d as a service. >> >> Morris, Patrick wrote: >> >> >>> What happens if you run it manually as the Nagios user? >>> >>> What, if anything, appears in the logs on the server side? >>> >>> How are you running nsca? inetd? Standalone? >>> >>> If standalone, is the nsca server configured to allow connections >>> from >>> >>> >> >> >>> your clients? >>> >>> Give us something to work with here. >>> >>> -----Original Message----- >>> From: nagios-users-admin at lists.sourceforge.net >>> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian >>> Marks >>> Sent: Friday, May 05, 2006 11:20 AM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] NSCA Time Out >>> >>> I'm having an issue with nsca in a distributed setup. I keep getting >>> > > >>> the following error >>> "Warning: OCSP command >>> '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >>> /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check >>> Ping Service' on host '/host_name/' timed out after 5 seconds" >>> I see the initial connection on the central server get established, >>> so >>> >>> >> >> >>> I was assuming it was an encryption issue. For troubleshooting >>> purposes, I have disabled encryption, but still see the same error. >>> >>> I have the following defined on the >>> ##distributed server. >>> in nagios.cfg >>> obsess_over_services=1 >>> ocsp_command=submit_check_result_nsca >>> >>> in checkcommnands.cfg >>> define command{ >>> command_name submit_check_result_nsca >>> command_line >>> /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >>> $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' >>> } >>> >>> ##central server >>> all services and hosts have been defined for the remote server, nsca >>> is running, passive checks are enabled, and iptables rules have been >>> set to allow the connection. >>> >>> > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Fri May 5 21:42:19 2006 From: imarks at comcast.net (Ian Marks) Date: Fri, 05 May 2006 15:42:19 -0400 Subject: NSCA Time Out In-Reply-To: References: Message-ID: <445BAA9B.1030406@comcast.net> Central Server pid_file=/var/run/nsca.pid server_port=5667 nsca_user=nagios nsca_group=nagios debug=1 command_file=/usr/local/nagios/var/rw/nagios.cmd alternate_dump_file=/usr/local/nagios/var/rw/nsca.dump aggregate_writes=1 append_to_file=0 max_packet_age=30 password=###### decryption_method=0 Distributed Server password=###### encryption_method=0 Morris, Patrick wrote: > OK, that still leaves one question (I feel like a dentist): > > >>> If standalone, is the nsca server configured to allow connections >>> from your clients? >>> > > This would be "allowed_hosts" in the nsca config file. > > At this point, It might be good to add the questions: > > Have you tried enabling debugging in the nsca config? > What does your nsca config look like, anyway? > Can you telnet to port 5667 on the nsca server? > > -----Original Message----- > From: Ian Marks [mailto:imarks at comcast.net] > Sent: Friday, May 05, 2006 12:05 PM > To: Morris, Patrick > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] NSCA Time Out > > When I run it manually, it times out after 10 seconds. > I have iptables allowing port 5667 from the distributed server and no > tcp wrappers enabled. > I have enabled debug for nsca on the central server. According to > /var/log/messages events are getting to the server, but just not being > read by nagios. > > Morris, Patrick wrote: > >> OK, that still leaves a couple important questions: >> >> >> >>> What happens if you run it manually as the Nagios user? >>> If standalone, is the nsca server configured to allow connections >>> from >>> >>> >> >> >>> your clients? >>> >>> >> -----Original Message----- >> From: Ian Marks [mailto:imarks at comcast.net] >> Sent: Friday, May 05, 2006 11:47 AM >> To: Morris, Patrick >> Cc: nagios-users at lists.sourceforge.net >> Subject: Re: [Nagios-users] NSCA Time Out >> >> 1. It times out at 10 seconds. I also tried setting ocsp_timeout=30. >> 2. I'm really not sure what log to look at on the server side, I was >> basing the connection established on tcpdump after seeing a handshake >> take place. >> 3. nsca is running under init.d as a service. >> >> Morris, Patrick wrote: >> >> >>> What happens if you run it manually as the Nagios user? >>> >>> What, if anything, appears in the logs on the server side? >>> >>> How are you running nsca? inetd? Standalone? >>> >>> If standalone, is the nsca server configured to allow connections >>> from >>> >>> >> >> >>> your clients? >>> >>> Give us something to work with here. >>> >>> -----Original Message----- >>> From: nagios-users-admin at lists.sourceforge.net >>> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ian >>> Marks >>> Sent: Friday, May 05, 2006 11:20 AM >>> To: nagios-users at lists.sourceforge.net >>> Subject: [Nagios-users] NSCA Time Out >>> >>> I'm having an issue with nsca in a distributed setup. I keep getting >>> > > >>> the following error >>> "Warning: OCSP command >>> '/usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >>> /host_name/ 'Check Ping Service' OK '$OUTPUT$'' for service 'Check >>> Ping Service' on host '/host_name/' timed out after 5 seconds" >>> I see the initial connection on the central server get established, >>> so >>> >>> >> >> >>> I was assuming it was an encryption issue. For troubleshooting >>> purposes, I have disabled encryption, but still see the same error. >>> >>> I have the following defined on the >>> ##distributed server. >>> in nagios.cfg >>> obsess_over_services=1 >>> ocsp_command=submit_check_result_nsca >>> >>> in checkcommnands.cfg >>> define command{ >>> command_name submit_check_result_nsca >>> command_line >>> /usr/local/nagios/libexec/eventhandlers/submit_check_result_nsca >>> $HOSTNAME$ '$SERVICEDESC$' $SERVICESTATE$ '$OUTPUT$' >>> } >>> >>> ##central server >>> all services and hosts have been defined for the remote server, nsca >>> is running, passive checks are enabled, and iptables rules have been >>> set to allow the connection. >>> >>> > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From estair at ilm.com Fri May 5 23:50:46 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 05 May 2006 14:50:46 -0700 Subject: nagios friends/neighborhood In-Reply-To: <1146847486.2952.7.camel@localhost> References: <1146847486.2952.7.camel@localhost> Message-ID: I haven't followed up on these tools beyond seeing the page is in French with no english translation... So don't know how simple it would be to integrate... But cfEngine is great. I use it for auto-maintaining host configurations (files), maintaining/monitoring program states, and automatically updating system files/libraries/packages, as well as software distribution. (cfengine.org) /eli On 5/5/06 9:44 AM, "John A. Sullivan III" wrote: > This looks very nice. So I suppose the last missing piece is software > distribution. I would imagine that is the most difficult one. Does > anyone have an open source solution for that? - John > > On Fri, 2006-05-05 at 10:54 -0500, Travis Llewellyn wrote: >> I guess it would be nice to add the URL for GLPI. >> http://glpi.indepnet.org/?lang=en >> >> >> Travis Llewellyn >> Network Administrator >> Communication Federal Credit Union >> travisll at comfedcu.org >> >> ------------------------------------------------------------------------ >> - >> Exodus 15:13 In your unfailing love you will lead the people you have >> redeemed... >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Travis >> Llewellyn >> Posted At: Friday, May 05, 2006 10:48 AM >> Posted To: Nagios Lists >> Conversation: [Nagios-users] nagios friends/neighborhood >> Subject: RE: [Nagios-users] nagios friends/neighborhood >> >> >> We have implemented GLPI as our inventory / asset management component >> it integrates with ocsinventory http://ocsinventory.sourceforge.net/ >> >> With the two of these we can get automatic inventory of Linux and >> Windows machines. >> >> >> There is some manual stuff to do when it comes to Cisco devices. >> >> But anyway. >> >> >> Travis Llewellyn >> Network Administrator >> Communication Federal Credit Union >> travisll at comfedcu.org >> >> ------------------------------------------------------------------------ >> - >> Exodus 34:6,7 Then the Lord passed by in front of him and proclaimed, >> "The Lord, the Lord God, compassionate and gracious, slow to anger, and >> abounding in loving kindness and truth...yet He will by no means leave >> the guilty unpunished, visiting the iniquity of fathers on the children >> and on the grandchildren to the third and fourth generations." >> >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net >> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of qstreb >> Posted At: Thursday, May 04, 2006 2:14 AM >> Posted To: Nagios Lists >> Conversation: [Nagios-users] nagios friends/neighborhood >> Subject: [Nagios-users] nagios friends/neighborhood >> >> the company i work for is facing the decision to leave the CA and >> implement Nagios & friends. >> >> The problem is we need ISIL comformance >> and for that we need software that play nice with nagios (plugins, >> central DB) >> RT would be nice for tracking, but Asset Management is a real pain in >> the a.. >> >> So what do you use for asset (hardware, software, licenses) tracking & >> inventory, auto software patching/installation etc. >> >> please URGENT! It could be the only possibility we have to get out of >> CA, if we dont convince the top project manager, we will be stuck the >> next 3 years with CA :( thats a lot of costs, better a part to go for >> oss support :) >> Please give your recomendations based on experience, as we have only one >> "stop" person to put nagios in charge. >> >> Thank you very much for your recomendations, >> if you feel its a kind of advertisement, send it directly to my email >> >> Oh yes, this installation will be for Linux, Solaris, Windows & Cisco >> domain. >> >> Kind Regards, >> Qstreb >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ----------------------------------------------------------------- >> This e-mail and the files transmitted with it are the property >> of the sender and/or its affiliates, are confidential, and are >> intended solely for use of the individual or entity to whom >> this e-mail is addressed. If you are not one of the named >> recipient(s) or otherwise have reason to believe that you have >> received this message in error, please notify the sender by >> replying to the e-mail you received and delete this message >> from your computer immediately. Any other use, retention, >> dissemination, forwarding, printing, or copying of this e-mail >> is strictly prohibited. >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your job >> easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> >> >> ----------------------------------------------------------------- >> This e-mail and the files transmitted with it are the property >> of the sender and/or its affiliates, are confidential, and are >> intended solely for use of the individual or entity to whom >> this e-mail is addressed. If you are not one of the named >> recipient(s) or otherwise have reason to believe that you have >> received this message in error, please notify the sender by >> replying to the e-mail you received and delete this message >> from your computer immediately. Any other use, retention, >> dissemination, forwarding, printing, or copying of this e-mail >> is strictly prohibited. >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, security? >> Get stuff done quickly with pre-integrated technology to make your job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when reporting >> any issue. >> ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From barbereau at gmail.com Sat May 6 02:32:27 2006 From: barbereau at gmail.com (=?ISO-8859-1?Q?S=E9bastien_Barbereau?=) Date: Sat, 6 May 2006 01:32:27 +0100 Subject: Alerts via RSS? In-Reply-To: <0F1A5F3993566D4883C596CB56E59B9A05F80D31@mspmail02.int.capella.lan> References: <0F1A5F3993566D4883C596CB56E59B9A05F80D31@mspmail02.int.capella.lan> Message-ID: <4e0e33ee0605051732x7aa353d5jf5fbd9675a2fcd9@mail.gmail.com> there is a plugin for this on nagiosexchange: http://www.nagiosexchange.org/Notifications.35.0.html?&tx_netnagext_pi1[p_view]=314 hope this helps. On 5/5/06, Pavleck, Jeremy D. wrote: > > Has anyone seen a setup to have the last X alerts displayed via RSS? I'm > trying to integrate it into a complete monitoring portal > > > Jeremy Pavleck > Network Engineer ? Systems Management > IT Networks and Infrastructure > > Direct Line: 612-977-5881 > Toll Free: 1-888-CAPELLA ext. 5881 > Fax: 612-977-5053 > E-mail: jeremy.pavleck at capella.edu > > Capella University > 225 South 6th Street, 9th Floor > Minneapolis, MN 55402 > > www.capella.edu > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wrjacqmein at gmail.com Sat May 6 07:15:04 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Fri, 5 May 2006 22:15:04 -0700 Subject: nagios friends/neighborhood In-Reply-To: <1146850573.2952.17.camel@localhost> References: <1146847486.2952.7.camel@localhost> <20060505165703.GG12699@mal.toger.us> <1146850573.2952.17.camel@localhost> Message-ID: <3c9a5bae0605052215j63d97277y8aaf94e1893f92ce@mail.gmail.com> John, I will agree with the previous posts that for *nix systems and definitely large number of systems cfengine is the way to go. Windows requires a different whip to heel. I recommend two utilities - first one is WPKG (http://wpkg.org) which allows for the managing applications through their installation life cycle (installation-patch/upgrade-removal). The second being Unattended(http://unattended.sourceforge.net/step-by-step.php) is for creating OS builds for different parts of your organization. From the management perspective, your PC tech staff will be freed from day to day installations but swapped into maintaining the build server, OS install images, applications installations, and troubleshooting the application install. The payoff for doing this is to get an common install base no matter the turn over rate, repeatability from the install process, a simple install procedure (front loading the hard part of figuring out the options to standardize on during the package creation and the packages can be rolled out from a central place), less mistakes from junior PC techs (or the common thought of "I think this person should have all the games loaded because I like them" even though there is a corporate policy (policies without enforcement turn into dust quite fast) against loading them), and ease of adding new systems into the environment. Another application which may help in the quest for an Open source management infrastructure is http://ocsinventory.sourceforge.net/ OCS Inventory NG which will provide and inventory of PCs and the software loaded on them. This is one of those areas which hurts all IT pros: We spend are time providing tools/services to business, we forgot to provide tools/services to run the business of providing IT. Hope it is useful and Enjoy, Bill On 5/5/06, John A. Sullivan III wrote: > In my CIO/CTO positions, I have always found the challenge to be Windows > desktops. To build an open source alternative to the proprietary > offerings, the big missing piece has always seemed to be software > distribution and PC maintenance, e.g., LANDesk, Empirum, Marimba. Has > anyone found a mature such open source product and especially one with > ties to Nagios? - John > -- > John A. Sullivan III > Open Source Development Corporation > +1 207-985-7880 > jsullivan at opensourcedevel.com > > Financially sustainable open source development > http://www.opensourcedevel.com > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EdLucero at InternetCrusade.com Mon May 8 17:31:32 2006 From: EdLucero at InternetCrusade.com (Ed Lucero) Date: Mon, 8 May 2006 08:31:32 -0700 Subject: Check_NTP issues In-Reply-To: <200605051351.57283.john@jolet.net> References: <200605051351.57283.john@jolet.net> Message-ID: <20060508152517.893E44AC21@cs2.sandiegort.com> > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of John Jolet > Sent: Friday, May 05, 2006 11:52 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_NTP issues > > On Friday 05 May 2006 12:10, Tiago Cruz wrote: > > Thanks again by your attention! :) > > > > John Jolet wrote: > > > did you run check_ntp -H localhost on the box in question? did it > return > > > okay? > > > > I'll post all the output here, because I'm not understanding what's can > be > > happing here :-( > > > > Trinity, IP 10.0.0.173 (Nagios Server) > > > > trinity:~# ntpq -p localhost > > remote refid st t when poll reach delay offset > > jitter > > > ========================================================================== > = > >=== 10.0.0.91 .INIT. 16 u 704 1024 0 0.000 0.000 > > 4000.00 > > > > trinity:~# /.../check_ntp -H localhost > > Argument "(not parsed)" isn't numeric in abs at /.../check_ntp line 355. > > NTP WARNING: Desynchronized peer server found > okay, first thing is that neither of those servers are synced with anyone. > if > they were synced, they would have a * next to the "remote" address. i'd > get > ntp working and synchronizing first, before I messed with checking that > service. If 10.0.0.91 is supposed to be the reference for the rest of > your > network, get him syncing to at least 3 servers on at least two strata > first. > If you want to email me offlist with your ntpd.conf file, i'll try to help > out some more. However, until ntp is actually working on the server > that's > supposed to be supplying your time locally, i think you're going to be > kinda > off-topic for this list with this issue. 1. First check if ntp can set the date from a remote server $ ntpdate 0.north-america.pool.ntp.org 8 May 08:16:57 ntpdate[77470]: adjust time server 24.130.207.189 offset -0.018950 sec 2. If you can then setup a basic ntp.conf server 0.north-america.pool.ntp.org server 1.north-america.pool.ntp.org server 2.north-america.pool.ntp.org server 3.north-america.pool.ntp.org driftfile /etc/ntp.drift 3. Then start ntpd # ntpd -c /etc/ntp.conf -p /var/run/ntpd.pid Check the process table to see if it running, and check your messages file for errors. On FreeBSD there will be a startup message in the log. May 8 08:20:37 test3 ntpd[77481]: ntpd 4.2.0-a Thu Nov 3 07:34:18 UTC 2005 (1) 4. If its running run ntpq to see its status # ntpq -p remote refid st t when poll reach delay offset jitter ============================================================================ == 207.245.43.147 132.246.168.164 3 u 57 64 3 103.767 -114.87 7.123 dworley.hsd1.ma 131.107.1.10 2 u 53 64 3 81.996 14.393 1.338 S01060007952c37 216.234.161.11 3 u 58 64 3 89.563 34.492 3.726 h-69-3-12-50.hs 129.6.15.28 2 u 55 64 3 52.325 9.224 1.694 Ed -------------- next part -------------- An HTML attachment was scrubbed... URL: From dick at uchicago.edu Sun May 7 15:11:09 2006 From: dick at uchicago.edu (Jacob Yocom-Piatt) Date: Sun, 7 May 2006 08:11:09 -0500 Subject: checking ISAKMPD and dependency of remote hosts on ISAKMPD Message-ID: <7293fac5.b4b23df3.819d300@m4500-00.uchicago.edu> i'm trying to get nagios to run a check on the isakmpd (UDP port 500) service on gateway machines for 2 private subnets connected by a VPN. additionally, i would like to include the isakmpd service as a dependency for the hosts that are checked behind the remote gateway, i.e. if the VPN isn't up nagios can't reach my remote hosts. it is likely noteworthy that the host running nagios is the local firewall/gateway. to check UDP port 500, i've tried to list a service with "check_command check_udp!500". i cannot get this to work on the local or remote gateway. nagios issues the status information "No data was received from host!". when i issue a "nmap -P0 -sU -p 500 " i get PORT STATE SERVICE 500/udp open|filtered isakmp Nmap finished: 1 IP address (1 host up) scanned in 2.044 seconds the "filtered" part is likely because the PF rules on the gateways are set to only allow the other gateway to connect on UDP port 500. do i need to change my PF rules? perhaps there is another way of checking this service of which i am unaware. also, in the event that the isakmpd service stops, the remote machines without public IPs will go critical. what is the best way to make these remote hosts depend on the status of the isakmpd service? just point me in the right direction and i'll do the rest. no excessive cluesticking required. cheers, jake ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me-lists at eichler-fleschuetz.de Mon May 8 15:32:19 2006 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Mon, 08 May 2006 15:32:19 +0200 Subject: No Putput of check_http In-Reply-To: References: Message-ID: <445F4863.6050306@eichler-fleschuetz.de> Hi Marc, thx...just too blind. But if this command cant authenticate itself to the webserver, why do I get an OK status from check_http and not WARNING or better CRITICAL...?!? Thanks, Matthias Marc Powell schrieb: > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >>admin at lists.sourceforge.net] On Behalf Of Matthias Eichler >>Sent: Wednesday, April 19, 2006 5:29 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] No Putput of check_http >> >>Hi, >> >>I have the problem, that a special check_http-command is not >>sending output to the nagios process. >> >>In the GUI I get OK, but Info "(No output!)" >>If I send the command via the bash of the server I get an >>output of the plugin. >> >>I use check_http (nagios-plugins 1.4.1) 1.81 >>with Nagios 2.0b4 on a SuSE something. >> >>The command definition is: >>define command { >> command_name check_http_status >> command_line $USER1$/check_http -H status.$HOSTADDRESS$ -a >>$USERS5$:$USERS6$ >> } > > > Your user macro names are wrong. They should be $USER5$ and $USER6$. > > -- > Marc > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thumger at yahoo.com Mon May 8 14:38:30 2006 From: thumger at yahoo.com (thum ger) Date: Mon, 8 May 2006 14:38:30 +0200 (CEST) Subject: Monitoring the Nagios Process and the Status Map Message-ID: <20060508123830.E20884F476B@desire.netways.de> Hi list How do I monitor the box running Nagios without it showing up *twice* on the status map? For example, if my nagios box is called 'fred' and I add a host called 'fred' to the config, the status map shows two hosts, 'fred' *and* 'nagios process'. This nagios demo site appears to have achieved the result I'm after: http://nagios-demo.netways.de/ (login as guest/guest). Thank you, -- Thumger ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From nagios-users at subs.krikkit.nl Sun May 7 20:47:06 2006 From: nagios-users at subs.krikkit.nl (Rejo Zenger) Date: Sun, 7 May 2006 20:47:06 +0200 Subject: Checking a service on all hosts _except_... In-Reply-To: <1129654094.7762.3.camel@localhost> References: <4354E8CA.20009@op5.se> <1129654094.7762.3.camel@localhost> Message-ID: <20060507184706.GB18647@zaphod.krikkit.nl> ++ 18/10/05 14:48 -0200 - Marcel Mitsuto Fucatu Sugano: ># REGULAR EXPRESSION MATCHING ># This option controls whether or not regular expression matching ># takes place in the object config files. Regular expression ># matching is used to match host, hostgroup, service, and service ># group names/descriptions in some fields of various object types. ># Values: 1 = enable regexp matching, 0 = disable regexp matching > >use_regexp_matching=1 Is there a reason why you would not want this. I believe this would not have too much effect on the performance when this is enabled? The only moment when this would have a big impact is when switching from one to the other. Or am I missing something here? -- Rejo Zenger https://rejo.zenger.nl -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From hvdkooij at vanderkooij.org Mon May 8 19:56:34 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 8 May 2006 19:56:34 +0200 (CEST) Subject: checking ISAKMPD and dependency of remote hosts on ISAKMPD In-Reply-To: <7293fac5.b4b23df3.819d300@m4500-00.uchicago.edu> References: <7293fac5.b4b23df3.819d300@m4500-00.uchicago.edu> Message-ID: On Sun, 7 May 2006, Jacob Yocom-Piatt wrote: > to check UDP port 500, i've tried to list a service with "check_command > check_udp!500". i cannot get this to work on the local or remote gateway. nagios > issues the status information "No data was received from host!". when i issue a > "nmap -P0 -sU -p 500 " i get > > PORT STATE SERVICE > 500/udp open|filtered isakmp This is to be expected with UDP. If the listening service checks the incoming packet then there will never be a response as the UDP check package will not match the required ISAKMP content. So if one is to test the existing of ISAKMP then the check must attempt to setup a VPN to make sure the first response will match the protocol. There are scanners out there where you might wrap a small shell script around to do the test remotely. See also: http://www.nta-monitor.com/tools/ike-scan/ Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Mon May 8 08:54:22 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Sun, 7 May 2006 23:54:22 -0700 (PDT) Subject: external command not working Message-ID: <20060508065422.11241.qmail@web60421.mail.yahoo.com> Just want to know how can I configure CGI web interface to use external command? I enable check_external_commands in nagios.cfg and allow user in cgi.cfg to use external commands. Problem is whenever I did this step, web interface shows an error but when I turn it back to default, it goes back to normal. It seems I dont have /usr/local/nagios/var/rw/nagios.cmd. I created rw dir but how can i get or make nagios.cmd? TIA -------------- next part -------------- An HTML attachment was scrubbed... URL: From aivaturi2 at unlnotes.unl.edu Mon May 8 19:59:59 2006 From: aivaturi2 at unlnotes.unl.edu (Aditya Ivaturi) Date: Mon, 8 May 2006 12:59:59 -0500 Subject: Turi is out of the office. Message-ID: I will be out of the office starting 05/06/2006 and will not return until 05/22/2006. I will respond to your message when I return. If it is an urgent issue please contact Aaron Hosier. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 20:11:28 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Mon, 8 May 2006 11:11:28 -0700 Subject: external command not working In-Reply-To: <20060508065422.11241.qmail@web60421.mail.yahoo.com> References: <20060508065422.11241.qmail@web60421.mail.yahoo.com> Message-ID: <20060508181128.GG5247@hermes.americas.hpqcorp.net> From nagios.cfg: # EXTERNAL COMMAND FILE # This is the file that Nagios checks for external command requests. # It is also where the command CGI will write commands that are # submitted # by users, so it must be writeable by the user that the web server # is running as (usually 'nobody'). Permissions should be set at the # directory level instead of on the file, as the file is deleted every # time its contents are processed. command_file=/var/log/nagios/rw/nagios.cmd On Sun, 07 May 2006, Nelson Serafica wrote: > Just want to know how can I configure CGI web interface to use external command? > > I enable check_external_commands in nagios.cfg and allow user in cgi.cfg to use external commands. > Problem is whenever I did this step, web interface shows an error but when I turn it back to default, it goes back to normal. > > It seems I dont have /usr/local/nagios/var/rw/nagios.cmd. I created rw dir but how can i get or make nagios.cmd? > > TIA > -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 motionbox.com Mon May 8 23:46:07 2006 From: jim at motionbox.com (James Nachlin) Date: Mon, 08 May 2006 17:46:07 -0400 Subject: No mail, no idea why not Message-ID: <445FBC1F.40602@motionbox.com> Hello Nagios users, I've got Nagios set up, evrything seems OK. BUT, when a service is down, I don't get an email. contacts.cfg is like (and that's not the actual email address in there): define contact{ contact_name jim alias Jim service_notification_period workhours host_notification_period workhours service_notification_options c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email email jim at example.com } contactgroups.cfg: define contactgroup{ contactgroup_name admins alias Administrators members jim } a typical service definition: define service{ use generic-service host_name duran service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 7 retry_check_interval 3 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http } I can send mail from the command line on this machine to the email address specified in the hosts.cfg. No errors in nagios.log. Can anyone suggest where else to look? Thanks very much, -- Jim Nachlin Motionbox Systems Administrator ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue May 9 00:21:09 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 9 May 2006 00:21:09 +0200 (CEST) Subject: No mail, no idea why not In-Reply-To: <445FBC1F.40602@motionbox.com> References: <445FBC1F.40602@motionbox.com> Message-ID: On Mon, 8 May 2006, James Nachlin wrote: > I've got Nagios set up, evrything seems OK. BUT, when a service is > down, I don't get an email. > > contacts.cfg is like (and that's not the actual email address in there): > define contact{ > contact_name jim > alias Jim > service_notification_period workhours > host_notification_period workhours > service_notification_options c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands host-notify-by-email > email jim at example.com > } There is only a limited exposure here. Try full notifications first before you start reducing them. Are there notifications listed? Do you see failures of the service and/or host check? Do they report hard or soft states? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 9 00:48:52 2006 From: marc at ena.com (Marc Powell) Date: Mon, 8 May 2006 17:48:52 -0500 Subject: No mail, no idea why not Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of James Nachlin > Sent: Monday, May 08, 2006 4:46 PM > To: Nagios Users Mailinglist > Subject: [Nagios-users] No mail, no idea why not > > Hello Nagios users, > > I've got Nagios set up, evrything seems OK. BUT, when a service is > down, I don't get an email. > [config chopped, thanks] > I can send mail from the command line on this machine to the email > address specified in the hosts.cfg. No errors in nagios.log. Can > anyone suggest where else to look? Do you see NOTIFICATION being logged in nagios.log? If you do, can you run your notify-by-mail command exactly as it's defined (substituting appropriate macro information) _as the nagios user_? You didn't share it so we don't know if there's anything wrong with the syntax. Do you see any indication of the MTA on your nagios box receiving the notification? Delivery failures? Nagios version and OS version would be informative as well. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cocianain at yahoo.com Mon May 8 16:19:54 2006 From: cocianain at yahoo.com (Cormac O' Cianain) Date: Mon, 8 May 2006 07:19:54 -0700 (PDT) Subject: Log files In-Reply-To: <20060503170644.17043.qmail@web50006.mail.yahoo.com> References: <20060503170644.17043.qmail@web50006.mail.yahoo.com> Message-ID: <20060508141954.62872.qmail@web50014.mail.yahoo.com> Hi There, I have a clean installation made of nagios 2.2. In my /usr/local/nagios/var/ there are 2 directories, archives and rw. I have copied the netsaint-*.log files over to /usr/local/nagios/var/archives/ in the nagios-*.log format. When I run /etc/init.d/nagios start the folowing files are created. comments.dat downtime.dat nagios.lock nagios.log objects.cache retention.dat status.dat >From the Web GUI, everything is in pending status and the duration states something like 0h0m23s Which variable am I missing which get nagios to take the nagios-*.log files into consideration when creating status.dat? It should report(in the duration field) that these machines have been up for years. I think the correct access has been applied to the log files because from the "Event Log" page, I can browse the previous log archives. Thanks again, Cormac __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pete at pshankland.co.uk Sat May 6 16:50:54 2006 From: pete at pshankland.co.uk (Peter Shankland) Date: Sat, 06 May 2006 15:50:54 +0100 Subject: SCHEDULE_SVC_DOWNTIME Problem Message-ID: <445CB7CE.8080904@pshankland.co.uk> Am running the following script via cron to schedule the downtime of a service each evening: *#!/bin/sh now=`date +%s` commandfile='/usr/local/nagios/var/rw/nagios.cmd' printf "[%lu] SCHEDULE_SVC_DOWNTIME;RPL-MORRIS;Lotus Notes Service;1110741500;1110748700;1;0;7200;1533;TELF - Scheduled Lotus Notes Service Downtime\n" $now > $commandfile * This runs correctly and dumps the following message into /var/log/messages: *May 4 19:54:47 RPL-RENAULT nagios: EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;RPL-MORRIS;Lotus Notes Service;1110741500;1110748700;1;0;7200;1533;TELF - Scheduled Lotus Notes Service Downtime* And the following into the Nagios Event Log: *[04-05-2006 19:54:47] EXTERNAL COMMAND: SCHEDULE_SVC_DOWNTIME;RPL-MORRIS;Lotus Notes Service;1110741500;1110748700;1;0;7200;1533;TELF - Scheduled Lotus Notes Service Downtime* The problem I am having is that the downtime never gets shown on the Downtime screen within Nagios and therefore never gets run :( Does anyone have any suggestions? Thanks. Pete. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From me-lists at eichler-fleschuetz.de Mon May 8 15:29:03 2006 From: me-lists at eichler-fleschuetz.de (Matthias Eichler) Date: Mon, 08 May 2006 15:29:03 +0200 Subject: Host-to-service dependency Message-ID: <445F479F.5010506@eichler-fleschuetz.de> Dear List, dependencies from service to service and from host to host are no problem at all, but I like to make a Host-Check dependend from an Service. In detail: a host check can just be successful, if the dns server is available. i can make dependencies between all services on the host and the dns check, but this will still result in a HOST DOWN warning. Is there any possibility to make a dependency setting, that prior to the HOST DOWN notification the availability of the DNS service is checked? Thanks a lot for some input, Matthias ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Mon May 8 17:39:55 2006 From: trasko at gmail.com (Trask) Date: Mon, 8 May 2006 08:39:55 -0700 Subject: Excluding hosts in service definitions? Message-ID: <735379850605080839u7481d4c5re8dc7bb6bc939b65@mail.gmail.com> Here's the scenario: One critical sub-section of my monitored hosts consists of about 180 nodes with an average of 7 service checks each. They are in a setup using the hierarchical and templating mechanisms built into nagios which has made managing all these similar hosts very manageable. However, over time the inescapable exceptions have crept in. There are about 6 exceptions to the approx. 1260 service checks. Is there any way to express this in the nagios definitions anywhere? An example. Lets say hostgroup hg1 consists of 6 hosts -- host1 through host6. This hostgroup has 7 services -- s1 through s7. For some reason, host6 should not have sc1 checked -- how can I do this without pulling host6 apart from hg1? Is this possible? This is how I would imagine excluding host6 from service "s1" while still being a member of hg1: define hostgroup { hostgroup_name hg1 alias hg1 members host1,host2,host3,host4,host5,host6 } define service { name s1 use default hostgroup_name hg1 host_name !host6 } OR define hostgroup { hostgroup_name exception_sc1 members host6 } define service { name s1 use default hostgroup_name hg1,!exception_sc1 } Is this possible? Is it planned for the future? Does anyone have a work-around they are using? ~trask ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.v.leeuwen at student.tue.nl Mon May 8 17:23:49 2006 From: m.v.leeuwen at student.tue.nl (Marcel van Leeuwen) Date: Mon, 08 May 2006 17:23:49 +0200 Subject: Problem with service templates Message-ID: Hi there, I am having a somewhat difficult situation here for which I don't know whehter the way the Nagios configuration files / the Monarch frontend are set up can even provide me an answer. It's like this with Monarch I have created a number of service templates, a number of services which are based on these templates and a host profile called "Windows Default Host" for instance (that is host on which by default a number of services should be checked. The thing is that the hosts (and thus the services) are distributed, and for location X I have contact group CG-X, for location Y contact-group CG-Y. Now in Monarch I can only enter contact groups at the service level. In that way I should duplicate every service for every location with another contact group. I can't imagine that I am the only one with this problem so what am I doing wrong here? So, what I really want: I want to define different Service Profiles in which the same services are included. But: I want to be able to override the service groups in these profiles. Is this possible, or should this be a feature request? Kind regards, Marcel van Leeuwen ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cmiller at servermotion.com Mon May 8 03:18:58 2006 From: cmiller at servermotion.com (Chris Miller) Date: Sun, 07 May 2006 20:18:58 -0500 Subject: Check_NRPE Connectivity Issues In-Reply-To: <445B7F18.5010903@servermotion.com> References: <445B7F18.5010903@servermotion.com> Message-ID: <445E9C82.50108@servermotion.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All: I'm still having problems with this. I was able to test it from a friend's box that did not place a NAT between the two boxes and it worked fine. Does check_nrpe not support NAT traversal? Surely it does...? Thanks, Chris Miller ServerMotion www.servermotion.com Chris Miller wrote: | I am using check_nrpe to connect to a remote box and run a check | command. I am able to telnet to the box on port 5666 and get an open | connection, but when I try to run check_nrpe (either via Nagios or just | from CLI), I get: "CHECK_NRPE: Socket timeout after 10 seconds." | | I know it works because I have it checking other machines running NRPE | too, with the exact same configuration. | | On the remote machine, I am getting this in /var/log/messages: "Could | not read request from client, bailing out..." | | All of the machines that run nrpe are FreeBSD 5.4 and FreeBSD 6.0 (this | one is 6.0). | | I am able to run the check_nrpe command from the local box and I get | "OK" returned just fine. I have NRPE bound to the correct IP address -- | the one I am checking from the remote host. | | The only difference in configuration between the host that I'm getting | the errors on and the other machines that also run NRPE without any | issue is that the Nagios server is behind a NAT (running static NAT). | The other servers running NRPE are also behind the same NAT, so I | connect to them using the 10.x.x.x address. On the machine I am having | problems with, it is located on the other side of the NAT (I connect to | its public IP). The machine having issues is *not* behind a NAT its | self, so I only traverse the NAT on the way *out* from the Nagios | server. Since it runs over TCP, I would think it should work just fine | as the connection state would be maintained in the NAT. | | What am I missing here? I'm also certain it's something in the NAT, was | just wondering if there is anything special I have to do. The NAT is a | Cisco PIX. | -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXpyCxBwlCB7CRwsRAnpUAJ90zTqtfqtY0RBAlmd/qbfgfaNqjwCeJ6ye MWqN4W65IazK0N/g5dhCQJo= =3vH6 -----END PGP SIGNATURE----- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 8 16:32:31 2006 From: marc at ena.com (Marc Powell) Date: Mon, 8 May 2006 09:32:31 -0500 Subject: No Putput of check_http Message-ID: I can't say other than it seems that whatever is happening is causing the plugin to exit with an exit code of 0. Try running it from the command line as the nagios user and see what error you get -- /path/to/nagios/libexec/check_http -H status.host.my.dom -a : echo $? -- Marc > -----Original Message----- > From: Matthias Eichler [mailto:me-lists at eichler-fleschuetz.de] > Sent: Monday, May 08, 2006 8:32 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] No Putput of check_http > > Hi Marc, > > thx...just too blind. > But if this command cant authenticate itself to the webserver, > why do I get an OK status from check_http and not WARNING or > better CRITICAL...?!? > > Thanks, > > Matthias > > Marc Powell schrieb: > > > >>-----Original Message----- > >>From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > >>admin at lists.sourceforge.net] On Behalf Of Matthias Eichler > >>Sent: Wednesday, April 19, 2006 5:29 AM > >>To: nagios-users at lists.sourceforge.net > >>Subject: [Nagios-users] No Putput of check_http > >> > >>Hi, > >> > >>I have the problem, that a special check_http-command is not > >>sending output to the nagios process. > >> > >>In the GUI I get OK, but Info "(No output!)" > >>If I send the command via the bash of the server I get an > >>output of the plugin. > >> > >>I use check_http (nagios-plugins 1.4.1) 1.81 > >>with Nagios 2.0b4 on a SuSE something. > >> > >>The command definition is: > >>define command { > >> command_name check_http_status > >> command_line $USER1$/check_http -H status.$HOSTADDRESS$ -a > >>$USERS5$:$USERS6$ > >> } > > > > > > Your user macro names are wrong. They should be $USER5$ and $USER6$. > > > > -- > > Marc > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > security? > > Get stuff done quickly with pre-integrated technology to make your job > easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cocianain at yahoo.com Mon May 8 16:49:14 2006 From: cocianain at yahoo.com (Cormac O' Cianain) Date: Mon, 8 May 2006 07:49:14 -0700 (PDT) Subject: Log files In-Reply-To: References: Message-ID: <20060508144914.76771.qmail@web50003.mail.yahoo.com> Hi There, I have made a clean installation made of nagios 2.2. In my /usr/local/nagios/var/ there are 2 directories, archives and rw. I have copied the netsaint-*.log files over to /usr/local/nagios/var/archives/ in the nagios-*.log format. When I run /etc/init.d/nagios start the folowing files are created. comments.dat downtime.dat nagios.lock nagios.log objects.cache retention.dat status.dat >From the Web GUI, everything is in pending status and the duration states something like 0h0m23s Which variable am I missing which get nagios to take the nagios-*.log files into consideration when creating status.dat? It should report that these machines have been up for years. I think the correct permissions have been applied to the log files because they can be read by the event log tab using the GUI. Thanks again, Cormac __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 edcint.co.nz Mon May 8 13:17:17 2006 From: nagios at edcint.co.nz (Matthew Jurgens) Date: Mon, 08 May 2006 21:17:17 +1000 Subject: Host Checks NEVER Happen Message-ID: <445F28BD.6090305@edcint.co.nz> I've installed a basic Nagios 2 config. I have 50 service checks working perfectly and 12 hosts. Even when services on a host go down host checks never seem to be executed. I've setup network packet captures to see if pings leave the Nagios host but they never do. I created a host with an IP address that does not exist and one service. This service will of course go Hard critical after a couple of checks. It does and I get notified and Nagios still maintains that the host is UP! Can anyone provide any hints as to why Nagios does this? What can I check? Thanks ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Tue May 9 03:26:51 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 8 May 2006 21:26:51 -0400 Subject: Host Checks NEVER Happen In-Reply-To: <445F28BD.6090305@edcint.co.nz> References: <445F28BD.6090305@edcint.co.nz> Message-ID: <302ce8b50605081826v5bb5694o3cec9ca1bd667168@mail.gmail.com> On 5/8/06, Matthew Jurgens wrote: > I've installed a basic Nagios 2 config. I have 50 service checks working > perfectly and 12 hosts. > Even when services on a host go down host checks never seem to be executed. > I've setup network packet captures to see if pings leave the Nagios host > but they never do. > > I created a host with an IP address that does not exist and one service. > This service will of course go Hard critical after a couple of checks. > It does and I get notified and Nagios still maintains that the host is UP! > > Can anyone provide any hints as to why Nagios does this? What can I check? You should check your host configs. Or you can provide a bit more detail here about how you have your host configs set up and we can help. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick at uchicago.edu Mon May 8 14:08:36 2006 From: dick at uchicago.edu (Jacob Yocom-Piatt) Date: Mon, 8 May 2006 07:08:36 -0500 Subject: checking ISAKMPD and dependency of remote hosts on ISAKMPD Message-ID: i'm trying to get nagios to run a check on the isakmpd (UDP port 500) service on gateway machines for 2 private subnets connected by a VPN. additionally, i would like to include the isakmpd service as a dependency for the hosts that are checked behind the remote gateway, i.e. if the VPN isn't up nagios can't reach my remote hosts. it is likely noteworthy that the host running nagios is the local firewall/gateway. to check UDP port 500, i've tried to list a service with "check_command check_udp!500". i cannot get this to work on the local or remote gateway. nagios issues the status information "No data was received from host!". when i issue a "nmap -P0 -sU -p 500 " from another local machine i get PORT STATE SERVICE 500/udp open|filtered isakmp Nmap finished: 1 IP address (1 host up) scanned in 2.044 seconds the "filtered" part is likely because the PF rules on the gateways are set to only allow the other gateway to connect on UDP port 500. do i need to change my PF rules? perhaps there is another way of checking this service of which i am unaware. also, in the event that the isakmpd service stops, the remote machines without public IPs will go critical. what is the best way to make these remote hosts depend on the status of the isakmpd service? just point me in the right direction and i'll do the rest. no excessive cluesticking required. cheers, jake ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 edcint.co.nz Tue May 9 04:11:34 2006 From: nagios at edcint.co.nz (Matthew Jurgens) Date: Tue, 09 May 2006 12:11:34 +1000 Subject: Host Checks NEVER Happen In-Reply-To: <302ce8b50605081826v5bb5694o3cec9ca1bd667168@mail.gmail.com> References: <445F28BD.6090305@edcint.co.nz> <302ce8b50605081826v5bb5694o3cec9ca1bd667168@mail.gmail.com> Message-ID: <445FFA56.7020805@edcint.co.nz> define host { name std_host max_check_attempts 2 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 obsess_over_host 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 0 retain_status_information 1 retain_nonstatus_information 1 contact_groups admin notification_interval 1 notification_period 24x7 notification_options d,u,r,f notifications_enabled 1 register 0 } define host { use std_host host_name noddy alias noddy address 192.168.0.78 } define service { name std_service hostgroup_name gw is_volatile 0 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admin notification_interval 240 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { name std_service hostgroup_name gw is_volatile 0 max_check_attempts 2 normal_check_interval 1 retry_check_interval 1 active_checks_enabled 1 passive_checks_enabled 1 check_period 24x7 parallelize_check 1 obsess_over_service 1 check_freshness 0 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 contact_groups admin notification_interval 240 notification_period 24x7 notification_options w,u,c,r,f notifications_enabled 1 register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A REAL SERVICE, JUST A TEMPLATE! } define service { use std_service host_name noddy service_description HTTP Admin check_command check_http } Jim Perrin wrote: > On 5/8/06, Matthew Jurgens wrote: >> I've installed a basic Nagios 2 config. I have 50 service checks working >> perfectly and 12 hosts. >> Even when services on a host go down host checks never seem to be >> executed. >> I've setup network packet captures to see if pings leave the Nagios host >> but they never do. >> >> I created a host with an IP address that does not exist and one service. >> This service will of course go Hard critical after a couple of checks. >> It does and I get notified and Nagios still maintains that the host >> is UP! >> >> Can anyone provide any hints as to why Nagios does this? What can I >> check? > > You should check your host configs. Or you can provide a bit more > detail here about how you have your host configs set up and we can > help. > -- > This message has been double ROT13 encoded for security. Anyone other > than the intended recipient attempting to decode this message will be > in violation of the DMCA > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 9 06:14:45 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 9 May 2006 00:14:45 -0400 Subject: Log files Message-ID: Nagios will never take the log files into account to build status.dat. The file is updated only when a check is run, and it saves only the state of the last check it performed. If it's really critical to you that the new system tell you it thinks the box has been up for longer than that, you're probably going to have to hand-edit the status.dat file, or write a script to convert your old netsaint status file (or at least insert the dats into the right places in the status.dat file). -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Cormac O' Cianain Sent: Monday, May 08, 2006 7:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Log files Hi There, I have made a clean installation made of nagios 2.2. In my /usr/local/nagios/var/ there are 2 directories, archives and rw. I have copied the netsaint-*.log files over to /usr/local/nagios/var/archives/ in the nagios-*.log format. When I run /etc/init.d/nagios start the folowing files are created. comments.dat downtime.dat nagios.lock nagios.log objects.cache retention.dat status.dat >From the Web GUI, everything is in pending status and the duration states something like 0h0m23s Which variable am I missing which get nagios to take the nagios-*.log files into consideration when creating status.dat? It should report that these machines have been up for years. I think the correct permissions have been applied to the log files because they can be read by the event log tab using the GUI. Thanks again, Cormac __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue May 9 08:08:10 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 9 May 2006 08:08:10 +0200 (CEST) Subject: Host-to-service dependency In-Reply-To: <445F479F.5010506@eichler-fleschuetz.de> References: <445F479F.5010506@eichler-fleschuetz.de> Message-ID: On Mon, 8 May 2006, Matthias Eichler wrote: > Is there any possibility to make a dependency setting, that prior > to the HOST DOWN notification the availability of the DNS service > is checked? Not as such. The trick to a host dependency might be to make a dummy host that is using the same check as the service you want to monitor. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From niederha at us.ibm.com Tue May 9 07:30:25 2006 From: niederha at us.ibm.com (Kyle Niederhauser) Date: Mon, 8 May 2006 23:30:25 -0600 Subject: Kyle Niederhauser is out of the office. Message-ID: I will be out of the office starting 05/08/2006 and will not return until 05/10/2006. I will be out of the office May 8th and 9th. If you need assistance, please call the BP Operations Center at 1-877-471-6079 and ask for UNIX support. -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at edcint.co.nz Tue May 9 08:38:08 2006 From: nagios at edcint.co.nz (Matthew Jurgens) Date: Tue, 09 May 2006 16:38:08 +1000 Subject: Host Checks NEVER Happen In-Reply-To: <445FF915.50003@edcint.co.nz> References: <445F28BD.6090305@edcint.co.nz> <302ce8b50605081826v5bb5694o3cec9ca1bd667168@mail.gmail.com> <445FF915.50003@edcint.co.nz> Message-ID: <446038D0.6030507@edcint.co.nz> I have found the answer to this after reading the documentation! Make sure that the host defination includes the following: check_command check-host-alive For some reason the sample configs I had based my config on did not have this config item for hosts. Matthew Jurgens wrote: > define host { > name std_host > max_check_attempts 2 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > obsess_over_host 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 0 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups admin > notification_interval 1 > notification_period 24x7 > notification_options d,u,r,f > notifications_enabled 1 > register 0 > } > > define host { > use std_host > host_name noddy > alias noddy > address 192.168.0.78 > } > > define service { > name std_service > hostgroup_name gw > is_volatile 0 > max_check_attempts 2 > normal_check_interval 1 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups admin > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A > REAL SERVICE, JUST A TEMPLATE! > } > define service { > name std_service > hostgroup_name gw > is_volatile 0 > max_check_attempts 2 > normal_check_interval 1 > retry_check_interval 1 > active_checks_enabled 1 > passive_checks_enabled 1 > check_period 24x7 > parallelize_check 1 > obsess_over_service 1 > check_freshness 0 > event_handler_enabled 1 > flap_detection_enabled 1 > process_perf_data 1 > retain_status_information 1 > retain_nonstatus_information 1 > contact_groups admin > notification_interval 240 > notification_period 24x7 > notification_options w,u,c,r,f > notifications_enabled 1 > register 0 ; DONT REGISTER THIS DEFINITION - ITS NOT A > REAL SERVICE, JUST A TEMPLATE! > } > > define service { > use std_service > host_name noddy > service_description HTTP Admin > check_command check_http > } > > > Jim Perrin wrote: >> On 5/8/06, Matthew Jurgens wrote: >>> I've installed a basic Nagios 2 config. I have 50 service checks >>> working >>> perfectly and 12 hosts. >>> Even when services on a host go down host checks never seem to be >>> executed. >>> I've setup network packet captures to see if pings leave the Nagios >>> host >>> but they never do. >>> >>> I created a host with an IP address that does not exist and one >>> service. >>> This service will of course go Hard critical after a couple of checks. >>> It does and I get notified and Nagios still maintains that the host >>> is UP! >>> >>> Can anyone provide any hints as to why Nagios does this? What can I >>> check? >> >> You should check your host configs. Or you can provide a bit more >> detail here about how you have your host configs set up and we can >> help. >> -- >> This message has been double ROT13 encoded for security. Anyone other >> than the intended recipient attempting to decode this message will be >> in violation of the DMCA >> >> >> ------------------------------------------------------- >> Using Tomcat but need to do more? Need to support web services, >> security? >> Get stuff done quickly with pre-integrated technology to make your >> job easier >> Download IBM WebSphere Application Server v.1.0.1 based on Apache >> Geronimo >> http://sel.as-us.falkag.net/sel?cmd_______________________________________________ >> >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. ::: Messages without supporting info will risk >> being sent to /dev/null >> > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lars.bruun-hansen at nordea.com Tue May 9 09:12:32 2006 From: lars.bruun-hansen at nordea.com (lars.bruun-hansen at nordea.com) Date: Tue, 9 May 2006 10:12:32 +0300 Subject: Web front-end for Nagios 2.x Message-ID: <02A80999ABFD6C418E9EDA7CCD41929C017D344B@fid1ms09.fid1.root4.net> Hi there, I'm looking for a GUI-frontend for Nagios 2.x. Anyone can tell me what options I have if my requirements are: * Nagios 2.x support, Nagios 1.x irrelevant * Must support *all* configuration features of Nagios 2.x * Must support template based configuration * Restart from within the GUI * Good support, stable, being actively maintained I can of course see a list of potential candidates on NagiosExchange but it seems to me that many of them are really Nagios 1.x specific. I'm trying to save some time here by asking you lot instead of installing and trying out each individually. thx. Lars ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.v.leeuwen at student.tue.nl Tue May 9 09:22:32 2006 From: m.v.leeuwen at student.tue.nl (Marcel van Leeuwen) Date: Tue, 09 May 2006 09:22:32 +0200 Subject: Web front-end for Nagios 2.x In-Reply-To: <02A80999ABFD6C418E9EDA7CCD41929C017D344B@fid1ms09.fid1.root4.net> References: <02A80999ABFD6C418E9EDA7CCD41929C017D344B@fid1ms09.fid1.root4.net> Message-ID: Hi, I have latelely been looking into Monarch. This seems a very robust interface. For as for as I know it does support all configuration features and even more in the form of host and service profiles. http://sourceforge.net/projects/monarch or http://www.groundworkopensource.com Kind regards, Marcel van Leeuwen lars.bruun-hansen at nordea.com wrote: > > > Hi there, > > I'm looking for a GUI-frontend for Nagios 2.x. > > Anyone can tell me what options I have if my requirements are: > > * Nagios 2.x support, Nagios 1.x irrelevant > * Must support *all* configuration features of Nagios 2.x > * Must support template based configuration > * Restart from within the GUI > * Good support, stable, being actively maintained > > I can of course see a list of potential candidates on NagiosExchange but > it seems to me that many of them are really Nagios 1.x specific. I'm > trying to save some time here by asking you lot instead of installing > and trying out each individually. > > > thx. > > Lars > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mels.kooijman at Multrix.com Tue May 9 10:52:34 2006 From: mels.kooijman at Multrix.com (Mels Kooijman) Date: Tue, 9 May 2006 10:52:34 +0200 Subject: Web front-end for Nagios 2.x Message-ID: <91DF818A298B6543BF5F1C8DC6A5418714E237@ASPAMS2007.asp.multrix.local> Hi, We are using Monarch for the m$ administrators and are very positive about it. Only 1 thing gives some trouble. When we add a system, first add a new file for it. After commit Nagios reports a configuration error, the course is that Monarch the new .cfg file not saved in the running nagios.cfg Kind regards Mels > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marcel van Leeuwen > Sent: Tuesday, May 09, 2006 9:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Web front-end for Nagios 2.x > > > Hi, > > I have latelely been looking into Monarch. This seems a very robust > interface. For as for as I know it does support all configuration > features and even more in the form of host and service profiles. > > http://sourceforge.net/projects/monarch > or > http://www.groundworkopensource.com > > Kind regards, > Marcel van Leeuwen > > > lars.bruun-hansen at nordea.com wrote: > > > > > > Hi there, > > > > I'm looking for a GUI-frontend for Nagios 2.x. > > > > Anyone can tell me what options I have if my requirements are: > > > > * Nagios 2.x support, Nagios 1.x irrelevant > > * Must support *all* configuration features of Nagios 2.x > > * Must support template based configuration > > * Restart from within the GUI > > * Good support, stable, being actively maintained > > > > I can of course see a list of potential candidates on > NagiosExchange > > but it seems to me that many of them are really Nagios 1.x > specific. > > I'm trying to save some time here by asking you lot instead of > > installing and trying out each individually. > > > > > > thx. > > > > Lars > > > > > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? Get stuff done quickly with pre-integrated technology to > > make your job easier Download IBM WebSphere Application > Server v.1.0.1 > > based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? Get stuff done quickly with > pre-integrated technology to make your job easier Download > IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dalnyn at gmail.com Tue May 9 11:00:23 2006 From: dalnyn at gmail.com (Daniel Nyman) Date: Tue, 9 May 2006 11:00:23 +0200 Subject: Different results every other time Message-ID: <456e6f050605090200w361acc53ic4c61fa013f4108e@mail.gmail.com> Hello all, I've been using nagios for some weeks now and it works just fine. I've been using both nagiosgraph and nrpe plugins. Yesterday I added some new hosts and services. When nagios was restarted everything looked just fine, but after the next check all snmp and nrpe checks faild and i was getting errors like "Invalid SNMP version: 2c" and "(No output returned from plugin)" but every other time nagios checks the results got fine again. When I changed the hosts and services I was using a erlier version of nagios but now I'm using version 2.3 stable and the problem is still there. Anyone with the same problem or maybe someone got a solution? Thanks Daniel Nyman -------------- next part -------------- An HTML attachment was scrubbed... URL: From Peter.Shankland at ricoh-rpl.com Tue May 9 11:02:23 2006 From: Peter.Shankland at ricoh-rpl.com (Peter Shankland) Date: Tue, 9 May 2006 10:02:23 +0100 Subject: How to test notification commands? Message-ID: Is there a way to test (similar to nagios -v) the output of a created notification command? Thanks. Pete. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lars.bruun-hansen at nordea.com Tue May 9 11:20:37 2006 From: lars.bruun-hansen at nordea.com (lars.bruun-hansen at nordea.com) Date: Tue, 9 May 2006 12:20:37 +0300 Subject: Web front-end for Nagios 2.x Message-ID: <02A80999ABFD6C418E9EDA7CCD41929C017D3493@fid1ms09.fid1.root4.net> Marcel, Remember my requirement: Nagios 2.x (Nagios 1.x irrelevant) Monarch seems to me to be GroundWorks' previous configuration front-end while the new up-and-coming configuration front-end specific for Nagios 2.x is called Fruity, also by GroundWorks. Is this wrong? In any case I believe more in configuration tools that have started their life on Nagois 2.x as I'm really afraid that the older tools have too much baggage. Maybe I'm wrong on that one ? Some examples that I've come across that seems to do what I want * Fruity, by GroundWorks, latest version: 1.0 RC1 * NagiosQL 2005, by Martin Willisegger, latest version 1.0 RC2 Others? Lars -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mels Kooijman Sent: Tuesday, May 09, 2006 10:53 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Re: Web front-end for Nagios 2.x Hi, We are using Monarch for the m$ administrators and are very positive about it. Only 1 thing gives some trouble. When we add a system, first add a new file for it. After commit Nagios reports a configuration error, the course is that Monarch the new .cfg file not saved in the running nagios.cfg Kind regards Mels > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcel > van Leeuwen > Sent: Tuesday, May 09, 2006 9:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Re: Web front-end for Nagios 2.x > > > Hi, > > I have latelely been looking into Monarch. This seems a very robust > interface. For as for as I know it does support all configuration > features and even more in the form of host and service profiles. > > http://sourceforge.net/projects/monarch > or > http://www.groundworkopensource.com > > Kind regards, > Marcel van Leeuwen > > > lars.bruun-hansen at nordea.com wrote: > > > > > > Hi there, > > > > I'm looking for a GUI-frontend for Nagios 2.x. > > > > Anyone can tell me what options I have if my requirements are: > > > > * Nagios 2.x support, Nagios 1.x irrelevant > > * Must support *all* configuration features of Nagios 2.x > > * Must support template based configuration > > * Restart from within the GUI > > * Good support, stable, being actively maintained > > > > I can of course see a list of potential candidates on > NagiosExchange > > but it seems to me that many of them are really Nagios 1.x > specific. > > I'm trying to save some time here by asking you lot instead of > > installing and trying out each individually. > > > > > > thx. > > > > Lars > > > > > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? Get stuff done quickly with pre-integrated technology to > > make your job easier Download IBM WebSphere Application > Server v.1.0.1 > > based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and > OS when reporting any issue. > > ::: Messages without supporting info will risk being sent > to /dev/null > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? Get stuff done quickly with pre-integrated technology to > make your job easier Download IBM WebSphere Application Server v.1.0.1 > based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.v.leeuwen at student.tue.nl Tue May 9 13:27:10 2006 From: m.v.leeuwen at student.tue.nl (Marcel van Leeuwen) Date: Tue, 09 May 2006 13:27:10 +0200 Subject: Web front-end for Nagios 2.x In-Reply-To: <02A80999ABFD6C418E9EDA7CCD41929C017D3493@fid1ms09.fid1.root4.net> References: <02A80999ABFD6C418E9EDA7CCD41929C017D3493@fid1ms09.fid1.root4.net> Message-ID: lars.bruun-hansen at nordea.com wrote: > Marcel, > > Remember my requirement: Nagios 2.x (Nagios 1.x irrelevant) > > Monarch seems to me to be GroundWorks' previous configuration front-end > while the new up-and-coming configuration front-end specific for Nagios > 2.x is called Fruity, also by GroundWorks. > Is this wrong? > Yes this is wrong. I believe Monarch indeed was available for version 1.0 (although I have never used it for that) it now has features that make it possible to convert existing configurations. > In any case I believe more in configuration tools that have started > their life on Nagois 2.x as I'm really afraid that the older tools have > too much baggage. Maybe I'm wrong on that one ? > > Some examples that I've come across that seems to do what I want > > * Fruity, by GroundWorks, latest version: 1.0 RC1 > * NagiosQL 2005, by Martin Willisegger, latest version 1.0 RC2 > Well, I can say that I have tested both and have now migrated to Monarch because of the (future) scale of my Nagios implementation. Fruity is the light-weight brother/sister of Monarch, but works very well it provides an almost 1-on-1 mapping of the Nagios configuration files. I believe that the initial Fruity developer is now part of the Monarch team (am not sure about this). I think NagiosQL is ok but I stubled across some bugs (e.g. '\' handling in configurations) and I found the interface not very comprehensible. The above tools both work fine, and give you an option to easily configure your files. However, Monarch does more it adds features that are not supported by the Nagios configuration files that make it easy to maintain large groups of hosts and services, like service and host profiles, dependency templates, contact templates, etc.. Bases on my experience with the above I would most certainly recommend Monarch if you plan on having a large Nagios configuration. If not I think you should go for Fruity since it does give you enough to easily create you configuration in a very comprehensible interface. > Others? > Yes I have tried one more but can't remember which one it was..:) Remember, that all the above are just my personal experiences... Regards, Marcel > > Lars > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mels > Kooijman > Sent: Tuesday, May 09, 2006 10:53 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: Web front-end for Nagios 2.x > > Hi, > > We are using Monarch for the m$ administrators and are very positive > about it. > Only 1 thing gives some trouble. > When we add a system, first add a new file for it. > After commit Nagios reports a configuration error, the course is that > Monarch the new .cfg file not saved in the running nagios.cfg > > Kind regards > Mels > > > >>-----Original Message----- >>From: nagios-users-admin at lists.sourceforge.net >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcel >>van Leeuwen >>Sent: Tuesday, May 09, 2006 9:23 AM >>To: nagios-users at lists.sourceforge.net >>Subject: [Nagios-users] Re: Web front-end for Nagios 2.x >> >> >>Hi, >> >>I have latelely been looking into Monarch. This seems a very robust >>interface. For as for as I know it does support all configuration >>features and even more in the form of host and service profiles. >> >>http://sourceforge.net/projects/monarch >>or >>http://www.groundworkopensource.com >> >>Kind regards, >>Marcel van Leeuwen >> >> >>lars.bruun-hansen at nordea.com wrote: >> >>> >>> >>>Hi there, >>> >>>I'm looking for a GUI-frontend for Nagios 2.x. >>> >>>Anyone can tell me what options I have if my requirements are: >>> >>>* Nagios 2.x support, Nagios 1.x irrelevant >>>* Must support *all* configuration features of Nagios 2.x >>>* Must support template based configuration >>>* Restart from within the GUI >>>* Good support, stable, being actively maintained >>> >>>I can of course see a list of potential candidates on >> >>NagiosExchange >> >>>but it seems to me that many of them are really Nagios 1.x >> >>specific. >> >>>I'm trying to save some time here by asking you lot instead of >>>installing and trying out each individually. >>> >>> >>>thx. >>> >>>Lars >>> >>> >>> >>> >>> >>>------------------------------------------------------- >>>Using Tomcat but need to do more? Need to support web services, >>>security? Get stuff done quickly with pre-integrated technology to >>>make your job easier Download IBM WebSphere Application >> >>Server v.1.0.1 >> >>>based on Apache Geronimo >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and >> >>OS when reporting any issue. >> >>>::: Messages without supporting info will risk being sent >> >>to /dev/null >> >> >> >>------------------------------------------------------- >>Using Tomcat but need to do more? Need to support web services, >>security? Get stuff done quickly with pre-integrated technology to >>make your job easier Download IBM WebSphere Application Server v.1.0.1 > > >>based on Apache Geronimo >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Radzicki at equilend.com Tue May 9 14:45:01 2006 From: Michael.Radzicki at equilend.com (Michael Radzicki) Date: Tue, 9 May 2006 08:45:01 -0400 Subject: How to reset status? Message-ID: Hello list users. Maybe one of you can help me with this question. I defined a very simple check_http command as listed below: define command{ command_name check_qa_http command_line $USER1$/check_http -H $HOSTADDRESS$ -S } The matching entry in the services.cfg file is: define service{ use generic-service host_name qa.myhost.com service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_qa_http } And in the hosts.cfg file, the entry that defines qa.myhost.com is: define host{ host_name qa.myhost.com alias qa.myhost.com address 172.x.x.x check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } Now my problem. About 10 days ago we took this server that hosts qa.myhost.com offline to do some maintenance. I never told nagios to ignore the warnings or errors that the monitor for qa.myhost.com was throwing. After two days of showing that qa.myhost.com was "critical", the server came back on line, but nagios still shows the monitor for qa.myhost.com as being "critical". If I run the check_http command from the command line, it comes back fine. [root at eqnymon01:/usr/local/nagios/libexec:93]$ ./check_http -H qa.myhost.com -S HTTP OK HTTP/1.1 200 OK - 5160 bytes in 0.053 seconds |time=0.053020s;;;0.000000 size=5160B;;;0 So if this command comes back OK, why does nagios still read "critical", and how can I reset nagios? Starting and stopping the nagios process didn't do it. Can someone please help? Thanks. Mike R -------------- next part -------------- An HTML attachment was scrubbed... URL: From sergio at gridshield.net Tue May 9 16:20:06 2006 From: sergio at gridshield.net (Sergio Guzman Lorz) Date: Tue, 09 May 2006 08:20:06 -0600 Subject: How to reset status? In-Reply-To: References: Message-ID: <4460A516.8020502@gridshield.net> Michael Radzicki wrote: > define host{ > > host_name qa.myhost.com > > alias qa.myhost.com > > address 172.x.x.x > > check_command check-host-alive > > max_check_attempts 10 > > notification_interval 120 > > notification_period 24x7 > > notification_options d,r > > contact_groups admins > > } > > > > Now my problem. About 10 days ago we took this server that hosts > qa.myhost.com offline to do some maintenance. I never told nagios to > ignore the warnings or errors that the monitor for qa.myhost.com was > throwing. After two days of showing that qa.myhost.com was ?critical?, > the server came back on line, but nagios still shows the monitor for > qa.myhost.com as being ?critical?. If I run the check_http command from > the command line, it comes back fine. > > > > [root at eqnymon01:/usr/local/nagios/libexec:93]$ ./check_http -H > qa.myhost.com -S > > HTTP OK HTTP/1.1 200 OK - 5160 bytes in 0.053 seconds > |time=0.053020s;;;0.000000 size=5160B;;;0 Does qa.myhost.com resolves correctly to the address written in your host definition? -- Sergio Guzm?n San Jos?, Costa Rica. Tel: (506) 258-5757 ext 115 http://www.gridshield.net/ Gridshield: Proteccion y Monitoreo de Redes ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dick at uchicago.edu Tue May 9 16:29:43 2006 From: dick at uchicago.edu (Jacob Yocom-Piatt) Date: Tue, 9 May 2006 09:29:43 -0500 Subject: checking ISAKMPD and dependency of remote hosts on ISAKMPD Message-ID: ---- Original message ---- >Date: Tue, 9 May 2006 08:16:48 +0200 (CEST) >From: Hugo van der Kooij >Subject: Re: [Nagios-users] checking ISAKMPD and dependency of remote hosts on ISAKMPD >To: Jacob Yocom-Piatt > >On Mon, 8 May 2006, Jacob Yocom-Piatt wrote: > >> i'm trying to get nagios to run a check on the isakmpd (UDP port 500) service on > >.... >Have you even READ the replies before you send this again? Resending >questions to a mailinglist is regardad as if you do not care about the >rest of the world. > >Read the instructions before you ever post to a mailinglist again: >http://www.catb.org/~esr/faqs/smart-questions.html > >Hugo. hugo, i sent that second email quite some time ago, while the nagios-users at lists.sourceforge.net mailing list wasn't relaying messages. i sent the second one because i wasn't sure if the first had reached the list. the first one was sent at 05/07/06 08:08 and i only saw it come into my inbox at 05/08/06 12:19. the second one went out at 05/08/06 07:05 and arrived at 05/08/06 02:59. my second post was in no way meant as an attack on your reply, which appears to be spot on, although i haven't yet given your suggestion a shot. jake ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tiagocruz at forumgdh.net Tue May 9 17:09:58 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 09 May 2006 12:09:58 -0300 Subject: Turn OFF downtime Message-ID: <4460B0C6.1090504@forumgdh.net> Hello guys, How can I turn off the downtime of one host, like this one: This host has been scheduled for fixed downtime from 04-05-2006 16:35:29 to 04-06-2006 18:35:29. Notifications for the host will not be sent out during that time period. Thanks! -- Tiago Cruz Network Administrator Linux is like an Indian tent: no Windows, no Gates and an Apache inside. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Tue May 9 17:21:08 2006 From: Peter.Shankland at ricoh-rpl.com (Peter Shankland) Date: Tue, 9 May 2006 16:21:08 +0100 Subject: SMS Text Message help Message-ID: I am successfully using the software from smsclient.org to send text messages to mobile phones manually using the following command: sms_client vodafone_tap:1234567890 "Message Text" This work brilliantly but I have tried to integrate this into Nagios with no success :( I have created the following notification command within my misccommands.cfg file: # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ } I have then got the following within my contacts.cfg file: define contact{ contact_name 1533 alias Peter Shankland service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-sms email peter.shankland at ricoh-rpl.com address1 447977906721 } Finally, this gets called within one of my hosts. I get the following within my syslog messages: May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms and the following within the Nagios Event Log: [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms Everything appears to be working but I get no SMS text message. Am I doing something obviously wrong as I simply want to run the command at the top of this Email. Thanks. Pete. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From prandal at herefordshire.gov.uk Tue May 9 18:00:21 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 9 May 2006 17:00:21 +0100 Subject: SMS Text Message help Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580CC0B28C@isabella.herefordshire.gov.uk> In the smsclient FAQ it says: " I can't get smsclient to run from inside a script. (eg. netsaint) Answer by default SMSClient uses stdout to display some information (dialing...). Some apllications (eg. netsaint) don't want to know what a script returns, and SMSClient sends it output into the great wide open... This results in a Broken Pipe . You should call smsclient without output, smsclient -q ." Cheers, Phil ---- Phil Randal Network Engineer Herefordshire Council Hereford, UK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Peter Shankland > Sent: 09 May 2006 16:21 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Text Message help > > I am successfully using the software from smsclient.org to send text > messages to mobile phones manually using the following command: > > sms_client vodafone_tap:1234567890 "Message Text" > > This work brilliantly but I have tried to integrate this into > Nagios with > no success :( > > I have created the following notification command within my > misccommands.cfg file: > > # 'host-notify-by-sms' command definition > define command{ > command_name host-notify-by-sms > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: > $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ > } > > I have then got the following within my contacts.cfg file: > > define contact{ > contact_name 1533 > alias Peter Shankland > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands > host-notify-by-email,host-notify-by-sms > email peter.shankland at ricoh-rpl.com > address1 447977906721 > } > > Finally, this gets called within one of my hosts. > > I get the following within my syslog messages: > > May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: > CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA > = 0.60 ms > May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - > Packet loss = 0%, > RTA = 0.60 ms > May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - > Packet loss = > 0%, RTA = 0.60 ms > > and the following within the Nagios Event Log: > > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - > Packet loss = > 0%, RTA = 0.60 ms > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - > Packet loss = 0%, > RTA = 0.60 ms > > Everything appears to be working but I get no SMS text > message. Am I doing > something obviously wrong as I simply want to run the command > at the top of > this Email. > > Thanks. > > Pete. > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Tue May 9 18:44:33 2006 From: Peter.Shankland at ricoh-rpl.com (Peter Shankland) Date: Tue, 9 May 2006 17:44:33 +0100 Subject: SMS Text Message help Message-ID: When I run the following: su - nagios sms_client vodafone_tap:123456789 "message" I get: /bin/sms_client: /bin/sms_client: cannot execute binary file Is this starting to look like a permissions problem? Thanks. |---------+----------------------------> | | "Chad Osmond" | | | | | | | | | 09/05/2006 17:03 | | | | |---------+----------------------------> >---------------------------------------------------------------------------------------------------------------------------------------------| | | | To: "Peter Shankland" | | cc: | | Subject: RE: [Nagios-users] SMS Text Message help | >---------------------------------------------------------------------------------------------------------------------------------------------| Try echoing the command into a tmp file, and then running it as the nagios user.. Eg: command_line echo " /usr/bin/printf \"%b\" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ " > /tmp/sms-command`date +%s` The "su - nagios" and "sh /tmp/sms-command...." and see what happens. My guess, from my experience last week is that there is either an error with quotation marks, or the context.. By dumping the command to a temp file you will be able to debug what is happening. Good luck! Chad -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter Shankland Sent: May 9, 2006 11:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS Text Message help I am successfully using the software from smsclient.org to send text messages to mobile phones manually using the following command: sms_client vodafone_tap:1234567890 "Message Text" This work brilliantly but I have tried to integrate this into Nagios with no success :( I have created the following notification command within my misccommands.cfg file: # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ } I have then got the following within my contacts.cfg file: define contact{ contact_name 1533 alias Peter Shankland service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-sms email peter.shankland at ricoh-rpl.com address1 447977906721 } Finally, this gets called within one of my hosts. I get the following within my syslog messages: May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms and the following within the Nagios Event Log: [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms Everything appears to be working but I get no SMS text message. Am I doing something obviously wrong as I simply want to run the command at the top of this Email. Thanks. Pete. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 gmail.com Tue May 9 19:01:00 2006 From: tdondich at gmail.com (Taylor Dondich) Date: Tue, 9 May 2006 10:01:00 -0700 Subject: Web front-end for Nagios 2.x : RESPONSE FROM FRUITY DEVELOPER Message-ID: <3d2eb72a0605091001t5f6696d0u9cecb4f88996c5fa@mail.gmail.com> Okay, I think some clarification is in order. First off, let me introduce myself. I'm the developer of Fruity, the Nagios configuration utility. I wrote Fruity when I was working in Las Vegas, implementing Nagios in a gaming enterprise. When Fruity was in it's earliest stages, Groundwork contacted me in regards to working with them. I joined their team. At the time, they were also developing Monarch, a Nagios configuration tool. They brought me aboard for my Nagios experience and in my experience in developing web applications. They continue to work on Monarch. During my time here, I continue to work on Fruity. Let me plainly state the facts: Monarch And Fruity are developed in tandem. They do NOT share any code. Monarch is written in Perl, Fruity is written in PHP. The Monarch author does not work on Fruity, nor do I work on Monarch. Yes, Groundwork is paying both of us to continue to develop each of these tools. Monarch is used in Groundwork Monitor, monitoring solution that Groundwork provides. Fruity continues to be a mostly community driven project that anyone can download and use immediately. They have different ways of approaching the same problem. Some people like Monarch, some people like Fruity. Fruity is in NO way in danger of collapsing because I work at Groundwork. Both tools are not planned to merge yet in the immediate future. Fruity is VERY much alive and has one of the most active communities for a Nagios configuration tool. It's enhanced templating system is extremely powerful and there are patches provided by the community which extend it's functionality. Monarch is a powerful tool which appears to be used more by larger enterprises. It has some non-nagios specific features that I'm not too familiar with. I'm hoping this clarifies some of the questions that come up. People may seem puzzled in why Groundwork would pay me to work on Fruity (which is not my only project here). They are dedicated to improving the open source field and driving innovation. I think the fact that they provide development of both tools is a sign of their respect for these tools (they could have easilly tried to shut down Fruity after I joined the team). Taylor Dondich On 5/9/06, Marcel van Leeuwen wrote: > lars.bruun-hansen at nordea.com wrote: > > Marcel, > > > > Remember my requirement: Nagios 2.x (Nagios 1.x irrelevant) > > > > Monarch seems to me to be GroundWorks' previous configuration front-end > > while the new up-and-coming configuration front-end specific for Nagios > > 2.x is called Fruity, also by GroundWorks. > > Is this wrong? > > > Yes this is wrong. I believe Monarch indeed was available for version > 1.0 (although I have never used it for that) it now has features that > make it possible to convert existing configurations. > > > In any case I believe more in configuration tools that have started > > their life on Nagois 2.x as I'm really afraid that the older tools have > > too much baggage. Maybe I'm wrong on that one ? > > > > Some examples that I've come across that seems to do what I want > > > > * Fruity, by GroundWorks, latest version: 1.0 RC1 > > * NagiosQL 2005, by Martin Willisegger, latest version 1.0 RC2 > > > Well, I can say that I have tested both and have now migrated to Monarch > because of the (future) scale of my Nagios implementation. Fruity is the > light-weight brother/sister of Monarch, but works very well it provides > an almost 1-on-1 mapping of the Nagios configuration files. I believe > that the initial Fruity developer is now part of the Monarch team (am > not sure about this). > > I think NagiosQL is ok but I stubled across some bugs (e.g. '\' > handling in configurations) and I found the interface not very > comprehensible. > > The above tools both work fine, and give you an option to easily > configure your files. However, Monarch does more it adds features that > are not supported by the Nagios configuration files that make it easy to > maintain large groups of hosts and services, like service and host > profiles, dependency templates, contact templates, etc.. > > > Bases on my experience with the above I would most certainly recommend > Monarch if you plan on having a large Nagios configuration. If not I > think you should go for Fruity since it does give you enough to easily > create you configuration in a very comprehensible interface. > > Others? > > > Yes I have tried one more but can't remember which one it was..:) > > Remember, that all the above are just my personal experiences... > > Regards, > Marcel > > > > Lars > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mels > > Kooijman > > Sent: Tuesday, May 09, 2006 10:53 > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Re: Web front-end for Nagios 2.x > > > > Hi, > > > > We are using Monarch for the m$ administrators and are very positive > > about it. > > Only 1 thing gives some trouble. > > When we add a system, first add a new file for it. > > After commit Nagios reports a configuration error, the course is that > > Monarch the new .cfg file not saved in the running nagios.cfg > > > > Kind regards > > Mels > > > > > > > >>-----Original Message----- > >>From: nagios-users-admin at lists.sourceforge.net > >>[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcel > >>van Leeuwen > >>Sent: Tuesday, May 09, 2006 9:23 AM > >>To: nagios-users at lists.sourceforge.net > >>Subject: [Nagios-users] Re: Web front-end for Nagios 2.x > >> > >> > >>Hi, > >> > >>I have latelely been looking into Monarch. This seems a very robust > >>interface. For as for as I know it does support all configuration > >>features and even more in the form of host and service profiles. > >> > >>http://sourceforge.net/projects/monarch > >>or > >>http://www.groundworkopensource.com > >> > >>Kind regards, > >>Marcel van Leeuwen > >> > >> > >>lars.bruun-hansen at nordea.com wrote: > >> > >>> > >>> > >>>Hi there, > >>> > >>>I'm looking for a GUI-frontend for Nagios 2.x. > >>> > >>>Anyone can tell me what options I have if my requirements are: > >>> > >>>* Nagios 2.x support, Nagios 1.x irrelevant > >>>* Must support *all* configuration features of Nagios 2.x > >>>* Must support template based configuration > >>>* Restart from within the GUI > >>>* Good support, stable, being actively maintained > >>> > >>>I can of course see a list of potential candidates on > >> > >>NagiosExchange > >> > >>>but it seems to me that many of them are really Nagios 1.x > >> > >>specific. > >> > >>>I'm trying to save some time here by asking you lot instead of > >>>installing and trying out each individually. > >>> > >>> > >>>thx. > >>> > >>>Lars > >>> > >>> > >>> > >>> > >>> > >>>------------------------------------------------------- > >>>Using Tomcat but need to do more? Need to support web services, > >>>security? Get stuff done quickly with pre-integrated technology to > >>>make your job easier Download IBM WebSphere Application > >> > >>Server v.1.0.1 > >> > >>>based on Apache Geronimo > >>>http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > >>>_______________________________________________ > >>>Nagios-users mailing list > >>>Nagios-users at lists.sourceforge.net > >>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>::: Please include Nagios version, plugin version (-v) and > >> > >>OS when reporting any issue. > >> > >>>::: Messages without supporting info will risk being sent > >> > >>to /dev/null > >> > >> > >> > >>------------------------------------------------------- > >>Using Tomcat but need to do more? Need to support web services, > >>security? Get stuff done quickly with pre-integrated technology to > >>make your job easier Download IBM WebSphere Application Server v.1.0.1 > > > > > >>based on Apache Geronimo > >>http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > > > dat=121642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make your job > > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > > Geronimo > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, security? > > Get stuff done quickly with pre-integrated technology to make your job easier > > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Tue May 9 19:12:56 2006 From: Peter.Shankland at ricoh-rpl.com (Peter Shankland) Date: Tue, 9 May 2006 18:12:56 +0100 Subject: SMS Text Message help Message-ID: Getting somewhere now. It looks as though the problem was with me not using -q to supress the output from sms_client (thanks Phil Randal) but also the nagios user not being able to write to /dev/ttyS0, /etc/ and /var/lock/ The problem I now have is that the plugin takes about 60 seconds to run, but timesout after 30 seconds through Nagios. Is there a way to increase this timeout period? Thanks. Pete. ----- Forwarded by Peter Shankland/RPL on 09/05/2006 18:10 ----- |---------+----------------------------> | | Peter Shankland | | | | | | 09/05/2006 17:44 | | | | |---------+----------------------------> >---------------------------------------------------------------------------------------------------------------------------------------------| | | | To: "Chad Osmond" | | cc: nagios-users at lists.sourceforge.net | | Subject: RE: [Nagios-users] SMS Text Message help(Document link: Peter Shankland) | >---------------------------------------------------------------------------------------------------------------------------------------------| When I run the following: su - nagios sms_client vodafone_tap:123456789 "message" I get: /bin/sms_client: /bin/sms_client: cannot execute binary file Is this starting to look like a permissions problem? Thanks. |---------+----------------------------> | | "Chad Osmond" | | | | | | | | | 09/05/2006 17:03 | | | | |---------+----------------------------> >---------------------------------------------------------------------------------------------------------------------------------------------| | | | To: "Peter Shankland" | | cc: | | Subject: RE: [Nagios-users] SMS Text Message help | >---------------------------------------------------------------------------------------------------------------------------------------------| Try echoing the command into a tmp file, and then running it as the nagios user.. Eg: command_line echo " /usr/bin/printf \"%b\" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ " > /tmp/sms-command`date +%s` The "su - nagios" and "sh /tmp/sms-command...." and see what happens. My guess, from my experience last week is that there is either an error with quotation marks, or the context.. By dumping the command to a temp file you will be able to debug what is happening. Good luck! Chad -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter Shankland Sent: May 9, 2006 11:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS Text Message help I am successfully using the software from smsclient.org to send text messages to mobile phones manually using the following command: sms_client vodafone_tap:1234567890 "Message Text" This work brilliantly but I have tried to integrate this into Nagios with no success :( I have created the following notification command within my misccommands.cfg file: # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ } I have then got the following within my contacts.cfg file: define contact{ contact_name 1533 alias Peter Shankland service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-sms email peter.shankland at ricoh-rpl.com address1 447977906721 } Finally, this gets called within one of my hosts. I get the following within my syslog messages: May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms and the following within the Nagios Event Log: [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms Everything appears to be working but I get no SMS text message. Am I doing something obviously wrong as I simply want to run the command at the top of this Email. Thanks. Pete. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parcher at bcm.edu Tue May 9 19:38:28 2006 From: parcher at bcm.edu (Paul Archer) Date: Tue, 9 May 2006 12:38:28 -0500 (CDT) Subject: any way to specify source address for server? Message-ID: I'd like to give my Nagios server a virtual IP address, so that if we want to migrate the monitoring service to another machine in the future, it'll be easy (just setup the new machine and give it the same virtual IP). While nrpe can be configured to only listen on certain interfaces, I can't find any way to make Nagios send only on certain interfaces. Right now, it uses the primary interface only. So, is it possible to tell Nagios only to use a particular interface? Or is this at least coming in a future release? Thanks, Paul Archer ------------------------------ Paul Archer Senior Systems Administrator Baylor College of Medicine Human Genome Sequencing Center 713-798-5288 / 832-969-3422 ------------------------------ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From georgiebryan at gmail.com Tue May 9 19:52:16 2006 From: georgiebryan at gmail.com (George Bryan) Date: Tue, 9 May 2006 18:52:16 +0100 Subject: Help with different hostnames that are conflicting In-Reply-To: <9c98ad650604060419t1443ad64tadde6387e5718346@mail.gmail.com> References: <9c98ad650604060419t1443ad64tadde6387e5718346@mail.gmail.com> Message-ID: <9c98ad650605091052k76e1ec36k3a2eb3286529dab@mail.gmail.com> This problem is happening again on me. This time with a hostgroup that is a substring of another one. Lets imagine the hostgroup a is location.siteI and hostgroup b is location.siteII, some service definitions applied to hostgroup a, are also wrongfully applied to hostgroup b. I haven't received any feedback so i assume no one cares, is this a known bug or is there any nagios bug tracker where i can submit it for reviewing? On 4/6/06, George Bryan wrote: > Hi all, i have a nagios setup with a fair lot of hostnames. While > adding some more hostnames from my local infrastructure i stumbled > upon two hostnames that are very similar. > > Example > Host 1: host1.domain.com > Host 2: host2.domain.com > and in a different location we have: > Host 3: subhost1.domain.com > Host 4: subhost2.domain.com > > Host 3 and 4 were added after Host 1 and 2, everything was fine before > adding them. But after adding we did a config check before restarting > nagios and the following error came up. > > Nagios 2.0 > Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) > Last Modified: 02-07-2006 > License: GPL > > Reading configuration data... > > Running pre-flight check on configuration data... > > Checking services... > Checked 1624 services. > Checking hosts... > Checked 372 hosts. > Checking host groups... > Checked 122 host groups. > Checking service groups... > Checked 0 service groups. > Checking contacts... > Checked 22 contacts. > Checking contact groups... > Checked 15 contact groups. > Checking service escalations... > Error: Service 'Location 2 - fPing' on host ' subhost1.domain.com' > specified in service escalation is not defined anywhere! > Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' > specified in service escalation is not defined anywhere! > Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' > specified in service escalation is not defined anywhere! > Error: Service 'Location 2 - fPing' on host ' subhost2.domain.com' > specified in service escalation is not defined anywhere! > Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' > specified in service escalation is not defined anywhere! > Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' > specified in service escalation is not defined anywhere! > Checked 4878 service escalations. > Checking service dependencies... > Checked 0 service dependencies. > Checking host escalations... > Checked 740 host escalations. > Checking host dependencies... > Checked 0 host dependencies. > Checking commands... > Checked 65 commands. > Checking time periods... > Checked 6 time periods. > Checking extended host info definitions... > Checked 0 extended host info definitions. > Checking extended service info definitions... > Checked 1008 extended service info definitions. > 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: 6 > > > The weird part is, if i remove the "domain.com" part from hosts 3 and > 4, config check works fine. But i really can't do this. > Can anyone shed me some light on this matter? > > Thanks > George > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parcher at bcm.edu Tue May 9 19:55:47 2006 From: parcher at bcm.edu (Paul Archer) Date: Tue, 9 May 2006 12:55:47 -0500 (CDT) Subject: SMS Text Message help In-Reply-To: References: Message-ID: Out of curiosity, have you tried simply sending an email to your phone/pager/whatever-it-is? For example, a Sprint phone can recieve an SMS message sent to an email address like 5551234567 at messaging.sprintpcs.com Paul On Tue, 9 May 2006, Peter Shankland wrote: > Getting somewhere now. It looks as though the problem was with me not using > -q to supress the output from sms_client (thanks Phil Randal) but also the > nagios user not being able to write to /dev/ttyS0, /etc/ and /var/lock/ > > The problem I now have is that the plugin takes about 60 seconds to run, > but timesout after 30 seconds through Nagios. Is there a way to increase > this timeout period? > > Thanks. > > Pete. > ----- Forwarded by Peter Shankland/RPL on 09/05/2006 18:10 ----- > |---------+----------------------------> > | | Peter Shankland | > | | | > | | 09/05/2006 17:44 | > | | | > |---------+----------------------------> > >---------------------------------------------------------------------------------------------------------------------------------------------| > | | > | To: "Chad Osmond" | > | cc: nagios-users at lists.sourceforge.net | > | Subject: RE: [Nagios-users] SMS Text Message help(Document link: Peter Shankland) | > >---------------------------------------------------------------------------------------------------------------------------------------------| > > > > When I run the following: > > su - nagios sms_client vodafone_tap:123456789 "message" > > I get: > > /bin/sms_client: /bin/sms_client: cannot execute binary file > > Is this starting to look like a permissions problem? > > Thanks. > > > |---------+----------------------------> > | | "Chad Osmond" | > | | | | urn.com> | > | | | > | | 09/05/2006 17:03 | > | | | > |---------+----------------------------> > >---------------------------------------------------------------------------------------------------------------------------------------------| > | | > | To: "Peter Shankland" | > | cc: | > | Subject: RE: [Nagios-users] SMS Text Message help | > >---------------------------------------------------------------------------------------------------------------------------------------------| > > > > > Try echoing the command into a tmp file, and then running it as the > nagios user.. Eg: > > command_line echo " /usr/bin/printf \"%b\" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ " > > /tmp/sms-command`date +%s` > > The "su - nagios" and "sh /tmp/sms-command...." and see what happens. > > My guess, from my experience last week is that there is either an error > with quotation marks, or the context.. By dumping the command to a temp > file you will be able to debug what is happening. > > Good luck! > > Chad > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter > Shankland > Sent: May 9, 2006 11:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Text Message help > > I am successfully using the software from smsclient.org to send text > messages to mobile phones manually using the following command: > > sms_client vodafone_tap:1234567890 "Message Text" > > This work brilliantly but I have tried to integrate this into Nagios > with no success :( > > I have created the following notification command within my > misccommands.cfg file: > > # 'host-notify-by-sms' command definition define command{ > command_name host-notify-by-sms > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ > } > > I have then got the following within my contacts.cfg file: > > define contact{ > contact_name 1533 > alias Peter Shankland > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands > host-notify-by-email,host-notify-by-sms > email peter.shankland at ricoh-rpl.com > address1 447977906721 > } > > Finally, this gets called within one of my hosts. > > I get the following within my syslog messages: > > May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: > CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 ms > May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = > 0%, RTA = 0.60 ms > > and the following within the Nagios Event Log: > > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = > 0%, RTA = 0.60 ms > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms > > Everything appears to be working but I get no SMS text message. Am I > doing something obviously wrong as I simply want to run the command at > the top of this Email. > > Thanks. > > Pete. > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Peter.Shankland at ricoh-rpl.com Tue May 9 20:10:54 2006 From: Peter.Shankland at ricoh-rpl.com (Peter Shankland) Date: Tue, 9 May 2006 19:10:54 +0100 Subject: SMS Text Message help Message-ID: Have tried various solutions like this - the one I used was from sms2email.com. The problem with all of these products is that they go from Email to SMS.... what happens if your Email fails? I have actually managed to get this smsclient.org solution working by changing the timeout of the notifications within nagios.cfg Pete. |---------+----------------------------> | | Paul Archer | | | | | | | | | 09/05/2006 18:55 | | | | |---------+----------------------------> >---------------------------------------------------------------------------------------------------------------------------------------------| | | | To: Peter Shankland | | cc: nagios-users at lists.sourceforge.net | | Subject: RE: [Nagios-users] SMS Text Message help | >---------------------------------------------------------------------------------------------------------------------------------------------| Out of curiosity, have you tried simply sending an email to your phone/pager/whatever-it-is? For example, a Sprint phone can recieve an SMS message sent to an email address like 5551234567 at messaging.sprintpcs.com Paul On Tue, 9 May 2006, Peter Shankland wrote: > Getting somewhere now. It looks as though the problem was with me not using > -q to supress the output from sms_client (thanks Phil Randal) but also the > nagios user not being able to write to /dev/ttyS0, /etc/ and /var/lock/ > > The problem I now have is that the plugin takes about 60 seconds to run, > but timesout after 30 seconds through Nagios. Is there a way to increase > this timeout period? > > Thanks. > > Pete. > ----- Forwarded by Peter Shankland/RPL on 09/05/2006 18:10 ----- > |---------+----------------------------> > | | Peter Shankland | > | | | > | | 09/05/2006 17:44 | > | | | > |---------+----------------------------> > >---------------------------------------------------------------------------------------------------------------------------------------------| > | | > | To: "Chad Osmond" | > | cc: nagios-users at lists.sourceforge.net | > | Subject: RE: [Nagios-users] SMS Text Message help(Document link: Peter Shankland) | > >---------------------------------------------------------------------------------------------------------------------------------------------| > > > > When I run the following: > > su - nagios sms_client vodafone_tap:123456789 "message" > > I get: > > /bin/sms_client: /bin/sms_client: cannot execute binary file > > Is this starting to look like a permissions problem? > > Thanks. > > > |---------+----------------------------> > | | "Chad Osmond" | > | | | | urn.com> | > | | | > | | 09/05/2006 17:03 | > | | | > |---------+----------------------------> > >---------------------------------------------------------------------------------------------------------------------------------------------| > | | > | To: "Peter Shankland" | > | cc: | > | Subject: RE: [Nagios-users] SMS Text Message help | > >---------------------------------------------------------------------------------------------------------------------------------------------| > > > > > Try echoing the command into a tmp file, and then running it as the > nagios user.. Eg: > > command_line echo " /usr/bin/printf \"%b\" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ " > > /tmp/sms-command`date +%s` > > The "su - nagios" and "sh /tmp/sms-command...." and see what happens. > > My guess, from my experience last week is that there is either an error > with quotation marks, or the context.. By dumping the command to a temp > file you will be able to debug what is happening. > > Good luck! > > Chad > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter > Shankland > Sent: May 9, 2006 11:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Text Message help > > I am successfully using the software from smsclient.org to send text > messages to mobile phones manually using the following command: > > sms_client vodafone_tap:1234567890 "Message Text" > > This work brilliantly but I have tried to integrate this into Nagios > with no success :( > > I have created the following notification command within my > misccommands.cfg file: > > # 'host-notify-by-sms' command definition define command{ > command_name host-notify-by-sms > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ > } > > I have then got the following within my contacts.cfg file: > > define contact{ > contact_name 1533 > alias Peter Shankland > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands > host-notify-by-email,host-notify-by-sms > email peter.shankland at ricoh-rpl.com > address1 447977906721 > } > > Finally, this gets called within one of my hosts. > > I get the following within my syslog messages: > > May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: > CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 ms > May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = > 0%, RTA = 0.60 ms > > and the following within the Nagios Event Log: > > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = > 0%, RTA = 0.60 ms > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms > > Everything appears to be working but I get no SMS text message. Am I > doing something obviously wrong as I simply want to run the command at > the top of this Email. > > Thanks. > > Pete. > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Tue May 9 20:12:07 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 9 May 2006 11:12:07 -0700 Subject: Turn OFF downtime Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2D8A@dw-mail.dataway.com> Click "Scheduled Downtime" from the left navbar >From the list of Scheduled Downtimes, click the trashcan icon for the entry you want to cancel. > -----Original Message----- > From: Tiago Cruz [mailto:tiagocruz at forumgdh.net] > Sent: Tuesday, May 09, 2006 8:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Turn OFF downtime > > > Hello guys, > > How can I turn off the downtime of one host, like this one: > > This host has been scheduled for fixed downtime from > 04-05-2006 16:35:29 to > 04-06-2006 18:35:29. Notifications for the host will not be > sent out during that > time period. > > Thanks! > -- > > Tiago Cruz > Network Administrator > Linux is like an Indian tent: > no Windows, no Gates and an Apache inside. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 9 20:15:34 2006 From: marc at ena.com (Marc Powell) Date: Tue, 9 May 2006 13:15:34 -0500 Subject: any way to specify source address for server? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Paul Archer > Sent: Tuesday, May 09, 2006 12:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] any way to specify source address for server? > > I'd like to give my Nagios server a virtual IP address, so that if we want > to migrate the monitoring service to another machine in the future, it'll > be easy (just setup the new machine and give it the same virtual IP). > While nrpe can be configured to only listen on certain interfaces, I can't > find any way to make Nagios send only on certain interfaces. Right now, it > uses the primary interface only. > So, is it possible to tell Nagios only to use a particular interface? Or > is this at least coming in a future release? As with almost every application, this is controlled by the routing tables of your Operating System. Unless you specify a more specific route out a different interface for your destinations, the OS will always route traffic out your default gateway interface, sourced from that interface. This question has come up before and though I am not authoritative on plugin development (which you are really talking about), it is almost certain that the plugins will continue to rely on the OS for proper routing. If you're restricting access on remote hosts by IP, (as we do), you can static NAT your nagios host IP at a firewall/other device or move the IP when you change hosts. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parcher at bcm.edu Tue May 9 21:51:34 2006 From: parcher at bcm.edu (Paul Archer) Date: Tue, 9 May 2006 14:51:34 -0500 (CDT) Subject: Help with different hostnames that are conflicting In-Reply-To: <9c98ad650605091052k76e1ec36k3a2eb3286529dab@mail.gmail.com> References: <9c98ad650604060419t1443ad64tadde6387e5718346@mail.gmail.com> <9c98ad650605091052k76e1ec36k3a2eb3286529dab@mail.gmail.com> Message-ID: On Tue, 9 May 2006, George Bryan wrote: > This problem is happening again on me. This time with a hostgroup that > is a substring of another one. Lets imagine the hostgroup a is > location.siteI and hostgroup b is location.siteII, some service > definitions applied to hostgroup a, are also wrongfully applied to > hostgroup b. > What are your settings in nagios.cfg for the folowing params? # REGULAR EXPRESSION MATCHING # This option controls whether or not regular expression matching # takes place in the object config files. Regular expression # matching is used to match host, hostgroup, service, and service # group names/descriptions in some fields of various object types. # Values: 1 = enable regexp matching, 0 = disable regexp matching use_regexp_matching=1 # "TRUE" REGULAR EXPRESSION MATCHING # This option controls whether or not "true" regular expression # matching takes place in the object config files. This option # only has an effect if regular expression matching is enabled # (see above). If this option is DISABLED, regular expression # matching only occurs if a string contains wildcard characters # (* and ?). If the option is ENABLED, regexp matching occurs # all the time (which can be annoying). # Values: 1 = enable true matching, 0 = disable true matching use_true_regexp_matching=0 Paul > On 4/6/06, George Bryan wrote: >> Hi all, i have a nagios setup with a fair lot of hostnames. While >> adding some more hostnames from my local infrastructure i stumbled >> upon two hostnames that are very similar. >> >> Example >> Host 1: host1.domain.com >> Host 2: host2.domain.com >> and in a different location we have: >> Host 3: subhost1.domain.com >> Host 4: subhost2.domain.com >> >> Host 3 and 4 were added after Host 1 and 2, everything was fine before >> adding them. But after adding we did a config check before restarting >> nagios and the following error came up. >> >> Nagios 2.0 >> Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) >> Last Modified: 02-07-2006 >> License: GPL >> >> Reading configuration data... >> >> Running pre-flight check on configuration data... >> >> Checking services... >> Checked 1624 services. >> Checking hosts... >> Checked 372 hosts. >> Checking host groups... >> Checked 122 host groups. >> Checking service groups... >> Checked 0 service groups. >> Checking contacts... >> Checked 22 contacts. >> Checking contact groups... >> Checked 15 contact groups. >> Checking service escalations... >> Error: Service 'Location 2 - fPing' on host ' subhost1.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host ' subhost2.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' >> specified in service escalation is not defined anywhere! >> Checked 4878 service escalations. >> Checking service dependencies... >> Checked 0 service dependencies. >> Checking host escalations... >> Checked 740 host escalations. >> Checking host dependencies... >> Checked 0 host dependencies. >> Checking commands... >> Checked 65 commands. >> Checking time periods... >> Checked 6 time periods. >> Checking extended host info definitions... >> Checked 0 extended host info definitions. >> Checking extended service info definitions... >> Checked 1008 extended service info definitions. >> 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: 6 >> >> >> The weird part is, if i remove the "domain.com" part from hosts 3 and >> 4, config check works fine. But i really can't do this. >> Can anyone shed me some light on this matter? >> >> Thanks >> George >> > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue May 9 22:45:36 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 9 May 2006 22:45:36 +0200 (CEST) Subject: any way to specify source address for server? In-Reply-To: References: Message-ID: On Tue, 9 May 2006, Paul Archer wrote: > I'd like to give my Nagios server a virtual IP address, so that if we want > to migrate the monitoring service to another machine in the future, it'll > be easy (just setup the new machine and give it the same virtual IP). > While nrpe can be configured to only listen on certain interfaces, I can't > find any way to make Nagios send only on certain interfaces. Right now, it > uses the primary interface only. > So, is it possible to tell Nagios only to use a particular interface? Or > is this at least coming in a future release? This is a tricky issue. First of all I must assume you are referring to the actions taken by the various checks. These are in fact regulated by the individual plugins so there is not a single way to solve this. Example: If my dns plugin calls dig to do the job then how do I run dig in the manner you describe? And will such a soulution work for other plugins? In general I think nagios expects your host to solve these issues. In your case you could considere working around the issue with NAT rules in the IP stack of your OS. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ntserafica at yahoo.com Wed May 10 00:29:13 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Tue, 9 May 2006 15:29:13 -0700 (PDT) Subject: how to use snmp Message-ID: <20060509222913.68900.qmail@web60419.mail.yahoo.com> Does anyone configured monitoring remote server via snmp? i'm planning to use snmp to monitor remotely our server, can anyone give advice what is the good plugins and how do you do that? I cannot use NRPE because the server is production. We cannot installed any application not relevant to work. I check www.nagiosexchange.org, just asking any advice. By the way, how can I know if I can check it using snmp ???? i tried snmpwalk, is this enough? -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.shipway at auckland.ac.nz Wed May 10 00:45:45 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 10 May 2006 10:45:45 +1200 Subject: any way to specify source address for server? In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90EFD6@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90EFD6@vxchange.vcr.auckland.ac.nz> Message-ID: <003001c673ba$4f509430$8ea8d882@UoA.auckland.ac.nz> > > I'd like to give my Nagios server a virtual IP address, so that if we > > want to migrate the monitoring service to another machine in the > > future, it'll be easy (just setup the new machine and give > it the same virtual IP). ... > This is a tricky issue. First of all I must assume you are > referring to the actions taken by the various checks. These > are in fact regulated by the individual plugins so there is > not a single way to solve this. I understand what you're trying to achieve - just set up a single ACL on your routers (for example) and have the Nagios service always query from this (virtual) IP, wherever it actually lives. For reasons stated before, this is almost impossible. The only way I can think of doing it is to set up a route definition on the Nagios host directing all traffic via the virtual IP, although that is rather messy. Here, we have Nagios on a virtual IP moving between two linux-ha hosts. NSCA listens to a port on the virtual IP. However, Nagios will query from the physical IP of whichever host it is on, so we have had to set up both physical IPs in the ACLs. I suppose you could set up a special subnet for your monitoring servers, and set your ACLs to allow that subnet. Or, if only certain checks (SNMP?) require this source IP, you might be able to modify the appropriate plugins to specify source route. However, it doesnt seem feasible to do it for all the plugins. Steve ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kritikus at gmail.com Wed May 10 01:56:38 2006 From: kritikus at gmail.com (kritikus Araklidas) Date: Tue, 9 May 2006 19:56:38 -0400 Subject: Status MAP (libgd.so.2 problem) generation problem on Nagios Message-ID: Hi everyone: I installed nagios with GD support, the installation was suscessfull (the nagios configure command reconize the GD library). Every single option works fine, but when i try to open Status MAP i got and internal error (error 500), i review it the apache error logs and i looks some cgi file cannot find the *libgd.so.2, *but in the installation process was reconized and the library is already in /usr/local/lib. The rest of the application works properly, only in some menus where gd is required the problem come. Any idea.......????? Regards. Cristian. * * -------------- next part -------------- An HTML attachment was scrubbed... URL: From nharebottle at vikus.com Wed May 10 02:09:08 2006 From: nharebottle at vikus.com (Norman Harebottle) Date: Tue, 9 May 2006 20:09:08 -0400 Subject: Status MAP (libgd.so.2 problem) generation problem on Nagios Message-ID: Is GD enabled in the php.ini file? Norman ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of kritikus Araklidas Sent: Tuesday, May 09, 2006 7:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Hi everyone: I installed nagios with GD support, the installation was suscessfull (the nagios configure command reconize the GD library). Every single option works fine, but when i try to open Status MAP i got and internal error (error 500), i review it the apache error logs and i looks some cgi file cannot find the libgd.so.2, but in the installation process was reconized and the library is already in /usr/local/lib. The rest of the application works properly, only in some menus where gd is required the problem come. Any idea.......????? Regards. Cristian. -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Wed May 10 02:13:42 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 9 May 2006 20:13:42 -0400 Subject: SMS Text Message help Message-ID: Does sms_client work as a pipe? If you just want to use the command at the top of your message... Well, do that. :) Something like this: command_line /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter Shankland Sent: Tuesday, May 09, 2006 8:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS Text Message help I am successfully using the software from smsclient.org to send text messages to mobile phones manually using the following command: sms_client vodafone_tap:1234567890 "Message Text" This work brilliantly but I have tried to integrate this into Nagios with no success :( I have created the following notification command within my misccommands.cfg file: # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ } I have then got the following within my contacts.cfg file: define contact{ contact_name 1533 alias Peter Shankland service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-sms email peter.shankland at ricoh-rpl.com address1 447977906721 } Finally, this gets called within one of my hosts. I get the following within my syslog messages: May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms and the following within the Nagios Event Log: [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = 0%, RTA = 0.60 ms [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = 0%, RTA = 0.60 ms Everything appears to be working but I get no SMS text message. Am I doing something obviously wrong as I simply want to run the command at the top of this Email. Thanks. Pete. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parcher at bcm.edu Wed May 10 02:21:03 2006 From: parcher at bcm.edu (Paul Archer) Date: Tue, 9 May 2006 19:21:03 -0500 (CDT) Subject: any way to specify source address for server? In-Reply-To: <003001c673ba$4f509430$8ea8d882@UoA.auckland.ac.nz> References: <003001c673ba$4f509430$8ea8d882@UoA.auckland.ac.nz> Message-ID: Thanks for the responses. I hadn't thought about the scope of the problem (ie that each plugin would potentially need to be modified). I think the scope could be somewhat contained by just modifying check_nrpe; that's the only plugin that relies on the client allowing a certain IP address. Right now, I think I'll just not worry about it too much, and change the nrpe.conf configuration on the clients when/if we have to. Paul On Wed, 10 May 2006, Steve Shipway wrote: >>> I'd like to give my Nagios server a virtual IP address, so that if we >>> want to migrate the monitoring service to another machine in the >>> future, it'll be easy (just setup the new machine and give >> it the same virtual IP). > ... >> This is a tricky issue. First of all I must assume you are >> referring to the actions taken by the various checks. These >> are in fact regulated by the individual plugins so there is >> not a single way to solve this. > > I understand what you're trying to achieve - just set up a single ACL on > your routers (for example) and have the Nagios service always query from > this (virtual) IP, wherever it actually lives. > > For reasons stated before, this is almost impossible. The only way I can > think of doing it is to set up a route definition on the Nagios host > directing all traffic via the virtual IP, although that is rather messy. > > Here, we have Nagios on a virtual IP moving between two linux-ha hosts. > NSCA listens to a port on the virtual IP. However, Nagios will query from > the physical IP of whichever host it is on, so we have had to set up both > physical IPs in the ACLs. > > I suppose you could set up a special subnet for your monitoring servers, and > set your ACLs to allow that subnet. Or, if only certain checks (SNMP?) > require this source IP, you might be able to modify the appropriate plugins > to specify source route. However, it doesnt seem feasible to do it for all > the plugins. > > Steve > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From parcher at bcm.edu Wed May 10 02:38:09 2006 From: parcher at bcm.edu (Paul Archer) Date: Tue, 9 May 2006 19:38:09 -0500 (CDT) Subject: how to use snmp In-Reply-To: <20060509222913.68900.qmail@web60419.mail.yahoo.com> References: <20060509222913.68900.qmail@web60419.mail.yahoo.com> Message-ID: I can't give you any advice one way or the other on SNMP; however, you might want to look at the alternative of using ssh for monitoring. Setup a 'nagios' user on the client with appropriate ssh keys on the server. Use forced commands in 'authorized_keys' for safety, and have the Nagios server log into the client to check what it needs to check. It's probably no harder than setting up SNMP (much easier if you're not familiar with SNMP to begin with), and it's more secure. Paul On Tue, 9 May 2006, Nelson Serafica wrote: > Does anyone configured monitoring remote server via snmp? i'm planning to use snmp to monitor remotely our server, can anyone give advice what is the good plugins and how do you do that? I cannot use NRPE because the server is production. We cannot installed any application not relevant to work. > > I check www.nagiosexchange.org, just asking any advice. By the way, how can I know if I can check it using snmp ???? i tried snmpwalk, is this enough? > -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Radzicki at equilend.com Wed May 10 03:25:42 2006 From: Michael.Radzicki at equilend.com (Michael Radzicki) Date: Tue, 9 May 2006 21:25:42 -0400 Subject: Problem running .configure with version 1.4.2 of nagios-plugins... Message-ID: Hello again list users. I have a problem when I run the .configure command with version of nagios plugins. This is the string I am using to run the configure script: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with-mysql=/opt/mysql/mysql When I run this script, I see the following: checking for mysql_init in -lmysqlclient... no checking for mysql_close in -lmysqlclient... no configure: WARNING: Skipping mysql plugin Needless to say, when I run make all, the check_mysql plugin doesn't get included. I have MySQL 5.0.18 installed in /opt/mysql/mysql. Any ideas how I can get around this problem? Thanks in advance. Mike R ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Daniel.Tardy at canson.fr Wed May 10 04:00:15 2006 From: Daniel.Tardy at canson.fr (Daniel.Tardy at canson.fr) Date: Wed, 10 May 2006 04:00:15 +0200 Subject: Daniel TARDY est absent jusqu'au 15 Mai Message-ID: Je serai absent(e) du 09/05/2006 au 15/05/2006. Vous pouvez joindre Christelle LAVAL au 04 75 69 87 21 St?phane REVOL au 04 75 69 87 07 C?dric BERT au 04 75 69 88 25 Eric GRIENAY au 04 75 69 88 70 En cas d'urgence uniquement, utilisez le 06 80 94 96 87. Merci. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AMeyer at precisionpractice.com Wed May 10 05:18:40 2006 From: AMeyer at precisionpractice.com (Andrew Meyer) Date: Tue, 9 May 2006 22:18:40 -0500 Subject: Nagios-users digest, Vol 1 #3164 - 16 msgs Message-ID: <94407F2CC32FE34F8A7D3CB61E31C7F401013041@ppmexch01.precisionpractice.com> Is anyone using any of the tools from nagiosexchange.org like Nace or Nagiosweb2? What is your opinoin of them? Please advise. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nagios-users-request at lists.sourceforge.net Sent: Tuesday, May 09, 2006 10:11 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #3164 - 16 msgs Send Nagios-users mailing list submissions to nagios-users at lists.sourceforge.net To subscribe or unsubscribe via the World Wide Web, visit https://lists.sourceforge.net/lists/listinfo/nagios-users or, via email, send a message with subject or body 'help' to nagios-users-request at lists.sourceforge.net You can reach the person managing the list at nagios-users-admin at lists.sourceforge.net When replying, please edit your Subject line so it is more specific than "Re: Contents of Nagios-users digest..." Today's Topics: 1. RE: SMS Text Message help (Paul Archer) 2. RE: SMS Text Message help (Peter Shankland) 3. RE: Turn OFF downtime (Tedman Eng) 4. RE: any way to specify source address for server? (Marc Powell) 5. Re: Re: Help with different hostnames that are conflicting (Paul Archer) 6. Re: any way to specify source address for server? (Hugo van der Kooij) 7. how to use snmp (Nelson Serafica) 8. RE: any way to specify source address for server? (Steve Shipway) 9. Status MAP (libgd.so.2 problem) generation problem on Nagios (kritikus Araklidas) 10. RE: Status MAP (libgd.so.2 problem) generation problem on Nagios (Norman Harebottle) 11. RE: SMS Text Message help (Morris, Patrick) 12. RE: any way to specify source address for server? (Paul Archer) 13. Re: how to use snmp (Paul Archer) 14. Problem running .configure with version 1.4.2 of nagios-plugins... (Michael Radzicki) 15. Daniel TARDY est absent jusqu'au 15 Mai (Daniel.Tardy at canson.fr) --__--__-- Message: 1 Date: Tue, 9 May 2006 12:55:47 -0500 (CDT) From: Paul Archer To: Peter Shankland cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] SMS Text Message help Out of curiosity, have you tried simply sending an email to your phone/pager/whatever-it-is? For example, a Sprint phone can recieve an SMS message sent to an email address like 5551234567 at messaging.sprintpcs.com Paul On Tue, 9 May 2006, Peter Shankland wrote: > Getting somewhere now. It looks as though the problem was with me not > using -q to supress the output from sms_client (thanks Phil Randal) > but also the nagios user not being able to write to /dev/ttyS0, /etc/ > and /var/lock/ > > The problem I now have is that the plugin takes about 60 seconds to > run, but timesout after 30 seconds through Nagios. Is there a way to > increase this timeout period? > > Thanks. > > Pete. > ----- Forwarded by Peter Shankland/RPL on 09/05/2006 18:10 ----- > |---------+----------------------------> > | | Peter Shankland | > | | | > | | 09/05/2006 17:44 | > | | | > |---------+----------------------------> > >----------------------------------------------------------------------- ----------------------------------------------------------------------| > | | > | To: "Chad Osmond" | > | cc: nagios-users at lists.sourceforge.net | > | Subject: RE: [Nagios-users] SMS Text Message help(Document link: Peter Shankland) | > > >--------------------------------------------------------------------- > ---------------------------------------------------------------------- > --| > > > > When I run the following: > > su - nagios sms_client vodafone_tap:123456789 "message" > > I get: > > /bin/sms_client: /bin/sms_client: cannot execute binary file > > Is this starting to look like a permissions problem? > > Thanks. > > > |---------+----------------------------> > | | "Chad Osmond" | > | | | | urn.com> | > | | | > | | 09/05/2006 17:03 | > | | | > |---------+----------------------------> > >----------------------------------------------------------------------- ----------------------------------------------------------------------| > | | > | To: "Peter Shankland" | > | cc: | > | Subject: RE: [Nagios-users] SMS Text Message help | > > >--------------------------------------------------------------------- > ---------------------------------------------------------------------- > --| > > > > > Try echoing the command into a tmp file, and then running it as the > nagios user.. Eg: > > command_line echo " /usr/bin/printf \"%b\" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ " > > /tmp/sms-command`date +%s` > > The "su - nagios" and "sh /tmp/sms-command...." and see what happens. > > My guess, from my experience last week is that there is either an > error with quotation marks, or the context.. By dumping the command to > a temp file you will be able to debug what is happening. > > Good luck! > > Chad > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter > Shankland > Sent: May 9, 2006 11:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Text Message help > > I am successfully using the software from smsclient.org to send text > messages to mobile phones manually using the following command: > > sms_client vodafone_tap:1234567890 "Message Text" > > This work brilliantly but I have tried to integrate this into Nagios > with no success :( > > I have created the following notification command within my > misccommands.cfg file: > > # 'host-notify-by-sms' command definition define command{ > command_name host-notify-by-sms > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ > } > > I have then got the following within my contacts.cfg file: > > define contact{ > contact_name 1533 > alias Peter Shankland > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands > host-notify-by-email,host-notify-by-sms > email peter.shankland at ricoh-rpl.com > address1 447977906721 > } > > Finally, this gets called within one of my hosts. > > I get the following within my syslog messages: > > May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: > CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 > ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss > = 0%, RTA = 0.60 ms > > and the following within the Nagios Event Log: > > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss > = 0%, RTA = 0.60 ms > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms > > Everything appears to be working but I get no SMS text message. Am I > doing something obviously wrong as I simply want to run the command at > the top of this Email. > > Thanks. > > Pete. > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > 42 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=1216 > 42 _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---------- # pwd /loony/bin ---------- --__--__-- Message: 2 Subject: RE: [Nagios-users] SMS Text Message help To: Paul Archer Cc: nagios-users at lists.sourceforge.net From: "Peter Shankland" Date: Tue, 9 May 2006 19:10:54 +0100 Have tried various solutions like this - the one I used was from sms2email.com. The problem with all of these products is that they go from Email to SMS.... what happens if your Email fails? I have actually managed to get this smsclient.org solution working by changing the timeout of the notifications within nagios.cfg Pete. |---------+----------------------------> | | Paul Archer | | | | | | | | | 09/05/2006 18:55 | | | | |---------+----------------------------> >----------------------------------------------------------------------- ----------------------------------------------------------------------| | | | To: Peter Shankland | | cc: nagios-users at lists.sourceforge.net | | Subject: RE: [Nagios-users] SMS Text Message help | >----------------------------------------------------------------------- ----------------------------------------------------------------------| Out of curiosity, have you tried simply sending an email to your phone/pager/whatever-it-is? For example, a Sprint phone can recieve an SMS message sent to an email address like 5551234567 at messaging.sprintpcs.com Paul On Tue, 9 May 2006, Peter Shankland wrote: > Getting somewhere now. It looks as though the problem was with me not using > -q to supress the output from sms_client (thanks Phil Randal) but also the > nagios user not being able to write to /dev/ttyS0, /etc/ and /var/lock/ > > The problem I now have is that the plugin takes about 60 seconds to run, > but timesout after 30 seconds through Nagios. Is there a way to increase > this timeout period? > > Thanks. > > Pete. > ----- Forwarded by Peter Shankland/RPL on 09/05/2006 18:10 ----- > |---------+----------------------------> > | | Peter Shankland | > | | | > | | 09/05/2006 17:44 | > | | | > |---------+----------------------------> > >----------------------------------------------------------------------- ----------------------------------------------------------------------| > | | > | To: "Chad Osmond" | > | cc: nagios-users at lists.sourceforge.net | > | Subject: RE: [Nagios-users] SMS Text Message help(Document link: Peter Shankland) | > >----------------------------------------------------------------------- ----------------------------------------------------------------------| > > > > When I run the following: > > su - nagios sms_client vodafone_tap:123456789 "message" > > I get: > > /bin/sms_client: /bin/sms_client: cannot execute binary file > > Is this starting to look like a permissions problem? > > Thanks. > > > |---------+----------------------------> > | | "Chad Osmond" | > | | | | urn.com> | > | | | > | | 09/05/2006 17:03 | > | | | > |---------+----------------------------> > >----------------------------------------------------------------------- ----------------------------------------------------------------------| > | | > | To: "Peter Shankland" | > | cc: | > | Subject: RE: [Nagios-users] SMS Text Message help | > >----------------------------------------------------------------------- ----------------------------------------------------------------------| > > > > > Try echoing the command into a tmp file, and then running it as the > nagios user.. Eg: > > command_line echo " /usr/bin/printf \"%b\" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n\" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ " > > /tmp/sms-command`date +%s` > > The "su - nagios" and "sh /tmp/sms-command...." and see what happens. > > My guess, from my experience last week is that there is either an error > with quotation marks, or the context.. By dumping the command to a temp > file you will be able to debug what is happening. > > Good luck! > > Chad > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter > Shankland > Sent: May 9, 2006 11:21 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] SMS Text Message help > > I am successfully using the software from smsclient.org to send text > messages to mobile phones manually using the following command: > > sms_client vodafone_tap:1234567890 "Message Text" > > This work brilliantly but I have tried to integrate this into Nagios > with no success :( > > I have created the following notification command within my > misccommands.cfg file: > > # 'host-notify-by-sms' command definition define command{ > command_name host-notify-by-sms > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: > $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: > $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ > } > > I have then got the following within my contacts.cfg file: > > define contact{ > contact_name 1533 > alias Peter Shankland > service_notification_period 24x7 > host_notification_period 24x7 > service_notification_options w,u,c,r > host_notification_options d,r > service_notification_commands notify-by-email > host_notification_commands > host-notify-by-email,host-notify-by-sms > email peter.shankland at ricoh-rpl.com > address1 447977906721 > } > > Finally, this gets called within one of my hosts. > > I get the following within my syslog messages: > > May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: > CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss = 0%, RTA = 0.60 ms > May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = > 0%, RTA = 0.60 ms > > and the following within the Nagios Event Log: > > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = > 0%, RTA = 0.60 ms > [09-05-2006 09:51:51] HOST NOTIFICATION: > 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss = > 0%, RTA = 0.60 ms > > Everything appears to be working but I get no SMS text message. Am I > doing something obviously wrong as I simply want to run the command at > the top of this Email. > > Thanks. > > Pete. > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---------- # pwd /loony/bin ---------- --__--__-- Message: 3 From: Tedman Eng To: 'Tiago Cruz' , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Turn OFF downtime Date: Tue, 9 May 2006 11:12:07 -0700 Click "Scheduled Downtime" from the left navbar >From the list of Scheduled Downtimes, click the trashcan icon for the entry you want to cancel. > -----Original Message----- > From: Tiago Cruz [mailto:tiagocruz at forumgdh.net] > Sent: Tuesday, May 09, 2006 8:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Turn OFF downtime > > > Hello guys, > > How can I turn off the downtime of one host, like this one: > > This host has been scheduled for fixed downtime from > 04-05-2006 16:35:29 to > 04-06-2006 18:35:29. Notifications for the host will not be > sent out during that > time period. > > Thanks! > -- > > Tiago Cruz > Network Administrator > Linux is like an Indian tent: > no Windows, no Gates and an Apache inside. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 4 Subject: RE: [Nagios-users] any way to specify source address for server? Date: Tue, 9 May 2006 13:15:34 -0500 From: "Marc Powell" To: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Paul Archer > Sent: Tuesday, May 09, 2006 12:38 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] any way to specify source address for server? >=20 > I'd like to give my Nagios server a virtual IP address, so that if we want > to migrate the monitoring service to another machine in the future, it'll > be easy (just setup the new machine and give it the same virtual IP). > While nrpe can be configured to only listen on certain interfaces, I can't > find any way to make Nagios send only on certain interfaces. Right now, it > uses the primary interface only. > So, is it possible to tell Nagios only to use a particular interface? Or > is this at least coming in a future release? As with almost every application, this is controlled by the routing tables of your Operating System. Unless you specify a more specific route out a different interface for your destinations, the OS will always route traffic out your default gateway interface, sourced from that interface. This question has come up before and though I am not authoritative on plugin development (which you are really talking about), it is almost certain that the plugins will continue to rely on the OS for proper routing. If you're restricting access on remote hosts by IP, (as we do), you can static NAT your nagios host IP at a firewall/other device or move the IP when you change hosts.=20 -- Marc --__--__-- Message: 5 Date: Tue, 9 May 2006 14:51:34 -0500 (CDT) From: Paul Archer To: George Bryan cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Help with different hostnames that are conflicting On Tue, 9 May 2006, George Bryan wrote: > This problem is happening again on me. This time with a hostgroup that > is a substring of another one. Lets imagine the hostgroup a is > location.siteI and hostgroup b is location.siteII, some service > definitions applied to hostgroup a, are also wrongfully applied to > hostgroup b. > What are your settings in nagios.cfg for the folowing params? # REGULAR EXPRESSION MATCHING # This option controls whether or not regular expression matching # takes place in the object config files. Regular expression # matching is used to match host, hostgroup, service, and service # group names/descriptions in some fields of various object types. # Values: 1 = enable regexp matching, 0 = disable regexp matching use_regexp_matching=1 # "TRUE" REGULAR EXPRESSION MATCHING # This option controls whether or not "true" regular expression # matching takes place in the object config files. This option # only has an effect if regular expression matching is enabled # (see above). If this option is DISABLED, regular expression # matching only occurs if a string contains wildcard characters # (* and ?). If the option is ENABLED, regexp matching occurs # all the time (which can be annoying). # Values: 1 = enable true matching, 0 = disable true matching use_true_regexp_matching=0 Paul > On 4/6/06, George Bryan wrote: >> Hi all, i have a nagios setup with a fair lot of hostnames. While >> adding some more hostnames from my local infrastructure i stumbled >> upon two hostnames that are very similar. >> >> Example >> Host 1: host1.domain.com >> Host 2: host2.domain.com >> and in a different location we have: >> Host 3: subhost1.domain.com >> Host 4: subhost2.domain.com >> >> Host 3 and 4 were added after Host 1 and 2, everything was fine before >> adding them. But after adding we did a config check before restarting >> nagios and the following error came up. >> >> Nagios 2.0 >> Copyright (c) 1999-2006 Ethan Galstad (http://www.nagios.org) >> Last Modified: 02-07-2006 >> License: GPL >> >> Reading configuration data... >> >> Running pre-flight check on configuration data... >> >> Checking services... >> Checked 1624 services. >> Checking hosts... >> Checked 372 hosts. >> Checking host groups... >> Checked 122 host groups. >> Checking service groups... >> Checked 0 service groups. >> Checking contacts... >> Checked 22 contacts. >> Checking contact groups... >> Checked 15 contact groups. >> Checking service escalations... >> Error: Service 'Location 2 - fPing' on host ' subhost1.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost1.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host ' subhost2.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' >> specified in service escalation is not defined anywhere! >> Error: Service 'Location 2 - fPing' on host 'subhost2.domain.com' >> specified in service escalation is not defined anywhere! >> Checked 4878 service escalations. >> Checking service dependencies... >> Checked 0 service dependencies. >> Checking host escalations... >> Checked 740 host escalations. >> Checking host dependencies... >> Checked 0 host dependencies. >> Checking commands... >> Checked 65 commands. >> Checking time periods... >> Checked 6 time periods. >> Checking extended host info definitions... >> Checked 0 extended host info definitions. >> Checking extended service info definitions... >> Checked 1008 extended service info definitions. >> 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: 6 >> >> >> The weird part is, if i remove the "domain.com" part from hosts 3 and >> 4, config check works fine. But i really can't do this. >> Can anyone shed me some light on this matter? >> >> Thanks >> George >> > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd_____________________________________ __________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. ::: Messages without supporting info will risk being sent to > /dev/null > -- ---------- # pwd /loony/bin ---------- --__--__-- Message: 6 Date: Tue, 9 May 2006 22:45:36 +0200 (CEST) From: Hugo van der Kooij Reply-To: Nagios Users Mailinglist To: Nagios Users Mailinglist Subject: Re: [Nagios-users] any way to specify source address for server? On Tue, 9 May 2006, Paul Archer wrote: > I'd like to give my Nagios server a virtual IP address, so that if we want > to migrate the monitoring service to another machine in the future, it'll > be easy (just setup the new machine and give it the same virtual IP). > While nrpe can be configured to only listen on certain interfaces, I can't > find any way to make Nagios send only on certain interfaces. Right now, it > uses the primary interface only. > So, is it possible to tell Nagios only to use a particular interface? Or > is this at least coming in a future release? This is a tricky issue. First of all I must assume you are referring to the actions taken by the various checks. These are in fact regulated by the individual plugins so there is not a single way to solve this. Example: If my dns plugin calls dig to do the job then how do I run dig in the manner you describe? And will such a soulution work for other plugins? In general I think nagios expects your host to solve these issues. In your case you could considere working around the issue with NAT rules in the IP stack of your OS. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. --__--__-- Message: 7 Date: Tue, 9 May 2006 15:29:13 -0700 (PDT) From: Nelson Serafica Reply-To: Nelson Serafica To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] how to use snmp --0-403542017-1147213753=:67644 Content-Type: text/plain; charset=us-ascii Does anyone configured monitoring remote server via snmp? i'm planning to use snmp to monitor remotely our server, can anyone give advice what is the good plugins and how do you do that? I cannot use NRPE because the server is production. We cannot installed any application not relevant to work. I check www.nagiosexchange.org, just asking any advice. By the way, how can I know if I can check it using snmp ???? i tried snmpwalk, is this enough? --0-403542017-1147213753=:67644 Content-Type: text/html; charset=us-ascii
Does anyone configured monitoring remote server via snmp? i'm planning to use snmp to monitor remotely our server, can anyone give advice what is the good plugins and how do you do that? I cannot use NRPE because the server is production. We cannot installed any application not relevant to work.

I check www.nagiosexchange.org, just asking any advice. By the way, how can I know if I can check it using snmp ???? i tried snmpwalk, is this enough?
--0-403542017-1147213753=:67644-- --__--__-- Message: 8 From: "Steve Shipway" To: "'Nagios Users Mailinglist'" Subject: RE: [Nagios-users] any way to specify source address for server? Date: Wed, 10 May 2006 10:45:45 +1200 Organization: University of Auckland > > I'd like to give my Nagios server a virtual IP address, so that if we > > want to migrate the monitoring service to another machine in the > > future, it'll be easy (just setup the new machine and give > it the same virtual IP). ... > This is a tricky issue. First of all I must assume you are > referring to the actions taken by the various checks. These > are in fact regulated by the individual plugins so there is > not a single way to solve this. I understand what you're trying to achieve - just set up a single ACL on your routers (for example) and have the Nagios service always query from this (virtual) IP, wherever it actually lives. For reasons stated before, this is almost impossible. The only way I can think of doing it is to set up a route definition on the Nagios host directing all traffic via the virtual IP, although that is rather messy. Here, we have Nagios on a virtual IP moving between two linux-ha hosts. NSCA listens to a port on the virtual IP. However, Nagios will query from the physical IP of whichever host it is on, so we have had to set up both physical IPs in the ACLs. I suppose you could set up a special subnet for your monitoring servers, and set your ACLs to allow that subnet. Or, if only certain checks (SNMP?) require this source IP, you might be able to modify the appropriate plugins to specify source route. However, it doesnt seem feasible to do it for all the plugins. Steve --__--__-- Message: 9 Date: Tue, 9 May 2006 19:56:38 -0400 From: "kritikus Araklidas" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios ------=_Part_2207_7621658.1147218998067 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi everyone: I installed nagios with GD support, the installation was suscessfull (the nagios configure command reconize the GD library). Every single option work= s fine, but when i try to open Status MAP i got and internal error (error 500), i review it the apache error logs and i looks some cgi file cannot find the *libgd.so.2, *but in the installation process was reconized and the library is already in /usr/local/lib. The rest of the application works properly, only in some menus where gd is required the problem come. Any idea.......????? Regards. Cristian. * * ------=_Part_2207_7621658.1147218998067 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hi everyone:
 
I installed nagios with GD support, the installation was suscessfull (= the nagios configure command reconize the GD library). Every single option = works fine, but when i try to open Status MAP i got and internal error (err= or 500), i review it the apache error logs and i looks some cgi f= ile cannot find the   libgd.so.2, but in the installation process was = reconized and the library is already in /usr/local/lib. 
 
The rest of the application works properly, only in some menus where g= d is required the problem come.
 
Any idea.......?????
 
Regards.
 
Cristian.
 
------=_Part_2207_7621658.1147218998067-- --__--__-- Message: 10 Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Date: Tue, 9 May 2006 20:09:08 -0400 From: "Norman Harebottle" To: "kritikus Araklidas" , This is a multi-part message in MIME format. ------_=_NextPart_001_01C673C5.F51C11A7 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Is GD enabled in the php.ini file? =20 Norman ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of kritikus Araklidas Sent: Tuesday, May 09, 2006 7:57 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem on Nagios Hi everyone: =20 I installed nagios with GD support, the installation was suscessfull (the nagios configure command reconize the GD library). Every single option works fine, but when i try to open Status MAP i got and internal error (error 500), i review it the apache error logs and i looks some cgi file cannot find the libgd.so.2, but in the installation process was reconized and the library is already in /usr/local/lib.=20 =20 The rest of the application works properly, only in some menus where gd is required the problem come. =20 Any idea.......????? =20 Regards. =20 Cristian. =20 ------_=_NextPart_001_01C673C5.F51C11A7 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Is GD enabled in the php.ini = file?
 
Norman


From: = nagios-users-admin at lists.sourceforge.net=20 [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of = kritikus=20 Araklidas
Sent: Tuesday, May 09, 2006 7:57 PM
To:=20 nagios-users at lists.sourceforge.net
Subject: [Nagios-users] = Status MAP=20 (libgd.so.2 problem) generation problem on Nagios

Hi everyone:
 
I installed nagios with GD support, the installation was = suscessfull (the=20 nagios configure command reconize the GD library). Every single option = works=20 fine, but when i try to open Status MAP i got and internal error (error=20 500), i review it the apache error logs and i looks some cgi = file=20 cannot find the   libgd.so.2, but in=20 the installation process was reconized and the library = is already=20 in /usr/local/lib. 
 
The rest of the application works properly, only in some menus = where gd is=20 required the problem come.
 
Any idea.......?????
 
Regards.
 
Cristian.
 
------_=_NextPart_001_01C673C5.F51C11A7-- --__--__-- Message: 11 Subject: RE: [Nagios-users] SMS Text Message help Date: Tue, 9 May 2006 20:13:42 -0400 From: "Morris, Patrick" To: "Peter Shankland" , Does sms_client work as a pipe? If you just want to use the command at the top of your message... Well, do that. :) Something like this: command_line /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Peter Shankland Sent: Tuesday, May 09, 2006 8:21 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS Text Message help I am successfully using the software from smsclient.org to send text messages to mobile phones manually using the following command: sms_client vodafone_tap:1234567890 "Message Text" This work brilliantly but I have tried to integrate this into Nagios with no success :( I have created the following notification command within my misccommands.cfg file: # 'host-notify-by-sms' command definition define command{ command_name host-notify-by-sms command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/sms_client vodafone_tap:$CONTACTADDRESS1$ } I have then got the following within my contacts.cfg file: define contact{ contact_name 1533 alias Peter Shankland service_notification_period 24x7 host_notification_period 24x7 service_notification_options w,u,c,r host_notification_options d,r service_notification_commands notify-by-email host_notification_commands host-notify-by-email,host-notify-by-sms email peter.shankland at ricoh-rpl.com address1 447977906721 } Finally, this gets called within one of my hosts. I get the following within my syslog messages: May 9 09:51:51 RPL-RENAULT nagios: HOST ALERT: CISCO1200_RPL1-MO-1;UP;HARD;1;PING OK - Packet loss =3D 0%, RTA =3D 0.60 = ms May 9 09:51:51 RPL-RENAULT nagios: HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =3D 0%, RTA =3D 0.60 ms May 9 09:51:51 RPL-RENAULT nagios: HOST = NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = =3D 0%, RTA =3D 0.60 ms and the following within the Nagios Event Log: [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-email;PING OK - Packet loss = =3D 0%, RTA =3D 0.60 ms [09-05-2006 09:51:51] HOST NOTIFICATION: 1533;CISCO1200_RPL1-MO-1;UP;host-notify-by-sms;PING OK - Packet loss =3D 0%, RTA =3D 0.60 ms Everything appears to be working but I get no SMS text message. Am I doing something obviously wrong as I simply want to run the command at the top of this Email. Thanks. Pete. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D120709&bid=3D263057&dat= 3D= 121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 12 Date: Tue, 9 May 2006 19:21:03 -0500 (CDT) From: Paul Archer To: "'Nagios Users Mailinglist'" Subject: RE: [Nagios-users] any way to specify source address for server? Thanks for the responses. I hadn't thought about the scope of the problem (ie that each plugin would potentially need to be modified). I think the scope could be somewhat contained by just modifying check_nrpe; that's the only plugin that relies on the client allowing a certain IP address. Right now, I think I'll just not worry about it too much, and change the nrpe.conf configuration on the clients when/if we have to. Paul On Wed, 10 May 2006, Steve Shipway wrote: >>> I'd like to give my Nagios server a virtual IP address, so that if we >>> want to migrate the monitoring service to another machine in the >>> future, it'll be easy (just setup the new machine and give >> it the same virtual IP). > ... >> This is a tricky issue. First of all I must assume you are >> referring to the actions taken by the various checks. These >> are in fact regulated by the individual plugins so there is >> not a single way to solve this. > > I understand what you're trying to achieve - just set up a single ACL on > your routers (for example) and have the Nagios service always query from > this (virtual) IP, wherever it actually lives. > > For reasons stated before, this is almost impossible. The only way I can > think of doing it is to set up a route definition on the Nagios host > directing all traffic via the virtual IP, although that is rather messy. > > Here, we have Nagios on a virtual IP moving between two linux-ha hosts. > NSCA listens to a port on the virtual IP. However, Nagios will query from > the physical IP of whichever host it is on, so we have had to set up both > physical IPs in the ACLs. > > I suppose you could set up a special subnet for your monitoring servers, and > set your ACLs to allow that subnet. Or, if only certain checks (SNMP?) > require this source IP, you might be able to modify the appropriate plugins > to specify source route. However, it doesnt seem feasible to do it for all > the plugins. > > Steve > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- ---------- # pwd /loony/bin ---------- --__--__-- Message: 13 Date: Tue, 9 May 2006 19:38:09 -0500 (CDT) From: Paul Archer To: Nelson Serafica cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] how to use snmp I can't give you any advice one way or the other on SNMP; however, you might want to look at the alternative of using ssh for monitoring. Setup a 'nagios' user on the client with appropriate ssh keys on the server. Use forced commands in 'authorized_keys' for safety, and have the Nagios server log into the client to check what it needs to check. It's probably no harder than setting up SNMP (much easier if you're not familiar with SNMP to begin with), and it's more secure. Paul On Tue, 9 May 2006, Nelson Serafica wrote: > Does anyone configured monitoring remote server via snmp? i'm planning to use snmp to monitor remotely our server, can anyone give advice what is the good plugins and how do you do that? I cannot use NRPE because the server is production. We cannot installed any application not relevant to work. > > I check www.nagiosexchange.org, just asking any advice. By the way, how can I know if I can check it using snmp ???? i tried snmpwalk, is this enough? > -- ---------- # pwd /loony/bin ---------- --__--__-- Message: 14 Date: Tue, 9 May 2006 21:25:42 -0400 From: "Michael Radzicki" To: Subject: [Nagios-users] Problem running .configure with version 1.4.2 of nagios-plugins... Hello again list users.=20 I have a problem when I run the .configure command with version of = nagios plugins. This is the string I am using to run the configure = script: ./configure --prefix=3D/usr/local/nagios --with-nagios-user=3Dnagios = --with-nagios-group=3Dnagios --with-cgiurl=3D/nagios/cgi-bin = --with-mysql=3D/opt/mysql/mysql When I run this script, I see the following: checking for mysql_init in -lmysqlclient... no checking for mysql_close in -lmysqlclient... no configure: WARNING: Skipping mysql plugin Needless to say, when I run make all, the check_mysql plugin doesn't = get included. I have MySQL 5.0.18 installed in /opt/mysql/mysql. Any = ideas how I can get around this problem? Thanks in advance.=20 Mike R --__--__-- Message: 15 From: Daniel.Tardy at canson.fr To: nagios-users at lists.sourceforge.net Date: Wed, 10 May 2006 04:00:15 +0200 Subject: [Nagios-users] Daniel TARDY est absent jusqu'au 15 Mai Je serai absent(e) du 09/05/2006 au 15/05/2006. Vous pouvez joindre Christelle LAVAL au 04 75 69 87 21 St=E9phane REVOL au 04 75 69 87 07 C=E9dric BERT au 04 75 69 88 25 Eric GRIENAY au 04 75 69 88 70 En cas d'urgence uniquement, utilisez le 06 80 94 96 87. Merci. = --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 02:04:04 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 9 May 2006 20:04:04 -0400 Subject: How to reset status? Message-ID: When was the last check done? Have checks maybe been disabled? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael Radzicki Sent: Tuesday, May 09, 2006 5:45 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] How to reset status? Hello list users. Maybe one of you can help me with this question. I defined a very simple check_http command as listed below: define command{ command_name check_qa_http command_line $USER1$/check_http -H $HOSTADDRESS$ -S } The matching entry in the services.cfg file is: define service{ use generic-service host_name qa.myhost.com service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_qa_http } And in the hosts.cfg file, the entry that defines qa.myhost.com is: define host{ host_name qa.myhost.com alias qa.myhost.com address 172.x.x.x check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r contact_groups admins } Now my problem. About 10 days ago we took this server that hosts qa.myhost.com offline to do some maintenance. I never told nagios to ignore the warnings or errors that the monitor for qa.myhost.com was throwing. After two days of showing that qa.myhost.com was "critical", the server came back on line, but nagios still shows the monitor for qa.myhost.com as being "critical". If I run the check_http command from the command line, it comes back fine. [root at eqnymon01:/usr/local/nagios/libexec:93]$ ./check_http -H qa.myhost.com -S HTTP OK HTTP/1.1 200 OK - 5160 bytes in 0.053 seconds |time=0.053020s;;;0.000000 size=5160B;;;0 So if this command comes back OK, why does nagios still read "critical", and how can I reset nagios? Starting and stopping the nagios process didn't do it. Can someone please help? Thanks. Mike R -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Wed May 10 08:02:02 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 10 May 2006 08:02:02 +0200 (CEST) Subject: Problem running .configure with version 1.4.2 of nagios-plugins... In-Reply-To: References: Message-ID: On Tue, 9 May 2006, Michael Radzicki wrote: > checking for mysql_init in -lmysqlclient... no > checking for mysql_close in -lmysqlclient... no > configure: WARNING: Skipping mysql plugin It seems you do not have a mysql development environment. Please refer to the mysql installation instructions on how to setup mysql for this. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Wed May 10 10:40:15 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 10 May 2006 10:40:15 +0200 Subject: Check Printer QUEUE on Windows w2k /2003 Message-ID: Hi friends Using OS: CRUX 2.2 NAGIOS 2.3 NAGIOS-PLUGINS 1.4.3 I looking for a method to check the printer queue on Windows server (like if more than 10 jobs i queue then warning or critical) I tried the snmp check /usr/local/nagios/libexec/check_snmp_win.pl (very good) but i can just test the "Service" Spooler. I looked att nagiosexchange.org and on google. NADA Anyone who has a clue how i can do this with SNMP or with NRPE ? I apreciate all answers Thanks /J?rg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 10010 bytes Desc: not available URL: From Stefan.Giesen at firstgate.de Wed May 10 11:05:46 2006 From: Stefan.Giesen at firstgate.de (Stefan Giesen) Date: Wed, 10 May 2006 11:05:46 +0200 Subject: SMS Text Message help In-Reply-To: References: Message-ID: <4461ACEA.8000403@firstgate.de> Peter Shankland schrieb: > Have tried various solutions like this - the one I used was from > sms2email.com. The problem with all of these products is that they go from > Email to SMS.... what happens if your Email fails? > > I have actually managed to get this smsclient.org solution working by > changing the timeout of the notifications within nagios.cfg We're using http://www.end2endmobile.com/ to send SMS via an automated web interface (we programmed a custom nagios alert script to use this interface). After some difficulties in the beginning, it's working flawless since a few years now (and it's fast, we only had a problem with late SMS with a single phone provider once). If their web interface of them isn't reachable, we're getting an email from the alert script (better than nothing and this didn't happen till now). Maybe we'll improve this later on to use our phone providers email2sms gateways, just to be sure. Cheers, Stefan Dislaimer: The views and opinions expressed in this mail are strictly my private ones. They do not necessarily reflect the views or policy of the company I'm working for. -- Stefan Giesen, Systemadministration Frankfurt FIRSTGATE AG, Im MediaPark 5, 50670 Koeln Telefon: +49 (0) 2 21 / 45 45-745, Telefax: +49 (0) 2 21 / 45 45-710 Internet: www.firstgate.de eMail: Stefan.Giesen at firstgate.de ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sandeep-n-murthy at telecom.pt Wed May 10 12:42:49 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Wed, 10 May 2006 11:42:49 +0100 Subject: Check_load Message-ID: Hello, Can anyone please provide a brief idea on how check_load works and on the data it provides. The data provided is in the format load average: 1.62, 1.67, 1.74, which doesn't make a lot of sense. I googled on this and ended up getting even more confused. The reason behind my question is that we are also using CACTI for monitoring the systems and it shows a 100% CPU load since last night while Nagios didn't raise any alarm at all. I have to find out whether it was a false alarm or there is a problem with my Nagios setup .. Thanks a lot in adv, sg -------------- next part -------------- An HTML attachment was scrubbed... URL: From deballing at vassar.edu Wed May 10 12:51:32 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Wed, 10 May 2006 06:51:32 -0400 Subject: Check_load In-Reply-To: References: Message-ID: <8B54E222-0A61-4E56-A894-CC5840CA43AD@vassar.edu> On May 10, 2006, at 6:42 AM, Sandeep Narasimha Murthy wrote: > Can anyone please provide a brief idea on how check_load works and > on the data it provides. The data provided is in the format load > average: 1.62, 1.67, 1.74, which doesn?t make a lot of sense. I > googled on this and ended up getting even more confused. "load average" is the number of processes (average) in the wait state over a given period of time. For most UNIX machines, the periods are usually 1, 5 and 15 minutes. (e.g., in your example, in the past minute an average of 1.62 machines were waiting for a CPU, in the past five minutes, 1.67, and in the past 15 minutes, 1.74). In the example you give, it would appear your machine is catching up, as the short-term averages are lower than the long-term averages, but it all depends on your applications that are running, what cycles they demand CPU on, etc., etc. > The reason behind my question is that we are also using CACTI for > monitoring the systems and it shows a 100% CPU load since last > night while Nagios didn?t raise any alarm at all. I have to find > out whether it was a false alarm or there is a problem with my > Nagios setup .. It's confusing to refer to "100% CPU load" since load isn't measured in percentage (at least not in this case, not usually). Referring to it as 100% CPU usage, or utilization, might be better. For example, it's possible to have a CPU load of "0" and usage of 100%. How? If I've only got one process making use of CPU cycles, and it's getting 100% of the CPU. If there's nothing else waiting for CPU, the "load" will not be high, even though the usage (from the single running process) will be. In other words, CPU usage isn't necessarily as important as load is, although it certainly can be a factor in determining the cause of Load (because processes which are waiting on Disk I/O, or swap, also contribute to load). Hope this helps. Cheers, D -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 217 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 bytes Desc: not available URL: From parcher at bcm.edu Wed May 10 14:38:02 2006 From: parcher at bcm.edu (Paul Archer) Date: Wed, 10 May 2006 07:38:02 -0500 (CDT) Subject: Check Printer QUEUE on Windows w2k /2003 In-Reply-To: References: Message-ID: This may not be the best way, but I'm pretty sure it'd work: Configure remote access for the printer on a Linux box, then query the Linux machine with an 'lpstat', and count how many jobs are waiting for that printer. Paul On Wed, 10 May 2006, Jorg.Schulz at systeam.se wrote: > Hi friends > > Using OS: CRUX 2.2 > NAGIOS 2.3 > NAGIOS-PLUGINS 1.4.3 > > I looking for a method to check the printer queue on Windows server (like > if more than 10 jobs i queue then warning or critical) > I tried the snmp check /usr/local/nagios/libexec/check_snmp_win.pl (very > good) but i can just test the "Service" Spooler. > I looked att nagiosexchange.org and on google. NADA > Anyone who has a clue how i can do this with SNMP or with NRPE ? > I apreciate all answers > > Thanks > > /J?rg > > -- ---------- # pwd /loony/bin ---------- From mtiernan at draper.com Wed May 10 15:34:39 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Wed, 10 May 2006 09:34:39 -0400 Subject: Question about time definitions. Message-ID: I've not found this mentioned. (A nickel says that as soon as I hit "Send" I'll find it.) Can you define a timeperiod with two names? (Nagios 2 & RHEL-4) Example: define timeperiod { timeperiod_name 24x7,anytime timeperiod_alias Whenever, it's important! 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 } ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtiernan at draper.com Wed May 10 15:42:50 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Wed, 10 May 2006 09:42:50 -0400 Subject: Check_load Message-ID: On Behalf Of Derek J. Balling Sent: Wednesday, May 10, 2006 6:52 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_load > "load average" is the number of processes (average) in the > wait state over a given period of time. Actually, it's the number of processes available to be run, that includes those running. (i.e. the Run queue). A 20 processor machine with one job per processor and each processor "running at 100%" is a load of 20 where the same machine, with the same 20 jobs running *and* 10 jobs waiting to run has a load of 30. And as Mr Balling rightfully said, it's averaged over 1min, 5min, 15mins by the OS itself. Now, this is what I've found on Solaris machines and Red Hat Linux machines along with the SGI machines I wrangle. It *is* possible that some other OS defines it differently. (a.k.a. "Never say Never.") -- << MCT >> Michael C Tiernan UNIX Systems Admin II Charles Stark Draper Lab., Inc. 555 Technology Square/MS #33 Cambridge, MA 02139 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Radzicki at equilend.com Wed May 10 15:54:37 2006 From: Michael.Radzicki at equilend.com (Michael Radzicki) Date: Wed, 10 May 2006 09:54:37 -0400 Subject: One more question... Message-ID: Hello again list users. You guys and gals are 2 for 2 on my questions over the last couple of days, so I figured I would try one more time. I am using the nagios-plugins-1.4.3 and I run configure with these options: ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with-nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with-mysql=/opt/mysql/mysql I do not receive any errors when the configure script runs. However when I run make, I get the following error when make attempts to compile the check_mysql plugin: if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/local/ssl/include -I/opt/mysql/mysql/include -I/usr/local/ssl/include -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v8 -g -O2 -MT check_mysql-check_mysql.o -MD -MP -MF ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o `test -f 'check_mysql.c' || echo './'`check_mysql.c; \ then mv -f ".deps/check_mysql-check_mysql.Tpo" ".deps/check_mysql-check_mysql.Po"; else rm -f ".deps/check_mysql-check_mysql.Tpo"; exit 1; fi gcc: language arch=v8 not recognized gcc: check_mysql.c: linker input file unused because linking not done mv: cannot access .deps/check_mysql-check_mysql.Tpo make[3]: *** [check_mysql-check_mysql.o] Error 2 I am running on Solaris 8, if that is any help. Thanks in advance. Mike R -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeep-n-murthy at telecom.pt Wed May 10 16:07:40 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Wed, 10 May 2006 15:07:40 +0100 Subject: Check_load Message-ID: Thanks Derek for your explanation. I still have some doubts and appreciate some clarification: 1.The server in question has 2 CPUs. When Nagios invokes check_load, does it monitor both the CPUs and reports the combined load average ? 2. What are the CRITICAL, WARNING and OK thresholds for Load Average ? I mean when does it launch a Critical state ? Thnx again, Sg ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Derek J. Balling Sent: quarta-feira, 10 de Maio de 2006 11:52 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_load On May 10, 2006, at 6:42 AM, Sandeep Narasimha Murthy wrote: Can anyone please provide a brief idea on how check_load works and on the data it provides. The data provided is in the format load average: 1.62, 1.67, 1.74, which doesn't make a lot of sense. I googled on this and ended up getting even more confused. "load average" is the number of processes (average) in the wait state over a given period of time. For most UNIX machines, the periods are usually 1, 5 and 15 minutes. (e.g., in your example, in the past minute an average of 1.62 machines were waiting for a CPU, in the past five minutes, 1.67, and in the past 15 minutes, 1.74). In the example you give, it would appear your machine is catching up, as the short-term averages are lower than the long-term averages, but it all depends on your applications that are running, what cycles they demand CPU on, etc., etc. The reason behind my question is that we are also using CACTI for monitoring the systems and it shows a 100% CPU load since last night while Nagios didn't raise any alarm at all. I have to find out whether it was a false alarm or there is a problem with my Nagios setup .. It's confusing to refer to "100% CPU load" since load isn't measured in percentage (at least not in this case, not usually). Referring to it as 100% CPU usage, or utilization, might be better. For example, it's possible to have a CPU load of "0" and usage of 100%. How? If I've only got one process making use of CPU cycles, and it's getting 100% of the CPU. If there's nothing else waiting for CPU, the "load" will not be high, even though the usage (from the single running process) will be. In other words, CPU usage isn't necessarily as important as load is, although it certainly can be a factor in determining the cause of Load (because processes which are waiting on Disk I/O, or swap, also contribute to load). Hope this helps. Cheers, D -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 217 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- An HTML attachment was scrubbed... URL: From parcher at bcm.edu Wed May 10 16:15:12 2006 From: parcher at bcm.edu (Paul Archer) Date: Wed, 10 May 2006 09:15:12 -0500 (CDT) Subject: One more question... In-Reply-To: References: Message-ID: On Wed, 10 May 2006, Michael Radzicki wrote: > I do not receive any errors when the configure script runs. However when > I run make, I get the following error when make attempts to compile the > check_mysql plugin: > > > > if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H > -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/local/ssl/include > -I/opt/mysql/mysql/include -I/usr/local/ssl/include > -I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v8 -g -O2 -MT > check_mysql-check_mysql.o -MD -MP -MF > ".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o > `test -f 'check_mysql.c' || echo './'`check_mysql.c; \ > > then mv -f ".deps/check_mysql-check_mysql.Tpo" > ".deps/check_mysql-check_mysql.Po"; else rm -f > ".deps/check_mysql-check_mysql.Tpo"; exit 1; fi > > > > gcc: language arch=v8 not recognized > Dunno if this is the root cause, or just a symptom, but v8 refers to the 32-bit SPARC chips. Virtually every Sun machine in use today is 64-bit, which is SPARC v9 (eg /platform/SUNW,Sun-Blade-100/kernel/drv/sparcv9). I'd suggest rechecking the output of your configure command to make sure there isn't anything that looks out of place. Paul > gcc: check_mysql.c: linker input file unused because linking not done > > mv: cannot access .deps/check_mysql-check_mysql.Tpo > > make[3]: *** [check_mysql-check_mysql.o] Error 2 > > > > I am running on Solaris 8, if that is any help. Thanks in advance. > > > > Mike R > > -- ---------- # pwd /loony/bin ---------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From deballing at vassar.edu Wed May 10 16:19:01 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Wed, 10 May 2006 10:19:01 -0400 Subject: Check_load In-Reply-To: References: Message-ID: On May 10, 2006, at 10:07 AM, Sandeep Narasimha Murthy wrote: > 1.The server in question has 2 CPUs. When Nagios invokes > check_load, does it monitor both the CPUs and reports the combined > load average ? There is only one load average. Load Average is the number of processes in the wait state. They might be there because CPUs are all in use, they might be there because they're blocking on I/O, or swap, or any of a number of other things. Certainly CPU blocking is the most commonly encountered reason a process might be wait, but by far not the only reason. > 2. What are the CRITICAL, WARNING and OK thresholds for Load > Average ? I mean when does it launch a Critical state ? I think that's based on the arguments you pass to check_load IIRC. I know in my environment, we don't even want to know about it til the load average gets around 15 on the 5-minute or 15-minute averages (spikes on the 1-minute average we don't care about, we know they happen, it's only an issue for us if they persist). Your mileage will definitely vary on that, based on your own situation. Cheers, D -- Derek J. Balling Systems Administrator Vassar College 124 Raymond Ave Box 13 - Computer Center 217 Poughkeepsie, NY 12604 (845) 437-7231 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 bytes Desc: not available URL: From marc at ena.com Wed May 10 16:22:44 2006 From: marc at ena.com (Marc Powell) Date: Wed, 10 May 2006 09:22:44 -0500 Subject: Status MAP (libgd.so.2 problem) generation problem on Nagios Message-ID: The CGI's don't use PHP. OP: Try adding /usr/local/lib to /etc/ld.so.conf and run 'ldconfig'. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Norman Harebottle > Sent: Tuesday, May 09, 2006 7:09 PM > To: kritikus Araklidas; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) generation > problem on Nagios > > Is GD enabled in the php.ini file? > > Norman > > ________________________________ > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of kritikus Araklidas > Sent: Tuesday, May 09, 2006 7:57 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation problem > on Nagios > > > Hi everyone: > > I installed nagios with GD support, the installation was suscessfull (the > nagios configure command reconize the GD library). Every single option > works fine, but when i try to open Status MAP i got and internal error > (error 500), i review it the apache error logs and i looks some cgi file > cannot find the libgd.so.2, but in the installation process was > reconized and the library is already in /usr/local/lib. > > The rest of the application works properly, only in some menus where gd is > required the problem come. > > Any idea.......????? > > Regards. > > Cristian. > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tom at ng23.net Wed May 10 16:31:09 2006 From: tom at ng23.net (Tom Brown) Date: Wed, 10 May 2006 15:31:09 +0100 Subject: Status MAP (libgd.so.2 problem) generation problem on Nagios In-Reply-To: References: Message-ID: <4461F92D.7060707@ng23.net> restart apache? > The CGI's don't use PHP. > > OP: Try adding /usr/local/lib to /etc/ld.so.conf and run 'ldconfig'. > > -- > Marc > >> -----Original Message----- >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of Norman Harebottle >> Sent: Tuesday, May 09, 2006 7:09 PM >> To: kritikus Araklidas; nagios-users at lists.sourceforge.net >> Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) generation >> problem on Nagios >> >> Is GD enabled in the php.ini file? >> >> Norman >> >> ________________________________ >> >> From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- >> admin at lists.sourceforge.net] On Behalf Of kritikus Araklidas >> Sent: Tuesday, May 09, 2006 7:57 PM >> To: nagios-users at lists.sourceforge.net >> Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation > problem >> on Nagios >> >> >> Hi everyone: >> >> I installed nagios with GD support, the installation was suscessfull > (the >> nagios configure command reconize the GD library). Every single option >> works fine, but when i try to open Status MAP i got and internal error >> (error 500), i review it the apache error logs and i looks some cgi > file >> cannot find the libgd.so.2, but in the installation process was >> reconized and the library is already in /usr/local/lib. >> >> The rest of the application works properly, only in some menus where > gd is >> required the problem come. >> >> Any idea.......????? >> >> Regards. >> >> Cristian. >> > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 16:33:12 2006 From: marc at ena.com (Marc Powell) Date: Wed, 10 May 2006 09:33:12 -0500 Subject: Problem running .configure with version 1.4.2 of nagios-plugins... Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Michael Radzicki > Sent: Tuesday, May 09, 2006 8:26 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problem running .configure with version 1.4.2 of > nagios-plugins... > > Hello again list users. > > I have a problem when I run the .configure command with version of nagios > plugins. This is the string I am using to run the configure script: > > ./configure --prefix=/usr/local/nagios --with-nagios-user=nagios --with- > nagios-group=nagios --with-cgiurl=/nagios/cgi-bin --with- > mysql=/opt/mysql/mysql > > > When I run this script, I see the following: > > checking for mysql_init in -lmysqlclient... no > checking for mysql_close in -lmysqlclient... no > configure: WARNING: Skipping mysql plugin > > Needless to say, when I run make all, the check_mysql plugin doesn't get > included. I have MySQL 5.0.18 installed in /opt/mysql/mysql. Any ideas > how I can get around this problem? Thanks in advance. Do you have the mysql development libraries installed? If you do, you may need to specify the path to mysql_config. From the REQUIREMENTS file -- check_mysql, check_mysql_query: - Requires the MySQL libraries available from http://www.mysql.org Lib: libmysql, libmysqlclient Redhat Powertools Source: mysql-3.20.32a-3.i386.rpm, mysql-devel-3.20.32a-3.i386.rpm (these seem to be broken, however) RPMS from www.mysql.org work better Must have mysql_config in PATH or specified with --with-mysql=DIR for DIR/bin/mysql_config -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From james at lovedthanlost.net Wed May 10 16:44:29 2006 From: james at lovedthanlost.net (James Turnbull) Date: Thu, 11 May 2006 00:44:29 +1000 Subject: Pro Nagios 2.0 Message-ID: <4461FC4D.8000305@lovedthanlost.net> Just letting the group know that my new book, Pro Nagios 2.0, has been released through Apress. The book details installation, configuration, monitoring, redundancy/fail over and integration of Nagios with tools like syslog, SNMP and others. I also want to thank the many people on this list who provide excellent advice and feedback to new and seasoned users. That advice and feedback also contributed greatly to the content and structure of the book. I'd welcome any feedback or errata on the book and I hope it is of use to the Nagios community. Kind Regards James Turnbull -- James Turnbull --- Author of Pro Nagios 2.0 (http://www.amazon.com/gp/product/1590596099/) Hardening Linux (http://www.amazon.com/gp/product/1590594444/) --- PGP Key (http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x0C42DF40) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf at m-wise.com Wed May 10 17:01:41 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Wed, 10 May 2006 18:01:41 +0300 Subject: Question about time definitions. In-Reply-To: References: Message-ID: <44620055.7020701@m-wise.com> from what i read in the documentations the time definitions is just like a host definition , as in it can only have one name and an alias but not two names . *timeperiod_name*: This directives is the short name used to identify the time period. * alias*: This directive is a longer name or description used to identify the time period. */ some/day*: The /sunday/ through /saturday/ directives are comma-delimited lists of time ranges that are "valid" times for a particular day of the week. Notice that there are seven different days for which you can define time ranges (Sunday through Saturday). Each time range is in the form of *HH:MM-HH:MM*, where hours are specified on a 24 hour clock. For example, *00:15-24:00* means 12:15am in the morning for this day until 12:20am midnight (a 23 hour, 45 minute total time range). If you wish to exclude an entire day from the timeperiod, simply do not include it in the timeperiod definition. Assaf Tiernan, Michael C. wrote: > I've not found this mentioned. (A nickel says that as soon as I hit > "Send" I'll find it.) > > Can you define a timeperiod with two names? > > (Nagios 2 & RHEL-4) > > Example: > > define timeperiod { > timeperiod_name 24x7,anytime > timeperiod_alias Whenever, it's important! > 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 > } > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Assaf Flatto Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bohara at gmail.com Wed May 10 17:05:20 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 10 May 2006 16:05:20 +0100 Subject: Question about time definitions. In-Reply-To: References: Message-ID: <2b36e660605100805nb267657jcf0027f1981a3e8a@mail.gmail.com> On 5/10/06, Tiernan, Michael C. wrote: > > I've not found this mentioned. (A nickel says that as soon as I hit > "Send" I'll find it.) > > Can you define a timeperiod with two names? > > (Nagios 2 & RHEL-4) > > Example: > > define timeperiod { > timeperiod_name 24x7,anytime > timeperiod_alias Whenever, it's important! > 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 > } AFAIK no, but you can define two timeperiods the same such as define timeperiod { timeperiod_name 24x7 timeperiod_alias Whenever, it's important! 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 } define timeperiod { timeperiod_name anytime timeperiod_alias Whenever, it's important! 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 } Although what would this achieve? Why not just use the one? Ben -- "A Scientist will earn a living by taking a really difficult problem and spends many years solving it, an engineer earns a living by finding really difficult problems and side stepping them" -------------- next part -------------- An HTML attachment was scrubbed... URL: From sandeep-n-murthy at telecom.pt Wed May 10 17:26:22 2006 From: sandeep-n-murthy at telecom.pt (Sandeep Narasimha Murthy) Date: Wed, 10 May 2006 16:26:22 +0100 Subject: Check_load Message-ID: Hi, So, does load average: 0.35, 0.47, 0.53, mean there are only 0.53 jobs running and waiting over the last 15 minutes ? executing TOP in the shell shows me atleast 15 different processes.. If at the same time, the CPU Usage is 100%, what does this mean ? 0.53 jobs is consuming 100% of the CPU ? It appears, that I am posing questions beyond the context of Nagios so I will stop here :) appreciate though any more clarifications.. Regards, sg -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tiernan, Michael C. Sent: quarta-feira, 10 de Maio de 2006 14:43 To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Check_load On Behalf Of Derek J. Balling Sent: Wednesday, May 10, 2006 6:52 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Check_load > "load average" is the number of processes (average) in the > wait state over a given period of time. Actually, it's the number of processes available to be run, that includes those running. (i.e. the Run queue). A 20 processor machine with one job per processor and each processor "running at 100%" is a load of 20 where the same machine, with the same 20 jobs running *and* 10 jobs waiting to run has a load of 30. And as Mr Balling rightfully said, it's averaged over 1min, 5min, 15mins by the OS itself. Now, this is what I've found on Solaris machines and Red Hat Linux machines along with the SGI machines I wrangle. It *is* possible that some other OS defines it differently. (a.k.a. "Never say Never.") -- << MCT >> Michael C Tiernan UNIX Systems Admin II Charles Stark Draper Lab., Inc. 555 Technology Square/MS #33 Cambridge, MA 02139 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mkoponick at redhawk.info Wed May 10 17:33:48 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Wed, 10 May 2006 08:33:48 -0700 Subject: Perfomance Data via NDO? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD443FF9E@raptor.redhawk.info> Patrick, Thanks for the tip, but I went that route before and didn't see the performance data. When I look at the logs, I see the output, but nothing beyond the "|" If I use the commands manually (the SNMP check command) I see the data. When I look at the logs, I see the output, but nothing beyond the "|" . Here is a little info: Checkcommands.cfg: define command { command_name submit_check_result command_line $USER1$/submit_check_result $HOSTNAME$ '$SERVICEDESC$' '$SERVICESTATE$' '$SERVICEOUTPUT$' '$SERVICEPERFDATA$' } Submit_check_result: #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=3 ;; esac /usr/bin/printf "%s\t%s\t%s\t%s|%s\n" "$1" "$2" "$return_code" "$4" "$5" | /usr/local/nagios/libexec/send_nsca -H -to 15 -c /usr/local/nagios/etc/send_nsca.cfg Thanks in advance for your help. Mike -----Original Message----- From: Morris, Patrick [mailto:patrick.morris at hp.com] Sent: Wednesday, May 03, 2006 9:01 AM To: Mike Koponick; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Perfomance Data via NDO? You'll need to pass the $SERVICEPERFDATA$ variable into the submission script as well. I tweaked my nsca submission command to include $SERVICEPERFDATA$ in the command configuration, then changed the prontf line in the submission script like this: /usr/bin/printf "%s\t%s\t%s\t%s|%s\n" "$1" "$2" "$return_code" "$4" "$5" | /usr/local/nagios/libexec/send_nsca -H -to 15 -c /usr/local/nagios/etc/send_nsca.cfg ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Tuesday, May 02, 2006 2:50 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Perfomance Data via NDO? I might be closer to answer my own question, but I think this is a "submit_check_result" issue, rather than NDO issue. Looking through the NDO source code, I see where it has the ability to write to the perfdata column. I think the problem lies within the "submit_check_results" command. It doesn't really send the performance data, but rather drops it. Here is my output: ./check_snmp_int -H 10.1.1.1 -C public -n -f em1:UP, em0:UP, exp0:UP:3 UP: OK | 'em1_in_octet'=381357882c 'em1_out_octet'=1161492429c 'em0_in_octet'=1464302566c 'em0_out_octet'=550763402c 'exp0_in_octet'=70379851c 'exp0_out_octet'=56255289c I think it has to do with the single quotes and the "|" (pipe) . I by far am no programmer. My submit_check_result is the typical one that comes with Nagios. Here it is: #!/bin/sh # Arguments: # $1 = host_name (Short name of host that the service is # associated with) # $2 = svc_description (Description of the service) # $3 = state_string (A string representing the status of # the given service - "OK", "WARNING", "CRITICAL" # or "UNKNOWN") # $4 = plugin_output (A text string that should be used # as the plugin output for the service checks) # # Convert the state string to the corresponding return code return_code=-1 case "$3" in OK) return_code=0 ;; WARNING) return_code=1 ;; CRITICAL) return_code=2 ;; UNKNOWN) return_code=3 ;; esac /usr/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /usr/local/nagios/libexec/send_nsca -H -to 15 -c /usr/local/nagios/etc/send_nsca.cfg Thoughts? Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Mike Koponick Sent: Tuesday, May 02, 2006 10:41 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Perfomance Data via NDO? Hello Everyone, For some odd reason, I have it in my head that you can write performance data into the NDO tables via a service check command. I have looked at PerfParse, but quite frankly, adding on, yet another add-on seems like more work than it should be. I'm looking for bandwidth utilization type performance, uptime, interface errors, etc. I would like to write that the perfdata column for the ndo_servicestatus table. I can use the check_snmp check for the interface errors, and write the data. But I wonder if that's the correct direction. Am I off base here, or do I need another cup of coffee? Thanks in advance, Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From philc at foundation-it.com Wed May 10 17:46:37 2006 From: philc at foundation-it.com (Phil Costelloe) Date: Wed, 10 May 2006 16:46:37 +0100 Subject: Check_load Message-ID: Sandeep Narasimha Murthy wrote: > > So, does load average: 0.35, 0.47, 0.53, mean there are only 0.53 > jobs running and waiting over the last 15 minutes ? executing TOP in > the shell shows me at least 15 different processes.. The important distinction here is "running", i.e. actually on the CPU. The STAT column in top tells you whether a process is running (R) or sleeping (S) (amongst others) and you'll find most are sleeping at any given time. Phil ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtiernan at draper.com Wed May 10 17:49:26 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Wed, 10 May 2006 11:49:26 -0400 Subject: Check_load Message-ID: > -----Original Message----- > From: Sandeep Narasimha Murthy [mailto:sandeep-n-murthy at telecom.pt] > Sent: Wednesday, May 10, 2006 11:26 AM > To: Tiernan, Michael C.; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_load [...] > So, does load average: 0.35, 0.47, 0.53, mean there are only 0.53 jobs > running and waiting over the last 15 minutes ? executing TOP in the > shell shows me atleast 15 different processes.. Right but are they runnable? Also, remember, the execution time of these process, on the speedy processors we have today might be a jiffy or so and will hardly show up as running but contribute to the overall time that processes have been on the runnable queue. > If at the same time, the CPU Usage is 100%, what does this mean ? 0.53 > jobs is consuming 100% of the CPU? The "runnable" queue (used for load numbers) is defined as the number of jobs that could run "right now" if a processor was free to run them PLUS the ones that the processors are running now. As I remember, the percentage of CPU usage is measured by the amount of time that a job is not in the "runnable" queue but in the "running" position (or on a processor). > It appears, that I am posing questions beyond the context of > Nagios so I > will stop here :) appreciate though any more clarifications.. I agree and have to get back to work. Good luck! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From johan.corsini at guest.minfin.fed.be Wed May 10 17:51:49 2006 From: johan.corsini at guest.minfin.fed.be (Johan Corsini) Date: Wed, 10 May 2006 17:51:49 +0200 Subject: Check_load In-Reply-To: References: Message-ID: <200605101751.49353.johan.corsini@guest.minfin.fed.be> As far as I understand : In your example, it means that during the last 15 minutes, there was, at a said time, 0.53 processes using the cpu to do something, or waiting to be allowed to use the cpu. At this time, the other processes were not doing anything, nor waiting to do something. They were probably in idle mode, having really nothing to do... It is not because a process is in the "top" list that it is either using the cpu, or waiting for it. If I am wrong, please someone correct me. But we are indeed beyond the context of Nagios, so we should maybe continue this conversation out of the list. Johan Le Mercredi 10 Mai 2006 17:26, Sandeep Narasimha Murthy a ?crit?: > Hi, > > So, does load average: 0.35, 0.47, 0.53, mean there are only 0.53 jobs > running and waiting over the last 15 minutes ? executing TOP in the > shell shows me atleast 15 different processes.. > > If at the same time, the CPU Usage is 100%, what does this mean ? 0.53 > jobs is consuming 100% of the CPU ? > > It appears, that I am posing questions beyond the context of Nagios so I > will stop here :) appreciate though any more clarifications.. > > Regards, > > sg > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Tiernan, > Michael C. > Sent: quarta-feira, 10 de Maio de 2006 14:43 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Check_load > > On Behalf Of Derek J. Balling > Sent: Wednesday, May 10, 2006 6:52 AM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Check_load > > > "load average" is the number of processes (average) in the > > wait state over a given period of time. > > Actually, it's the number of processes available to be run, that > includes those running. (i.e. the Run queue). > > A 20 processor machine with one job per processor and each processor > "running at 100%" is a load of 20 where the same machine, with the same > 20 jobs running *and* 10 jobs waiting to run has a load of 30. > > And as Mr Balling rightfully said, it's averaged over 1min, 5min, 15mins > by the OS itself. > > Now, this is what I've found on Solaris machines and Red Hat Linux > machines along with the SGI machines I wrangle. It *is* possible that > some other OS defines it differently. > (a.k.a. "Never say Never.") ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AMeyer at precisionpractice.com Wed May 10 19:29:24 2006 From: AMeyer at precisionpractice.com (Andrew Meyer) Date: Wed, 10 May 2006 12:29:24 -0500 Subject: Nagios-users digest, Vol 1 #3165 - 8 msgs Message-ID: <94407F2CC32FE34F8A7D3CB61E31C7F4010131DC@ppmexch01.precisionpractice.com> What is wrong with this: # 'nt-admins' contact group definition define contactgroup{ contactgroup_name nt-admins alias NT Administrators members nagios,andrew } Andrew Meyer Unix Systems Analyst Precision Practice Management 1300 Hampton Ave. 314-787-0681 x39 314-565-0868 (cell) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ddunham at taos.com Wed May 10 20:05:46 2006 From: ddunham at taos.com (Darren Dunham) Date: Wed, 10 May 2006 11:05:46 -0700 (PDT) Subject: Check_load In-Reply-To: <8B54E222-0A61-4E56-A894-CC5840CA43AD@vassar.edu> from "Derek J. Balling" at May 10, 2006 06:51:32 AM References: <8B54E222-0A61-4E56-A894-CC5840CA43AD@vassar.edu> Message-ID: <200605101805.LAA08427@redwood.taos.com> > > The reason behind my question is that we are also using CACTI for =20 > > monitoring the systems and it shows a 100% CPU load since last =20 > > night while Nagios didn=92t raise any alarm at all. I have to find =20 > > out whether it was a false alarm or there is a problem with my =20 > > Nagios setup .. > It's confusing to refer to "100% CPU load" since load isn't measured =20 > in percentage (at least not in this case, not usually). Referring to =20 > it as 100% CPU usage, or utilization, might be better. > > For example, it's possible to have a CPU load of "0" and usage of =20 > 100%. How? If I've only got one process making use of CPU cycles, and =20= > > it's getting 100% of the CPU. If there's nothing else waiting for =20 > CPU, the "load" will not be high, even though the usage (from the =20 > single running process) will be. It may depend on the OS, but most that I'm familiar with don't calculate load from waiting processes and use the run queue. So even running processes contribute to the load. A host with a single CPU-bound job should tend to 100% CPU and a load average near 1.0. Whether that should be an "error" depends on the application. -- Darren Dunham ddunham at taos.com Senior Technical Consultant TAOS http://www.taos.com/ Got some Dr Pepper? San Francisco, CA bay area < This line left intentionally blank to confuse you. > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Wed May 10 20:07:37 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 10 May 2006 20:07:37 +0200 (CEST) Subject: Nagios-users digest, Vol 1 #3165 - 8 msgs In-Reply-To: <94407F2CC32FE34F8A7D3CB61E31C7F4010131DC@ppmexch01.precisionpractice.com> References: <94407F2CC32FE34F8A7D3CB61E31C7F4010131DC@ppmexch01.precisionpractice.com> Message-ID: On Wed, 10 May 2006, Andrew Meyer wrote: > What is wrong with this: > # 'nt-admins' contact group definition > define contactgroup{ > contactgroup_name nt-admins > alias NT Administrators > members nagios,andrew > } Nothing obvious to me. But I'm sure that .... - You got an error message that you did not mention. - You are not following up on an older thread yet using a reply. (This is bad for the threading indexes.) Not to mention the subject line makes no sense at all this way. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AMeyer at precisionpractice.com Wed May 10 21:30:49 2006 From: AMeyer at precisionpractice.com (Andrew Meyer) Date: Wed, 10 May 2006 14:30:49 -0500 Subject: Problems with nagios config Message-ID: <94407F2CC32FE34F8A7D3CB61E31C7F401013274@ppmexch01.precisionpractice.com> I seem to be getting this error everytime I try to test the config: Reading configuration data... Error: Could not find any host matching 'myorgDC01.mycompany.com' Error: Could not expand member hosts specified in hostgroup (config file '/usr/local/nagios/etc/hostgroups.cfg', starting on line 21) ***> One or more problems was encountered while processing the config files... Check your configuration file(s) to ensure that they contain valid directives and data defintions. If you are upgrading from a previous version of Nagios, you should be aware that some variables/definitions may have been removed or modified in this version. Make sure to read the HTML documentation regarding the config files, as well as the 'Whats New' section to find out what has changed. Andrew Meyer Unix Systems Analyst Precision Practice Management 1300 Hampton Ave. 314-787-0681 x39 314-565-0868 (cell) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 21:59:45 2006 From: marc at ena.com (Marc Powell) Date: Wed, 10 May 2006 14:59:45 -0500 Subject: Problems with nagios config Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Andrew Meyer > Sent: Wednesday, May 10, 2006 2:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Problems with nagios config > > I seem to be getting this error everytime I try to test the config: > > Reading configuration data... > > Error: Could not find any host matching 'myorgDC01.mycompany.com' > Error: Could not expand member hosts specified in hostgroup (config file > '/usr/local/nagios/etc/hostgroups.cfg', starting on line 21) > You have a host named 'myorgDC01.mycompany.com' specified as a member of a hostgroup (on line 21 of hostgroups.cfg) that doesn't have a corresponding host{} definition (and likely missing a service{} definition as well). Add them or remove the host from the hostgroup definition. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtiernan at draper.com Wed May 10 22:11:50 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Wed, 10 May 2006 16:11:50 -0400 Subject: About object definitions. Message-ID: Another question about definitions, did I miss something in the documentation? I'd like to define a host object: define host{ check_command check-host-alive max_check_attempts 1 check_period 24x7 contact_groups testadmins notification_interval 1 notification_period anytime notification_options d,u,r,f name unix_hosts } and then be able to use it: define host { host_name myhost alias big box address 10.0.0.0 use unix_hosts } but it complains about the original definition being blank/null. I know the object definition works right if I do this: define host{ host_name thatbox alias Bob's Linux Machine address 10.1.0.0 check_command check-host-alive max_check_attempts 1 check_period 24x7 contact_groups testadmins notification_interval 1 notification_period anytime notification_options d,u,r,f name unix_hosts } and then use 'unix_hosts" after that. Simplified, can I define unix_hosts without assigning a machine name to it? Thank you all. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 22:57:58 2006 From: marc at ena.com (Marc Powell) Date: Wed, 10 May 2006 15:57:58 -0500 Subject: About object definitions. Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Tiernan, Michael C. > Sent: Wednesday, May 10, 2006 3:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] About object definitions. > > Another question about definitions, did I miss something in the > documentation? > > I'd like to define a host object: > define host{ > check_command check-host-alive > max_check_attempts 1 > check_period 24x7 > contact_groups testadmins > notification_interval 1 > notification_period anytime > notification_options d,u,r,f > name unix_hosts > } > > and then be able to use it: > > define host { > host_name myhost > alias big box > address 10.0.0.0 > use unix_hosts > } > > but it complains about the original definition being blank/null. > > I know the object definition works right if I do this: > > define host{ > host_name thatbox > alias Bob's Linux Machine > address 10.1.0.0 > check_command check-host-alive > max_check_attempts 1 > check_period 24x7 > contact_groups testadmins > notification_interval 1 > notification_period anytime > notification_options d,u,r,f > name unix_hosts > } > > and then use 'unix_hosts" after that. > Simplified, can I define unix_hosts without assigning a machine name to > it? Yep. http://nagios.sourceforge.net/docs/2_0/templaterecursion.html. Add 'register 0' to your template object. "register [0/1] The third variable is register. This variable is used to indicate whether or not the object definition should be "registered" with Nagios. By default, all object definitions are registered. If you are using a partial object definition as a template, you would want to prevent it from being registered (an example of this is provided later). Values are as follows: 0 = do NOT register object definition, 1 = register object definition (this is the default). This variable is NOT inherited; every (partial) object definition used as a template must explicitly set the register directive to be 0. This prevents the need to override an inherited register directive with a value of 1 for every object that should be registered." ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtiernan at draper.com Wed May 10 23:08:20 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Wed, 10 May 2006 17:08:20 -0400 Subject: About object definitions. Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Marc Powell > Sent: Wednesday, May 10, 2006 4:58 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] About object definitions. > Yep. > http://nagios.sourceforge.net/docs/2_0/templaterecursion.html. Add > 'register 0' to your template object. Thank you! that's perfect! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 10 23:47:00 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 10 May 2006 14:47:00 -0700 Subject: One more question... In-Reply-To: References: Message-ID: <20060510214700.GR5247@hermes.americas.hpqcorp.net> The problem looks like it's that you're running Sun make with gcc, and that can occasionally cause strangeness with makefiles expecting GNU make. You're getting Sun compiler flags passed to gcc, and it's barfing on them. Using GNU make (which you may already have installed as "gmake") may give you better results. > On Wed, 10 May 2006, Michael Radzicki wrote: > > >I do not receive any errors when the configure script runs. However when > >I run make, I get the following error when make attempts to compile the > >check_mysql plugin: > > > > > > > >if gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H > >-I. -I. -I.. -I.. -I../lib -I../intl -I/usr/local/ssl/include > >-I/opt/mysql/mysql/include -I/usr/local/ssl/include > >-I/opt/mysql/mysql/include -xO3 -mt -D_FORTEC_ -xarch=v8 -g -O2 -MT > >check_mysql-check_mysql.o -MD -MP -MF > >".deps/check_mysql-check_mysql.Tpo" -c -o check_mysql-check_mysql.o > >`test -f 'check_mysql.c' || echo './'`check_mysql.c; \ > > > >then mv -f ".deps/check_mysql-check_mysql.Tpo" > >".deps/check_mysql-check_mysql.Po"; else rm -f > >".deps/check_mysql-check_mysql.Tpo"; exit 1; fi > > > > > > > >gcc: language arch=v8 not recognized ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From robert.binz at gmail.com Thu May 11 00:41:37 2006 From: robert.binz at gmail.com (Robert Binz) Date: Wed, 10 May 2006 15:41:37 -0700 Subject: Solaris 8 - plugins 1.4.3 compile error Message-ID: Good Day - I am getting hte following error while compileing the plugins 1.4.3 on Solaris 8 make[3]: Entering directory `/export/home/rbinz/nagios/nagios-plugins-1.4.3/plugins' /bin/bash ../libtool --mode=link --tag=CC gcc -Wall -g -O2 -L. -R/usr/local/ssl/lib -o check_disk check_disk.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a popen.o ../intl/libintl.a -lgen -lsocket -lssl -lcrypto gcc -Wall -g -O2 -o check_disk check_disk.o utils.o popen.o -L/export/home/rbinz/nagios/nagios-plugins-1.4.3/plugins ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a -lgen -lsocket -lssl -lcrypto -R/usr/local/ssl/lib ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to check_disk collect2: ld returned 1 exit status make[3]: *** [check_disk] Error 1 make[3]: Leaving directory `/export/home/rbinz/nagios/nagios-plugins-1.4.3/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/rbinz/nagios/nagios-plugins-1.4.3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/rbinz/nagios/nagios-plugins-1.4.3' make: *** [all] Error 2 I found in the archives a reference to a simular issue refering back to trying a new snapshot. So I went and got nagios-plugins-HEAD-200605081152 did a "make all" and I get the same error but on a different package... gcc -DLOCALEDIR=\"/usr/local/nagios/share/locale\" -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../lib -I../intl -I/usr/local/ssl/include -I/usr/local/ssl/include -Wall -g -O2 -c runcmd.c runcmd.c:65: warning: `__nonnull__' attribute directive ignored runcmd.c:68: warning: `__nonnull__' attribute directive ignored /bin/bash ../libtool --mode=link gcc -Wall -g -O2 -L. -R/usr/local/ssl/lib -o check_apt check_apt.o utils.o ../lib/libnagiosplug.a ../lib/libcoreutils.a runcmd.o ../intl/libintl.a -lgen -lsocket -lssl -lcrypto mkdir .libs gcc -Wall -g -O2 -o check_apt check_apt.o utils.o runcmd.o -L/export/home/rbinz/nagios/plugins/nagios-plugins-HEAD-200605081152/plugins ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a -lgen -lsocket -lssl -lcrypto -R/usr/local/ssl/lib ld: fatal: library -lssl: not found ld: fatal: library -lcrypto: not found ld: fatal: File processing errors. No output written to check_apt collect2: ld returned 1 exit status make[3]: *** [check_apt] Error 1 make[3]: Leaving directory `/export/home/rbinz/nagios/plugins/nagios-plugins-HEAD-200605081152/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/export/home/rbinz/nagios/plugins/nagios-plugins-HEAD-200605081152/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/export/home/rbinz/nagios/plugins/nagios-plugins-HEAD-200605081152' make: *** [all] Error 2 Can anyone offer some help on getting the plugins compiled on Solaris 8? TIA Robert ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msugano at uolinc.com Thu May 11 01:00:04 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 10 May 2006 20:00:04 -0300 Subject: Solaris 8 - plugins 1.4.3 compile error In-Reply-To: References: Message-ID: <1147302004.7868.55.camel@localhost> On Wed, 2006-05-10 at 15:41 -0700, Robert Binz wrote: > Good Day - [snip] > ld: fatal: library -lssl: not found > ld: fatal: library -lcrypto: not found [snip] > did a "make all" and I get the same error but on a different package... [snip] > gcc -Wall -g -O2 -o check_apt check_apt.o utils.o runcmd.o > -L/export/home/rbinz/nagios/plugins/nagios-plugins-HEAD-200605081152/plugins > ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a -lgen > -lsocket -lssl -lcrypto -R/usr/local/ssl/lib > ld: fatal: library -lssl: not found > ld: fatal: library -lcrypto: not found > ld: fatal: File processing errors. No output written to check_apt [snip] > Can anyone offer some help on getting the plugins compiled on Solaris 8? Hello. It is something to do with LDFLAGS or *FLAGS not being correctly set on Solaris, by ./configure. I have this problem too, and even spending lots of efforts in finding out WTF was wrong, i ended up by compiling all by hand, placing the correct path to libssl and libcrypto. something like, copying the last gcc line, cd to the previous dir, and adding -L/usr/local/lib for gcc being able to find all those hidden libs :) HTH, M. AVISO: A informa??o contida neste e-mail, bem como em qualquer de seus anexos, ? CONFIDENCIAL e destinada ao uso exclusivo do(s) destinat?rio(s) acima referido(s), podendo conter informa??es sigilosas e/ou legalmente protegidas. Caso voc? n?o seja o destinat?rio desta mensagem, informamos que qualquer divulga??o, distribui??o ou c?pia deste e-mail e/ou de qualquer de seus anexos ? absolutamente proibida. Solicitamos que o remetente seja comunicado imediatamente, respondendo esta mensagem, e que o original desta mensagem e de seus anexos, bem como toda e qualquer c?pia e/ou impress?o realizada a partir destes, sejam permanentemente apagados e/ou destru?dos. Informa??es adicionais sobre nossa empresa podem ser obtidas no site http://sobre.uol.com.br/. NOTICE: The information contained in this e-mail and any attachments thereto is CONFIDENTIAL and is intended only for use by the recipient named herein and may contain legally privileged and/or secret information. If you are not the e-mail?s intended recipient, you are hereby notified that any dissemination, distribution or copy of this e-mail, and/or any attachments thereto, is strictly prohibited. Please immediately notify the sender replying to the above mentioned e-mail address, and permanently delete and/or destroy the original and any copy of this e-mail and/or its attachments, as well as any printout thereof. Additional information about our company may be obtained through the site http://www.uol.com.br/ir/. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmoore at edge.net Thu May 11 01:01:49 2006 From: asmoore at edge.net (Alex Moore) Date: Wed, 10 May 2006 18:01:49 -0500 Subject: Solaris 8 - plugins 1.4.3 compile error In-Reply-To: References: Message-ID: <20060510180149.00006bf9@sws602.mcsun.local> On Wed, 10 May 2006 15:41:37 -0700 "Robert Binz" wrote: > Good Day - > > I am getting hte following error while compileing the plugins 1.4.3 > on Solaris 8 > > gcc -Wall -g -O2 -o check_disk check_disk.o utils.o popen.o > -L/export/home/rbinz/nagios/nagios-plugins-1.4.3/plugins > ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a -lgen > -lsocket -lssl -lcrypto -R/usr/local/ssl/lib > ld: fatal: library -lssl: not found > ld: fatal: library -lcrypto: not found export LDFLAGS=-L/usr/local/lib/ssl Alex ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jstevensog at gmail.com Thu May 11 01:14:09 2006 From: jstevensog at gmail.com (John Stevens) Date: Thu, 11 May 2006 09:14:09 +1000 Subject: Performance Data not working since upgrade to 2.2. Please Help Message-ID: Hi All, This is a resend of a mail, that appears not to have made it to the list. I am have recently upgraded my nagios from 1.3 to 2.2, and am having trouble with nagiosgraph's insert.pl ever since. If I set up my process-service-perfdata command like so: define command{ command_name process-service-perfdata command_line /usr/bin/printf "%b\n" "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" >>/var/log/nagios/service-perfdata.out } I get lovely lines of perfomance data, and can run these lines as a parameter to the insert.pl script like so and it logs the data in the appropriate rrd, and nagiosgraph.log (logging is turned on in the script). Also, I see the checks appear in the nagios log, as I have logging turned on in nagios. sudo -u nagios /path/to/insert.pl "1146750185||printer||PING||OK - 192.168.0.200: rta 27.302ms, lost 0%||rta=27.302ms;100.000;500.000;0; pl=0%;20;60;;" or su - nagios /path/to/insert.pl "1146750185||printer||PING||OK - 192.168.0.200 : rta 27.302ms, lost 0%||rta=27.302ms;100.000;500.000;0; pl=0%;20;60;;" However, with my process-service-perfdata command set to this, which is the same as I had it in 1.3: define command{ command_name process-service-perfdata command_line /usr/lib/nagios/nagiosgraph/insert.pl "$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$" } no rrds are updated, nothing appears in the nagiosgraph.log, and nothing appears in the nagios log, but nagios still updates all the statuses. Firstly, has anyone had a similar problem with performance data in general, and secondly, can anyone see anything obviously wrong in what I have done? Googling has gotten me nowhere, the manual has put me on the right track in a lot of ways, but I can't fathom why the script is, apparently, not being run by the daemon, or dying off and killing messages going into the nagios log. Thanks in advance. John -------------- next part -------------- An HTML attachment was scrubbed... URL: From s.shipway at auckland.ac.nz Thu May 11 03:10:13 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 11 May 2006 13:10:13 +1200 Subject: Check Printer QUEUE on Windows w2k /2003 In-Reply-To: References: Message-ID: <005b01c67497$a8d89dd0$8ea8d882@UoA.auckland.ac.nz> I looking for a method to check the printer queue on Windows server (like if more than 10 jobs i queue then warning or critical) I tried the snmp check /usr/local/nagios/libexec/check_snmp_win.pl (very good) but i can just test the "Service" Spooler. I looked att nagiosexchange.org and on google. NADA Anyone who has a clue how i can do this with SNMP or with NRPE ? We do it using pNSclient 2.x. Then you can check any perfmon counter. Alternatively, install the perfMIB stuff so that you can access the perfmon counters via SNMP, or install something like NC_Net which has both NRPE and pNSclient functionality. Steve -------------- next part -------------- An HTML attachment was scrubbed... URL: From robert.binz at gmail.com Thu May 11 06:49:47 2006 From: robert.binz at gmail.com (Robert Binz) Date: Wed, 10 May 2006 21:49:47 -0700 Subject: Solaris 8 - plugins 1.4.3 compile error In-Reply-To: <20060510180149.00006bf9@sws602.mcsun.local> References: <20060510180149.00006bf9@sws602.mcsun.local> Message-ID: Thank you - I found setting the LDFLAGS=-L/usr/local/ssl/lib worked. I have also found that setting LD_LIBRARY_PATH=/usr/local/ssl/lib also fixes this issue. Robert On 5/10/06, Alex Moore wrote: > On Wed, 10 May 2006 15:41:37 -0700 > "Robert Binz" wrote: > > > Good Day - > > > > I am getting hte following error while compileing the plugins 1.4.3 > > on Solaris 8 > > > > gcc -Wall -g -O2 -o check_disk check_disk.o utils.o popen.o > > -L/export/home/rbinz/nagios/nagios-plugins-1.4.3/plugins > > ../lib/libnagiosplug.a ../lib/libcoreutils.a ../intl/libintl.a -lgen > > -lsocket -lssl -lcrypto -R/usr/local/ssl/lib > > ld: fatal: library -lssl: not found > > ld: fatal: library -lcrypto: not found > > export LDFLAGS=-L/usr/local/lib/ssl > > Alex > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From maca02 at atlas.cz Thu May 11 08:34:02 2006 From: maca02 at atlas.cz (Tomas Macek) Date: Thu, 11 May 2006 08:34:02 +0200 (CEST) Subject: service check skipped? Message-ID: Hi, I check this UPS APC and I have this configuration: ############### command[check_snmp_arg]=$USER1$/check_snmp -H $HOSTADDRESS$ -C $ARG1$ -o $ARG2$ -w $ARG3$ -c $ARG4$ host[UPS-fin]=UPS Finagro;10.84.0.10;sw.fin;check-host-alive;5;60;24x7;1;1;0; service[UPS-fin]=Output voltage;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsOutput.upsAdvOutput.upsAdvOutputVoltage.0!218:243!196:253 service[UPS-fin]=Output frequency;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsOutput.upsAdvOutput.upsAdvOutputFrequency.0!45:55!40:60 service[UPS-fin]=Load;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsOutput.upsAdvOutput.upsAdvOutputLoad.0!0:80!0:90 service[UPS-fin]=Input voltage;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsInput.upsAdvInput.upsAdvInputLineVoltage.0!218:243!196:253 service[UPS-fin]=Input frequency;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsInput.upsAdvInput.upsAdvInputFrequency.0!45:55!40:60 service[UPS-fin]=Temperature;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsBattery.upsAdvBattery.upsAdvBatteryTemperature.0!5:40!0:45 service[UPS-fin]=Battery capacity;0;24x7;1;2;1;g.mailALL,g.crit-service;240;24x7;1;1;0;;check_snmp_arg!community!.enterprises.apc.products.hardware.ups.upsBattery.upsAdvBattery.upsAdvBatteryCapacity.0!90:101!70:102 ################# and this is the output in nagios's web interface: ################ last check duration output Battery capacity OK 05-11-2006 07:50:02 0d 0h 11m 20s 1/1 SNMP OK - 97 Temperature OK 05-11-2006 06:35:13 1d 17h 8m 17s 1/1 SNMP OK - 22 Input frequency OK 05-11-2006 07:52:31 22d 16h 58m 2s 1/1 SNMP OK - 50 Input Voltage OK 05-11-2006 07:59:03 0d 0h 22m 10s 1/1 SNMP OK - 227 Output frequency OK 05-11-2006 07:43:52 22d 18h 3m 12s 1/1 SNMP OK - 50 Output voltage OK 05-11-2006 07:30:32 5d 18h 11m 56s 1/1 SNMP OK - 227 Load OK 05-11-2006 07:36:23 1d 17h 8m 17s 1/1 SNMP OK - 0 ################ and this is output of the date command in the command line at that time from the computer running Nagios... ########### [root at iks nagios]# date Thu May 11 08:03:29 CEST 2006 ########### Why was the last check of the "Temperature" at 06:35:13 while other checks after 7:00? All the service check should be in 2 minutes? Why some of them have last check at 7:30 and some at 7:50? I'm still using Nagios 1.2 and older configuration files. Does anyone have any ideas? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 11 10:48:42 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 11 May 2006 10:48:42 +0200 Subject: acknowledge Message-ID: <006801c674d7$b5229150$0900d40a@intranet.it.net> Hi all. I am searching some information regarding acknowledge procedure: - what id does? - when is it better to it? - ... Nothing I read on documentation. I am running nagios 1.3 I have several services in CRITICAL state, I disabled checks and notifications because I know that those will remain in that condition for a long period. Is there anything that I can do to change their status? My target is to reduce the number of CRITICAL flags on the Nagios Web Page. Regards Marco Borsani Unix & Monitoring System Administrator Technical Operation Tel. +39 010 4310115 Fax +39 010 4327454 E-mail: m.borsani at IT.net ITnet S.r.l. - Direzione e Coordinamento di WIND Telecomunicazioni S.p.A. Internet Service Provider Sede legale: Via C.G.Viola, 48 - 00148 Roma Dir. Centrale e Amministrativa: Via Pacinotti, 39 16151 Genova (Italy) http://www.it.net mailto:info at IT.net _______________________________________________________________ Altre sedi ITnet: MILANO tel.: +39 02 30114900 info-milano at IT.net ROMA tel.: +39 06 83116707 info-roma at IT.net _______________________________________________________________ ITnet is associated to CIX (Commercial IP eXchange) and RIPE ITnet is associated to AIIP (Associazione Italiana Internet Providers) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 11 11:11:03 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 11 May 2006 11:11:03 +0200 (CEST) Subject: acknowledge In-Reply-To: <006801c674d7$b5229150$0900d40a@intranet.it.net> References: <006801c674d7$b5229150$0900d40a@intranet.it.net> Message-ID: On Thu, 11 May 2006, Marco Borsani wrote: > I am searching some information regarding acknowledge procedure: > - what id does? > - when is it better to it? > - ... > Nothing I read on documentation. I am running nagios 1.3 I can't understand the questions you have here. > I have several services in CRITICAL state, I disabled checks and > notifications because I know that those will remain in that condition for a > long period. > Is there anything that I can do to change their status? My target is to > reduce the number of CRITICAL flags on the Nagios Web Page. I have missed the obvious choice. Put them in maintenance. (schedule downtime) If it takes months before they are back I would even comment them out in the config files. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Thu May 11 11:22:42 2006 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Thu, 11 May 2006 10:22:42 +0100 Subject: Configuration Advice Message-ID: I've finally managed to get my installation of Nagios (v2.3) and the Nagios Plugins (v1.4.3) running under CentOS (v4.3). I'm now after some advice if possible. I would like to know how the 'real world' have their systems configured. I want to be able to see all the ports on my network switches and also all devices connected to those ports on those switches. For example: FIREWALL(eth0)-------SWITCH-04 (port 01)--------------SWITCH-04 | | WinXP PC (nic1)------- SWITCH-04 (port 02)--------------SWITCH-04 | | SWITCH-05(port 26) --SWITCH-04 (port 25)--------------SWITCH-04 Would I have to define all the ports for all switches and devices as hosts? If so would I have to define host checks for the ports as well as obviously the service level checks? Regards, Rab. =========================================================== Robert Jackson Phone: +44 (0) 141 332 7999 Software Engineer Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk =========================================================== ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk **************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 11 11:26:24 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 11 May 2006 11:26:24 +0200 Subject: R: acknowledge In-Reply-To: References: Message-ID: <007201c674dc$f94e8e60$0900d40a@intranet.it.net> -}> I am searching some information regarding acknowledge procedure: -}> - what it does? -}> - when is it better to it? -}> - ... -}> Nothing I read on documentation. I am running nagios 1.3 -} -}I can't understand the questions you have here. In all services pages you can perform some "Service Commands". One of those is "Acknowledge this service problem". I do not find any documentation regarding this service command. -}> I have several services in CRITICAL state, I disabled checks and -}> notifications because I know that those will remain in that -}condition -}> for a long period. -}> Is there anything that I can do to change their status? My -}target is -}> to reduce the number of CRITICAL flags on the Nagios Web Page. -} -}I have missed the obvious choice. Put them in maintenance. (schedule -}downtime) If it takes months before they are back I would -}even comment them out in the config files. I can not put them in maintenance. Marco ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Thu May 11 11:02:52 2006 From: shoktai at gmail.com (ThomasC.) Date: Thu, 11 May 2006 11:02:52 +0200 Subject: traceroute.cgi Message-ID: <4462FDBC.3060302@gmail.com> Hi Guys, I dont code html, nor C so i am a bit confused on how setting the traceroute.cgi inside the side.cgi page i did put the following : Make a traceroute
or a ping
but it is not working. Thanks for the code. Regards. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Thu May 11 11:13:37 2006 From: shoktai at gmail.com (ThomasC.) Date: Thu, 11 May 2006 11:13:37 +0200 Subject: acknowledge In-Reply-To: <006801c674d7$b5229150$0900d40a@intranet.it.net> References: <006801c674d7$b5229150$0900d40a@intranet.it.net> Message-ID: <44630041.3020405@gmail.com> Marco Borsani a ?crit : > I have several services in CRITICAL state, I disabled checks and > notifications because I know that those will remain in that condition for a > long period. > Is there anything that I can do to change their status? My target is to > reduce the number of CRITICAL flags on the Nagios Web Page. What i do when i am in your situation, i send a passive check for service(submit passive check result for this service) from the web interface and add a comment. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 11 13:52:57 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 11 May 2006 13:52:57 +0200 (CEST) Subject: traceroute.cgi In-Reply-To: <4462FDBC.3060302@gmail.com> References: <4462FDBC.3060302@gmail.com> Message-ID: On Thu, 11 May 2006, ThomasC. wrote: > I dont code html, nor C so i am a bit confused on how setting the > traceroute.cgi inside the side.cgi page i did put the following : > > name="summary-dot"> > target="main" onMouseOver="switchdot('summary-dot',1)" > onMouseOut="switchdot('summary-dot',0)" class="NavBarItem">Make a traceroute >
> or a ping
> > but it is not working. This code shown does not match. You are missing a closing tag. Then the name variable must be unique which I think is not the case so the switchdot trick will fail. And you feed it with an empty variable 'host'. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Thu May 11 14:11:09 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Thu, 11 May 2006 08:11:09 -0400 Subject: acknowledge In-Reply-To: References: <006801c674d7$b5229150$0900d40a@intranet.it.net> Message-ID: <1147349469.2843.24.camel@localhost> On Thu, 2006-05-11 at 11:11 +0200, Hugo van der Kooij wrote: > On Thu, 11 May 2006, Marco Borsani wrote: > > > I am searching some information regarding acknowledge procedure: > > - what id does? > > - when is it better to it? > > - ... > > Nothing I read on documentation. I am running nagios 1.3 > > I can't understand the questions you have here. > > > I have several services in CRITICAL state, I disabled checks and > > notifications because I know that those will remain in that condition for a > > long period. > > Is there anything that I can do to change their status? My target is to > > reduce the number of CRITICAL flags on the Nagios Web Page. > > I have missed the obvious choice. Put them in maintenance. (schedule > downtime) If it takes months before they are back I would even comment > them out in the config files. > > Hugo. I believe acknowledging will stop the notifications - in fact, it will send its own ACKNOWLEDGE notification. However, Hugo, I may be mistaken, but scheduling downtime when a service is critical still shows the service as critical in all reports, doesn't it? The breakdown shows scheduled versus unscheduled but the summary shows it as critical and an outage. As you did state, one could comment them out or, I suppose, add register 0 to their definition - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Thu May 11 14:14:04 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Thu, 11 May 2006 08:14:04 -0400 Subject: Configuration Advice In-Reply-To: References: Message-ID: <1147349644.2843.27.camel@localhost> On Thu, 2006-05-11 at 10:22 +0100, Robert Jackson wrote: > I've finally managed to get my installation of Nagios (v2.3) and the > Nagios > Plugins (v1.4.3) running under CentOS (v4.3). > > I'm now after some advice if possible. I would like to know how the > 'real world' > have their systems configured. > > I want to be able to see all the ports on my network switches and also > all devices > connected to those ports on those switches. > > For example: > > FIREWALL(eth0)-------SWITCH-04 (port 01)--------------SWITCH-04 > | > | > WinXP PC (nic1)------- SWITCH-04 (port 02)--------------SWITCH-04 > | > | > SWITCH-05(port 26) --SWITCH-04 (port 25)--------------SWITCH-04 > > Would I have to define all the ports for all switches and devices as > hosts? If > so would I have to define host checks for the ports as well as obviously > the > service level checks? > We're still pretty new to Nagios ourselves. I would guess it depends on whether or not all services are identical. I found the Time-Saving Tricks For Object Definitions page (docs/templatetricks.html) very helpful in this regard. Good luck - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Thu May 11 14:23:52 2006 From: shoktai at gmail.com (ThomasC.) Date: Thu, 11 May 2006 14:23:52 +0200 Subject: traceroute.cgi In-Reply-To: References: <4462FDBC.3060302@gmail.com> Message-ID: <44632CD8.6080309@gmail.com> Hugo van der Kooij a ?crit : > On Thu, 11 May 2006, ThomasC. wrote: > >> I dont code html, nor C so i am a bit confused on how setting the >> traceroute.cgi inside the side.cgi page i did put the following : >> >> > name="summary-dot"> >> > target="main" onMouseOver="switchdot('summary-dot',1)" >> onMouseOut="switchdot('summary-dot',0)" class="NavBarItem">Make a traceroute >>
>> or a ping
>> >> but it is not working. > > This code shown does not match. You are missing a closing tag. yep thats just an error in my copy/paste > Then the name variable must be unique which I think is not the case so the > switchdot trick will fail. what variable are you talking about ? > And you feed it with an empty variable 'host'. thats the point i am missing, how can i make it accept a host of my choice, is that possible to get a box to fill with a hostname or a scrollbar ? Thanks Hugo. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Thu May 11 15:40:40 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Thu, 11 May 2006 15:40:40 +0200 Subject: traceroute.cgi In-Reply-To: <44632CD8.6080309@gmail.com> References: <44632CD8.6080309@gmail.com> Message-ID: <60721B67EAF0994EAFFB561767B700145937E4@nets13ha.ww300.siemens.net> Hello Thomas, sure you can... this is already in side.html, look for "NavBarSearchItem" christian -- "I sense much NT in you, NT leads to Blue Screen. Blue Screen leads to downtime, downtime leads to suffering. NT is the path to the darkside." - Unknown Unix Jedi > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of ThomasC. > Sent: Thursday, May 11, 2006 2:24 PM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] traceroute.cgi > > Hugo van der Kooij a ?crit : > > On Thu, 11 May 2006, ThomasC. wrote: > > > >> I dont code html, nor C so i am a bit confused on how setting the > >> traceroute.cgi inside the side.cgi page i did put the following : > >> > >> width="13" height="14" > >> name="summary-dot"> > >> >> target="main" onMouseOver="switchdot('summary-dot',1)" > >> onMouseOut="switchdot('summary-dot',0)" > class="NavBarItem">Make a traceroute > >>
> >> or a ping
> >> > >> but it is not working. > > > > This code shown does not match. You are missing a closing tag. > > yep thats just an error in my copy/paste > > > Then the name variable must be unique which I think is not > the case so the > > switchdot trick will fail. > > what variable are you talking about ? > > > And you feed it with an empty variable 'host'. > > thats the point i am missing, how can i make it accept a host of my > choice, is that possible to get a box to fill with a hostname or a > scrollbar ? > > > Thanks Hugo. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your job easier > Download IBM WebSphere Application Server v.1.0.1 based on > Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS > when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu May 11 15:45:19 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 11 May 2006 08:45:19 -0500 Subject: acknowledge In-Reply-To: <44630041.3020405@gmail.com> References: <006801c674d7$b5229150$0900d40a@intranet.it.net> <44630041.3020405@gmail.com> Message-ID: <1147355120.25684.109.camel@localhost> On Thu, 2006-05-11 at 11:13 +0200, ThomasC. wrote: > Marco Borsani a ?crit : > > > I have several services in CRITICAL state, I disabled checks and > > notifications because I know that those will remain in that condition for a > > long period. > > Is there anything that I can do to change their status? My target is to > > reduce the number of CRITICAL flags on the Nagios Web Page. > What i do when i am in your situation, i send a passive check for > service(submit passive check result for this service) from the web > interface and add a comment. My solution here is to change the default web page to filter out Ack'd and Downtime'd hosts and services. I think that's a lot more "correct" a solution, personally. I would not like people falsely changing the state of services or hosts. Not to mention, such a false submission would be over-ridden by the active service check within 3-5 minutes. https://yournagioshost/nagios/cgi-bin/status.cgi?host=all&hoststatustypes=15&hostprops=10&servicestatustypes=28&serviceprops=10&sorttype=1&sortoption=6 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From hvdkooij at vanderkooij.org Thu May 11 16:07:06 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 11 May 2006 16:07:06 +0200 (CEST) Subject: Configuration Advice In-Reply-To: References: Message-ID: On Thu, 11 May 2006, Robert Jackson wrote: > I've finally managed to get my installation of Nagios (v2.3) and the > Nagios > Plugins (v1.4.3) running under CentOS (v4.3). > > I'm now after some advice if possible. I would like to know how the > 'real world' > have their systems configured. > > I want to be able to see all the ports on my network switches and also > all devices > connected to those ports on those switches. You do not want to see each port. You might want to see each port if you run a tool like cacti to track the amount of traffic but that's it. In a normal network you take a switch as a single entity. Each host will have the switch as parent and the switch will have another parent. If the switch goes down so will all the host attached to it. And if just one or two hosts go down it is either a host, a cable or a switch port issue. The change of an individual port breaking down is not worth the trouble of having an entity set for each port. Even with templates it is quite a resource hog to keep it up-to-date. Some of the smarter switches will not enjoy getting a load of SNMP requests to verify each and every port. And if your switch is not SNMP manageble you will not even be able to get any status at all and this whole discussion is futile anyway. (Building and troubleshooiting network is what I do for a living.) If you monitor each switch port you will be in for surprises if someone plugs over a cable just to verify wether the cable, the host nic or the switch port is broken. Only paranoid type networks might even considere doing a portlevel check on the switch. But those networks have fixed MAC addresses assigned to each port and propably will not allow SNMP anyway. (SNMP being UDP and all. ;-) So in the 'real world' you considere your switch as a single entity and do not bother with the ports. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rab at walkermartyn.co.uk Thu May 11 16:22:20 2006 From: rab at walkermartyn.co.uk (Robert Jackson) Date: Thu, 11 May 2006 15:22:20 +0100 Subject: rab@walkermartyn.co.uk - Bayesian Filter detected spam - Re: Configuration Advice Message-ID: Hi Hugo, Many thanks for the reply. If I can ask another related question. If we treat the switch as a single entity, how could we determine what was causing for example a switch ping latency? Regards, Rab. =========================================================== Robert Jackson Phone: +44 (0) 141 332 7999 Software Engineer Fax: +44 (0) 141 331 2820 Walker Martyn Ltd 1 Park Circus Place Email: rab at walkermartyn.co.uk Glasgow G3 6AH, Scotland Web: http://www.walkermartyn.co.uk =========================================================== -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hugo van der Kooij Sent: Thursday May 2006 15:07 To: Nagios Users Mailinglist Subject: rab at walkermartyn.co.uk - Bayesian Filter detected spam - Re: [Nagios-users] Configuration Advice On Thu, 11 May 2006, Robert Jackson wrote: > I've finally managed to get my installation of Nagios (v2.3) and the > Nagios > Plugins (v1.4.3) running under CentOS (v4.3). > > I'm now after some advice if possible. I would like to know how the > 'real world' > have their systems configured. > > I want to be able to see all the ports on my network switches and also > all devices > connected to those ports on those switches. You do not want to see each port. You might want to see each port if you run a tool like cacti to track the amount of traffic but that's it. In a normal network you take a switch as a single entity. Each host will have the switch as parent and the switch will have another parent. If the switch goes down so will all the host attached to it. And if just one or two hosts go down it is either a host, a cable or a switch port issue. The change of an individual port breaking down is not worth the trouble of having an entity set for each port. Even with templates it is quite a resource hog to keep it up-to-date. Some of the smarter switches will not enjoy getting a load of SNMP requests to verify each and every port. And if your switch is not SNMP manageble you will not even be able to get any status at all and this whole discussion is futile anyway. (Building and troubleshooiting network is what I do for a living.) If you monitor each switch port you will be in for surprises if someone plugs over a cable just to verify wether the cable, the host nic or the switch port is broken. Only paranoid type networks might even considere doing a portlevel check on the switch. But those networks have fixed MAC addresses assigned to each port and propably will not allow SNMP anyway. (SNMP being UDP and all. ;-) So in the 'real world' you considere your switch as a single entity and do not bother with the ports. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ************************************************************************ The information in this internet E-mail is confidential and is intended solely for the addressee. Access, copying or re-use of information in it by anyone else is unauthorised. Any views or opinions presented are solely those of the author and do not necessarily represent those of Walker Martyn Ltd or any of its affiliates. If you are not the intended recipient please contact administrator at walkermartyn.co.uk **************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 11 16:28:17 2006 From: marc at ena.com (Marc Powell) Date: Thu, 11 May 2006 09:28:17 -0500 Subject: Status MAP (libgd.so.2 problem) generation problem on Nagios Message-ID: Please always respond on-list so that others may benefit from your experience. http://72.14.207.104/search?q=cache:EKEhxS0400sJ:bwachter.lart.info/sola ris/solfaq.html+solaris+ld.so.conf&hl=en&gl=us&ct=clnk&cd=1 See the section on Configuring the Dynamic Linker. -- Marc > -----Original Message----- > From: kritikus Araklidas [mailto:kritikus at gmail.com] > Sent: Thursday, May 11, 2006 6:49 AM > To: Marc Powell > Subject: Re: [Nagios-users] Status MAP (libgd.so.2 problem) generation > problem on Nagios > > Thank you Marc. > > Do you think that works in Solaris????? Because i'm install every under > Solaris 9. > > Thank. > > Chris. > > > On 5/10/06, Marc Powell wrote: > > The CGI's don't use PHP. > > OP: Try adding /usr/local/lib to /etc/ld.so.conf and run 'ldconfig'. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of Norman Harebottle > > Sent: Tuesday, May 09, 2006 7:09 PM > > To: kritikus Araklidas; nagios-users at lists.sourceforge.net > > > Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) > generation > > problem on Nagios > > > > Is GD enabled in the php.ini file? > > > > Norman > > > > ________________________________ > > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > users- > > admin at lists.sourceforge.net] On Behalf Of kritikus Araklidas > > Sent: Tuesday, May 09, 2006 7:57 PM > > To: nagios-users at lists.sourceforge.net users at lists.sourceforge.net> > > Subject: [Nagios-users] Status MAP (libgd.so.2 problem) generation > problem > > on Nagios > > > > > > Hi everyone: > > > > I installed nagios with GD support, the installation was > suscessfull > (the > > nagios configure command reconize the GD library). Every single > option > > works fine, but when i try to open Status MAP i got and internal > error > > (error 500), i review it the apache error logs and i looks some > cgi > file > > cannot find the libgd.so.2, but in the installation process was > > reconized and the library is already in /usr/local/lib. > > > > The rest of the application works properly, only in some menus > where > gd is > > required the problem come. > > > > Any idea.......????? > > > > Regards. > > > > Cristian. > > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make your > job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net users at lists.sourceforge.net> > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to > /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 11 16:29:19 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 11 May 2006 16:29:19 +0200 (CEST) Subject: traceroute.cgi In-Reply-To: <44632CD8.6080309@gmail.com> References: <4462FDBC.3060302@gmail.com> <44632CD8.6080309@gmail.com> Message-ID: On Thu, 11 May 2006, ThomasC. wrote: > Hugo van der Kooij a ?crit : > > On Thu, 11 May 2006, ThomasC. wrote: > > > >> I dont code html, nor C so i am a bit confused on how setting the > >> traceroute.cgi inside the side.cgi page i did put the following : > >> > >> >> name="summary-dot"> > >> >> target="main" onMouseOver="switchdot('summary-dot',1)" > >> onMouseOut="switchdot('summary-dot',0)" class="NavBarItem">Make a traceroute > >>
> >> or a ping
> >> > >> but it is not working. > > > > This code shown does not match. You are missing a closing tag. > > yep thats just an error in my copy/paste > > > Then the name variable must be unique which I think is not the case so the > > switchdot trick will fail. > > what variable are you talking about ? As said. The name variable. Like: name="summary-dot" This must be unique for each menu item. > > And you feed it with an empty variable 'host'. > > thats the point i am missing, how can i make it accept a host of my > choice, is that possible to get a box to fill with a hostname or a > scrollbar ? There is no way you can do that from the left hand side menu. That is a static menu. You have to do some magic with the extended host information. So the link in the lefthand menu is useless. You may want to check out http://www.nagiosexchange.org/Utilities.16.0.html?&tx_netnagext_pi1[p_view]=349 which might suit your needs better. Hugo -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 11 16:54:30 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 11 May 2006 16:54:30 +0200 (CEST) Subject: rab@walkermartyn.co.uk - Bayesian Filter detected spam - Re: Configuration Advice In-Reply-To: References: Message-ID: On Thu, 11 May 2006, Robert Jackson wrote: > If I can ask another related question. If we treat the switch as a > single entity, > how could we determine what was causing for example a switch ping > latency? Pickup the network diagram and track the path. A lot of switches and routers may show more latency on a ping to them then on traffic through them. They considere ICMP traffic to the switch to be less important. If you network is considerably larger then a single switch you want to use a tool like cacti and monitor bandwith usage on your trunks. Ping is a very poor substitute for measuring your network bandwitdh. But so is Nagios. You need a tool like cacti to solve this part of the puzzle. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Thu May 11 17:01:47 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 11 May 2006 17:01:47 +0200 Subject: R: acknowledge In-Reply-To: <1147355120.25684.109.camel@localhost> References: <1147355120.25684.109.camel@localhost> Message-ID: <00d301c6750b$d36f61e0$0900d40a@intranet.it.net> Well... I try link you suggested me, but I do not understand how it can help me.... By the way, does anyone may give me any information regarding acknowledge procedure and its purpose? Regards Marco -}-----Messaggio originale----- -}Da: jeff vier [mailto:boinger at tradingtechnologies.com] -}Inviato: gioved? 11 maggio 2006 15.45 -}A: shoktai+nospam at gmail.com -}Cc: Marco Borsani; 'NAGIOS' -}Oggetto: Re: [Nagios-users] acknowledge -} -}On Thu, 2006-05-11 at 11:13 +0200, ThomasC. wrote: -}> Marco Borsani a ?crit : -}> -}> > I have several services in CRITICAL state, I disabled checks and -}> > notifications because I know that those will remain in that -}> > condition for a long period. -}> > Is there anything that I can do to change their status? -}My target is -}> > to reduce the number of CRITICAL flags on the Nagios Web Page. -}> What i do when i am in your situation, i send a passive check for -}> service(submit passive check result for this service) from the web -}> interface and add a comment. -} -}My solution here is to change the default web page to filter -}out Ack'd and Downtime'd hosts and services. -} -}I think that's a lot more "correct" a solution, personally. -}I would not like people falsely changing the state of -}services or hosts. -} -}Not to mention, such a false submission would be over-ridden -}by the active service check within 3-5 minutes. -} -}https://yournagioshost/nagios/cgi-bin/status.cgi?host=all&host -}statustypes=15&hostprops=10&servicestatustypes=28&serviceprops -}=10&sorttype=1&sortoption=6 -} ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kritikus at gmail.com Thu May 11 17:15:24 2006 From: kritikus at gmail.com (kritikus Araklidas) Date: Thu, 11 May 2006 11:15:24 -0400 Subject: Status MAP (libgd.so.2 problem) generation problem on Nagios In-Reply-To: References: Message-ID: Hey Marc: Yeah is true we have to share the knowledge, so you recommendation works, after to configure the dynamic linker, the Nagios MAP works. Thank a lot. Chris. On 5/11/06, Marc Powell wrote: > > Please always respond on-list so that others may benefit from your > experience. > > http://72.14.207.104/search?q=cache:EKEhxS0400sJ:bwachter.lart.info/sola > ris/solfaq.html+solaris+ld.so.conf&hl=en&gl=us&ct=clnk&cd=1 > > See the section on Configuring the Dynamic Linker. > > -- > Marc > > > -----Original Message----- > > From: kritikus Araklidas [mailto:kritikus at gmail.com] > > Sent: Thursday, May 11, 2006 6:49 AM > > To: Marc Powell > > Subject: Re: [Nagios-users] Status MAP (libgd.so.2 problem) generation > > problem on Nagios > > > > Thank you Marc. > > > > Do you think that works in Solaris????? Because i'm install every > under > > Solaris 9. > > > > Thank. > > > > Chris. > > > > > > On 5/10/06, Marc Powell wrote: > > > > The CGI's don't use PHP. > > > > OP: Try adding /usr/local/lib to /etc/ld.so.conf and run > 'ldconfig'. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > > users- > > > admin at lists.sourceforge.net] On Behalf Of Norman Harebottle > > > Sent: Tuesday, May 09, 2006 7:09 PM > > > To: kritikus Araklidas; nagios-users at lists.sourceforge.net > > > > > Subject: RE: [Nagios-users] Status MAP (libgd.so.2 problem) > > generation > > > problem on Nagios > > > > > > Is GD enabled in the php.ini file? > > > > > > Norman > > > > > > ________________________________ > > > > > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios- > > users- > > > admin at lists.sourceforge.net] On Behalf Of kritikus Araklidas > > > Sent: Tuesday, May 09, 2006 7:57 PM > > > To: nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > > Subject: [Nagios-users] Status MAP (libgd.so.2 problem) > generation > > problem > > > on Nagios > > > > > > > > > Hi everyone: > > > > > > I installed nagios with GD support, the installation was > > suscessfull > > (the > > > nagios configure command reconize the GD library). Every > single > > option > > > works fine, but when i try to open Status MAP i got and > internal > > error > > > (error 500), i review it the apache error logs and i looks > some > > cgi > > file > > > cannot find the libgd.so.2, but in the installation process > was > > > reconized and the library is already in /usr/local/lib. > > > > > > The rest of the application works properly, only in some menus > > where > > gd is > > > required the problem come. > > > > > > Any idea.......????? > > > > > > Regards. > > > > > > Cristian. > > > > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web services, > > security? > > Get stuff done quickly with pre-integrated technology to make > your > > job easier > > Download IBM WebSphere Application Server v.1.0.1 based on > Apache > > Geronimo > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > > > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > users at lists.sourceforge.net> > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS > when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to > > /dev/null > > > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Thu May 11 17:21:34 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 11 May 2006 10:21:34 -0500 Subject: R: acknowledge In-Reply-To: <00d301c6750b$d36f61e0$0900d40a@intranet.it.net> References: <00d301c6750b$d36f61e0$0900d40a@intranet.it.net> Message-ID: <1147360894.25684.119.camel@localhost> On Thu, 2006-05-11 at 17:01 +0200, Marco Borsani wrote: > Well... > > I try link you suggested me, but I do not understand how it can help me.... You said "My target is to reduce the number of CRITICAL flags on the Nagios Web Page." I'm giving you a quick, easy, and "correct" way to accomplish this. > By the way, does anyone may give me any information regarding acknowledge > procedure and its purpose? We don't understand what you're asking here, exactly. Acknowledging a problem allows Nagios to continue checking the service until it recovers, but doesn't send alerts. the implication is that you (or whoever) is Acknowledging that they know about the problem, and are working on it. Hence the name. Does that answer your question? -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From m.borsani at it.net Thu May 11 17:30:08 2006 From: m.borsani at it.net (Marco Borsani) Date: Thu, 11 May 2006 17:30:08 +0200 Subject: R: R: acknowledge In-Reply-To: <1147360894.25684.119.camel@localhost> References: <1147360894.25684.119.camel@localhost> Message-ID: <00e301c6750f$c93375f0$0900d40a@intranet.it.net> -}On Thu, 2006-05-11 at 17:01 +0200, Marco Borsani wrote: -}> Well... -}> -}> I try link you suggested me, but I do not understand how it -}can help me.... -} -}You said "My target is to reduce the number of CRITICAL flags -}on the Nagios Web Page." -} -}I'm giving you a quick, easy, and "correct" way to accomplish this. Yes, but I still see them in the box "Service Status Tools? -} -}> By the way, does anyone may give me any information regarding -}> acknowledge procedure and its purpose? -} -}We don't understand what you're asking here, exactly. -} -}Acknowledging a problem allows Nagios to continue checking -}the service until it recovers, but doesn't send alerts. the -}implication is that you (or whoever) is Acknowledging that -}they know about the problem, and are working on it. Hence the name. -} -}Does that answer your question? Yes ! Thanks a lot Marco ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Thu May 11 18:21:54 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 11 May 2006 18:21:54 +0200 (CEST) Subject: R: acknowledge In-Reply-To: <1147360894.25684.119.camel@localhost> References: <00d301c6750b$d36f61e0$0900d40a@intranet.it.net> <1147360894.25684.119.camel@localhost> Message-ID: On Thu, 11 May 2006, jeff vier wrote: > On Thu, 2006-05-11 at 17:01 +0200, Marco Borsani wrote: > > Well... > > > > I try link you suggested me, but I do not understand how it can help me.... > > You said "My target is to reduce the number of CRITICAL flags on the > Nagios Web Page." Come to think of it. I find this a rather peculiar target. I would say solving the problem is your target and getting all green accross the board with Nagios is the way to show it. Just getting everything green without solving the problem sounds rather shortsighted to me. Why bother to perform the checks? Just show some greenish static pictures and everyone is happy. I bet you can even reduce staff. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Thu May 11 18:36:25 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 11 May 2006 12:36:25 -0400 Subject: How Nagios determines who to contact..... Message-ID: Hello, I am having trouble getting nagios to send out contacts to the correct group of people. If a service goes down, does it only contact the contact_groups assigned in the service definition? Does it contact any of the contact_groups associated with the hosts defined in the service as well? define service{ use generic-service hostgroup_name Oracle-servers,Management-servers,Filesystem-servers,Web-servers service_description /usr Free Space check_command check_nrpe!check_disk!15% 5% /usr For example: I have different contact groups set up for each different type of server (Oracle, Management, Filesystem, and Web). When this service fails, does nagios look at each hostgroup and get the contacts for each, or does it only use the contact list defined under the service definition? -------------- next part -------------- An HTML attachment was scrubbed... URL: From frcaen at gmail.com Thu May 11 18:47:15 2006 From: frcaen at gmail.com (Francois Caen) Date: Thu, 11 May 2006 09:47:15 -0700 Subject: How Nagios determines who to contact..... In-Reply-To: References: Message-ID: <58cfe2840605110947h79e316a5i5e8ae4dcd1e72b0c@mail.gmail.com> On 5/11/06, Janet Post wrote: > If a service goes down, does it only contact the contact_groups assigned in > the service definition? Does it contact any of the contact_groups > associated with the hosts defined in the service as well? I think you'll find the answer you need here: http://nagios.sourceforge.net/docs/2_0/notifications.html -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SStringh at lrlaw.com Thu May 11 19:25:18 2006 From: SStringh at lrlaw.com (Stringham, Steven) Date: Thu, 11 May 2006 10:25:18 -0700 Subject: Alerts - Verbal notification - via phone Message-ID: <02E1DED3441C5943805370DEB17C877CF36D11@LRPHXEX1.lrlaw.com> Has anybody out there configured Nagios to alert via telephone? I don't mean like a SMS message or the like. I figure I am more likely to answer my home phone ringing at 0 dark hundred than my cell phone's little email beeps. Also, that would let me alert others that are not actively watching the cellphone, blackberry, etc. I want the system to call my home phone and tell me: "This is your friendly office Nagios system. Host X is down - service Y is not running. The time is now 02:43. Get your butt out of bed and fix it!" I am thinking an interface with something like Asterisk might work. But, not having set up Asterisk before, I am not quite sure where to go. So, I plan on working on getting into it. I have found one other application that did something like this, and when I demod it, the voice quality really stunk, and I could not configure what it said, etc. And, I did not like the monitor aspect of it as well as I like Nagios. Just wondering if I am reinventing the wheel, or does someone has a spare in the garage? ---- For more information about Lewis and Roca LLP, please go to www.lewisandroca.com. Phoenix (602) 262-5311 Tucson (520) 622-2090 Las Vegas (702) 949-8200 Reno (775) 770-2600 Albuquerque (505) 764-5400 This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail by return E-Mail or by telephone. In accordance with Internal Revenue Service Circular 230, we advise you that if this email contains any tax advice, such tax advice was not intended or written to be used, and it cannot be used, by any taxpayer for the purpose of avoiding penalties that may be imposed on the taxpayer. -------------- next part -------------- An HTML attachment was scrubbed... URL: From frcaen at gmail.com Thu May 11 19:54:05 2006 From: frcaen at gmail.com (Francois Caen) Date: Thu, 11 May 2006 10:54:05 -0700 Subject: Alerts - Verbal notification - via phone In-Reply-To: <02E1DED3441C5943805370DEB17C877CF36D11@LRPHXEX1.lrlaw.com> References: <02E1DED3441C5943805370DEB17C877CF36D11@LRPHXEX1.lrlaw.com> Message-ID: <58cfe2840605111054u7261702cp53ca5852350cd824@mail.gmail.com> On 5/11/06, Stringham, Steven wrote: > I am thinking an interface with something like Asterisk might work. But, not having set up Asterisk before, I am not quite sure where to go. So, I plan on working on getting into it. I haven't done this myself, but if you need voice synthesis, the leader on linux is Festival. When you get it all worked out, tell us how you did it :) -- Francois Caen, RHCE, CCNA SpiderMaker, LLC ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From klausman at schwarzvogel.de Thu May 11 20:02:42 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Thu, 11 May 2006 20:02:42 +0200 Subject: Alerts - Verbal notification - via phone In-Reply-To: <02E1DED3441C5943805370DEB17C877CF36D11@LRPHXEX1.lrlaw.com> References: <02E1DED3441C5943805370DEB17C877CF36D11@LRPHXEX1.lrlaw.com> Message-ID: <20060511180242.GA13187@eric.schwarzvogel.de> Hi! On Thu, 11 May 2006, Stringham, Steven wrote: > Has anybody out there configured Nagios to alert via telephone? > I don't mean like a SMS message or the like. I figure I am more > likely to answer my home phone ringing at 0 dark hundred than > my cell phone's little email beeps. Also, that would let me > alert others that are not actively watching the cellphone, > blackberry, etc. Yes, we run a setup like this for precisely the same reasons. > I want the system to call my home phone and tell me: "This is > your friendly office Nagios system. Host X is down - service Y > is not running. The time is now 02:43. Get your butt out of bed > and fix it!" Ours is not quite as... colorful :) > I am thinking an interface with something like Asterisk might > work. But, not having set up Asterisk before, I am not quite > sure where to go. So, I plan on working on getting into it. Here's where my knowledge ends, unfortunately. The system we use is run by an entirely different company (inside the same corporation) and our interface consists of sending well-formatted mails. On top, it's a commercial software they use and as its used for quite powerful applications (like menu systems and informational phone systems in the area of several hundred concurrent users), it probably is prohibitively expensive for your use-case. But read on for another idea. > I have found one other application that did something like this, and > when I demod it, the voice quality really stunk, and I could not > configure what it said, etc. And, I did not like the monitor aspect of > it as well as I like Nagios. > > Just wondering if I am reinventing the wheel, or does someone has a > spare in the garage? I guess one area where you might find *nearly* what you need might be software answering machines, especially in the ISDN world. I privately use CAPISuite for my answering machine. I think coupling that with (say) Festival/mbrola etc. might just work for you. I don't know about their speech quality though. Hope this helps a bit, Tobias -- You don't need eyes to see, you need vision. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From moshesharon at gmail.com Thu May 11 20:03:39 2006 From: moshesharon at gmail.com (moshe sharon) Date: Thu, 11 May 2006 20:03:39 +0200 Subject: [Nagios-devel] Defining services at runtime In-Reply-To: References: <61110.216.49.181.128.1147356489.squirrel@webmail.netshel.net> Message-ID: <88ad29240605111103x4602e571tcd379a7236ec8af7@mail.gmail.com> Hello i dont know if it helps but there is a plugins called check_find_new_hosts at nagiosexchange http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=275 basically it adds new hosts to nagios when it runs. i did not test it and im not sure about services but im pretty sure it can be extended to do what you need Hope it helped Moshe Sharon On 5/11/06, Sam Stickland wrote: > > Thanks for your reply Bob. > > Comments are inline. > > > -----Original Message----- > > From: nagios-devel-admin at lists.sourceforge.net [mailto:nagios-devel- > > admin at lists.sourceforge.net] On Behalf Of Bob Ingraham > > Sent: 11 May 2006 15:08 > > To: Sam Stickland > > Cc: nagios-devel at lists.sourceforge.net > > Subject: RE: [Nagios-devel] Defining services at runtime > > > > > > > > * Create for existing services > > > > > > I notice that Nagios-db gets it's configuration information from the > > > following callback: > > > > > > Which callback were you thinking of? > > The message got sent too early first time around. The second message > didn't > mention this :) > > > > * Create a new service check > > > > > > nebstructs.h defines a struct "nebstruct_service_check_struct". > However, > > > this seems to be the only place this struct is referred to in the > header > > > files. How do I pass a completed struct to Nagios? > > > > > > It looks reality straight forward to work out how to fill out this > > struct, > > > but "char *host_name;" could be a problem. The plugin is only going to > > > know > > > the host address, so I'll need a way to get a hostname from an > address. > > > > You can't add a service to Nagios using the > > nebstruct_service_check_struct; in fact you can't add anything to Nagios > > using any of the nebstruct_* structure. They are one-way, informational > > only - passed down to your module. When your module returns, Nagios > never > > examines the structure that it passed to you for changes. > > > > The way to add a service from within a NEB module would be to call the > > internal "add_service()" function. It's the same one that Nagios uses > to > > add services during configuration load. > > > > The API for the add_service() function is: > > OK, that makes sense. Of course, the need to get the host_name from the > host > address still remains. > > > However, you have a significant problem with your above strategy: > > > > So, you have a timing issue: > > > One strategy might be to have your service_check either: > > > > - Return the list of services it wants created as a result string > > (although, you might not have enough space to do so on one line,) and > then > > have your callback routine create services based on the contents of the > > results string, or > > > > - Your service check writes it results to a temp file or IPC message > queue > > or some such, and your callback routine then reads this file (or from > the > > message queue,) and creates the services based upon that information > > source. > > > > I'm sure that there are many other ways to do this... > > > > Anyway, anyone please correct me if I'm off on any of this, but that's > how > > I understand the way the callback routine mechanism works. > > Yes, I understand the issue here. The code here > > http://www.louisville.edu/~tjande01/nagios/exthandler.c > > uses a schedule_new_event callback that executes once a second in order to > handle the socket code. Personally, I'd prefer to spawn a new thread to > handle the socket communication with the check-command. This ties into the > last thing that got missed off my original email that is: > > * Submit passive service check results > > The old school method of doing this is via the external command file, but > I > presume the new API has a method of doing this? There's some functions in > broker.h that look like likely candidates, but they don't even have basic > comments ;) (e.g. broker_service_check). > > The check-command that reports back to the broker module would only return > state based on its ability to reach the switch and to talk to the broker > module. > > Sam > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-devel mailing list > Nagios-devel at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-devel > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhmartin at toger.us Thu May 11 20:07:16 2006 From: jhmartin at toger.us (Jason Martin) Date: Thu, 11 May 2006 11:07:16 -0700 Subject: [Nagios-devel] Defining services at runtime In-Reply-To: <88ad29240605111103x4602e571tcd379a7236ec8af7@mail.gmail.com> References: <61110.216.49.181.128.1147356489.squirrel@webmail.netshel.net> <88ad29240605111103x4602e571tcd379a7236ec8af7@mail.gmail.com> Message-ID: <20060511180716.GC11678@mal.toger.us> On Thu, May 11, 2006 at 08:03:39PM +0200, moshe sharon wrote: > i dont know if it helps but there is a plugins called check_find_new_hosts > at nagiosexchange > http://www.nagiosexchange.org/Networking.53.0.html?&tx_netnagext_pi1[p_view]=275 > > basically it adds new hosts to nagios when it runs. i did not test it and im > not sure about services but im pretty sure it can be extended > to do what you need Keep in mind that this isn't a "runtime" change, rather it is a plugin that rewrites your config files and HUPs nagios. It is a significant difference. -Jason Martin > Hope it helped > Moshe Sharon > > On 5/11/06, Sam Stickland wrote: > > > >Thanks for your reply Bob. > > > >Comments are inline. > > > >> -----Original Message----- > >> From: nagios-devel-admin at lists.sourceforge.net [mailto:nagios-devel- > >> admin at lists.sourceforge.net] On Behalf Of Bob Ingraham > >> Sent: 11 May 2006 15:08 > >> To: Sam Stickland > >> Cc: nagios-devel at lists.sourceforge.net > >> Subject: RE: [Nagios-devel] Defining services at runtime > > > > > >> > > >> > * Create for existing services > >> > > >> > I notice that Nagios-db gets it's configuration information from the > >> > following callback: > >> > >> > >> Which callback were you thinking of? > > > >The message got sent too early first time around. The second message > >didn't > >mention this :) > > > >> > * Create a new service check > >> > > >> > nebstructs.h defines a struct "nebstruct_service_check_struct". > >However, > >> > this seems to be the only place this struct is referred to in the > >header > >> > files. How do I pass a completed struct to Nagios? > >> > > >> > It looks reality straight forward to work out how to fill out this > >> struct, > >> > but "char *host_name;" could be a problem. The plugin is only going to > >> > know > >> > the host address, so I'll need a way to get a hostname from an > >address. > >> > >> You can't add a service to Nagios using the > >> nebstruct_service_check_struct; in fact you can't add anything to Nagios > >> using any of the nebstruct_* structure. They are one-way, informational > >> only - passed down to your module. When your module returns, Nagios > >never > >> examines the structure that it passed to you for changes. > >> > >> The way to add a service from within a NEB module would be to call the > >> internal "add_service()" function. It's the same one that Nagios uses > >to > >> add services during configuration load. > >> > >> The API for the add_service() function is: > > > >OK, that makes sense. Of course, the need to get the host_name from the > >host > >address still remains. > > > >> However, you have a significant problem with your above strategy: > > > > > >> So, you have a timing issue: > > > >> One strategy might be to have your service_check either: > >> > >> - Return the list of services it wants created as a result string > >> (although, you might not have enough space to do so on one line,) and > >then > >> have your callback routine create services based on the contents of the > >> results string, or > >> > >> - Your service check writes it results to a temp file or IPC message > >queue > >> or some such, and your callback routine then reads this file (or from > >the > >> message queue,) and creates the services based upon that information > >> source. > >> > >> I'm sure that there are many other ways to do this... > >> > >> Anyway, anyone please correct me if I'm off on any of this, but that's > >how > >> I understand the way the callback routine mechanism works. > > > >Yes, I understand the issue here. The code here > > > >http://www.louisville.edu/~tjande01/nagios/exthandler.c > > > >uses a schedule_new_event callback that executes once a second in order to > >handle the socket code. Personally, I'd prefer to spawn a new thread to > >handle the socket communication with the check-command. This ties into the > >last thing that got missed off my original email that is: > > > >* Submit passive service check results > > > >The old school method of doing this is via the external command file, but > >I > >presume the new API has a method of doing this? There's some functions in > >broker.h that look like likely candidates, but they don't even have basic > >comments ;) (e.g. broker_service_check). > > > >The check-command that reports back to the broker module would only return > >state based on its ability to reach the switch and to talk to the broker > >module. > > > >Sam > > > > > > > >------------------------------------------------------- > >Using Tomcat but need to do more? Need to support web services, security? > >Get stuff done quickly with pre-integrated technology to make your job > >easier > >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >_______________________________________________ > >Nagios-devel mailing list > >Nagios-devel at lists.sourceforge.net > >https://lists.sourceforge.net/lists/listinfo/nagios-devel > > -- How many weeks are there in a light year? This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From chad.osmond at holburn.com Thu May 11 20:24:21 2006 From: chad.osmond at holburn.com (Chad Osmond) Date: Thu, 11 May 2006 14:24:21 -0400 Subject: Alerts - Verbal notification - via phone Message-ID: I've been thinking about this for a while.. It's a pretty easy thing to setup believe it or not. Here is what you need to do: Use Asterisk Have Nagios create a text file containing the error message: "Host X is down - service Y is not running" Place that in /tmp/nagios-error Create a .call file that dials out over a SIP provider, ATA Device, or FXO card, (OR T1 if you're really serious) that will dial your phone, and connect you to an extension (with recorded voice messages) that says there is a problem, press 1 to hear the problem, 2 to acknowledge the problem, 3 to call the next person on the list and so on.. Then listen for input. If they press 1, have Festival play the /tmp/nagios-error message and return. If they press 2, acknowledge the problem and don't call the next person on the list.. If they press 3, generate another call file with a different phone number. I happen to value my sleep more then any non-redundant servers, so I haven't implemented it here, but we do consulting and run both asterisk and nagios in-house if you're interested in getting some help. Chad ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Stringham, Steven Sent: May 11, 2006 1:25 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Alerts - Verbal notification - via phone Has anybody out there configured Nagios to alert via telephone? I don't mean like a SMS message or the like. I figure I am more likely to answer my home phone ringing at 0 dark hundred than my cell phone's little email beeps. Also, that would let me alert others that are not actively watching the cellphone, blackberry, etc. I want the system to call my home phone and tell me: "This is your friendly office Nagios system. Host X is down - service Y is not running. The time is now 02:43. Get your butt out of bed and fix it!" I am thinking an interface with something like Asterisk might work. But, not having set up Asterisk before, I am not quite sure where to go. So, I plan on working on getting into it. I have found one other application that did something like this, and when I demod it, the voice quality really stunk, and I could not configure what it said, etc. And, I did not like the monitor aspect of it as well as I like Nagios. Just wondering if I am reinventing the wheel, or does someone has a spare in the garage? ---- For more information about Lewis and Roca LLP, please go to www.lewisandroca.com. Phoenix (602) 262-5311 Tucson (520) 622-2090 Las Vegas (702) 949-8200 Reno (775) 770-2600 Albuquerque (505) 764-5400 This message is intended only for the use of the individual or entity to which it is addressed. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the sender of this E-Mail by return E-Mail or by telephone. In accordance with Internal Revenue Service Circular 230, we advise you that if this email contains any tax advice, such tax advice was not intended or written to be used, and it cannot be used, by any taxpayer for the purpose of avoiding penalties that may be imposed on the taxpayer. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brad.clemmons at gmail.com Thu May 11 20:30:56 2006 From: brad.clemmons at gmail.com (Brad Clemmons Jr) Date: Thu, 11 May 2006 14:30:56 -0400 Subject: Not Found ..... tac.cgi was not found on this server Message-ID: <51e7ae840605111130s44667f16r4f819a5c05d9b554@mail.gmail.com> The problem starts when I click on any of the sidebar links that are supposed to take me to things like the status maps etc. I get the following error in the browser: Not Found The requested URL /opt/nagios/cgi-bin/tac.cgi was not found on this server.________________________________ Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 mod_perl/1.999.21 Perl/v5.8.4 Server at xxx.xxx.xxx.xxx Port XX I didn't see any errors when I finished the configure and install. I navigated to the web site using Firefox and all appeared to be working. I have a basic Nagios welcome page with the side bar and links etc... All of the faq's, and websites I have checked so far all point to not having the GD libraries installed. I have them installed though. I don't see anything missing here. /opt/nagios/sbin$ ldd tac.cgi libc.so.6 => /lib/libc.so.6 (0x40026000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) /opt/nagios/sbin# ldd statusmap.cgi libgd.so.2 => /usr/lib/libgd.so.2 (0x40026000) libpng12.so.0 => /usr/lib/libpng12.so.0 (0x40076000) libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x4009b000) libz.so.1 => /usr/lib/libz.so.1 (0x400ba000) libm.so.6 => /lib/libm.so.6 (0x400cc000) libc.so.6 => /lib/libc.so.6 (0x400ee000) libpthread.so.0 => /lib/libpthread.so.0 (0x40221000) libXpm.so.4 => /usr/X11R6/lib/libXpm.so.4 (0x40272000) libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x40282000) libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x4034a000) libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x40379000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) libdl.so.2 => /lib/libdl.so.2 (0x403e6000) libexpat.so.1 => /usr/lib/libexpat.so.1 (0x403e9000) Here is the alias related portion from my apache2.conf (httpd.conf): ScriptAlias /nagios/cgi-bin /opt/nagios/sbin AllowOverride None Options ExecCGI Order allow,deny Allow from all Alias /nagios /opt/nagios/share AllowOverride None Options None Order allow,deny Allow from all Yes I know I don't have any auth stuff set in there yet. I just want to get the darn thing working first (plus I'm already on a fairly secure internal network). I also verified that the cgi's are actually there and both the nagios user and the web server user have access to them. Any help is greatly appreciated. -Brad -------------- next part -------------- An HTML attachment was scrubbed... URL: From boinger at tradingtechnologies.com Thu May 11 20:43:08 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 11 May 2006 13:43:08 -0500 Subject: R: R: acknowledge In-Reply-To: <00e301c6750f$c93375f0$0900d40a@intranet.it.net> References: <00e301c6750f$c93375f0$0900d40a@intranet.it.net> Message-ID: <1147372988.25684.121.camel@localhost> On Thu, 2006-05-11 at 17:30 +0200, Marco Borsani wrote: > -}On Thu, 2006-05-11 at 17:01 +0200, Marco Borsani wrote: > -}> Well... > -}> > -}> I try link you suggested me, but I do not understand how it > -}can help me.... > -} > -}You said "My target is to reduce the number of CRITICAL flags > -}on the Nagios Web Page." > -} > -}I'm giving you a quick, easy, and "correct" way to accomplish this. > > Yes, but I still see them in the box "Service Status Tools? Without some minor CGI hacking, yes. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From boinger at tradingtechnologies.com Thu May 11 20:56:31 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 11 May 2006 13:56:31 -0500 Subject: R: acknowledge In-Reply-To: References: <00d301c6750b$d36f61e0$0900d40a@intranet.it.net> <1147360894.25684.119.camel@localhost> Message-ID: <1147373791.25684.136.camel@localhost> On Thu, 2006-05-11 at 18:21 +0200, Hugo van der Kooij wrote: > On Thu, 11 May 2006, jeff vier wrote: > > > On Thu, 2006-05-11 at 17:01 +0200, Marco Borsani wrote: > > > Well... > > > > > > I try link you suggested me, but I do not understand how it can help me.... > > > > You said "My target is to reduce the number of CRITICAL flags on the > > Nagios Web Page." > > Come to think of it. I find this a rather peculiar target. I would say > solving the problem is your target and getting all green accross the board > with Nagios is the way to show it. > > Just getting everything green without solving the problem sounds rather > shortsighted to me. Why bother to perform the checks? Just show some > greenish static pictures and everyone is happy. I bet you can even reduce > staff. For us, the problem is that with over 6,000 services and 5 different teams (Software, Networking, Infrastructure, Unix Administration, and Internal Development) all working with the same monitoring system, having the screens in the NOC showing problems that are already being actively worked on would be horribly annoying. For instance, the Network Team sees an alert about a router being down - before the router goes to Hard Down, though, 4 services get to a Soft Critical. They are on the problem and dealing with it, so they Ack it. The Software Team doesn't need to keep staring at the problem on the projectors at the front of the NOC, so such filtering allows a much more useful front screen. Not to mention, over here, that router is very likely at a client site, and they powered it off (either on accident or just without telling us) and we CAN'T fix it ourselves. And what about Downtime? We have Windows servers that need updates and whatnot - when they're in Downtime and go all-red, the NOC doesn't need to see that crap. And what about hardware failures on a primary server that gets temporarily swapped with an on-site spare? We don't need to see all-red spare servers for a week before they're replaced. Not to mention, our NOC is a "show piece" when the execs are touring clients around to show them how we watch the services we provide them. Having a bunch of Red/Yellow/Orange up there is no good, if we can help it. When we were <10 people (3 years ago) and worked in a room with no windows, this wasn't necessary (only about 600 or 800 services then, too). Now we're over thirty (closer to forty) people, a partially-glass-walled, tiered NOC and have the aforementioned 6,000+ services (and another thousand or so going in in the next month with more clients coming on board). So, it's all an issue of scale and what the needs of the individual team (or teams) need and want. Of course, it would just be easier if everything just stayed green, though :) -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From Janet.Post at excapsa.ca Thu May 11 21:08:14 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 11 May 2006 15:08:14 -0400 Subject: host and service lists in some cgi's Message-ID: Hello again all, Now I am having a different problem: A number of my cgi's are not able to see my hosts or services. For example: the statusmap.cgi has an empty "Drawing Layers" box. The statuswrl.cgi can draw my network fine. Trends.cgi, avail.cgi, and histogram.cgi all show empty host and service boxes, but summary.cgi fills in all the boxes perfectly. I am running version 1.3 (on mysql). It is not a rights issue, because I can see all the hosts and services, and issue commands. Any suggestions? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Thu May 11 21:12:03 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Thu, 11 May 2006 15:12:03 -0400 Subject: host and service lists in some cgi's Message-ID: Sorry -- I should have been more clear here: boxes = drop-down menus. :-) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Janet Post Sent: May 11, 2006 3:08 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] host and service lists in some cgi's Hello again all, Now I am having a different problem: A number of my cgi's are not able to see my hosts or services. For example: the statusmap.cgi has an empty "Drawing Layers" box. The statuswrl.cgi can draw my network fine. Trends.cgi, avail.cgi, and histogram.cgi all show empty host and service boxes, but summary.cgi fills in all the boxes perfectly. I am running version 1.3 (on mysql). It is not a rights issue, because I can see all the hosts and services, and issue commands. Any suggestions? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Thu May 11 22:40:51 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 11 May 2006 15:40:51 -0500 Subject: Minor timeperiods question. Message-ID: <1147380051.25684.176.camel@localhost> The question is the midnight minute. Which is correct? define timeperiod { timeperiod_name thirdshift alias Third Shift sunday 23:00-24:00 monday 00:00-08:00,23:00-24:00 tuesday 00:00-08:00,23:00-24:00 wednesday 00:00-08:00,23:00-24:00 thursday 00:00-08:00,23:00-24:00 friday 00:00-08:00 } OR define timeperiod { timeperiod_name thirdshift alias Third Shift sunday 23:00-23:59 monday 00:00-08:00,23:00-23:59 tuesday 00:00-08:00,23:00-23:59 wednesday 00:00-08:00,23:00-23:59 thursday 00:00-08:00,23:00-23:59 friday 00:00-08:00 } Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From boinger at tradingtechnologies.com Thu May 11 22:52:03 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Thu, 11 May 2006 15:52:03 -0500 Subject: Minor timeperiods question. In-Reply-To: <92803D5088947D4A979898CC8E835C442C7696@XMAIL.norwich.edu> References: <92803D5088947D4A979898CC8E835C442C7696@XMAIL.norwich.edu> Message-ID: <1147380723.25684.177.camel@localhost> On Thu, 2006-05-11 at 16:46 -0400, James E. Pratt wrote: > The first one - 24:00 is midnight. (00:01 is 12:01am etc etc) Right, but isn't "00:00" the same thing as "24:00"? > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier > Sent: Thursday, May 11, 2006 4:41 PM > To: nagios-users > Subject: [Nagios-users] Minor timeperiods question. > > The question is the midnight minute. > > Which is correct? > > define timeperiod { > timeperiod_name thirdshift > alias Third Shift > sunday 23:00-24:00 > monday 00:00-08:00,23:00-24:00 > tuesday 00:00-08:00,23:00-24:00 > wednesday 00:00-08:00,23:00-24:00 > thursday 00:00-08:00,23:00-24:00 > friday 00:00-08:00 > } > > > OR > > define timeperiod { > timeperiod_name thirdshift > alias Third Shift > sunday 23:00-23:59 > monday 00:00-08:00,23:00-23:59 > tuesday 00:00-08:00,23:00-23:59 > wednesday 00:00-08:00,23:00-23:59 > thursday 00:00-08:00,23:00-23:59 > friday 00:00-08:00 > } > > > Thanks. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From hvdkooij at vanderkooij.org Fri May 12 00:11:24 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 12 May 2006 00:11:24 +0200 (CEST) Subject: Not Found ..... tac.cgi was not found on this server In-Reply-To: <51e7ae840605111130s44667f16r4f819a5c05d9b554@mail.gmail.com> References: <51e7ae840605111130s44667f16r4f819a5c05d9b554@mail.gmail.com> Message-ID: On Thu, 11 May 2006, Brad Clemmons Jr wrote: > The problem starts when I click on any of the sidebar links that are > supposed to take me to things like the status maps etc. I get the following > error in the browser: > Not Found > The requested URL /opt/nagios/cgi-bin/tac.cgi was not found on this > server.________________________________ > Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 > mod_perl/1.999.21 Perl/v5.8.4 Server at xxx.xxx.xxx.xxx Port XX Sound like you did not use the proper options when you ran ./configure so you are not generating the proper URL. Plase read: http://nagios.sourceforge.net/docs/2_0/installing.html Section "Run the Configure Script" Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri May 12 00:43:38 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 12 May 2006 00:43:38 +0200 (CEST) Subject: R: acknowledge In-Reply-To: <1147373791.25684.136.camel@localhost> References: <00d301c6750b$d36f61e0$0900d40a@intranet.it.net> <1147360894.25684.119.camel@localhost> <1147373791.25684.136.camel@localhost> Message-ID: On Thu, 11 May 2006, jeff vier wrote: > On Thu, 2006-05-11 at 18:21 +0200, Hugo van der Kooij wrote: > > On Thu, 11 May 2006, jeff vier wrote: > > > > > On Thu, 2006-05-11 at 17:01 +0200, Marco Borsani wrote: > > > > Well... > > > > > > > > I try link you suggested me, but I do not understand how it can help me.... > > > > > > You said "My target is to reduce the number of CRITICAL flags on the > > > Nagios Web Page." > > > > Come to think of it. I find this a rather peculiar target. I would say > > solving the problem is your target and getting all green accross the board > > with Nagios is the way to show it. > > > > Just getting everything green without solving the problem sounds rather > > shortsighted to me. Why bother to perform the checks? Just show some > > greenish static pictures and everyone is happy. I bet you can even reduce > > staff. > > For us, the problem is that with over 6,000 services and 5 different > teams (Software, Networking, Infrastructure, Unix Administration, and > Internal Development) all working with the same monitoring system, > having the screens in the NOC showing problems that are already being > actively worked on would be horribly annoying. I don't think the TAC view is meant for this. I would expect a NOC to use the host and service views with the proper filter. Pretty much like the default "Service Problems" and "Host Problems" menu items. If Nagios is this important to you it should not be that hard to find someone to write a tac.cgi variant with your custom filters build in or available as option. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonr at destar.net Fri May 12 03:09:09 2006 From: jonr at destar.net (jonr at destar.net) Date: Thu, 11 May 2006 17:09:09 -0800 Subject: Hide certain 'Criticals' Message-ID: <1147396149.4463e0358c83d@www.destar.net> We have some devices that are in remote villages that we monitor. For whatever reason the customer will unplug the device and it will show up 'CRITICAL' on our end. These customers will sometimes leave these devices off for extended periods of time, weeks to months. I would like to be able to acknowledge that the device is down and be able to remove it from our view. Only when the device comes back online then again goes offline it would reset the acknowledgment and again show it on the screen as 'CRITICAL' until it is acknowledged again. I have acknowledged the problem but the device still shows up on the screen in a 'CRITICAL' state. I have obviously misinterpreted the docs and this does not work like I had assumed. I'm I just missing the obvious or is there more to it than what I am understanding? Thanks for any help, Jon ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 03:36:23 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Fri, 12 May 2006 13:36:23 +1200 Subject: Hide certain 'Criticals' In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90F049@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90F049@vxchange.vcr.auckland.ac.nz> Message-ID: <008801c67564$7abc54a0$8ea8d882@UoA.auckland.ac.nz> > I would like to be able to acknowledge that the device is > down and be able to remove it from our view. Only when the > device comes back online then again goes offline it would > reset the acknowledgment and again show it on the screen as > 'CRITICAL' until it is acknowledged again. > > I have acknowledged the problem but the device still shows up > on the screen in a 'CRITICAL' state. I have obviously > misinterpreted the docs and this does not work like I had assumed. You could set your view to filter out acknowledged alerts? This is an undocumented option to status.cgi. Alternatively, just disable alerts permanently and manually enable later, and filter disabled alerts out on the view (this is what we do here) Steve ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonr at destar.net Fri May 12 04:59:57 2006 From: jonr at destar.net (jonr at destar.net) Date: Thu, 11 May 2006 18:59:57 -0800 Subject: Hide certain 'Criticals' In-Reply-To: <008801c67564$7abc54a0$8ea8d882@UoA.auckland.ac.nz> References: <008801c67564$7abc54a0$8ea8d882@UoA.auckland.ac.nz> Message-ID: <1147402797.4463fa2d8a383@www.destar.net> Quoting Steve Shipway : > > I would like to be able to acknowledge that the device is > > down and be able to remove it from our view. Only when the > > device comes back online then again goes offline it would > > reset the acknowledgment and again show it on the screen as > > 'CRITICAL' until it is acknowledged again. > > > > I have acknowledged the problem but the device still shows up > > on the screen in a 'CRITICAL' state. I have obviously > > misinterpreted the docs and this does not work like I had assumed. > > You could set your view to filter out acknowledged alerts? This is an > undocumented option to status.cgi. Alternatively, just disable alerts > permanently and manually enable later, and filter disabled alerts out on the > view (this is what we do here) > > Steve Thanks for the reply Steve, how would I filter out the acknowledged alerts? After filtering them out, how would I know that they have recovered, does it reset the acknowledgment when a device comes back online? Jon ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Roberto.Raffo at enterpriseda.com Fri May 12 11:14:24 2006 From: Roberto.Raffo at enterpriseda.com (Roberto Raffo) Date: Fri, 12 May 2006 11:14:24 +0200 Subject: Nagios and Perfparse integration problem Message-ID: Hi folks! We use Nagios to monitor approximately 120 hosts with a total of 400 checks. This worked fine but when we have installed perfparse many checks appear to have problems. In some cases they are rescheduled without produce output. In other cases they simply do not work without even be rescheduled. Only a few checks go on working correctly, but, after a few hours, all the ckecks appear to stop working and rescheduling. The worse thing is that no error message is recorded on the event log. Other informations: - We use Nagios 2.1 and Perfparse 0.105.6. - Perfparse is scheduled in crontab every 10 minutes. Any ideas? Roberto Raffo Application & Service Providing ---------------------------------------- Via Galbani, n? 55 00156 - Roma roberto.raffo at enterpriseda.com www.enterpriseda.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.gif Type: image/gif Size: 3029 bytes Desc: image001.gif URL: From miguelfa at eu.skechers.com Fri May 12 11:31:06 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Fri, 12 May 2006 10:31:06 +0100 Subject: Problems with check_disk_smb Message-ID: <446455DA.9060304@eu.skechers.com> Hi Guys, I recently installed Nagios 2.3 along-side the old Nagios 1.2. On the 1.2 the check_disk_smb script works fine, but on the 2.3 it gives the error 'invalid share name ....'. I run the the command using the 2.3's version of the script and it works fine. Am I missing something here? Thanks, -- Miguel Faria IT department - Skechers USA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miguelfa at eu.skechers.com Fri May 12 11:51:25 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Fri, 12 May 2006 10:51:25 +0100 Subject: Minor timeperiods question. In-Reply-To: <1147380051.25684.176.camel@localhost> References: <1147380051.25684.176.camel@localhost> Message-ID: <44645A9D.6040003@eu.skechers.com> Why not try 23:00 - 08:00? It may work even when the day changes. jeff vier wrote: > The question is the midnight minute. > > Which is correct? > > define timeperiod { > timeperiod_name thirdshift > alias Third Shift > sunday 23:00-24:00 > monday 00:00-08:00,23:00-24:00 > tuesday 00:00-08:00,23:00-24:00 > wednesday 00:00-08:00,23:00-24:00 > thursday 00:00-08:00,23:00-24:00 > friday 00:00-08:00 > } > > > OR > > define timeperiod { > timeperiod_name thirdshift > alias Third Shift > sunday 23:00-23:59 > monday 00:00-08:00,23:00-23:59 > tuesday 00:00-08:00,23:00-23:59 > wednesday 00:00-08:00,23:00-23:59 > thursday 00:00-08:00,23:00-23:59 > friday 00:00-08:00 > } > > > Thanks. > -- Miguel Faria IT department - Skechers USA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From miguelfa at eu.skechers.com Fri May 12 12:42:15 2006 From: miguelfa at eu.skechers.com (Miguel Faria) Date: Fri, 12 May 2006 11:42:15 +0100 Subject: Problems with check_disk_smb In-Reply-To: References: <446455DA.9060304@eu.skechers.com> Message-ID: <44646687.8080707@eu.skechers.com> Ok, script definition: #'check_disk_smb command definition define command{ command_name check_disk_smb command_line * $USER1$/check_disk_smb -H $HOSTADDRESS$ -s $ARG1$ -u $ARG2$ -p $ARG3$* } on the service: define service{ use generic-service ; Name of service template to use host_name zhost service_description d Free Space is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 120 retry_check_interval 1 contact_groups eu-admin notification_interval 120 notification_period 24x7 notification_options c check_command *check_disk_smb!d$!nxx!lxx* } The host definition is fine as I am using the ping service and there is not problem. The username/password are the same as I am using on 1.2. Again just to mention running this on the command prompt it works fine. Perhaps a CGI setting? Thanks, Hugo van der Kooij wrote: > On Fri, 12 May 2006, Miguel Faria wrote: > > >> I recently installed Nagios 2.3 along-side the old Nagios 1.2. On the >> 1.2 the check_disk_smb script works fine, but on the 2.3 it gives the >> error 'invalid share name ....'. I run the the command using the 2.3's >> version of the script and it works fine. >> >> Am I missing something here? >> > > Perhaps. But you leave us in the blind on your setup. I suggest you > provide the nescessary details. I sure we are missing everything. > > Hugo. > > -- Miguel Faria IT department - Skechers USA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Fri May 12 14:22:51 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Fri, 12 May 2006 14:22:51 +0200 Subject: checking/limiting event handler execution Message-ID: <44647E1B.10400@mailing.kaufland-informationssysteme.com> Hi list, I'm currently setting up service checks with event handlers. The special thing is that I need multiple checks for one service (two tcp ports and one http check) and the event handler has to restart the service if one check fails. The event could be called multiple times if more than one service fails. Do you think it is the right way to use check_cluster2 to prevent multiple handlers (meaning multiple restarts) to be executed? Only the service cluster has an event handler in this setup. Another question i have is: What would be the right way to determine if the service stops again some minutes after restarting? I want to send a notification after some restart attempts. Is the use of service flapping the right way? Is there an alternate possibility? thanks in advance matthias ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri May 12 14:54:48 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 12 May 2006 14:54:48 +0200 (CEST) Subject: Problems with check_disk_smb In-Reply-To: <44646687.8080707@eu.skechers.com> References: <446455DA.9060304@eu.skechers.com> <44646687.8080707@eu.skechers.com> Message-ID: On Fri, 12 May 2006, Miguel Faria wrote: > define command{ > command_name check_disk_smb > command_line * $USER1$/check_disk_smb -H $HOSTADDRESS$ -s > $ARG1$ -u $ARG2$ -p $ARG3$* > } This is not a valid commandline. Loose the * in front and in the back. And try to use a share name without the $ sign to see if does make a difference. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 12 16:00:38 2006 From: marc at ena.com (Marc Powell) Date: Fri, 12 May 2006 09:00:38 -0500 Subject: Hide certain 'Criticals' Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of jonr at destar.net > Sent: Thursday, May 11, 2006 10:00 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Hide certain 'Criticals' > > Quoting Steve Shipway : > > > > I would like to be able to acknowledge that the device is > > > down and be able to remove it from our view. Only when the > > > device comes back online then again goes offline it would > > > reset the acknowledgment and again show it on the screen as > > > 'CRITICAL' until it is acknowledged again. > > > > > > I have acknowledged the problem but the device still shows up > > > on the screen in a 'CRITICAL' state. I have obviously > > > misinterpreted the docs and this does not work like I had assumed. > > > > You could set your view to filter out acknowledged alerts? This is an > > undocumented option to status.cgi. Alternatively, just disable alerts > > permanently and manually enable later, and filter disabled alerts out on > the > > view (this is what we do here) > > > > Steve > > Thanks for the reply Steve, how would I filter out the acknowledged > alerts? You can go to the tactical overview and click on the 'xx Unhandled Problems' link to only show unhandled problems. To show both Unhandled Critical and Warning Service issues you could use a link like the following that combines both views -- http://your-nagios-host/nagios/cgi-bin/status.cgi?host=all&type=detail&s ervicestatustypes=20&hoststatustypes=3&serviceprops=42 > After filtering them out, how would I know that they have recovered, does > it > reset the acknowledgment when a device comes back online? Yes, it does. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From brad.clemmons at gmail.com Fri May 12 16:21:18 2006 From: brad.clemmons at gmail.com (Brad Clemmons Jr) Date: Fri, 12 May 2006 10:21:18 -0400 Subject: Not Found ..... tac.cgi was not found on this server In-Reply-To: References: <51e7ae840605111130s44667f16r4f819a5c05d9b554@mail.gmail.com> Message-ID: <51e7ae840605120721uddf9d96qec421913b35b854f@mail.gmail.com> I don't know. I can get to the html stuff. Just not the cgi. I double checked my ./configure log and it looks like it pointed the url's to the right place. At any rate, I think part of the problem was that I'm not familiar with apache2 which is what I have it running on at the moment. I've used apache before but not 2. I noticed a sites-enabled and sites-available folders in apache2. It looks like they're for extra configs and are brought into apache2 by Include statements in the apache2.conf. I just commented those Includes out and now the errors I saw in the apache2 error.log (show up the same time as the not found errors on the browser) are gone. However they have now been replaced with: [Fri May 12 09:08:44 2006] [error] [client 172.16.20.172] File does not exist: /htdocs, referer: http://172.16.20.99/nagios/side.html. So it looks like my problem is more with my apache config than the nagios config. On 5/11/06, Hugo van der Kooij wrote: > > On Thu, 11 May 2006, Brad Clemmons Jr wrote: > > > The problem starts when I click on any of the sidebar links that are > > supposed to take me to things like the status maps etc. I get the > following > > error in the browser: > > Not Found > > The requested URL /opt/nagios/cgi-bin/tac.cgi was not found on this > > server.________________________________ > > Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 > PHP/4.3.10-16 > > mod_perl/1.999.21 Perl/v5.8.4 Server at xxx.xxx.xxx.xxx Port XX > > Sound like you did not use the proper options when you ran ./configure so > you are not generating the proper URL. > > Plase read: http://nagios.sourceforge.net/docs/2_0/installing.html > Section "Run the Configure Script" > > Hugo. > > -- > I hate duplicates. Just reply to the relevant mailinglist. > hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ > Don't meddle in the affairs of magicians, > for they are subtle and quick to anger. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jonr at destar.net Fri May 12 21:30:16 2006 From: jonr at destar.net (jonr at destar.net) Date: Fri, 12 May 2006 11:30:16 -0800 Subject: Hide certain 'Criticals' In-Reply-To: References: Message-ID: <1147462216.4464e248a044c@www.destar.net> Quoting Marc Powell : > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of jonr at destar.net > > Sent: Thursday, May 11, 2006 10:00 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Hide certain 'Criticals' > >=20 > > Quoting Steve Shipway : > >=20 > > > > I would like to be able to acknowledge that the device is > > > > down and be able to remove it from our view. Only when the > > > > device comes back online then again goes offline it would > > > > reset the acknowledgment and again show it on the screen as > > > > 'CRITICAL' until it is acknowledged again. > > > > > > > > I have acknowledged the problem but the device still shows up > > > > on the screen in a 'CRITICAL' state. I have obviously > > > > misinterpreted the docs and this does not work like I had assumed. > > > > > > You could set your view to filter out acknowledged alerts? This is > an > > > undocumented option to status.cgi. Alternatively, just disable > alerts > > > permanently and manually enable later, and filter disabled alerts > out on > > the > > > view (this is what we do here) > > > > > > Steve > >=20 > > Thanks for the reply Steve, how would I filter out the acknowledged > > alerts? > > You can go to the tactical overview and click on the 'xx Unhandled > Problems' link to only show unhandled problems. To show both Unhandled > Critical and Warning Service issues you could use a link like the > following that combines both views -- > > http://your-nagios-host/nagios/cgi-bin/status.cgi?host=3Dall&type=3Ddetai= > l&s > ervicestatustypes=3D20&hoststatustypes=3D3&serviceprops=3D42 > > > After filtering them out, how would I know that they have recovered, > does > > it > > reset the acknowledgment when a device comes back online? > > Yes, it does. > > -- > Marc Thanks to everyone that answered my question. I got it figured out by creating a custom view then adding an icon to the web interface. Everything is working as expected now and acknowledgments will make the error disappear and it when it comes back online then goes back down it does show up again, very nice. This has raised another question that I will post into a new thread. Thanks again for all the help, Jon ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonr at destar.net Fri May 12 23:02:26 2006 From: jonr at destar.net (jonr at destar.net) Date: Fri, 12 May 2006 13:02:26 -0800 Subject: Acknowledging ports down on a swith Message-ID: <1147467746.4464f7e237047@www.destar.net> I have noticed that when ports on a switch go down, say ports 5 and 7, and I acknowledge this critical in my view, if port 3 and 4 go down on the same switch it will not bring the critical error back up. This is how I am testing it: I enable ports 7 and 9 on the switch, there is nothing connected into these ports so it throws up a service error. In the description for the service error it shows both ports 7 and 9 down. I then acknowledge this service error and it gets removed from my view. I then disable ports 3 and 4 and the error does not come back letting me know that there is a problem on different ports. I am using the check_ifstatus to query the switch, is there a better way of doing this or will I need to set up a service for each port? Thanks for any help, Jon ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri May 12 23:55:26 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 12 May 2006 23:55:26 +0200 (CEST) Subject: Scheduled Downtime Seg Fault Message-ID: <20060512215526.57EB74F476B@desire.netways.de> Hi All, We've recently upgraded to v2.2. For the most part, we're very happy with the Nagios product. However, there has been an outstanding problem that we keep hoping to see fixed. The Scheduled Downtime feature is unusable at our site because it often causes a seg fault, crashing Nagios, when exiting from scheduled downtime. The problem has been plauging us since we first tried Nagios, v1.2. It doesn't seem to be system specific since it fails on I64, x86, and zVm machines. The only common denominator is that we use some version of the SuSE OS on all our Nagios machines. Furthermore, the seg fault only occurs once in about 20 uses. Two questions: 1. Has anyone else seen this? 2. Is there any way to report this bug so a developer experienced with the code can look at it? Thanks for your attention. - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dschlecht at doit.nv.gov Fri May 12 18:24:45 2006 From: dschlecht at doit.nv.gov (David Schlecht) Date: Fri, 12 May 2006 18:24:45 +0200 (CEST) Subject: Scheduled Downtime Seg Fault Message-ID: <20060512162445.3C9F44F476B@desire.netways.de> Hi All, We've recently upgraded to v2.2. For the most part, we're very happy with the Nagios product. However, there has been an outstanding problem that we keep hoping to see fixed. The Scheduled Downtime feature is unusable at our site because it often causes a seg fault, crashing Nagios, when exiting from scheduled downtime. The problem has been plauging us since we first tried Nagios, v1.2. It doesn't seem to be system specific since it fails on I64, x86, and zVm machines. The only common denominator is that we use some version of the SuSE OS on all our Nagios machines. Furthermore, the seg fault only occurs once in about 20 uses. Two questions: 1. Has anyone else seen this? 2. Is there any way to report this bug so a developer experienced with the code can look at it? Thanks for your attention. - David Schlecht (dschl) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.garvey at gmail.com Fri May 12 23:26:47 2006 From: david.garvey at gmail.com (David Garvey) Date: Fri, 12 May 2006 14:26:47 -0700 Subject: David Garvey wants to chat Message-ID: <2e90c57d0605121426v675698f1q@mail.gmail.com> ----------------------------------------------------------------------- David Garvey wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-40d871d19a-aa1053b917-1dc429cdfff530dd You'll need to click this link to be able to chat with David Garvey. To get Gmail - a free email account from Google with over 2,600 megabytes of storage - and chat with David Garvey, visit: http://mail.google.com/mail/a-40d871d19a-aa1053b917-dec285d1cf Gmail offers: - Powerful spam protection - Built-in search for finding your messages and a helpful way of organizing emails into "conversations" - No pop-up ads or untargeted banners - just text ads and related information that are relevant to the content of your messages - Instant messaging capabilities right inside Gmail All this, and its yours for free. But wait, there's more! You can also get Google Talk: http://www.google.com/talk/ Its a small Windows* download that lets you make free calls to your friends through your computer. It's simple and clutter-free, and it works with any computer speaker and microphone. Gmail and Google Talk are still in beta. We're working hard to add new features and make improvements, so we might also ask for your comments and suggestions periodically. We appreciate your help in making our products even better! Thanks, The Google Team To learn more about Gmail and Google Talk, visit: http://mail.google.com/mail/help/about.html http://www.google.com/talk/about.html (If clicking the URLs in this message does not work, copy and paste them into the address bar of your browser). * Not a Windows user? No problem. You can also connect to the Google Talk service from any platform using third-party clients (http://www.google.com/talk/otherclients.html). ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.garvey at gmail.com Sat May 13 00:00:03 2006 From: david.garvey at gmail.com (David Garvey) Date: Fri, 12 May 2006 15:00:03 -0700 Subject: check_log In-Reply-To: <2e90c57d0605121403x37a8c823n89d45e7cb5489617@mail.gmail.com> References: <2e90c57d0605121403x37a8c823n89d45e7cb5489617@mail.gmail.com> Message-ID: <2e90c57d0605121500x1aeb52bbja0a32e48871a44e2@mail.gmail.com> Never mind... I can just check the age of the log with check_file_age.pl Thanks, David On 5/12/06, David Garvey wrote: > > Hello: Newbie question here: > > Is it possible to perform a check_log on a remote host and check to see if > the log tail is scrolling? I have a perl script to parse for strings but I > need to be able to identify if the logs are advancing? > > Many Thanks, > David > -- David Garvey cell# 510-209-9012 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nagios at lamp.xs4all.nl Sun May 14 12:34:57 2006 From: nagios at lamp.xs4all.nl (Lennard Bakker) Date: Sun, 14 May 2006 12:34:57 +0200 Subject: status.dat Message-ID: <446707D1.9040303@lamp.xs4all.nl> Hello, Is there any documentation about the status.dat file. I am programming my own overview (http://noc.duximus.nl (test site)) but cann't find any documentation about this file. Most fields are selfexplaining, but some are harder to guess. Lennard ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun May 14 23:59:33 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 15 May 2006 09:59:33 +1200 Subject: Hide certain 'Criticals' In-Reply-To: <14A270C0E2F4124AB0B7320BDBEA949F0B90F04B@vxchange.vcr.auckland.ac.nz> References: <14A270C0E2F4124AB0B7320BDBEA949F0B90F04B@vxchange.vcr.auckland.ac.nz> Message-ID: <007001c677a1$afc681e0$8ea8d882@UoA.auckland.ac.nz> ... > > You could set your view to filter out acknowledged alerts? > > This is an undocumented option to status.cgi. ... > Thanks for the reply Steve, how would I filter out the > acknowledged alerts? > After filtering them out, how would I know that they have > recovered, does it reset the acknowledgment when a device > comes back online? Acknowledgements are reset once a service or host returns to OK status. If you pass the option serviceprops to the status.cgi script, you can add a filter to the services. From cgiutils.h: #define SERVICE_SCHEDULED_DOWNTIME 1 #define SERVICE_NO_SCHEDULED_DOWNTIME 2 #define SERVICE_STATE_ACKNOWLEDGED 4 #define SERVICE_STATE_UNACKNOWLEDGED 8 #define SERVICE_CHECKS_DISABLED 16 #define SERVICE_CHECKS_ENABLED 32 #define SERVICE_EVENT_HANDLER_DISABLED 64 #define SERVICE_EVENT_HANDLER_ENABLED 128 #define SERVICE_FLAP_DETECTION_ENABLED 256 #define SERVICE_FLAP_DETECTION_DISABLED 512 #define SERVICE_IS_FLAPPING 1024 #define SERVICE_IS_NOT_FLAPPING 2048 #define SERVICE_NOTIFICATIONS_DISABLED 4096 #define SERVICE_NOTIFICATIONS_ENABLED 8192 #define SERVICE_PASSIVE_CHECKS_DISABLED 16384 #define SERVICE_PASSIVE_CHECKS_ENABLED 32768 #define SERVICE_PASSIVE_CHECK 65536 #define SERVICE_ACTIVE_CHECK 131072 Just add together the options you want. Something similar exists for hostproperties. Therefore, if you do /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=248&serviceprops=8202 &hostprops=8194 then you will get all services in warn, unknown or critical, where neither the service nor its host is in scheduled downtime or has notifications disabled, and the service problem has not been acknowledged. If you add '&noheader' to the end then you cal lose the big heading section and see more alerts on the screen. This is for Nagios 1.x, but probably is the same in Nagios 2.x. Steve ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jonr at destar.net Mon May 15 02:52:51 2006 From: jonr at destar.net (jonr at destar.net) Date: Sun, 14 May 2006 16:52:51 -0800 Subject: Hide certain 'Criticals' In-Reply-To: <007001c677a1$afc681e0$8ea8d882@UoA.auckland.ac.nz> References: <007001c677a1$afc681e0$8ea8d882@UoA.auckland.ac.nz> Message-ID: <1147654371.4467d0e3047a3@www.destar.net> Quoting Steve Shipway : > ... > > > You could set your view to filter out acknowledged alerts? > > > This is an undocumented option to status.cgi. > ... > > Thanks for the reply Steve, how would I filter out the > > acknowledged alerts? > > After filtering them out, how would I know that they have > > recovered, does it reset the acknowledgment when a device > > comes back online? > > Acknowledgements are reset once a service or host returns to OK status. > > If you pass the option serviceprops to the status.cgi script, you can add a > filter to the services. From cgiutils.h: > > #define SERVICE_SCHEDULED_DOWNTIME 1 > #define SERVICE_NO_SCHEDULED_DOWNTIME 2 > #define SERVICE_STATE_ACKNOWLEDGED 4 > #define SERVICE_STATE_UNACKNOWLEDGED 8 > #define SERVICE_CHECKS_DISABLED 16 > #define SERVICE_CHECKS_ENABLED 32 > #define SERVICE_EVENT_HANDLER_DISABLED 64 > #define SERVICE_EVENT_HANDLER_ENABLED 128 > #define SERVICE_FLAP_DETECTION_ENABLED 256 > #define SERVICE_FLAP_DETECTION_DISABLED 512 > #define SERVICE_IS_FLAPPING 1024 > #define SERVICE_IS_NOT_FLAPPING 2048 > #define SERVICE_NOTIFICATIONS_DISABLED 4096 > #define SERVICE_NOTIFICATIONS_ENABLED 8192 > #define SERVICE_PASSIVE_CHECKS_DISABLED 16384 > #define SERVICE_PASSIVE_CHECKS_ENABLED 32768 > #define SERVICE_PASSIVE_CHECK 65536 > #define SERVICE_ACTIVE_CHECK 131072 > > Just add together the options you want. Something similar exists for > hostproperties. Therefore, if you do > > /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=248&serviceprops=8202 > &hostprops=8194 > > then you will get all services in warn, unknown or critical, where neither > the service nor its host is in scheduled downtime or has notifications > disabled, and the service problem has not been acknowledged. If you add > '&noheader' to the end then you cal lose the big heading section and see > more alerts on the screen. > > This is for Nagios 1.x, but probably is the same in Nagios 2.x. > > Steve Brilliant!!!! Steve, that is awesome information, thanks again for taking the time to write this out and clue me in. Since you seem to have all the answers how about this one: ;) I have a script that monitors all snmp messages and if I down a port and then quickly bring it back up I immediately see it in my log watch script, but nagios will miss it. Is there a way to have nagios display snmp messages in real-time? Jon ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 15:32:39 2006 From: jpratt at norwich.edu (James E. Pratt) Date: Mon, 15 May 2006 09:32:39 -0400 Subject: How to "correctly" shut off notifications on services, but not for hosts Message-ID: <92803D5088947D4A979898CC8E835C442C78BA@XMAIL.norwich.edu> Hi. Dumb question probably, apologies in advance... I have a router, which I am currently monitoring snmp and ping on - i dont want notifies on the services, but only the host, but still want the services going down to trigger the host check etc etc if that makes sense? What's the "proper" way to do this? I.E, disable notifications for the service(s) altogether, or is there another way this should be done? I assume that since service checking will still be "on", disabling notifies on the service would accomplish what I want.. is that right...? Thanks, Jamie ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 16:19:25 2006 From: marc at ena.com (Marc Powell) Date: Mon, 15 May 2006 09:19:25 -0500 Subject: Stale log messages! Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gerard Marcel > Sent: Sunday, May 14, 2006 7:00 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Stale log messages! > > I am totally confused about these error messages: > > May 14 18:02:16 blue nagios: Warning: The results of host 'backup' are > stale by 45 seconds (threshold=15 seconds). I'm forcing an immediate > check of the host. > > > I am getting a ton of these messages and I don't know why. I looked at > the archives and google and nothing seems to help. You have freshness checking enabled and you've told it to expect new check results for the host 'backup' every 15 seconds. I'm pretty sure that's not what you were intending. http://nagios.sourceforge.net/docs/2_0/freshness.html -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 16:31:55 2006 From: marc at ena.com (Marc Powell) Date: Mon, 15 May 2006 09:31:55 -0500 Subject: status.dat Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Lennard Bakker > Sent: Sunday, May 14, 2006 5:35 AM > To: Nagios Users Mailing List > Subject: [Nagios-users] status.dat > > Hello, > > Is there any documentation about the status.dat file. > I am programming my own overview (http://noc.duximus.nl (test site)) but > cann't find any documentation about this file. Most fields are > selfexplaining, but some are harder to guess. Not yet. What lines do you need explanations for? -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 20:48:47 2006 From: marc at ena.com (Marc Powell) Date: Mon, 15 May 2006 13:48:47 -0500 Subject: [Nagios-users] bug with a cyrillic text in host alias Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Danila Kutepkin > Sent: Monday, May 15, 2006 1:25 PM > To: nagios-devel at lists.sourceforge.net; nagios-users at lists.sourceforge.net > Subject: [Nagios-users] bug with a cyrillic text in host alias > > Hi there! > > I'm trying to make nagios show cyrillic text (in HOSTALIAS). After > some simple changes, it becomes to show correct symbols in > statusmap.cgi In all over CGIs cyrillic symbols are shown perfectly. > But, I can't undestand, why does Nagios send empty (space) symbols > instead of cyrillic text in Notification e-mails. For example, I have > a host named Host1 and some alias for it in cyrillic (KOI8). Locale of > nagios user is KOI8, web-interface show cyr tex correctly too, I can > send e-mail with cyr symbols from nagios user shell. But the e-mail, > thatis generated by nagios process still bad. > > Can anyone show me the place in C++ that is responsible for genetating > e-mails with notifications? For a service notification: Line 666 of notifications.c /* run the command */ my_system(processed_command,notification_timeout,&early_timeout,&exectim e,NULL,0); The subroutine begins on line 575 -- /* notify a specific contact about a service problem or recovery */ int notify_contact_of_service(contact *cntct, service *svc, int type, char *ack_author, char *ack_data, int escalated){ Note that nagios has no idea what the command actually does. It just runs the command specified by the user's service_notification_commands. That may result in an e-mail, a page or anything else. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 From jhmartin at toger.us Mon May 15 20:52:47 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 15 May 2006 11:52:47 -0700 Subject: bug with a cyrillic text in host alias In-Reply-To: References: Message-ID: <20060515185247.GJ22873@mal.toger.us> On Mon, May 15, 2006 at 10:24:35PM +0400, Danila Kutepkin wrote: > But, I can't undestand, why does Nagios send empty (space) symbols > instead of cyrillic text in Notification e-mails. For example, I have > a host named Host1 and some alias for it in cyrillic (KOI8). Locale of > nagios user is KOI8, web-interface show cyr tex correctly too, I can > send e-mail with cyr symbols from nagios user shell. But the e-mail, > thatis generated by nagios process still bad. Nagios pipes notifications to sendmail for sending. As a test, construct a text file with the some representitive characters and redirect it into sendmail and have it send it to you. I suspect that the characters are being lost by sendmail, in which case it is your sendmail config that would need modification. -Jason Martin -- If the shoe fits, put it in your mouth. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From nagios at lamp.xs4all.nl Tue May 16 00:36:01 2006 From: nagios at lamp.xs4all.nl (Lennard Bakker) Date: Tue, 16 May 2006 00:36:01 +0200 Subject: status.dat In-Reply-To: References: Message-ID: <44690251.9020804@lamp.xs4all.nl> Marc Powell wrote: >> >> Hello, >> >> >> >> Is there any documentation about the status.dat file. >> >> I am programming my own overview (http://noc.duximus.nl (test site)) > > but >> >> cann't find any documentation about this file. Most fields are >> >> selfexplaining, but some are harder to guess. > > > > Not yet. What lines do you need explanations for? - last_hard_state If the status is in a hard state, is this than filled with the (could be current) status or is it the previous known hard state. - state_type Which values are there and what are there meanings 0 = soft state? 1 = hard state? 2 = unknown? - no_more_notifications What is is this value? Is it changed (to what) when notifications are disabled? Is it changed (to what) when a problem had bee acknowledged? - has_been_checked Will this value changes if only passive values are submitted? Lennard ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From christian.masopust at siemens.com Tue May 16 08:05:46 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Tue, 16 May 2006 08:05:46 +0200 Subject: Compile nagios-2.3.1 on Solaris 8 Message-ID: <60721B67EAF0994EAFFB561767B700145937FE@nets13ha.ww300.siemens.net> I've a problem compiling the new 2.3.1 on Solaris 8 with SUN Studio 11 and gcc-3.4.3 compiling cgi/getcgi.c fails with the error that INT_MAX is undefined. anybody else having this problem? and how to solve? thanks, chris ___________________________________________________________ Christian Masopust SIEMENS AG PSE SMC CI E CM Tel: +43 (0) 5 1707 26866 E-mail: christian.masopust at siemens.com Addr: Austria, 1210 Vienna, Siemensstra?e 90-92, B. 34, Rm. 3057 Mailcode: ___________________________________________________________ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmoore at edge.net Tue May 16 13:31:25 2006 From: asmoore at edge.net (Alex Moore) Date: Tue, 16 May 2006 06:31:25 -0500 Subject: Compile nagios-2.3.1 on Solaris 8 In-Reply-To: <60721B67EAF0994EAFFB561767B700145937FE@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B700145937FE@nets13ha.ww300.siemens.net> Message-ID: <20060516063125.00001129@sws602.mcsun.local> On Tue, 16 May 2006 08:05:46 +0200 "Masopust, Christian" wrote: > > I've a problem compiling the new 2.3.1 on Solaris 8 with > SUN Studio 11 and gcc-3.4.3 > > compiling cgi/getcgi.c fails with the error that INT_MAX is > undefined. Yes, same here. I am not sure of what INT_MAX is supposed to be. Help please, Alex ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Fri May 12 17:10:23 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Fri, 12 May 2006 17:10:23 +0200 Subject: Memory Leak on Nagios 2.3 ? In-Reply-To: References: Message-ID: <4464A55F.9020908@mailing.kaufland-informationssysteme.com> Jorg.Schulz at systeam.se schrieb: > > Hi > > Running Nagios 2.3 and Plugins 1.4.3 on a CRUX 2.2 Distro > The Server is a HP320 with 1 GB Ram > > I wondering if there is a known bug in Nagios 2.3 with a memory Leak ? > With 1GB The Server use 950MB and free are 48MB > I tried to "tune" nagios after i read the Documents for Nagios > > BTW i running mysqld for NagiosQL > All help are welcome > > //J?rg hi j?rg, is this the +/- buffers/cache? Linux uses free memory for caching and frees the cache when needed. eg. 3GB with 817 used but ~600 buffered total used free Mem: 3012 817 2195 -/+ buffers/cache: 211 2801 <= this line matters hth ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Mon May 15 20:24:35 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Mon, 15 May 2006 22:24:35 +0400 Subject: bug with a cyrillic text in host alias Message-ID: Hi there! I'm trying to make nagios show cyrillic text (in HOSTALIAS). After some simple changes, it becomes to show correct symbols in statusmap.cgi In all over CGIs cyrillic symbols are shown perfectly. But, I can't undestand, why does Nagios send empty (space) symbols instead of cyrillic text in Notification e-mails. For example, I have a host named Host1 and some alias for it in cyrillic (KOI8). Locale of nagios user is KOI8, web-interface show cyr tex correctly too, I can send e-mail with cyr symbols from nagios user shell. But the e-mail, thatis generated by nagios process still bad. Can anyone show me the place in C++ that is responsible for genetating e-mails with notifications? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 From estair at ilm.com Fri May 12 18:33:33 2006 From: estair at ilm.com (Eli Stair) Date: Fri, 12 May 2006 09:33:33 -0700 Subject: Memory Leak on Nagios 2.3 ? References: <4464A55F.9020908@mailing.kaufland-informationssysteme.com> Message-ID: <6E56E676C9D6A74EBC980144BC06A17D0146988C@mailbox03.lucas.alllucas.com> At the very least, you'd need to get a look at how much Nagios itself is using, not just system-totals (check the manpage for interpreting results of free). Try 'top -n1 -p $nagiospid' or 'ps -F -p $nagiospid'. I've gone through several sessions of this (one recently on 2.3) and haven't noticed any egregious leaks. /eli PS -- this isn't a very good way to do memory profiling, but useful to rule out when you're suspicious a process is inflating. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Matthias Eble Sent: Fri 5/12/2006 8:10 AM To: Jorg.Schulz at systeam.se Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Memory Leak on Nagios 2.3 ? Jorg.Schulz at systeam.se schrieb: > > Hi > > Running Nagios 2.3 and Plugins 1.4.3 on a CRUX 2.2 Distro > The Server is a HP320 with 1 GB Ram > > I wondering if there is a known bug in Nagios 2.3 with a memory Leak ? > With 1GB The Server use 950MB and free are 48MB > I tried to "tune" nagios after i read the Documents for Nagios > > BTW i running mysqld for NagiosQL > All help are welcome > > //J?rg hi j?rg, is this the +/- buffers/cache? Linux uses free memory for caching and frees the cache when needed. eg. 3GB with 817 used but ~600 buffered total used free Mem: 3012 817 2195 -/+ buffers/cache: 211 2801 <= this line matters hth ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null -------------- next part -------------- An HTML attachment was scrubbed... URL: From men.makaron at gmail.com Mon May 15 01:59:42 2006 From: men.makaron at gmail.com (Gerard Marcel) Date: Sun, 14 May 2006 19:59:42 -0400 Subject: Stale log messages! Message-ID: I am totally confused about these error messages: *May 14 18:02:16 blue nagios: Warning: The results of host 'backup' are stale by 45 seconds (threshold=15 seconds). I'm forcing an immediate check of the host. * ** *I am getting a ton of these messages and I don't know why. I looked at the archives and google and nothing seems to help.* ** ** ** *TIA,* ** ** *GM * -------------- next part -------------- An HTML attachment was scrubbed... URL: From tiagocruz at forumgdh.net Tue May 16 15:08:58 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 May 2006 10:08:58 -0300 Subject: Monitore Postfix queue Message-ID: <4469CEEA.5090100@forumgdh.net> Hello guys, I've write a small script do monitore postfix queue using postqueue to count the number of emails on my queue: postqueue -p | tail -1 | cut -d " " -f 5 The problem: Sometimes, my queue have more than 20.000 emails, and I can't count this number of emails in less then 1 minute :-) So, I know that this questions is not about nagios, is about postfix, but maybe some person here has the same problem and know another way to count the postfix queue :-) Thanks! -- Tiago Cruz Network Administrator Linux is like an Indian tent: no Windows, no Gates and an Apache inside. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Huettig at medien-systempartner.de Mon May 15 15:22:28 2006 From: Michael.Huettig at medien-systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Mon, 15 May 2006 15:22:28 +0200 Subject: Nagios 2.3 and epn-problems Message-ID: <200605151522.29504.Michael.Huettig@medien-systempartner.de> Hi all, i just upgraded my Nagios-2.0 to nagios-2.3. Both Versions were compiled with epn-support. Runnning nagios-2.0 all checks using perl-plugins (check_smart, check_cisco_env, check_ifoperstatus and others) were doing fine. Using nagios-2.3 i got the following errors: check_ciscoenv.pl ;Cisco environmental health;UNKNOWN;HARD;3;UNKNOWN: Unable to resolve destination address '-c' check_load.pl ;Load;UNKNOWN;SOFT;2;**ePN /usr/local/nagios/libexec/check_load.pl: "Argument "" isn't numeric in numeric lt (<) at (eval 12) line 61,". check_ifoperstatus.pl ;UNKNOWN;notify-by-email;**ePN /usr/local/nagios/libexec/check_ifoperstatus: Option d requires an argument. check_smart.pl ;S.M.A.R.T-Status;UNKNOWN;SOFT;1;**ePN /usr/local/nagios/libexec/check_smart.pl: "Can't exec "sudo": No such file or directory at (eval 15) line 119,". check_traffic.pl ;Traffic ISDN-Interface;CRITICAL;notify-by-email;CRITICAL: Could not match ISDN Basic Rate Interface (S0) After downgrading to nagios-2.0 all services recovered. Anyone else having this strange problems? How do i get rid of this messages/errors? Thanks for your help. With best regards Michael ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jsullivan at opensourcedevel.com Tue May 16 03:16:54 2006 From: jsullivan at opensourcedevel.com (John A. Sullivan III) Date: Mon, 15 May 2006 21:16:54 -0400 Subject: "Agentless" monitoring with Nagios? In-Reply-To: <1AE1A512FFFCB946BA664E1C922F776805ED0363@EAHQ-CSMB6.rws.ad.ea.com> References: <1AE1A512FFFCB946BA664E1C922F776805ED0363@EAHQ-CSMB6.rws.ad.ea.com> Message-ID: <1147742215.2817.7.camel@localhost> On Mon, 2006-05-15 at 15:34 -0700, Keller, Steve wrote: > Hi ? > > > > We have a large SiteScope installation (we monitor several thousand > servers with about 20 SiteScope machines) and are considering Nagios > as a replacement. One of the issues we have is that we cannot, for > various (mostly political) reasons, install an agent on the hosts we > monitor. We have successfully tested agentless monitoring by using > Perl plugins that SSH to the remote host and run a command, parsing > the output. However, we cannot run as many monitors per server as in > our SiteScope installation because of the latency incurred by setting > up and breaking down the SSH connection for EACH monitor. > > > > So my question is, does anyone know of a reasonable approach to > agentless monitoring using Nagios? We are planning to try SSH4, which > automatically keeps SSH connections open for later use, and forcing > Nagios to run several scripts sequentlially against the same host. > But this has the problem that a host which is down, or busy, could > delay checking other hosts. > > > > We would like, for many reasons (not just $$$, although that?s a > factor), to use Nagios, but having to install twice or three times as > many servers to support it is out of the question. Any advice > gratefully accepted. > > > > Thanks, Would it help to run several commands in the ssh tunnel - perhaps even echoing strings for delimiters in the parsing,e.g., ssh user at server "command1;echo 'first command';command2" -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com If you would like to participate in the development of an open source enterprise class network security management system, please visit http://iscs.sourceforge.net ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 15 17:05:10 2006 From: marc at ena.com (Marc Powell) Date: Mon, 15 May 2006 10:05:10 -0500 Subject: trouble installing plugins --with-openssl under ubuntu 5.10 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of nemir nemiria > Sent: Saturday, May 13, 2006 2:32 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] trouble installing plugins --with-openssl under > ubuntu 5.10 > > > I am having trouble compiling nagios-plugins 1.4.1 on an ubuntu 5.10 > server. > THe advice I have read in previous threads says to install openssl. I > am > new to apt-get, but it wasn't too hard. Output from apt-get install > openssl > is: > > # apt-get install openssl > Reading package lists... Done > Building dependency tree... Done > openssl is already the newest version. > 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. > > # which openssl [chop] > This is despite me having openssl installed as the notes suggest. None of > those files it is searching for seem to exist on my box (with the > exception > of crypto.h, but that was hardly a surprise). What am I missing? I tried > running apt-get install openssl-dev[el], but it doesn't seem to exist > under > that name here. > > > I am sure this is just something basic that I am not seeing at the moment, > but would really appreciate all hints and help available. I don't use Ubuntu but looking through the package list at http://archive.ubuntu.com/ubuntu/dists/warty/main/binary-i386/, it appears that it's called 'libssl-dev' -- Package: libssl-dev Priority: optional Section: libdevel Installed-Size: 6924 Maintainer: Christoph Martin Architecture: i386 Source: openssl Version: 0.9.7d-3 Depends: libssl0.9.7 (= 0.9.7d-3) Conflicts: ssleay (<< 0.9.2b), libssl08-dev, libssl09-dev, libssl095a-dev, libssl096-dev Filename: pool/main/o/openssl/libssl-dev_0.9.7d-3_i386.deb Size: 2476860 MD5sum: da83dfa031bd3bbc4d737ec14578cdaa Description: SSL development libraries, header files and documentation libssl and libcrypt development libraries, header files and manpages . It is part of the OpenSSL implementation of SSL. Bugs: mailto:ubuntu-users at lists.ubuntu.com Origin: Ubuntu -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kpatton at transmeta.com Mon May 15 20:14:46 2006 From: kpatton at transmeta.com (Kirk Patton) Date: Mon, 15 May 2006 11:14:46 -0700 Subject: check_ping $ARG1$ not passing Message-ID: <20060515181446.GA2283@captain.transmeta.com> Hello, I have looked through the archive and forms, but I have not found any clues to the problem which I am having. I am trying to configure a command that uses the 'check_ping' plugin. I am getting errors that tell me that the check_ping plugin is not receiving the proper arguments. check_ping: %s: Warning threshold must be integer or percentage! I replaced the check_ping plugin with my own perl script to log what was being passed into the script. Strangely, some hose receive the proper arguments, while others do not. I am using; nagios-plugins-1.4.2-1.2.el4.rf nagios-2.3-1.rf My check_ping command is as follows. define command{ command_name check_ping command_line /usr/lib64/nagios/plugins/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ } define service{ name generic-service is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 1 retry_check_interval 1 contact_groups mis notification_options w,u,c,r notification_interval 1 notification_period 24x7 register 0 } define service{ hostgroup_name * use generic-service service_description PING check_command check_ping!500.0,%10!800.0,%20 notification_interval 360 } I do not understand why the check_ping plugin would work for some hosts, but not others. Has anyone on the list run into this? Thanks, Kirk -- Kirk Patton Unix Administrator Transmeta Inc. Tel. 408 919-3055 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Fri May 12 17:20:41 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 12 May 2006 11:20:41 -0400 Subject: Oracle plugin Message-ID: Hello, I am looking for a plug-in that will run a query against an oracle database and return the results. I have found plugins that search for specific things -- like tablespace, and archives, but nothing that will run a sql statement. Surely this plugin exists somewhere?!?! Janet ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Mon May 15 07:16:30 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 15 May 2006 07:16:30 +0200 (CEST) Subject: SNMP traps (was: Hide certain 'Criticals') In-Reply-To: <1147654371.4467d0e3047a3@www.destar.net> References: <007001c677a1$afc681e0$8ea8d882@UoA.auckland.ac.nz> <1147654371.4467d0e3047a3@www.destar.net> Message-ID: On Sun, 14 May 2006 jonr at destar.net wrote: > Since you seem to have all the answers how about this one: ;) Bad idea. New questions go in a new thread. That makes it easier to follow for those subscribed and easier to find it in the archives for everyone looking for it later. > I have a script that monitors all snmp messages and if I down a port and then > quickly bring it back up I immediately see it in my log watch script, but > nagios will miss it. Is there a way to have nagios display snmp messages in > real-time? Read the FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=28 Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.garvey at gmail.com Fri May 12 23:03:32 2006 From: david.garvey at gmail.com (David Garvey) Date: Fri, 12 May 2006 14:03:32 -0700 Subject: check_log Message-ID: <2e90c57d0605121403x37a8c823n89d45e7cb5489617@mail.gmail.com> Hello: Newbie question here: Is it possible to perform a check_log on a remote host and check to see if the log tail is scrolling? I have a perl script to parse for strings but I need to be able to identify if the logs are advancing? Many Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From SKeller at ea.com Tue May 16 01:02:00 2006 From: SKeller at ea.com (Keller, Steve) Date: Mon, 15 May 2006 16:02:00 -0700 Subject: "Agentless" monitoring with Nagios? Message-ID: <1AE1A512FFFCB946BA664E1C922F776805ED0365@EAHQ-CSMB6.rws.ad.ea.com> Wow! I did not expect a reply so quickly! We'll look into fsh, it looks promising. Thanks for the advice. Steve -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Monday, May 15, 2006 3:56 PM To: Keller, Steve Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] "Agentless" monitoring with Nagios? On Mon, May 15, 2006 at 03:34:53PM -0700, Keller, Steve wrote: > a replacement. One of the issues we have is that we cannot, for various > (mostly political) reasons, install an agent on the hosts we monitor. By any chance is SNMP already in place on the target hosts? That might cut down on the number of agent-on-demand checks you have to run. > So my question is, does anyone know of a reasonable approach to > agentless monitoring using Nagios? We are planning to try SSH4, which Check out FSH (http://freshmeat.net/projects/fsh/) which does a similiar thing. That should take care of the SSH overhead problem. > this has the problem that a host which is down, or busy, could delay > checking other hosts. If you are writing this in perl, you can have your plugins timeout gracefully to prevent that. Nagios can be configured to time out plugins as well. -Jason Martin -- "Keyboard? How quaint!" - Scotty This message is PGP/MIME signed. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 16 16:49:21 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 16 May 2006 10:49:21 -0400 Subject: trouble installing plugins --with-openssl under ubuntu 5.10 In-Reply-To: References: Message-ID: As previous reponses have told you, you need the OpenSSL "dev" package (or whatever the Ubuntu equivalent is). -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of nemir nemiria Sent: Saturday, May 13, 2006 12:32 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] trouble installing plugins --with-openssl under ubuntu 5.10 I am having trouble compiling nagios-plugins 1.4.1 on an ubuntu 5.10 server. THe advice I have read in previous threads says to install openssl. I am new to apt-get, but it wasn't too hard. Output from apt-get install openssl is: # apt-get install openssl Reading package lists... Done Building dependency tree... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. # which openssl /usr/bin/openssl Whne I do a ./configure --with-openssl=/usr/bin I get the following summary. config.status: creating po/Makefile --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-lwres: no --with-ipv6: yes --with-mysql: no --with-openssl: no --with-gnutls: no --enable-emulate-getaddrinfo: no --with-perl: /usr/bin/perl --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin Going through the ./configure output I notice: checking openssl/ssl.h usability... no checking openssl/ssl.h presence... no checking for openssl/ssl.h... no checking openssl/x509.h usability... no checking openssl/x509.h presence... no checking for openssl/x509.h... no checking openssl/rsa.h usability... no checking openssl/rsa.h presence... no checking for openssl/rsa.h... no checking openssl/pem.h usability... no checking openssl/pem.h presence... no checking for openssl/pem.h... no checking openssl/crypto.h usability... no checking openssl/crypto.h presence... no checking for openssl/crypto.h... no checking openssl/err.h usability... no checking openssl/err.h presence... no checking for openssl/err.h... no checking ssl.h usability... no checking ssl.h presence... no checking for ssl.h... no [snip] ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Sat May 13 02:21:18 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 13 May 2006 02:21:18 +0200 (CEST) Subject: Acknowledging ports down on a swith In-Reply-To: <1147467746.4464f7e237047@www.destar.net> References: <1147467746.4464f7e237047@www.destar.net> Message-ID: On Fri, 12 May 2006 jonr at destar.net wrote: > I then disable ports 3 and 4 and the error does not come back letting me know > that there is a problem on different ports. I am using the check_ifstatus to > query the switch, is there a better way of doing this or will I need to set up > a service for each port? If you do not deistinguish the individual ports in Nagios. Then how can you expect to handle them independent? Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gdanko at gmail.com Tue May 16 17:34:33 2006 From: gdanko at gmail.com (Gary Danko) Date: Tue, 16 May 2006 08:34:33 -0700 Subject: MegaRAID plugin errors out in 2.0 Message-ID: <6c5c451f0605160834q61ebd4a1p9a12990a48a0d8b2@mail.gmail.com> I've searched the web/usenet for this and have found nothing. I can run the check_megaraid plugin from the command line on my Nagios 2.0 server, but when Nagios tries to run it I get this error in the web console. **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit package name at (eval 6) line 51. Is there something I need to do to make this work with Nagios 2.0? What baffles me is that it works fine from the command line. I get an OK status and the message "megaraid OK" Thanks in advance! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From matthias.eble at mailing.kaufland-informationssysteme.com Tue May 16 17:19:29 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Tue, 16 May 2006 17:19:29 +0200 Subject: Monitore Postfix queue In-Reply-To: <1147792219.5804.22.camel@localhost.localdomain> References: <4469CEEA.5090100@forumgdh.net> <1147792219.5804.22.camel@localhost.localdomain> Message-ID: <4469ED81.1030605@mailing.kaufland-informationssysteme.com> > On Tue, 2006-05-16 at 10:08 -0300, Tiago Cruz wrote: >> Hello guys, >> >> I've write a small script do monitore postfix queue using postqueue to count the >> number of emails on my queue: >> >> postqueue -p | tail -1 | cut -d " " -f 5 >> >> The problem: Sometimes, my queue have more than 20.000 emails, and I can't count >> this number of emails in less then 1 minute :-) >> check_mailq in the the nagios-plugin distribution does sth similar. check_mailq - check to see how many messages are in the smtp queue awating transmittal. it has support for postfix,sendmail,exim and qmail i think hth matthias ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mtiernan at draper.com Tue May 16 14:24:40 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Tue, 16 May 2006 08:24:40 -0400 Subject: User authentication alternatives. Message-ID: I'll admit to being a bit green on how to make some of the things happen under Apache so I figured I'd ask this august group for advice. I'd like to use the system password file for authenticating users against for nagios and then just use a simple list of the login names for who can be admins. (In short, only one copy of a password but multiple copies of login names.) Anyone ever done this sort of thing for Nagios? Thanks for your advice in advance. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shoktai at gmail.com Tue May 16 11:54:52 2006 From: shoktai at gmail.com (ThomasC.) Date: Tue, 16 May 2006 11:54:52 +0200 Subject: Eventhandlers: restart-apache , logs... Message-ID: <4469A16C.8010909@gmail.com> Hi, How do you look at eventhandlers behaviour ? I am trying to see what it is doing but cant find logs that help. For instance, i am using a restart-http eventhandlers on the nagios server i am running. The scritp works by hand: /usr/local/nagios/eventhandlers/restart-http CRITICAL SOFT 2 launches the apache service. the script is the one taken from the nagios documentation. In my services.cfg i got: # Service definition define service{ use generic-service ; Name of service template to use host_name linuxserver service_description Apache2 is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 event_handler restart-http contact_groups admins notification_interval 0 notification_period 24x7 notification_options c,r check_command check_apache2!10.1.1.13 } and in miscommands.cfg : define command{ command_name restart-http command_line /usr/local/nagios/eventhandlers/restart-http $SERVICESTATE$ $STATETYPE$ $SERVICEATTEMPT$ } However, the nagios.log and status.log files doesnt give eventhandler output and the service is not restarted when i stop it for testing. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tiagocruz at forumgdh.net Tue May 16 18:46:29 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 May 2006 13:46:29 -0300 Subject: Monitore Postfix queue In-Reply-To: <4469ED81.1030605@mailing.kaufland-informationssysteme.com> References: <4469CEEA.5090100@forumgdh.net> <1147792219.5804.22.camel@localhost.localdomain> <4469ED81.1030605@mailing.kaufland-informationssysteme.com> Message-ID: <446A01E5.20906@forumgdh.net> Hello list! Matthias, The mailq binary don't work for me, and I don't know why :( # /.../bin-1.4.2/libexec/check_mailq -v -w 500 -c 800 -M postfix Couldn't match output John, I'll try do some like this, but is not perfect :) ls -l /var/spool/postfix/deferred/* | grep '-' | wc -l Morten, Thanks guy, I'll see this "munin" package! Very thanks to all! -- Tiago Cruz Network Administrator Linux is like an Indian tent: no Windows, no Gates and an Apache inside. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morten.bekkelund at ergo.no Tue May 16 17:10:18 2006 From: morten.bekkelund at ergo.no (morten) Date: Tue, 16 May 2006 17:10:18 +0200 Subject: Monitore Postfix queue In-Reply-To: <4469CEEA.5090100@forumgdh.net> References: <4469CEEA.5090100@forumgdh.net> Message-ID: <1147792219.5804.22.camel@localhost.localdomain> "munin" has a script for this called "postfix_mailqueue" You could always get that and make a wrapper for it ... Then maybe run it on the postfix server using net-snmps exec function so you can query it from your nagiosserver via check_snmpp :) On Tue, 2006-05-16 at 10:08 -0300, Tiago Cruz wrote: > Hello guys, > > I've write a small script do monitore postfix queue using postqueue to count the > number of emails on my queue: > > postqueue -p | tail -1 | cut -d " " -f 5 > > The problem: Sometimes, my queue have more than 20.000 emails, and I can't count > this number of emails in less then 1 minute :-) > > So, I know that this questions is not about nagios, is about postfix, but maybe > some person here has the same problem and know another way to count the postfix > queue :-) > > Thanks! > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dhawal at netmagicsolutions.com Tue May 16 19:20:19 2006 From: dhawal at netmagicsolutions.com (Dhawal Doshy) Date: Tue, 16 May 2006 22:50:19 +0530 Subject: Monitore Postfix queue In-Reply-To: <446A01E5.20906@forumgdh.net> References: <4469CEEA.5090100@forumgdh.net> <1147792219.5804.22.camel@localhost.localdomain> <4469ED81.1030605@mailing.kaufland-informationssysteme.com> <446A01E5.20906@forumgdh.net> Message-ID: <446A09D3.4090105@netmagicsolutions.com> Tiago Cruz wrote: > Hello list! > > Matthias, > The mailq binary don't work for me, and I don't know why :( > > # /.../bin-1.4.2/libexec/check_mailq -v -w 500 -c 800 -M postfix > Couldn't match output Most likely a permission error.. try this: # su - postfix -s /bin/sh # /path/to/check_mailq -v -w 500 -c 800 -M postfix Again, check_mailq uses "use lib "nagios/plugins";", you might need to change to /directory/of/utils.pm and execute the check. - dhawal > John, > I'll try do some like this, but is not perfect :) > ls -l /var/spool/postfix/deferred/* | grep '-' | wc -l > > Morten, > Thanks guy, I'll see this "munin" package! > > Very thanks to all! > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Tue May 16 19:27:04 2006 From: rns3 at psu.edu (Robert Snyder) Date: Tue, 16 May 2006 13:27:04 -0400 Subject: Deleting/Removing data from Nagios/HTTP WARNING: HTTP/1.1 400 Bad Request Message-ID: <20060516172704.31523@studentservices.outreach.psu.edu> Hi, I have two questions: 1) I have just spent the last week getting Nagios set up on OS X to monitor about 20 servers and 60 services. I am still adding services, but needless to say, over the past week I have created a lot of false warnings and errors. Is there a way to flush the existing data from Nagios so that now that I have all of the services working correctly (and no more error 127's) I can show the reports to others without them freaking out about all the critical errors? 2) Also, can anyone tell me why when I use $ARG1$ to pass the URI value for -u from the service configuration back to the check_http check I get HTTP WARNING: HTTP/1.1 400 Bad Request's, but when I hard code the exact same value for the URI in the checkcommands.cfg file the service works fine? For example: This entry in the checkcommands.cfg # 'check_ODIN' command definition define command{ command_name check_ODIN command_line /opt/local/libexec/nagios/check_http -ssl -H $HOSTADDRESS$ -u /cgi-bin/WebObjects/SMERXCode } works 100% with this entry in minimal.cfg define service{ use generic-service ; Name of service $ hostgroup_name ODINProWeb service_description ODINLogin is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins-group notification_interval 30 notification_period 24x7 notification_options c,r check_command check_ODIN } BUT THIS PAIR DOES NOT: # 'check_woapplication' command definition define command{ command_name check_woapplication command_line /opt/local/libexec/nagios/check_http -H $HOSTADDRESS$ -u "$ARG1$" } define service{ use generic-service ; Name of service $ hostgroup_name ODINProWeb service_description ODINLogin is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups admins-group notification_interval 30 notification_period 24x7 notification_options c,r check_command check_woapplication!/cgi-bin/ WebObjects/SMERXCode } In the second case I get HTTP WARNING: HTTP/1.1 400 Bad Request. I have tried all manors of quoting, not quoting, and such for the URI value. Thanks for any insight to both questions Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Samba at guidemail.com Tue May 16 18:16:09 2006 From: Samba at guidemail.com (Samba) Date: Tue, 16 May 2006 11:16:09 -0500 Subject: Problem compiling NDOUtils 1.3 Message-ID: Hi all, I'm having problems compiling NDOUtils for use with MySQL. I've googled for NDOUtils, NDOUtils and Mysql. But I'm not having any luck I've tried specifying the --with-mysql-lib and --with-mysql-inc but with no luck. The message I'm getting when I run configure is below: checking for mysql_store_result in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the MySQL library. NOTE: After you install the necessary libraries on your system: 1. Make sure /etc/ld.so.conf has an entry for the directory in which the MySQL libraries are installed. 2. Run 'ldconfig' to update the run-time linker options. 3. Run 'make devclean' in the NDBXT distribution to clean out any old references to your previous compile. 4. Rerun the configure script. TIP: Try the following.... ./configure --with-mysql-lib=/usr/lib/mysql ******************************************************************** checking mysql/mysql.h usability... no checking mysql/mysql.h presence... no checking for mysql/mysql.h... no *** MySQL include file could not be located... ********************** You chose to compile NDBXT with MySQL support, but I was unable to locate on your system. If the include file is installed, use the --with-mysql-inc argument to specify the location of the MySQL include file. ******************************************************************** Josh samba at guidemail.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SKeller at ea.com Tue May 16 00:34:53 2006 From: SKeller at ea.com (Keller, Steve) Date: Mon, 15 May 2006 15:34:53 -0700 Subject: "Agentless" monitoring with Nagios? Message-ID: <1AE1A512FFFCB946BA664E1C922F776805ED0363@EAHQ-CSMB6.rws.ad.ea.com> Hi - We have a large SiteScope installation (we monitor several thousand servers with about 20 SiteScope machines) and are considering Nagios as a replacement. One of the issues we have is that we cannot, for various (mostly political) reasons, install an agent on the hosts we monitor. We have successfully tested agentless monitoring by using Perl plugins that SSH to the remote host and run a command, parsing the output. However, we cannot run as many monitors per server as in our SiteScope installation because of the latency incurred by setting up and breaking down the SSH connection for EACH monitor. So my question is, does anyone know of a reasonable approach to agentless monitoring using Nagios? We are planning to try SSH4, which automatically keeps SSH connections open for later use, and forcing Nagios to run several scripts sequentlially against the same host. But this has the problem that a host which is down, or busy, could delay checking other hosts. We would like, for many reasons (not just $$$, although that's a factor), to use Nagios, but having to install twice or three times as many servers to support it is out of the question. Any advice gratefully accepted. Thanks, Steve Keller (skeller at ea.com) Manager, Tools and ESM Group Global Infrastructure Services -------------- next part -------------- An HTML attachment was scrubbed... URL: From tiagocruz at forumgdh.net Tue May 16 20:54:42 2006 From: tiagocruz at forumgdh.net (Tiago Cruz) Date: Tue, 16 May 2006 15:54:42 -0300 Subject: Monitore Postfix queue In-Reply-To: <446A09D3.4090105@netmagicsolutions.com> References: <4469CEEA.5090100@forumgdh.net> <1147792219.5804.22.camel@localhost.localdomain> <4469ED81.1030605@mailing.kaufland-informationssysteme.com> <446A01E5.20906@forumgdh.net> <446A09D3.4090105@netmagicsolutions.com> Message-ID: <446A1FF2.2010704@forumgdh.net> Dhawal Doshy wrote: > Most likely a permission error.. try this: > # su - postfix -s /bin/sh > # /path/to/check_mailq -v -w 500 -c 800 -M postfix Not is permission... I'm running as root (as postfix don't works too) :( > Again, check_mailq uses "use lib "nagios/plugins";", you might need to > change to /directory/of/utils.pm and execute the check. Yes, is everything OK... I think that my personal postfix package is a lot of different from what plugin want, because in a "normal" postfix of debian the scrips works :-) Anyway, the fast way is use wc on queue directory, I'll do this... the output says one or two emails more than real, but to 20.000 its ok ;) Thanks! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roydepp at gmail.com Tue May 16 21:10:20 2006 From: roydepp at gmail.com (Roy Depp) Date: Tue, 16 May 2006 21:10:20 +0200 Subject: Nagios Grapher SSL/HTTPS links In-Reply-To: References: Message-ID: Hello, I've installed Nagios Grapher 1.5-1 with Nagios 2.2. Almost everything works as expected, I have 1 problem though. Our Nagios web site is accessible through a secure connection only. All URLs must be generated with https://... When clicking on the Nagios Grapher icons to see the performance graphs it opens as expected, but almost every link URL within the graph frame is generated with http://.. instead of https://.. I've looked into graph.pl and I can see that self referring URLs are generated with: $self = $q->self_url; Please note that links that are not generated with $self (such as Reload, Close, PDF, SVG, EPS) are fine. Any idea why self_url returns http:// instead of https://, and how this can be fixed? Thanks, Roy. -------------- next part -------------- An HTML attachment was scrubbed... URL: From estair at ilm.com Tue May 16 21:13:08 2006 From: estair at ilm.com (Eli Stair) Date: Tue, 16 May 2006 12:13:08 -0700 Subject: "Agentless" monitoring with Nagios? In-Reply-To: <20060515225627.GB22398@mal.toger.us> References: <20060515225627.GB22398@mal.toger.us> Message-ID: Bringing up SNMP is a valid point (I'm currently handling ~25% of my active service checks this way). However there are a number of scenarios where the load on both the server/network/client is significantly greater to pull down a tree that needs processing (process table for instance), as the impact on the client is fairly large to process its own /proc entries to generate the values, pull them down sequentially, and parse the tree on the server. Same deal with a variety of network tables... Even Cisco/Foundry/etc do a horrible job of having their devices process & generate ARP tables, etc. Even executing a remote command over SSH with the crypto overhead is faster in most situations (for me), and actually consumes less cycles on BOTH ends... This FSH project looks promising, though hasn't been updated since 2001... A scary prospect for anything that is crypto/authentication based :) I don't see any reason we couldn't whip up an active check script that runs a number of commands sequentially over the SSH session that's set up at the beginning, applies the results as separate passive service checks. That's the only way I can think of to handle it, since each service check will otherwise be initiating a separate connection, at whatever rate is determined by its schedule in the queue. Then again, check_by_fsh sounds nice too! Have to look at SSH4 features now that you mentioned it Steve. Just my thoughts. /eli On 5/15/06 3:56 PM, "Jason Martin" wrote: > On Mon, May 15, 2006 at 03:34:53PM -0700, Keller, Steve wrote: >> a replacement. One of the issues we have is that we cannot, for various >> (mostly political) reasons, install an agent on the hosts we monitor. > By any chance is SNMP already in place on the target hosts? That > might cut down on the number of agent-on-demand checks you have > to run. > >> So my question is, does anyone know of a reasonable approach to >> agentless monitoring using Nagios? We are planning to try SSH4, which > Check out FSH (http://freshmeat.net/projects/fsh/) which does a > similiar thing. That should take care of the SSH overhead problem. > > >> this has the problem that a host which is down, or busy, could delay >> checking other hosts. > If you are writing this in perl, you can have your plugins > timeout gracefully to prevent that. Nagios can be configured to > time out plugins as well. > > -Jason Martin ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue May 16 22:11:39 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 16 May 2006 13:11:39 -0700 Subject: "Agentless" monitoring with Nagios? In-Reply-To: References: <20060515225627.GB22398@mal.toger.us> Message-ID: <20060516201139.GJ22398@mal.toger.us> On Tue, May 16, 2006 at 12:13:08PM -0700, Eli Stair wrote: > in most situations (for me), and actually consumes less cycles on BOTH > ends... This FSH project looks promising, though hasn't been updated since > 2001... A scary prospect for anything that is crypto/authentication based :) I think it just acts as a 'ssh session manager' and doesn't do any crypto itself. > Then again, check_by_fsh sounds nice too! Have to look at SSH4 features now > that you mentioned it Steve. Can you provide a link to SSH4? I'm not seeing anything relevant on google. -Jason Martin -- Cats aren't clean, they're just covered with cat spit! This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From jperrin at gmail.com Tue May 16 18:59:31 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 16 May 2006 12:59:31 -0400 Subject: User authentication alternatives. In-Reply-To: References: Message-ID: <302ce8b50605160959lb1eb076seb0f4f8fbcd179b@mail.gmail.com> On 5/16/06, Tiernan, Michael C. wrote: > I'll admit to being a bit green on how to make some of the things happen > under Apache so I figured I'd ask this august group for advice. > > I'd like to use the system password file for authenticating users > against for nagios and then just use a simple list of the login names > for who can be admins. (In short, only one copy of a password but > multiple copies of login names.) > > Anyone ever done this sort of thing for Nagios? > > Thanks for your advice in advance. While I'm not aware of a way to do what you seek via authentication, there's a plugin for nagios that only allows certain people to modify things via the web interface. In this way you could seperate users -who could view but not change, and admins -who can do whatever they damn well please. http://altinity.blogs.com/dotorg/2006/02/index.html Might be a different way to accomplish the same task. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rouilj at cs.umb.edu Tue May 16 22:13:36 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Tue, 16 May 2006 16:13:36 -0400 Subject: "Agentless" monitoring with Nagios? In-Reply-To: Your message of "Tue, 16 May 2006 12:13:08 PDT." References: Message-ID: <200605162013.k4GKDa1w004263@mx1.cs.umb.edu> In message , Eli Stair writes: >Even executing a remote command over SSH with the crypto overhead is faster >in most situations (for me), and actually consumes less cycles on BOTH >ends... This FSH project looks promising, though hasn't been updated since >2001... A scary prospect for anything that is crypto/authentication based :) Actually fsh is just a wrapper over ssh/rsh so it doesn't have any security implications on it's own. It shares the security of the underlying transport. >I don't see any reason we couldn't whip up an active check script that runs >a number of commands sequentially over the SSH session that's set up at the >beginning, applies the results as separate passive service checks. That's >the only way I can think of to handle it, since each service check will >otherwise be initiating a separate connection, at whatever rate is >determined by its schedule in the queue. check_by_ssh can run multiple commands in one shot and report each output line to the proper service. See the -s flag and it's use with multiple -C commands. >Then again, check_by_fsh sounds nice too! Have to look at SSH4 >features now that you mentioned it Steve. One problem is that you have to keep a master ssh connection permanently open and mangage the connection if you aren't using fsh. For a lot of hosts (1000+), this could put a resource strain on the server as ports are taken up and 1000 ssh permanent ssh process are created. One thing that would also be nice for check_by_ssh would be the ability to use an ssh_agent for the keys. Sadly the current check_by_ssh sanitizes the environment a bit too well and removed the environment variables used to allow ssh to communicate with it's agent. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Tue May 16 22:23:17 2006 From: andrew at profitability.net (Andrew Cruse) Date: Tue, 16 May 2006 16:23:17 -0400 Subject: User authentication alternatives. In-Reply-To: <302ce8b50605160959lb1eb076seb0f4f8fbcd179b@mail.gmail.com> References: <302ce8b50605160959lb1eb076seb0f4f8fbcd179b@mail.gmail.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > On 5/16/06, Tiernan, Michael C. wrote: >> I'll admit to being a bit green on how to make some of the things >> happen under Apache so I figured I'd ask this august group for >> advice. >> >> I'd like to use the system password file for authenticating users >> against for nagios and then just use a simple list of the login names >> for who can be admins. (In short, only one copy of a password but >> multiple copies of login names.) >> >> Anyone ever done this sort of thing for Nagios? >> >> Thanks for your advice in advance. > > While I'm not aware of a way to do what you seek via > authentication, there's a plugin for nagios that only allows > certain people to modify things via the web interface. In > this way you could seperate users -who could view but not > change, and admins -who can do whatever they damn well please. > > http://altinity.blogs.com/dotorg/2006/02/index.html > > Might be a different way to accomplish the same task. I just did this in the .htaccess file for the nagios/share directory: AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users AuthGroupFile /usr/local/nagios/etc/htpasswd.groups require valid-user require group administrators Just make sure any user you want to be able to effect any changes via the web interface are in the administrators group. Users not in the administrators group will still see links and buttons to make changes, but won't have permission to do so. That solves one of your problems. I suppose for using /etc/passwd for authentication...you could always write a little wrapper for passwd and useradd in your system that does the usual stuff but also updates your htpasswd.users and htpasswd.groups files... Andrew ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue May 16 00:56:27 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 15 May 2006 15:56:27 -0700 Subject: "Agentless" monitoring with Nagios? In-Reply-To: <1AE1A512FFFCB946BA664E1C922F776805ED0363@EAHQ-CSMB6.rws.ad.ea.com> References: <1AE1A512FFFCB946BA664E1C922F776805ED0363@EAHQ-CSMB6.rws.ad.ea.com> Message-ID: <20060515225627.GB22398@mal.toger.us> On Mon, May 15, 2006 at 03:34:53PM -0700, Keller, Steve wrote: > a replacement. One of the issues we have is that we cannot, for various > (mostly political) reasons, install an agent on the hosts we monitor. By any chance is SNMP already in place on the target hosts? That might cut down on the number of agent-on-demand checks you have to run. > So my question is, does anyone know of a reasonable approach to > agentless monitoring using Nagios? We are planning to try SSH4, which Check out FSH (http://freshmeat.net/projects/fsh/) which does a similiar thing. That should take care of the SSH overhead problem. > this has the problem that a host which is down, or busy, could delay > checking other hosts. If you are writing this in perl, you can have your plugins timeout gracefully to prevent that. Nagios can be configured to time out plugins as well. -Jason Martin -- "Keyboard? How quaint!" - Scotty This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From luc at suryo.com Tue May 16 21:31:56 2006 From: luc at suryo.com (Luc I. Suryo) Date: Tue, 16 May 2006 13:31:56 -0600 Subject: Monitore Postfix queue In-Reply-To: <446A1FF2.2010704@forumgdh.net> References: <4469CEEA.5090100@forumgdh.net> <1147792219.5804.22.camel@localhost.localdomain> <4469ED81.1030605@mailing.kaufland-informationssysteme.com> <446A01E5.20906@forumgdh.net> <446A09D3.4090105@netmagicsolutions.com> <446A1FF2.2010704@forumgdh.net> Message-ID: <20060516193156.GA12807@porsche.suryo.com> fyi: i used a perl script that couple people created sometime ago (Subhendu Ghosh/Carlos Canau/Benjamin Schmid) if you want too i can email it to you... -ls > > >Most likely a permission error.. try this: > ># su - postfix -s /bin/sh > ># /path/to/check_mailq -v -w 500 -c 800 -M postfix > > Not is permission... I'm running as root (as postfix don't works too) :( > > >Again, check_mailq uses "use lib "nagios/plugins";", you might need to > >change to /directory/of/utils.pm and execute the check. > > Yes, is everything OK... I think that my personal postfix package is a lot > of different from what plugin want, because in a "normal" postfix of debian > the scrips works :-) > > Anyway, the fast way is use wc on queue directory, I'll do this... the > output says one or two emails more than real, but to 20.000 its ok ;) - ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rns3 at psu.edu Tue May 16 22:51:19 2006 From: rns3 at psu.edu (Robert Snyder) Date: Tue, 16 May 2006 16:51:19 -0400 Subject: Abnormal Program Termination Message-ID: <20060516205119.29586@studentservices.outreach.psu.edu> I have a very strange situation going on with my reports. When I go to the Service Detail screen, sometimes the number of services listed for each host is different. I can reload the page and then the missing services return to the list. Stranger still, on the Service Detail screen the services are all showing OK (green). If I click on a service link and go to the service detail screen, it also shows the Current Status as OK (Green). But if I then click on the Trends for This Services link and view the reports the graph bars are either red or yellow/orange. And on mouseover I get weird values for the "Status Info" such as "Abnormal Program Termination" and "Program Start." And Weirdest of all, sometimes when I click on a service link from the Service Detail screen or on the Trends for this Service, links I get Error Service Not Found. If I keep reloading that page, eventually I get data. It seems like my data is somehow corrupt. Has anyone seen this behavior? I am running Nagios 2.2 on OS X 10.4.6, using the Darwin Port distribution. Robert ____________________________________________ Robert Snyder Outreach Technology Services The Pennsylvania State University 151A Outreach Building University Park PA 16802 Phone: 814-865-0912 Fax: 814-865-4406 E-mail: rsnyder at psu.edu ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Tue May 16 22:59:03 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 16 May 2006 15:59:03 -0500 Subject: Abnormal Program Termination In-Reply-To: <20060516205119.29586@studentservices.outreach.psu.edu> References: <20060516205119.29586@studentservices.outreach.psu.edu> Message-ID: <1147813143.12329.108.camel@localhost> On Tue, 2006-05-16 at 16:51 -0400, Robert Snyder wrote: > I have a very strange situation going on with my reports. > > When I go to the Service Detail screen, sometimes the number of services > listed for each host is different. I can reload the page and then the > missing services return to the list. Stop Nagios. Kill all the zombie Nagios processes. Start Nagios. Done. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From teng at dataway.com Tue May 16 23:03:57 2006 From: teng at dataway.com (Tedman Eng) Date: Tue, 16 May 2006 14:03:57 -0700 Subject: How to "correctly" shut off notifications on s ervices, but not for hosts Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DA2@dw-mail.dataway.com> From: James E. Pratt [mailto:jpratt at norwich.edu] > > Hi. Dumb question probably, apologies in advance... > > I have a router, which I am currently monitoring snmp and ping on - i > dont want notifies on the services, but only the host, but still want > the services going down to trigger the host check etc etc if > that makes > sense? > > What's the "proper" way to do this? I.E, disable notifications for the > service(s) altogether, or is there another way this should be done? I > assume that since service checking will still be "on", disabling > notifies on the service would accomplish what I want.. is > that right...? That would work. You can also leave notification to enabled, but set those service notification_options to "none". This would be cleaner looking, IMO because there would be no "notification disabled" icons in the TAC or next to the service. The net effect is the same. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From warpspasm at hotmail.com Tue May 16 23:12:43 2006 From: warpspasm at hotmail.com (Jan van der Merwe) Date: Tue, 16 May 2006 21:12:43 +0000 Subject: Nagios -v works fine - Webpages don't!!! Message-ID: Hi Guys, I have Nagios setup on FC4. I'm trying to get the basic minimal.cfg to work so that I have something to start from. cfg_file=/usr/local/nagios/etc/minimal.cfg is the only cfg file that i have left uncommented. I have copied minimal.cfg-sample -> minimal.cfg I have run nagios -v minimal.cfg and now errors where reported. However, when I click on any of the Webpage scripts on the left: /nagios/cgi-bin/status.cgi?hostgroup=all&style=hostdetail /nagios/cgi-bin/tac.cgi etc... I get the following error in the main screen: Whoops! Error: Could not read object configuration data! Here are some things you should check in order to resolve this error: 1. Verify configuration options using the -v command-line option to check for errors. 2. Check the Nagios log file for messages relating to startup or status data errors. 3. Make sure you've compiled the main program and the CGIs to use the same object data storage options (i.e. default text file or template-based file). Make sure you read the documentation on installing, configuring and running Nagios thoroughly before continuing. If all else fails, try sending a message to one of the mailing lists. More information can be found at http://www.nagios.org. It is strange, nagios.cfg lists my log file as: log_file=/usr/local/nagios/var/nagios.log But there is nothing there??? Any pointers as to how I can go about getting this minimal.cfg to work at least? Thanks! Chris ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Tue May 16 23:11:43 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Wed, 17 May 2006 09:11:43 +1200 Subject: Nagios Host Check Message-ID: I have several hosts that I just want to check connectivity nothing else. If I put the hosts in the hosts file Nagios complains that there are no services defined for this hosts. It still works but I want to get rid of the error message. Do I need to create some form of dummy service to remove error message ===================================================================== CAUTION: This e-mail and any attachment(s) contains information that is intended to be read only by the named recipient(s). It may contain information that is confidential, proprietary or the subject of legal privilege. This information is not to be used by any other person and/or organisation. If you are not the intended recipient, please advise us immediately and delete this e-mail from your system. Do not use any information contained in it. ================================================================ For more information on the Television New Zealand Group, visit us online at http://www.tvnz.co.nz ================================================================ -------------- next part -------------- An HTML attachment was scrubbed... URL: From rns3 at psu.edu Tue May 16 23:23:00 2006 From: rns3 at psu.edu (Robert Snyder) Date: Tue, 16 May 2006 17:23:00 -0400 Subject: Re(2): Abnormal Program Termination In-Reply-To: <1147813143.12329.108.camel@localhost> References: <20060516205119.29586@studentservices.outreach.psu.edu> <1147813143.12329.108.camel@localhost> Message-ID: <20060516212300.104@studentservices.outreach.psu.edu> On Tue, May 16, 2006, jeff vier wrote: >Stop Nagios. > >Kill all the zombie Nagios processes. > >Start Nagios. > >Done. Thanks. That did the trick. What is the best way to update nagios once you have made changes to the .cfg files. I had been using stop/start. But I am guessing that is what gave me all the zombie processes. Is it better form to just use the reload and force-reload commands? Robert ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Tue May 16 23:24:49 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 16 May 2006 14:24:49 -0700 Subject: Nagios Host Check In-Reply-To: References: Message-ID: <20060516212449.GM22398@mal.toger.us> On Wed, May 17, 2006 at 09:11:43AM +1200, Ron Wilson wrote: > I have several hosts that I just want to check connectivity nothing > else. If I put the hosts in the hosts file Nagios complains that there > are no services defined for this hosts. It still works but I want to get FAQ: http://www.nagios.org/faqs/viewfaq.php?faq_id=39 -Jason Martin -- A true adman writes the prose and cons. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From marc at ena.com Tue May 16 23:24:49 2006 From: marc at ena.com (Marc Powell) Date: Tue, 16 May 2006 16:24:49 -0500 Subject: Nagios Host Check Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ron Wilson > Sent: Tuesday, May 16, 2006 4:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Host Check > > I have several hosts that I just want to check connectivity nothing else. > If I put the hosts in the hosts file Nagios complains that there are no > services defined for this hosts. It still works but I want to get rid of > the error message. Do I need to create some form of dummy service to > remove error message You need to define at least one service that is checked per host. http://www.nagios.org/faqs/viewfaq.php?faq_id=39 and first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SKeller at ea.com Tue May 16 23:37:09 2006 From: SKeller at ea.com (Keller, Steve) Date: Tue, 16 May 2006 14:37:09 -0700 Subject: "Agentless" monitoring with Nagios? Message-ID: <1AE1A512FFFCB946BA664E1C922F776805ED0371@EAHQ-CSMB6.rws.ad.ea.com> You can get it from openssh.com. Directions on setting up persistent connections are in the installation files. It basically just requires a config file in ~/.ssh and a directory underneath it to store temp files Steve -----Original Message----- From: Jason Martin [mailto:jhmartin at toger.us] Sent: Tuesday, May 16, 2006 1:12 PM To: Eli Stair Cc: Keller, Steve; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] "Agentless" monitoring with Nagios? On Tue, May 16, 2006 at 12:13:08PM -0700, Eli Stair wrote: > in most situations (for me), and actually consumes less cycles on BOTH > ends... This FSH project looks promising, though hasn't been updated since > 2001... A scary prospect for anything that is crypto/authentication based :) I think it just acts as a 'ssh session manager' and doesn't do any crypto itself. > Then again, check_by_fsh sounds nice too! Have to look at SSH4 features now > that you mentioned it Steve. Can you provide a link to SSH4? I'm not seeing anything relevant on google. -Jason Martin -- Cats aren't clean, they're just covered with cat spit! This message is PGP/MIME signed. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From boinger at tradingtechnologies.com Tue May 16 23:33:02 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Tue, 16 May 2006 16:33:02 -0500 Subject: Re(2): Abnormal Program Termination In-Reply-To: <20060516212300.104@studentservices.outreach.psu.edu> References: <20060516205119.29586@studentservices.outreach.psu.edu> <1147813143.12329.108.camel@localhost> <20060516212300.104@studentservices.outreach.psu.edu> Message-ID: <1147815182.12329.129.camel@localhost> On Tue, 2006-05-16 at 17:23 -0400, Robert Snyder wrote: > On Tue, May 16, 2006, jeff vier wrote: > > >Stop Nagios. > > > >Kill all the zombie Nagios processes. > > > >Start Nagios. > > > >Done. > > Thanks. That did the trick. > > What is the best way to update nagios once you have made changes to > the .cfg files. I had been using stop/start. But I am guessing that is > what gave me all the zombie processes. Is it better form to just use the > reload and force-reload commands? I wrote some extra logic into the init script to wait for the processes to die (echoing a dot every second it waits..........). If it doesn't die efficiently, I open another SSH session and manually kill -9 the hung process(es). I don't know if reload would work or not, though. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part URL: From jhmartin at toger.us Tue May 16 23:56:04 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 16 May 2006 14:56:04 -0700 Subject: "Agentless" monitoring with Nagios? In-Reply-To: <1AE1A512FFFCB946BA664E1C922F776805ED0371@EAHQ-CSMB6.rws.ad.ea.com> References: <1AE1A512FFFCB946BA664E1C922F776805ED0371@EAHQ-CSMB6.rws.ad.ea.com> Message-ID: <20060516215604.GO22398@mal.toger.us> On Tue, May 16, 2006 at 02:37:09PM -0700, Keller, Steve wrote: > You can get it from openssh.com. Directions on setting up persistent Ooh, OpenSSH version 4. That makes more sense. > connections are in the installation files. It basically just requires a > config file in ~/.ssh and a directory underneath it to store temp files I see now, the ControlMaster / ControlPath directives. I think you'll still need something like fsh as these directives appear to only help when you have multiple connections to the same host running concurrently, not when you want to cache a connection over a long period of time. -Jason Martin > -----Original Message----- > From: Jason Martin [mailto:jhmartin at toger.us] > Sent: Tuesday, May 16, 2006 1:12 PM > To: Eli Stair > Cc: Keller, Steve; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] "Agentless" monitoring with Nagios? > > On Tue, May 16, 2006 at 12:13:08PM -0700, Eli Stair wrote: > > in most situations (for me), and actually consumes less cycles on BOTH > > ends... This FSH project looks promising, though hasn't been updated > since > > 2001... A scary prospect for anything that is crypto/authentication > based :) > I think it just acts as a 'ssh session manager' and doesn't do > any crypto itself. > > > Then again, check_by_fsh sounds nice too! Have to look at SSH4 > features now > > that you mentioned it Steve. > Can you provide a link to SSH4? I'm not seeing anything relevant > on google. > > -Jason Martin -- A true adman writes the prose and cons. This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From jperrin at gmail.com Tue May 16 23:57:38 2006 From: jperrin at gmail.com (Jim Perrin) Date: Tue, 16 May 2006 17:57:38 -0400 Subject: Nagios -v works fine - Webpages don't!!! In-Reply-To: References: Message-ID: <302ce8b50605161457y2166be22q392eedc705fd9245@mail.gmail.com> > It is strange, nagios.cfg lists my log file as: > log_file=/usr/local/nagios/var/nagios.log > > But there is nothing there??? > > Any pointers as to how I can go about getting this minimal.cfg to work at > least? Your permissions and possibly users/groups are incorrect. The 'easy' way to set up nagios on fedora core 4 is 'yum install nagios' as it's a package in extras. Since you did it the hard way, you'll have to check permissions (selinux included if you're using it) and make sure that apache has access to nagios files etc. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Fri May 12 11:53:19 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 12 May 2006 11:53:19 +0200 (CEST) Subject: Problems with check_disk_smb In-Reply-To: <446455DA.9060304@eu.skechers.com> References: <446455DA.9060304@eu.skechers.com> Message-ID: On Fri, 12 May 2006, Miguel Faria wrote: > I recently installed Nagios 2.3 along-side the old Nagios 1.2. On the > 1.2 the check_disk_smb script works fine, but on the 2.3 it gives the > error 'invalid share name ....'. I run the the command using the 2.3's > version of the script and it works fine. > > Am I missing something here? Perhaps. But you leave us in the blind on your setup. I suggest you provide the nescessary details. I sure we are missing everything. Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ingo.lantschner at edvg.at Fri May 12 14:19:39 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Fri, 12 May 2006 14:19:39 +0200 Subject: Ingo Lantschner/EDVG ist =?ISO-8859-1?Q?au=DFer_Haus=2E?= Message-ID: Ich werde ab 12.05.2006 nicht im B?ro sein. Ich kehre zur?ck am 29.05.2006. Ich werde Ihre Nachricht nach meiner R?ckkehr beantworten. In dringenden F?llen wenden Sie sich bitte an meine Kollegen Rudolf Kanov (DW 1290) oder Sven Bison (DW 1314) oder an die EDVg Serviceline (01) 59907 DW 9970. Mit freundlichen Gr?ssen Ingo Lantschner ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ron at tvnz.co.nz Wed May 17 01:17:03 2006 From: ron at tvnz.co.nz (Ron Wilson) Date: Wed, 17 May 2006 11:17:03 +1200 Subject: Nagios Host Check In-Reply-To: References: Message-ID: OK I accept that but if it is something like an external router or similar where there is nothing else I need to check or can check, I jus want to know if it is down, what service can I define so that it keeps Nagios happy. Can I do a dummy service connectivity check? > Subject: [Nagios-users] Nagios Host Check > > I have several hosts that I just want to check connectivity nothing else. > If I put the hosts in the hosts file Nagios complains that there are no > services defined for this hosts. It still works but I want to get rid of > the error message. Do I need to create some form of dummy service to > remove error message You need to define at least one service that is checked per host. http://www.nagios.org/faqs/viewfaq.php?faq_id=39 and first section of http://nagios.sourceforge.net/docs/2_0/networkreachability.html -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null ===================================================================== CAUTION: This e-mail and any attachment(s) contains information that is intended to be read only by the named recipient(s). It may contain information that is confidential, proprietary or the subject of legal privilege. This information is not to be used by any other person and/or organisation. If you are not the intended recipient, please advise us immediately and delete this e-mail from your system. Do not use any information contained in it. ================================================================ For more information on the Television New Zealand Group, visit us online at http://www.tvnz.co.nz ================================================================ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jhmartin at toger.us Wed May 17 01:25:29 2006 From: jhmartin at toger.us (Jason Martin) Date: Tue, 16 May 2006 16:25:29 -0700 Subject: Nagios Host Check In-Reply-To: References: Message-ID: <20060516232528.GS22398@mal.toger.us> On Wed, May 17, 2006 at 11:17:03AM +1200, Ron Wilson wrote: > OK I accept that but if it is something like an external router or > similar where there is nothing else I need to check or can check, I jus > want to know if it is down, what service can I define so that it keeps > Nagios happy. Can I do a dummy service connectivity check? Ping is a valid check. -Jason Martin -- I am, therefore I am (I don't draw conclusions). This message is PGP/MIME signed. -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 213 bytes Desc: not available URL: From frederik.vanhee at perso.be Tue May 16 08:09:13 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Tue, 16 May 2006 08:09:13 +0200 Subject: Nagios 2.3.1, problems with perl plugins In-Reply-To: References: Message-ID: <44696C89.5020604@perso.be> Hello, I just installed nagios-2.3.1, with perlcache and embedded-perl-interpreter. Before I had Nagios-2.0rc2 with perlcache and embedded-perl-interpreter. I'm using nagios-plugins 1.4.3 The system is running on Debian Sarge Ever since the upgrade , I experience problems with plugins written in perl. p.ex check_ntp -H xx.xx.xx.xx -w 5 -c 10 returns : Argument "(not parsed)" isn't numeric in abs at ./check_ntp line 408 NTP OK: Offset 0.000927 sec, jitter (not parsed) msec, peer is stratum 2 | offset=0.000927, jitter=0,peer_stratum=2 Any hints, Frederik ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From hvdkooij at vanderkooij.org Tue May 16 08:25:45 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Tue, 16 May 2006 08:25:45 +0200 (CEST) Subject: bug with a cyrillic text in host alias In-Reply-To: <20060515185247.GJ22873@mal.toger.us> References: <20060515185247.GJ22873@mal.toger.us> Message-ID: On Mon, 15 May 2006, Jason Martin wrote: > On Mon, May 15, 2006 at 10:24:35PM +0400, Danila Kutepkin wrote: > > But, I can't undestand, why does Nagios send empty (space) symbols > > instead of cyrillic text in Notification e-mails. For example, I have > > a host named Host1 and some alias for it in cyrillic (KOI8). Locale of > > nagios user is KOI8, web-interface show cyr tex correctly too, I can > > send e-mail with cyr symbols from nagios user shell. But the e-mail, > > thatis generated by nagios process still bad. > Nagios pipes notifications to sendmail for sending. As a test, > construct a text file with the some representitive characters > and redirect it into sendmail and have it send it to you. I > suspect that the characters are being lost by sendmail, in which > case it is your sendmail config that would need modification. Email headers should be 7bit clean. Using cyrilic characters violates that and will result in a failer of the MTA. You need to encode such thing according to the standards before you give it to sendmail (or whatever other SMTP server). Hugo. -- I hate duplicates. Just reply to the relevant mailinglist. hvdkooij at vanderkooij.org http://hvdkooij.xs4all.nl/ Don't meddle in the affairs of magicians, for they are subtle and quick to anger. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From az at whoever.org Sat May 13 02:18:50 2006 From: az at whoever.org (Az) Date: Sat, 13 May 2006 10:18:50 +1000 Subject: Scheduled Downtime Seg Fault In-Reply-To: <20060512215526.57EB74F476B@desire.netways.de> References: <20060512215526.57EB74F476B@desire.netways.de> Message-ID: <446525EA.3080905@whoever.org> We had a similar issue with v1.3, but it was when we injected shutdown commands externally. Oddly, using the web interface didnt cause the issue. The format of the external command was fine. I haven't retested it with v2.x yet. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jorg.Schulz at systeam.se Fri May 12 16:37:18 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 12 May 2006 16:37:18 +0200 Subject: Memory Leak on Nagios 2.3 ? Message-ID: Hi Running Nagios 2.3 and Plugins 1.4.3 on a CRUX 2.2 Distro The Server is a HP320 with 1 GB Ram I wondering if there is a known bug in Nagios 2.3 with a memory Leak ? With 1GB The Server use 950MB and free are 48MB I tried to "tune" nagios after i read the Documents for Nagios BTW i running mysqld for NagiosQL All help are welcome //J?rg -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 10010 bytes Desc: not available URL: From nemir at hotmail.com Sat May 13 21:32:26 2006 From: nemir at hotmail.com (nemir nemiria) Date: Sat, 13 May 2006 19:32:26 +0000 Subject: trouble installing plugins --with-openssl under ubuntu 5.10 In-Reply-To: <446525EA.3080905@whoever.org> References: <446525EA.3080905@whoever.org> Message-ID: I am having trouble compiling nagios-plugins 1.4.1 on an ubuntu 5.10 server. THe advice I have read in previous threads says to install openssl. I am new to apt-get, but it wasn't too hard. Output from apt-get install openssl is: # apt-get install openssl Reading package lists... Done Building dependency tree... Done openssl is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded. # which openssl /usr/bin/openssl Whne I do a ./configure --with-openssl=/usr/bin I get the following summary. config.status: creating po/Makefile --with-ping6-command: /bin/ping6 -n -U -w %d -c %d %s --with-ping-command: /bin/ping -n -U -w %d -c %d %s --with-lwres: no --with-ipv6: yes --with-mysql: no --with-openssl: no --with-gnutls: no --enable-emulate-getaddrinfo: no --with-perl: /usr/bin/perl --with-cgiurl: /nagios/cgi-bin --with-nagios-user: nagios --with-nagios-group: nagios --with-trusted-path: /bin:/sbin:/usr/bin:/usr/sbin Going through the ./configure output I notice: checking openssl/ssl.h usability... no checking openssl/ssl.h presence... no checking for openssl/ssl.h... no checking openssl/x509.h usability... no checking openssl/x509.h presence... no checking for openssl/x509.h... no checking openssl/rsa.h usability... no checking openssl/rsa.h presence... no checking for openssl/rsa.h... no checking openssl/pem.h usability... no checking openssl/pem.h presence... no checking for openssl/pem.h... no checking openssl/crypto.h usability... no checking openssl/crypto.h presence... no checking for openssl/crypto.h... no checking openssl/err.h usability... no checking openssl/err.h presence... no checking for openssl/err.h... no checking ssl.h usability... no checking ssl.h presence... no checking for ssl.h... no checking the config.log file I also notice: configure:27062: checking openssl/ssl.h usability configure:27074: gcc -c -g -O2 conftest.c >&5 conftest.c:72:25: error: openssl/ssl.h: No such file or directory configure:27080: $? = 1 configure: failed program was: | /* confdefs.h. */ This is despite me having openssl installed as the notes suggest. None of those files it is searching for seem to exist on my box (with the exception of crypto.h, but that was hardly a surprise). What am I missing? I tried running apt-get install openssl-dev[el], but it doesn't seem to exist under that name here. I am sure this is just something basic that I am not seeing at the moment, but would really appreciate all hints and help available. TIA Nemir ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From imarks at comcast.net Wed May 17 02:54:17 2006 From: imarks at comcast.net (Ian) Date: Tue, 16 May 2006 20:54:17 -0400 Subject: User authentication alternatives. In-Reply-To: References: Message-ID: <446A7439.1090906@comcast.net> For authenticating users off your local system, LDAP, or NIS you can use mod_auth_pam for Apache. http://pam.sourceforge.net/mod_auth_pam/ Andrew Cruse wrote: > nagios-users-admin at lists.sourceforge.net wrote: > >> On 5/16/06, Tiernan, Michael C. wrote: >> >>> I'll admit to being a bit green on how to make some of the things >>> happen under Apache so I figured I'd ask this august group for >>> advice. >>> >>> I'd like to use the system password file for authenticating users >>> against for nagios and then just use a simple list of the login names >>> for who can be admins. (In short, only one copy of a password but >>> multiple copies of login names.) >>> >>> Anyone ever done this sort of thing for Nagios? >>> >>> Thanks for your advice in advance. >>> >> While I'm not aware of a way to do what you seek via >> authentication, there's a plugin for nagios that only allows >> certain people to modify things via the web interface. In >> this way you could seperate users -who could view but not >> change, and admins -who can do whatever they damn well please. >> >> http://altinity.blogs.com/dotorg/2006/02/index.html >> >> Might be a different way to accomplish the same task. >> > > I just did this in the .htaccess file for the nagios/share directory: > > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /usr/local/nagios/etc/htpasswd.users > AuthGroupFile /usr/local/nagios/etc/htpasswd.groups > require valid-user > > require group administrators > > > Just make sure any user you want to be able to effect any changes via > the web interface are in the administrators group. Users not in the > administrators group will still see links and buttons to make changes, > but won't have permission to do so. > > That solves one of your problems. I suppose for using /etc/passwd for > authentication...you could always write a little wrapper for passwd and > useradd in your system that does the usual stuff but also updates your > htpasswd.users and htpasswd.groups files... > > Andrew > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 03:00:28 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 16 May 2006 21:00:28 -0400 Subject: Stale log messages! In-Reply-To: References: Message-ID: I believe someone answered this for you this morning, but the error means you have freshness checking turned on for that service, and have defined it with a freshness check interval of 15 seconds. This is almost certainly a configuration error. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Gerard Marcel Sent: Sunday, May 14, 2006 5:00 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Stale log messages! I am totally confused about these error messages: May 14 18:02:16 blue nagios: Warning: The results of host 'backup' are stale by 45 seconds (threshold=15 seconds). I'm forcing an immediate check of the host. I am getting a ton of these messages and I don't know why. I looked at the archives and google and nothing seems to help. TIA, GM ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue May 16 23:23:17 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Wed, 17 May 2006 09:23:17 +1200 Subject: Monitore Postfix queue In-Reply-To: <4469CEEA.5090100@forumgdh.net> References: <4469CEEA.5090100@forumgdh.net> Message-ID: <002701c6792e$f351d200$8ea8d882@UoA.auckland.ac.nz> > I've write a small script do monitore postfix queue using > postqueue to count the number of emails on my queue: > > postqueue -p | tail -1 | cut -d " " -f 5 > > The problem: Sometimes, my queue have more than 20.000 > emails, and I can't count this number of emails in less then > 1 minute :-) We had this problem, too. So, I wrote a different plugin that uses Perl. The quickest way to do this is to just count the number of files in the postfix queue directory, although this requires the plugin to run with the appropriate group permissions (which I achieved by using a sudo wrapper). The postqueue (or mailq) commands take a lot longer because they parse the messages in order to output all the extra information, which you arent interested in. Steve ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gorste at tesco.net Mon May 15 14:26:55 2006 From: gorste at tesco.net (Gordon Stewart) Date: Mon, 15 May 2006 12:26:55 +0000 Subject: ocsp_command Message-ID: <20060515122655.KZCM16286.aamtaout03-winn.ispmail.ntl.com@smtp.ntlworld.com> Dear List Does ocsp_command work when the check is a passive check from a remote site? I have a ocsp_command in my nagios.cfg and it only seams wo work when the command is an active check. Thanks Gordon Stewart ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 03:05:14 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 16 May 2006 21:05:14 -0400 Subject: Re(2): Abnormal Program Termination In-Reply-To: <1147815182.12329.129.camel@localhost> References: <1147815182.12329.129.camel@localhost> Message-ID: For what it's worth, a reload (which, depending on your init scripts, is probably just a "kill -HUP" to the Nagios process) often gives me the same results. I've been seeing this issue for years, and have never found a good fix for it. I've ended up doing the kill -9 thing myself when Nagios hangs on me (though I've automated it because it happens quite often on a few of the Nagios installations I deal with), and that works pretty well most of the time. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeff vier Sent: Tuesday, May 16, 2006 2:33 PM To: Robert Snyder Cc: Nagios Users Subject: Re: Re(2): [Nagios-users] Abnormal Program Termination On Tue, 2006-05-16 at 17:23 -0400, Robert Snyder wrote: > On Tue, May 16, 2006, jeff vier wrote: > > >Stop Nagios. > > > >Kill all the zombie Nagios processes. > > > >Start Nagios. > > > >Done. > > Thanks. That did the trick. > > What is the best way to update nagios once you have made changes to > the .cfg files. I had been using stop/start. But I am guessing that is > what gave me all the zombie processes. Is it better form to just use > the reload and force-reload commands? I wrote some extra logic into the init script to wait for the processes to die (echoing a dot every second it waits..........). If it doesn't die efficiently, I open another SSH session and manually kill -9 the hung process(es). I don't know if reload would work or not, though. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 02:57:33 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Tue, 16 May 2006 20:57:33 -0400 Subject: bug with a cyrillic text in host alias In-Reply-To: References: Message-ID: There is no part of Nagios that sends e-mails. It simply uses whatever notification command you define in your configs. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Danila Kutepkin Sent: Monday, May 15, 2006 11:25 AM To: nagios-devel at lists.sourceforge.net; nagios-users at lists.sourceforge.net Subject: [Nagios-users] bug with a cyrillic text in host alias Hi there! I'm trying to make nagios show cyrillic text (in HOSTALIAS). After some simple changes, it becomes to show correct symbols in statusmap.cgi In all over CGIs cyrillic symbols are shown perfectly. But, I can't undestand, why does Nagios send empty (space) symbols instead of cyrillic text in Notification e-mails. For example, I have a host named Host1 and some alias for it in cyrillic (KOI8). Locale of nagios user is KOI8, web-interface show cyr tex correctly too, I can send e-mail with cyr symbols from nagios user shell. But the e-mail, thatis generated by nagios process still bad. Can anyone show me the place in C++ that is responsible for genetating e-mails with notifications? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill.ryder.nz at gmail.com Wed May 17 04:03:40 2006 From: bill.ryder.nz at gmail.com (Bill Ryder) Date: Wed, 17 May 2006 14:03:40 +1200 Subject: One cause of the 'Internal Server Errors' with nagios 2.3 Message-ID: <37e5e1080605161903q1fadba37yd499b790cd0890af@mail.gmail.com> HI All, (First of all - hope the moderator hasn't approved my previous post on this topic before I resend this one!). This may or may not apply to anyone having Internal Server Errors but it certainly fixed my nagios. Summary: ======= Make sure your status.dat file (config variable status_file) is on the same filesystem as your temporary file (config variable temp_file). In fact I think nagios should enforce this. If the two files are on different filesystems and you have a lot of services and/or hosts you will get this problem intermittently. Essentially the status.dat file changes underneath the mmap'ed status.dat file used by many of the cgis. If you are only monitoriing a few hosts you'll probably get lucky because the copies take a very short period of time and hence the window for the fault to occur is very small. Perhaps nagios's my_rename function should copy the file to a temp name in the destination directory then rename the old to a new file if the filesystems are different. Long version: ========= At Weta Digital I have just started using Nagios to monitor our renderwall (currently around 1,500 machines - 9,000 services). We've been using nagios for our production servers for years. I was gettnig the 'Internal Server Error' quite often. I could easily reproduce the problem by running status.cgi from a debug script which looks like: #!/bin/sh REQUEST_METHOD="GET" QUERY_STRING='host=all&servicestatustypes=28' export QUERY_STRING REQUEST_METHOD gdb ./status.cgi I only had to run it about 10-20 times to get a crash like this: Program received signal SIGBUS, Bus error. mmap_fgets (temp_mmapfile=0x8600c68) at cgiutils.c:1195 1195 if(*(char *)(temp_mmapfile->mmap_buf+x)=='\n') (gdb) p *temp_mmapfile $3 = {path = 0x8074050 "/var/tmp/nagios_ramdisk/status.dat", mode = 1668573559, fd = 7, file_size = 11087473, current_position = 1570370, current_line = 69104, mmap_buf = 0xb737c000} (gdb) At this point the file had changed size - in otherwords the file changed under the mmap - which is a recipe for SIGBUS's I then spent some time trying some different mmap options and thinking about clever solutions to this and then decided I needed to figure out exactly what the nagios core does with the status.dat file. (Which I should have done to start with of course :-). This is what i found: {106} # strace -e trace=file -p 28007 |& grep status.dat rename("/var/cache/nagios2/nagios.tmp18dGu2", "/var/tmp/nagios_ramdisk/status.dat") = -1 EXDEV (Invalid cross-device link) open("/var/tmp/nagios_ramdisk/status.dat", O_WRONLY|O_APPEND|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 10 rename("/var/cache/nagios2/nagios.tmplQrHE5", "/var/tmp/nagios_ramdisk/status.dat") = -1 EXDEV (Invalid cross-device link) open("/var/tmp/nagios_ramdisk/status.dat", O_WRONLY|O_APPEND|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 10 rename("/var/cache/nagios2/nagios.tmpACHJEk", "/var/tmp/nagios_ramdisk/status.dat") = -1 EXDEV (Invalid cross-device link) open("/var/tmp/nagios_ramdisk/status.dat", O_WRONLY|O_APPEND|O_CREAT|O_TRUNC|O_LARGEFILE, 0644) = 10 At this point it was obvious. I had put status.dat on a ramdisk for performance reasons but didn't move the temp_file. So nagios was creating the new status.dat (called nagios.tmp.XXXXXXX) file in a different filesystem. The rename fell back to copying the file between filesystems. This was causing the SIGBUS because the file shrunk underneath the mmaped file. I don't have these faults anymore now they are both on the same filesystem. Hope this helps someone! Bill Ryder System Engineer Weta Digital ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luc at suryo.com Wed May 17 05:21:50 2006 From: luc at suryo.com (Luc I. Suryo) Date: Tue, 16 May 2006 21:21:50 -0600 Subject: Compile nagios-2.3.1 on Solaris 8 In-Reply-To: <20060516063125.00001129@sws602.mcsun.local> References: <60721B67EAF0994EAFFB561767B700145937FE@nets13ha.ww300.siemens.net> <20060516063125.00001129@sws602.mcsun.local> Message-ID: <20060517032150.GA12578@porsche.suryo.com> > > > > I've a problem compiling the new 2.3.1 on Solaris 8 with > > SUN Studio 11 and gcc-3.4.3 > > > > compiling cgi/getcgi.c fails with the error that INT_MAX is > > undefined. > > Yes, same here. I am not sure of what INT_MAX is supposed to be. 1. ok i checked sys/types.h and indeed it depend on KERNEL being defined.. so what I *think* should happend is to check against iso/limits_iso.h if exist add that in the include/config.h file.. done by the configuration script... 2. also lost of redefined of RTLD_NOW and RTLD_GLOBAL these are already defined in /usr/include/dlfcn.h... 3. the module directry fails, it could be ignored (the xampel helloworld module).... i will need more time to check what's up with that, otherwise it compiled just fine.... tested on Solaris 8/sparc Sun Studio 10 -ls ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Janet.Post at excapsa.ca Wed May 17 05:34:17 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Tue, 16 May 2006 23:34:17 -0400 Subject: CGI's not reading the cgi.cfg file?? Message-ID: Hello, A couple of the CGI binarys are not honouring the cgi.cfg file directive for authorized users. My cfg.cfg contains these two lines: authorized_for_all_services=* authorized_for_all_hosts=* which should theoretically give access to anyone who authenticates to the webserver, (which is configured to use Kerberos). The problem is, some CGI's are not honouring the wildcard, nor do they honour a specific username. I went into contacts.cfg and made my contact name match the REMOTE_USER name (which meant adding the @FQDN.COM to the end of my username) and suddenly I can see all the hosts for whom I am a contact. I understand that this is the default behaviour, but I would like to know why the cgi's are either not reading or ignoring the config file. The CGI's in question are: Statusmap.cgi Trends.cgi Histogram.cgi History.cgi Summary.cgi Other CGI's do honour the "authorized_for_all..." directives: Status.cgi Statuswrl.cgi Avail.cgi Anyone have any ideas? How can I fix this without adding upper-management to EVERY contact list. (Ugh!) Thanks for your time. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Wed May 17 07:29:08 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Wed, 17 May 2006 09:29:08 +0400 Subject: bug with a cyrillic text in host alias In-Reply-To: <20060515185247.GJ22873@mal.toger.us> References: <20060515185247.GJ22873@mal.toger.us> Message-ID: On Mon, 15 May 2006 11:52:47 -0700 Jason Martin wrote: > On Mon, May 15, 2006 at 10:24:35PM +0400, Danila Kutepkin wrote: >> But, I can't undestand, why does Nagios send empty (space) symbols >> instead of cyrillic text in Notification e-mails. For example, I >>have >> a host named Host1 and some alias for it in cyrillic (KOI8). Locale >>of >> nagios user is KOI8, web-interface show cyr tex correctly too, I can >> send e-mail with cyr symbols from nagios user shell. But the e-mail, >> thatis generated by nagios process still bad. > Nagios pipes notifications to sendmail for sending. As a test, > construct a text file with the some representitive characters > and redirect it into sendmail and have it send it to you. I > suspect that the characters are being lost by sendmail, in which > case it is your sendmail config that would need modification. sending e-mails with a text in KOI8-R from shell (using mail command) works perfectly. Dumping the text of e-mail with notifications to file shows that text with broken KOI8-R text of HOSTALIAS goes from NAGIOS. Also, I use inserted a text in KOI8-R (russian word instead of "Group: ") to host-nofity-by-email command and it's shown correctly in message. I had same problem with statusmap.cgi. A function that parses plain text to HTML compartible breaks KOI-8 text to unreadable. I turned off that funtion. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at Dest.gov.au Wed May 17 09:01:45 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 17 May 2006 17:01:45 +1000 Subject: Nagios 2.3.1, problems with perl plugins Message-ID: Dear Sir, I am writing to thank you for your letter and say, >-----Original Message----- > >Message: 2 >Date: Tue, 16 May 2006 08:09:13 +0200 >From: Frederik Vanhee >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Nagios 2.3.1, problems with perl plugins > >Hello, > >I just installed nagios-2.3.1, with perlcache and >embedded-perl-interpreter. Before I had Nagios-2.0rc2 with >perlcache and embedded-perl-interpreter. I'm using >nagios-plugins 1.4.3 The system is running on Debian Sarge > >Ever since the upgrade , I experience problems with plugins written in >perl. p.ex > >check_ntp -H xx.xx.xx.xx -w 5 -c 10 > >returns : > >Argument "(not parsed)" isn't numeric in abs at ./check_ntp >line 408 NTP OK: Offset 0.000927 sec, jitter (not parsed) >msec, peer is stratum 2 >| offset=0.000927, jitter=0,peer_stratum=2 > I am happily using embedded Perl 2.3 (built from a SPEC based on the Dag Wieers specfile) and there are no problems with Perl plugins. Are all Perl plugins failing or only check_ntp ? IIRC there has been quite a lot of comment about check_ntp; it may be worth checking the thread on gmane (there may be a better check_ntp than the one with 1.4.3 plugins). There is an embedded Perl diagnostic with Nagios called new_mini_epn. It is a C binary that emulates the part of checks.c that runs Perl plugins. To use, cd into the directory containing new_mini_epn or copy it to /tmp or convenient place. cp p1.pl into that dir (if its not there). [sh1517 at acisf011 tmp]$ ./new_mini_epn plugin command line: (the program supports readline so arrow history works etc.) My copy of check_ntp doesn't work -it's not a plugin used here - so I can't check it out. >Any hints, > >Frederik > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From asmoore at edge.net Wed May 17 12:50:45 2006 From: asmoore at edge.net (Alex Moore) Date: Wed, 17 May 2006 05:50:45 -0500 Subject: Compile nagios-2.3.1 on Solaris 8 In-Reply-To: <20060517032150.GA12578@porsche.suryo.com> References: <60721B67EAF0994EAFFB561767B700145937FE@nets13ha.ww300.siemens.net> <20060516063125.00001129@sws602.mcsun.local> <20060517032150.GA12578@porsche.suryo.com> Message-ID: <20060517055045.00003f7a@sws602.mcsun.local> On Tue, 16 May 2006 21:21:50 -0600 "Luc I. Suryo" wrote: > 3. the module directry fails, it could be ignored (the xampel > helloworld module).... i will need more time to check what's up with > that, otherwise it compiled just fine.... > Thanks for this Luc. Probably not the best way, but adding the header to the source fixed the problem on 1. Something from configure probably should have been involved. On 3., Solaris does not know a .o extension as an executable. To get around this one, I patch ./module/Makefile to replace helloworld.o with helloworld Alex ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 17 13:07:16 2006 From: grover1711 at gmail.com (ankush grover) Date: Wed, 17 May 2006 16:37:16 +0530 Subject: how to configure nsclient++ on windows Message-ID: <5f638b360605170407m3ac774ccuf462e005f36040c9@mail.gmail.com> hey friends, I have configured Nagios on my Linux Box (Centos 4.0) now I want to monitor the other linux & windows hosts. I downloaded the nsclient++ for windows but there is no readme or install guide that tells how to configure nsclient++. The version I downloaded is 2.5i2. Can anybody guide me how to configure nsclient++ on windows2003, windows xp and windows 2000 ? Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From m.borsani at it.net Wed May 17 14:04:34 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 17 May 2006 14:04:34 +0200 Subject: R: how to configure nsclient++ on windows In-Reply-To: <5f638b360605170407m3ac774ccuf462e005f36040c9@mail.gmail.com> References: <5f638b360605170407m3ac774ccuf462e005f36040c9@mail.gmail.com> Message-ID: <00c901c679aa$1096d740$0900d40a@intranet.it.net> I still have same problem... Please help us ! Regards Marco _____ Da: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] Per conto di ankush grover Inviato: mercoled? 17 maggio 2006 13.07 A: Nagios Users Mailinglist Oggetto: [Nagios-users] how to configure nsclient++ on windows hey friends, I have configured Nagios on my Linux Box (Centos 4.0) now I want to monitor the other linux & windows hosts. I downloaded the nsclient++ for windows but there is no readme or install guide that tells how to configure nsclient++. The version I downloaded is 2.5i2. Can anybody guide me how to configure nsclient++ on windows2003, windows xp and windows 2000 ? Thanks & Regards Ankush Grover -------------- next part -------------- An HTML attachment was scrubbed... URL: From maca02 at atlas.cz Wed May 17 14:14:40 2006 From: maca02 at atlas.cz (Tomas Macek) Date: Wed, 17 May 2006 14:14:40 +0200 (CEST) Subject: checking delay Message-ID: Hi, I'm using nagios 1.4 and I'm checking our UPS APC Smart. All of the 6 services on this UPS are set to be checked every 2 minutes and recheck after 1 minute. But when I look into the "Service Status Details for UPS" in the nagios's web interface, I see, that the "last check" field shows, that the service last check was not before 2 minutes, but before 30 minutes or even longer. I tried to read FAQs, documentation on nagios.org/docs, tried to set up the freshness_check_interval=15 service_interleave_factor=1 but nothing changed... Does anyone has any explanation for this nagios's behaviour? Any help appreciated! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 pasicx.net Wed May 17 14:17:34 2006 From: nagios at pasicx.net (Nagios-Team@pasicx.net) Date: Wed, 17 May 2006 14:17:34 +0200 Subject: R: how to configure nsclient++ on windows In-Reply-To: <00c901c679aa$1096d740$0900d40a@intranet.it.net> References: <00c901c679aa$1096d740$0900d40a@intranet.it.net> Message-ID: <1147868254.1722.32.camel@hpbooki.pasicx.net> take a look at: http://www.nagios-wiki.de/doku.php/nagios/plugins/check_nt -> only in german! kind regards, padu Am Mittwoch, den 17.05.2006, 14:04 +0200 schrieb Marco Borsani: > I still have same problem... > Please help us ! > > Regards > Marco > > > ______________________________________________________________ > Da: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] Per conto di > ankush grover > Inviato: mercoled? 17 maggio 2006 13.07 > A: Nagios Users Mailinglist > Oggetto: [Nagios-users] how to configure nsclient++ on windows > > > > hey friends, > > > I have configured Nagios on my Linux Box (Centos 4.0) now I > want to monitor the other linux & windows hosts. I downloaded > the nsclient++ for windows but there is no readme or install > guide that tells how to configure nsclient++. The version I > downloaded is 2.5i2. > > Can anybody guide me how to configure nsclient++ on > windows2003, windows xp and windows 2000 ? > > > Thanks & Regards > > Ankush Grover > Freundliche Gruesse aus Nuernberg, Ihr pasicX Team -- Fon: +49 (0) 700 77 683 2833 (PROTECTED) Fax: +49 (0) 700 77 683 2834 Support-Hotline: support at pasicx.net pasicX netsystems gmbh :: protected.it.systems Dorfaeckerstr. 25, D-90427 Nuernberg http://www.pasicX.net/, E-Mail: info at pasicX.net Informieren Sie sich jetzt ueber die aktuellen pasicX News und Events unter http://www.pasicX.net/events/ Simple Way to Open Source... - 30.05.2006 "Citrix iForum 2006" / Muenchen - 23.06.2006 "Citrix meets OpenSource" / Melle - 07.07.2006 IT-Brunch "Managed Content Security" / Nuernberg - 22.09.2006 Projekteinfuehrung Nagios "Nagios Konferenz 2006" / Nuernberg ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From m.borsani at it.net Wed May 17 14:23:14 2006 From: m.borsani at it.net (Marco Borsani) Date: Wed, 17 May 2006 14:23:14 +0200 Subject: R: R: how to configure nsclient++ on windows In-Reply-To: <1147868254.1722.32.camel@hpbooki.pasicx.net> References: <1147868254.1722.32.camel@hpbooki.pasicx.net> Message-ID: <00d501c679ac$abbbb860$0900d40a@intranet.it.net> Nothing in english ?? -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Nagios-Team at pasicx.net -}Inviato: mercoled? 17 maggio 2006 14.18 -}A: nagios-users at lists.sourceforge.net -}Oggetto: Re: R: [Nagios-users] how to configure nsclient++ on windows -} -} -}take a look at: -}http://www.nagios-wiki.de/doku.php/nagios/plugins/check_nt -}-> only in german! -} -}kind regards, padu -} -}Am Mittwoch, den 17.05.2006, 14:04 +0200 schrieb Marco Borsani: -}> I still have same problem... -}> Please help us ! -}> -}> Regards -}> Marco -}> -}> -}> -}______________________________________________________________ -}> Da: nagios-users-admin at lists.sourceforge.net -}> [mailto:nagios-users-admin at lists.sourceforge.net] -}Per conto di -}> ankush grover -}> Inviato: mercoled? 17 maggio 2006 13.07 -}> A: Nagios Users Mailinglist -}> Oggetto: [Nagios-users] how to configure nsclient++ -}on windows -}> -}> -}> -}> hey friends, -}> -}> -}> I have configured Nagios on my Linux Box (Centos 4.0) now I -}> want to monitor the other linux & windows hosts. I -}downloaded -}> the nsclient++ for windows but there is no readme or install -}> guide that tells how to configure nsclient++. The version I -}> downloaded is 2.5i2. -}> -}> Can anybody guide me how to configure nsclient++ on -}> windows2003, windows xp and windows 2000 ? -}> -}> -}> Thanks & Regards -}> -}> Ankush Grover -}> -} -}Freundliche Gruesse aus Nuernberg, -} -}Ihr pasicX Team -} -}-- -}Fon: +49 (0) 700 77 683 2833 (PROTECTED) -}Fax: +49 (0) 700 77 683 2834 -}Support-Hotline: support at pasicx.net -}pasicX netsystems gmbh :: protected.it.systems Dorfaeckerstr. -}25, D-90427 Nuernberg http://www.pasicX.net/, E-Mail: -}info at pasicX.net Informieren Sie sich jetzt ueber die -}aktuellen pasicX News und Events unter http://www.pasicX.net/events/ -} -}Simple Way to Open Source... -} -}- 30.05.2006 "Citrix iForum 2006" / Muenchen -}- 23.06.2006 "Citrix meets OpenSource" / Melle -}- 07.07.2006 IT-Brunch "Managed Content Security" / Nuernberg -}- 22.09.2006 Projekteinfuehrung Nagios "Nagios Konferenz -}2006" / Nuernberg -} -} -} -}------------------------------------------------------- -}Using Tomcat but need to do more? Need to support web -}services, security? -}Get stuff done quickly with pre-integrated technology to make -}your job easier Download IBM WebSphere Application Server -}v.1.0.1 based on Apache Geronimo -}http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 -}_______________________________________________ -}Nagios-users mailing list -}Nagios-users at lists.sourceforge.net -}https://lists.sourceforge.net/lists/listinfo/nagios-users -}::: Please include Nagios version, plugin version (-v) and OS -}when reporting any issue. -}::: Messages without supporting info will risk being sent to /dev/null -} ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 14:25:24 2006 From: jpratt at norwich.edu (James E. Pratt) Date: Wed, 17 May 2006 08:25:24 -0400 Subject: Nagios Host Check Message-ID: <92803D5088947D4A979898CC8E835C442C7C00@XMAIL.norwich.edu> -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marc Powell Sent: Tuesday, May 16, 2006 5:25 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Nagios Host Check > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ron Wilson > Sent: Tuesday, May 16, 2006 4:12 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios Host Check > > I have several hosts that I just want to check connectivity nothing else. > If I put the hosts in the hosts file Nagios complains that there are no > services defined for this hosts. It still works but I want to get rid of > the error message. Do I need to create some form of dummy service to > remove error message >You need to define at least one service that is checked per host. >http://www.nagios.org/faqs/viewfaq.php?faq_id=39 and first section of >http://nagios.sourceforge.net/docs/2_0/networkreachability.html >-- >Marc Thanks.. So if I don't want this single service to send notifications at all, but still trigger host-checks/host-notifications, would I just sent notifications_enabled to 0 in the service def? thx, j ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skorbets at rambler.ru Wed May 17 14:50:38 2006 From: skorbets at rambler.ru (Danila Kutepkin) Date: Wed, 17 May 2006 16:50:38 +0400 Subject: bug with a cyrillic text in host alias In-Reply-To: References: <20060515185247.GJ22873@mal.toger.us> Message-ID: I've found, that nagios shell has many envariment variables, such as NAGIOS_HOSGROUPNAME etc. Also, in has $NAGIOS_HOSTALIAS. That var contains correct KOI8-R text. Also, I've found, that I can use this vars instead of macros in commands definitions: monitoring:/bin# cat /bin/notify #/bin/bash /usr/bin/printf "%b" "***** Nagios *****\n\n???: $NAGIOS_NOTIFICATIONTYPE\n: $NAGIOS_HOSTGROUPNAME\n: $NAGIOS_HOSTNAME\n: $NAGIOS_HOSTSTATE\n: $NAGIOS_HOSTALIAS\n: $NAGIOS_SHORTDATETIME\n" | /usr/bin/mail -s "Host $NAGIOS_HOSTSTATE alert for $NAGIOS_HOSTNAME!" $NAGIOS_CONTACTEMAIL Is it a good idea to use shell env vars for generating notifications? Also, I've found, that I can use a mix of macros and shell vars. There is only bug in shuch way - when I dump text from PRINTF to some file (for example "command_line printf "..." >> /tmp/tmp") it creates file named /tmp/tmp$, i.e. we have wrong filename. I Think, It'd be very useful to have an opportunity of using both macros and shell vars in command scripts! ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Huettig at medien-systempartner.de Wed May 17 15:40:22 2006 From: Michael.Huettig at medien-systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Wed, 17 May 2006 15:40:22 +0200 Subject: Nagios 2.3.1, problems with perl plugins In-Reply-To: References: Message-ID: <200605171540.23096.Michael.Huettig@medien-systempartner.de> Hi Stanley, i?ve posted on monday the following message. I think there was a problem with embedded perl. Which perl-plugins do you use? I just upgraded my Nagios-2.0 to nagios-2.3. Both Versions were compiled with epn-support with --enable-embedded-perl --with-perlcache Runnning nagios-2.0 all checks using perl-plugins (check_smart, check_cisco_env, check_ifoperstatus and others) were doing fine. Using nagios-2.3 i got the following errors: check_ciscoenv.pl ;Cisco environmental health;UNKNOWN;HARD;3;UNKNOWN: Unable to resolve destination address '-c' check_load.pl ;Load;UNKNOWN;SOFT;2;**ePN /usr/local/nagios/libexec/check_load.pl: "Argument "" isn't numeric in numeric lt (<) at (eval 12) line 61,". check_ifoperstatus.pl ;UNKNOWN;notify-by-email;**ePN /usr/local/nagios/libexec/check_ifoperstatus: Option d requires an argument. check_smart.pl ;S.M.A.R.T-Status;UNKNOWN;SOFT;1;**ePN /usr/local/nagios/libexec/check_smart.pl: "Can't exec "sudo": No such file or directory at (eval 15) line 119,". check_traffic.pl ;Traffic ISDN-Interface;CRITICAL;notify-by-email;CRITICAL: Could not match ISDN Basic Rate Interface (S0) After downgrading to nagios-2.0 all services recovered. Anyone else having this strange problems? How do i get rid of this messages/errors? Thanks for your help. With best regards Michael Am Mittwoch, 17. Mai 2006 09:01 schrieb Stanley.Hopcroft at dest.gov.au: > Dear Sir, > > I am writing to thank you for your letter and say, > > >-----Original Message----- > > > >Message: 2 > >Date: Tue, 16 May 2006 08:09:13 +0200 > >From: Frederik Vanhee > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Nagios 2.3.1, problems with perl plugins > > > >Hello, > > > >I just installed nagios-2.3.1, with perlcache and > >embedded-perl-interpreter. Before I had Nagios-2.0rc2 with > >perlcache and embedded-perl-interpreter. I'm using > >nagios-plugins 1.4.3 The system is running on Debian Sarge > > > >Ever since the upgrade , I experience problems with plugins written in > >perl. p.ex > > > >check_ntp -H xx.xx.xx.xx -w 5 -c 10 > > > >returns : > > > >Argument "(not parsed)" isn't numeric in abs at ./check_ntp > >line 408 NTP OK: Offset 0.000927 sec, jitter (not parsed) > >msec, peer is stratum 2 > > > >| offset=0.000927, jitter=0,peer_stratum=2 > > I am happily using embedded Perl 2.3 (built from a SPEC based on the > Dag Wieers specfile) and there are no problems with Perl plugins. > > Are all Perl plugins failing or only check_ntp ? > > IIRC there has been quite a lot of comment about check_ntp; it may be > worth > checking the thread on gmane (there may be a better check_ntp than the > one > with 1.4.3 plugins). > > There is an embedded Perl diagnostic with Nagios called new_mini_epn. > It is a C binary that emulates the part of checks.c that runs Perl > plugins. > > To use, > > cd into the directory containing new_mini_epn or copy it to /tmp or > convenient place. > cp p1.pl into that dir (if its not there). > [sh1517 at acisf011 tmp]$ ./new_mini_epn > plugin command line: > > (the program supports readline so arrow history works etc.) > > My copy of check_ntp doesn't work -it's not a plugin used here - so I > can't check > it out. > > >Any hints, > > > >Frederik > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 16:08:51 2006 From: marc at ena.com (Marc Powell) Date: Wed, 17 May 2006 09:08:51 -0500 Subject: Nagios Host Check Message-ID: You'll have to define a service check that will change state when there is a problem. Most of us use check_ping in cases like this. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ron Wilson > Sent: Tuesday, May 16, 2006 6:17 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Host Check > > > OK I accept that but if it is something like an external router or > similar where there is nothing else I need to check or can check, I jus > want to know if it is down, what service can I define so that it keeps > Nagios happy. Can I do a dummy service connectivity check? > > > > Subject: [Nagios-users] Nagios Host Check > > > > > I have several hosts that I just want to check connectivity nothing > else. > > If I put the hosts in the hosts file Nagios complains that there are > no > > services defined for this hosts. It still works but I want to get rid > of > > the error message. Do I need to create some form of dummy service to > > > remove error message > > You need to define at least one service that is checked per host. > > http://www.nagios.org/faqs/viewfaq.php?faq_id=39 and first section of > http://nagios.sourceforge.net/docs/2_0/networkreachability.html ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 May 17 16:15:59 2006 From: marc at ena.com (Marc Powell) Date: Wed, 17 May 2006 09:15:59 -0500 Subject: Nagios Host Check Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of James E. Pratt > Sent: Wednesday, May 17, 2006 7:25 AM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Nagios Host Check > > [chop] > > Thanks.. So if I don't want this single service to send notifications at > all, but still trigger host-checks/host-notifications, would I just sent > notifications_enabled to 0 in the service def? Correct. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Huettig at medien-systempartner.de Wed May 17 16:45:21 2006 From: Michael.Huettig at medien-systempartner.de (Michael =?iso-8859-1?q?H=FCttig?=) Date: Wed, 17 May 2006 16:45:21 +0200 Subject: Nagios 2.3.1, problems with perl plugins In-Reply-To: References: Message-ID: <200605171645.22415.Michael.Huettig@medien-systempartner.de> Dear Mr. Hopcroft, excuse me for my previous message, it was unneccesary to post it twice. I just tested the new_mini_epn and got the following message: nagios at mspmgmt1:/work/nagios/nagios-2.3/contrib> ./new_mini_epn plugin command line: /usr/local/nagios/libexec/check_cisco_env.pl -c embedded perl plugin return code and output was: -1 & UNKNOWN: Unable to resolve destination address '-c' nagios V2.0 works correct with perl-plugins, V2.3.1 makes errors, all services go to state unknown Do you have any idea to let nagios 2.3.1 work correctly with perl-plugins? Thanks for your help. With best regards Michael Am Mittwoch, 17. Mai 2006 09:01 schrieb Stanley.Hopcroft at dest.gov.au: > Dear Sir, > > I am writing to thank you for your letter and say, > > >-----Original Message----- > > > >Message: 2 > >Date: Tue, 16 May 2006 08:09:13 +0200 > >From: Frederik Vanhee > >To: nagios-users at lists.sourceforge.net > >Subject: [Nagios-users] Nagios 2.3.1, problems with perl plugins > > > >Hello, > > > >I just installed nagios-2.3.1, with perlcache and > >embedded-perl-interpreter. Before I had Nagios-2.0rc2 with > >perlcache and embedded-perl-interpreter. I'm using > >nagios-plugins 1.4.3 The system is running on Debian Sarge > > > >Ever since the upgrade , I experience problems with plugins written in > >perl. p.ex > > > >check_ntp -H xx.xx.xx.xx -w 5 -c 10 > > > >returns : > > > >Argument "(not parsed)" isn't numeric in abs at ./check_ntp > >line 408 NTP OK: Offset 0.000927 sec, jitter (not parsed) > >msec, peer is stratum 2 > > > >| offset=0.000927, jitter=0,peer_stratum=2 > > I am happily using embedded Perl 2.3 (built from a SPEC based on the > Dag Wieers specfile) and there are no problems with Perl plugins. > > Are all Perl plugins failing or only check_ntp ? > > IIRC there has been quite a lot of comment about check_ntp; it may be > worth > checking the thread on gmane (there may be a better check_ntp than the > one > with 1.4.3 plugins). > > There is an embedded Perl diagnostic with Nagios called new_mini_epn. > It is a C binary that emulates the part of checks.c that runs Perl > plugins. > > To use, > > cd into the directory containing new_mini_epn or copy it to /tmp or > convenient place. > cp p1.pl into that dir (if its not there). > [sh1517 at acisf011 tmp]$ ./new_mini_epn > plugin command line: > > (the program supports readline so arrow history works etc.) > > My copy of check_ntp doesn't work -it's not a plugin used here - so I > can't check > it out. > > >Any hints, > > > >Frederik > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier Download IBM WebSphere Application Server v.1.0.1 based on Apache > Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null ********************************************************************** Diese E-Mail wurde auf Viren ueberprueft. www.mimesweeper.com ********************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kpatton at transmeta.com Wed May 17 17:47:45 2006 From: kpatton at transmeta.com (Kirk Patton) Date: Wed, 17 May 2006 08:47:45 -0700 Subject: check_ping $ARG1$ not passing In-Reply-To: <9632C3DAB675864EB0A9B7724D85DB7903110379@MAILBOXSEVEN.home.ku.edu> References: <9632C3DAB675864EB0A9B7724D85DB7903110379@MAILBOXSEVEN.home.ku.edu> Message-ID: <20060517154745.GQ3791@captain.transmeta.com> I figured out my check_ping issue. :-) It turned out I had it defined twice. Once as a service, and once as a host check. The service checks were setup up properly, while the host checks were not... That is why it was working one half of the time. Thanks for responding. Kirk > > > > To: nagios-users at lists.sourceforge.net > > > > Subject: [Nagios-users] check_ping $ARG1$ not passing > > > > > > > > > > > > Hello, > > > > > > > > I have looked through the archive and forms, but I have not > > > > found any clues to the problem which I am having. > > > > > > > > I am trying to configure a command that uses the 'check_ping' > > > > plugin. I am getting errors that tell me that the check_ping > > > > plugin is not receiving the proper arguments. > > > > > > > > check_ping: %s: Warning threshold must be integer or percentage! > > > > > > > > I replaced the check_ping plugin with my own perl script to > > > > log what was being passed into the script. Strangely, some > > > > hose receive the proper arguments, while > > > > others do not. > > > > > > > > I am using; > > > > nagios-plugins-1.4.2-1.2.el4.rf > > > > nagios-2.3-1.rf > > > > > > > > My check_ping command is as follows. > > > > define command{ > > > > command_name check_ping > > > > command_line /usr/lib64/nagios/plugins/check_ping > > > > -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ > > > > } > > > > > > > > > > > > define service{ > > > > name generic-service > > > > is_volatile 0 > > > > check_period 24x7 > > > > max_check_attempts 3 > > > > normal_check_interval 1 > > > > retry_check_interval 1 > > > > contact_groups mis > > > > notification_options w,u,c,r > > > > notification_interval 1 > > > > notification_period 24x7 > > > > register 0 > > > > } > > > > > > > > > > > > define service{ > > > > hostgroup_name * > > > > use generic-service > > > > service_description PING > > > > check_command > > check_ping!500.0,%10!800.0,%20 > > > > notification_interval 360 > > > > } > > > > > > > > I do not understand why the check_ping plugin would work for > > > > some hosts, but not others. Has anyone on the list run into this? > > > > > > > > Thanks, > > > > Kirk > > > > > > > > > > > > > > > > > > > > -- > > > > Kirk Patton > > > > Unix Administrator > > > > Transmeta Inc. > > > > Tel. 408 919-3055 > > > > > > > > > > > > ------------------------------------------------------- > > > > Using Tomcat but need to do more? Need to support web > > > > services, security? Get stuff done quickly with > > > > pre-integrated technology to make your job easier Download > > > > IBM WebSphere Application Server v.1.0.1 based on Apache > > > > Geronimo > > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057& > > > dat=121642 > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: Please include Nagios version, plugin version (-v) and OS when > > > reporting any issue. > > > ::: Messages without supporting info will risk being sent > > to /dev/null > > > > -- > > Kirk Patton > > Unix Administrator > > Transmeta Inc. > > Tel. 408 919-3055 > > -- Kirk Patton Unix Administrator Transmeta Inc. Tel. 408 919-3055 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bamapookie at gmail.com Wed May 17 17:58:35 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Wed, 17 May 2006 11:58:35 -0400 Subject: R: how to configure nsclient++ on windows In-Reply-To: <1147868254.1722.32.camel@hpbooki.pasicx.net> References: <00c901c679aa$1096d740$0900d40a@intranet.it.net> <1147868254.1722.32.camel@hpbooki.pasicx.net> Message-ID: Try this: http://nscplus.medin.name/index.php/Documentation On 5/17/06, Nagios-Team at pasicx.net wrote: > > > take a look at: > http://www.nagios-wiki.de/doku.php/nagios/plugins/check_nt > -> only in german! > > kind regards, padu > > Am Mittwoch, den 17.05.2006, 14:04 +0200 schrieb Marco Borsani: > > I still have same problem... > > Please help us ! > > > > Regards > > Marco > > > > > > ______________________________________________________________ > > Da: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net] Per conto di > > ankush grover > > Inviato: mercoled? 17 maggio 2006 13.07 > > A: Nagios Users Mailinglist > > Oggetto: [Nagios-users] how to configure nsclient++ on windows > > > > > > > > hey friends, > > > > > > I have configured Nagios on my Linux Box (Centos 4.0) now I > > want to monitor the other linux & windows hosts. I downloaded > > the nsclient++ for windows but there is no readme or install > > guide that tells how to configure nsclient++. The version I > > downloaded is 2.5i2. > > > > Can anybody guide me how to configure nsclient++ on > > windows2003, windows xp and windows 2000 ? > > > > > > Thanks & Regards > > > > Ankush Grover > > > > Freundliche Gruesse aus Nuernberg, > > Ihr pasicX Team > > -- > Fon: +49 (0) 700 77 683 2833 (PROTECTED) > Fax: +49 (0) 700 77 683 2834 > Support-Hotline: support at pasicx.net > pasicX netsystems gmbh :: protected.it.systems > Dorfaeckerstr. 25, D-90427 Nuernberg > http://www.pasicX.net/, E-Mail: info at pasicX.net > Informieren Sie sich jetzt ueber die aktuellen pasicX News und Events > unter http://www.pasicX.net/events/ > > Simple Way to Open Source... > > - 30.05.2006 "Citrix iForum 2006" / Muenchen > - 23.06.2006 "Citrix meets OpenSource" / Melle > - 07.07.2006 IT-Brunch "Managed Content Security" / Nuernberg > - 22.09.2006 Projekteinfuehrung Nagios "Nagios Konferenz 2006" / > Nuernberg > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmdlnk&kid0709&bid&3057&dat1642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -------------- next part -------------- An HTML attachment was scrubbed... URL: From trasko at gmail.com Wed May 17 20:09:16 2006 From: trasko at gmail.com (Trask) Date: Wed, 17 May 2006 11:09:16 -0700 Subject: How to reduce a very high latency number Message-ID: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> I am still butting up against very high latency issues with my Nagios setup. I feel like I must be missing something obvious because it doesn't seem like I have so many services that the servers cannot keep up. As can be seen from the data below, the server with the most service checks has the highest latency (usually in the neighborhood of 700 seconds! -- this is pre-production). Is my problem really this simple? I have a feeling that is isn't just the number of checks, but I cannot figure out why my latency values are so terrible. Overview of my setup: There are 4 servers. 3 distributed servers (nag1, nag2, nag3) at 3 distinct geological locations send all their check information via NSCA to a 4th, central server (nag4). The connections between all of these servers are very high-bandwidth and are no where near saturated. The only unclear spot to me is the effect that our hardware VPN/tunnels might have, however the worst performing server (nag2) is on the same LAN as the central server (nag4). Nagios v2.2, latest plugins and NRPE/NSCA as of today. I am running embedded perl with perlcache enabled. Number of hosts/services: nag1: 43/130 nag2: 193/1743 nag3: 78 / 780 nag4: (central server - active host checks, passive srvc checks) Performance Info: nag1: Metric Min Max Average Check Execution Time: 0.00 sec 20.04 sec 0.024 sec Check Latency: 0.00 sec 1.01 sec 0.011 sec Percent State Change: 0.00 % 17.17 % 0.01% nag2 Check Execution Time: 0.00 sec 929.13 sec 1.246 sec Check Latency: 0.00 sec 1180.67 sec 560.462 sec Percent State Change: 0.00% 55.59% 0.07% nag3: Check Execution Time: 0.00 sec 101.70 sec 0.310 sec Check Latency: 0.00 sec 602.57 sec 46.023 sec Percent State Change: 0.00% 0.00% 0.00% Machine load numbers: nag1: load average: 0.05, 0.08, 0.02 / mem: 470 / 512MB physical ; not swapping nag2: load average: 0.50, 0.61, 0.59 / mem: 330 / 512MB physical ; not swapping nag3: load average: 0.25, 0.52, 0.56 / mem: 330 / 512MB physical ; not swapping Machine hardware: 1Us running Fedora Core 4 / P4 2.4GHz / 512MB RAM / 40GB ATA 8MB cache 7200rpm drives Ok, that is all I can think of off the top of my head. I have reviewed the performance tuning tuning doc (from here: http://nagios.sourceforge.net/docs/2_0/tuning.html), but I am open to trying things again / in a different way. I can list off what I've done in response to that doc on a point-by-point basis if anyone is interested. Thanks for any help -- this latency issue is the last big hurdle before getting this thing going. ~trask ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jperrin at gmail.com Wed May 17 20:17:53 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 17 May 2006 14:17:53 -0400 Subject: How to reduce a very high latency number In-Reply-To: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> References: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> Message-ID: <302ce8b50605171117w2701bf3dne60e013faf5f4224@mail.gmail.com> > Ok, that is all I can think of off the top of my head. I have > reviewed the performance tuning tuning doc (from here: > http://nagios.sourceforge.net/docs/2_0/tuning.html), but I am open to > trying things again / in a different way. I can list off what I've > done in response to that doc on a point-by-point basis if anyone is > interested. > > Thanks for any help -- this latency issue is the last big hurdle > before getting this thing going. At the risk of sounding fanboy-ish, there's a metric assload of decent nagios information here -> http://altinity.blogs.com/ including several good patches that help to tweak nagios in various ways. Some of the last couple entries have involved tuning that may help. -- This message has been double ROT13 encoded for security. Anyone other than the intended recipient attempting to decode this message will be in violation of the DMCA ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From b00mer at gmx.net Wed May 17 21:11:49 2006 From: b00mer at gmx.net (Hendrik Baecker) Date: Wed, 17 May 2006 21:11:49 +0200 Subject: Stats graphing for Nagios 2 In-Reply-To: <01f401c66966$a41fb580$8800550a@acg.arlington.local> References: <01f401c66966$a41fb580$8800550a@acg.arlington.local> Message-ID: <446B7575.1020806@gmx.net> Hi all, nearly a month ago I've pointed to PNP as a performance data graphing addon for nagios. Now I can proudly presents: The english documentation on: http://www.ederdrom.de/doku.php/nagios/pnp_en J?rg Linge, the PNP developer is actually working on a "language file" based solution so that the small german program outputs could be translated into whatever you want. I think this feature will come in PNP 0.2. If you wish to give it a chance please have a look on the feedback request too. http://www.ederdrom.de/doku.php/nagios/pnp-devel_en#feedback I hope the english translation is good enough to understand what PNP does, for big mistakes please feel free to contact me ;) Yours sincerly Hendrik Curt Shaffer schrieb: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Hendrik > Baecker > Sent: Wednesday, April 26, 2006 3:06 PM > To: Eric Solomon > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Stats graphing for Nagios 2 > > Eric Solomon schrieb: > >> We've been using nagiostat (http://nagiostat.sourceforge.net/) with >> Nagios 1 to keep track of a few service checks and generate MRTG graphs >> from the data. It works reasonably enough, though the config file's a >> little convoluted and it does push the loads up a bit. >> >> We just migrated to Nagios 2. I assume (correct me if I'm wrong) that >> Nagiostat will work with it, might have to tweak it for new plugins and >> their performance output. Are there any other solutions people >> recommend, that work with Nagios 2? >> >> >> > Hi Eric, > > > can't tell you much about nagiostat, but as you are looking for other > graphing tools I can point you to PNP. > > See it here: > > http://www.ederdrom.de/doku.php/nagios/pnp > > It is simple to install, easy to manage (most of it is managed by > itself), is template based and works on rrdtools. > > Cons: Up to now it's all in german language. > If you are not bad with perl it should be easy to find out how the > "process_perfdata.pl" works. > > Give the link a try and have a look to the screenshots. If you (or > others on this list) are interested it should be no big problem to write > the documentation and the tool in english. > > Regards, > Hendrik > > I have been using perfparse and it seemed to suffice until recently. What I > really need now is a way to pull reports from this data cumulatively. It is > still nice to have the graphs to look at but it would be nice to say, pull > all of it together and get a graph of the average say CPU for all of your > Windows servers for example. > > PNP looks a little cleaner than perfparse so I would welcome this if it were > ported to English. > > Curt > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting > any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bamapookie at gmail.com Wed May 17 21:58:45 2006 From: bamapookie at gmail.com (Shawn Kovalchick) Date: Wed, 17 May 2006 15:58:45 -0400 Subject: Host template and inherited settings Message-ID: I have a host template that assigns the host to a particular hostgroup. i.e. define host{ name example-host-template hostgroups example-servers use host-template register 0 } but I want to assign additional hostgroups to some servers, i.e. define host{ host_name webhost hostgroups web-servers use example-host-template ... } want this host to be a member of example-servers and web-servers. Is this possible to do using templates? -------------- next part -------------- An HTML attachment was scrubbed... URL: From whiterabbit at mand4la.info Wed May 17 22:10:25 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Wed, 17 May 2006 22:10:25 +0200 Subject: check hp ethernet team Message-ID: <446B8331.70506@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi list.. I'm trying do check ho ethernet team on my dl380 servers..I'm trying to use check_ifstatus, but the check returns always ok because it checks the bonding eht not the fisical interfaces..so if in disconnect a ethernet cable I still recive status OK... How can I check the state of my bondig?? Thanks Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEa4Mw/TjXD9LUVswRAklkAJ92MG4036Cezicq4KKUIS/0tfhjewCggCDd WFvwnwyLQPtoQVGmSpX6+ic= =98Jd -----END PGP SIGNATURE----- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CJackson at abbott-simses.com Wed May 17 22:12:12 2006 From: CJackson at abbott-simses.com (Craig Jackson) Date: Wed, 17 May 2006 15:12:12 -0500 Subject: nagios + nextel issue Message-ID: Please help troubleshoot this problem. Nagios works great. It sends notifications to mycellnumber at page.nextel.com. The problem is that I get 2 pages for every notification, a header and a body. No other pager or email client sends me 2 pages for one. According to the mail server (Exim 4.5) log, only one email is actually sent. What I'd like to know more about is how I can configure Nagios with respect to the mail server. I don't see a place in configuration for mail server or how the email is constructed and sent. Thanks, Craig Jackson ------------------------------------------ One in the hand is worth two in the bush. -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Wed May 17 22:14:05 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 17 May 2006 16:14:05 -0400 Subject: nagios + nextel issue In-Reply-To: References: Message-ID: Take a look at how your notification commands are configured. Nagios itself does not send e-mails; it just passes what you tell it to pass to the notification commands. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Craig Jackson Sent: Wednesday, May 17, 2006 1:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios + nextel issue Please help troubleshoot this problem. Nagios works great. It sends notifications to mycellnumber at page.nextel.com. The problem is that I get 2 pages for every notification, a header and a body. No other pager or email client sends me 2 pages for one. According to the mail server (Exim 4.5) log, only one email is actually sent. What I'd like to know more about is how I can configure Nagios with respect to the mail server. I don't see a place in configuration for mail server or how the email is constructed and sent. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Wed May 17 22:18:06 2006 From: trasko at gmail.com (Trask) Date: Wed, 17 May 2006 13:18:06 -0700 Subject: How to reduce a very high latency number In-Reply-To: <302ce8b50605171117w2701bf3dne60e013faf5f4224@mail.gmail.com> References: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> <302ce8b50605171117w2701bf3dne60e013faf5f4224@mail.gmail.com> Message-ID: <735379850605171318m24d88255h175a98e41a1d3231@mail.gmail.com> Ok, I've decided to not wait before addressing the "tuning" doc (http://nagios.sourceforge.net/docs/2_0/tuning.html). Also, thanks for the link Jim, there is some good information there. (Doc) 1. Use aggregated status updates. (me) Doing this. (Doc) 2. Use a ramdisk for holding status data.. (me) Not doing this -- the doc says if "you're not using aggregated status updates", so I skipped it. Does anyone have any experience with how helpful this would be? (Doc) 3. Check service latencies to determine best value for maximum concurrent checks. (me) Currently set at 500 -- I've set it to 0 (no limit) and I have done all the calculations and set it to 15% above the number of concurrent checks I should need based on the timing. Doesn't ever seem to have any effect on latency. (Doc) 4. Use passive checks when possible. (me) About a third of our checks are passive (nrpe, that's considered passive, right?). (Doc) 5. Avoid using interpreted plugins. (me) I use built-in plugins whenever possible, but otherwise it is a Perl script 90% of the time. Some of them are pretty complex, but... (see #6) (Doc) 6. Use the embedded Perl interpreter. (me) I am doing this and using the "perlcache" option. In fact, I haven't even tried our setup without using the embedded perl interpretter, so I might end up trying that out. (Doc) 7. Optimize host check commands. (me) Did this -- currently using check_fping with "-n 1" and retrys at 8. I don't actually have any numbers before I did this, so I don't know how much help it has been, but when I first read about it, I was hoping for a lot more gain than I got... (Doc) 8. Don't schedule regular host checks. (me) We don't. (Doc) 9. Don't use agressive host checking. (me) We don't. (Doc) 10. Increase external command check interval. (me) This is set to -1 right now on all of our hosts, but this is probably only sensible for our central server (nag4). I will experiment with changing this to 10 seconds on our other servers and see if that helps. (Doc) 11. Optimize hardware for maximum performance. (me) P4 2.4GHz, 512MB RAM, 7200rpm IDE drive w/ DMA enabled. Is there a good way to see the current IO activity of the disk to see if it is being hammered? "top" shows the CPU and memory at very reasonable levels. Anyone have other tips? Do my responses to these tuning recommendations seem to make sense? On 5/17/06, Jim Perrin wrote: > > Ok, that is all I can think of off the top of my head. I have > > reviewed the performance tuning tuning doc (from here: > > http://nagios.sourceforge.net/docs/2_0/tuning.html), but I am open to > > trying things again / in a different way. I can list off what I've > > done in response to that doc on a point-by-point basis if anyone is > > interested. > > > > Thanks for any help -- this latency issue is the last big hurdle > > before getting this thing going. > > At the risk of sounding fanboy-ish, there's a metric assload of decent > nagios information here -> http://altinity.blogs.com/ including > several good patches that help to tweak nagios in various ways. Some > of the last couple entries have involved tuning that may help. > > > -- > This message has been double ROT13 encoded for security. Anyone other > than the intended recipient attempting to decode this message will be > in violation of the DMCA > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Paul_Lembo at vrtx.com Wed May 17 22:20:30 2006 From: Paul_Lembo at vrtx.com (Paul_Lembo at vrtx.com) Date: Wed, 17 May 2006 16:20:30 -0400 Subject: Paul Lembo is out of the U.S. office. Message-ID: I will be out of the office starting 05/17/2006 and will not return until 05/26/2006. I will respond to your message when I return. Thanks! -------------- next part -------------- An HTML attachment was scrubbed... URL: From marc at ena.com Wed May 17 22:27:13 2006 From: marc at ena.com (Marc Powell) Date: Wed, 17 May 2006 15:27:13 -0500 Subject: How to reduce a very high latency number Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Trask > Sent: Wednesday, May 17, 2006 1:09 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How to reduce a very high latency number > > I am still butting up against very high latency issues with my Nagios > setup. I feel like I must be missing something obvious because it > doesn't seem like I have so many services that the servers cannot keep > up. > > As can be seen from the data below, the server with the most service > checks has the highest latency (usually in the neighborhood of 700 > seconds! -- this is pre-production). Is my problem really this > simple? I have a feeling that is isn't just the number of checks, but > I cannot figure out why my latency values are so terrible. > > Overview of my setup: > > There are 4 servers. 3 distributed servers (nag1, nag2, nag3) at 3 > distinct geological locations send all their check information via > NSCA to a 4th, central server (nag4). The connections between all of > these servers are very high-bandwidth and are no where near saturated. > The only unclear spot to me is the effect that our hardware > VPN/tunnels might have, however the worst performing server (nag2) is > on the same LAN as the central server (nag4). > > Nagios v2.2, latest plugins and NRPE/NSCA as of today. I am running > embedded perl with perlcache enabled. > > > Number of hosts/services: > nag1: 43/130 > nag2: 193/1743 > nag3: 78 / 780 > nag4: (central server - active host checks, passive srvc checks) > > Performance Info: > > nag1: > Metric Min Max > Average > Check Execution Time: 0.00 sec 20.04 sec 0.024 sec > Check Latency: 0.00 sec 1.01 sec 0.011 sec > Percent State Change: 0.00 % 17.17 % 0.01% > > nag2 > Check Execution Time: 0.00 sec 929.13 sec 1.246 sec > Check Latency: 0.00 sec 1180.67 sec 560.462 sec > Percent State Change: 0.00% 55.59% 0.07% > > nag3: > Check Execution Time: 0.00 sec 101.70 sec 0.310 sec > Check Latency: 0.00 sec 602.57 sec 46.023 sec > Percent State Change: 0.00% 0.00% 0.00% My first reaction is to question why some checks are taking >15 minutes to complete (check execution time) and why you are allowing them to go that long. I only allow a maximum of 60 seconds for any service check to execute -- (from nagios.cfg) service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 Some comparable stats from my servers -- PIII 800/512MB 828 Service Checks - Check Execution Time: 0.13 sec 11.59 sec 7.984 sec Check Latency: 0.76 sec 15.54 sec 6.583 sec Percent State Change: 0.00% 6.25% 0.03% All active checks, load hangs out around 2. Another box, newer hardware, running nagios + cricket -- 2x Dual Core AMD Opteron Processor 275, 2GB RAM, 1260 service checks -- Check Execution Time: 0.04 sec 35.02 sec 6.675 sec Check Latency: 0.01 sec 38.16 sec 6.692 sec Percent State Change: 0.00% 9.47% 0.04% All active checks, load hangs out between 1 and 2. -- Marc ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From seppy at chartermi.net Wed May 17 22:31:06 2006 From: seppy at chartermi.net (Brian E. Seppanen) Date: Wed, 17 May 2006 16:31:06 -0400 (EDT) Subject: nagios + nextel issue In-Reply-To: References: Message-ID: On Wed, 17 May 2006, Craig Jackson wrote: > Please help troubleshoot this problem. Nagios works great. It sends > notifications to mycellnumber at page.nextel.com. The problem is that I get > 2 pages for every notification, a header and a body. No other pager or > email client sends me 2 pages for one. According to the mail server > (Exim 4.5) log, only one email is actually sent. Call nextel. "No other pager or email client sends me 2 pages for one" <--- seems like you already discovered that it isn't a nagios issue. check to see if you can configure messaging options on your nextel. Troubleshooting nagios seems like a waste... Brian Seppanen 608.826.1464 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From btmanmeh at verizon.net Wed May 17 22:43:24 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 17 May 2006 16:43:24 -0400 Subject: nagios + nextel issue In-Reply-To: References: Message-ID: <446B8AEC.6070007@verizon.net> Craig Jackson wrote: > Please help troubleshoot this problem. Nagios works great. It sends > notifications to mycellnumber at page.nextel.com. The problem is that I get > 2 pages for every notification, a header and a body. No other pager or > email client sends me 2 pages for one. According to the mail server > (Exim 4.5) log, only one email is actually sent. > That's odd. I have Nextel too, and I get a ton of pages a day from all sort of different things. I'm sending mine as text messages though, because I was having issues (not the same as yours) with sending pages to my phone. I switched to using the text messages "Twoway.mynumber at messaging.nextel.com" and haven't had a problem since then. I never get two pages for one as you are describing. I'd call them and ask them what's going on, or consider doing the text message route perhaps. Max ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andrew at profitability.net Wed May 17 22:46:39 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 17 May 2006 16:46:39 -0400 Subject: nagios + nextel issue In-Reply-To: <446B8AEC.6070007@verizon.net> References: <446B8AEC.6070007@verizon.net> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Craig Jackson wrote: >> Please help troubleshoot this problem. Nagios works great. It sends >> notifications to mycellnumber at page.nextel.com. The problem is that I >> get 2 pages for every notification, a header and a body. No other >> pager or email client sends me 2 pages for one. According to the >> mail server (Exim 4.5) log, only one email is actually sent. >> > > That's odd. I have Nextel too, and I get a ton of pages a day > from all sort of different things. > > I'm sending mine as text messages though, because I was > having issues (not the same as yours) with sending pages to > my phone. I switched to using the text messages > "Twoway.mynumber at messaging.nextel.com" and haven't had a problem > since then. > > I never get two pages for one as you are describing. I'd call > them and ask them what's going on, or consider doing the text message > route perhaps. Is it possible your alert pages are too long and are being split into to messages? Most carriers have a character limit on text messages and pages. Andrew ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CJackson at abbott-simses.com Wed May 17 23:05:34 2006 From: CJackson at abbott-simses.com (Craig Jackson) Date: Wed, 17 May 2006 16:05:34 -0500 Subject: nagios + nextel issue Message-ID: Sent: Wednesday, May 17, 2006 3:47 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios + nextel issue nagios-users-admin at lists.sourceforge.net wrote: > Craig Jackson wrote: >> Please help troubleshoot this problem. Nagios works great. It sends >> notifications to mycellnumber at page.nextel.com. The problem is that I >> get 2 pages for every notification, a header and a body. No other >> pager or email client sends me 2 pages for one. According to the >> mail server (Exim 4.5) log, only one email is actually sent. >> > > That's odd. I have Nextel too, and I get a ton of pages a day > from all sort of different things. > > I'm sending mine as text messages though, because I was > having issues (not the same as yours) with sending pages to > my phone. I switched to using the text messages > "Twoway.mynumber at messaging.nextel.com" and haven't had a problem > since then. > > I never get two pages for one as you are describing. I'd call > them and ask them what's going on, or consider doing the text message > route perhaps. Is it possible your alert pages are too long and are being split into to messages? Most carriers have a character limit on text messages and pages. Andrew -----Original Message Above----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Andrew Cruse BINGO! The message was too long. Thanks. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed May 17 23:17:43 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Thu, 18 May 2006 09:17:43 +1200 Subject: How to reduce a very high latency number In-Reply-To: References: Message-ID: <001d01c679f7$55eee380$8ea8d882@UoA.auckland.ac.nz> [Trask wrote] > I am still butting up against very high latency issues with my Nagios > setup. I feel like I must be missing something obvious because it > doesn't seem like I have so many services that the servers cannot keep up. I've noticed we get this problem when there are more than one or two hosts down. Because Nagios (we use 1.2) does host checks first, and sequentially, a host check timing out can hold up everything else (we have >3000 checks to run every 5 minutes). To help out with this, I've reduced the timeouts and number of pings to check hosts (so a host down takes less time to identify) and tried to educate people to disable host checks when they know a host will be down for a long time. Finally, I do a restart of Nagios every day or so which resets the latency back to 0. Not ideal, but it helps. I'd rather host checks were done in the same way as service checks, but I can see why they aren't (to allow the system to not run service checks for down hosts). Steve ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bill.ryder.nz at gmail.com Wed May 17 23:21:49 2006 From: bill.ryder.nz at gmail.com (Bill Ryder) Date: Thu, 18 May 2006 09:21:49 +1200 Subject: One cause of the 'Internal Server Errors' with nagios 2.3 In-Reply-To: <37e5e1080605161903q1fadba37yd499b790cd0890af@mail.gmail.com> References: <37e5e1080605161903q1fadba37yd499b790cd0890af@mail.gmail.com> Message-ID: <37e5e1080605171421w32b8e0dbhbed7441cdcf7244c@mail.gmail.com> Hi, I've been asked this a few times so I'll respond to the mailing list instead of to indivual people. The questions are typically * What machine do you run nagios on ? * Any hints about monitoring this many machines. So .. What machine do you run nagios on? ========================== We use a dual proc (single cores) 2.8GHz Xeon IBM Blade server with 4GB of RAM (I thought it was 6GB - sorry about that Patrick) for the renderwall monitoring. Typically though we only use about 3GB of the 4GB. Reloading or restarting nagios takes about 5 minutes with 1500 hosts, 9000 services (approximatey). During which time you can see a single CPU at 100%. We run debian gnu linux on this machine with a 2.6.15 kernel. I tried the 2.4 kernel but got rid of it early on as part of debugging it. I'm currently running nagios 2.3. All services except the host pings are checked using passive checks. We check on various Weta specific things related to rendering on each machine. It's all perl run from cron. Once nagios is up and running It is rare to see more than one CPU being used. In other words the bladeserver is not sweating under the load. That CPU will hit 100% about 1/4 of the time. Any hints about monitoring that many machines? =================================== Do not process perfdata. -------------------------------------------- This was a killer. I discovered to my surprise that nagios will run /usr/bin/printf to record performance data. This meant that every time a passive check sent a result back to nagios it would start a subshell and run /usr/bin/printf to record some data. This is a killer with 9000 services being checked every 5 minutes. If I needed the performance data I think I would hack nagios to recognise /usr/bin/printf in a checkcommand and replace it with the library call - obviously this would have to be done carefully to handle various shell things (like >> etc). Spread out your passive checks. ----------------------------------------------------------- We run our passive checks every five minutes. Perhaps a little aggressive. We had to spread out the passive check start times using a random sleep before starting them. At the moment the passive check scripts will sleep between 0 and 3 minutes before starting up. This spreads the load nicely. Adding more hosts will just be a matter of spreading these out more until I have to change checking every 10 minutes instead of every 5 minutes. For now though that's not necessary. Caveats ======= We do no notification from nagios for the renderwall. The wranglers use the web pages to monitor the machines. (Obviously we notify for our production nagios instance but that's a much smaller problem). Hope this helps, --------- Bill Ryder System Engineer Weta Digital. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Wed May 17 23:20:50 2006 From: trasko at gmail.com (Trask) Date: Wed, 17 May 2006 14:20:50 -0700 Subject: How to reduce a very high latency number In-Reply-To: References: Message-ID: <735379850605171420r5a335b2ap388db36e00230660@mail.gmail.com> > My first reaction is to question why some checks are taking >15 minutes > to complete (check execution time) and why you are allowing them to go > that long. I only allow a maximum of 60 seconds for any service check to > execute -- > > (from nagios.cfg) > service_check_timeout=60 > host_check_timeout=30 > event_handler_timeout=30 > notification_timeout=30 > ocsp_timeout=5 > perfdata_timeout=5 Hmm, you're right. I actually started keeping tabs on execution time / latency values a few days ago and I see 1 spike of 929 seconds and another of about 600 seconds on one service, but everything else (for that service and others) is much more sane (less that 5 seconds). My service_check_timeout value is set to "120", so I don't know why those checks got away like that... > Some comparable stats from my servers -- > > PIII 800/512MB 828 Service Checks - > > Check Execution Time: 0.13 sec 11.59 sec 7.984 sec > Check Latency: 0.76 sec 15.54 sec 6.583 sec > Percent State Change: 0.00% 6.25% 0.03% > > All active checks, load hangs out around 2. > > Another box, newer hardware, running nagios + cricket -- > > 2x Dual Core AMD Opteron Processor 275, 2GB RAM, 1260 service checks -- > > Check Execution Time: 0.04 sec 35.02 sec 6.675 sec > Check Latency: 0.01 sec 38.16 sec 6.692 sec > Percent State Change: 0.00% 9.47% 0.04% > > All active checks, load hangs out between 1 and 2. > Looks like your setup is performing better than mine and its not due to the hardware. I'm going to fiddle with some nagios.cfg settings and see if I have any success. Thanks for the response. ~trask ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at Dest.gov.au Thu May 18 01:59:37 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 18 May 2006 09:59:37 +1000 Subject: Nagios 2.3.1, problems with perl plugins Message-ID: Dear Folks, I am writing to thank you for your letters and say, >-----Original Message----- >Message: 17 >From: Michael =?iso-8859-1?q?H=FCttig?= > >Organization: MSP >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] RE: Nagios 2.3.1, problems with >perl plugins >Date: Wed, 17 May 2006 15:40:22 +0200 >Cc: Stanley.Hopcroft at dest.gov.au > >Hi Stanley, >i=B4ve posted on monday the following message. I think there >was a problem = with=20 embedded perl. Which perl-plugins do you use? > >I just upgraded my Nagios-2.0 to nagios-2.3. Both Versions >were compiled wi= th=20 epn-support with >--enable-embedded-perl --with-perlcache > >Runnning nagios-2.0 all checks using perl-plugins >(check_smart,=20 check_cisco_env, check_ifoperstatus and >others) were doing fine. > >Using nagios-2.3 i got the following errors: >check_ciscoenv.pl >;Cisco environmental health;UNKNOWN;HARD;3;UNKNOWN: Unable to >resolve=20 destination address '-c' > >check_load.pl >;Load;UNKNOWN;SOFT;2;**ePN >/usr/local/nagios/libexec/check_load.pl: "Argume= nt=20 "" >isn't numeric in numeric lt (<) at (eval 12) line 61,". > >check_ifoperstatus.pl >;UNKNOWN;notify-by-email;**ePN >/usr/local/nagios/libexec/check_ifoperstatus= >:=20 >Option d requires an argument. > >check_smart.pl >;S.M.A.R.T-Status;UNKNOWN;SOFT;1;**ePN >/usr/local/nagios/libexec/check_smar= >t.pl:=20 >"Can't exec "sudo": No such file or directory at (eval 15) line 119,". > >check_traffic.pl >;Traffic ISDN-Interface;CRITICAL;notify-by-email;CRITICAL: >Could not match= ISDN Basic Rate Interface (S0) > Firstly thanks to Frederick and Michael for the notification about this serious problem. Unfortunately the situation as I see it is, 1 I am running 2.3 not 2.3.1 and so my limited Perl plugins (home-brew) may not be picking up the problem. Also I lack a Nagios work bench at the moment so its going to be slow if heavy lifting is involved as it seems. 2 A quick glance at the CVS does not seem to show any relevant changes 2.1 there appear to be no changes in checks.c near the embedded Perl code 2.2 the change to p1.pl was only to allow plugins to return more than one line of output (the nagios-snmp plugins do this I think). 3 If Michael or Frederick would enable the LOGGING options in the copy of p1.pl they use for new_mini_epn (perldoc p1.pl should help). IIRC you want to change this p1.pl to have use constant DEBUG_LEVEL => LEAVE_MSG ; and make sure the plugin log path looks Ok. This will leave messages like Mon Mar 6 15:43:39 2006 run_package: "/usr/lib/nagios/plugins/check_rootport -H 10.0.254.167 -N BRUSW200" returning (0, "Ok. No topology change: root port of 10.0.254.167/BRUSW200 has not changed from that expected: 513. See Current spanning tree graph. "). Mon Mar 6 15:43:39 2006 eval_file: /usr/lib/nagios/plugins/check_rootport already successfully compiled and file has not changed; skipping compilation. Mon Mar 6 15:43:39 2006 run_package: "/usr/lib/nagios/plugins/check_rootport -H 10.0.254.170 -N MTASW200" returning (0, "Ok. No topology change: root port of 10.0.254.170/MTASW200 has not changed from that expected: 0. See Current spanning tree graph. "). Mon Mar 6 15:43:39 2006 run_package: "/usr/lib/nagios/plugins/check_rootport -H 10.0.254.168 -N MTASW207" returning (0, "Ok. No topology change: root port of 10.0.254.168/MTASW207 has not changed from that expected: 1. See Current spanning tree graph. "). in the log file (also named in p1.pl). This should provide some clues. The only quick workaround that may be worth a _try_ is to replace pl.pl for an older one from CVS (say 1.7). However, I am not confident. Perhaps my installation is a bit atypical: every one of the 2.0 series (inc betas) has been in prod use with either heavy or light embedded Perl without a hitch. The last random thought is, could you have changed Perl or Text::ParseWords around about the time the problem started ? This module is responsible for argument processing and this appears to be breaking. OTOH, if it was the culprit, all versions would be b0rked. Good luck, Yours sincerely. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cedric.temple at linagora.com Thu May 18 09:08:10 2006 From: cedric.temple at linagora.com (=?iso-8859-1?Q?C=E9dric_Temple?=) Date: Thu, 18 May 2006 09:08:10 +0200 (CEST) Subject: How to reduce a very high latency number In-Reply-To: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> References: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> Message-ID: <2806.10.0.0.1.1147936090.squirrel@tomate.linagora.lan> On Mer 17 mai 2006 20:09, Trask wrote: > I am still butting up against very high latency issues with my Nagios > setup. I feel like I must be missing something obvious because it > doesn't seem like I have so many services that the servers cannot keep > up. [snip] How is set service_reaper_frequency in nagios.cfg? Try to set it to a value of 2 or 1. Bye. -- C?dric Temple - Linagora http://www.linagora.com 27, rue de Berri 75008 Paris ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From trasko at gmail.com Thu May 18 02:26:02 2006 From: trasko at gmail.com (Trask) Date: Wed, 17 May 2006 17:26:02 -0700 Subject: How to reduce a very high latency number In-Reply-To: <001d01c679f7$55eee380$8ea8d882@UoA.auckland.ac.nz> References: <001d01c679f7$55eee380$8ea8d882@UoA.auckland.ac.nz> Message-ID: <735379850605171726h17fe9135i43c5414c3e8b83c5@mail.gmail.com> > I've noticed we get this problem when there are more than one or two hosts > down. Because Nagios (we use 1.2) does host checks first, and sequentially, > a host check timing out can hold up everything else (we have >3000 checks to > run every 5 minutes). > I have no hosts down 95% of the time, including now. I could see how that would be an issue, though. I have turned off all logging, state retention, performance data handling and backed off all timing parameters to their defaults (or even less aggressive timings). In a separate test, I changed only the command_check_interval from -1 (check as often as possible) to 10 seconds. Both have had seemingly no effect. At this point, they 2 main servers I am looking at have been running for 30 minutes and latencies are up to 540 seconds for the "bad" one and 48 sec for the other one. My next step will be to recompile with the latest nagios and try that. If that doesn't show an improvement, I'll try w/o perlcache. Lastly, I'll try without the embedded perl interpretter at all. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From frederik.vanhee at perso.be Thu May 18 09:19:41 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Thu, 18 May 2006 09:19:41 +0200 Subject: Nagios 2.3.1, problems with perl plugins In-Reply-To: References: Message-ID: <446C200D.3070400@perso.be> Stanley.Hopcroft at Dest.gov.au wrote: >Dear Folks, > >I am writing to thank you for your letters and say, > > > >>-----Original Message----- >> >> > > > >>Message: 17 >>From: Michael =?iso-8859-1?q?H=FCttig?= >> >>Organization: MSP >>To: nagios-users at lists.sourceforge.net >>Subject: Re: [Nagios-users] RE: Nagios 2.3.1, problems with >>perl plugins >>Date: Wed, 17 May 2006 15:40:22 +0200 >>Cc: Stanley.Hopcroft at dest.gov.au >> >>Hi Stanley, >>i=B4ve posted on monday the following message. I think there >>was a problem = with=20 embedded perl. Which perl-plugins do you use? >> >>I just upgraded my Nagios-2.0 to nagios-2.3. Both Versions >>were compiled wi= th=20 epn-support with >>--enable-embedded-perl --with-perlcache >> >>Runnning nagios-2.0 all checks using perl-plugins >>(check_smart,=20 check_cisco_env, check_ifoperstatus and >>others) were doing fine. >> >>Using nagios-2.3 i got the following errors: >>check_ciscoenv.pl >>;Cisco environmental health;UNKNOWN;HARD;3;UNKNOWN: Unable to >>resolve=20 destination address '-c' >> >>check_load.pl >>;Load;UNKNOWN;SOFT;2;**ePN >>/usr/local/nagios/libexec/check_load.pl: "Argume= nt=20 "" >>isn't numeric in numeric lt (<) at (eval 12) line 61,". >> >>check_ifoperstatus.pl >>;UNKNOWN;notify-by-email;**ePN >>/usr/local/nagios/libexec/check_ifoperstatus= >>:=20 >>Option d requires an argument. >> >>check_smart.pl >>;S.M.A.R.T-Status;UNKNOWN;SOFT;1;**ePN >>/usr/local/nagios/libexec/check_smar= >>t.pl:=20 >>"Can't exec "sudo": No such file or directory at (eval 15) line 119,". >> >>check_traffic.pl >>;Traffic ISDN-Interface;CRITICAL;notify-by-email;CRITICAL: >>Could not match= ISDN Basic Rate Interface (S0) >> >> >> > >Firstly thanks to Frederick and Michael for the notification about this >serious problem. > >Unfortunately the situation as I see it is, > >1 I am running 2.3 not 2.3.1 and so my limited Perl plugins (home-brew) >may not be picking up the problem. Also I lack a Nagios work bench at >the >moment so its going to be slow if heavy lifting is involved as it seems. > >2 A quick glance at the CVS does not seem to show any relevant changes > >2.1 there appear to be no changes in checks.c near the embedded Perl >code >2.2 the change to p1.pl was only to allow plugins to return more than >one >line of output (the nagios-snmp plugins do this I think). > >3 If Michael or Frederick would enable the LOGGING options in the copy >of p1.pl they use for new_mini_epn (perldoc p1.pl should help). > >IIRC you want to change this p1.pl to have > >use constant DEBUG_LEVEL => LEAVE_MSG ; > >and make sure the plugin log path looks Ok. > >This will leave messages like > >Mon Mar 6 15:43:39 2006 run_package: >"/usr/lib/nagios/plugins/check_rootport -H 10.0.254.167 -N BRUSW200" >returning (0, "Ok. No topology change: root port of >10.0.254.167/BRUSW200 has not changed from that expected: 513. See href="http://nms/cgi-bin/display_spanning_tree">Current spanning tree >graph. >"). >Mon Mar 6 15:43:39 2006 eval_file: >/usr/lib/nagios/plugins/check_rootport already successfully compiled and >file has not changed; skipping compilation. >Mon Mar 6 15:43:39 2006 run_package: >"/usr/lib/nagios/plugins/check_rootport -H 10.0.254.170 -N MTASW200" >returning (0, "Ok. No topology change: root port of >10.0.254.170/MTASW200 has not changed from that expected: 0. See href="http://nms/cgi-bin/display_spanning_tree">Current spanning tree >graph. >"). >Mon Mar 6 15:43:39 2006 run_package: >"/usr/lib/nagios/plugins/check_rootport -H 10.0.254.168 -N MTASW207" >returning (0, "Ok. No topology change: root port of >10.0.254.168/MTASW207 has not changed from that expected: 1. See href="http://nms/cgi-bin/display_spanning_tree">Current spanning tree >graph. >"). > >in the log file (also named in p1.pl). > >This should provide some clues. > >The only quick workaround that may be worth a _try_ is to replace pl.pl >for an older one from CVS (say 1.7). >However, I am not confident. > >Perhaps my installation is a bit atypical: every one of the 2.0 series >(inc betas) has >been in prod use with either heavy or light embedded Perl without a >hitch. > >The last random thought is, could you have changed Perl or >Text::ParseWords around about the >time the problem started ? This module is responsible for argument >processing and this >appears to be breaking. OTOH, if it was the culprit, all versions would >be b0rked. > >Good luck, > >Yours sincerely. > > >------------------------------------------------------- >Using Tomcat but need to do more? Need to support web services, security? >Get stuff done quickly with pre-integrated technology to make your job easier >Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo >http://sel.as-us.falkag.net/sel?cmd=k&kid0709&bid&3057&dat1642 >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null > > > Thanks for the hints Stanley, as soon as I can, I will do some testing although this is not easy because I'm running a production system, I will try to set up a system for testing. I didn't change the Text::Parsewords, so the only thing I can do is to enable the logging. Frederik ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From assaf at m-wise.com Thu May 18 13:19:51 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Thu, 18 May 2006 14:19:51 +0300 Subject: Alerts - Verbal notification - via phone In-Reply-To: <02E1DED3441C5943805370DEB17C877CF36D11@LRPHXEX1.lrlaw.com> References: <02E1DED3441C5943805370DEB17C877CF36D11@LRPHXEX1.lrlaw.com> Message-ID: <446C5857.4070100@m-wise.com> Hi we have set up exactly what you refer to in our Data center , we have the nagios send to the asterisk a request for a call with the number to call and the asterisk is calling the person's number either cell phone or land line number ( depends on what is defined in the nagios ) . True that our "calling" service doesn't tell you what the problem is - for that we still need to reach a computer , but the main issue is that we are awake ( or mostly awake) and actually aware that there is a problem . in order for this to work you'll have to have asterisk running (Duh) and able to dial out . then you need to configure an extension ( * see asterisk documentation ) and allow access to the asterisk form the nagios (in the manager.conf file *) . As for the different messages - that is something you can try and play with - either with festival like other recommended or via sending parameters to the asterisk . Assaf Stringham, Steven wrote: > > Has anybody out there configured Nagios to alert via telephone? I > don't mean like a SMS message or the like. I figure I am more likely > to answer my home phone ringing at 0 dark hundred than my cell phone's > little email beeps. Also, that would let me alert others that are not > actively watching the cellphone, blackberry, etc. > > I want the system to call my home phone and tell me: > "This is your friendly office Nagios system. Host X is down - service > Y is not running. The time is now 02:43. Get your butt out of bed and > fix it!" > > I am thinking an interface with something like Asterisk might work. > But, not having set up Asterisk before, I am not quite sure where to > go. So, I plan on working on getting into it. > > I have found one other application that did something like this, and > when I demod it, the voice quality really stunk, and I could not > configure what it said, etc. And, I did not like the monitor aspect of > it as well as I like Nagios. > > Just wondering if I am reinventing the wheel, or does someone has a > spare in the garage? > > > ---- > For more information about Lewis and Roca LLP, please go to > www.lewisandroca.com. > > Phoenix (602) 262-5311 > Tucson (520) 622-2090 > Las Vegas (702) 949-8200 > Reno (775) 770-2600 > Albuquerque (505) 764-5400 > > This message is intended only for the use of the individual > or entity to which it is addressed. If the reader of this message > is not the intended recipient, or the employee or agent responsible > for delivering the message to the intended recipient, you are > hereby notified that any dissemination, distribution or copying of > this message is strictly prohibited. If you have received this > communication in error, please notify us immediately by replying to > the sender of this E-Mail by return E-Mail or by telephone. > > In accordance with Internal Revenue Service Circular 230, we advise > you that if this email contains any tax advice, such tax advice was > not intended or written to be used, and it cannot be used, by any > taxpayer for the purpose of avoiding penalties that may be imposed > on the taxpayer. > -- Assaf Flatto Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From AMeyer at precisionpractice.com Thu May 18 16:00:14 2006 From: AMeyer at precisionpractice.com (Andrew Meyer) Date: Thu, 18 May 2006 09:00:14 -0500 Subject: nrpe Message-ID: <94407F2CC32FE34F8A7D3CB61E31C7F4010789CE@ppmexch01.precisionpractice.com> I'm not sure if this is the right list to sending this too. I am trying to setup nrpeto monitor my windows hosts but am unable to decide on a nrpe windows client to use... Is there one that broadcasts out to all nrpe daemons? Also I can get my statusmap to work. I'm not sure what pacakges I need to install on my Debian Sarge system. Or what other configuration I haven't done that I can't find in the documentation. Please advise. Andrew Meyer ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when repo