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 reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mailinglist at ebox.gr Thu May 18 16:55:07 2006 From: mailinglist at ebox.gr (Brandino Andreas) Date: Thu, 18 May 2006 17:55:07 +0300 Subject: service escalation - notification type Message-ID: <1794285323.20060518175507@ebox.gr> Hi list, i want to create some service escalations but escalate the way notifications are sent. For example i want first 5 notifcations sent through mail , 6th with sms , and the rest with mail again. All notification will be sent with to the same persons. How can i change the way sms notifications are sent to the same person? The only way i have thought is to duplicate the groups but this is unmanagable for many contcts. Any other idea? thx ---------------- Brandino Andreas mailinglist at ebox.gr ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Thu May 18 17:27:17 2006 From: Peter.Shankland at ricoh-rpl.com (Peter Shankland) Date: Thu, 18 May 2006 16:27:17 +0100 Subject: SCHEDULE_SVC_DOWNTIME Question Message-ID: Could someone check that the following script from Nagios.org works with v2.x: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=119 I cannot get the information I parse to the script to display within the downtime screen in nagios :( Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From JoeRegular at gov.nl.ca Thu May 18 18:23:14 2006 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Thu, 18 May 2006 13:53:14 -0230 Subject: Monitoring HTTPS Message-ID: I'm sure that I can use Nagios to monitor HTTPS but I can't figure out how to get it working. I do have HTTP. Can someone please point me in the right direction? Joe ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 18 18:31:14 2006 From: SStringh at lrlaw.com (Stringham, Steven) Date: Thu, 18 May 2006 09:31:14 -0700 Subject: Alerts - Verbal notification - via phone Message-ID: <02E1DED3441C5943805370DEB17C877CF36D3A@LRPHXEX1.lrlaw.com> Thanks. I am presently looking into it. I do appreciate that it is being done. -----Original Message----- From: Assaf Flatto [mailto:assaf at m-wise.com] Sent: Thursday, May 18, 2006 4:20 AM To: Stringham, Steven Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Alerts - Verbal notification - via phone 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? > > -- Assaf Flatto Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ---- 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 marc at ena.com Thu May 18 18:37:51 2006 From: marc at ena.com (Marc Powell) Date: Thu, 18 May 2006 11:37:51 -0500 Subject: Monitoring HTTPS Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Joe Regular > Sent: Thursday, May 18, 2006 11:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring HTTPS > > I'm sure that I can use Nagios to monitor HTTPS but I can't figure out how > to get it working. I do have HTTP. > > Can someone please point me in the right direction? check_http --help -S, --ssl Connect via SSL A specific example -- ~nagios/libexec/check_http -S -H my.site.com -I my.site.ip -u /page.html -wt 20 -ct 30 -to 35 -- 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 teng at dataway.com Thu May 18 19:32:45 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 18 May 2006 10:32:45 -0700 Subject: Monitoring HTTPS Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DA6@dw-mail.dataway.com> You must have openssl installed (probably openssl-dev actually) while compiling the plugin for the the check_http plugin to enable the HTTPS checking option. If you run "check_http -h" and the -S option does not show up, you'll need to recompile it. > -----Original Message----- > From: Joe Regular [mailto:JoeRegular at gov.nl.ca] > Sent: Thursday, May 18, 2006 9:23 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring HTTPS > > > I'm sure that I can use Nagios to monitor HTTPS but I can't > figure out how to get it working. I do have HTTP. > > Can someone please point me in the right direction? > > Joe > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your 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 thyes at gmx.net Thu May 18 20:25:18 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 18 May 2006 20:25:18 +0200 Subject: Monitoring HTTPS In-Reply-To: References: Message-ID: <20060518182514.GA60978@gator> +++ Marc Powell [Thu, May 18, 2006 at 06:37:51PM CEST]: > > check_http --help > > -S, --ssl > Connect via SSL > > A specific example -- > > ~nagios/libexec/check_http -S -H my.site.com -I my.site.ip -u /page.html > -wt 20 -ct 30 -to 35 Is there a possibillity to check the remaining time from an ssl certificate? Dont blame me because i am to lazy to recompile and try. :) Regards Frank -- "Contrary to popular belief, Unix isnt user friendly. It just happens to be selective about who it makes friends with." ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Thu May 18 20:25:06 2006 From: teng at dataway.com (Tedman Eng) Date: Thu, 18 May 2006 11:25:06 -0700 Subject: How to reduce a very high latency number Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DA7@dw-mail.dataway.com> Try tuning the intercheck_delay_method setting. This setting determines the initial spreading out of the checks in the queue during a fresh start. Nagios tries to do a good job of this, but if you have some checks spaced at vastly different intervals, it skews the "flat average" formula used to calculate the smart setting. Simple example: Check_A - every 1 minute Check_B - every 5 minutes Total Checks: 2 Nagios would pick an intercheck delay of 1.5 minutes. It averages the check times, divides by the total checks. (average check time) / (total checks) ((1+5)/2) / 2 = 1.5 However, once every 5 minutes, you actually need to run Check_A and Check_B during the same minute, but Nagios would wait 1.5 minutes between each check, resulting in .5 minutes of latency for Check_A at best, 2 minutes of latency for Check_A at worst. To solve this, recalculate your check intercheck_delay using a manually calculated formula, substituting the shortest check interval, divided by the total checks. (shortest check) / (total checks) 1 / 2 = .5 Think of intercheck delay as the "gap" that nagios uses between checks as they are added to the queue. It won't schedule things before it's time to, so Check_B will still wait 5 minutes before being put into the check queue. The only difference is that there'll only be a .5 minute "gap" before executing Check_A afterwards. NOTE: If you have some extremely short-interval checks, they can skew the average in the other direction, so if you use this technique, be aware of the CPU load implications is causes on your monitoring server. > -----Original Message----- > From: Trask [mailto:trasko at gmail.com] > Sent: Wednesday, May 17, 2006 5:26 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] How to reduce a very high latency number > > > > 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&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 benny at bennyvision.com Thu May 18 20:29:30 2006 From: benny at bennyvision.com (C. Bensend) Date: Thu, 18 May 2006 13:29:30 -0500 (CDT) Subject: Monitoring HTTPS In-Reply-To: <20060518182514.GA60978@gator> References: <20060518182514.GA60978@gator> Message-ID: <3178.134.244.169.17.1147976970.squirrel@webmail.stinkweasel.net> > Is there a possibillity to check the remaining time from an ssl > certificate? Dont blame me because i am to lazy to recompile and > try. :) Yes. -- "God help us all if cats had thumbs." -- Me, 2006 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 wrjacqmein at gmail.com Thu May 18 20:58:05 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 18 May 2006 14:58:05 -0400 Subject: Monitoring HTTPS In-Reply-To: References: Message-ID: <3c9a5bae0605181158w14e475e4q33ab9ebc40e17533@mail.gmail.com> Joe, The check_http command will work with SSL if youre not behind a proxy. When I try it with SSL behind a proxy it tries to make the SSL connection with the proxy not with the website. Ive been using curl in such. Thanks, Bill On 5/18/06, Joe Regular wrote: > I'm sure that I can use Nagios to monitor HTTPS but I can't figure out how to get it working. I do have HTTP. > > Can someone please point me in the right direction? > > Joe > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to 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 > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 thyes at gmx.net Thu May 18 21:10:34 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 18 May 2006 21:10:34 +0200 Subject: Monitoring HTTPS In-Reply-To: <3178.134.244.169.17.1147976970.squirrel@webmail.stinkweasel.net> References: <20060518182514.GA60978@gator> <3178.134.244.169.17.1147976970.squirrel@webmail.stinkweasel.net> Message-ID: <20060518191030.GB60978@gator> +++ C. Bensend [Thu, May 18, 2006 at 08:29:30PM CEST]: > > > Is there a possibillity to check the remaining time from an ssl > > certificate? Dont blame me because i am to lazy to recompile and > > try. :) > > Yes. Yes it should be able to do this. From the help: CHECK CERTIFICATE: check_http www.verisign.com -C 14 When the certificate of 'www.verisign.com' is valid for more than 14 days, a STATE_OK is returned. When the certificate is still valid, but for less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when the certificate is expired. xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http www.verisign.com -C 14 HTTP OK HTTP/1.1 200 OK - 29788 bytes in 1.565 seconds |time=1.564926s;;;0.000000 size=29788B;;;0 xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http www.verisign.com -C 0 HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.897 seconds |time=0.896714s;;;0.000000 size=29788B;;;0 xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http www.verisign.com -C 10000 HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.895 seconds |time=0.895433s;;;0.000000 size=29788B;;;0 xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http www.verisign.com -C 1000000 HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.898 seconds |time=0.897858s;;;0.000000 size=29788B;;;0 xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http secure.friendscout24.de -C 1000 HTTP OK HTTP/1.1 200 OK - 47462 bytes in 0.043 seconds |time=0.043246s;;;0.000000 size=47462B;;;0 xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http secure.friendscout24.de -C 100000000 HTTP OK HTTP/1.1 200 OK - 47462 bytes in 0.036 seconds |time=0.036184s;;;0.000000 size=47462B;;;0 xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ldd check_http libnsl.so.1 => /lib/tls/libnsl.so.1 (0x4001c000) libresolv.so.2 => /lib/tls/libresolv.so.2 (0x40030000) libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40043000) libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 (0x40074000) libc.so.6 => /lib/tls/libc.so.6 (0x40173000) libdl.so.2 => /lib/tls/libdl.so.2 (0x402a8000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Am i missing something? Or does verisign believe that they will live forever? Frank -- My software never has bugs... it just develops random features... ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 JoeRegular at gov.nl.ca Thu May 18 21:08:33 2006 From: JoeRegular at gov.nl.ca (Joe Regular) Date: Thu, 18 May 2006 16:38:33 -0230 Subject: Monitoring HTTPS Message-ID: The check_http that I have installed tells me that -S is not available. Is there another version of this check command available somewhere? >>> Frank Thyes 05/18/06 3:55 PM >>> +++ Marc Powell [Thu, May 18, 2006 at 06:37:51PM CEST]: > > check_http --help > > -S, --ssl > Connect via SSL > > A specific example -- > > ~nagios/libexec/check_http -S -H my.site.com -I my.site.ip -u /page.html > -wt 20 -ct 30 -to 35 Is there a possibillity to check the remaining time from an ssl certificate? Dont blame me because i am to lazy to recompile and try. :) Regards Frank -- "Contrary to popular belief, Unix isnt user friendly. It just happens to be selective about who it makes friends with." ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 benny at bennyvision.com Thu May 18 21:16:47 2006 From: benny at bennyvision.com (C. Bensend) Date: Thu, 18 May 2006 14:16:47 -0500 (CDT) Subject: Monitoring HTTPS In-Reply-To: References: Message-ID: <3383.134.244.169.17.1147979807.squirrel@webmail.stinkweasel.net> > The check_http that I have installed tells me that -S is not available. > Is there another version of this check command available somewhere? You'll need to install openssl and openssl-devel, re-run configure, and recompile check_http, as has already been mentioned. -- "God help us all if cats had thumbs." -- Me, 2006 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 benny at bennyvision.com Thu May 18 21:17:47 2006 From: benny at bennyvision.com (C. Bensend) Date: Thu, 18 May 2006 14:17:47 -0500 (CDT) Subject: Monitoring HTTPS In-Reply-To: <20060518191030.GB60978@gator> References: <20060518182514.GA60978@gator> <3178.134.244.169.17.1147976970.squirrel@webmail.stinkweasel.net> <20060518191030.GB60978@gator> Message-ID: <3384.134.244.169.17.1147979867.squirrel@webmail.stinkweasel.net> > When the certificate of 'www.verisign.com' is valid for more than 14 > days, a STATE_OK is returned. When the certificate is still valid, but for > less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be > returned when the certificate is expired. > > xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > www.verisign.com -C 14 > HTTP OK HTTP/1.1 200 OK - 29788 bytes in 1.565 seconds > |time=1.564926s;;;0.000000 size=29788B;;;0 > xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > www.verisign.com -C 0 > HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.897 seconds > |time=0.896714s;;;0.000000 size=29788B;;;0 > xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > www.verisign.com -C 10000 > HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.895 seconds > |time=0.895433s;;;0.000000 size=29788B;;;0 > xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > www.verisign.com -C 1000000 > HTTP OK HTTP/1.1 200 OK - 29788 bytes in 0.898 seconds > |time=0.897858s;;;0.000000 size=29788B;;;0 > xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > secure.friendscout24.de -C 1000 > HTTP OK HTTP/1.1 200 OK - 47462 bytes in 0.043 seconds > |time=0.043246s;;;0.000000 size=47462B;;;0 > xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > secure.friendscout24.de -C 100000000 > HTTP OK HTTP/1.1 200 OK - 47462 bytes in 0.036 seconds > |time=0.036184s;;;0.000000 size=47462B;;;0 > xxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ldd check_http > libnsl.so.1 => /lib/tls/libnsl.so.1 (0x4001c000) > libresolv.so.2 => /lib/tls/libresolv.so.2 (0x40030000) > libssl.so.0.9.7 => /usr/lib/i686/cmov/libssl.so.0.9.7 (0x40043000) > libcrypto.so.0.9.7 => /usr/lib/i686/cmov/libcrypto.so.0.9.7 > (0x40074000) > libc.so.6 => /lib/tls/libc.so.6 (0x40173000) > libdl.so.2 => /lib/tls/libdl.so.2 (0x402a8000) > /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) > > Am i missing something? Or does verisign believe that they will live > forever? You're not testing SSL (missing the -S switch). Here is my check_cert definition: define command{ command_name check_cert command_line $USER1$/check_http -S -H $ARG1$ -C 7 -t 20 } Note you'll have to follow the previous instructions to get SSL support first. -- "God help us all if cats had thumbs." -- Me, 2006 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 thyes at gmx.net Thu May 18 21:23:56 2006 From: thyes at gmx.net (Frank Thyes) Date: Thu, 18 May 2006 21:23:56 +0200 Subject: Monitoring HTTPS In-Reply-To: <3384.134.244.169.17.1147979867.squirrel@webmail.stinkweasel.net> References: <20060518182514.GA60978@gator> <3178.134.244.169.17.1147976970.squirrel@webmail.stinkweasel.net> <20060518191030.GB60978@gator> <3384.134.244.169.17.1147979867.squirrel@webmail.stinkweasel.net> Message-ID: <20060518192352.GC60978@gator> +++ C. Bensend [Thu, May 18, 2006 at 09:17:47PM CEST]: > You're not testing SSL (missing the -S switch). Here is my > check_cert definition: > > define command{ > command_name check_cert > command_line $USER1$/check_http -S -H $ARG1$ -C 7 -t 20 > } > > Note you'll have to follow the previous instructions to get SSL > support first. xxxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http www.verisign.com -S -C 100000000 WARNING - Certificate expires in 379 day(s) (06/01/2007 23:59). Bloody help file... xxxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http -h CHECK CERTIFICATE: check_http www.verisign.com -C 14 When the certificate of 'www.verisign.com' is valid for more than 14 days, a STATE_OK is returned. When the certificate is still valid, but for less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be returned when the certificate is expired. Thanks C. Regards Frank -- Computers are like air conditioners. Both stop working, if you open windows. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 benny at bennyvision.com Thu May 18 21:31:12 2006 From: benny at bennyvision.com (C. Bensend) Date: Thu, 18 May 2006 14:31:12 -0500 (CDT) Subject: Monitoring HTTPS In-Reply-To: <20060518192352.GC60978@gator> References: <20060518182514.GA60978@gator> <3178.134.244.169.17.1147976970.squirrel@webmail.stinkweasel.net> <20060518191030.GB60978@gator> <3384.134.244.169.17.1147979867.squirrel@webmail.stinkweasel.net> <20060518192352.GC60978@gator> Message-ID: <3436.134.244.169.17.1147980672.squirrel@webmail.stinkweasel.net> > xxxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > www.verisign.com -S -C 100000000 > WARNING - Certificate expires in 379 day(s) (06/01/2007 23:59). > > Bloody help file... Could someone add the -S to that example for check_http? :) I vaguely recall a discussion about how -C should imply -S, did that go nowhere (not asking you specifically Frank, asking the guys that were discussing it)? Benny -- "God help us all if cats had thumbs." -- Me, 2006 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 jlin at myvest.com Thu May 18 23:04:20 2006 From: jlin at myvest.com (Julie S. Lin) Date: Thu, 18 May 2006 14:04:20 -0700 Subject: check_log false alarms In-Reply-To: <20060516063125.00001129@sws602.mcsun.local> References: <60721B67EAF0994EAFFB561767B700145937FE@nets13ha.ww300.siemens.net> <20060516063125.00001129@sws602.mcsun.local> Message-ID: <446CE154.4010402@myvest.com> Hi I am running Nagios 1.2 on RedHat 9. I have check_log set up to monitor oracle errors. A cron jobs copies a fresh copy of the appropriate log file to the nagios server every 5 min; The service is checked every 12 minutes. Every once in a while (no pattern) I'll get a very odd and false alarm, indicating many instances of the string. Since I'm a relative newbie, perhaps I don't have this optimally configured? I have another check_log set up in the same manner, just different log file and different string, and that works fine! If anyone has any suggestions or ideas why this would be behaving differently, I'd greatly appreciate it. thanks much in advance. here is the error message ***** Nagios ***** Notification Type: PROBLEM Service: LOGCHECK-Ora Host: database Address: 192.168.x.x State: CRITICAL Date/Time: Thu May 18 12:52:19 PDT 2006 Additional Info: (547) ORA-959 signalled during: alter tablespace DATAEXCHDBO coalesce... here is my services.cfg entry.... define service{ use generic-service hostgroup_name db-server service_description LOGCHECK-Ora is_volatile 0 check_period 24x7 max_check_attempts 1 normal_check_interval 12 retry_check_interval 1 contact_groups joe, julie notification_interval 120 notification_period 24x7 notification_options w,c check_command check_log_ora } here is my checkcommands.cfg entry.... # 'check_log' command definition define command{ command_name check_log_ora command_line $USER1$/check_log -F /tmp/dbmessages -O /tmp/check_log_dbmessages -q "ORA-" } ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 wrjacqmein at gmail.com Fri May 19 00:47:05 2006 From: wrjacqmein at gmail.com (Bill Jacqmein) Date: Thu, 18 May 2006 18:47:05 -0400 Subject: Monitoring HTTPS In-Reply-To: <20060518192352.GC60978@gator> References: <20060518182514.GA60978@gator> <3178.134.244.169.17.1147976970.squirrel@webmail.stinkweasel.net> <20060518191030.GB60978@gator> <3384.134.244.169.17.1147979867.squirrel@webmail.stinkweasel.net> <20060518192352.GC60978@gator> Message-ID: <3c9a5bae0605181547y5971bea0uc064c6d126f4ec56@mail.gmail.com> Has anyone got this working through a proxy server? On 5/18/06, Frank Thyes wrote: > +++ C. Bensend [Thu, May 18, 2006 at 09:17:47PM CEST]: > > > You're not testing SSL (missing the -S switch). Here is my > > check_cert definition: > > > > define command{ > > command_name check_cert > > command_line $USER1$/check_http -S -H $ARG1$ -C 7 -t 20 > > } > > > > Note you'll have to follow the previous instructions to get SSL > > support first. > > xxxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http > www.verisign.com -S -C 100000000 > WARNING - Certificate expires in 379 day(s) (06/01/2007 23:59). > > Bloody help file... > > xxxxx:/usr/local/src/nagios-plugins-1.4.2/plugins# ./check_http -h > CHECK CERTIFICATE: check_http www.verisign.com -C 14 > > When the certificate of 'www.verisign.com' is valid for more than 14 > days, a STATE_OK is returned. When the certificate is still valid, but for > less than 14 days, a STATE_WARNING is returned. A STATE_CRITICAL will be > returned when the certificate is expired. > > Thanks C. > > Regards > Frank > -- > Computers are like air conditioners. Both stop working, > if you open windows. > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your 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 Stanley.Hopcroft at Dest.gov.au Fri May 19 03:28:10 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 19 May 2006 11:28:10 +1000 Subject: Survey of embedded Perl problems in 2.3.1 Message-ID: Dear Folks, I am writing with some notes about the state of embedded Perl in Nagios 2.3.x It seems to me that the situation is this 1 There are no problems with the embedded Perl implementation in Nagios 2.3.x (apart from those documented, namely the memory leak). 2 The different behaviour of Perl plugins with embedded Perl between 2.3.x and 2.0 _may_ have been caused by the Nagios 2.0 binary not in fact having an embedded Perl interpreter (so that all the Perl plugins were run in their own freshly forked copy of Perl). This has been the case for two of the problem reporters. 3 The plugins having problems are recognised (by me at least) as being problematic with embedded Perl These plugins are 3.1 check_ntp: signal handler should be set in an eval { } block. 3.2 contrib/ plugins such as check_ciscotemp.pl: undeclared variables. These plugins, like any Perl plugin that is not coded explicity for embedding, do not play well with embedded Perl. (FYI http://nagios.sourceforge.net/docs/2_0/embeddedperl.html talks about some of the challenges. BTW, the way for anyone to test their Perl plugins with embedded Perl Nagios is to run the plugin against new_mini_epn) Probably I should submit a patch to check_ntp to the plugin team. On a semi-related matter, those that use embedded Perl and develop their own plugins - particuarly those that make use of Perl objects - may be interested in this observation: there is probably _no_ need for a plugin to reconstruct a Perl object each time it runs if it is going to be used by an embedded Perl interpreter such as ePN. Since Perl modules invariably construct objects by 1 allocating memory 2 returning a reference (pointer) to that memory the construct an object each time in ePN may be responsible for the biggest part of the memory leak. I have yet to try if conditional object construction with ePN actually works and is helpful but it should be as easy as - $p = Dhcp->new($release_pkt) ; + $p = Dhcp->new($release_pkt) unless $p ; Since the object invariably only caches identity this shouldn't change the plugin operation. We will see. 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 Stanley.Hopcroft at Dest.gov.au Fri May 19 03:53:03 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 19 May 2006 11:53:03 +1000 Subject: OT: Conditional object construction in Perl plugins to reduce memory use of embedded Perl Nagios. Message-ID: Dear Folks, I have hacked a home-brew Perl plugin (vi) to (mainly) construct Perl objects only if there is _not_ one from the last run (of the plugin under embedded Perl) ie construct one object only and keep using it. This plugin has been informally tested and continues to validate that a DHCP server is healthy. It has not been tested to 1 detect a failed DHCP server/b0rked network (same thing from the plugin point of view) 2 ascertain whether less memory is used. so while I cannot conclude that the plugin still functions as it did before the changes, or that the change was even worthwhile, it is encouraging that there are as yet no obvious reasons to dismiss this approach. Yours sincerely. [root at acisf011 plugins]# diff -c check_dhcp.pl check_dhcp.pl.ok | more *** check_dhcp.pl 2006-05-19 11:42:19.000000000 +1000 --- check_dhcp.pl.ok 2006-05-19 11:32:09.000000000 +1000 *************** *** 100,123 **** $ENV{'PATH'} = '/sbin:/bin:/usr/local/bin' ; ! unless ( $sock ) { ! ! # Conditional object construction ! # to try and reduce memory use ! # in embedded Perl applications. ! ! $sock = IO::Socket::INET->new( LocalAddr => inet_ntoa(INADDR_ANY), LocalPort => 68, Proto => 'udp', Type => SOCK_DGRAM, Broadcast => 1, ) or do { ! print "Cannot create socket or bind to priviledged port: $!\n" ; ! exit $ERRORS{UNKNOWN} ! } ! ! } $hispaddr = sockaddr_in(67, inet_aton($subnet_bcast) || INADDR_BROADCAST) ; --- 100,115 ---- $ENV{'PATH'} = '/sbin:/bin:/usr/local/bin' ; ! $sock = IO::Socket::INET->new( LocalAddr => inet_ntoa(INADDR_ANY), LocalPort => 68, Proto => 'udp', Type => SOCK_DGRAM, Broadcast => 1, ) or do { ! print "Cannot create socket or bind to priviledged port: $!\n" ; ! exit $ERRORS{UNKNOWN} ! } ; $hispaddr = sockaddr_in(67, inet_aton($subnet_bcast) || INADDR_BROADCAST) ; *************** *** 364,372 **** my ($p, $message_type, $ok) ; ! $p = Dhcp->new($msg) ! unless $p ; ! ($message_type) = $p->dhcp_message_type ; $$msg_ref = $p ; --- 356,362 ---- my ($p, $message_type, $ok) ; ! $p = Dhcp->new($msg) ; ($message_type) = $p->dhcp_message_type ; $$msg_ref = $p ; [root at acisf011 plugins]# ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 ntserafica at yahoo.com Fri May 19 05:03:42 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Thu, 18 May 2006 20:03:42 -0700 (PDT) Subject: doesn't send email notification Message-ID: <20060519030342.63845.qmail@web60425.mail.yahoo.com> Does anyone know how to deal with this? I notice that whenver there is down or warning, it doesn't send email but whenever I restart sendmail, that's the time all the pending notification was send. Anyone knows how to deal with this? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Fri May 19 05:31:25 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Thu, 18 May 2006 20:31:25 -0700 (PDT) Subject: update service /host check as early as possible Message-ID: <20060519033125.31900.qmail@web60415.mail.yahoo.com> Does anyone knows how to adjust the time of checking of nagios to its host and services? i want to check host and service as early as possible lets say every 5 secs. i check the template but did not find answer or i just miss something Anyone helped? -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Fri May 19 07:50:19 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 19 May 2006 01:50:19 -0400 Subject: update service /host check as early as possible In-Reply-To: <20060519033125.31900.qmail@web60415.mail.yahoo.com> References: <20060519033125.31900.qmail@web60415.mail.yahoo.com> Message-ID: http://nagios.sourceforge.net/docs/2_0/checkscheduling.html ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Thursday, May 18, 2006 8:31 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] update service /host check as early as possible Does anyone knows how to adjust the time of checking of nagios to its host and services? i want to check host and service as early as possible lets say every 5 secs. i check the template but did not find answer or i just miss something Anyone helped? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 19 07:52:28 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 19 May 2006 01:52:28 -0400 Subject: doesn't send email notification In-Reply-To: <20060519030342.63845.qmail@web60425.mail.yahoo.com> References: <20060519030342.63845.qmail@web60425.mail.yahoo.com> Message-ID: Check your sendmail setup. It's not configured properly. I'd recommend sending a test e-mail through it and looking at the mail log to see what happens. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Thursday, May 18, 2006 8:04 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] doesn't send email notification Does anyone know how to deal with this? I notice that whenver there is down or warning, it doesn't send email but whenever I restart sendmail, that's the time all the pending notification was send. Anyone knows how to deal with 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 Jorg.Schulz at systeam.se Fri May 19 08:32:46 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Fri, 19 May 2006 08:32:46 +0200 Subject: SCHEDULE_SVC_DOWNTIME Question In-Reply-To: References: Message-ID: Hi If you want a scheddowntime for HOSTS and SERVICES try http://www.nagiosexchange.org/Downtimes.38.0.html?&tx_netnagext_pi1[p_view]=363 It works very good. /J?rg "Peter Shankland" Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-18 17:27 To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] SCHEDULE_SVC_DOWNTIME Question Could someone check that the following script from Nagios.org works with v2.x: http://www.nagios.org/developerinfo/externalcommands/commandinfo.php?command_id=119 I cannot get the information I parse to the script to display within the downtime screen in nagios :( Thanks. -------------- 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 Stanley.Hopcroft at Dest.gov.au Fri May 19 09:12:21 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Fri, 19 May 2006 17:12:21 +1000 Subject: How many parent hosts in a parent directives ? Message-ID: Dear Folks, After many years of using and thinking I understood the use of the 'parent' host attribute, I find that I don't and hope someone will amplify what is given in the FAQ and http://nagios.sourceforge.net/docs/2_0/networkreachability.html In particular, that document seems to suggest that each host in a routed subnet (at least) should be configured with the short name of the subnet router. But what happens when there are two site routers perhaps sharing a gateway address with HSRP ? Do both routers go in the parents directive ? All advice cheerfully received. Thank you, 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 Oliver.Marshall at g2support.com Fri May 19 10:17:59 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Fri, 19 May 2006 09:17:59 +0100 Subject: Help. Nagios setup issue Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C839D@indigo.G2Support.local> Help ! I have just setup Nagios on Mandriva 2006. I'm not a linux person really, so it's been a struggle. However, its up and working, with one (or poss more) problem. When I go to any page I get a red line of text saying "It appears as though you do not have permission to view the configuration information you requested" I have logged on to nagios via FF using the Nagiosadmin username and password that I created using the Htpasswd command from the instructions here http://nagios.sourceforge.net/docs/2_0/cgiauth.html. Use_authentication is set to 1. Any ideas what it might be ? Olly ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Fri May 19 10:28:24 2006 From: maca02 at atlas.cz (Tomas Macek) Date: Fri, 19 May 2006 10:28:24 +0200 (CEST) Subject: Help. Nagios setup issue Message-ID: See cgi.cfg and directives like authorized_for_* All these directives should be set to the person who is logged in, these are the permissions you are looking for On Fri, 19 May 2006, Oliver Marshall wrote: > Help ! > > I have just setup Nagios on Mandriva 2006. I'm not a linux person > really, so it's been a struggle. > > However, its up and working, with one (or poss more) problem. > > When I go to any page I get a red line of text saying "It appears as > though you do not have permission to view the configuration information > you requested" > > I have logged on to nagios via FF using the Nagiosadmin username and > password that I created using the Htpasswd command from the instructions > here http://nagios.sourceforge.net/docs/2_0/cgiauth.html. > Use_authentication is set to 1. > > Any ideas what it might be ? > > Olly > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your 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 m.borsani at it.net Fri May 19 12:16:01 2006 From: m.borsani at it.net (Marco Borsani) Date: Fri, 19 May 2006 12:16:01 +0200 Subject: Remove NSClient++ Message-ID: <007e01c67b2d$3e3c6cd0$0900d40a@intranet.it.net> Hi all I installed NSClient on a system that had before NSClient 2.0.1. Actually I need to remove both of them, but I do not know how do about nsclient++. I need to clean the situation to install only NSClient 2.0.1 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 prandal at herefordshire.gov.uk Fri May 19 12:26:34 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Fri, 19 May 2006 11:26:34 +0100 Subject: Remove NSClient++ Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580D210714@isabella.herefordshire.gov.uk> Have a look in c:\nsclient++\docs\index.html To uninstall NSClient++ execute the following command: NSClient++ /uninstall 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 Marco Borsani > Sent: 19 May 2006 11:16 > To: 'Nagios Users Mailinglist' > Subject: [Nagios-users] Remove NSClient++ > > Hi all > > I installed NSClient on a system that had before NSClient 2.0.1. > Actually I need to remove both of them, but I do not know how do about > nsclient++. > > I need to clean the situation to install only NSClient 2.0.1 > > 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 > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Fri May 19 12:41:46 2006 From: az at whoever.org (Az) Date: Fri, 19 May 2006 20:41:46 +1000 Subject: Oracle plugin In-Reply-To: References: Message-ID: <446DA0EA.5050005@whoever.org> Hi Janet, >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?!?! > > I never found anything like this either so I rolled my own stored procedure type plugin for both Oracle and MSSQL. The guts of it was one of the parameters you passed it was a valid command for that RDBMS (so it could be a select or a stored proc, the latter is what we did). It expects 1 row, 2 columns back. A result code (OK, WARN, etc), and a message. I havent bothered with perf stats at this point. Our DBAs wrote some standard stored procs they deployed as they saw fit to spit out the results. Thus, I could manage Nagios and they could write whatever queries on their DB they wanted without having to fiddle with scripts on the Nagios server. I've not put them on Nagios Exchange, but if you're interested in seeing them, let me know. Cheers. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 greg.cope at e-dba.net Fri May 19 13:29:21 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Fri, 19 May 2006 12:29:21 +0100 Subject: Status map Images missing - replaced with emoty square (gd2 files are there!) Message-ID: <1148038161.2578.23.camel@dl.e-dba.net> Hi All, A recent fedora 4 rpm update seems to have broken my gd2 images on the status page - I now get all the right details, but just an empty square - no image. gd2 images are where they are supposed to be. Any ideas? Greg ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 mkarekal at gmail.com Fri May 19 14:02:32 2006 From: mkarekal at gmail.com (Manjunath Karekal) Date: Fri, 19 May 2006 15:02:32 +0300 Subject: Join my Earthscreen network Message-ID: <265d78110605190502j74f50756mba666f05c8ad96cb@mail.gmail.com> I'm doing a little something about global warming, I'm inviting my friends to join me: http://friends.earthscreen.com/?r=EUFkCIADmBhRBmQJBiAE&i=gmail&ml=nagios-users at lists.sourceforge.net&p=1&z=1&tc=11 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 ies_med at yahoo.es Fri May 19 14:15:32 2006 From: ies_med at yahoo.es (=?iso-8859-1?q?jacobo=20garc=EDa?=) Date: Fri, 19 May 2006 14:15:32 +0200 (CEST) Subject: chek_disk_smb - nagios2 Message-ID: <20060519121532.66282.qmail@web26611.mail.ukl.yahoo.com> Hi, i have a problem running check_disk_smb in Ubuntu (guadalinexV3). When i run the plugin from command line i get a 2 lines response, #./check_disk_smb -H smbntal01 -s Public Domain=[MYDOMAIN] OS=[Unix] Server=[Samba 3.0.11] Disk ok - 7.92G (93%) free on \\server\Public I tried whith a windows 2000 machine and i got same response. At this time all is OK, but when i run the plugin from nagios gui (sheduled checks or forcing sheduled check) i got another kind of response that i dont know what it means. Status : "UNKNOWN" "Undefined subroutine &Embed::Persistent::eval_file called. " I tried with another version of check_disk_smb , with check_disk_smb.pl, and I get every time the same response in nagios. I tried to run the plugin from command line whithout any enviroment variables, in this case the plugin keep working. I tried to configure all options in nagios-check_disk_smb, a non guest users, pass,warning and critical values, in the command definition. But nothing works when the plugin is "played" from nagios. I tried too to sudo nagios . I tried to "cat nagios.cmd" and the response was : [1148040759] SCHEDULE_FORCED_SVC_CHECK;smbntal01;SMB;1148040758 But no info about an error or warning. I dont know what to do. My machine: -Guadalinex V3 (Ubuntu Based) -perl 5.8.7-5ubuntu1.2 -Nagios2 2.0-1.breezy.2 Can anyone helpme? Sorry for my english im learning. ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. http://es.voice.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 m.borsani at it.net Fri May 19 14:40:46 2006 From: m.borsani at it.net (Marco Borsani) Date: Fri, 19 May 2006 14:40:46 +0200 Subject: R: Remove NSClient++ In-Reply-To: <86144ED6CE5B004DA23E1EAC0B569B580D210714@isabella.herefordshire.gov.uk> References: <86144ED6CE5B004DA23E1EAC0B569B580D210714@isabella.herefordshire.gov.uk> Message-ID: <00a301c67b41$73c63ca0$0900d40a@intranet.it.net> Well, I did it, I installed nsclient 2.0.1 again, it is running, but Nagios cannot obtain information from it. Any idea? How can I debug it? It is the first time that nsclient give me a problem ! I also see error in event viewer like the attach file, but I have same error on other systems that are working correctly. Regards Marco -}-----Messaggio originale----- -}Da: Randal, Phil [mailto:prandal at herefordshire.gov.uk] -}Inviato: venerd? 19 maggio 2006 12.27 -}A: Marco Borsani; 'Nagios Users Mailinglist' -}Oggetto: RE: [Nagios-users] Remove NSClient++ -} -}Have a look in c:\nsclient++\docs\index.html -} -}To uninstall NSClient++ execute the following command: -} -}NSClient++ /uninstall -} -}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 Marco -}> Borsani -}> Sent: 19 May 2006 11:16 -}> To: 'Nagios Users Mailinglist' -}> Subject: [Nagios-users] Remove NSClient++ -}> -}> Hi all -}> -}> I installed NSClient on a system that had before NSClient 2.0.1. -}> Actually I need to remove both of them, but I do not know -}how do about -}> nsclient++. -}> -}> I need to clean the situation to install only NSClient 2.0.1 -}> -}> 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 -}> -} -------------- next part -------------- A non-text attachment was scrubbed... Name: Clipboard01.jpg Type: image/jpeg Size: 177500 bytes Desc: not available URL: From whiterabbit at mand4la.info Fri May 19 15:53:21 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Fri, 19 May 2006 15:53:21 +0200 Subject: monitoring esx vmfs Message-ID: <446DCDD1.8090206@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi * I'm trying to monitoring my vmfs volume on a esx server, I'd like to check vmfs by nrpe. But I can not understand how to indicate the correct volume # /usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/cciss/c0d0p10 DISK CRITICAL - free space:| [/dev/cciss/c0d0p10 not found] my vmfs lun is vmhba0:0:0:10 # vdf -h Filesystem Size Used Avail Use% Mounted on /dev/cciss/c0d0p2 3.8G 730M 2.9G 20% / /dev/cciss/c0d0p1 69M 12M 54M 18% /boot /dev/cciss/c0d0p7 1.9G 36M 1.7G 2% /home none 133M 0 132M 0% /dev/shm /dev/cciss/c0d0p8 984M 17M 917M 2% /tmp /dev/cciss/c0d0p6 3.8G 201M 3.4G 6% /var /dev/cciss/c0d0p5 11G 33M 10G 1% /vmimages vmhba0:0:0:10 386G 324G 62G 83% /vmfs/vmhba0:0:0:10 Thanks Matteo Mancini -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEbc3R/TjXD9LUVswRAm7SAJ0Ul8IamEUs+S3ia1qDhW0urW1OSACeOp/X 0jkTI9k5e5tP6L2mHjwzd3c= =akQJ -----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 Fri May 19 16:22:53 2006 From: marc at ena.com (Marc Powell) Date: Fri, 19 May 2006 09:22:53 -0500 Subject: update service /host check as early as possible Message-ID: Also see normal_check_interval in service definitions. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Friday, May 19, 2006 12:50 AM > To: Nelson Serafica; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] update service /host check as early as > possible > > http://nagios.sourceforge.net/docs/2_0/checkscheduling.html > > ________________________________ > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson > Serafica > Sent: Thursday, May 18, 2006 8:31 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] update service /host check as early as possible > > > Does anyone knows how to adjust the time of checking of nagios to its > host and services? i want to check host and service as early as possible > lets say every 5 secs. > i check the template but did not find answer or i just miss something > > Anyone helped? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 19 16:33:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 19 May 2006 16:33:33 +0200 (CEST) Subject: How many parent hosts in a parent directives ? In-Reply-To: References: Message-ID: On Fri, 19 May 2006 Stanley.Hopcroft at Dest.gov.au wrote: > But what happens when there are two site routers perhaps sharing a > gateway > address with HSRP ? Do both routers go in the parents directive ? Apart from the config a HSRP (or VRRP) setup should be considered as a single entity. None the less I would add the individual routers as well because I would very much like to know if the are still working as planned. 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 19 16:35:32 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 19 May 2006 16:35:32 +0200 (CEST) Subject: Help. Nagios setup issue In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C839D@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C839D@indigo.G2Support.local> Message-ID: On Fri, 19 May 2006, Oliver Marshall wrote: > I have logged on to nagios via FF using the Nagiosadmin username and > password that I created using the Htpasswd command from the instructions > here http://nagios.sourceforge.net/docs/2_0/cgiauth.html. > Use_authentication is set to 1. Make sure you got the name right. Nagiosadmin != nagiosadmin Only windows is case insensitive. 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 jeffrey at hyves.nl Fri May 19 18:57:45 2006 From: jeffrey at hyves.nl (jeffrey at hyves.nl) Date: Fri, 19 May 2006 16:57:45 +0000 Subject: Nagios with MySQL?? Message-ID: <446DF909.9030302@hyves.nl> Hello, Is it true that Nagios 2.* doesn't support MySQL anymore? I would like to set up Nagios and have it store its status and possibly it's configuration in a database (and read its config from the database). Is this still possible, or can anyone recommand a plugin or add-on which works pretty good? Thanks in advance! -Jeffrey ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 19 17:03:09 2006 From: marc at ena.com (Marc Powell) Date: Fri, 19 May 2006 10:03:09 -0500 Subject: Nagios with MySQL?? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of jeffrey at hyves.nl > Sent: Friday, May 19, 2006 11:58 AM > To: Nagios Users Mailinglist > Subject: [Nagios-users] Nagios with MySQL?? > > Hello, > > Is it true that Nagios 2.* doesn't support MySQL anymore? Correct, not natively. > I would like to set up Nagios and have it store its status and possibly > it's configuration in a database (and read its config from the database). > Is this still possible, or can anyone recommand a plugin or add-on which > works pretty good? There are a couple of projects that take advantage of the new Event Broker to implement database storage of status data. NDOUtils (Ethan is writing) and nagios-db. Google will help you find both. Nagios has never read configuration data directly from database and there are no projects that I am aware of to modify it to do so. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Fri May 19 17:12:02 2006 From: Juliet_Tree at cotyinc.com (Juliet_Tree at cotyinc.com) Date: Fri, 19 May 2006 16:12:02 +0100 Subject: Juliet Tree/ASHFORD/UK/COTY is out of the office. Message-ID: I will be out of the office starting 19/05/2006 and will not return until 23/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 jhmartin at toger.us Fri May 19 17:21:31 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 19 May 2006 08:21:31 -0700 Subject: monitoring esx vmfs In-Reply-To: <446DCDD1.8090206@mand4la.info> References: <446DCDD1.8090206@mand4la.info> Message-ID: <20060519152131.GC20214@mal.toger.us> On Fri, May 19, 2006 at 03:53:21PM +0200, Matteo Mancini wrote: > # /usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/cciss/c0d0p10 > DISK CRITICAL - free space:| [/dev/cciss/c0d0p10 not found] -p is partition, not disk. Try /vmfs/vmhba0:0:0:10. -Jason Martin > # vdf -h > Filesystem Size Used Avail Use% Mounted on > vmhba0:0:0:10 386G 324G 62G 83% /vmfs/vmhba0:0:0:10 -- He who dies with the most toys... is *still* DEAD! 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 dave at umiacs.umd.edu Fri May 19 17:32:45 2006 From: dave at umiacs.umd.edu (Dave Stern) Date: Fri, 19 May 2006 11:32:45 -0400 (EDT) Subject: compiling nagios-2.3.1 on solaris Message-ID: I've downloaded nagios 2-3.1 for a number of architectures after the cgi buffer overflow exploit described in http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2162 The compile for our server (Rhel3) went fine. But To keep things clean, I want to replace the structure on other OS's including Solaris8. Here's what I'm getting. The line indicated appears to be new code to check for the buffer overflow. Has anyone had any probs building this on solaris? .... gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o ../xdata/xpddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o ../common/downtime.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o ../xdata/xdddefault.c gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o nebmods.o checks.o config.o commands.o events.o flapping.o logging.o notifications.o sehandlers.o utils.o retention-base.o xretention-base.o comments-base.o xcomments-base.o objects-base.o xobjects-base.o statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o downtime-base.o xdowntime-base.o -Wl,-export-dynamic -lm -lpthread -lltdl -lrt gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats nagiostats.c -lm -lrt make[1]: Leaving directory `/tmp/nagios-2.3.1/base' cd ./cgi && make make[1]: Entering directory `/tmp/nagios-2.3.1/cgi' gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c getcgi.c: In function `getcgivars': getcgi.c:174: `INT_MAX' undeclared (first use in this function) getcgi.c:174: (Each undeclared identifier is reported only once getcgi.c:174: for each function it appears in.) make[1]: *** [getcgi.o] Error 1 make[1]: Leaving directory `/tmp/nagios-2.3.1/cgi' make: *** [all] Error 2 Here's the line numbers for getcgi.c 173 /* suspicious content length */ 174 if((content_length<0) || (content_length>=INT_MAX-1)){ 175 printf("getcgivars(): Suspicious Content-Length was sent with the POST request.\n"); 176 exit(1); 177 } Fortunately, we only use the plugins on Solaris but I'd like to get the whole structure built anyhow. TIA =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= David Stern University of Maryland Institute for Advanced Computer Studies ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 19 17:28:48 2006 From: imarks at comcast.net (Ian Marks) Date: Fri, 19 May 2006 11:28:48 -0400 Subject: Service Check for Syslog Daemon Message-ID: <446DE430.7040606@comcast.net> Does anyone know the the correct string to send to a syslog server using the check_udp or check_udp2 service checks? I don't need anything fancy, just need to know if the syslog daemon is running on a couple of remote servers? Thanks, 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 whiterabbit at mand4la.info Fri May 19 18:03:22 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Fri, 19 May 2006 18:03:22 +0200 Subject: monitoring esx vmfs In-Reply-To: <20060519152131.GC20214@mal.toger.us> References: <446DCDD1.8090206@mand4la.info> <20060519152131.GC20214@mal.toger.us> Message-ID: <446DEC4A.4060001@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jason.. thanks for your response.. test 1: # ./check_disk -w 20 -c 10 -p /vmfs/vmhba0\:0\:0\:10/ DISK CRITICAL - free space:| [/vmfs/vmhba0:0:0:10/ not found] test 2: # ./check_disk -w 20 -c 10 -p /vmfs/vmhba0:0:0:10 DISK CRITICAL - free space:| [/vmfs/vmhba0:0:0:10 not found] test 3 (this is strange!) # ./check_disk -w 20 -c 10 -x /dev/cciss/c0d0p10 DISK OK - free space: / 3008 MB (76%); /boot 55 MB (79%); /home 1833 MB (93%); /dev/shm 133 MB (100%); /tmp 917 MB (93%); /var 3536 MB (90%); /vmimages 11180 MB (95%);| /=930MB;3917;3927;0;3937 /boot=15MB;49;59;0;69 /home=135MB;1948;1958;0;1968 /dev/shm=0MB;112;122;0;132 /tmp=67MB;964;974;0;984 /var=401MB;3917;3927;0;3937 /vmimages=632MB;11792;11802;0;11812 So.. it doesn't work corectly I've found check_vmfs around the web, but if I use this check on local machine, the check works good # ./check_vmfs VMFS OK: 17% free space on vmhba0:0:0:1 If I try to run check_vmfs via nrep it doesn't return all output # ./check_nrpe -H esx01.errevisystem.local -p 5666 -c check_vmfs VMFS OK: Why??...could be a little plugin bug?? Bye MAtteo Jason Martin wrote: > On Fri, May 19, 2006 at 03:53:21PM +0200, Matteo Mancini wrote: > >># /usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/cciss/c0d0p10 >>DISK CRITICAL - free space:| [/dev/cciss/c0d0p10 not found] > > -p is partition, not disk. Try /vmfs/vmhba0:0:0:10. > > -Jason Martin > >># vdf -h >>Filesystem Size Used Avail Use% Mounted on >>vmhba0:0:0:10 386G 324G 62G 83% /vmfs/vmhba0:0:0:10 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEbexK/TjXD9LUVswRAvEgAJ9KGJ22kWM7j29tm88nODFUNKij6ACgpz9N fLsbcgJNQoCtBi/JGKYRhcs= =BFcu -----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 jhmartin at toger.us Fri May 19 18:11:31 2006 From: jhmartin at toger.us (Jason Martin) Date: Fri, 19 May 2006 09:11:31 -0700 Subject: monitoring esx vmfs In-Reply-To: <446DEC4A.4060001@mand4la.info> References: <446DCDD1.8090206@mand4la.info> <20060519152131.GC20214@mal.toger.us> <446DEC4A.4060001@mand4la.info> Message-ID: <20060519161131.GD20214@mal.toger.us> On Fri, May 19, 2006 at 06:03:22PM +0200, Matteo Mancini wrote: > test 3 (this is strange!) > # ./check_disk -w 20 -c 10 -x /dev/cciss/c0d0p10 > DISK OK - free space: / 3008 MB (76%); /boot 55 MB (79%); /home 1833 MB > (93%); /dev/shm 133 MB (100%); /tmp 917 MB (93%); /var 3536 MB (90%); > /vmimages 11180 MB (95%);| /=930MB;3917;3927;0;3937 > /boot=15MB;49;59;0;69 /home=135MB;1948;1958;0;1968 > /dev/shm=0MB;112;122;0;132 /tmp=67MB;964;974;0;984 > /var=401MB;3917;3927;0;3937 /vmimages=632MB;11792;11802;0;11812 > > So.. it doesn't work corectly Hmm, I wonder if it is related to the : in the partition names. > If I try to run check_vmfs via nrep it doesn't return all output > # ./check_nrpe -H esx01.errevisystem.local -p 5666 -c check_vmfs > VMFS OK: > Why??...could be a little plugin bug?? Is NRPE running it under the same user as you did manually? That is often the cause of differing results from NRPE then normal. -Jason Martin -- I xeroxed my watch. Now I have time to spare. 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 whiterabbit at mand4la.info Fri May 19 18:25:22 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Fri, 19 May 2006 18:25:22 +0200 Subject: monitoring esx vmfs In-Reply-To: <20060519161131.GD20214@mal.toger.us> References: <446DCDD1.8090206@mand4la.info> <20060519152131.GC20214@mal.toger.us> <446DEC4A.4060001@mand4la.info> <20060519161131.GD20214@mal.toger.us> Message-ID: <446DF172.6050002@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jason.. >>If I try to run check_vmfs via nrep it doesn't return all output >># ./check_nrpe -H esx01.errevisystem.local -p 5666 -c check_vmfs >>VMFS OK: >>Why??...could be a little plugin bug?? > > Is NRPE running it under the same user as you did manually? That > is often the cause of differing results from NRPE then normal. # su nagios -c "/usr/lib/nagios/plugins/check_vmfs" VMFS OK: You are right...How can I solve it?? I don't want to run nrpe as root Bye Matteo -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEbfFy/TjXD9LUVswRAgf0AKCyN//4AOP89nuZ/ChvJfQcn0nr/wCgmKTh Q3yXDoQNAFAM2yoJ2my/SgE= =Qu6J -----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 Fri May 19 18:36:48 2006 From: marc at ena.com (Marc Powell) Date: Fri, 19 May 2006 11:36:48 -0500 Subject: monitoring esx vmfs Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Matteo Mancini > Sent: Friday, May 19, 2006 11:25 AM > To: Jason Martin > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] monitoring esx vmfs > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi Jason.. > > >>If I try to run check_vmfs via nrep it doesn't return all output > >># ./check_nrpe -H esx01.errevisystem.local -p 5666 -c check_vmfs > >>VMFS OK: > >>Why??...could be a little plugin bug?? > > > > Is NRPE running it under the same user as you did manually? That > > is often the cause of differing results from NRPE then normal. > > > # su nagios -c "/usr/lib/nagios/plugins/check_vmfs" > VMFS OK: > > > You are right...How can I solve it?? I don't want to run nrpe as root If I've found the same plugin you did, it's just a perl wrapper for /usr/sbin/vdf. Can you run /usr/sbin/vdf as the nagios user? If not, it likely needs root privs to run. You can either allow nagios to call it via sudo (using visudo to grant permissions and changing the plugin to call 'sudo /usr/sbin/vdf' _or_ give /usr/sbin/vdf the suid bit to allow any user to execute it with root permissions (chmod u+s /usr/sbin/vdf). -- 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 jeff.rendl at ifsna.com Fri May 19 18:39:42 2006 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Fri, 19 May 2006 11:39:42 -0500 Subject: Problem with cgi's with Version 2.3.1 on Fedora Core 5 Message-ID: <02252F11DFFF2C4FAF67EF3488D57D2F02E0A52C@mkemail.namerica.corpnet.ifsworld.com> I have Nagios installed and running (it sends emails and is checking services), however I can't view any of the CGIs through the http://localhost/nagios web page. I can view the documentation and the home screen. I get this error in the frame that should be showing the tactical overview, for example: CTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, root at localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.


Apache/2.2.0 (Fedora) Server at localhost Port 80
Thanks! ------------------------------------------------------------------------------ CONFIDENTIALITY AND DISCLAIMER NOTICE This e-mail, including any attachments, is confidential and intended only for the addressee. If you are not the intended recipient, please notify us immediately and delete this e-mail from your system. Any use or disclosure of the information contained herein is strictly prohibited. -------------- next part -------------- An HTML attachment was scrubbed... URL: From deballing at vassar.edu Fri May 19 18:39:31 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Fri, 19 May 2006 12:39:31 -0400 Subject: monitoring esx vmfs In-Reply-To: References: Message-ID: On May 19, 2006, at 12:36 PM, Marc Powell wrote: > If I've found the same plugin you did, it's just a perl wrapper for > /usr/sbin/vdf. Can you run /usr/sbin/vdf as the nagios user? If > not, it > likely needs root privs to run. You can either allow nagios to call it > via sudo (using visudo to grant permissions and changing the plugin to > call 'sudo /usr/sbin/vdf' _or_ give /usr/sbin/vdf the suid bit to > allow > any user to execute it with root permissions (chmod u+s /usr/sbin/ > vdf). Do it with sudo or else every time you upgrade your ESX farm, you'll have to re-set that bit on every server, since the upgrade-packages will replace that file with a new one. 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 -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2423 bytes Desc: not available URL: From whiterabbit at mand4la.info Fri May 19 18:44:37 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Fri, 19 May 2006 18:44:37 +0200 Subject: monitoring esx vmfs In-Reply-To: References: Message-ID: <446DF5F5.7010704@mand4la.info> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi * Ok, now all run corectly firs I've edited sudouser # cat /etc/sudoers root ALL=(ALL) ALL %hpsmh ALL=NOPASSWD:/etc/init.d/snmpd %hpsmh ALL=NOPASSWD:/usr/bin/snmptrap %nagios ALL=NOPASSWD:/usr/lib/nagios/plugins/check_vmfs then I've modified nrep.cfg, and added sudo command # grep check_vmfs /etc/nagios/nrpe.cfg command[check_vmfs]=sudo /usr/lib/nagios/plugins/check_vmfs now from nagios # ./check_nrpe -H esx01 -p 5666 -c check_vmfs VMFS OK: 17% free space on vmhba0:0:0:1 thanks all Bye Matteo -z Derek J. Balling wrote: > > On May 19, 2006, at 12:36 PM, Marc Powell wrote: > >> If I've found the same plugin you did, it's just a perl wrapper for >> /usr/sbin/vdf. Can you run /usr/sbin/vdf as the nagios user? If not, it >> likely needs root privs to run. You can either allow nagios to call it >> via sudo (using visudo to grant permissions and changing the plugin to >> call 'sudo /usr/sbin/vdf' _or_ give /usr/sbin/vdf the suid bit to allow >> any user to execute it with root permissions (chmod u+s /usr/sbin/ vdf). > > > Do it with sudo or else every time you upgrade your ESX farm, you'll > have to re-set that bit on every server, since the upgrade-packages > will replace that file with a new one. > > Cheers, > D > > -- > > Derek J. Balling > Systems Administrator > Vassar College > 124 Raymond Ave > Box 13 - Computer Center 217 > Poughkeepsie, NY 12604 > (845) 437-7231 > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFEbfX1/TjXD9LUVswRAo3tAJ4jtPtp82DigzOCgUAUTNiIOeUWmwCcC7wt nBNvF/twshV1TMKfR5/Udnc= =A7vo -----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 stephanelegr at gmail.com Fri May 19 18:45:50 2006 From: stephanelegr at gmail.com (Stephane Le Grand) Date: Fri, 19 May 2006 18:45:50 +0200 Subject: large text in nagios.cmd Message-ID: Hello, I have a problem with nagios I use a lot of passive services and I have some scripts that write a process_service_check_result into the nagios.cmd file and also log before writing into the cmd file. The length of the written line is variable, and sometimes it can be verry verry long. All the passive services are volatile. Usually after the line is written in the cmd file nagios logs an external_command_process_service_check_result, then aservice_alert and then a service_notification. A few days ago something strange happened: -For one specific passive service that has one specific script writing Nagios stopped logging the external command, the service alert and the service notification for one specific service only. -The script keeps writing data into nagios.cmd and log files (as I did a manual debug) -All other passive services that have scripts writing lines into nagios.cmd work fine. -The status data is shown in the web interface but I receive no email alert. I use Nagios 1.2 Thank you for your help Stephane ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 19 18:56:45 2006 From: imarks at comcast.net (Ian) Date: Fri, 19 May 2006 12:56:45 -0400 Subject: Problem with cgi's with Version 2.3.1 on Fedora Core 5 In-Reply-To: <02252F11DFFF2C4FAF67EF3488D57D2F02E0A52C@mkemail.namerica.corpnet.ifsworld.com> References: <02252F11DFFF2C4FAF67EF3488D57D2F02E0A52C@mkemail.namerica.corpnet.ifsworld.com> Message-ID: <446DF8CD.8040003@comcast.net> Any SELinux messages in /var/log/messages. If so check your SElinux settings for httpd with "/usr/sbin/getsebool -a |grep httpd", then set accordingly. Ian Jeff Rendl wrote: > I have Nagios installed and running (it sends emails and is checking > services), however I can't view any of the CGIs through the > http://localhost/nagios web page. I can view the documentation and > the home screen. > > I get this error in the frame that should be showing the tactical > overview, for example: > > CTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> > > 500 Internal Server Error > >

Internal Server Error

>

The server encountered an internal error or > misconfiguration and was unable to complete > your request.

>

Please contact the server administrator, > root at localhost and inform them of the time > the error occurred, > and anything you might have done that may have > caused the error.

>

More information about this error may be available > in the server error log.

>

Additionally, a 500 Internal Server Error > error was encountered while trying to use an ErrorDocument to handle > the request.

>
>
Apache/2.2.0 (Fedora) Server at localhost Port 80
> > Thanks! > ------------------------------------------------------------------------------ > > CONFIDENTIALITY AND DISCLAIMER NOTICE > > This e-mail, including any attachments, is confidential and intended only for > the addressee. If you are not the intended recipient, please notify us > immediately and delete this e-mail from your system. Any use or disclosure of > the information contained herein 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&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 Fri May 19 19:31:28 2006 From: teng at dataway.com (Tedman Eng) Date: Fri, 19 May 2006 10:31:28 -0700 Subject: How many parent hosts in a parent directives ? Message-ID: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DAB@dw-mail.dataway.com> I usually define HSRP as a child of the two parent routers that are participating. Both routers have to be down before the HSRP is marked unreachable. Devices behind those routers can then use the HSRP object as their parent. In cases where the HSRP address is closer to the Nagios server, obviously you'd flip the parent/child around Nagios | {Internet} | RtrA--+--RtrB \ / \_____/ | RtrAB-HSRP | {other devices} > -----Original Message----- > From: Stanley.Hopcroft at Dest.gov.au > [mailto:Stanley.Hopcroft at Dest.gov.au] > Sent: Friday, May 19, 2006 12:12 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] How many parent hosts in a parent directives ? > > > Dear Folks, > > After many years of using and thinking I understood the use of the > 'parent' host > attribute, I find that I don't and hope someone will amplify what is > given in the > FAQ and > http://nagios.sourceforge.net/docs/2_0/networkreachability.html > > In particular, that document seems to suggest that each host > in a routed > subnet (at least) should be configured with the short name of > the subnet > router. > > But what happens when there are two site routers perhaps sharing a > gateway > address with HSRP ? Do both routers go in the parents directive ? > > All advice cheerfully received. > > Thank you, > > 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&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 Janet.Post at excapsa.ca Fri May 19 20:28:28 2006 From: Janet.Post at excapsa.ca (Janet Post) Date: Fri, 19 May 2006 14:28:28 -0400 Subject: Oracle plugin Message-ID: Az, Yes! I am very interested in this plug in!! Thank you. Janet. -----Original Message----- From: Az [mailto:az at whoever.org] Sent: May 19, 2006 6:42 AM To: Janet Post Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle plugin Hi Janet, >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?!?! > > I never found anything like this either so I rolled my own stored procedure type plugin for both Oracle and MSSQL. The guts of it was one of the parameters you passed it was a valid command for that RDBMS (so it could be a select or a stored proc, the latter is what we did). It expects 1 row, 2 columns back. A result code (OK, WARN, etc), and a message. I havent bothered with perf stats at this point. Our DBAs wrote some standard stored procs they deployed as they saw fit to spit out the results. Thus, I could manage Nagios and they could write whatever queries on their DB they wanted without having to fiddle with scripts on the Nagios server. I've not put them on Nagios Exchange, but if you're interested in seeing them, let me know. Cheers. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 19 20:38:10 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 19 May 2006 20:38:10 +0200 (CEST) Subject: Service Check for Syslog Daemon In-Reply-To: <446DE430.7040606@comcast.net> References: <446DE430.7040606@comcast.net> Message-ID: On Fri, 19 May 2006, Ian Marks wrote: > Does anyone know the the correct string to send to a syslog server using > the check_udp or check_udp2 service checks? I don't need anything > fancy, just need to know if the syslog daemon is running on a couple of > remote servers? You do not need to send a string. But correctly checking a syslog server requires another approach. I would think you need a check by ssh on the log files and processes. 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 mkoponick at redhawk.info Fri May 19 21:38:04 2006 From: mkoponick at redhawk.info (Mike Koponick) Date: Fri, 19 May 2006 12:38:04 -0700 Subject: Nagios with MySQL?? Message-ID: <8C18BAD1F46B2245B0A08BCF1A823DD443FFC8@raptor.redhawk.info> Jeffery, I'm using the eventbroker that Marc spoke of, which very well. For the configuration, you can look at NagiosQL. If you like writing in PHP, you *could* write your own interface, which depending on your PHP skills and needs could be as complicated or as easy as you like. Mike -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of jeffrey at hyves.nl Sent: Friday, May 19, 2006 9:58 AM To: Nagios Users Mailinglist Subject: [Nagios-users] Nagios with MySQL?? Hello, Is it true that Nagios 2.* doesn't support MySQL anymore? I would like to set up Nagios and have it store its status and possibly it's configuration in a database (and read its config from the database). Is this still possible, or can anyone recommand a plugin or add-on which works pretty good? Thanks in advance! -Jeffrey ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 christian.masopust at siemens.com Fri May 19 21:41:16 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Fri, 19 May 2006 21:41:16 +0200 Subject: compiling nagios-2.3.1 on solaris In-Reply-To: References: Message-ID: <60721B67EAF0994EAFFB561767B7001459382C@nets13ha.ww300.siemens.net> it has been discussed already this week (did you check the archives ?? :-)) simply add "#include " to either include/nagios.h or directly in your getcgi.c chris -- "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 Dave Stern > Sent: Friday, May 19, 2006 5:33 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] compiling nagios-2.3.1 on solaris > > > I've downloaded nagios 2-3.1 for a number of architectures after the > cgi buffer overflow exploit described in > http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2162 > The compile for our server (Rhel3) went fine. But To keep > things clean, I > want to replace the structure on other OS's including > Solaris8. Here's what > I'm getting. The line indicated appears to be new code to > check for the > buffer overflow. Has anyone had any probs building this on solaris? > > .... > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o > ../xdata/xpddefault.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o > ../common/downtime.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o > ../xdata/xdddefault.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c > broker.o nebmods.o checks.o config.o commands.o events.o > flapping.o logging.o notifications.o sehandlers.o utils.o > retention-base.o xretention-base.o comments-base.o > xcomments-base.o objects-base.o xobjects-base.o > statusdata-base.o xstatusdata-base.o perfdata-base.o > xperfdata-base.o downtime-base.o xdowntime-base.o > -Wl,-export-dynamic -lm -lpthread -lltdl -lrt > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats > nagiostats.c -lm -lrt > make[1]: Leaving directory `/tmp/nagios-2.3.1/base' > cd ./cgi && make > make[1]: Entering directory `/tmp/nagios-2.3.1/cgi' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c > getcgi.c: In function `getcgivars': > getcgi.c:174: `INT_MAX' undeclared (first use in this function) > getcgi.c:174: (Each undeclared identifier is reported only once > getcgi.c:174: for each function it appears in.) > make[1]: *** [getcgi.o] Error 1 > make[1]: Leaving directory `/tmp/nagios-2.3.1/cgi' > make: *** [all] Error 2 > > > Here's the line numbers for getcgi.c > > 173 /* suspicious content length */ > 174 if((content_length<0) || > (content_length>=INT_MAX-1)){ > 175 printf("getcgivars(): Suspicious > Content-Length was sent with the POST request.\n"); > 176 exit(1); > 177 } > > > > Fortunately, we only use the plugins on Solaris but I'd > like to get the > whole structure built anyhow. > > TIA > > > =-=-=-=-=-=-=-=-=-=- generated by /dev/dave > -=-=-=-=-=-=-=-=-=-=-=-= > David Stern University > of Maryland > Institute for Advanced Computer Studies > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your 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 jeff.rendl at ifsna.com Fri May 19 21:55:35 2006 From: jeff.rendl at ifsna.com (Jeff Rendl) Date: Fri, 19 May 2006 14:55:35 -0500 Subject: Problem with cgi's with Version 2.3.1 on Fedor a Core 5 Message-ID: <02252F11DFFF2C4FAF67EF3488D57D2F02E0A550@mkemail.namerica.corpnet.ifsworld.com> Just wanted to say thanks to Ian for pointing me in the right direction, and Myles for a solution that worked. The error I was getting: May 17 23:32:28 localhost kernel: audit(1147926748.879:30): avc: denied { execute } for pid=3173 comm="httpd" name="tac.cgi" dev=dm-0 ino=1899625 scontext=root:system_r:httpd_t:s0 tcontext=root:object_r:usr_t:s0 tclass=file The solution: chcon -R --reference=/var/www/cgi-bin /usr/local/nagios/sbin Link to full explanation for solution: http://www.nagios-forum.co.uk/forum/viewtopic.php?p=81&sid=e75d77315d9c94b68 899bc64d7d94d10 -Jeff -----Original Message----- From: Ian [mailto:imarks at comcast.net] Sent: Friday, May 19, 2006 11:57 AM To: Jeff Rendl Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Problem with cgi's with Version 2.3.1 on Fedora Core 5 Any SELinux messages in /var/log/messages. If so check your SElinux settings for httpd with "/usr/sbin/getsebool -a |grep httpd", then set accordingly. Ian Jeff Rendl wrote: > I have Nagios installed and running (it sends emails and is checking > services), however I can't view any of the CGIs through the > http://localhost/nagios web page. I can view the documentation and > the home screen. > > I get this error in the frame that should be showing the tactical > overview, for example: > > CTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> 500 > Internal Server Error

Internal Server > Error

The server encountered an internal error or > misconfiguration and was unable to complete your request.

>

Please contact the server administrator, root at localhost > and inform them of the time the error > occurred, and anything you might have done that may have caused the > error.

More information about this error may be available in > the server error log.

Additionally, a 500 Internal Server Error > error was encountered while trying to use an ErrorDocument to handle > the request.


Apache/2.2.0 (Fedora) Server at > localhost Port 80
Thanks! > ---------------------------------------------------------------------- > -------- > > CONFIDENTIALITY AND DISCLAIMER NOTICE > > This e-mail, including any attachments, is confidential and intended > only for the addressee. If you are not the intended recipient, please > notify us immediately and delete this e-mail from your system. Any use > or disclosure of the information contained herein is strictly prohibited. > > ------------------------------------------------------------------------------ CONFIDENTIALITY AND DISCLAIMER NOTICE This e-mail, including any attachments, is confidential and intended only for the addressee. If you are not the intended recipient, please notify us immediately and delete this e-mail from your system. Any use or disclosure of the information contained herein 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&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 Sat May 20 00:43:25 2006 From: trasko at gmail.com (Trask) Date: Fri, 19 May 2006 15:43:25 -0700 Subject: How to reduce a very high latency number In-Reply-To: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DA7@dw-mail.dataway.com> References: <37ED92F9890FAF4BB947613C66FF8B1A08BB2DA7@dw-mail.dataway.com> Message-ID: <735379850605191543r7437ecbfsb72e258025719722@mail.gmail.com> On 5/18/06, Tedman Eng wrote: > Try tuning the intercheck_delay_method setting. This setting determines the > initial spreading out of the checks in the queue during a fresh start. > Nagios tries to do a good job of this, but if you have some checks spaced at > vastly different intervals, it skews the "flat average" formula used to > calculate the smart setting. Well, when I read this post I thought you had it. I have tried fiddling with this setting and related settings like "auto_reschedule_checks", "auto_rescheduling_interval" and "max_service_check_spread". My main config was also missing a setting for "use_retained_scheduling_info" (which defaults to 1) -- I thought that some combination of these settings was surely to blame. However, it just does not seem to be. After all these config changes there was hardly any change to my latency values. I did see them come down perhaps by 20-30 seconds, but its hard to tell since I have not keep exact records since turning off performance monitoring. In any case, the bad server -- the one doing about 1800 checks -- still hovers between 600-700 seconds of latency. In fact, it gets up to 700 seconds of average latency right about the time that nagios has been running for 700 seconds, at which point it stabilizes and hovers around there. Note that I have tried all suggestions so far -- the service reaper frequency also had no discernible effect... Also, if I did not mention it, I am now running Nagios 2.3.1. I have been doing all of this with embedded perl + caching. I recompiled without perlcache and could not tell a difference in performance. I have recompiled without embedded perl at all and the behavior has changed, but not in a particularly good way. When previously I would stabilize at a latency of 600-700 seconds within about 10 minutes (and see rapidly increasing latency values in the first 90 seconds), now the latency values are taking a much longer time to rise. It has now been 35 minutes and the worst offender is up to 535 second latency and is still increasing. Also, while all servers showed negligible load when running with embedded perl, I am seeing an average of about 0.8 on my highest latency server... Thanks for every one's contributions so far. If anyone has another suggestion, I'm all ears. ~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 s.shipway at auckland.ac.nz Sat May 20 00:50:18 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Sat, 20 May 2006 10:50:18 +1200 Subject: monitoring esx vmfs In-Reply-To: <446DEC4A.4060001@mand4la.info> References: <446DEC4A.4060001@mand4la.info> Message-ID: <004201c67b96$9a4546a0$8ea8d882@UoA.auckland.ac.nz> VMWare is a bit strange with this one. Basically, vdf lists normal filesystems plus the vmfs, but the NRPE check_disk plugin is not vmware-aware and so cannot check them. I'm doing it here via the SNMP which seems to work, but I've needed to write a special plugin. You might also like to notice that you can run NRPE plugins via the SNMP daemon on an ESX server, so you don't actually need NRPE at all. 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 ntserafica at yahoo.com Sat May 20 07:27:55 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 19 May 2006 22:27:55 -0700 (PDT) Subject: does not send email Message-ID: <20060520052755.88620.qmail@web60413.mail.yahoo.com> HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Sat May 20 07:44:51 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 20 May 2006 01:44:51 -0400 Subject: does not send email In-Reply-To: <20060520052755.88620.qmail@web60413.mail.yahoo.com> References: <20060520052755.88620.qmail@web60413.mail.yahoo.com> Message-ID: Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone 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 ntserafica at yahoo.com Sat May 20 07:50:16 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 19 May 2006 22:50:16 -0700 (PDT) Subject: does not send email In-Reply-To: References: Message-ID: <20060520055016.24363.qmail@web60424.mail.yahoo.com> yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Sat May 20 08:01:33 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 19 May 2006 23:01:33 -0700 (PDT) Subject: does not send email In-Reply-To: <20060520055016.24363.qmail@web60424.mail.yahoo.com> References: <20060520055016.24363.qmail@web60424.mail.yahoo.com> Message-ID: <20060520060133.27785.qmail@web60424.mail.yahoo.com> By the way, i check nagios.log and it has no NOTIFICATION also. Its last notification was critical status which I receive but its status right now is ok but still no email receive. ----- Original Message ---- From: Nelson Serafica To: "Morris, Patrick" ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:50:16 PM Subject: Re: [Nagios-users] does not send email yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Sat May 20 08:06:06 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 20 May 2006 02:06:06 -0400 Subject: does not send email In-Reply-To: <20060520055016.24363.qmail@web60424.mail.yahoo.com> References: <20060520055016.24363.qmail@web60424.mail.yahoo.com> Message-ID: ...but it is set to notify on warnings? What are the host_notification_options and service_notification_options set to for the contacts whou should be receiving the alerts? ________________________________ From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 10:50 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone 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 ntserafica at yahoo.com Sat May 20 08:10:40 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 19 May 2006 23:10:40 -0700 (PDT) Subject: does not send email In-Reply-To: References: Message-ID: <20060520061040.22108.qmail@web60417.mail.yahoo.com> yes. it is set to notify if there are WARNING status. i put w in services.cfg under notification_options so I expect email if there are WARNING status. BTW, it seems that nagios is not sending email or am i just wrong becoz as I see nagios.log, the recent didn't not NOTIFY anymore. I see CRITICAL notification but that's the last even though that particular service is now ok. ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:06:06 PM Subject: RE: [Nagios-users] does not send email ...but it is set to notify on warnings? What are the host_notification_options and service_notification_options set to for the contacts whou should be receiving the alerts? ________________________________ From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 10:50 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrea.gabellini at telecomitalia.sm Sat May 20 08:29:12 2006 From: andrea.gabellini at telecomitalia.sm (Andrea Gabellini) Date: Sat, 20 May 2006 08:29:12 +0200 Subject: compiling nagios-2.3.1 on solaris In-Reply-To: References: Message-ID: <446EB738.7060806@telecomitalia.sm> Dave, the CVS contain the patch. Andrea Dave Stern wrote: > > I've downloaded nagios 2-3.1 for a number of architectures after the > cgi buffer overflow exploit described in > http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-2162 > The compile for our server (Rhel3) went fine. But To keep things clean, > I want to replace the structure on other OS's including Solaris8. Here's > what I'm getting. The line indicated appears to be new code to check for > the buffer overflow. Has anyone had any probs building this on solaris? > > .... > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o perfdata-base.o perfdata.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xperfdata-base.o > ../xdata/xpddefault.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o downtime-base.o > ../common/downtime.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -c -o xdowntime-base.o > ../xdata/xdddefault.c > gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagios nagios.c broker.o > nebmods.o checks.o config.o commands.o events.o flapping.o logging.o > notifications.o sehandlers.o utils.o retention-base.o xretention-base.o > comments-base.o xcomments-base.o objects-base.o xobjects-base.o > statusdata-base.o xstatusdata-base.o perfdata-base.o xperfdata-base.o > downtime-base.o xdowntime-base.o -Wl,-export-dynamic -lm > -lpthread -lltdl -lrt gcc -g -O2 -DHAVE_CONFIG_H -DNSCORE -o nagiostats > nagiostats.c -lm -lrt make[1]: Leaving directory `/tmp/nagios-2.3.1/base' > cd ./cgi && make > make[1]: Entering directory `/tmp/nagios-2.3.1/cgi' > gcc -g -O2 -DHAVE_CONFIG_H -DNSCGI -c -o getcgi.o getcgi.c > getcgi.c: In function `getcgivars': > getcgi.c:174: `INT_MAX' undeclared (first use in this function) > getcgi.c:174: (Each undeclared identifier is reported only once > getcgi.c:174: for each function it appears in.) > make[1]: *** [getcgi.o] Error 1 > make[1]: Leaving directory `/tmp/nagios-2.3.1/cgi' > make: *** [all] Error 2 > > > Here's the line numbers for getcgi.c > > 173 /* suspicious content length */ > 174 if((content_length<0) || (content_length>=INT_MAX-1)){ > 175 printf("getcgivars(): Suspicious > Content-Length was sent with the POST request.\n"); > 176 exit(1); > 177 } > > > > Fortunately, we only use the plugins on Solaris but I'd like to get the > whole structure built anyhow. > > TIA > > > =-=-=-=-=-=-=-=-=-=- generated by /dev/dave -=-=-=-=-=-=-=-=-=-=-=-= > David Stern University of Maryland > Institute for Advanced Computer Studies > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your 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 truth is out there? Anyone knows the URL? --------------------------------------- Ing. Andrea Gabellini Email: andrea.gabellini at telecomitalia.sm Tel: 0549 886111 (Italy) Tel. +378 0549 886111 (International) Telecom Italia San Marino S.p.A. Strada degli Angariari, 3 47891 Rovereta Repubblic of San Marino http://www.omniway.sm http://www.telecomitalia.sm ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Sat May 20 08:32:35 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 19 May 2006 23:32:35 -0700 (PDT) Subject: does not send email In-Reply-To: <20060520061040.22108.qmail@web60417.mail.yahoo.com> References: <20060520061040.22108.qmail@web60417.mail.yahoo.com> Message-ID: <20060520063235.37577.qmail@web60424.mail.yahoo.com> I tried to send mail only in terminal just to test if sendmail is workingl and it sends! it seems that sendmail can send email probably there's no problem in sendmail. Still nagios doesn't send email notification ----- Original Message ---- From: Nelson Serafica To: "Morris, Patrick" ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:10:40 PM Subject: Re: [Nagios-users] does not send email yes. it is set to notify if there are WARNING status. i put w in services.cfg under notification_options so I expect email if there are WARNING status. BTW, it seems that nagios is not sending email or am i just wrong becoz as I see nagios.log, the recent didn't not NOTIFY anymore. I see CRITICAL notification but that's the last even though that particular service is now ok. ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:06:06 PM Subject: RE: [Nagios-users] does not send email ...but it is set to notify on warnings? What are the host_notification_options and service_notification_options set to for the contacts whou should be receiving the alerts? ________________________________ From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 10:50 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Sat May 20 08:35:34 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Sat, 20 May 2006 02:35:34 -0400 Subject: does not send email In-Reply-To: <20060520061040.22108.qmail@web60417.mail.yahoo.com> References: <20060520061040.22108.qmail@web60417.mail.yahoo.com> Message-ID: Which version of Nagios are you using? If it's 2.x, notification_options is not a valid configuration paramater. ________________________________ From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 11:11 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes. it is set to notify if there are WARNING status. i put w in services.cfg under notification_options so I expect email if there are WARNING status. BTW, it seems that nagios is not sending email or am i just wrong becoz as I see nagios.log, the recent didn't not NOTIFY anymore. I see CRITICAL notification but that's the last even though that particular service is now ok. ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:06:06 PM Subject: RE: [Nagios-users] does not send email ...but it is set to notify on warnings? What are the host_notification_options and service_notification_options set to for the contacts whou should be receiving the alerts? ________________________________ From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 10:50 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Sat May 20 08:40:28 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 19 May 2006 23:40:28 -0700 (PDT) Subject: does not send email In-Reply-To: References: Message-ID: <20060520064028.74013.qmail@web60418.mail.yahoo.com> yes! im using 2.0... so it means there's a problem in version of nagios i'm running? i just followed the documentation and put all the read marks in the config file. By the way, i will put notifications_enabled = 1 in services.cfg i thought that notification_options is enough. let see if this work because in my first installation. All is running smoothly. It also send email just this morning it went wrong ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:35:34 PM Subject: RE: [Nagios-users] does not send email DIV { MARGIN:0px;} Which version of Nagios are you using? If it's 2.x, notification_options is not a valid configuration paramater. From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 11:11 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes. it is set to notify if there are WARNING status. i put w in services.cfg under notification_options so I expect email if there are WARNING status. BTW, it seems that nagios is not sending email or am i just wrong becoz as I see nagios.log, the recent didn't not NOTIFY anymore. I see CRITICAL notification but that's the last even though that particular service is now ok. ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:06:06 PM Subject: RE: [Nagios-users] does not send email ...but it is set to notify on warnings? What are the host_notification_options and service_notification_options set to for the contacts whou should be receiving the alerts? ________________________________ From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 10:50 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From ntserafica at yahoo.com Sat May 20 08:47:35 2006 From: ntserafica at yahoo.com (Nelson Serafica) Date: Fri, 19 May 2006 23:47:35 -0700 (PDT) Subject: does not send email In-Reply-To: <20060520064028.74013.qmail@web60418.mail.yahoo.com> References: <20060520064028.74013.qmail@web60418.mail.yahoo.com> Message-ID: <20060520064735.79222.qmail@web60420.mail.yahoo.com> i put notifications_enabled = 1 in services.cfg but still not sending email. Also in nagios.log there is no NOTIFICATION. ----- Original Message ---- From: Nelson Serafica To: "Morris, Patrick" ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:40:28 PM Subject: Re: [Nagios-users] does not send email yes! im using 2.0... so it means there's a problem in version of nagios i'm running? i just followed the documentation and put all the read marks in the config file. By the way, i will put notifications_enabled = 1 in services.cfg i thought that notification_options is enough. let see if this work because in my first installation. All is running smoothly. It also send email just this morning it went wrong ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:35:34 PM Subject: RE: [Nagios-users] does not send email DIV { MARGIN:0px;} Which version of Nagios are you using? If it's 2.x, notification_options is not a valid configuration paramater. From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 11:11 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes. it is set to notify if there are WARNING status. i put w in services.cfg under notification_options so I expect email if there are WARNING status. BTW, it seems that nagios is not sending email or am i just wrong becoz as I see nagios.log, the recent didn't not NOTIFY anymore. I see CRITICAL notification but that's the last even though that particular service is now ok. ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 2:06:06 PM Subject: RE: [Nagios-users] does not send email ...but it is set to notify on warnings? What are the host_notification_options and service_notification_options set to for the contacts whou should be receiving the alerts? ________________________________ From: Nelson Serafica [mailto:ntserafica at yahoo.com] Sent: Friday, May 19, 2006 10:50 PM To: Morris, Patrick; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] does not send email yes it is configured to send alert (enable_notifications=1) No problem in nagios.log. It only logs status of various server. Where should I check logs of mail? i'm using sendmail ----- Original Message ---- From: "Morris, Patrick" To: Nelson Serafica ; nagios-users at lists.sourceforge.net Sent: Saturday, May 20, 2006 1:44:51 PM Subject: RE: [Nagios-users] does not send email Is your setup configured to send alerts on warnings? If so, is there anything in your Nagios or mail logs? ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nelson Serafica Sent: Friday, May 19, 2006 10:28 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] does not send email HI! I notice that when there is WARNING status, nagios doesn't send email notification . I check misscommands.cfg and it has -rwxrwxr-x. I tried to experiment. I use check_user plugins. I configure it when there are 2 user connected, it will become critical. And so I did, but same problem. It still doesn't send email. It seems that it is not accurate in sending notification. Anyone help? -------------- next part -------------- An HTML attachment was scrubbed... URL: From hvdkooij at vanderkooij.org Sat May 20 08:57:33 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Sat, 20 May 2006 08:57:33 +0200 (CEST) Subject: does not send email In-Reply-To: <20060520064028.74013.qmail@web60418.mail.yahoo.com> References: <20060520064028.74013.qmail@web60418.mail.yahoo.com> Message-ID: On Fri, 19 May 2006, Nelson Serafica wrote: > yes! im using 2.0... so it means there's a problem in version of nagios i'm running? It seems you are doing a lot ot of guess work here. You need to describe in full (include relevant part of config files): - host definition - service definition - contact group - contact - Nagios log entries Untill now nothing has been done to break this issue down properly. Just sending back and forth a lot of messages is not very productive. in 99% of all cases it is a config error. Then there is 0.9% where there is problem with the other tools (like sendmail). Leaving the remote 0.1% change you hit a bug. We know exactly nothing about your setup unless you tell us. So you have to spill the beans and show us. 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 lace at jankratochvil.net Sat May 20 18:17:35 2006 From: lace at jankratochvil.net (Jan Kratochvil) Date: Sat, 20 May 2006 18:17:35 +0200 Subject: [patch] Workaround for 'Host DOWN' false-positives Message-ID: <20060520161735.GA27411@host0.dyn.jankratochvil.net> Hi, script for using service "Connectivity" to detect HOST-DOWN/UP states: I had many "false positive" host-down alerts. It was reported here many times but usually no real cause was found, like (just guessing): http://sourceforge.net/mailarchive/message.php?msg_id=8739666 http://sourceforge.net/mailarchive/message.php?msg_id=1758384 By the attached debugging script "check-host-alive-debug" I found the problem is that occasionally the host is really unreachable but only for periods like under 1 minute. This is usual due to the Internet routing and it annoys me to be alerted for it. Unfortunately Nagios stops its operations and only checks the single host host->max_check_attempts times without any delays to determine if it is alive. Tried delaying all (or later just the failed) checks but either the sensitivity was still too high (and too short failures were still reported) or the total time Nagios got blocked during multiple real long-term hosts failures blocked out the Nagios checking services completely. Attached script delegates the host-alive checking to the standard Nagios services checking and if the service check will detected after some time define service { service_description Connectivity max_check_attempts 20 normal_check_interval 5 retry_check_interval 5 ... } that the SERVICE is really down THEN ONLY the HOST is immediately declared as DOWN. define host { check_command check-host-alive max_check_attempts 1 ... } All the services have explicit dependencies defined such as: define servicedependency { host_name SAME-HOSTNAME dependent_host_name SAME-HOSTNAME service_description Connectivity dependent_service_description Total Processes execution_failure_criteria u,c,p notification_failure_criteria u,c,p } You can also use service "SSH" (second try) instead of "Connectivity". The script has some trivia hardcoded pathnames, check yourself. The real solution is fix the Nagios scheduling but this way was easier for me. Development paid by the courtesy of JK Labs s.r.o. Regards, Jan Kratochvil -------------- next part -------------- #! /usr/bin/perl use strict; use warnings; my %dat; my %cache; sub fetch { my $open; local *DAT; do { open DAT,$_ or die "Open \"$_\": $!"; } for $ENV{"HOME"}."/nagios/var/log/nagios/status.dat"; local $_; while () { next if /^\s*#/; next if /^\s*$/; if (/^(\w+)\s+{\s*$/) { die "Already open: $open" if $open; $open=$1; next; } if (/^\s*}\s*$/) { die "Nothing open" if !$open; $open=undef(); next; } if (/^\s*(\S+)\s*=\s*(.*?)\s*$/) { my($left,$right)=($1,$2); die "Nothing open" if !$open; if ($open eq "host" || $open eq "service") { $open.="::$right" if $left eq "host_name"; } if ($open=~/^service::[^:]+$/) { $open.="::$right" if $left eq "service_description"; } next if $open=~/^service::[^:]+$/; die "Redefined: ${open}::$left" if exists $dat{$open}{$left}; $dat{$open}{$left}=$right; next; } die "Unknown line: $_"; } close DAT or die "Close: $!"; die "Stale open" if $open; local *CACHE; do { open CACHE,$_ or die "Open \"$_\": $!"; } for $ENV{"HOME"}."/nagios/var/log/nagios/objects.cache"; local $_; while () { next if /^\s*#/; next if /^\s*$/; if (/^define\s+(\w+)\s+{\s*$/) { die "Already open: $open" if $open; $open=$1; next; } if (/^\s*}\s*$/) { die "Nothing open" if !$open; $open=undef(); next; } if (/^\s*(\w+)\t(\S.*?)\s*$/) { my($left,$right)=($1,$2); die "Nothing open" if !$open; next if $open!~/^host\b/ && $open!~/^service\b/; if ($open eq "host" || $open eq "service") { $open.="::$right" if $left eq "host_name"; } if ($open eq "service") { $open.="::$right" if $left eq "service_description"; } next if $open=~/^service::[^:]+$/; die "Redefined: ${open}::$left" if exists $cache{$open}{$left}; $cache{$open}{$left}=$right; next; } die "Unknown line: $_"; } close CACHE or die "Close: $!"; die "Stale open" if $open; } fetch(); #use Data::Dumper; #print Dumper(\%dat); #print Dumper(\%cache); my %ip_to_hostname; my %proxy_ip_to_hostname; while (my($key,$val)=each(%cache)) { next if $key!~/^host::([^:]+)$/; my $hostname=$1; next if !$val->{"address"}; $ip_to_hostname{$val->{"address"}}=$hostname; if (my $parent_hostname=$val->{"parents"}) { my $parent_record=$cache{"host::$parent_hostname"} or die "Neni zaznam pro: $parent_hostname pro: $hostname"; my $parent_ip=$parent_record->{"address"} or die "Neni adresa pro: $parent_hostname pro: $hostname"; $proxy_ip_to_hostname{$parent_ip}{$val->{"address"}}=$hostname; } } #print Dumper(\%ip_to_hostname); #print Dumper(\%proxy_ip_to_hostname); die "Expecting -H [--proxy ] [-p ] [...]" if @ARGV<2 || shift ne "-H"; my $ip=shift; my $proxy; do { shift; $proxy=shift; } if $ARGV[0] && $ARGV[0] eq "--proxy"; do { shift; ($proxy ? $proxy : $ip).=" -p ".shift; } if $ARGV[0] && $ARGV[0] eq "-p"; my $hostname; if (!$proxy) { die "Unknown ip: $ip" if !($hostname=$ip_to_hostname{$ip}); } else { die "Unknown ip: $ip over proxy: $proxy" if !($hostname=$proxy_ip_to_hostname{$proxy}{$ip}); } my $state; my $state_service; for (qw(Connectivity SSH)) { # "current_state" next if !defined(($state=$dat{"service::${hostname}::$_"}{"last_hard_state"})); $state_service=$_; last; } die "No state for: $hostname" if !defined $state; die "Weird state: $state" if $state!~/^[012]$/; print "State $state_service $state copy for IP $ip hostname $hostname\n"; exit $state; -------------- next part -------------- #! /bin/bash date="`date --rfc-3339=seconds`" t=/tmp/check-host-alive-tmp.$$ rm -f $t.* /home/jklabs/nagios/libexec/check-host-alive-orig "$@" >$t.1 2>$t.2 rc=$? echo >>/tmp/check-host-alive.log "$date: `date --rfc-3339=seconds`: rc=$rc $* 1{`tr '\n' '|' <$t.1`} 2{`tr '\n' '|' <$t.2`}" cat $t.1 cat >&2 $t.2 rm -f $t.* exit $rc From pitchfork at ederdrom.de Sun May 21 16:08:40 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Sun, 21 May 2006 16:08:40 +0200 Subject: [patch] Workaround for 'Host DOWN' false-positives In-Reply-To: <20060520161735.GA27411@host0.dyn.jankratochvil.net> References: <20060520161735.GA27411@host0.dyn.jankratochvil.net> Message-ID: <200605211608.40703.pitchfork@ederdrom.de> Hi Jan, the other way is to use "on-demand Macros" like check_cluster does. Have a look on http://nagios.sourceforge.net/docs/2_0/clusters.html An Example: Every Host has an Service called "Connectivity" witch reflects the Host State. This Services is executed periodicaly every 2 minutes. The Host check_command is defined in this way: define command{ command_name check-host-adaptive command_line $USER1$/check_dummy $ARG1$ "$ARG2$" } The command in your hosts.cfg looks like define host{ ..... check_command check-host-adaptive!$SERVICESTATEID:server1:Connectivity$!$SERVICEOUTPUT:server1:Connectivity host_name server1 alias server1 address 172.0.0.1 ..... } In this way the host check_command produces the same state as the "Connectivity" Service on the same Host. This is done by the "on-demand" Macros. This ist still a quick hack, but it works ;-) This is IMHO the fastest way without parsing status.dat. Greets from Germany J?rg Linge ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 01:48:41 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Mon, 22 May 2006 09:48:41 +1000 Subject: How many parent hosts in a parent directives ? Message-ID: <42AE08054734A940AE4F983C21324D042B51E2@acexp005.portfolio.base> Dear Sir, I am writing to thank you for your letter and say, >-----Original Message----- > >I usually define HSRP as a child of the two parent routers >that are participating. Both routers have to be down before >the HSRP is marked unreachable. Devices behind those routers >can then use the HSRP object as their parent. In cases where >the HSRP address is closer to the Nagios server, obviously >you'd flip the parent/child around > > > Nagios > | > {Internet} > | > RtrA--+--RtrB > \ / > \_____/ > | > RtrAB-HSRP > | > {other devices} > > > > Firstly, thank you very much to all those who answered both on the list and privately. For the benefit of the archives, the consensus of the replies is that the hosts behind multiple routers (the canonical example being a subnet with two routers sharing the host gateway address with HSRP/VRRP, although a more common example may be a single gateway that has multiple paths back to the monitoring host. In this case, the gateway will have one or more parents corresponding to routers in each of the paths) should enumerate each of the routers in the parents directive. Nagios checks each of the routers marked as a parent and if _any_ of them are up, then the host is marked as DOWN (probably a SOFT state); otherwise - if all the parents are unreachable, then the host is marked as unreachable. I think that Mr Eng's advice is consistent with this: the difference being that the HSRP is visble as a host and a service in the Nagios configuration and that Nagios will check the HSRP service by checking the reachability of the gateway address (as well as seperately checking the standby addresses). Thank you, 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 geoff.crompton at strategicdata.com.au Mon May 22 04:24:29 2006 From: geoff.crompton at strategicdata.com.au (Geoff Crompton) Date: Mon, 22 May 2006 12:24:29 +1000 Subject: usb gsm modems for linux Message-ID: <447120DD.4060803@strategicdata.com.au> Hi, I'd like to configure nagios to send sms alerts. Can someone please recommend equipment to do this? I need something that connects via USB, and is powered via USB. It's for a data center, so power points are precious. I'm running Debian Sarge, with linux kernel 2.4.27. That could fairly easily be updated to 2.6.8 if needed. It's also based in Australia, so if you know where to buy the device in Australia, that would be fantastic as well. -- Geoff Crompton Debian System Administrator Strategic Data +61 3 9340 9000 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 stephanelegr at gmail.com Mon May 22 09:16:16 2006 From: stephanelegr at gmail.com (Stephane Le Grand) Date: Mon, 22 May 2006 09:16:16 +0200 Subject: large text in nagios.cmd Message-ID: Hello, I have a problem with nagios I use a lot of passive services and I have some scripts that write a process_service_check_result into the nagios.cmd file and also log before writing into the cmd file. The length of the written line is variable, and sometimes it can be verry verry long. All the passive services are volatile. Usually after the line is written in the cmd file nagios logs an external_command_process_service_check_result, then aservice_alert and then a service_notification. A few days ago something strange happened: -For one specific passive service that has one specific script writing Nagios stopped logging the external command, the service alert and the service notification for one specific service only. -The script keeps writing data into nagios.cmd and log files (as I did a manual debug) -All other passive services that have scripts writing lines into nagios.cmd work fine. -The status data is shown in the web interface but I receive no email alert. I use Nagios 1.2 Thank you for your help Stephane ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Oliver.Marshall at g2support.com Mon May 22 11:01:40 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Mon, 22 May 2006 10:01:40 +0100 Subject: Monitoring Windows servers In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83B5@indigo.G2Support.local> I have spent the last week looking for a monitoring solution. I have been assessing Nagios, Zabbix, and Servers Alive for Windows. Servers Alive may seem perfect, though its clearly more expensive than the rest. I think it may have an issue monitoring clients servers on other domains etc as it lacks some form of remote authentication. Zabbix I will admit is my preference as it's all web based. It's windows agent means that I can get local info and, more importantly, run a script on the client server and get the results. However, the documentation is truly terrible and the Windows side is even worse. The last thing I need is someone to cock-up a monitoring setup and then never get informed of any issues. Nagios is clearly the daddy when it comes to network monitoring, though it does require a level of linux knowledge that we just don't have here (ssh access to setup the config for starters). I know that there is a web based tool for setting up the monitoring config (Nagat or something) but that's now not being supported or added to, and it's policy to not use out-of-support products. I know there is also a 3rd party Windows Agent that can run on the servers and monitor local events, though it doesn't have scripting support, and it's not part of the main build, and hasn't been updated for sometime. Does anyone have anything useful I should consider when looking at Nagios ? Any other web based config tools that can be used? Any other windows agents etc ? Any comments on my opinions so far ? Olly ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 tjl at topdanmark.dk Mon May 22 11:39:11 2006 From: tjl at topdanmark.dk (Thomas Jens Lauritsen) Date: Mon, 22 May 2006 11:39:11 +0200 Subject: Vedr.: Monitoring Windows servers In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83B5@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83B5@indigo.G2Support.local> Message-ID: Hello Oliver, When choosing a monitoring software one should look into what the needs are. How much time should be used on the project. What is the resources inside the company. If you don't have the resources for linux, then don't use Nagios. However if you want to use the time to build up a linux knowhow to be able to handle Nagios then it's fine. I use SNMP to check all kinds of things on our win boxes. CPU, DISKSPACE, TASKS, UPTIME, NETWORK I don't use any agent other then the SNMP-agent. Howerver it take sometime to get used to the SNMP-enviroment. Best regards Thomas "Oliver Marshall" Sendt af: nagios-users-admin at lists.sourceforge.net 22-05-2006 11:01 Til: cc: Vedr.: [Nagios-users] Monitoring Windows servers I have spent the last week looking for a monitoring solution. I have been assessing Nagios, Zabbix, and Servers Alive for Windows. Servers Alive may seem perfect, though its clearly more expensive than the rest. I think it may have an issue monitoring clients servers on other domains etc as it lacks some form of remote authentication. Zabbix I will admit is my preference as it's all web based. It's windows agent means that I can get local info and, more importantly, run a script on the client server and get the results. However, the documentation is truly terrible and the Windows side is even worse. The last thing I need is someone to cock-up a monitoring setup and then never get informed of any issues. Nagios is clearly the daddy when it comes to network monitoring, though it does require a level of linux knowledge that we just don't have here (ssh access to setup the config for starters). I know that there is a web based tool for setting up the monitoring config (Nagat or something) but that's now not being supported or added to, and it's policy to not use out-of-support products. I know there is also a 3rd party Windows Agent that can run on the servers and monitor local events, though it doesn't have scripting support, and it's not part of the main build, and hasn't been updated for sometime. Does anyone have anything useful I should consider when looking at Nagios ? Any other web based config tools that can be used? Any other windows agents etc ? Any comments on my opinions so far ? Olly ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Oliver.Marshall at g2support.com Mon May 22 11:42:46 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Mon, 22 May 2006 10:42:46 +0100 Subject: Vedr.: Monitoring Windows servers In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83B9@indigo.G2Support.local> Thanks Thomas, Yep you are right about assessing the needs. There is a careful balancing act between costs and features and man-hours. I don't mind the people here learning more Linux skills, it's certainly no bad thing, but my general belief is that the time spent implementing a project shouldn't be more than the time gained by using it ! :) It would be good if Nagios released a pre-built virtual machine image, or even better a pre-created nagios disti which can install in one go and just start up, like IPCop or Smoothwall. I know there is a Nagios "Live" cd which boots from the cd, but you can't save any changes between reboots easily. Olly -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Thomas Jens Lauritsen Sent: 22 May 2006 10:39 To: nagios-users at lists.sourceforge.net Subject: Vedr.: [Nagios-users] Monitoring Windows servers Hello Oliver, When choosing a monitoring software one should look into what the needs are. How much time should be used on the project. What is the resources inside the company. If you don't have the resources for linux, then don't use Nagios. However if you want to use the time to build up a linux knowhow to be able to handle Nagios then it's fine. I use SNMP to check all kinds of things on our win boxes. CPU, DISKSPACE, TASKS, UPTIME, NETWORK I don't use any agent other then the SNMP-agent. Howerver it take sometime to get used to the SNMP-enviroment. Best regards Thomas "Oliver Marshall" Sendt af: nagios-users-admin at lists.sourceforge.net 22-05-2006 11:01 Til: cc: Vedr.: [Nagios-users] Monitoring Windows servers I have spent the last week looking for a monitoring solution. I have been assessing Nagios, Zabbix, and Servers Alive for Windows. Servers Alive may seem perfect, though its clearly more expensive than the rest. I think it may have an issue monitoring clients servers on other domains etc as it lacks some form of remote authentication. Zabbix I will admit is my preference as it's all web based. It's windows agent means that I can get local info and, more importantly, run a script on the client server and get the results. However, the documentation is truly terrible and the Windows side is even worse. The last thing I need is someone to cock-up a monitoring setup and then never get informed of any issues. Nagios is clearly the daddy when it comes to network monitoring, though it does require a level of linux knowledge that we just don't have here (ssh access to setup the config for starters). I know that there is a web based tool for setting up the monitoring config (Nagat or something) but that's now not being supported or added to, and it's policy to not use out-of-support products. I know there is also a 3rd party Windows Agent that can run on the servers and monitor local events, though it doesn't have scripting support, and it's not part of the main build, and hasn't been updated for sometime. Does anyone have anything useful I should consider when looking at Nagios ? Any other web based config tools that can be used? Any other windows agents etc ? Any comments on my opinions so far ? Olly ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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&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 lace at jankratochvil.net Mon May 22 11:39:57 2006 From: lace at jankratochvil.net (Jan Kratochvil) Date: Mon, 22 May 2006 11:39:57 +0200 Subject: [patch] Workaround for 'Host DOWN' false-positives In-Reply-To: <200605211608.40703.pitchfork@ederdrom.de> References: <20060520161735.GA27411@host0.dyn.jankratochvil.net> <200605211608.40703.pitchfork@ederdrom.de> Message-ID: <20060522093957.GA16175@host0.dyn.jankratochvil.net> Hi Joerg, On Sun, 21 May 2006 16:08:40 +0200, Joerg Linge wrote: ... > command_line $USER1$/check_dummy $ARG1$ "$ARG2$" ... > check_command check-host-adaptive!$SERVICESTATEID:server1:Connectivity$!$SERVICEOUTPUT:server1:Connectivity ... > In this way the host check_command produces the same state as the > "Connectivity" Service on the same Host. This looks very clever and it would be mostly the right workaround, still... ... > This ist still a quick hack, but it works ;-) > This is IMHO the fastest way without parsing status.dat. Do you have it tested? I do not think it will work. The goal is to reflect the field "last_hard_state", not the field "current_state". "SERVICESTATEID" unfortunately corresponds to "current_state" while "last_hard_state" has no corresponding macro. If you think about the problem, its goal was to delay the host-status-change after stabilizing the state in many attempts, this goal has no opportunity to use the immediately changing "current_state" field. In fact my first version of the Perl script was using "current_state" and IRL it just did not work. It would be fine to provide macro for "last_hard_state" in the next release. Regards, Lace ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 pitchfork at ederdrom.de Mon May 22 12:03:37 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 22 May 2006 12:03:37 +0200 Subject: [patch] Workaround for 'Host DOWN' false-positives In-Reply-To: <20060522093957.GA16175@host0.dyn.jankratochvil.net> References: <20060520161735.GA27411@host0.dyn.jankratochvil.net> <200605211608.40703.pitchfork@ederdrom.de> <20060522093957.GA16175@host0.dyn.jankratochvil.net> Message-ID: <200605221203.43087.pitchfork@ederdrom.de> Am Montag 22 Mai 2006 11:39 schrieb Jan Kratochvil: > > This ist still a quick hack, but it works ;-) > > This is IMHO the fastest way without parsing status.dat. > > Do you have it tested? I do not think it will work. The goal is to reflect > the field "last_hard_state", not the field "current_state". > "SERVICESTATEID" unfortunately corresponds to "current_state" while > "last_hard_state" has no corresponding macro. This was only a quick example! $SERVICESTATETYPE$ gets the state type ( HARD/SOFT ) So you can exit with a CRITICAL state if your service is CRITICAL/HARD. This is not a "ready to run" solution but i think its a possible way. J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From srunschke at abit.de Mon May 22 12:06:45 2006 From: srunschke at abit.de (srunschke at abit.de) Date: Mon, 22 May 2006 12:06:45 +0200 Subject: Antwort: How to reduce a very high latency number In-Reply-To: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> References: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> Message-ID: nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > 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. > > nag2: 193/1743 > > Machine hardware: > 1Us running Fedora Core 4 / P4 2.4GHz / 512MB RAM / 40GB ATA 8MB cache > 7200rpm drives To me this is obviously a performance issue related to hardware. Your machines have way too few RAM. It is totally not possible to run 1800 checks on a 512MB machine in a timely manner. Think about this: Everytime Nagios starts a check, it forks a child, which forks the check. Nagios usually uses up 26MB total memory per process, the check another 5MB maybe. When running 1800 checks, we are speaking of spreading out 55 GIGAbytes of needed Ram on 512 MB real Ram. Imagine how often that works without having the machines doing a shitload of swapping and io-wait. I really cannot imagine how such a machine can NOT swap when running Nagios. Are you totally sure that you did not make a mistake when checking the machine? Here's a lineup of our dedicated Nagios server, which is a minimal install of RHES4 with only Nagios/Apache running on it (and the HP Insightmanager tools and TSM backup client, but that should not reall matter that much ;)) : top - 11:48:52 up 69 days, 19:10, 1 user, load average: 0.75, 0.70, 0.67 Tasks: 53 total, 2 running, 51 sleeping, 0 stopped, 0 zombie Cpu(s): 9.3% us, 4.3% sy, 0.0% ni, 62.5% id, 23.9% wa, 0.0% hi, 0.0% si Mem: 3116384k total, 2341696k used, 774688k free, 55188k buffers Swap: 6291448k total, 144k used, 6291304k free, 2148772k cached This is a HP DL380, 3,6Ghz Xeon with 3GB of Ram and a Raid5. It is currently running "only" 120 hosts with around 500 checks, but those are in a high frequency schedule - ~400 checks per minute - as those are the company-critical services. Therefor it is under real pressure as you can see from the 2.3GB Mem usage and the 0.75 load with only 500 checks. But I think it is kinda comparable to your triple amount of checks. You should really, really upgrade the ram in the machines. In my opinion that would solve most of your problems, as I imagine you have a lot of io-wait on this machine (which you can check with an uptodate top by the way ;)) regards Sascha -- Sascha Runschke Netzwerk Administration IT-Services ABIT AG Robert-Bosch-Str. 1 40668 Meerbusch Tel.:+49 (0) 2150.9153.226 Mobil:+49 (0) 173.5419665 mailto:SRunschke at abit.de http://www.abit.net http://www.abit-epos.net --------------------------------- Sicherheitshinweis zur E-Mail Kommunikation / Security note regarding email communication: http://www.abit.net/sicherheitshinweis.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&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 lace at jankratochvil.net Mon May 22 12:10:13 2006 From: lace at jankratochvil.net (Jan Kratochvil) Date: Mon, 22 May 2006 12:10:13 +0200 Subject: [patch] Workaround for 'Host DOWN' false-positives In-Reply-To: <200605221203.43087.pitchfork@ederdrom.de> References: <20060520161735.GA27411@host0.dyn.jankratochvil.net> <200605211608.40703.pitchfork@ederdrom.de> <20060522093957.GA16175@host0.dyn.jankratochvil.net> <200605221203.43087.pitchfork@ederdrom.de> Message-ID: <20060522101013.GA19581@host0.dyn.jankratochvil.net> Hi, OK, that looks as it would work. WORKS4ME now, though. Your solution would be nice hint on nagios website or so... Regards, Lace On Mon, 22 May 2006 12:03:37 +0200, Joerg Linge wrote: > Am Montag 22 Mai 2006 11:39 schrieb Jan Kratochvil: > > > > This ist still a quick hack, but it works ;-) > > > This is IMHO the fastest way without parsing status.dat. > > > > Do you have it tested? I do not think it will work. The goal is to reflect > > the field "last_hard_state", not the field "current_state". > > "SERVICESTATEID" unfortunately corresponds to "current_state" while > > "last_hard_state" has no corresponding macro. > > This was only a quick example! > $SERVICESTATETYPE$ gets the state type ( HARD/SOFT ) > > So you can exit with a CRITICAL state if your service is CRITICAL/HARD. > > This is not a "ready to run" solution but i think its a possible way. > > J?rg ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 pitchfork at ederdrom.de Mon May 22 12:16:38 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 22 May 2006 12:16:38 +0200 Subject: [patch] Workaround for 'Host DOWN' false-positives In-Reply-To: <20060522101013.GA19581@host0.dyn.jankratochvil.net> References: <20060520161735.GA27411@host0.dyn.jankratochvil.net> <200605221203.43087.pitchfork@ederdrom.de> <20060522101013.GA19581@host0.dyn.jankratochvil.net> Message-ID: <200605221216.41754.pitchfork@ederdrom.de> Am Montag 22 Mai 2006 12:10 schrieb Jan Kratochvil: > Hi, > > OK, that looks as it would work. WORKS4ME now, though. > Your solution would be nice hint on nagios website or so... I have the same problems on some Hosts behind WAN lines. I will test this solution in the next 2 weeks. In our test enviroment its still workring. I have written an small howto in the german nagios-wiki. But still in german ;-) http://www.nagios-wiki.de/doku.php/nagios/howtos/no_hostchecks J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From greg.cope at e-dba.net Mon May 22 12:23:29 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Mon, 22 May 2006 11:23:29 +0100 Subject: Oracle plugin In-Reply-To: References: Message-ID: <1148293409.2577.5.camel@dl.e-dba.net> Can you post this either here or add it to nagios exchange (probably better!) Thanks. Greg On Fri, 2006-05-19 at 14:28 -0400, Janet Post wrote: > Az, > > Yes! I am very interested in this plug in!! > > Thank you. > Janet. > > -----Original Message----- > From: Az [mailto:az at whoever.org] > Sent: May 19, 2006 6:42 AM > To: Janet Post > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Oracle plugin > > Hi Janet, > > >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?!?! > > > > > I never found anything like this either so I rolled my own stored > procedure type plugin for both Oracle and MSSQL. The guts of it was one > of the parameters you passed it was a valid command for that RDBMS (so > it could be a select or a stored proc, the latter is what we did). It > expects 1 row, 2 columns back. A result code (OK, WARN, etc), and a > message. I havent bothered with perf stats at this point. > > Our DBAs wrote some standard stored procs they deployed as they saw fit > to spit out the results. Thus, I could manage Nagios and they could > write whatever queries on their DB they wanted without having to fiddle > with scripts on the Nagios server. > > I've not put them on Nagios Exchange, but if you're interested in seeing > > them, let me know. > > Cheers. > > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your 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 Oliver.Marshall at g2support.com Mon May 22 13:24:18 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Mon, 22 May 2006 12:24:18 +0100 Subject: NSclient windows plugin In-Reply-To: <1148293409.2577.5.camel@dl.e-dba.net> References: <1148293409.2577.5.camel@dl.e-dba.net> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83BD@indigo.G2Support.local> Anyone here managed to get the NSClient working (http://nsclient.ready2run.nl/) ? I have installed the windows and linux ends. The windows end is fine and is running happily. The linux end is causing config issues in nagios. I have copied over the check_nt file to the libexec folder (/usr/local/libexec). I have added the following to the command.cfg file; command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CPULOAD -l $ARG1$ command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v UPTIME command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v CLIENTVERSION command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v PROCSTATE -l $ARG1$ command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v SERVICESTATE -l $ARG1$ command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v MEMUSE -w $ARG1$ -c $ARG2$ command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ I have also created the correct (?) entries in hosts.cfg and services.cfg. However, when I verify the nagios.cfg file using "nagios -v nagios.cfg" it says that the command I have listed in the services.cfg file isn't setup in the command.cfg file. The check_command line in my services entry states; check_command check_nt_disk C 10 50 which is the disk letter for $arg1$, warning level for $arg2$ and critical level for $arg3$. I have also tried the actual command line, which is; check_nt -H 192.168.100.241 -p 1248 -v USEDDISKSPACE -l C -w 20 -c 30 The actual error that nagios returns when doing a verify is; "Service check command 'check_nt_disk C 10 50' specified in service 'Disk Check' for host 'G2SUPPORT_LAPTO.g2support.local' not defined anywhere!" :S Any idea why its not picking up the new commands in command.cfg ? I have tried rebooting the Nagios server, so nagios picks up the new settings. Olly p.s. Also, is there a way to force nagios to update its settings from an SSH session without a server reboot ? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 sghosh at sghosh.org Mon May 22 13:41:56 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 22 May 2006 07:41:56 -0400 (EDT) Subject: NSclient windows plugin In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83BD@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83BD@indigo.G2Support.local> Message-ID: On Mon, 22 May 2006, Oliver Marshall wrote: > Anyone here managed to get the NSClient working > (http://nsclient.ready2run.nl/) ? > > I have installed the windows and linux ends. The windows end is fine and > is running happily. The linux end is causing config issues in nagios. > > I have copied over the check_nt file to the libexec folder > (/usr/local/libexec). I have added the following to the command.cfg > file; > > command[check_nt_disk]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > USEDDISKSPACE -l $ARG1$ -w $ARG2$ -c $ARG3$ > command[check_nt_cpuload]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > CPULOAD -l $ARG1$ > command[check_nt_uptime]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > UPTIME > command[check_nt_clientversion]=$USER1$/check_nt -H $HOSTADDRESS$ -p > 1248 -v CLIENTVERSION > command[check_nt_process]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > PROCSTATE -l $ARG1$ > command[check_nt_service]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > SERVICESTATE -l $ARG1$ > command[check_nt_memuse]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > MEMUSE -w $ARG1$ -c $ARG2$ > command[check_nt_fileage]=$USER1$/check_nt -H $HOSTADDRESS$ -p 1248 -v > FILEAGE -l $ARG1$ -w $ARG2$ -c $ARG3$ > > I have also created the correct (?) entries in hosts.cfg and > services.cfg. > > However, when I verify the nagios.cfg file using "nagios -v nagios.cfg" > it says that the command I have listed in the services.cfg file isn't > setup in the command.cfg file. > > The check_command line in my services entry states; > > check_command check_nt_disk C 10 50 > Do you have "!" between the componenets above? My text email client doesn't see any. Nagios expects "!" as a separator. > which is the disk letter for $arg1$, warning level for $arg2$ and > critical level for $arg3$. I have also tried the actual command line, > which is; > > check_nt -H 192.168.100.241 -p 1248 -v USEDDISKSPACE -l C -w 20 -c 30 > > The actual error that nagios returns when doing a verify is; > > "Service check command 'check_nt_disk C 10 50' specified in service > 'Disk Check' for host 'G2SUPPORT_LAPTO.g2support.local' not defined > anywhere!" > > :S > > Any idea why its not picking up the new commands in command.cfg ? I have > tried rebooting the Nagios server, so nagios picks up the new settings. > > Olly > p.s. Also, is there a way to force nagios to update its settings from an > SSH session without a server reboot ? > > In the linux world - server reboot is a rare requirement. Most conditions, send the Nagios daeom a HUP will cause it to re-read its configuration file. However if you are using features like state retention, and make changes to those parameters, you wil want to stop and start the nagios daemon. -- -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 sghosh at sghosh.org Mon May 22 13:50:02 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 22 May 2006 07:50:02 -0400 (EDT) Subject: Monitoring Windows servers In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83B5@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83B5@indigo.G2Support.local> Message-ID: On Mon, 22 May 2006, Oliver Marshall wrote: > I have spent the last week looking for a monitoring solution. I have > been assessing Nagios, Zabbix, and Servers Alive for Windows. > > Servers Alive may seem perfect, though its clearly more expensive than > the rest. I think it may have an issue monitoring clients servers on > other domains etc as it lacks some form of remote authentication. > > Zabbix I will admit is my preference as it's all web based. It's windows > agent means that I can get local info and, more importantly, run a > script on the client server and get the results. However, the > documentation is truly terrible and the Windows side is even worse. The > last thing I need is someone to cock-up a monitoring setup and then > never get informed of any issues. > > Nagios is clearly the daddy when it comes to network monitoring, though > it does require a level of linux knowledge that we just don't have here > (ssh access to setup the config for starters). I know that there is a > web based tool for setting up the monitoring config (Nagat or something) > but that's now not being supported or added to, and it's policy to not > use out-of-support products. I know there is also a 3rd party Windows > Agent that can run on the servers and monitor local events, though it > doesn't have scripting support, and it's not part of the main build, and > hasn't been updated for sometime. > > Does anyone have anything useful I should consider when looking at > Nagios ? Any other web based config tools that can be used? Any other > windows agents etc ? Any comments on my opinions so far ? > When looking at Nagios and specially the plugins world, there are a couple place to look. There is the main nagios-plugins distribution which covers a core set of functionality and there are a host of additional plugins that have been contributed and are available via nagios-exchange. Both have active support on the mailing lists. For Windows - you have a couple of choices: NSClient/NSClient++/NC_Net and NRPE_NT. NRPE_NT allows you to write Windows scripts and extend the pluging capability. A number for wmi scripts are hosted on nagios-exchange. -- -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 LMAIGNAN at fininfo.fr Mon May 22 16:54:15 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Mon, 22 May 2006 16:54:15 +0200 Subject: Remote execution Message-ID: <6CF6C2B015865B44B7752C9420D0D71602D7730E@exc2003.int.fininfo.grp> Hi all, I try to check disk space on remote host. I define the name of hosts in the service definition, but the results are always from localhost. What have I to do to execute the check_disk command on the remote host ? Thanks for any help ********************************************************************* Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. ----------------------------------------------------- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ********************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 17:07:27 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 22 May 2006 11:07:27 -0400 Subject: Remote execution In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602D7730E@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602D7730E@exc2003.int.fininfo.grp> Message-ID: check_disk will always check the host it's run on. To check remote machines, look into something like nrpe, nagios_statd, or SNMP. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of MAIGNAN Luc Sent: Monday, May 22, 2006 7:54 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Remote execution Hi all, I try to check disk space on remote host. I define the name of hosts in the service definition, but the results are always from localhost. What have I to do to execute the check_disk command on the remote host ? Thanks for any 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 marc at ena.com Mon May 22 17:08:14 2006 From: marc at ena.com (Marc Powell) Date: Mon, 22 May 2006 10:08:14 -0500 Subject: Remote execution Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of MAIGNAN Luc > Sent: Monday, May 22, 2006 9:54 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Remote execution > > Hi all, > > I try to check disk space on remote host. I define the name of hosts in > the service definition, but the results are always from localhost. What > have I to do to execute the check_disk command on the remote host ? Read this FAQ and search the archives -- http://www.nagios.org/faqs/viewfaq.php?faq_id=59 -- 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 nagios at natecarlson.com Mon May 22 17:29:37 2006 From: nagios at natecarlson.com (Nate Carlson) Date: Mon, 22 May 2006 10:29:37 -0500 (CDT) Subject: check_http: fail if word appears on page? Message-ID: I've got a case where I'm monitoring a web site that throws up a message saying 'This site is undergoing maintenance' when there is a problem with the backend servers.. is there a way with check_http to verify that the word maintenance does *not* appear on the page? I've tried using the regex engine, but haven't figured out a way to negate the regexp. Any suggestions would be appreciated! ------------------------------------------------------------------------ | nate carlson | natecars at natecarlson.com | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981 | ------------------------------------------------------------------------ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 17:44:24 2006 From: andrew at profitability.net (Andrew Cruse) Date: Mon, 22 May 2006 11:44:24 -0400 Subject: check_http: fail if word appears on page? In-Reply-To: References: Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > I've got a case where I'm monitoring a web site that throws > up a message saying 'This site is undergoing maintenance' > when there is a problem with the backend servers.. is there a > way with check_http to verify that the word maintenance does *not* > appear on the page? > > I've tried using the regex engine, but haven't figured out a way to > negate the regexp. > > Any suggestions would be appreciated! You might check out "negate" which I believe is part of the standard plugin distro: negate (nagios-plugins 1.4.0alpha1) 1.13 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 2002-2003 Nagios Plugin Development Team Negates the status of a plugin (returns OK for CRITICAL, and vice-versa). Usage: negate [-t timeout] negate (-h | --help) for detailed help negate (-V | --version) for version information Options: -h, --help Print detailed help screen -V, --version Print version information -t, --timeout=INTEGER Seconds before connection times out (default: 9) [keep timeout than the plugin timeout to retain CRITICAL status] negate "/usr/local/nagios/libexec/check_ping -H host" Run check_ping and invert result. Must use full path to plugin negate "/usr/local/nagios/libexec/check_procs -a 'vi negate.c'" Use single quotes if you need to retain spaces This plugin is a wrapper to take the output of another plugin and invert it. If the wrapped plugin returns STATE_OK, the wrapper will return STATE_CRITICAL. If the wrapped plugin returns STATE_CRITICAL, the wrapper will return STATE_OK. Otherwise, the output state of the wrapped plugin is unchanged. Send email to nagios-users at lists.sourceforge.net if you have questions regarding use of this software. To submit patches or suggest improvements, send email to nagiosplug-devel at lists.sourceforge.net 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 nagios at natecarlson.com Mon May 22 17:55:02 2006 From: nagios at natecarlson.com (Nate Carlson) Date: Mon, 22 May 2006 10:55:02 -0500 (CDT) Subject: check_http: fail if word appears on page? In-Reply-To: References: Message-ID: On Mon, 22 May 2006, Andrew Cruse wrote: > You might check out "negate" which I believe is part of the standard > plugin distro: Ah, I will have to give that a shot. I'll have to set up a secondary check above the standard HTTP check, but that's ok.. Otherwise, I guess I could just write my own plugin. :) Thanks! ------------------------------------------------------------------------ | nate carlson | natecars at natecarlson.com | http://www.natecarlson.com | | depriving some poor village of its idiot since 1981 | ------------------------------------------------------------------------ ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 19:28:15 2006 From: gdanko at gmail.com (Gary Danko) Date: Mon, 22 May 2006 10:28:15 -0700 Subject: check_megaraid fails in Nagios 2.0 on Debian 3.1 Message-ID: <6c5c451f0605221028q361e785fg69ce489d5374eb9e@mail.gmail.com> We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The check_megaraid version we use is 0.8.2. I am trying to migrate to Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. root at discostu:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid -H mail-incoming -C xxxxxx megaraid OK But in the Nagios web console on the same server I receive this error: **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit package name at (eval 6) line 51. Has anyone here successfully run the check_megaraid plugin on Nagios 2.0? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 22 19:44:18 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Mon, 22 May 2006 13:44:18 -0400 Subject: check_megaraid fails in Nagios 2.0 on Debian 3.1 In-Reply-To: <6c5c451f0605221028q361e785fg69ce489d5374eb9e@mail.gmail.com> References: <6c5c451f0605221028q361e785fg69ce489d5374eb9e@mail.gmail.com> Message-ID: If you're using embedded Perl (and it appears you are), the requirement for plugins in Nagios 2 are fairly stringent, and they'll fail if not coded properly. http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN This plugin probably fails requireent #4. The good news is that it's probably an easy fix. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Gary Danko Sent: Monday, May 22, 2006 10:28 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1 We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The check_megaraid version we use is 0.8.2. I am trying to migrate to Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. root at discostu:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid -H mail-incoming -C xxxxxx megaraid OK But in the Nagios web console on the same server I receive this error: **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit package name at (eval 6) line 51. Has anyone here successfully run the check_megaraid plugin on Nagios 2.0? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 22 19:59:32 2006 From: marc at ena.com (Marc Powell) Date: Mon, 22 May 2006 12:59:32 -0500 Subject: check_megaraid fails in Nagios 2.0 on Debian 3.1 Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Gary Danko > Sent: Monday, May 22, 2006 12:28 PM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian 3.1 > > We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The > check_megaraid version we use is 0.8.2. I am trying to migrate to > Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. > > root at discostu:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid > -H mail-incoming -C xxxxxx > megaraid OK Always perform your tests as the nagios user. The nagios user won't have the same access rights as the root user so tests that work as root may not work for the nagios user. It wouldn't have mattered in this particular case but it's good practice. > > But in the Nagios web console on the same server I receive this error: > > **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit > package name at (eval 6) line 51. > > Has anyone here successfully run the check_megaraid plugin on Nagios 2.0? I don't use it but have some suggestions. Since this is a non-standard plugin you should provide pointers to download the specific version you are using when asking for help. There are a couple of check_megaraid plugins that I've found but none use the variable $runtimedir. It would appear that this plugin is not written to be compatible with the Nagios embedded Perl interpreter. I would hazard a guess that your 1.3 installations were compiled without the ePN but your nagios-2 installation was. This should have been a problem for 1.3 as well since the plugin requirements are the same. You can either -- 1) recompile your nagios-2 installations without the ePN. 2) modify the plugin to be compatible with the ePN - This may be as simple as adding 'my $runtimedir;' somewhere before the first use of that variable. - other guidelines to make perl plugins compatible with the ePN are available here -- http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN -- 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 deballing at vassar.edu Mon May 22 20:22:56 2006 From: deballing at vassar.edu (Derek J. Balling) Date: Mon, 22 May 2006 14:22:56 -0400 Subject: Escalations Message-ID: <1BA2DF48-EAFF-4CD3-8B98-B125FE4ED273@vassar.edu> I'm using the version of Nagios that is in Debian/Stable (which I think is a modified 1.3). I'm trying to sort out escalations a little bit. I can see how hostgroup escalations work, if there is a host-level problem. If I've got, say, "smtp" service definitions for three hosts, do I really have to have three different serviceescalation declarations -- one for each service definition -- to escalate each one? Is there no way whatsoever to simply say anything with service_description "SMTP" and host_name of "*" or something? Seems really ... well ... sucky, that for every host/service declaration I'd have to explicitly have an independent escalation declaration as well. 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 Mon May 22 20:28:36 2006 From: marc at ena.com (Marc Powell) Date: Mon, 22 May 2006 13:28:36 -0500 Subject: Escalations Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Derek J. Balling > Sent: Monday, May 22, 2006 1:23 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Escalations > > I'm using the version of Nagios that is in Debian/Stable (which I think is > a modified 1.3). > > I'm trying to sort out escalations a little bit. I can see how hostgroup > escalations work, if there is a host-level problem. > > If I've got, say, "smtp" service definitions for three hosts, do I really > have to have three different serviceescalation declarations -- one for > each service definition -- to escalate each one? Is there no way > whatsoever to simply say anything with service_description "SMTP" and > host_name of "*" or something? > > Seems really ... well ... sucky, that for every host/service declaration > I'd have to explicitly have an independent escalation declaration as well. Mmmmmm... Documentation... Crunchy. http://nagios.sourceforge.net/docs/1_0/templatetricks.html#serviceescala tion -- 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 td3201 at gmail.com Mon May 22 20:42:05 2006 From: td3201 at gmail.com (Terry) Date: Mon, 22 May 2006 13:42:05 -0500 Subject: disable embedded perl Message-ID: <8ee061010605221142n547dd97ci54d7a3b35947b479@mail.gmail.com> Is there a way to disabled the embedded perl interpretor other than recompile? ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 kylet at panix.com Mon May 22 20:45:24 2006 From: kylet at panix.com (Kyle Tucker) Date: Mon, 22 May 2006 14:45:24 -0400 (EDT) Subject: Host retry interval Message-ID: <200605221845.k4MIjOB20778@panix2.panix.com> Hi, I have many hosts that are constantly giving me DOWN/UP state as they are unreachable for certain periods. In an attempt to give the system more time to become available, I increased the max_check_attempts from 2 to 5. At 2 the interval between retry attempts was 10 seconds. Now at 5, the interval is 7 seconds. I'd like to have this interval higher for some hosts, but there's a real scary note on the hosts check_interval option to not use it if you can help it. Is this my only option or is there a better way? I am also following the thread titled "Workaround for 'Host DOWN' false-positives" but I don't clearly see how to set that up. Here's some output for a failed host (I tail and parse the date field in a script so it's readable). Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - snmpd not responding Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - snmpd not responding Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - snmpd not responding Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - snmpd not responding Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - snmpd not responding -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 20:53:03 2006 From: estair at ilm.com (Eli Stair) Date: Mon, 22 May 2006 11:53:03 -0700 Subject: Host retry interval In-Reply-To: <200605221845.k4MIjOB20778@panix2.panix.com> References: <200605221845.k4MIjOB20778@panix2.panix.com> Message-ID: I'd suggest NOT taking this action at the host level; reason being that all service checks are halted for the duration of this non-parallelized action... You want to avoid doing a host check until absolutely necessary. Suggest increasing the max_check_attempts on the SERVICE to a larger number, this will avoid impacting the monitoring system as a whole. /eli On 5/22/06 11:45 AM, "Kyle Tucker" wrote: > Hi, > I have many hosts that are constantly giving me DOWN/UP state as they > are unreachable for certain periods. In an attempt to give the system more > time to become available, I increased the max_check_attempts from 2 to 5. At > 2 the interval between retry attempts was 10 seconds. Now at 5, the interval > is 7 seconds. I'd like to have this interval higher for some hosts, but > there's a real scary note on the hosts check_interval option to not use it > if you can help it. Is this my only option or is there a better way? I am > also following the thread titled "Workaround for 'Host DOWN' false-positives" > but I don't clearly see how to set that up. Here's some output for a failed > host (I tail and parse the date field in a script so it's readable). > > Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - > snmpd not responding > Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - > snmpd not responding > Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - > snmpd not responding > Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - > snmpd not responding > Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - > snmpd not responding > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Oliver.Marshall at g2support.com Mon May 22 21:13:27 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Mon, 22 May 2006 20:13:27 +0100 Subject: blagging In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> So, who fancies creating a virtual machine for me running linux with Nagios installed, with a web-based front-end to manage Nagios with, all configured to be compatible with a windows based agent ? :) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 21:31:20 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 22 May 2006 14:31:20 -0500 Subject: blagging In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> Message-ID: <1148326280.15795.25.camel@localhost> On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > So, who fancies creating a virtual machine for me running linux with > Nagios installed, with a web-based front-end to manage Nagios with, all > configured to be compatible with a windows based agent ? How many tens of thousands of dollars are you offering, again? -------------- 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 jperrin at gmail.com Mon May 22 21:41:16 2006 From: jperrin at gmail.com (Jim Perrin) Date: Mon, 22 May 2006 15:41:16 -0400 Subject: blagging In-Reply-To: <1148326280.15795.25.camel@localhost> References: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> <1148326280.15795.25.camel@localhost> Message-ID: <302ce8b50605221241k2fa51861w6e52b8e5d0b43fd2@mail.gmail.com> On 5/22/06, jeff vier wrote: > On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > > So, who fancies creating a virtual machine for me running linux with > > Nagios installed, with a web-based front-end to manage Nagios with, all > > configured to be compatible with a windows based agent ? > > How many tens of thousands of dollars are you offering, again? Wow, you running a discount week or something? That seems a tad cheap given the requirements. -- 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 sghosh at sghosh.org Mon May 22 21:42:23 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 22 May 2006 15:42:23 -0400 (EDT) Subject: disable embedded perl In-Reply-To: <8ee061010605221142n547dd97ci54d7a3b35947b479@mail.gmail.com> References: <8ee061010605221142n547dd97ci54d7a3b35947b479@mail.gmail.com> Message-ID: On Mon, 22 May 2006, Terry wrote: > Is there a way to disabled the embedded perl interpretor other than > recompile? > Not at the moment. -- -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 kylet at panix.com Mon May 22 21:45:11 2006 From: kylet at panix.com (Kyle Tucker) Date: Mon, 22 May 2006 15:45:11 -0400 (EDT) Subject: Host retry interval In-Reply-To: References: Message-ID: <200605221945.k4MJjBj16680@panix2.panix.com> Thanks Eli, According to the docs, "Nagios checks the status of a host is when a service check results in a non-OK status.". Is that when it reaches a HARD state after all iterations of max_check_attempts are done or as soon as it goes to non-OK (SOFT) state? If the latter, which seems to be when it's kicking off host checks, I don't see how increasing the service checks will help. > I'd suggest NOT taking this action at the host level; reason being that all > service checks are halted for the duration of this non-parallelized > action... You want to avoid doing a host check until absolutely necessary. > Suggest increasing the max_check_attempts on the SERVICE to a larger number, > this will avoid impacting the monitoring system as a whole. > > /eli > > > On 5/22/06 11:45 AM, "Kyle Tucker" wrote: > > > Hi, > > I have many hosts that are constantly giving me DOWN/UP state as they > > are unreachable for certain periods. In an attempt to give the system more > > time to become available, I increased the max_check_attempts from 2 to 5. At > > 2 the interval between retry attempts was 10 seconds. Now at 5, the interval > > is 7 seconds. I'd like to have this interval higher for some hosts, but > > there's a real scary note on the hosts check_interval option to not use it > > if you can help it. Is this my only option or is there a better way? I am > > also following the thread titled "Workaround for 'Host DOWN' false-positives" > > but I don't clearly see how to set that up. Here's some output for a failed > > host (I tail and parse the date field in a script so it's readable). > > > > Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - > > snmpd not responding > > Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - > > snmpd not responding > > Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - > > snmpd not responding > > Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - > > snmpd not responding > > Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - > > snmpd not responding > > > -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 21:48:35 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 22 May 2006 14:48:35 -0500 Subject: blagging In-Reply-To: <302ce8b50605221241k2fa51861w6e52b8e5d0b43fd2@mail.gmail.com> References: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> <1148326280.15795.25.camel@localhost> <302ce8b50605221241k2fa51861w6e52b8e5d0b43fd2@mail.gmail.com> Message-ID: <1148327315.15795.30.camel@localhost> On Mon, 2006-05-22 at 15:41 -0400, Jim Perrin wrote: > On 5/22/06, jeff vier wrote: > > On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > > > So, who fancies creating a virtual machine for me running linux with > > > Nagios installed, with a web-based front-end to manage Nagios with, all > > > configured to be compatible with a windows based agent ? > > > > How many tens of thousands of dollars are you offering, again? > > Wow, you running a discount week or something? That seems a tad cheap > given the requirements. I didn't put a ceiling on it, I just wanted to aim him at the correct ballpark. I figure 7 (* $10K) is a bare-minimum. *I* wouldn't take it, but someone might. Get up over $100K, and I would at least think about it. -------------- 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 estair at ilm.com Mon May 22 21:49:49 2006 From: estair at ilm.com (Eli Stair) Date: Mon, 22 May 2006 12:49:49 -0700 Subject: Host retry interval In-Reply-To: <200605221945.k4MJjBj16680@panix2.panix.com> References: <200605221945.k4MJjBj16680@panix2.panix.com> Message-ID: HOST check mode is initiated once the service reaches the HARD state, which comes on the last allowed check as defined by max_check_attempts for that service. Ergo, if you set your service checks max to 15, after 15 minutes (assuming your delay is 60 seconds) your service will hit a HARD CRITICAL, and host checks will fire. /eli On 5/22/06 12:45 PM, "Kyle Tucker" wrote: > Thanks Eli, > > According to the docs, "Nagios checks the status of a host is when a service > check results in a non-OK status.". Is that when it reaches a HARD state > after all iterations of max_check_attempts are done or as soon as it goes to > non-OK (SOFT) state? If the latter, which seems to be when it's kicking off > host checks, I don't see how increasing the service checks will help. > >> I'd suggest NOT taking this action at the host level; reason being that all >> service checks are halted for the duration of this non-parallelized >> action... You want to avoid doing a host check until absolutely necessary. >> Suggest increasing the max_check_attempts on the SERVICE to a larger number, >> this will avoid impacting the monitoring system as a whole. >> >> /eli >> >> >> On 5/22/06 11:45 AM, "Kyle Tucker" wrote: >> >>> Hi, >>> I have many hosts that are constantly giving me DOWN/UP state as they >>> are unreachable for certain periods. In an attempt to give the system more >>> time to become available, I increased the max_check_attempts from 2 to 5. At >>> 2 the interval between retry attempts was 10 seconds. Now at 5, the interval >>> is 7 seconds. I'd like to have this interval higher for some hosts, but >>> there's a real scary note on the hosts check_interval option to not use it >>> if you can help it. Is this my only option or is there a better way? I am >>> also following the thread titled "Workaround for 'Host DOWN' >>> false-positives" >>> but I don't clearly see how to set that up. Here's some output for a failed >>> host (I tail and parse the date field in a script so it's readable). >>> >>> Mon May 22 14:25:52 2006 HOST ALERT: badhost;DOWN;SOFT;1;* system down * - >>> snmpd not responding >>> Mon May 22 14:25:59 2006 HOST ALERT: badhost;DOWN;SOFT;2;* system down * - >>> snmpd not responding >>> Mon May 22 14:26:06 2006 HOST ALERT: badhost;DOWN;SOFT;3;* system down * - >>> snmpd not responding >>> Mon May 22 14:26:16 2006 HOST ALERT: badhost;DOWN;SOFT;4;* system down * - >>> snmpd not responding >>> Mon May 22 14:26:23 2006 HOST ALERT: badhost;DOWN;HARD;5;* system down * - >>> snmpd not responding >>> >> > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 sbierma at grid4.com Mon May 22 21:53:11 2006 From: sbierma at grid4.com (Scott Bierma) Date: Mon, 22 May 2006 15:53:11 -0400 Subject: Troubles compiling with C Message-ID: <200605221951.k4MJpRdQ010748@mail.grid4.com> Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [root at marge nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## --------- ## ## Platform. ## ## --------- ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## ----------------- ## ## Output variables. ## ## ----------------- ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl='' command_grp='' command_user='' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686'TA='${INSTALL} -m 644' host_os='linux-gnu' host_vendor='pc' htmurl='' includedir='${prefix}/include' infodir='${prefix}/info' init_dir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lockfile='' mandir='${prefix}/man' nagios_grp='' nagios_name='' nagios_user='' nagiostats_name='' oldincludedir='/usr/include' prefix='/usr/local/nagios' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3739 bytes Desc: not available URL: From christian.masopust at siemens.com Mon May 22 21:55:05 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Mon, 22 May 2006 21:55:05 +0200 Subject: Troubles compiling with C In-Reply-To: <200605221951.k4MJpRdQ010748@mail.grid4.com> References: <200605221951.k4MJpRdQ010748@mail.grid4.com> Message-ID: <60721B67EAF0994EAFFB561767B70014593840@nets13ha.ww300.siemens.net> could you run "which gcc" ? what does "rpm -qa | grep gcc" show? chris -- "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 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 9:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Troubles compiling with C Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [root at marge nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## --------- ## ## Platform. ## ## --------- ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## ----------------- ## ## Output variables. ## ## ----------------- ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl='' command_grp='' command_user='' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686'TA='${INSTALL} -m 644' host_os='linux-gnu' host_vendor='pc' htmurl='' includedir='${prefix}/include' infodir='${prefix}/info' init_dir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lockfile='' mandir='${prefix}/man' nagios_grp='' nagios_name='' nagios_user='' nagiostats_name='' oldincludedir='/usr/include' prefix='/usr/local/nagios' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3739 bytes Desc: image001.jpg URL: From jhmartin at toger.us Mon May 22 22:03:57 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 22 May 2006 13:03:57 -0700 Subject: blagging In-Reply-To: <1148327315.15795.30.camel@localhost> References: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> <1148326280.15795.25.camel@localhost> <302ce8b50605221241k2fa51861w6e52b8e5d0b43fd2@mail.gmail.com> <1148327315.15795.30.camel@localhost> Message-ID: <20060522200357.GD20902@mal.toger.us> On Mon, May 22, 2006 at 02:48:35PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 15:41 -0400, Jim Perrin wrote: > > On 5/22/06, jeff vier wrote: > > > On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > > > > So, who fancies creating a virtual machine for me running linux with > > > > Nagios installed, with a web-based front-end to manage Nagios with, all > > > > configured to be compatible with a windows based agent ? > > > > > > How many tens of thousands of dollars are you offering, again? > > > > Wow, you running a discount week or something? That seems a tad cheap > > given the requirements. So what are the requirements again? Install a stock Linux distribution, install Nagios, install plugins, install a stock web config gui tool, and install the client portion of the windows agents? -Jason Martin -- Useless Invention: A freezer for Eskimos. 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 Oliver.Marshall at g2support.com Mon May 22 22:05:32 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Mon, 22 May 2006 21:05:32 +0100 Subject: blagging In-Reply-To: <20060522200357.GD20902@mal.toger.us> References: <20060522200357.GD20902@mal.toger.us> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83C7@indigo.G2Support.local> Yes to all. Ideally NRPE_NT will be used, so the server end of that needs to be setup :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Martin Sent: 22 May 2006 21:04 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] blagging On Mon, May 22, 2006 at 02:48:35PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 15:41 -0400, Jim Perrin wrote: > > On 5/22/06, jeff vier wrote: > > > On Mon, 2006-05-22 at 20:13 +0100, Oliver Marshall wrote: > > > > So, who fancies creating a virtual machine for me running linux with > > > > Nagios installed, with a web-based front-end to manage Nagios with, all > > > > configured to be compatible with a windows based agent ? > > > > > > How many tens of thousands of dollars are you offering, again? > > > > Wow, you running a discount week or something? That seems a tad cheap > > given the requirements. So what are the requirements again? Install a stock Linux distribution, install Nagios, install plugins, install a stock web config gui tool, and install the client portion of the windows agents? -Jason Martin -- Useless Invention: A freezer for Eskimos. 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 Mon May 22 22:09:49 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Mon, 22 May 2006 15:09:49 -0500 Subject: blagging In-Reply-To: <20060522200357.GD20902@mal.toger.us> References: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> <1148326280.15795.25.camel@localhost> <302ce8b50605221241k2fa51861w6e52b8e5d0b43fd2@mail.gmail.com> <1148327315.15795.30.camel@localhost> <20060522200357.GD20902@mal.toger.us> Message-ID: <1148328589.15795.33.camel@localhost> On Mon, 2006-05-22 at 13:03 -0700, Jason Martin wrote: > > > > > So, who fancies creating a virtual machine for me running linux with > > > > > Nagios installed, with a web-based front-end to manage Nagios with, all > > > > > configured to be compatible with a windows based agent ? > > > > > > > > How many tens of thousands of dollars are you offering, again? > > > > > > Wow, you running a discount week or something? That seems a tad cheap > > > given the requirements. > So what are the requirements again? Install a stock Linux > distribution, install Nagios, install plugins, install a stock web > config gui tool, and install the client portion of the windows > agents? If you believe in your heart that it will be that simple...well...bless you, and good luck. You've apparently never done consulting work. -------------- 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 gdanko at gmail.com Mon May 22 22:15:34 2006 From: gdanko at gmail.com (Gary Danko) Date: Mon, 22 May 2006 13:15:34 -0700 Subject: check_megaraid fails in Nagios 2.0 on Debian 3.1 In-Reply-To: References: Message-ID: <6c5c451f0605221315j35697208vaf46978e59d04c3f@mail.gmail.com> I got the plugin here: http://www.ibiblio.org/john/megaraid/ Nagios was installed via apt-get. I guess I could recompile it from source though I'd like to not do that since I have a number of Nagios servers in use. I did try adding the line "$my runtimedir;" before the first use of the variable but the error persisted. I will try some other things. Any other suggestons are welcome. :-) On 5/22/06, Marc Powell wrote: > > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Gary Danko > > Sent: Monday, May 22, 2006 12:28 PM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] check_megaraid fails in Nagios 2.0 on Debian > 3.1 > > > > We have two Nagios 1.3 servers that sit on Debian 3.1 machines. The > > check_megaraid version we use is 0.8.2. I am trying to migrate to > > Nagios 2.0, but the check_megaraid plugin fails in Nagios 2.0. > > > > root at discostu:/etc/nagios2# /usr/local/nagios/plugins/check_megaraid > > -H mail-incoming -C xxxxxx > > megaraid OK > > Always perform your tests as the nagios user. The nagios user won't have > the same access rights as the root user so tests that work as root may > not work for the nagios user. It wouldn't have mattered in this > particular case but it's good practice. > > > > > But in the Nagios web console on the same server I receive this error: > > > > **ePN 'check_megaraid' Global symbol "$runtimedir" requires explicit > > package name at (eval 6) line 51. > > > > Has anyone here successfully run the check_megaraid plugin on Nagios > 2.0? > > I don't use it but have some suggestions. Since this is a non-standard > plugin you should provide pointers to download the specific version you > are using when asking for help. There are a couple of check_megaraid > plugins that I've found but none use the variable $runtimedir. > > It would appear that this plugin is not written to be compatible with > the Nagios embedded Perl interpreter. I would hazard a guess that your > 1.3 installations were compiled without the ePN but your nagios-2 > installation was. This should have been a problem for 1.3 as well since > the plugin requirements are the same. You can either -- > > 1) recompile your nagios-2 installations without the ePN. > 2) modify the plugin to be compatible with the ePN > - This may be as simple as adding 'my $runtimedir;' somewhere > before the first use of that variable. > - other guidelines to make perl plugins compatible with the ePN > are available here -- > http://nagiosplug.sourceforge.net/developer-guidelines.html#PERLPLUGIN > > -- > 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?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 > ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 sbierma at grid4.com Mon May 22 22:18:33 2006 From: sbierma at grid4.com (Scott Bierma) Date: Mon, 22 May 2006 16:18:33 -0400 Subject: Troubles compiling with C In-Reply-To: <60721B67EAF0994EAFFB561767B70014593840@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B70014593840@nets13ha.ww300.siemens.net> Message-ID: <200605222016.k4MKGn4U010968@mail.grid4.com> [root at marge root]# rpm -qa | grep gcc compat-gcc-c++-7.3-2.96.128 compat-gcc-7.3-2.96.128 libgcc-3.2.3-54 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Masopust, Christian Sent: Monday, May 22, 2006 3:55 PM To: Scott Bierma; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C could you run "which gcc" ? what does "rpm -qa | grep gcc" show? chris -- "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 _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 9:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Troubles compiling with C Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [root at marge nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## --------- ## ## Platform. ## ## --------- ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## ----------------- ## ## Output variables. ## ## ----------------- ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl='' command_grp='' command_user='' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686'TA='${INSTALL} -m 644' host_os='linux-gnu' host_vendor='pc' htmurl='' includedir='${prefix}/include' infodir='${prefix}/info' init_dir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lockfile='' mandir='${prefix}/man' nagios_grp='' nagios_name='' nagios_user='' nagiostats_name='' oldincludedir='/usr/include' prefix='/usr/local/nagios' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3739 bytes Desc: not available URL: From jhmartin at toger.us Mon May 22 22:20:48 2006 From: jhmartin at toger.us (Jason Martin) Date: Mon, 22 May 2006 13:20:48 -0700 Subject: blagging In-Reply-To: <1148328589.15795.33.camel@localhost> References: <161A23FF529F614582A5C1F469FA7B6C0C83C5@indigo.G2Support.local> <1148326280.15795.25.camel@localhost> <302ce8b50605221241k2fa51861w6e52b8e5d0b43fd2@mail.gmail.com> <1148327315.15795.30.camel@localhost> <20060522200357.GD20902@mal.toger.us> <1148328589.15795.33.camel@localhost> Message-ID: <20060522202048.GE20902@mal.toger.us> On Mon, May 22, 2006 at 03:09:49PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 13:03 -0700, Jason Martin wrote: > > So what are the requirements again? Install a stock Linux > > distribution, install Nagios, install plugins, install a stock web > > config gui tool, and install the client portion of the windows > > agents? > > If you believe in your heart that it will be that simple...well...bless > you, and good luck. > You've apparently never done consulting work. It depends on the task. If the request was "wouldn't it be nice if there was a VMware-player compatible configuration such that someone could drop this in and be able to try a very basic Nagios installation, assuming they had basic UNIX skills" then it would be possible. If the request is "Please give me a Nagios installation that I will never have to think about, has space-shuttle level documentation, and is compatible with every system and configuration I have without fail and can totally configure itself without any human intervention" then its a totally different deal. -Jason Martin -- 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 JasonFrank at srcp.com Mon May 22 22:20:33 2006 From: JasonFrank at srcp.com (Frank, Jason) Date: Mon, 22 May 2006 15:20:33 -0500 Subject: Troubles compiling with C Message-ID: <741E24F735AED141B61948AC155E7DAA9B1486@CORPDALLMSG05.na.srcp.net> You didn't give us the output of "which gcc" But from your package list, I would surmise that you can't compile with C because you have no C compiler installed. Try installing the gcc package, what you have listed are support libraries. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 3:19 PM To: 'Masopust, Christian'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C [root at marge root]# rpm -qa | grep gcc compat-gcc-c++-7.3-2.96.128 compat-gcc-7.3-2.96.128 libgcc-3.2.3-54 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Masopust, Christian Sent: Monday, May 22, 2006 3:55 PM To: Scott Bierma; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C could you run "which gcc" ? what does "rpm -qa | grep gcc" show? chris -- "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 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 9:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Troubles compiling with C Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [root at marge nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## --------- ## ## Platform. ## ## --------- ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## ----------------- ## ## Output variables. ## ## ----------------- ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl='' command_grp='' command_user='' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686'TA='${INSTALL} -m 644' host_os='linux-gnu' host_vendor='pc' htmurl='' includedir='${prefix}/include' infodir='${prefix}/info' init_dir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lockfile='' mandir='${prefix}/man' nagios_grp='' nagios_name='' nagios_user='' nagiostats_name='' oldincludedir='/usr/include' prefix='/usr/local/nagios' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3739 bytes Desc: image001.jpg URL: From Oliver.Marshall at g2support.com Mon May 22 22:24:44 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Mon, 22 May 2006 21:24:44 +0100 Subject: blagging In-Reply-To: <20060522202048.GE20902@mal.toger.us> References: <20060522202048.GE20902@mal.toger.us> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83CB@indigo.G2Support.local> Yeah, defo not after the latter. Would be happy with something that worked, and that would get me started, that I could look at to learn how to add various commands to nagios myself. I know enough about linux to learn from someone elses install :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Jason Martin Sent: 22 May 2006 21:21 To: jeff vier Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] blagging On Mon, May 22, 2006 at 03:09:49PM -0500, jeff vier wrote: > On Mon, 2006-05-22 at 13:03 -0700, Jason Martin wrote: > > So what are the requirements again? Install a stock Linux > > distribution, install Nagios, install plugins, install a stock web > > config gui tool, and install the client portion of the windows > > agents? > > If you believe in your heart that it will be that > simple...well...bless you, and good luck. > You've apparently never done consulting work. It depends on the task. If the request was "wouldn't it be nice if there was a VMware-player compatible configuration such that someone could drop this in and be able to try a very basic Nagios installation, assuming they had basic UNIX skills" then it would be possible. If the request is "Please give me a Nagios installation that I will never have to think about, has space-shuttle level documentation, and is compatible with every system and configuration I have without fail and can totally configure itself without any human intervention" then its a totally different deal. -Jason Martin -- 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 sbierma at grid4.com Mon May 22 22:29:22 2006 From: sbierma at grid4.com (Scott Bierma) Date: Mon, 22 May 2006 16:29:22 -0400 Subject: Troubles compiling with C In-Reply-To: <741E24F735AED141B61948AC155E7DAA9B1486@CORPDALLMSG05.na.srcp.net> References: <741E24F735AED141B61948AC155E7DAA9B1486@CORPDALLMSG05.na.srcp.net> Message-ID: <200605222027.k4MKRc8p011076@mail.grid4.com> [root at marge root]# which gcc /usr/bin/which: no gcc in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin: /usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) [root at marge root]# This would appear to support what you are saying,huh? Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS _____ From: Frank, Jason [mailto:JasonFrank at srcp.com] Sent: Monday, May 22, 2006 4:21 PM To: Scott Bierma; Masopust, Christian; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C You didn't give us the output of "which gcc" But from your package list, I would surmise that you can't compile with C because you have no C compiler installed. Try installing the gcc package, what you have listed are support libraries. _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 3:19 PM To: 'Masopust, Christian'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C [root at marge root]# rpm -qa | grep gcc compat-gcc-c++-7.3-2.96.128 compat-gcc-7.3-2.96.128 libgcc-3.2.3-54 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Masopust, Christian Sent: Monday, May 22, 2006 3:55 PM To: Scott Bierma; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C could you run "which gcc" ? what does "rpm -qa | grep gcc" show? chris -- "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 _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 9:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Troubles compiling with C Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [root at marge nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## --------- ## ## Platform. ## ## --------- ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## ----------------- ## ## Output variables. ## ## ----------------- ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl='' command_grp='' command_user='' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686'TA='${INSTALL} -m 644' host_os='linux-gnu' host_vendor='pc' htmurl='' includedir='${prefix}/include' infodir='${prefix}/info' init_dir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lockfile='' mandir='${prefix}/man' nagios_grp='' nagios_name='' nagios_user='' nagiostats_name='' oldincludedir='/usr/include' prefix='/usr/local/nagios' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3739 bytes Desc: not available URL: From JasonFrank at srcp.com Mon May 22 22:30:29 2006 From: JasonFrank at srcp.com (Frank, Jason) Date: Mon, 22 May 2006 15:30:29 -0500 Subject: Troubles compiling with C Message-ID: <741E24F735AED141B61948AC155E7DAA9B1489@CORPDALLMSG05.na.srcp.net> Yes, you should have gcc installed in /usr/bin. It's in your path (from the which output) but it's not here. ________________________________ From: Scott Bierma [mailto:sbierma at grid4.com] Sent: Monday, May 22, 2006 3:29 PM To: Frank, Jason; 'Masopust, Christian'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C [root at marge root]# which gcc /usr/bin/which: no gcc in (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin: /usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin:/root/bin) [root at marge root]# This would appear to support what you are saying,huh? Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS ________________________________ From: Frank, Jason [mailto:JasonFrank at srcp.com] Sent: Monday, May 22, 2006 4:21 PM To: Scott Bierma; Masopust, Christian; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C You didn't give us the output of "which gcc" But from your package list, I would surmise that you can't compile with C because you have no C compiler installed. Try installing the gcc package, what you have listed are support libraries. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 3:19 PM To: 'Masopust, Christian'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C [root at marge root]# rpm -qa | grep gcc compat-gcc-c++-7.3-2.96.128 compat-gcc-7.3-2.96.128 libgcc-3.2.3-54 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Masopust, Christian Sent: Monday, May 22, 2006 3:55 PM To: Scott Bierma; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Troubles compiling with C could you run "which gcc" ? what does "rpm -qa | grep gcc" show? chris -- "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 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Scott Bierma Sent: Monday, May 22, 2006 9:53 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Troubles compiling with C Can anyone help us with installing Nagios? At first glance it seems that there was no C compiler to build the program install, but I double checked and the packages are there. When running the configure script per the Installation Directions we get the following error: [root at marge nagios]# ./configure --prefix=/usr/local/nagios checking for a BSD-compatible install... /usr/bin/install -c checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for gcc... no checking for cc... no checking for cc... no checking for cl... no configure: error: no acceptable C compiler found in $PATH See `config.log' for more details. Here is the config.log file: This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.59. Invocation command line was $ ./configure --prefix=/usr/local/nagios ## --------- ## ## Platform. ## ## --------- ## hostname = marge.grid4.com uname -m = i686 uname -r = 2.4.21-40.ELsmp uname -s = Linux uname -v = #1 SMP Thu Feb 2 22:22:39 EST 2006 /usr/bin/uname -p = unknown /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/kerberos/sbin PATH: /usr/kerberos/bin PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /sbin PATH: /bin PATH: /usr/sbin PATH: /usr/bin PATH: /usr/X11R6/bin PATH: /root/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:1356: checking for a BSD-compatible install configure:1411: result: /usr/bin/install -c configure:1430: checking build system type configure:1448: result: i686-pc-linux-gnu configure:1456: checking host system type configure:1470: result: i686-pc-linux-gnu configure:1525: checking for gcc configure:1554: result: no configure:1605: checking for cc configure:1634: result: no configure:1647: checking for cc configure:1693: result: no configure:1746: checking for cl configure:1775: result: no configure:1789: error: no acceptable C compiler found in $PATH See `config.log' for more details. ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_build=i686-pc-linux-gnu ac_cv_build_alias=i686-pc-linux-gnu ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_host=i686-pc-linux-gnu ac_cv_host_alias=i686-pc-linux-gnu ac_cv_path_install='/usr/bin/install -c' ## ----------------- ## ## Output variables. ## ## ----------------- ## BASEEXTRALIBS='' BROKERLIBS='' BROKER_H='' BROKER_LDFLAGS='' BROKER_O='' CC='' CFLAGS='' CGIEXTRAS='' COMMAND_OPTS='' CPP='' CPPFLAGS='' DEFS='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='' EXEEXT='' GDLIBS='' INITDIR='' INSTALL='/usr/bin/install -c' INSTALLPERLSTUFF='' INSTALL_DAINSTALL_OPTS='' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAIL_PROG='' MOD_CFLAGS='' MOD_LDFLAGS='' OBJEXT='' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PACKDIR='' PATH_SEPARATOR=':' PATH_TO_TRACEROUTE='' PERL='' PERLDIR='' PERLLIBS='' PERLXSI_O='' SET_MAKE='' SHELL='/bin/sh' SNPRINTF_O='' SOCKETLIBS='' STRIP='' THREADLIBS='' VERSION='' XCDC='' XCDH='' XDDC='' XDDH='' XODC='' XODH='' XPDC='' XPDH='' XRDC='' XRDH='' XSDC='' XSDH='' ac_ct_CC='' bindir='${exec_prefix}/bin' build='i686-pc-linux-gnu' build_alias='' build_cpu='i686' build_os='linux-gnu' build_vendor='pc' cgiurl='' command_grp='' command_user='' datadir='${prefix}/share' exec_prefix='NONE' host='i686-pc-linux-gnu' host_alias='' host_cpu='i686'TA='${INSTALL} -m 644' host_os='linux-gnu' host_vendor='pc' htmurl='' includedir='${prefix}/include' infodir='${prefix}/info' init_dir='' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localstatedir='${prefix}/var' lockfile='' mandir='${prefix}/man' nagios_grp='' nagios_name='' nagios_user='' nagiostats_name='' oldincludedir='/usr/include' prefix='/usr/local/nagios' program_transform_name='s,x,x,' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_BUGREPORT "" #define PACKAGE_NAME "" #define PACKAGE_STRING "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" configure: exit 1 Scott Bierma SoftSwitch Technician (248)244-8100 ext 306 sbierma at grid4.com VOICE ? INTERNET ? PRIVATE DATA ? MANAGED SOLUTIONS This message (including any attachments) may contain confidential or otherwise privileged information and is intended only for the individual(s) to which it is addressed. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secured or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message or that arise as a result of e-mail transmission. If verification is required please request a hard-copy version from the sender. SOURCECORP, Incorporated www.srcp.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 3739 bytes Desc: image001.jpg URL: From holger at CIS.FU-Berlin.DE Mon May 22 22:42:18 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 22 May 2006 22:42:18 +0200 Subject: Host retry interval In-Reply-To: <200605221845.k4MIjOB20778@panix2.panix.com> References: <200605221845.k4MIjOB20778@panix2.panix.com> Message-ID: <20060522204218.GA4963954@CIS.FU-Berlin.DE> * Kyle Tucker [2006-05-22 14:45]: > I have many hosts that are constantly giving me DOWN/UP state as they > are unreachable for certain periods. In an attempt to give the system more > time to become available, I increased the max_check_attempts from 2 to 5. At > 2 the interval between retry attempts was 10 seconds. Now at 5, the interval > is 7 seconds. I'd like to have this interval higher for some hosts, but > there's a real scary note on the hosts check_interval option to not use it > if you can help it. Using `check_interval' within a host definition would activate regularly scheduled checks of the host as opposed to checking the host on-demand only. The directive you'd want is `retry_check_interval', but such a thing doesn't exist for host checks. > Is this my only option or is there a better way? With Nagios 2.x, there is no "real" solution, you can only use workarounds such as defining host escalations in order to suppress the first notification. AFAICS, this will be solved with Nagios 3.x. > I am also following the thread titled "Workaround for 'Host DOWN' > false-positives" This might be another useful workaround, haven't looked at it yet. 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 holger at CIS.FU-Berlin.DE Mon May 22 22:44:50 2006 From: holger at CIS.FU-Berlin.DE (Holger Weiss) Date: Mon, 22 May 2006 22:44:50 +0200 Subject: Host retry interval In-Reply-To: References: <200605221945.k4MJjBj16680@panix2.panix.com> Message-ID: <20060522204450.GA4966471@CIS.FU-Berlin.DE> * Eli Stair [2006-05-22 12:49]: > HOST check mode is initiated once the service reaches the HARD state, which > comes on the last allowed check as defined by max_check_attempts for that > service. Ergo, if you set your service checks max to 15, after 15 minutes > (assuming your delay is 60 seconds) your service will hit a HARD CRITICAL, > and host checks will fire. That's not correct, host checks are performed as soon as a service check returns some non-OK status. > On 5/22/06 12:45 PM, "Kyle Tucker" wrote: > > According to the docs, "Nagios checks the status of a host is when a service > > check results in a non-OK status.". Is that when it reaches a HARD state > > after all iterations of max_check_attempts are done or as soon as it goes to > > non-OK (SOFT) state? If the latter, which seems to be when it's kicking off > > host checks, I don't see how increasing the service checks will help. True, the `max_check_attempts' and `retry_check_interval' settings for the service won't affect your problem. 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 pitchfork at ederdrom.de Mon May 22 22:51:07 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 22 May 2006 22:51:07 +0200 Subject: Host retry interval In-Reply-To: <20060522204450.GA4966471@CIS.FU-Berlin.DE> References: <200605221945.k4MJjBj16680@panix2.panix.com> <20060522204450.GA4966471@CIS.FU-Berlin.DE> Message-ID: <200605222251.10757.pitchfork@ederdrom.de> Am Montag 22 Mai 2006 22:44 schrieb Holger Weiss: > * Eli Stair [2006-05-22 12:49]: >>.... > > for that service. Ergo, if you set your service checks max to 15, after > > 15 minutes (assuming your delay is 60 seconds) your service will hit a > > HARD CRITICAL, and host checks will fire. > > That's not correct, host checks are performed as soon as a service check > returns some non-OK status. Yes thats right. A service never reaches the max_check_attempts if the host check return not OK J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From az at whoever.org Mon May 22 23:07:04 2006 From: az at whoever.org (Az) Date: Tue, 23 May 2006 07:07:04 +1000 Subject: usb gsm modems for linux In-Reply-To: <447120DD.4060803@strategicdata.com.au> References: <447120DD.4060803@strategicdata.com.au> Message-ID: <447227F8.8000004@whoever.org> Hi Geoff, I used to get my serial based units from OzTrak, but they seem to have gone belly up. I did find another place in Aus that apparently carries these sorts of items. http://www.esis.com.au/Modems-industrial/Modems-industrial.htm#GSM_Modems Scroll down to the section 'Twist GSM Desktop Modem - Dual Band - RS232 or USB'. I've never used a USB one, but if you get it working let us know. :) Cheers. ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Mon May 22 23:37:47 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 22 May 2006 23:37:47 +0200 (CEST) Subject: Troubles compiling with C In-Reply-To: <200605221951.k4MJpRdQ010748@mail.grid4.com> References: <200605221951.k4MJpRdQ010748@mail.grid4.com> Message-ID: On Mon, 22 May 2006, Scott Bierma wrote: > Can anyone help us with installing Nagios? Get the packaged version. Like the ones from Dag Wiers as pointed to at http://www.nagios.org/download/ .... > At first glance it seems that there was no C compiler to build the program > install, but I double checked and the packages are there. When running the > configure script per the Installation Directions we get the following error: ..... Based on the various messages I do NOT recommend you to compile things yourself. You will have a steep enough learning curve at it is now. 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 admin.server at Ntlworld.com Tue May 23 00:36:20 2006 From: admin.server at Ntlworld.com (Mark Duffy) Date: Mon, 22 May 2006 23:36:20 +0100 Subject: trouble with statusmap.cgi Message-ID: <20060522223624.SEOQ16286.aamtaout03-winn.ispmail.ntl.com@md1> Hi people, No doubt you have seen this many times before, for some reason statusmap.cgi was not in the sbin folder when I first installed Nagios, I have since installed gdlib & its pre-requisites and overlaid Nagios but I still don't have a statusmap.cgi The only thing that shows about Gdlibs in config.log is: GDLIBS='-lgd -lz -lm -lpng' And the only warnings I receive in Config.log are: conftest.c:26: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:75: warning: incompatible implicit declaration of built-in function 'exit' conftest.c:82: warning: conflicting types for built-in function 'strdup' conftest.c:83: warning: conflicting types for built-in function 'strstr' conftest.c:104: warning: conflicting types for built-in function 'snprintf' Has anyone any ideas? Thanks in advance, Mark Duffy ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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.Akins at emoryhealthcare.org Tue May 23 04:32:18 2006 From: Bill.Akins at emoryhealthcare.org (Bill Akins) Date: Mon, 22 May 2006 22:32:18 -0400 Subject: blagging In-Reply-To: <20060522203203.7CB0913320@sc8-sf-spam2.sourceforge.net> References: <20060522203203.7CB0913320@sc8-sf-spam2.sourceforge.net> Message-ID: <44723BF2.755E.0009.0@emoryhealthcare.org> What about Nagios on CD instead? http://www.nagiosexchange.org/NagiosOnCD.126.0.html Maybe you can run P2V after installation if you must have a VM . -----Original Message----- Yeah, defo not after the latter.=20 Would be happy with something that worked, and that would get me started, that I could look at to learn how to add various commands to nagios myself.=20 I know enough about linux to learn from someone elses install :) ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 g.rumatowski at gmx.net Tue May 23 09:29:17 2006 From: g.rumatowski at gmx.net (Grzegorz Rumatowski) Date: Tue, 23 May 2006 09:29:17 +0200 Subject: Problem with service dependencies Message-ID: <4472B9CD.7040003@gmx.net> Hello, I've defined following service deps: define servicedependency{ host_name sonorys_gateway service_description PING dependent_host_name sonorys_checkpoint dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name SILns1,SILns2,SILns3 dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns1 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns2 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns3 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name YESSS-Firewall service_description PING dependent_host_name onein1,onein2,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein1 service_description PING dependent_host_name onein1 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein2 service_description PING dependent_host_name onein2 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein3 service_description PING dependent_host_name onein3 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name clst1 at YESSS service_description PING dependent_host_name clst1 at YESSS dependent_service_description SSH,Disk Space notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name clst2 at YESSS service_description PING dependent_host_name clst2 at YESSS dependent_service_description SSH,Disk Space notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein1 service_description SSH dependent_host_name onein1 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name onein2 service_description SSH dependent_host_name onein2 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name onein3 service_description SSH dependent_host_name onein3 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name clst1 at YESSS service_description SSH dependent_host_name clst1 at YESSS dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name clst2 at YESSS service_description SSH dependent_host_name clst2 at YESSS dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name SILns1 service_description PING dependent_host_name onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } During checking nagios config with nagios -v I'm getting: Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein1'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein1'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein2'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein2'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein3'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein3'! What is the problem? I don't really understand it Gregory ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Tue May 23 09:50:03 2006 From: trasko at gmail.com (Trask) Date: Tue, 23 May 2006 00:50:03 -0700 Subject: How to reduce a very high latency number In-Reply-To: References: <735379850605171109y118b5974w7d32cafb80cff672@mail.gmail.com> Message-ID: <735379850605230050p3cf3f78bt92bf82e29bcda00b@mail.gmail.com> On 5/22/06, srunschke at abit.de wrote: > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > > To me this is obviously a performance issue related to hardware. > Your machines have way too few RAM. It is totally not possible to > run 1800 checks on a 512MB machine in a timely manner. > I figured this out this past Saturday. It is not any lack of the hardware. I was seeing negligible load nor an excessive use of memory. No configuration change I made seemed to have any appreciable effect on the latency times I was getting. I ended up doing a "top" with 1 second intervals and just watching it for awhile. I noticed that sometimes there would be a good number of nagios processes 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 processes. Although I do not know exactly *why* this was happening, it ends up the during the time where there was 2-4 processes running, 2 of them were always the"submit_passive_check" script and "send_nsca". It appears that this is being done serially (ie not in parallel) and ends up blocking subsequent checks until they are done. I would see these 2 processes running (with steadily increasing PIDs) for up to a minute and then a short-lived (4-5 seconds) "explosion" of nagios processes (service/host checks). After this flurry of activity, it would be another 60 seconds or so of just 2-4 processes. I resolved this problem by changing by "submit_passive_check" script. Below are some sample scripts, both old and new. The short of it is like this: Previously, the "submit_passive_check" script did a printf of the data in the appropriate format and piped it to the "send_nsca" command (in a shell script). I have eliminated this bottleneck by having "submit_passive_check" redirect its output to a named pipe and then having another script feed "send_nsca" with that data as it comes in to the named pipe. Latency times have dropped from the 600-700 seconds to 0.2 seconds on the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. That's more like it! Below are a few scripts w/ notes as to what each one is. Thanks to everyone who offered help. ~trask ------------------------------------------------- Note that I have stripped a lot of the comments to keep things short and I have made little edits here and there for the sake of clarity (or to protect the innocent) without re-testing these scripts. . I hope someone finds these useful. ------------------------------------------------- Old "submit_passive_check script" (nearly identical to the example in the docs). This script just formats the data from nagios in the proper way and pipes it to the "send_nsca" program to send the results to the central server. #!/bin/sh # 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=-1 ;; esac # pipe the service check info into the send_nsca program, which # in turn transmits the data to the nsca daemon on the central # monitoring server # $1: host # $2: srvc # $4: which nagios server this is coming from (to aid interface in central server) # $5: output from service check /usr/bin/printf "%s\t%s\t%s\t[%s] %s\n" "$1" "$2" "$return_code" "$4" "$5" | /usr/local/nagios/bin/send_nsca -H nag4 -p 5669 -c /usr/local/nagios/etc/send_nsca.cfg ------------------------------------------------- New "submit_passive_check" script. This redirects the data to a named pipe -- it is much quicker to do this than wait for send_nsca to return (or whatever the hang up is with using the above script). It is essentially the same as the above script, except for the 3 lines below. It perhaps would be faster using an embedded perl script, but from my results it is clearly fast enough. NSCAPIPE=/usr/local/nagios/var/rw/send_through_nsca if [ ! -p "$NSCAPIPE" ]; then exit ; fi /usr/bin/printf "%s\t%s\t%s\t[%s] %s\n" "$1" "$2" "$return_code" "$4" "$5" > $NSCAPIPE ------------------------------------------------- Perl script I called "nsca_listener.pl". I am a little wary of posting it because it is likely not too solid (I haven't done much testing), but it has been working for about 14 hours now and it hasn't made any zombies or otherwise misbehaved. All it does is check the named pipe "/usr/local/nagios/var/rw/send_through_nsca" for data and pipes it to the "send_nsca" script. Initially it did this serially, but that was only able to send out a single result slightly faster than 1 per second. Using a fork I sped it up considerably, but I have not added much in the way of sanity checking. You can switch it back to a serialized version by commenting out the &forkSendNSCA call and uncommenting the 3 preceding lines. Notes: 1) I totally ripped of the fork code from some tutorial online; 2) uid and gid 5668 is the nagios user in the chmod command; 3) comment out "Proc::Daemon::Init;" to get it run in the foreground; 4) lastly, if you happen to have a file named the same as the named pipe this script uses, it will delete it and stick a named pipe there without asking you. #!/usr/bin/perl use Proc::Daemon; use POSIX qw(setsid); use strict; my $NDIR = "/usr/local/nagios"; my $FIFO = "$NDIR/var/rw/send_through_nsca"; my $SEND_NSCA = "$NDIR/bin/send_nsca -n -H nag4 -p 5669 -c /usr/local/nagios/etc/send_nsca.cfg"; # daemonize Proc::Daemon::Init; $SIG{'INT'} = sub { close(SN); exit;}; while (1) { &makeFifo($FIFO) unless (-p $FIFO); open(FIFO, "$FIFO") || die "cannot read from $FIFO: $!"; while() { #print STDERR "On line: $_"; #open(SN,"|$SEND_NSCA"); # if eof(SN); #print SN; #close(SN); &forkSendNSCA($_); } } sub makeFifo { my ($FIFO) = @_; unless (-p $FIFO) { unlink $FIFO; system('mknod', $FIFO, 'p') && die "can't mknod $FIFO: $!"; } chmod 0660, $FIFO; chown 5668, 5668, $FIFO; } sub forkSendNSCA { my ($t) = @_; $SIG{CHLD} = 'IGNORE'; defined (my $kid = fork) or die "Cannot fork: $!\n"; if ($kid) { #print STDERR "Parent $$ has finished, kid's PID: $kid\n"; } else { chdir '/' or die "Can't chdir to /: $!"; open STDIN, '/dev/null' or die "Can't read /dev/null: $!"; open STDOUT, '>/dev/null' or die "Can't write to /dev/null: $!"; open STDERR, '>/dev/null' or die "Can't write to /dev/null: $!"; setsid or die "Can't start a new session: $!"; select STDERR; local $| = 1; open(SN,"|$SEND_NSCA"); # if eof(SN); print SN "$t"; close(SN); CORE::exit(0); # terminate the process } } ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 Oliver.Marshall at g2support.com Tue May 23 11:44:42 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Tue, 23 May 2006 10:44:42 +0100 Subject: NSCPlus (aka clearly im stupid) In-Reply-To: <735379850605230050p3cf3f78bt92bf82e29bcda00b@mail.gmail.com> References: <735379850605230050p3cf3f78bt92bf82e29bcda00b@mail.gmail.com> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83D1@indigo.G2Support.local> Ok, having given up on using NSClient coz it don't work for me, I have turned to NSCPlus (NSClient++). Thing is, and it's clearly me being stupid, I cant find the server side commands anywhere. I mean, I know the command syntax etc, but in NSClient there was a check_nt file that you put in the libexec folder but with NSClient++, though the command.cfg entries point to additional linux commands (I want to say executables), I cant find those files anywhere. Are these meant to be part of the NSCPlus download? If so, I cant see them. :S Olly ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 prandal at herefordshire.gov.uk Tue May 23 12:01:40 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 23 May 2006 11:01:40 +0100 Subject: NSCPlus (aka clearly im stupid) Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580D210A02@isabella.herefordshire.gov.uk> There is a check_nt as part of the standard nagios plugins (http://nagiosplug.sourceforge.net/). The only difference between that and the check_nt which came with pnsclient.exe is the fileage checking (which isn't implemented yet in nsclient++ - or if it is it doesn't work). You can use NSClient++'s CheckFile via NRPE instead. Also the old nsclient used port 1248, nsclient++ defaults to 12489 (configurable in nsc.ini). 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 Oliver Marshall > Sent: 23 May 2006 10:45 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCPlus (aka clearly im stupid) > > Ok, having given up on using NSClient coz it don't work for me, I have > turned to NSCPlus (NSClient++). Thing is, and it's clearly me being > stupid, I cant find the server side commands anywhere. I mean, I know > the command syntax etc, but in NSClient there was a check_nt file that > you put in the libexec folder but with NSClient++, though the > command.cfg entries point to additional linux commands (I want to say > executables), I cant find those files anywhere. > > Are these meant to be part of the NSCPlus download? If so, I cant see > them. > > > :S > > Olly > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your 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 Oliver.Marshall at g2support.com Tue May 23 12:18:02 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Tue, 23 May 2006 11:18:02 +0100 Subject: NSCPlus (aka clearly im stupid) In-Reply-To: <86144ED6CE5B004DA23E1EAC0B569B580D210A02@isabella.herefordshire.gov.uk> References: <86144ED6CE5B004DA23E1EAC0B569B580D210A02@isabella.herefordshire.gov.uk> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83D2@indigo.G2Support.local> So....If I'm using NSCPlus, is there anything to copy to the server ? I have just sat down and re-read the documentation for NSCPlus and the one line "especially as NRPE plug-in is the one that does the actual execution." Would imply that I need to also install the NRPE plug-in as well (we're talking server-side here). If I have to enter my new commands in to command.cfg, and those commands have to point to a file to execute with various params, then I guess my question is where is that file (what is that file?) ? /me stops drinking so much coffee. -----Original Message----- From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Sent: 23 May 2006 11:02 To: Oliver Marshall; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) There is a check_nt as part of the standard nagios plugins (http://nagiosplug.sourceforge.net/). The only difference between that and the check_nt which came with pnsclient.exe is the fileage checking (which isn't implemented yet in nsclient++ - or if it is it doesn't work). You can use NSClient++'s CheckFile via NRPE instead. Also the old nsclient used port 1248, nsclient++ defaults to 12489 (configurable in nsc.ini). 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 Oliver Marshall > Sent: 23 May 2006 10:45 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCPlus (aka clearly im stupid) > > Ok, having given up on using NSClient coz it don't work for me, I have > turned to NSCPlus (NSClient++). Thing is, and it's clearly me being > stupid, I cant find the server side commands anywhere. I mean, I know > the command syntax etc, but in NSClient there was a check_nt file that > you put in the libexec folder but with NSClient++, though the > command.cfg entries point to additional linux commands (I want to say > executables), I cant find those files anywhere. > > Are these meant to be part of the NSCPlus download? If so, I cant see > them. > > > :S > > Olly > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web > services, security? > Get stuff done quickly with pre-integrated technology to make > your 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 ahh at inbodan.dk Tue May 23 12:01:01 2006 From: ahh at inbodan.dk (Allan Holdt Hansen INBODAN) Date: Tue, 23 May 2006 12:01:01 +0200 Subject: NSCPlus (aka clearly im stupid) Message-ID: <2F04E1B72633234494667B5DB0B8B817013098@TULKAS.inbodan.dk> Depends on how you choose to run it. NSCPlus can either be used as an Nsclient replacement where you use check_nt or as a replacement for nrpe (nrpe_nt). In this case you use check_nrpe. Check the docs at http://nscplus.medin.name Regards Allan -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Oliver Marshall Sent: 23. maj 2006 11:45 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSCPlus (aka clearly im stupid) Ok, having given up on using NSClient coz it don't work for me, I have turned to NSCPlus (NSClient++). Thing is, and it's clearly me being stupid, I cant find the server side commands anywhere. I mean, I know the command syntax etc, but in NSClient there was a check_nt file that you put in the libexec folder but with NSClient++, though the command.cfg entries point to additional linux commands (I want to say executables), I cant find those files anywhere. Are these meant to be part of the NSCPlus download? If so, I cant see them. :S Olly ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make 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 lennart.kvam at softronic.se Tue May 23 12:44:18 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Tue, 23 May 2006 12:44:18 +0200 Subject: Check that a process is running! Message-ID: <308D3417BAD2104895AE72D879B815B602988F89@stsstomail01.softronic.se> Hello all! I want to monitor a that a process is running on a solaris8 box, I want a nagios to notify me if the procs dies or if more than one is running, anyone know what plugin to use? I'v tried check_procs but dont get it to work! Please help:-) Regards Lelle -------------- next part -------------- An HTML attachment was scrubbed... URL: From prandal at herefordshire.gov.uk Tue May 23 12:50:37 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 23 May 2006 11:50:37 +0100 Subject: NSCPlus (aka clearly im stupid) Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580D210A17@isabella.herefordshire.gov.uk> Or both, the choice isn't exclusive. 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 Allan Holdt Hansen INBODAN > Sent: 23 May 2006 11:01 > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) > > Depends on how you choose to run it. > > NSCPlus can either be used as an Nsclient replacement where you use > check_nt or as a replacement for nrpe (nrpe_nt). In this case you use > check_nrpe. > > Check the docs at http://nscplus.medin.name > > Regards > Allan > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Oliver > Marshall > Sent: 23. maj 2006 11:45 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NSCPlus (aka clearly im stupid) > > Ok, having given up on using NSClient coz it don't work for me, I have > turned to NSCPlus (NSClient++). Thing is, and it's clearly me being > stupid, I cant find the server side commands anywhere. I mean, I know > the command syntax etc, but in NSClient there was a check_nt file that > you put in the libexec folder but with NSClient++, though the > command.cfg entries point to additional linux commands (I want to say > executables), I cant find those files anywhere. > > Are these meant to be part of the NSCPlus download? If so, I cant see > them. > > > :S > > Olly > > > ------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, > security? > Get stuff done quickly with pre-integrated technology to make 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&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 23 12:47:57 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 23 May 2006 11:47:57 +0100 Subject: NSCPlus (aka clearly im stupid) Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580D210A16@isabella.herefordshire.gov.uk> Your use of the word "server" is way too confusing for my little brain. I'm monitoring windows servers from a linux server... Nuff said on that... So, on the Nagios box, you'll need both the nagios plugins (http://nagiosplug.sf.net) and NRPE (http://www.nagios.org/download/) installed. Use of the NSCPlus modules is documented at http://nscplus.medin.name/index.php/CheckCommands Basic familiarity with nagios commands and services should be enough to get you started, but also have a look at the NSCPlus Help forum over at http://sourceforge.net/forum/?group_id=131326. 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 Oliver Marshall > Sent: 23 May 2006 11:18 > To: Randal, Phil; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) > > So....If I'm using NSCPlus, is there anything to copy to the server ? > > I have just sat down and re-read the documentation for NSCPlus and the > one line "especially as NRPE plug-in is the one that does the actual > execution." Would imply that I need to also install the NRPE > plug-in as > well (we're talking server-side here). > > If I have to enter my new commands in to command.cfg, and > those commands > have to point to a file to execute with various params, then > I guess my > question is where is that file (what is that file?) ? > > /me stops drinking so much coffee. > > -----Original Message----- > From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Sent: 23 May 2006 11:02 > To: Oliver Marshall; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) > > There is a check_nt as part of the standard nagios plugins > (http://nagiosplug.sourceforge.net/). > > The only difference between that and the check_nt which came with > pnsclient.exe is the fileage checking (which isn't implemented yet in > nsclient++ - or if it is it doesn't work). > > You can use NSClient++'s CheckFile via NRPE instead. > > Also the old nsclient used port 1248, nsclient++ defaults to 12489 > (configurable in nsc.ini). > > 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 Oliver Marshall > > Sent: 23 May 2006 10:45 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSCPlus (aka clearly im stupid) > > > > Ok, having given up on using NSClient coz it don't work for > me, I have > > turned to NSCPlus (NSClient++). Thing is, and it's clearly me being > > stupid, I cant find the server side commands anywhere. I > mean, I know > > the command syntax etc, but in NSClient there was a > check_nt file that > > you put in the libexec folder but with NSClient++, though the > > command.cfg entries point to additional linux commands (I > want to say > > executables), I cant find those files anywhere. > > > > Are these meant to be part of the NSCPlus download? If so, > I cant see > > them. > > > > > > :S > > > > Olly > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your 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&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 Oliver.Marshall at g2support.com Tue May 23 13:12:48 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Tue, 23 May 2006 12:12:48 +0100 Subject: NSCPlus (aka clearly im stupid) In-Reply-To: <86144ED6CE5B004DA23E1EAC0B569B580D210A16@isabella.herefordshire.gov.uk> References: <86144ED6CE5B004DA23E1EAC0B569B580D210A16@isabella.herefordshire.gov.uk> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83D7@indigo.G2Support.local> Sorry, yes, you are right. I meant the nagios server, with the "clients" being windows servers running nagios client. I've managed to get my head around the nagios services and commands enough to know that I am missing something :) I will say though, for the sake of google, that nagios would be far more accessible if it came with a web based configuration util out of the box. -----Original Message----- From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Sent: 23 May 2006 11:48 To: Oliver Marshall; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) Your use of the word "server" is way too confusing for my little brain. I'm monitoring windows servers from a linux server... Nuff said on that... So, on the Nagios box, you'll need both the nagios plugins (http://nagiosplug.sf.net) and NRPE (http://www.nagios.org/download/) installed. Use of the NSCPlus modules is documented at http://nscplus.medin.name/index.php/CheckCommands Basic familiarity with nagios commands and services should be enough to get you started, but also have a look at the NSCPlus Help forum over at http://sourceforge.net/forum/?group_id=131326. 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 Oliver Marshall > Sent: 23 May 2006 11:18 > To: Randal, Phil; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) > > So....If I'm using NSCPlus, is there anything to copy to the server ? > > I have just sat down and re-read the documentation for NSCPlus and the > one line "especially as NRPE plug-in is the one that does the actual > execution." Would imply that I need to also install the NRPE > plug-in as > well (we're talking server-side here). > > If I have to enter my new commands in to command.cfg, and > those commands > have to point to a file to execute with various params, then > I guess my > question is where is that file (what is that file?) ? > > /me stops drinking so much coffee. > > -----Original Message----- > From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Sent: 23 May 2006 11:02 > To: Oliver Marshall; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) > > There is a check_nt as part of the standard nagios plugins > (http://nagiosplug.sourceforge.net/). > > The only difference between that and the check_nt which came with > pnsclient.exe is the fileage checking (which isn't implemented yet in > nsclient++ - or if it is it doesn't work). > > You can use NSClient++'s CheckFile via NRPE instead. > > Also the old nsclient used port 1248, nsclient++ defaults to 12489 > (configurable in nsc.ini). > > 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 Oliver Marshall > > Sent: 23 May 2006 10:45 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSCPlus (aka clearly im stupid) > > > > Ok, having given up on using NSClient coz it don't work for > me, I have > > turned to NSCPlus (NSClient++). Thing is, and it's clearly me being > > stupid, I cant find the server side commands anywhere. I > mean, I know > > the command syntax etc, but in NSClient there was a > check_nt file that > > you put in the libexec folder but with NSClient++, though the > > command.cfg entries point to additional linux commands (I > want to say > > executables), I cant find those files anywhere. > > > > Are these meant to be part of the NSCPlus download? If so, > I cant see > > them. > > > > > > :S > > > > Olly > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your 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 Samba at guidemail.com Tue May 23 13:31:38 2006 From: Samba at guidemail.com (Samba) Date: Tue, 23 May 2006 06:31:38 -0500 Subject: NDO Utils Undefined symbol error Message-ID: Hi, I have the NDO Utils 1.3.1 compiled successfully with MySQL. I have the MySQL DB setup and I'm using Nagios 2.0 B4. When I add the Event Broker command to the Nagios.cfg file I get the following error in the Event Log: [05-23-2006 06:27:29] Error: Could not load module /usr/local/nagios/bin/ndomod.o' -> /usr/local/nagios/bin/ndomod.o: undefined symbol: __nagios_object_structure_version [05-23-2006 06:27:28] LOG VERSION: 2.0 [05-23-2006 06:27:28] Nagios 2.0b4 starting... (PID=29744) I have googled and searched the NDO Utils docs with no luck. Thanks, 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 pitchfork at ederdrom.de Tue May 23 13:37:55 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 23 May 2006 13:37:55 +0200 Subject: NDO Utils Undefined symbol error In-Reply-To: References: Message-ID: <200605231337.59052.pitchfork@ederdrom.de> Am Dienstag 23 Mai 2006 13:31 schrieb Samba: > Hi, Hi Josh > I have the NDO Utils 1.3.1 compiled successfully with MySQL. I have the > MySQL DB setup and I'm using Nagios 2.0 B4. NDO 1.3.1 works with nagios > 2.0rc1 The event broker api changed in this release. http://nagios.org/development/changelog.php J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Samba at guidemail.com Tue May 23 13:43:39 2006 From: Samba at guidemail.com (Samba) Date: Tue, 23 May 2006 06:43:39 -0500 Subject: NDO Utils Undefined symbol error Message-ID: What about NDO 1.3, will that work with my version of Nagios? Thanks! Josh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joerg Linge Sent: Tuesday, May 23, 2006 6:38 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDO Utils Undefined symbol error Am Dienstag 23 Mai 2006 13:31 schrieb Samba: > Hi, Hi Josh > I have the NDO Utils 1.3.1 compiled successfully with MySQL. I have the > MySQL DB setup and I'm using Nagios 2.0 B4. NDO 1.3.1 works with nagios > 2.0rc1 The event broker api changed in this release. http://nagios.org/development/changelog.php J?rg ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 pitchfork at ederdrom.de Tue May 23 13:49:19 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 23 May 2006 13:49:19 +0200 Subject: NDO Utils Undefined symbol error In-Reply-To: References: Message-ID: <200605231349.22854.pitchfork@ederdrom.de> Am Dienstag 23 Mai 2006 13:43 schrieb Samba: > What about NDO 1.3, will that work with my version of Nagios? I think 1.2 should work. J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From ies_med at yahoo.es Tue May 23 14:10:03 2006 From: ies_med at yahoo.es (=?iso-8859-1?q?jacobo=20garc=EDa?=) Date: Tue, 23 May 2006 14:10:03 +0200 (CEST) Subject: Undefined subroutine &Embed::Persistent::eval_file called. in check_disk_smb Message-ID: <20060523121003.73139.qmail@web26607.mail.ukl.yahoo.com> Under Nagios i had this problem when running check_disk_smb "Undefined subroutine &Embed::Persistent::eval_file called. " when i run from command line i response on 2 lines, but it seems to be ok. i dont know what to do. ______________________________________________ LLama Gratis a cualquier PC del Mundo. Llamadas a fijos y m?viles desde 1 c?ntimo por minuto. http://es.voice.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 imarks at comcast.net Tue May 23 14:26:56 2006 From: imarks at comcast.net (Ian Marks) Date: Tue, 23 May 2006 08:26:56 -0400 Subject: Nagios Spawning Multiple Processes Message-ID: <4472FF90.5080101@comcast.net> I have been having an issue with Nagios spawning multiple process with PPID = 1. I am now running Nagios 2.3.1 on RHEL 4.3ES after upgrading yesterday from 2.2 and still seeing the same issue. Has anyone else run into this? Thanks, 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 kylet at panix.com Tue May 23 14:31:51 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 23 May 2006 08:31:51 -0400 (EDT) Subject: Host retry interval In-Reply-To: <200605222251.10757.pitchfork@ederdrom.de> References: <200605222251.10757.pitchfork@ederdrom.de> Message-ID: <200605231231.k4NCVpm04726@panix2.panix.com> > > > for that service. Ergo, if you set your service checks max to 15, after > > > 15 minutes (assuming your delay is 60 seconds) your service will hit a > > > HARD CRITICAL, and host checks will fire. > > > > That's not correct, host checks are performed as soon as a service check > > returns some non-OK status. > > Yes thats right. > A service never reaches the max_check_attempts if the host check return not= Thanks for all the insight. And I assume ALL service checks are on hold as soon as host check returns non-OK. What I think I'm finding is that some of my SNMP-based service check scripts are hanging far too long and the Net-SNMP daemon can only handle one connection at a time (doesn't fork a new daemon) so all subsequent checks fail, to include my HOST check as it is a combination of connecting to the snmpd and sshd daemons. The sshd connection is fine but the snmpd times out. I do this as pinging wasn't possible to the systems I'm monitoring as they're spread across the Internet. Should I set my service check timeout to something outrageous (it's already at 90 seconds) or can I tell Nagios to run serialized service checks for certain problematic hosts? -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 nharebottle at vikus.com Tue May 23 14:52:19 2006 From: nharebottle at vikus.com (Norman Harebottle) Date: Tue, 23 May 2006 08:52:19 -0400 Subject: Jabber Custom Notification Script Not Working Message-ID: Hello Everyone, I am wondering if anyone has had success getting the Jabber Notification script written by David Cox to work. I have a user called nagios under which nagios runs and using "su nagios" (on Debian) I can run the script and it notifies just fine. So I am concluding that it is not a security related issue nor a script execution error since it works correctly. However, when running the Perl script in the Embedded Perl environment, something happens (which is not logged) which causes the script to not execute as desired. Can anyone point me in the direction of a logging directive to enable so that I can see any Perl errors that may be generated in the process? Current nagios.cfg logging settings: log_archive_path=/var/log/nagios/archives log_event_handlers=1 log_external_commands=1 log_file=/var/log/nagios2/nagios.log log_host_retries=1 log_initial_states=0 log_notifications=1 log_passive_checks=1 log_rotation_method=d log_service_retries=1 use_syslog=1 Abbbreviated contents of /var/log/nagios2/nagios.log: [1148388211] SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification Test;CRITICAL;notify-by-jabber;No process matching ping found : CRITICAL I appreciate any insight into this problem would be appreciated. Sincerely, Norman H. Harebottle III Software Engineer Vikus Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: From LMAIGNAN at fininfo.fr Tue May 23 15:14:01 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Tue, 23 May 2006 15:14:01 +0200 Subject: https access with check_http Message-ID: <6CF6C2B015865B44B7752C9420D0D71602D77D70@exc2003.int.fininfo.grp> Hello everyone, I try to use the check_http plugin to test an https access, but I don't succeed int it. I try to put the port to 443, but the plugin try to access via HTTP protocol on port 443. How can I use a HTTPS protocol with check_http plugin ? Thanks for any time & help ********************************************************************* Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. ----------------------------------------------------- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Tue May 23 15:22:52 2006 From: benny at bennyvision.com (C. Bensend) Date: Tue, 23 May 2006 08:22:52 -0500 (CDT) Subject: https access with check_http In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602D77D70@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602D77D70@exc2003.int.fininfo.grp> Message-ID: <63777.63.227.74.41.1148390572.squirrel@webmail.stinkweasel.net> > Hello everyone, > > > I try to use the check_http plugin to test an https access, but I don't > succeed int it. I try to put the port to 443, but the plugin try to access > via HTTP protocol on port 443. > > How can I use a HTTPS protocol with check_http plugin ? > > Thanks for any time & help FAQ. The archives would tell you. ./check_http --help If you don't see a -S in there, you didn't have the required OpenSSL development stuff installed when you built check_http. -- "God help us all if cats had thumbs." -- Me, 2006 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 LMAIGNAN at fininfo.fr Tue May 23 15:31:27 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Tue, 23 May 2006 15:31:27 +0200 Subject: check_http/SSL compile problem Message-ID: <6CF6C2B015865B44B7752C9420D0D71602D77DE0@exc2003.int.fininfo.grp> Hello, I try to compile check_http plugin with the SSL option and I gave up this problem : /plugins/check_http.c:807: undefined reference to `np_net_ssl_write' Has anyone an idea ? Thanks for help ********************************************************************* Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. ----------------------------------------------------- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ********************************************************************** ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your 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 at gnarg.org Tue May 23 15:38:25 2006 From: nagios at gnarg.org (nagios at gnarg.org) Date: Tue, 23 May 2006 15:38:25 +0200 Subject: check_http/SSL compile problem In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602D77DE0@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602D77DE0@exc2003.int.fininfo.grp> Message-ID: <44731051.10502@gnarg.org> MAIGNAN Luc schrieb: > Hello, > > I try to compile check_http plugin with the SSL option and I gave up this problem : > > /plugins/check_http.c:807: undefined reference to `np_net_ssl_write' > > Has anyone an idea ? make clean 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 pitchfork at ederdrom.de Tue May 23 15:38:24 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Tue, 23 May 2006 15:38:24 +0200 Subject: [patch] Workaround for 'Host DOWN' false-positives In-Reply-To: <200605221203.43087.pitchfork@ederdrom.de> References: <20060520161735.GA27411@host0.dyn.jankratochvil.net> <20060522093957.GA16175@host0.dyn.jankratochvil.net> <200605221203.43087.pitchfork@ederdrom.de> Message-ID: <200605231538.27617.pitchfork@ederdrom.de> Am Montag 22 Mai 2006 12:03 schrieb Joerg Linge: > Am Montag 22 Mai 2006 11:39 schrieb Jan Kratochvil: > > > This ist still a quick hack, but it works ;-) > > > This is IMHO the fastest way without parsing status.dat. > > > > Do you have it tested? I do not think it will work. The goal is to > > reflect the field "last_hard_state", not the field "current_state". > > "SERVICESTATEID" unfortunately corresponds to "current_state" while > > "last_hard_state" has no corresponding macro. > > This was only a quick example! > $SERVICESTATETYPE$ gets the state type ( HARD/SOFT ) Hmm, $SERVICESTATETYPE$ always reports an HARD state. If you use $SERVICEATTEMPT:server1:Connectivity$ you will get the corrent check attempts for your Connectivity Service. So you can return an CRITICAL state to your host check_command if the maximun number of service checks are reached. In my test environment this works fine at the moment. I have written a small plugin which return CRITICAL if $SERVICESTATEID != 0 && $SERVICEATTEMPTS >= 3 J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From travisll at comfedcu.org Tue May 23 15:47:04 2006 From: travisll at comfedcu.org (Travis Llewellyn) Date: Tue, 23 May 2006 08:47:04 -0500 Subject: NSCPlus (aka clearly im stupid) Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 For sake of simplicity here is how I have things setup on my nagios server. I am running nsclient++ on all my windows servers with the included nsc.ini. On the Nagios Box I am using check_nrpe I am checking these things for each server C Drive CPU D Drive Paged Memory Physical Memory Planar Temp Processor Temp Virtual Memory Here are the commands for each one. define command { command_name CheckDriveSize command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c CheckDriveSize -a Drive=$ARG1$ ShowAll MaxWarn=$ARG2$ MaxCrit =$ARG3$ } define command { command_name check_ncs_cpu command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkCPU -a warn=$ARG1$ crit=$ARG2$ time=60m time=30m time=5m } define command { command_name check_ncs_mem command_line $USER1$/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkmem -a type=$ARG1$ MaxWarn=$ARG2$ MaxCrit=$ARG3$ } define service { hostgroup_name branch_servers service_description C Drive is_volatile 0 check_command CheckDriveSize!C:!50%!75% max_check_attempts 3 normal_check_interval 2 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 nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } define service { hostgroup_name branch_servers service_description CPU is_volatile 0 check_command check_ncs_cpu!75!85 max_check_attempts 3 normal_check_interval 2 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 nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } define service { hostgroup_name branch_servers service_description D Drive is_volatile 0 check_command CheckDriveSize!D:!50%!75% max_check_attempts 3 normal_check_interval 2 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 nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } define service { hostgroup_name branch_servers service_description Paged Memory is_volatile 0 check_command check_ncs_mem!paged!80%!90% max_check_attempts 3 normal_check_interval 2 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 nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } define service { hostgroup_name branch_servers service_description Physical Memory is_volatile 0 check_command check_ncs_mem!physical!80%!90% max_check_attempts 3 normal_check_interval 2 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 nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } define service { hostgroup_name branch_servers service_description Planar Temp is_volatile 0 check_command check_snmp!.1.3.6.1.4.1.674.10892.1.700.20.1.6.1.2!700!1100 max_check_attempts 3 normal_check_interval 2 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 nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } define service { hostgroup_name branch_servers service_description Processor Temp is_volatile 0 check_command check_snmp!.1.3.6.1.4.1.674.10892.1.700.20.1.6.1.1!600!1100 max_check_attempts 3 normal_check_interval 2 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 nt-admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r notifications_enabled 1 register 1 } Travis Llewellyn Network Administrator Communication Federal Credit Union travisll at comfedcu.org - ------------------------------------------------------------------------- Matthew 5:44 Love your enemies and pray for those who persecute you... - -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Oliver Marshall Posted At: Tuesday, May 23, 2006 6:13 AM Posted To: Nagios Lists Conversation: [Nagios-users] NSCPlus (aka clearly im stupid) Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) Sorry, yes, you are right. I meant the nagios server, with the "clients" being windows servers running nagios client. I've managed to get my head around the nagios services and commands enough to know that I am missing something :) I will say though, for the sake of google, that nagios would be far more accessible if it came with a web based configuration util out of the box. - -----Original Message----- From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] Sent: 23 May 2006 11:48 To: Oliver Marshall; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) Your use of the word "server" is way too confusing for my little brain. I'm monitoring windows servers from a linux server... Nuff said on that... So, on the Nagios box, you'll need both the nagios plugins (http://nagiosplug.sf.net) and NRPE (http://www.nagios.org/download/) installed. Use of the NSCPlus modules is documented at http://nscplus.medin.name/index.php/CheckCommands Basic familiarity with nagios commands and services should be enough to get you started, but also have a look at the NSCPlus Help forum over at http://sourceforge.net/forum/?group_id=131326. 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 Oliver Marshall > Sent: 23 May 2006 11:18 > To: Randal, Phil; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) > > So....If I'm using NSCPlus, is there anything to copy to the server ? > > I have just sat down and re-read the documentation for NSCPlus and the > one line "especially as NRPE plug-in is the one that does the actual > execution." Would imply that I need to also install the NRPE > plug-in as > well (we're talking server-side here). > > If I have to enter my new commands in to command.cfg, and > those commands > have to point to a file to execute with various params, then > I guess my > question is where is that file (what is that file?) ? > > /me stops drinking so much coffee. > > -----Original Message----- > From: Randal, Phil [mailto:prandal at herefordshire.gov.uk] > Sent: 23 May 2006 11:02 > To: Oliver Marshall; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] NSCPlus (aka clearly im stupid) > > There is a check_nt as part of the standard nagios plugins > (http://nagiosplug.sourceforge.net/). > > The only difference between that and the check_nt which came with > pnsclient.exe is the fileage checking (which isn't implemented yet in > nsclient++ - or if it is it doesn't work). > > You can use NSClient++'s CheckFile via NRPE instead. > > Also the old nsclient used port 1248, nsclient++ defaults to 12489 > (configurable in nsc.ini). > > 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 Oliver Marshall > > Sent: 23 May 2006 10:45 > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] NSCPlus (aka clearly im stupid) > > > > Ok, having given up on using NSClient coz it don't work for > me, I have > > turned to NSCPlus (NSClient++). Thing is, and it's clearly me being > > stupid, I cant find the server side commands anywhere. I > mean, I know > > the command syntax etc, but in NSClient there was a > check_nt file that > > you put in the libexec folder but with NSClient++, though the > > command.cfg entries point to additional linux commands (I > want to say > > executables), I cant find those files anywhere. > > > > Are these meant to be part of the NSCPlus download? If so, > I cant see > > them. > > > > > > :S > > > > Olly > > > > > > ------------------------------------------------------- > > Using Tomcat but need to do more? Need to support web > > services, security? > > Get stuff done quickly with pre-integrated technology to make > > your 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=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 -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.0.6 (Build 6060) iQEVAwUBRHMSUKkF3FdG31XhAQgMfAf/UtTv8lPBOBKjk1Y/GtO4zDi5/WO0uNWm Xe95siC3jNL3+nUl7sSpSKlgNuWDo9If0p47qe1OIHV0GVrhwiAaKRyG1GwGj28J uBSrrqK2RI49Ggqo0iwf/JhI0dOCiFW296gQ/fcIDzvPy5mnimQExrYiNoF3IHOZ oIkaUcc+KwSj2Bk3SUccMKZAO0NoVALltrZMCDWOKMtfyvTNRdp8i7lDV/yUJFZ9 yxDN2ivkw37dCHMUL+c8RiEns/tZpwzXEOpTQD2eqnYylPP57LWhG4xEAQjMel6H J4Pf5gB72Nr4sbJqfknt222YH9k82zVOb+QmWwg0iysDW/pnldD8Yg== =zALF -----END PGP SIGNATURE----- ----------------------------------------------------------------- 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. -------------- next part -------------- A non-text attachment was scrubbed... Name: NSC.ini Type: application/octet-stream Size: 5491 bytes Desc: NSC.ini URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: NSC.ini.sig Type: application/octet-stream Size: 481 bytes Desc: not available URL: From jritorto at nut.net Tue May 23 15:48:19 2006 From: jritorto at nut.net (Jacob Ritorto) Date: Tue, 23 May 2006 09:48:19 -0400 Subject: How to reduce a very high latency number Message-ID: <1f3f8f1d0605230648i48fa36c2n8519e5de3e4f8423@mail.gmail.com> Greetings, A colleague of mine (poctum) and I ran into something like this while using nsca and have crafted a similar solution. We observed that send_nsca was sending only one result to the central Nagios server per connection. Testing revealed that send_nsca was capable of handling thousands of results per connection. Sending only one at a time was resulting in lots of dropped data because there were nominally about 5 results derived per second. We enabled aggregate_status_updates in the nagios.cfg file, but this yielded no improvement in the result submissions. BTW, this is Nagios-2.2 and nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but efficient solution. It may not be as refined as trask's and relies on nuances of unix file handling algorithms to get the job done. That said, it's working perfectly for us. As this seems to work well, but may violate Ethan's design intentions, your feedback/input is requested. Deploy at your own risk. Jacob Ritorto, Lead UNIX Server Operations Engineer InnovationsTech Here's our solution: 1) Altered last line in /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It basically concatenates check results to a temp file. #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> /opt/nagios/var/results.waiting 2) Created a daemon process called reap (managed by smf, but it has been up for a month so far, so may be ok as an init.d script) to pull aside the aforementioned temp file (results.waiting) every five seconds and send the bits off to the central Nagios server (note that original file is re-created immediately via step 1 above). This probably only works perfectly on unix & unix-like systems due to the nature of files hanging around intact until the last program referencing them has exited. It's been some time, but the last I checked, DOS/WINxxxx doesn't treat files this way. Here's the simple little reap daemon: # cat /opt/nagios/bin/reap #!/usr/bin/tcsh while (1) sleep 5 mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null end Summary: Slave Nagios servers now store up check results in the temp file for 5 seconds, then they get shipped off to nsca on the central Nagios machine in one swoop instead of one-at-a-time. *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ From: Trask Re: How to reduce a very high latency number 2006-05-23 03:50 On 5/22/06, srunschke at abit.de wrote: > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > > To me this is obviously a performance issue related to hardware. > Your machines have way too few RAM. It is totally not possible to > run 1800 checks on a 512MB machine in a timely manner. > I figured this out this past Saturday. It is not any lack of the hardware. I was seeing negligible load nor an excessive use of memory. No configuration change I made seemed to have any appreciable effect on the latency times I was getting. I ended up doing a "top" with 1 second intervals and just watching it for awhile. I noticed that sometimes there would be a good number of nagios processes 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 processes. Although I do not know exactly *why* this was happening, it ends up the during the time where there was 2-4 processes running, 2 of them were always the"submit_passive_check" script and "send_nsca". It appears that this is being done serially (ie not in parallel) and ends up blocking subsequent checks until they are done. I would see these 2 processes running (with steadily increasing PIDs) for up to a minute and then a short-lived (4-5 seconds) "explosion" of nagios processes (service/host checks). After this flurry of activity, it would be another 60 seconds or so of just 2-4 processes. I resolved this problem by changing by "submit_passive_check" script. Below are some sample scripts, both old and new. The short of it is like this: Previously, the "submit_passive_check" script did a printf of the data in the appropriate format and piped it to the "send_nsca" command (in a shell script). I have eliminated this bottleneck by having "submit_passive_check" redirect its output to a named pipe and then having another script feed "send_nsca" with that data as it comes in to the named pipe. Latency times have dropped from the 600-700 seconds to 0.2 seconds on the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. That's more like it! Below are a few scripts w/ notes as to what each one is. Thanks to everyone who offered help. ~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 marc at ena.com Tue May 23 16:32:30 2006 From: marc at ena.com (Marc Powell) Date: Tue, 23 May 2006 09:32:30 -0500 Subject: Check that a process is running! Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of lennart.kvam at softronic.se > Sent: Tuesday, May 23, 2006 5:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check that a process is running! > > Hello all! > > I want to monitor a that a process is running on a solaris8 box, I want a > nagios to notify me if the procs dies or if more than one is running, > anyone know what plugin to use? check_procs > > I'v tried check_procs but dont get it to work! What did you use? What happens? > Please help:-) You need just two arguments to check_procs: -c and -C. One of the Examples given in --help is almost exactly what you need. -- 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 lastxit at gmail.com Tue May 23 19:31:22 2006 From: lastxit at gmail.com (Marc Martinez) Date: Tue, 23 May 2006 10:31:22 -0700 Subject: 2.x: nagios_check_command never called from cgi pages Message-ID: <5c1e5efe0605231031u7155b76bl8a106059fa3a027a@mail.gmail.com> I've been unable to find a mention of why the nagios_check_command handling has been removed from the sources. I do notice that the option is no longer in the documentation for cgi.cfg but an example entry still exists in the sample-config version of the file. was this ripped out for performance considerations or just shelved in a re-org and never brought back? thanks for any insight.. Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 01:22:40 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 24 May 2006 09:22:40 +1000 Subject: Undefined subroutine &Embed::Persistent::eval_file called. in check_disk_smb Message-ID: <42AE08054734A940AE4F983C21324D042B51FB@acexp005.portfolio.base> Dear Sir, I am writing to thank you for your letter and say, >-----Original Message----- >Message: 15 >Date: Tue, 23 May 2006 14:10:03 +0200 (CEST) >From: =?iso-8859-1?q?jacobo=20garc=EDa?= >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Undefined subroutine >&Embed::Persistent::eval_file called. in check_disk_smb > >Under Nagios i had this problem when running >check_disk_smb > >"Undefined subroutine &Embed::Persistent::eval_file >called. " > It sounds like that you have a Nagios built with embedded Perl. (you can check by strings nagios | grep -i perl | head -5. If you see libperl.so Perl_croak Perl_markstack_grow Perl_croak_nocontext Perl_save_int then you have a Perl interpreter built into Nagios). If this is not the case, I can't help. Unfortunately if your Nagios does have Perl in it, the Perl driver (p1.pl) seems not to be where Nagios expects it. Look at your nagios.cfg (eg [sh1517 at acisf011 Dhcp]$ grep -i P1 /etc/nagios/nagios.cfg # P1.PL FILE LOCATION # This value determines where the p1.pl perl script (used by the p1_file=/usr/bin/p1.pl [sh1517 at acisf011 Dhcp]$ ) and check if p1.pl is in the location nagios.cfg says it should be. If it is, I don't know what is happening. If not, try and locate it - you can get it from the Nagios CVS or from the corresponding dist tarball or the RPM/package - and put it there. You could also check its not hiding somewhere else in the file system. If you can get a copy of p1.pl then either relocate it or put it in the path specified by nagios.cfg (p1.pl is used only by Nagios so moving it won't break anything). You may have to restart Nagios for the change to take effect. The file is plain text, pure Perl. p1.pl defines the subroutine that Nagios is trying to have Perl call. Finally, if you don't have a good reason to use embedded Perl, you probably shouldn't be using it. If you don't want to use embedded Perl, you can't turn it off at run time. The only option is replacing the Nagios binary with one compiled without embedded Perl. The Dag Wieers Redhat RPMs for Nagios all build with embedded Perl so if you use RPMs, you would need to choose another RPM or hack the Dag SPEC file to not build embedded Perl. > >when i run from command line i response on 2 lines, >but it seems to be ok. > >i dont know what to do. > > Yours sincerely. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 ewh at groupoliver.com Wed May 24 01:35:26 2006 From: ewh at groupoliver.com (Eric X. Holzapfel) Date: Tue, 23 May 2006 16:35:26 -0700 Subject: CGI scripts not running Message-ID: Hello Nagios Users, I have downloaded and built nagios 2.3.1 (lets assume for the moment that I did it correctly). when I click on any of the links (like Tactical Informmation, etc) all that I get is a blank page. I have the htpasswd set, etc, and can log in with default user (nagios), and have copied the cgi files (just in case) to the /var/www/cgi-bin directory as well as the files in their normal place /usr/local/nagios/sbin. The permission seem to be set IAW the nagios install directions, etc. I am running Fedora Core 5, and apache 2.0. Any suggestions here??? Thanks, eric -------------- next part -------------- An HTML attachment was scrubbed... URL: From frederik.vanhee at perso.be Wed May 24 06:52:22 2006 From: frederik.vanhee at perso.be (Frederik Vanhee) Date: Wed, 24 May 2006 06:52:22 +0200 Subject: Jabber Custom Notification Script Not Working In-Reply-To: References: Message-ID: <4473E686.1090101@perso.be> Norman Harebottle wrote: > Hello Everyone, > > I am wondering if anyone has had success getting the Jabber > Notification script written by David Cox to work. > > I have a user called nagios under which nagios runs and using "su > nagios" (on Debian) I can run the script and it notifies just fine. So > I am concluding that it is not a security related issue nor a script > execution error since it works correctly. However, when running the > Perl script in the Embedded Perl environment, something happens (which > is not logged) which causes the script to not execute as desired. > > Can anyone point me in the direction of a logging directive to enable > so that I can see any Perl errors that may be generated in the process? > > *Current nagios.cfg logging settings:* > log_archive_path=/var/log/nagios/archives > log_event_handlers=1 > log_external_commands=1 > log_file=/var/log/nagios2/nagios.log > log_host_retries=1 > log_initial_states=0 > log_notifications=1 > log_passive_checks=1 > log_rotation_method=d > log_service_retries=1 > use_syslog=1 > *Abbbreviated contents of /var/log/nagios2/nagios.log:* > [1148388211] SERVICE NOTIFICATION: norman;weathervane;Service: Jabber > Notification Test;CRITICAL;notify-by-jabber;No process matching ping > found : CRITICAL > I appreciate any insight into this problem would be appreciated. > > Sincerely, > > Norman H. Harebottle III > Software Engineer > Vikus Corporation Hello Norman, can you send me your Nagios notification command ? I have it working, so it should work. I had it working with embedded perl on Nagios 2.0b3 and on Nagios 2.0rc2 and without embedded perl on Nagios 2.3.1 Frederik ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 VINAY_SHARMA at advanex.co.jp Wed May 24 07:05:27 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Wed, 24 May 2006 14:05:27 +0900 Subject: Nagios process Critical.. Message-ID: Dear all, yesterday my nagios linux OS was broken.today i fixed the OS and restart all services is running well insted of nagios process.all other nagios services is running as usual but on nagios process page i foung below error. my linux OS is ver9 kernal: 2.4.20-8 nagios ver: 1.0 Process Information Program Start Time: 05-24-2006 13:58:11 Total Running Time: 0d 0h 1m 9s Last External Command Check: 05-24-2006 13:59:11 Last Log File Rotation: N/A Nagios PID 4125 Notifications Enabled? ??YES Service Checks Being Executed? ??YES Passive Service Checks Being Accepted? ??YES Event Handlers Enabled? Yes Obsessing Over Services? Yes Flap Detection Enabled? Yes Performance Data Being Processed? Yes Warning: Monitoring process may not be running! Click here for more info. Process Commands It appears as though Nagios is not running, so commands are temporarily unavailable... Process Status Information |--------------------------------------------------| | | | | | | |Process Status: | | ??CRITICAL | |Check Command Output: | | Could not locate a running | | Nagios process! | | | |--------------------------------------------------| Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 07:28:23 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 24 May 2006 01:28:23 -0400 Subject: Nagios process Critical.. In-Reply-To: References: Message-ID: Anything in the Nagios logs? Looks like it's not running. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of VINAY_SHARMA at advanex.co.jp Sent: Tuesday, May 23, 2006 10:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios process Critical.. Dear all, yesterday my nagios linux OS was broken.today i fixed the OS and restart all services is running well insted of nagios process.all other nagios services is running as usual but on nagios process page i foung below error. [snip] Warning: Monitoring process may not be running! Click here for more info. [snip] ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 07:35:50 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Wed, 24 May 2006 07:35:50 +0200 (CEST) Subject: CGI scripts not running In-Reply-To: References: Message-ID: On Tue, 23 May 2006, Eric X. Holzapfel wrote: > I have downloaded and built nagios 2.3.1 (lets assume for the moment > that I did it correctly). Assumptions. I think there are many corpses on the road to Bagdad based on those things. > when I click on any of the links (like Tactical Informmation, etc) all > that I get is a blank page. > > I have the htpasswd set, etc, and can log in with default user (nagios), > and have copied the cgi files (just in case) to the /var/www/cgi-bin > directory as well as the files in their normal place > /usr/local/nagios/sbin. Not a good thing. > The permission seem to be set IAW the nagios install directions, etc. > > I am running Fedora Core 5, and apache 2.0. > > Any suggestions here??? Read the archives. Check: - selinux - httpd config. (Show us the exact changes) - apache logs Any reason why you did not use Dag Wiers packages? 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. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 martin.schwarz at mscsoftware.com Wed May 24 07:39:28 2006 From: martin.schwarz at mscsoftware.com (Martin Schwarz) Date: Wed, 24 May 2006 07:39:28 +0200 Subject: out of office Message-ID: I will be out of the office starting 23.05.2006 and will not return until 29.05.2006. I will have no access to my mail. In urgent cases call me on my mobile ( +491728491717 ) or contact Armin in munich ( -172 ) ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Wed May 24 10:20:39 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 24 May 2006 09:20:39 +0100 Subject: Best web front end In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83DB@indigo.G2Support.local> What are peoples opinions on a decent web based management/configuration front end for Nagios, ideally PHP? Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 greg.cope at e-dba.net Wed May 24 10:46:48 2006 From: greg.cope at e-dba.net (Greg Cope) Date: Wed, 24 May 2006 09:46:48 +0100 Subject: How to reduce a very high latency number In-Reply-To: <1f3f8f1d0605230648i48fa36c2n8519e5de3e4f8423@mail.gmail.com> References: <1f3f8f1d0605230648i48fa36c2n8519e5de3e4f8423@mail.gmail.com> Message-ID: <1148460408.3967.5.camel@dl.e-dba.net> Jacob, I noticed the same thing today. We run a few distributed servers that do about 150 checks (at the moment) and submit this to our central server. That's allot of send_nsca processes that get spawned. I like you fix! send_nsca would not appear to be scallable for those running lots of passive checks with distributed systems. Greg On Tue, 2006-05-23 at 09:48 -0400, Jacob Ritorto wrote: > Greetings, > A colleague of mine (poctum) and I ran into something like > this while using nsca and have crafted a similar solution. We > observed that send_nsca was sending only one result to the central > Nagios server per connection. Testing revealed that send_nsca was > capable of handling thousands of results per connection. Sending only > one at a time was resulting in lots of dropped data because there were > nominally about 5 results derived per second. We enabled > aggregate_status_updates in the nagios.cfg file, but this yielded no > improvement in the result submissions. BTW, this is Nagios-2.2 and > nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but > efficient solution. It may not be as refined as trask's and relies on > nuances of unix file handling algorithms to get the job done. That > said, it's working perfectly for us. As this seems to work well, but > may violate Ethan's design intentions, your feedback/input is > requested. Deploy at your own risk. > > Jacob Ritorto, Lead UNIX Server Operations Engineer > InnovationsTech > > Here's our solution: > > 1) Altered last line in > /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It > basically concatenates check results to a temp file. > > #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | > /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg > > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> > /opt/nagios/var/results.waiting > > > 2) Created a daemon process called reap (managed by smf, but it has > been up for a month so far, so may be ok as an init.d script) to pull > aside the aforementioned temp file (results.waiting) every five > seconds and send the bits off to the central Nagios server (note that > original file is re-created immediately via step 1 above). This > probably only works perfectly on unix & unix-like systems due to the > nature of files hanging around intact until the last program > referencing them has exited. It's been some time, but the last I > checked, DOS/WINxxxx doesn't treat files this way. Here's the simple > little reap daemon: > > # cat /opt/nagios/bin/reap > #!/usr/bin/tcsh > while (1) > sleep 5 > mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending > cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca > 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null > end > > > Summary: Slave Nagios servers now store up check results in the temp > file for 5 seconds, then they get shipped off to nsca on the central > Nagios machine in one swoop instead of one-at-a-time. > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > > > > From: Trask > Re: How to reduce a very high latency number > 2006-05-23 03:50 > > On 5/22/06, srunschke at abit.de wrote: > > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > > > > To me this is obviously a performance issue related to hardware. > > Your machines have way too few RAM. It is totally not possible to > > run 1800 checks on a 512MB machine in a timely manner. > > > > I figured this out this past Saturday. It is not any lack of the > hardware. I was seeing negligible load nor an excessive use of > memory. No configuration change I made seemed to have any appreciable > effect on the latency times I was getting. I ended up doing a "top" > with 1 second intervals and just watching it for awhile. I noticed > that sometimes there would be a good number of nagios processes > 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 > processes. Although I do not know exactly *why* this was happening, > it ends up the during the time where there was 2-4 processes running, > 2 of them were always the"submit_passive_check" script and > "send_nsca". It appears that this is being done serially (ie not in > parallel) and ends up blocking subsequent checks until they are done. > I would see these 2 processes running (with steadily increasing PIDs) > for up to a minute and then a short-lived (4-5 seconds) "explosion" of > nagios processes (service/host checks). After this flurry of > activity, it would be another 60 seconds or so of just 2-4 processes. > > I resolved this problem by changing by "submit_passive_check" script. > Below are some sample scripts, both old and new. The short of it is > like this: Previously, the "submit_passive_check" script did a printf > of the data in the appropriate format and piped it to the "send_nsca" > command (in a shell script). I have eliminated this bottleneck by > having "submit_passive_check" redirect its output to a named pipe and > then having another script feed "send_nsca" with that data as it comes > in to the named pipe. > > Latency times have dropped from the 600-700 seconds to 0.2 seconds on > the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. > That's more like it! > > Below are a few scripts w/ notes as to what each one is. Thanks to > everyone who offered help. > > ~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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 24 10:53:37 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 24 May 2006 04:53:37 -0400 Subject: How to reduce a very high latency number In-Reply-To: <1148460408.3967.5.camel@dl.e-dba.net> References: <1148460408.3967.5.camel@dl.e-dba.net> Message-ID: How are you guys running the nsca daemon? I've got systems that perform thousands of checks with no problem. I'm looking at a system right now that submits over 5300 checks to a central server running nsca via xinetd, and it has a average service latency of .153 secs. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg Cope Sent: Wednesday, May 24, 2006 1:47 AM To: Jacob Ritorto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: How to reduce a very high latency number Jacob, I noticed the same thing today. We run a few distributed servers that do about 150 checks (at the moment) and submit this to our central server. That's allot of send_nsca processes that get spawned. I like you fix! send_nsca would not appear to be scallable for those running lots of passive checks with distributed systems. Greg On Tue, 2006-05-23 at 09:48 -0400, Jacob Ritorto wrote: > Greetings, > A colleague of mine (poctum) and I ran into something like this > while using nsca and have crafted a similar solution. We observed > that send_nsca was sending only one result to the central Nagios > server per connection. Testing revealed that send_nsca was capable of > handling thousands of results per connection. Sending only one at a > time was resulting in lots of dropped data because there were > nominally about 5 results derived per second. We enabled > aggregate_status_updates in the nagios.cfg file, but this yielded no > improvement in the result submissions. BTW, this is Nagios-2.2 and > nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but > efficient solution. It may not be as refined as trask's and relies on > nuances of unix file handling algorithms to get the job done. That > said, it's working perfectly for us. As this seems to work well, but > may violate Ethan's design intentions, your feedback/input is > requested. Deploy at your own risk. > > Jacob Ritorto, Lead UNIX Server Operations Engineer InnovationsTech > > Here's our solution: > > 1) Altered last line in > /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It > basically concatenates check results to a temp file. > > #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | > /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg > > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> > /opt/nagios/var/results.waiting > > > 2) Created a daemon process called reap (managed by smf, but it has > been up for a month so far, so may be ok as an init.d script) to pull > aside the aforementioned temp file (results.waiting) every five > seconds and send the bits off to the central Nagios server (note that > original file is re-created immediately via step 1 above). This > probably only works perfectly on unix & unix-like systems due to the > nature of files hanging around intact until the last program > referencing them has exited. It's been some time, but the last I > checked, DOS/WINxxxx doesn't treat files this way. Here's the simple > little reap daemon: > > # cat /opt/nagios/bin/reap > #!/usr/bin/tcsh > while (1) > sleep 5 > mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending > cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca > 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null end > > > Summary: Slave Nagios servers now store up check results in the temp > file for 5 seconds, then they get shipped off to nsca on the central > Nagios machine in one swoop instead of one-at-a-time. > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > > > > From: Trask > Re: How to reduce a very high latency number > 2006-05-23 03:50 > > On 5/22/06, srunschke at abit.de wrote: > > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > > > > To me this is obviously a performance issue related to hardware. > > Your machines have way too few RAM. It is totally not possible to > > run 1800 checks on a 512MB machine in a timely manner. > > > > I figured this out this past Saturday. It is not any lack of the > hardware. I was seeing negligible load nor an excessive use of > memory. No configuration change I made seemed to have any appreciable > effect on the latency times I was getting. I ended up doing a "top" > with 1 second intervals and just watching it for awhile. I noticed > that sometimes there would be a good number of nagios processes > 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 > processes. Although I do not know exactly *why* this was happening, > it ends up the during the time where there was 2-4 processes running, > 2 of them were always the"submit_passive_check" script and > "send_nsca". It appears that this is being done serially (ie not in > parallel) and ends up blocking subsequent checks until they are done. > I would see these 2 processes running (with steadily increasing PIDs) > for up to a minute and then a short-lived (4-5 seconds) "explosion" of > nagios processes (service/host checks). After this flurry of > activity, it would be another 60 seconds or so of just 2-4 processes. > > I resolved this problem by changing by "submit_passive_check" script. > Below are some sample scripts, both old and new. The short of it is > like this: Previously, the "submit_passive_check" script did a printf > of the data in the appropriate format and piped it to the "send_nsca" > command (in a shell script). I have eliminated this bottleneck by > having "submit_passive_check" redirect its output to a named pipe and > then having another script feed "send_nsca" with that data as it comes > in to the named pipe. > > Latency times have dropped from the 600-700 seconds to 0.2 seconds on > the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. > That's more like it! > > Below are a few scripts w/ notes as to what each one is. Thanks to > everyone who offered help. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 az at whoever.org Wed May 24 10:54:44 2006 From: az at whoever.org (Az) Date: Wed, 24 May 2006 18:54:44 +1000 Subject: Best web front end In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83DB@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83DB@indigo.G2Support.local> Message-ID: <44741F54.6020500@whoever.org> Oliver Marshall wrote: >What are peoples opinions on a decent web based management/configuration >front end for Nagios, ideally PHP? > > I would recommend searching the list as this has been done to death a few times. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 sisyphus.ch Wed May 24 10:56:50 2006 From: nagios at sisyphus.ch (nagios at sisyphus.ch) Date: Wed, 24 May 2006 10:56:50 +0200 Subject: Best web front end In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83DB@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83DB@indigo.G2Support.local> Message-ID: <20060524085650.GO6647@machine-18.sisyphus.loc> On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 greg.cope at e-dba.net Wed May 24 11:00:21 2006 From: greg.cope at e-dba.net (Greg Cope, e-DBA Team) Date: Wed, 24 May 2006 10:00:21 +0100 Subject: How to reduce a very high latency number In-Reply-To: References: Message-ID: <1148461221.3967.9.camel@dl.e-dba.net> On Wed, 2006-05-24 at 04:53 -0400, Morris, Patrick wrote: > How are you guys running the nsca daemon? I've got systems that perform > thousands of checks with no problem. > > I'm looking at a system right now that submits over 5300 checks to a > central server running nsca via xinetd, and it has a average service > latency of .153 secs. Are you not referring to the server end? I am running nsca as a daemon. We are referring to the client end that sends the results. Greg > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg Cope > Sent: Wednesday, May 24, 2006 1:47 AM > To: Jacob Ritorto > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: How to reduce a very high latency number > > Jacob, > > I noticed the same thing today. > > We run a few distributed servers that do about 150 checks (at the > moment) and submit this to our central server. > > That's allot of send_nsca processes that get spawned. > > I like you fix! > > send_nsca would not appear to be scallable for those running lots of > passive checks with distributed systems. > > Greg > > On Tue, 2006-05-23 at 09:48 -0400, Jacob Ritorto wrote: > > Greetings, > > A colleague of mine (poctum) and I ran into something like this > > > while using nsca and have crafted a similar solution. We observed > > that send_nsca was sending only one result to the central Nagios > > server per connection. Testing revealed that send_nsca was capable of > > > handling thousands of results per connection. Sending only one at a > > time was resulting in lots of dropped data because there were > > nominally about 5 results derived per second. We enabled > > aggregate_status_updates in the nagios.cfg file, but this yielded no > > improvement in the result submissions. BTW, this is Nagios-2.2 and > > nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but > > efficient solution. It may not be as refined as trask's and relies on > > > nuances of unix file handling algorithms to get the job done. That > > said, it's working perfectly for us. As this seems to work well, but > > may violate Ethan's design intentions, your feedback/input is > > requested. Deploy at your own risk. > > > > Jacob Ritorto, Lead UNIX Server Operations Engineer InnovationsTech > > > > Here's our solution: > > > > 1) Altered last line in > > /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It > > basically concatenates check results to a temp file. > > > > #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | > > /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg > > > > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> > > /opt/nagios/var/results.waiting > > > > > > 2) Created a daemon process called reap (managed by smf, but it has > > been up for a month so far, so may be ok as an init.d script) to pull > > aside the aforementioned temp file (results.waiting) every five > > seconds and send the bits off to the central Nagios server (note that > > original file is re-created immediately via step 1 above). This > > probably only works perfectly on unix & unix-like systems due to the > > nature of files hanging around intact until the last program > > referencing them has exited. It's been some time, but the last I > > checked, DOS/WINxxxx doesn't treat files this way. Here's the simple > > little reap daemon: > > > > # cat /opt/nagios/bin/reap > > #!/usr/bin/tcsh > > while (1) > > sleep 5 > > mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending > > cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca > > 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null end > > > > > > Summary: Slave Nagios servers now store up check results in the temp > > file for 5 seconds, then they get shipped off to nsca on the central > > Nagios machine in one swoop instead of one-at-a-time. > > > > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > > > > > > > > From: Trask > > Re: How to reduce a very high latency number > > 2006-05-23 03:50 > > > > On 5/22/06, srunschke at abit.de wrote: > > > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 > 20:09:16: > > > > > > To me this is obviously a performance issue related to hardware. > > > Your machines have way too few RAM. It is totally not possible to > > > run 1800 checks on a 512MB machine in a timely manner. > > > > > > > I figured this out this past Saturday. It is not any lack of the > > hardware. I was seeing negligible load nor an excessive use of > > memory. No configuration change I made seemed to have any appreciable > > > effect on the latency times I was getting. I ended up doing a "top" > > with 1 second intervals and just watching it for awhile. I noticed > > that sometimes there would be a good number of nagios processes > > 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 > > > processes. Although I do not know exactly *why* this was happening, > > it ends up the during the time where there was 2-4 processes running, > > 2 of them were always the"submit_passive_check" script and > > "send_nsca". It appears that this is being done serially (ie not in > > parallel) and ends up blocking subsequent checks until they are done. > > I would see these 2 processes running (with steadily increasing PIDs) > > for up to a minute and then a short-lived (4-5 seconds) "explosion" of > > > nagios processes (service/host checks). After this flurry of > > activity, it would be another 60 seconds or so of just 2-4 processes. > > > > I resolved this problem by changing by "submit_passive_check" script. > > Below are some sample scripts, both old and new. The short of it is > > like this: Previously, the "submit_passive_check" script did a printf > > > of the data in the appropriate format and piped it to the "send_nsca" > > command (in a shell script). I have eliminated this bottleneck by > > having "submit_passive_check" redirect its output to a named pipe and > > then having another script feed "send_nsca" with that data as it comes > > > in to the named pipe. > > > > Latency times have dropped from the 600-700 seconds to 0.2 seconds on > > the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. > > That's more like it! > > > > Below are a few scripts w/ notes as to what each one is. Thanks to > > everyone who offered help. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Deborah.Martin at Kognitio.com Wed May 24 11:26:25 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 24 May 2006 10:26:25 +0100 Subject: Best web front end Message-ID: This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them. Alternatively, write your own and then you only have yourself to please! :) regs, deborah -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Wed May 24 11:27:59 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 24 May 2006 10:27:59 +0100 Subject: Best web front end In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83DD@indigo.G2Support.local> I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them. Alternatively, write your own and then you only have yourself to please! :) regs, deborah -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Oliver.Marshall at g2support.com Wed May 24 12:15:48 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 24 May 2006 11:15:48 +0100 Subject: nagios.cmd file In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83DD@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83DD@indigo.G2Support.local> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83DE@indigo.G2Support.local> Im just at the last stage of setting up NagiosQL and it seems I'm missing a nagios.cmd file, which should be in /usr/local/nagios/var/ Does anyone know what this is/does, and where I might get it or how I can create it ? Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 jritorto at nut.net Wed May 24 12:33:23 2006 From: jritorto at nut.net (Jacob Ritorto) Date: Wed, 24 May 2006 06:33:23 -0400 Subject: How to reduce a very high latency number In-Reply-To: <1148461221.3967.9.camel@dl.e-dba.net> References: <1148461221.3967.9.camel@dl.e-dba.net> Message-ID: <1f3f8f1d0605240333s1db2c319ta90a8ae96a047001@mail.gmail.com> There's the rub, I bet. If you run nsca as a daemon, it only allows one connection per instance, whereas running it via inetd (or setting up smf to handle multiple instances) will spawn enough instances to handle any ingress. Thanks for the hint, Patrick. I'm currently in the process of converting the old Nagios server I inherited into a distributed system and will certainly keep this caveat in mind during the buildout. I do think there's value in my hack, though I'll probably not use it in the future until we start to feel the hit from many, many check results coming in. It seems to save on cpu and bandwidth because it doesn't have to set up a new call for each individual check result. This logic should, I feel, tie in with the aggregate_status_updates setting in nagios.cfg, but I've not dug through the source yet and don't know if doing so would overload that feature.. Thanks to all for the insight. Jacob On Wed, 2006-05-24 at 04:53 -0400, Morris, Patrick wrote: > How are you guys running the nsca daemon? I've got systems that perform > thousands of checks with no problem. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nharebottle at vikus.com Wed May 24 13:02:34 2006 From: nharebottle at vikus.com (Norman Harebottle) Date: Wed, 24 May 2006 07:02:34 -0400 Subject: Jabber Custom Notification Script Not Working Message-ID: I have saved the file in /usr/bin but have also tried having it in /usr/local/bin and it does not make a difference. The name of the script on my machine is "notify-jabber" and the notification command that I have tried in the nagios configuration is the following: # This command is used to notify recipients of service problems: # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/bin/notify-jabber $CONTACTADDRESS1$ "$HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$\r\nAdditional Info: $SERVICEOUTPUT$" } # This command is used to notify recipients of host problems: # 'host-notify-by-jabber' command definition define command{ command_name host-notify-by-jabber command_line /usr/bin/notify-jabber $CONTACTADDRESS1$ "$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$\n$HOSTOUTPUT$" } I have configured the Jabber recipients as follows in my contact configuration: # This defines the generic template define contact { name system-administrator host_notification_period 24x7 host_notification_options d,u,r host_notification_commands host-notify-by-epager,host-notify-by-jabber service_notification_period 24x7 service_notification_options w,u,c,r service_notification_commands notify-by-epager,notify-by-jabber register 0 } # This defines a specific contact instance define contact { use system-administrator contact_name [joe] alias [joe blow] pager [pager email address] address1 [joeblow at jabber.mydomain.net] } I appreciate any insight you can offer! Sincerely, Norman Harebottle III Software Engineer Vikus Corporation -----Original Message----- From: Frederik Vanhee [mailto:frederik.vanhee at perso.be] Sent: Wednesday, May 24, 2006 12:52 AM To: Norman Harebottle Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Jabber Custom Notification Script Not Working Norman Harebottle wrote: > Hello Everyone, > > I am wondering if anyone has had success getting the Jabber > Notification script written by David Cox to work. > > I have a user called nagios under which nagios runs and using "su > nagios" (on Debian) I can run the script and it notifies just fine. So > I am concluding that it is not a security related issue nor a script > execution error since it works correctly. However, when running the > Perl script in the Embedded Perl environment, something happens (which > is not logged) which causes the script to not execute as desired. > > Can anyone point me in the direction of a logging directive to enable > so that I can see any Perl errors that may be generated in the process? > > *Current nagios.cfg logging settings:* > log_archive_path=/var/log/nagios/archives > log_event_handlers=1 > log_external_commands=1 > log_file=/var/log/nagios2/nagios.log > log_host_retries=1 > log_initial_states=0 > log_notifications=1 > log_passive_checks=1 > log_rotation_method=d > log_service_retries=1 > use_syslog=1 > *Abbbreviated contents of /var/log/nagios2/nagios.log:* [1148388211] > SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification > Test;CRITICAL;notify-by-jabber;No process matching ping found : > CRITICAL I appreciate any insight into this problem would be > appreciated. > > Sincerely, > > Norman H. Harebottle III > Software Engineer > Vikus Corporation Hello Norman, can you send me your Nagios notification command ? I have it working, so it should work. I had it working with embedded perl on Nagios 2.0b3 and on Nagios 2.0rc2 and without embedded perl on Nagios 2.3.1 Frederik ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Jorg.Schulz at systeam.se Wed May 24 13:17:25 2006 From: Jorg.Schulz at systeam.se (Jorg.Schulz at systeam.se) Date: Wed, 24 May 2006 13:17:25 +0200 Subject: Best web front end In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83DD@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83DD@indigo.G2Support.local> Message-ID: Hi Like Deborah says "This has been discussed to death. I'd suggest use google and look around to" I tried the Fruity, Nag2Web,NagiosQL and som other configtools But for "me" the best is NagiosQL - www.nagiosql.org It?s a php tool with mysql . very handy I serve about 2500 services and around 150 hosts with this tool and i never had problems. 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. Features are Import/export Easy navigation Backup function Give it a try Regards /J?rg "Oliver Marshall" Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-24 11:27 To "Deborah Martin" , , cc Subject RE: [Nagios-users] Best web front end I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them. Alternatively, write your own and then you only have yourself to please! :) regs, deborah -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 10010 bytes Desc: not available URL: From Oliver.Marshall at g2support.com Wed May 24 13:25:48 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 24 May 2006 12:25:48 +0100 Subject: Best web front end In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83DF@indigo.G2Support.local> Thanks Jorg. I actually have it working ( /me waits for applause and confetti) with one minor issue. Whats the nagios.cmd file it needs in order to restart nagios? I have to admit, NagiosQL isn't grabbing me. Seeing the options laid out on a page makes my knees weak. Saying that, I *think* I have my first win32 nrpe client working, so if that's the case, I will get time to sit down and look over NagiosQL. I have to admit, my decision as to which front end was made by which has the easiest instructions :) -----Original Message----- From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se] Sent: 24 May 2006 12:17 To: Oliver Marshall Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end Hi Like Deborah says "This has been discussed to death. I'd suggest use google and look around to" I tried the Fruity, Nag2Web,NagiosQL and som other configtools But for "me" the best is NagiosQL - www.nagiosql.org It?s a php tool with mysql . very handy I serve about 2500 services and around 150 hosts with this tool and i never had problems. 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. Features are Import/export Easy navigation Backup function Give it a try Regards /J?rg "Oliver Marshall" Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-24 11:27 To "Deborah Martin" , , cc Subject RE: [Nagios-users] Best web front end I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them. Alternatively, write your own and then you only have yourself to please! :) regs, deborah -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Wed May 24 13:51:04 2006 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITISEEEE) Date: Wed, 24 May 2006 12:51:04 +0100 Subject: Removing space's from Macro's $SERVICEOUTPUT$ Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D50329E494@abe-s-039.europe.shell.com> Folks I have a 3rd party notification application that requires the Nagios output $SERVICEOUTPUT$ Not to contain any spaces in it, e.g convert the spaces to a "_" underscore character. Is there a easy way with in Nagios to do this. Or should I write a Script to do this and then pass on the $SERVICEOUTPUT$ to the 3rd party application. FYI The current notification looks like # 'notify-by-sccalert' command definition define command{ command_name notify-by-sccalert command_line /local/nagios/bin/sccalert.ksh EVENT PATROL 3.2 event1 Expro-host-fault $HOSTNAME$ EUROPE.COM EF1.0 $SERVICEDESC$ $SERVICEOUTPUT$ _ $NOTIFICATIONTYPE$ $HOSTNAME$ SITI >/local/nagios/var/notify-by-sccalert 2>&1 } Thanks Matt 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 amoore at dekalbmemorial.com Wed May 24 14:25:38 2006 From: amoore at dekalbmemorial.com (Aaron K. Moore) Date: Wed, 24 May 2006 08:25:38 -0400 Subject: Jabber Custom Notification Script Not Working Message-ID: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> I didn't have any luck getting any of the Perl based Jabber scripts to work. I kept getting an error in one of the XMPP modules. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Norman Harebottle Sent: Tuesday, May 23, 2006 8:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Jabber Custom Notification Script Not Working Hello Everyone, I am wondering if anyone has had success getting the Jabber Notification script written by David Cox to work. I have a user called nagios under which nagios runs and using "su nagios" (on Debian) I can run the script and it notifies just fine. So I am concluding that it is not a security related issue nor a script execution error since it works correctly. However, when running the Perl script in the Embedded Perl environment, something happens (which is not logged) which causes the script to not execute as desired. Can anyone point me in the direction of a logging directive to enable so that I can see any Perl errors that may be generated in the process? Current nagios.cfg logging settings: log_archive_path=/var/log/nagios/archives log_event_handlers=1 log_external_commands=1 log_file=/var/log/nagios2/nagios.log log_host_retries=1 log_initial_states=0 log_notifications=1 log_passive_checks=1 log_rotation_method=d log_service_retries=1 use_syslog=1 Abbbreviated contents of /var/log/nagios2/nagios.log: [1148388211] SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification Test;CRITICAL;notify-by-jabber;No process matching ping found : CRITICAL I appreciate any insight into this problem would be appreciated. Sincerely, Norman H. Harebottle III Software Engineer Vikus Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: From nharebottle at vikus.com Wed May 24 14:32:20 2006 From: nharebottle at vikus.com (Norman Harebottle) Date: Wed, 24 May 2006 08:32:20 -0400 Subject: Jabber Custom Notification Script Not Working Message-ID: Good to know, it is very interesting to me that the script operates just fine from the command-line but fails when running through Nagios. It would be really helpful to debug if there was a way to log the exact text of any external commands that are executed. Norman ________________________________ From: Aaron K. Moore [mailto:amoore at dekalbmemorial.com] Sent: Wednesday, May 24, 2006 8:26 AM To: Norman Harebottle; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Jabber Custom Notification Script Not Working I didn't have any luck getting any of the Perl based Jabber scripts to work. I kept getting an error in one of the XMPP modules. -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Norman Harebottle Sent: Tuesday, May 23, 2006 8:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Jabber Custom Notification Script Not Working Hello Everyone, I am wondering if anyone has had success getting the Jabber Notification script written by David Cox to work. I have a user called nagios under which nagios runs and using "su nagios" (on Debian) I can run the script and it notifies just fine. So I am concluding that it is not a security related issue nor a script execution error since it works correctly. However, when running the Perl script in the Embedded Perl environment, something happens (which is not logged) which causes the script to not execute as desired. Can anyone point me in the direction of a logging directive to enable so that I can see any Perl errors that may be generated in the process? Current nagios.cfg logging settings: log_archive_path=/var/log/nagios/archives log_event_handlers=1 log_external_commands=1 log_file=/var/log/nagios2/nagios.log log_host_retries=1 log_initial_states=0 log_notifications=1 log_passive_checks=1 log_rotation_method=d log_service_retries=1 use_syslog=1 Abbbreviated contents of /var/log/nagios2/nagios.log: [1148388211] SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification Test;CRITICAL;notify-by-jabber;No process matching ping found : CRITICAL I appreciate any insight into this problem would be appreciated. Sincerely, Norman H. Harebottle III Software Engineer Vikus Corporation -------------- next part -------------- An HTML attachment was scrubbed... URL: From Oliver.Marshall at g2support.com Wed May 24 14:32:10 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 24 May 2006 13:32:10 +0100 Subject: Reloading nagios config In-Reply-To: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83E0@indigo.G2Support.local> For the sake of google, using Mandriva (and prob loads others), you can do this to reload the nagios config files; /etc/init.d/nagios reload Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nharebottle at vikus.com Wed May 24 14:37:15 2006 From: nharebottle at vikus.com (Norman Harebottle) Date: Wed, 24 May 2006 08:37:15 -0400 Subject: Reloading nagios config Message-ID: I am unclear how that would actually help in getting the Jabber Notification script running. Apparently I am missing something obvious? Norman -----Original Message----- From: Oliver Marshall [mailto:Oliver.Marshall at g2support.com] Sent: Wednesday, May 24, 2006 8:32 AM To: Aaron K. Moore; Norman Harebottle; nagios-users at lists.sourceforge.net Subject: Reloading nagios config For the sake of google, using Mandriva (and prob loads others), you can do this to reload the nagios config files; /etc/init.d/nagios reload Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nicola.agnelli at spiderwall.com Wed May 24 14:38:11 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Wed, 24 May 2006 14:38:11 +0200 Subject: Auth problems In-Reply-To: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> Message-ID: <447453B3.2000303@spiderwall.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, i've installed Nagios 2.3.1 on a Gentoo Linux box, but i've a problem during autentication: when i go to http://ip/nagios tha nagios main page appears to me, and when i click on "host details" for example it require me the authentication so i insert my user and pass but i cant' login ... the login request returns to me.. I've followed this guide: http://gentoo-wiki.com/HOWTO_Install_Nagios how can i solve my problem ? Thank you very much - -- Nicola -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdFOzCdLAdyQGiH8RAvQkAJ4nlpdBjpLatT65x+SMinbyx91uJgCdEXQa tLVGsRYb4Z8OHDJNa8hx58E= =0s7i -----END PGP SIGNATURE----- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Wed May 24 14:36:05 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 24 May 2006 13:36:05 +0100 Subject: Reloading nagios config In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83E1@indigo.G2Support.local> Errrr....it doesn't. It was a new thread. -----Original Message----- From: Norman Harebottle [mailto:nharebottle at vikus.com] Sent: 24 May 2006 13:37 To: Oliver Marshall; Aaron K. Moore; nagios-users at lists.sourceforge.net Subject: RE: Reloading nagios config I am unclear how that would actually help in getting the Jabber Notification script running. Apparently I am missing something obvious? Norman -----Original Message----- From: Oliver Marshall [mailto:Oliver.Marshall at g2support.com] Sent: Wednesday, May 24, 2006 8:32 AM To: Aaron K. Moore; Norman Harebottle; nagios-users at lists.sourceforge.net Subject: Reloading nagios config For the sake of google, using Mandriva (and prob loads others), you can do this to reload the nagios config files; /etc/init.d/nagios reload Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 14:49:25 2006 From: jpratt at norwich.edu (James E. Pratt) Date: Wed, 24 May 2006 08:49:25 -0400 Subject: NIC bonding issues? Message-ID: <92803D5088947D4A979898CC8E835C44380759@XMAIL.norwich.edu> I check a number of interfaces via ping - some running RH ES4 with bonded nics - Lately I've been getting this sometimes.. -- James Pratt Unix Systems Administrator Norwich University - Information Technology http://www.norwich.edu ph: 1(802)485-2532 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 14:51:01 2006 From: jpratt at norwich.edu (James E. Pratt) Date: Wed, 24 May 2006 08:51:01 -0400 Subject: NIC bonding issues? Message-ID: <92803D5088947D4A979898CC8E835C4438075A@XMAIL.norwich.edu> I check a number of interfaces via ping - some running RH ES4 with bonded nics - Lately I've been getting this sometimes.. State: WARNING Date/Time: Wed May 24 08:41:51 EDT 2006 Additional Info: PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.58 ms does my bonding driver have a bug, or is this nagios? (I can't find any dupes on long manual ping tests?) thx jamie -- James Pratt Unix Systems Administrator Norwich University - Information Technology http://www.norwich.edu ph: 1(802)485-2532 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 14:56:56 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 24 May 2006 08:56:56 -0400 Subject: Auth problems In-Reply-To: <447453B3.2000303@spiderwall.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> Message-ID: <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> On 5/24/06, Nicola Agnelli wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hi all, > i've installed Nagios 2.3.1 on a Gentoo Linux box, but i've a problem > during autentication: when i go to http://ip/nagios tha nagios main page > appears to me, and when i click on "host details" for example it require > me the authentication so i insert my user and pass but i cant' login ... > the login request returns to me.. > I've followed this guide: > > http://gentoo-wiki.com/HOWTO_Install_Nagios Double check the permissions you have defined in your cgi.cfg -- 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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nicola.agnelli at spiderwall.com Wed May 24 15:14:20 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Wed, 24 May 2006 15:14:20 +0200 Subject: Auth problems In-Reply-To: <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> Message-ID: <44745C2C.90607@spiderwall.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jim Perrin wrote: > On 5/24/06, Nicola Agnelli wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA1 >> >> Hi all, >> i've installed Nagios 2.3.1 on a Gentoo Linux box, but i've a problem >> during autentication: when i go to http://ip/nagios tha nagios main page >> appears to me, and when i click on "host details" for example it require >> me the authentication so i insert my user and pass but i cant' login ... >> the login request returns to me.. >> I've followed this guide: >> >> http://gentoo-wiki.com/HOWTO_Install_Nagios > > Double check the permissions you have defined in your cgi.cfg > > I've inserted nagiosadmin (as user) everywhere .. how can i do ? - -- Nicola -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdFwsCdLAdyQGiH8RAtgcAJ9ltFjO/gWgbGNViSZbiaBEQiE8KQCfUD0o tymNX4RCB33ambUj+yEOx+E= =hQoc -----END PGP SIGNATURE----- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 JBryce at mtm.com Wed May 24 15:58:22 2006 From: JBryce at mtm.com (Bryce, Jennifer) Date: Wed, 24 May 2006 09:58:22 -0400 Subject: Nagios-users digest, Vol 1 #3188 - 5 msgs Message-ID: <8BE71EF1018F354EAB8E347DB88454665ED0A9@SAVEXBE1.mtm.com> Good ole Georgie Jennifer Bryce MTM Technologies, Inc (formerly NEXL, Inc.) Technical Consultant 978.538.3000 x543 -----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 23, 2006 11:10 PM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #3188 - 5 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: How to reduce a very high latency number (Jacob Ritorto) 2. RE: Check that a process is running! (Marc Powell) 3. 2.x: nagios_check_command never called from cgi pages (Marc Martinez) 4. RE: Undefined subroutine &Embed::Persistent::eval_file called. in check_disk_smb (Stanley.Hopcroft at Dest.gov.au) 5. CGI scripts not running (Eric X. Holzapfel) --__--__-- Message: 1 Date: Tue, 23 May 2006 09:48:19 -0400 From: "Jacob Ritorto" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: How to reduce a very high latency number Greetings, A colleague of mine (poctum) and I ran into something like this while using nsca and have crafted a similar solution. We observed that send_nsca was sending only one result to the central Nagios server per connection. Testing revealed that send_nsca was capable of handling thousands of results per connection. Sending only one at a time was resulting in lots of dropped data because there were nominally about 5 results derived per second. We enabled aggregate_status_updates in the nagios.cfg file, but this yielded no improvement in the result submissions. BTW, this is Nagios-2.2 and nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but efficient solution. It may not be as refined as trask's and relies on nuances of unix file handling algorithms to get the job done. That said, it's working perfectly for us. As this seems to work well, but may violate Ethan's design intentions, your feedback/input is requested. Deploy at your own risk. Jacob Ritorto, Lead UNIX Server Operations Engineer InnovationsTech Here's our solution: 1) Altered last line in /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It basically concatenates check results to a temp file. #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> /opt/nagios/var/results.waiting 2) Created a daemon process called reap (managed by smf, but it has been up for a month so far, so may be ok as an init.d script) to pull aside the aforementioned temp file (results.waiting) every five seconds and send the bits off to the central Nagios server (note that original file is re-created immediately via step 1 above). This probably only works perfectly on unix & unix-like systems due to the nature of files hanging around intact until the last program referencing them has exited. It's been some time, but the last I checked, DOS/WINxxxx doesn't treat files this way. Here's the simple little reap daemon: # cat /opt/nagios/bin/reap #!/usr/bin/tcsh while (1) sleep 5 mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null end Summary: Slave Nagios servers now store up check results in the temp file for 5 seconds, then they get shipped off to nsca on the central Nagios machine in one swoop instead of one-at-a-time. *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ From: Trask Re: How to reduce a very high latency number 2006-05-23 03:50 On 5/22/06, srunschke at abit.de wrote: > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > > To me this is obviously a performance issue related to hardware. > Your machines have way too few RAM. It is totally not possible to > run 1800 checks on a 512MB machine in a timely manner. > I figured this out this past Saturday. It is not any lack of the hardware. I was seeing negligible load nor an excessive use of memory. No configuration change I made seemed to have any appreciable effect on the latency times I was getting. I ended up doing a "top" with 1 second intervals and just watching it for awhile. I noticed that sometimes there would be a good number of nagios processes 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 processes. Although I do not know exactly *why* this was happening, it ends up the during the time where there was 2-4 processes running, 2 of them were always the"submit_passive_check" script and "send_nsca". It appears that this is being done serially (ie not in parallel) and ends up blocking subsequent checks until they are done. I would see these 2 processes running (with steadily increasing PIDs) for up to a minute and then a short-lived (4-5 seconds) "explosion" of nagios processes (service/host checks). After this flurry of activity, it would be another 60 seconds or so of just 2-4 processes. I resolved this problem by changing by "submit_passive_check" script. Below are some sample scripts, both old and new. The short of it is like this: Previously, the "submit_passive_check" script did a printf of the data in the appropriate format and piped it to the "send_nsca" command (in a shell script). I have eliminated this bottleneck by having "submit_passive_check" redirect its output to a named pipe and then having another script feed "send_nsca" with that data as it comes in to the named pipe. Latency times have dropped from the 600-700 seconds to 0.2 seconds on the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. That's more like it! Below are a few scripts w/ notes as to what each one is. Thanks to everyone who offered help. ~trask --__--__-- Message: 2 Subject: RE: [Nagios-users] Check that a process is running! Date: Tue, 23 May 2006 09:32:30 -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 lennart.kvam at softronic.se > Sent: Tuesday, May 23, 2006 5:44 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Check that a process is running! >=20 > Hello all! >=20 > I want to monitor a that a process is running on a solaris8 box, I want a > nagios to notify me if the procs dies or if more than one is running, > anyone know what plugin to use? check_procs >=20 > I'v tried check_procs but dont get it to work! What did you use? What happens? > Please help:-) You need just two arguments to check_procs: -c and -C. One of the Examples given in --help is almost exactly what you need. -- Marc --__--__-- Message: 3 Date: Tue, 23 May 2006 10:31:22 -0700 From: "Marc Martinez" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] 2.x: nagios_check_command never called from cgi pages I've been unable to find a mention of why the nagios_check_command handling has been removed from the sources. I do notice that the option is no longer in the documentation for cgi.cfg but an example entry still exists in the sample-config version of the file. was this ripped out for performance considerations or just shelved in a re-org and never brought back? thanks for any insight.. Marc --__--__-- Message: 4 Subject: RE: [Nagios-users] Undefined subroutine &Embed::Persistent::eval_file called. in check_disk_smb Date: Wed, 24 May 2006 09:22:40 +1000 From: To: Dear Sir, I am writing to thank you for your letter and say, >-----Original Message----- >Message: 15 >Date: Tue, 23 May 2006 14:10:03 +0200 (CEST) >From: =3D?iso-8859-1?q?jacobo=3D20garc=3DEDa?=3D >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Undefined subroutine=20 >&Embed::Persistent::eval_file called. in check_disk_smb > >Under Nagios i had this problem when running >check_disk_smb > >"Undefined subroutine &Embed::Persistent::eval_file >called. " > It sounds like that you have a Nagios built with embedded Perl. (you can check by strings nagios | grep -i perl | head -5. If you see libperl.so Perl_croak Perl_markstack_grow Perl_croak_nocontext Perl_save_int then you have a Perl interpreter built into Nagios). If this is not the case, I can't help. Unfortunately if your Nagios does have Perl in it, the Perl driver (p1.pl) seems not to be where Nagios expects it. Look at your nagios.cfg (eg [sh1517 at acisf011 Dhcp]$ grep -i P1 /etc/nagios/nagios.cfg=20 # P1.PL FILE LOCATION # This value determines where the p1.pl perl script (used by the p1_file=3D/usr/bin/p1.pl [sh1517 at acisf011 Dhcp]$=20 ) and check if p1.pl is in the location nagios.cfg says it should be. If it is, I don't know what is happening. If not, try and locate it - you can get it from the Nagios CVS or from the corresponding dist tarball or the RPM/package - and put it there. You could also check its not hiding somewhere else in the file system.=20 If you can get a copy of p1.pl then either relocate it or put it in the path specified by nagios.cfg (p1.pl is used only by Nagios so moving it won't break anything). You may have to restart Nagios for the change to take effect. The file is plain text, pure Perl. p1.pl defines the subroutine that Nagios is trying to have Perl call. Finally, if you don't have a good reason to use embedded Perl, you probably shouldn't be using it. If you don't want to use embedded Perl, you can't turn it off at run time. The only option is replacing the Nagios binary with one compiled without embedded Perl. The Dag Wieers Redhat RPMs for Nagios all build with embedded Perl so if you use RPMs, you would need to choose another RPM or hack the Dag SPEC file to not build embedded Perl. > >when i run from command line i response on 2 lines, >but it seems to be ok. > >i dont know what to do. > > Yours sincerely. --__--__-- Message: 5 Date: Tue, 23 May 2006 16:35:26 -0700 From: "Eric X. Holzapfel" To: Subject: [Nagios-users] CGI scripts not running This is a multi-part message in MIME format. ------_=_NextPart_001_01C67EC2.0005EC82 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hello Nagios Users, =20 I have downloaded and built nagios 2.3.1 (lets assume for the moment that I did it correctly). =20 when I click on any of the links (like Tactical Informmation, etc) all that I get is a blank page. =20 I have the htpasswd set, etc, and can log in with default user (nagios), and have copied the cgi files (just in case) to the /var/www/cgi-bin directory as well as the files in their normal place /usr/local/nagios/sbin. =20 The permission seem to be set IAW the nagios install directions, etc. =20 I am running Fedora Core 5, and apache 2.0. =20 Any suggestions here??? =20 Thanks, =20 eric ------_=_NextPart_001_01C67EC2.0005EC82 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Hello = Nagios=20 Users,
 
I have = downloaded=20 and built nagios 2.3.1 (lets assume for the moment that I did it=20 correctly).
 
 when I click=20 on any of the links (like Tactical Informmation, etc) all that I get is = a blank=20 page.
 
I have = the htpasswd=20 set, etc, and can log in with default user (nagios), and have copied the = cgi=20 files (just in case) to the /var/www/cgi-bin directory as well as the = files in=20 their normal place /usr/local/nagios/sbin.
 
The = permission seem=20 to be set IAW the nagios install directions, etc.
 
I am = running Fedora=20 Core 5, and apache 2.0.
 
Any = suggestions=20 here???
 
Thanks,
 
eric
------_=_NextPart_001_01C67EC2.0005EC82-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 16:32:01 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 09:32:01 -0500 Subject: Check that a process is running! Message-ID: Please always respond on-list so that others may benefit from your experience. > -----Original Message----- > From: lennart.kvam at softronic.se [mailto:lennart.kvam at softronic.se] > Sent: Wednesday, May 24, 2006 2:35 AM > To: Marc Powell > Subject: SV: [Nagios-users] Check that a process is running! > > Hi! > > I cant get it to work:-( > I have a process "qdaemon" that is very critical for us! That procs must > run...it has 2 instances running! > > First, how do you tell nagios/check_procs to send a warning/critical alarm > when one or two dies? > > I try > ./check_nrpe -H 157.180.140.xxx -n -c check_procs -w2 -c3 -u root -C > qdaemon > But still, it wont tell me if it dies, only if it starts more than 2! > > Sorry for my stupid question but my brain cant seems to get it:-) > > Would be thankful if you can guide me at the right way! >From check_procs --help -- Examples: check_procs -w 2:2 -c 2:1024 -C portsentry Warning if not two processes with command name portsentry. Critical if < 2 or > 1024 processes So that's almost what you are looking for. It will warn if there not two processes named portsentry. You want that to go strait to critical instead and check for "qdaemon" -- check_procs -c 2:2 -C qdaemon testing it (using different process names that match my testing criteria) -- $ ./check_procs -c 2:2 -C sendmail PROCS OK: 2 processes with command name 'sendmail' $ ./check_procs -c 2:2 -C sendmailbad PROCS CRITICAL: 0 processes with command name 'sendmailbad' $ ./check_procs -c 2:2 -C init PROCS CRITICAL: 1 process with command name 'init' $ ./check_procs -c 2:2 -C nsca PROCS CRITICAL: 14 processes with command name 'nsca' -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Wed May 24 16:33:07 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 24 May 2006 09:33:07 -0500 Subject: Reloading nagios config In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83E0@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83E0@indigo.G2Support.local> Message-ID: <1148481187.15795.93.camel@localhost> On Wed, 2006-05-24 at 13:32 +0100, Oliver Marshall wrote: > For the sake of google, using Mandriva (and prob loads others), you can > do this to reload the nagios config files; > > /etc/init.d/nagios reload And when you get "weirdness" with your CGIs the phrase you'll be looking for is 'zombie processes'. Just for future reference. -------------- 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 bohara at gmail.com Wed May 24 16:37:18 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 24 May 2006 15:37:18 +0100 Subject: Reloading nagios config In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83E0@indigo.G2Support.local> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <161A23FF529F614582A5C1F469FA7B6C0C83E0@indigo.G2Support.local> Message-ID: <2b36e660605240737n261c09a5j85229046afd9b406@mail.gmail.com> On 5/24/06, Oliver Marshall wrote: > > For the sake of google, using Mandriva (and prob loads others), you can > do this to reload the nagios config files; > > /etc/init.d/nagios reload > > Olly Is this actually nagios related or general *nix admin skills? 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 nagios at gnarg.org Wed May 24 16:45:47 2006 From: nagios at gnarg.org (nagios at gnarg.org) Date: Wed, 24 May 2006 16:45:47 +0200 Subject: status.cgi mixing services up? Message-ID: <4474719B.6050305@gnarg.org> Hi gang, I have found a slightly disturbing behaviour in status.cgi: Sometimes it duplicates the status of a service onto another. I discovered this once and can since reproduce it using the reload button of my browser. This is Nagios 2.3.1 and NRPE 2.5.1. Right operation: (I cranked the warning % up on the Backup Partition to speed up optical recognition) ------------------------------------------------------------------------ Remote Backup Partition WARNING 05-24-2006 16:27:09 0d 0h 10m 14s 4/4 DISK WARNING - free space: /server2 21300 MB (55% inode=99%): Remote Root Partition OK 05-24-2006 16:27:18 0d 0h 12m 5s 1/4 DISK OK - free space: / 12780 MB (72% inode=94%): ------------------------------------------------------------------------ Wrong operation: ------------------------------------------------------------------------ Remote Backup Partition OK 05-24-2006 16:27:51 1d 20h 38m 11s 1/4 DISK OK - free space: / 12780 MB (72% inode=94%): Remote Root Partition OK 05-24-2006 16:29:00 1d 20h 37m 2s 1/4 DISK OK - free space: / 12780 MB (72% inode=94%): ------------------------------------------------------------------------ The Durations are funny, too. To reproduce hit reload a couple times. It takes 10 - 20 clicks until it shows the wrong behaviour which persists about 3 clicks, assuming roughly 1 second per click. What can this be? Thanks, Chris ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 24 16:47:07 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 09:47:07 -0500 Subject: How to reduce a very high latency number Message-ID: I have 3 separate central servers (2 production and 1 for testing), all running nsca as a daemon and all receiving the same 3590 passive service results every 5 minutes. I've never had a problem with missed checks or high latency numbers. Stats from my clients -- Client1 submits 504(x3) passive checks - Metric Min. Max. Average Check Execution Time: 0.01 sec 21.40 sec 3.394 sec Check Latency: 0.01 sec 2.18 sec 0.216 sec Percent State Change: 0.00% 5.72% 0.07% Client2 submits 1260(x3) passive checks - Metric Min. Max. Average Check Execution Time: 0.04 sec 35.03 sec 6.789 sec Check Latency: 0.00 sec 3.95 sec 0.839 sec Percent State Change: 0.00% 11.84% 0.08% Client3 submits 824(x3) passive checks - Metric Min. Max. Average Check Execution Time: 0.09 sec 15.79 sec 7.999 sec Check Latency: 0.01 sec 7.97 sec 2.034 sec Percent State Change: 0.00% 5.86% 0.02% Client4 submits 293(x3) passive checks - Metric Min. Max. Average Check Execution Time: 0.09 sec 10.36 sec 7.584 sec Check Latency: 0.00 sec 1.15 sec 0.249 sec Percent State Change: 0.00% 12.11% 0.12% Client5 submits 720(x3) passive checks - Metric Min. Max. Average Check Execution Time: 0.11 sec 16.81 sec 8.844 sec Check Latency: 0.00 sec 6.81 sec 1.009 sec Percent State Change: 0.00% 11.84% 0.04% All very reasonable to me. Clients 3-5 are single proc PIII-800's running nagios and cricket and are due to be upgraded but even an average latency of 2 seconds there is nothing to fret over at all. -- Marc > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Morris, Patrick > Sent: Wednesday, May 24, 2006 3:54 AM > To: Greg Cope; Jacob Ritorto > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: How to reduce a very high latency number > > How are you guys running the nsca daemon? I've got systems that perform > thousands of checks with no problem. > > I'm looking at a system right now that submits over 5300 checks to a > central server running nsca via xinetd, and it has a average service > latency of .153 secs. > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg Cope > Sent: Wednesday, May 24, 2006 1:47 AM > To: Jacob Ritorto > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: How to reduce a very high latency number > > Jacob, > > I noticed the same thing today. > > We run a few distributed servers that do about 150 checks (at the > moment) and submit this to our central server. > > That's allot of send_nsca processes that get spawned. > > I like you fix! > > send_nsca would not appear to be scallable for those running lots of > passive checks with distributed systems. > > Greg > > On Tue, 2006-05-23 at 09:48 -0400, Jacob Ritorto wrote: > > Greetings, > > A colleague of mine (poctum) and I ran into something like this > > > while using nsca and have crafted a similar solution. We observed > > that send_nsca was sending only one result to the central Nagios > > server per connection. Testing revealed that send_nsca was capable of > > > handling thousands of results per connection. Sending only one at a > > time was resulting in lots of dropped data because there were > > nominally about 5 results derived per second. We enabled > > aggregate_status_updates in the nagios.cfg file, but this yielded no > > improvement in the result submissions. BTW, this is Nagios-2.2 and > > nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but > > efficient solution. It may not be as refined as trask's and relies on > > > nuances of unix file handling algorithms to get the job done. That > > said, it's working perfectly for us. As this seems to work well, but > > may violate Ethan's design intentions, your feedback/input is > > requested. Deploy at your own risk. > > > > Jacob Ritorto, Lead UNIX Server Operations Engineer InnovationsTech > > > > Here's our solution: > > > > 1) Altered last line in > > /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It > > basically concatenates check results to a temp file. > > > > #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | > > /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg > > > > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> > > /opt/nagios/var/results.waiting > > > > > > 2) Created a daemon process called reap (managed by smf, but it has > > been up for a month so far, so may be ok as an init.d script) to pull > > aside the aforementioned temp file (results.waiting) every five > > seconds and send the bits off to the central Nagios server (note that > > original file is re-created immediately via step 1 above). This > > probably only works perfectly on unix & unix-like systems due to the > > nature of files hanging around intact until the last program > > referencing them has exited. It's been some time, but the last I > > checked, DOS/WINxxxx doesn't treat files this way. Here's the simple > > little reap daemon: > > > > # cat /opt/nagios/bin/reap > > #!/usr/bin/tcsh > > while (1) > > sleep 5 > > mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending > > cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca > > 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null end > > > > > > Summary: Slave Nagios servers now store up check results in the temp > > file for 5 seconds, then they get shipped off to nsca on the central > > Nagios machine in one swoop instead of one-at-a-time. > > > > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > > > > > > > > From: Trask > > Re: How to reduce a very high latency number > > 2006-05-23 03:50 > > > > On 5/22/06, srunschke at abit.de wrote: > > > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 > 20:09:16: > > > > > > To me this is obviously a performance issue related to hardware. > > > Your machines have way too few RAM. It is totally not possible to > > > run 1800 checks on a 512MB machine in a timely manner. > > > > > > > I figured this out this past Saturday. It is not any lack of the > > hardware. I was seeing negligible load nor an excessive use of > > memory. No configuration change I made seemed to have any appreciable > > > effect on the latency times I was getting. I ended up doing a "top" > > with 1 second intervals and just watching it for awhile. I noticed > > that sometimes there would be a good number of nagios processes > > 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 > > > processes. Although I do not know exactly *why* this was happening, > > it ends up the during the time where there was 2-4 processes running, > > 2 of them were always the"submit_passive_check" script and > > "send_nsca". It appears that this is being done serially (ie not in > > parallel) and ends up blocking subsequent checks until they are done. > > I would see these 2 processes running (with steadily increasing PIDs) > > for up to a minute and then a short-lived (4-5 seconds) "explosion" of > > > nagios processes (service/host checks). After this flurry of > > activity, it would be another 60 seconds or so of just 2-4 processes. > > > > I resolved this problem by changing by "submit_passive_check" script. > > Below are some sample scripts, both old and new. The short of it is > > like this: Previously, the "submit_passive_check" script did a printf > > > of the data in the appropriate format and piped it to the "send_nsca" > > command (in a shell script). I have eliminated this bottleneck by > > having "submit_passive_check" redirect its output to a named pipe and > > then having another script feed "send_nsca" with that data as it comes > > > in to the named pipe. > > > > Latency times have dropped from the 600-700 seconds to 0.2 seconds on > > the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. > > That's more like it! > > > > Below are a few scripts w/ notes as to what each one is. Thanks to > > everyone who offered help. > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Wed May 24 16:50:53 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 24 May 2006 09:50:53 -0500 Subject: status.cgi mixing services up? In-Reply-To: <4474719B.6050305@gnarg.org> References: <4474719B.6050305@gnarg.org> Message-ID: <1148482253.15795.95.camel@localhost> On Wed, 2006-05-24 at 16:45 +0200, nagios at gnarg.org wrote: > Hi gang, > > I have found a slightly disturbing behaviour in status.cgi: Sometimes it > duplicates the status of a service onto another. I discovered this once > and can since reproduce it using the reload button of my browser. This > is Nagios 2.3.1 and NRPE 2.5.1. Stop nagios. Kill all the zombie processes. Start nagios. -------------- 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 bohara at gmail.com Wed May 24 16:52:38 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 24 May 2006 15:52:38 +0100 Subject: status.cgi mixing services up? In-Reply-To: <4474719B.6050305@gnarg.org> References: <4474719B.6050305@gnarg.org> Message-ID: <2b36e660605240752r58bf433m1550ad660757392a@mail.gmail.com> On 5/24/06, nagios at gnarg.org wrote: > > Hi gang, > > I have found a slightly disturbing behaviour in status.cgi: Sometimes it > duplicates the status of a service onto another. I discovered this once > and can since reproduce it using the reload button of my browser. This > is Nagios 2.3.1 and NRPE 2.5.1. > > Right operation: > (I cranked the warning % up on the Backup Partition to speed up optical > recognition) > ------------------------------------------------------------------------ > Remote Backup Partition > WARNING 05-24-2006 16:27:09 0d 0h 10m 14s 4/4 DISK WARNING - > free space: /server2 21300 MB (55% inode=99%): > > Remote Root Partition > OK 05-24-2006 16:27:18 0d 0h 12m 5s 1/4 DISK OK - > free space: / 12780 MB (72% inode=94%): > ------------------------------------------------------------------------ > > Wrong operation: > ------------------------------------------------------------------------ > Remote Backup Partition > OK 05-24-2006 16:27:51 1d 20h 38m 11s 1/4 DISK OK - > free space: / 12780 MB (72% inode=94%): > > Remote Root Partition > OK 05-24-2006 16:29:00 1d 20h 37m 2s 1/4 DISK OK - > free space: / 12780 MB (72% inode=94%): > ------------------------------------------------------------------------ > > The Durations are funny, too. > > To reproduce hit reload a couple times. It takes 10 - 20 clicks until it > shows the wrong behaviour which persists about 3 clicks, assuming > roughly 1 second per click. > > What can this be? Check you havent got multiple nagios processes running Ben Thanks, > Chris > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > -- "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 marc at ena.com Wed May 24 16:53:46 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 09:53:46 -0500 Subject: Reloading 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 jeff vier > Sent: Wednesday, May 24, 2006 9:33 AM > To: Oliver Marshall > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Reloading nagios config > > On Wed, 2006-05-24 at 13:32 +0100, Oliver Marshall wrote: > > For the sake of google, using Mandriva (and prob loads others), you can > > do this to reload the nagios config files; > > > > /etc/init.d/nagios reload > > And when you get "weirdness" with your CGIs the phrase you'll be looking > for is 'zombie processes'. > > Just for future reference. That should only occur on restart, when a new daemon is started, not reload since the currently running daemon is maintained. -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 16:58:25 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 09:58:25 -0500 Subject: Reloading 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 Ben O'Hara > Sent: Wednesday, May 24, 2006 9:37 AM > To: Oliver Marshall > Cc: Aaron K. Moore; Norman Harebottle; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Reloading nagios config > > On 5/24/06, Oliver Marshall wrote: > > For the sake of google, using Mandriva (and prob loads others), you > can > do this to reload the nagios config files; > > /etc/init.d/nagios reload > > Olly > > > Is this actually nagios related or general *nix admin skills? All daemons and init scripts are not created equal ;) Whether or not reload works and what it actually does depends on the application. For the OP, it works with all versions of nagios -- http://nagios.sourceforge.net/docs/2_0/stoprestart.html -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 at gnarg.org Wed May 24 17:00:30 2006 From: nagios at gnarg.org (nagios at gnarg.org) Date: Wed, 24 May 2006 17:00:30 +0200 Subject: status.cgi mixing services up? In-Reply-To: <2b36e660605240752r58bf433m1550ad660757392a@mail.gmail.com> References: <4474719B.6050305@gnarg.org> <2b36e660605240752r58bf433m1550ad660757392a@mail.gmail.com> Message-ID: <4474750E.4070805@gnarg.org> Ben O'Hara wrote: > Check you havent got multiple nagios processes running Ah. I got 2 nagios processes running. Killing them and starting nagios seemed to help: I cannot reproduce the behaviour any longer. > Ben Thanks, that was damn fast. Chris ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Wed May 24 17:01:26 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 24 May 2006 10:01:26 -0500 Subject: Reloading nagios config In-Reply-To: References: Message-ID: <1148482886.15795.99.camel@localhost> On Wed, 2006-05-24 at 09:53 -0500, Marc Powell wrote: > > And when you get "weirdness" with your CGIs the phrase you'll be > looking > > for is 'zombie processes'. > That should only occur on restart, when a new daemon is started, not > reload since the currently running daemon is maintained. "should", perhaps. It's bitten me. Any zombies would maintain the old config, no? I can say, for sure, I have seen it with my server here. I've gotten out of the habit of using reload long ago, so, perhaps it's fixed, but it also seems logical to me that it could cause the zombie problem. -------------- 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 bohara at gmail.com Wed May 24 17:01:43 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 24 May 2006 16:01:43 +0100 Subject: status.cgi mixing services up? In-Reply-To: <4474750E.4070805@gnarg.org> References: <4474719B.6050305@gnarg.org> <2b36e660605240752r58bf433m1550ad660757392a@mail.gmail.com> <4474750E.4070805@gnarg.org> Message-ID: <2b36e660605240801k1dd4ab82kbb37da181f620a2b@mail.gmail.com> On 5/24/06, nagios at gnarg.org wrote: > > Ben O'Hara wrote: > > > Check you havent got multiple nagios processes running > > Ah. I got 2 nagios processes running. Killing them and starting nagios > seemed to help: I cannot reproduce the behaviour any longer. > > > Ben > > Thanks, that was damn fast. Nothing much to do at work when youve got nagios running correctly ;-) Ben Chris > > -- "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 marc at ena.com Wed May 24 17:09:38 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 10:09:38 -0500 Subject: NIC bonding issues? 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 24, 2006 7:51 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] NIC bonding issues? > > I check a number of interfaces via ping - some running RH ES4 with > bonded nics - Lately I've been getting this sometimes.. > > State: WARNING > > Date/Time: Wed May 24 08:41:51 EDT 2006 > > Additional Info: > > PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.58 ms > > does my bonding driver have a bug, or is this nagios? (I can't find any > dupes on long manual ping tests?) /bin/ping is reporting duplicate packets so it's a network/driver layer issue. If check_ping sees "(DUP!)" in the ping output then it reports a warning with the text above. -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 17:11:55 2006 From: jperrin at gmail.com (Jim Perrin) Date: Wed, 24 May 2006 11:11:55 -0400 Subject: status.cgi mixing services up? In-Reply-To: <2b36e660605240801k1dd4ab82kbb37da181f620a2b@mail.gmail.com> References: <4474719B.6050305@gnarg.org> <2b36e660605240752r58bf433m1550ad660757392a@mail.gmail.com> <4474750E.4070805@gnarg.org> <2b36e660605240801k1dd4ab82kbb37da181f620a2b@mail.gmail.com> Message-ID: <302ce8b50605240811j1b359379k289c1f8747319083@mail.gmail.com> > > Nothing much to do at work when youve got nagios running correctly ;-) How many times do I have to tell you not to say this in public? What if our bosses are reading this list? They'll actually want something produced :-P -- 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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Deborah.Martin at Kognitio.com Wed May 24 17:13:22 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 24 May 2006 16:13:22 +0100 Subject: Best web front end Message-ID: Doesn't NagiosQL2005 dictate where you can install it and where nagios should be installed ? I use /usr/local/nagios ... for my location but NagiosQL2005 seems to want to force a certain directory structure which just would not work for me. It seems a little inflexible as there must be many nagios installs whereby changing the structure would just create far too much work just to get this working. Does anyone disagree here ? regards, deborah -----Original Message----- From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se] Sent: 24 May 2006 12:17 To: Oliver Marshall Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end Hi Like Deborah says "This has been discussed to death. I'd suggest use google and look around to" I tried the Fruity, Nag2Web,NagiosQL and som other configtools But for "me" the best is NagiosQL - www.nagiosql.org It?s a php tool with mysql . very handy I serve about 2500 services and around 150 hosts with this tool and i never had problems. 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. Features are Import/export Easy navigation Backup function Give it a try Regards /J?rg "Oliver Marshall" Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-24 11:27 To "Deborah Martin" , , cc Subject RE: [Nagios-users] Best web front end I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them. Alternatively, write your own and then you only have yourself to please! :) regs, deborah -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT158290.jpg Type: image/jpeg Size: 10010 bytes Desc: not available URL: From bohara at gmail.com Wed May 24 17:14:54 2006 From: bohara at gmail.com (Ben O'Hara) Date: Wed, 24 May 2006 16:14:54 +0100 Subject: status.cgi mixing services up? In-Reply-To: <302ce8b50605240811j1b359379k289c1f8747319083@mail.gmail.com> References: <4474719B.6050305@gnarg.org> <2b36e660605240752r58bf433m1550ad660757392a@mail.gmail.com> <4474750E.4070805@gnarg.org> <2b36e660605240801k1dd4ab82kbb37da181f620a2b@mail.gmail.com> <302ce8b50605240811j1b359379k289c1f8747319083@mail.gmail.com> Message-ID: <2b36e660605240814v593ad865v7867586f8b36cc21@mail.gmail.com> On 5/24/06, Jim Perrin wrote: > > > > > Nothing much to do at work when youve got nagios running correctly ;-) > > How many times do I have to tell you not to say this in public? What > if our bosses are reading this list? They'll actually want something > produced :-P Haha, now, now, you should know that no boss worth their salary would ever sign up to a tech mailing list, let along bother to read whats posted ;-) 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 marc at ena.com Wed May 24 17:15:41 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 10:15:41 -0500 Subject: Reloading nagios config Message-ID: > -----Original Message----- > From: jeff vier [mailto:boinger at tradingtechnologies.com] > Sent: Wednesday, May 24, 2006 10:01 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Reloading nagios config > > On Wed, 2006-05-24 at 09:53 -0500, Marc Powell wrote: > > > And when you get "weirdness" with your CGIs the phrase you'll be > > looking > > > for is 'zombie processes'. > > That should only occur on restart, when a new daemon is started, not > > reload since the currently running daemon is maintained. > > "should", perhaps. > > It's bitten me. > > Any zombies would maintain the old config, no? > > I can say, for sure, I have seen it with my server here. > I've gotten out of the habit of using reload long ago, so, perhaps it's > fixed, but it also seems logical to me that it could cause the zombie > problem. I've just switched from using restarts to reloads a week ago so we'll see if it crops up ;) My understanding of the issue (from personal experience) is that a restart didn't always kill the old daemon before starting the new one, resulting in two (or more, after several restarts) daemons running and writing to the same status files. Since a reload doesn't spawn a new daemon process, the problem shouldn't occur. It seems I might not have a complete understanding... -- Marc -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 24 17:16:20 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Wed, 24 May 2006 11:16:20 -0400 Subject: Reloading nagios config Message-ID: I have found that since /etc/init.d/nagios is unavailable to the nagios user since it requires root privs (in my paranoid world), I created a simple script owned by nagios itself called "trigger-restart" based on one of the samples which says: # This is a sample shell script showing how you can submit the RESTART_PROGRAM command # to Nagios. Adjust variables to fit your environment as necessary. now=$( ${DATE} +%s ) commandfile='/usr/local/nagios/var/rw/nagios.cmd' ${PRINTF} "Requesting restart at [%lu]\n" ${now} ${PRINTF} "[%lu] RESTART_PROGRAM\n" ${now} > ${commandfile} This gives me a reliable restart/reload without having to be worried about zombies. I have a "check" command done before this on the current config files to make sure there's no surprises coming my way too, if it passes, it does the restart. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 24 17:17:48 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 10:17:48 -0500 Subject: status.cgi mixing services up? Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of nagios at gnarg.org > Sent: Wednesday, May 24, 2006 10:01 AM > To: nagios-users at lists.sourceforge.net > Cc: Ben O'Hara > Subject: Re: [Nagios-users] status.cgi mixing services up? > > Ben O'Hara wrote: > > > Check you havent got multiple nagios processes running > > Ah. I got 2 nagios processes running. Killing them and starting nagios > seemed to help: I cannot reproduce the behaviour any longer. > > > Ben > > Thanks, that was damn fast. And a cleverly disguised FAQ =) http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=f alse -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 ssmith at siu.edu Wed May 24 17:19:55 2006 From: ssmith at siu.edu (Scott Smith) Date: Wed, 24 May 2006 10:19:55 -0500 Subject: check_radius Segmentation Fault Message-ID: <4474799B.7040605@siu.edu> I have recently upgrade from Fedora Core 3 to Fedora Core 5. At the same time I upgraded Nagios from 2.0b4 to the latest 2.x version. All my configs seemed to work fine. I recompiled the Nagios-Plugins as well. Everything seems to be working fine except "check_radius". When I run check_radius manually I get "Segmentation fault" back, nothing more. I have checked that the /etc/radiusclient/radiusclient.conf is correct and I can run the radlogin manually and it works fine. Any ideas? -- Scott Smith Network Engineering Services Southern Illinois University Carbondale ssmith at siu.edu ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 From nagios at gnarg.org Wed May 24 17:29:52 2006 From: nagios at gnarg.org (nagios at gnarg.org) Date: Wed, 24 May 2006 17:29:52 +0200 Subject: status.cgi mixing services up? In-Reply-To: References: Message-ID: <44747BF0.6090804@gnarg.org> Marc Powell schrieb: > And a cleverly disguised FAQ =) Dammit! Did not recognize that one. > http://www.nagios.org/faqs/viewfaq.php?faq_id=21&expand=false&showdesc=false "Hosts and services will occassionally disappear from the web interface." Could someone please add the words "or seem duplicated" or "overwrite other services" or so? When I read "disappear" I think the whole line is missing, which was not the case. > -- > Marc Thanx, Chris ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ewh at groupoliver.com Wed May 24 17:49:58 2006 From: ewh at groupoliver.com (Eric X. Holzapfel) Date: Wed, 24 May 2006 08:49:58 -0700 Subject: CGI not running - selinux the problem Message-ID: This is for message number 4 Thanks, I forgot about seLinux!!! eric -----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: Wednesday, May 24, 2006 5:27 AM To: nagios-users at lists.sourceforge.net Subject: Nagios-users digest, Vol 1 #3189 - 20 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: Jabber Custom Notification Script Not Working (Frederik Vanhee) 2. Nagios process Critical.. (VINAY_SHARMA at advanex.co.jp) 3. RE: Nagios process Critical.. (Morris, Patrick) 4. Re: CGI scripts not running (Hugo van der Kooij) 5. out of office (Martin Schwarz) 6. Best web front end (Oliver Marshall) 7. Re: Re: How to reduce a very high latency number (Greg Cope) 8. RE: Re: How to reduce a very high latency number (Morris, Patrick) 9. Re: Best web front end (Az) 10. Re: Best web front end (nagios at sisyphus.ch) 11. RE: Re: How to reduce a very high latency number (Greg Cope, e-DBA Team) 12. RE: Best web front end (Deborah Martin) 13. RE: Best web front end (Oliver Marshall) 14. nagios.cmd file (Oliver Marshall) 15. Re: Re: How to reduce a very high latency number (Jacob Ritorto) 16. RE: Jabber Custom Notification Script Not Working (Norman Harebottle) 17. RE: Best web front end (Jorg.Schulz at systeam.se) 18. RE: Best web front end (Oliver Marshall) 19. Removing space's from Macro's $SERVICEOUTPUT$ (Garrett, Matt M SITI-ITISEEEE) 20. RE: Jabber Custom Notification Script Not Working (Aaron K. Moore) --__--__-- Message: 1 Date: Wed, 24 May 2006 06:52:22 +0200 From: Frederik Vanhee To: Norman Harebottle CC: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Jabber Custom Notification Script Not Working Norman Harebottle wrote: > Hello Everyone, > > I am wondering if anyone has had success getting the Jabber > Notification script written by David Cox to work. > > I have a user called nagios under which nagios runs and using "su > nagios" (on Debian) I can run the script and it notifies just fine. So > I am concluding that it is not a security related issue nor a script > execution error since it works correctly. However, when running the > Perl script in the Embedded Perl environment, something happens (which > is not logged) which causes the script to not execute as desired. > > Can anyone point me in the direction of a logging directive to enable > so that I can see any Perl errors that may be generated in the process? > > *Current nagios.cfg logging settings:* > log_archive_path=/var/log/nagios/archives > log_event_handlers=1 > log_external_commands=1 > log_file=/var/log/nagios2/nagios.log > log_host_retries=1 > log_initial_states=0 > log_notifications=1 > log_passive_checks=1 > log_rotation_method=d > log_service_retries=1 > use_syslog=1 > *Abbbreviated contents of /var/log/nagios2/nagios.log:* > [1148388211] SERVICE NOTIFICATION: norman;weathervane;Service: Jabber > Notification Test;CRITICAL;notify-by-jabber;No process matching ping > found : CRITICAL > I appreciate any insight into this problem would be appreciated. > > Sincerely, > > Norman H. Harebottle III > Software Engineer > Vikus Corporation Hello Norman, can you send me your Nagios notification command ? I have it working, so it should work. I had it working with embedded perl on Nagios 2.0b3 and on Nagios 2.0rc2 and without embedded perl on Nagios 2.3.1 Frederik --__--__-- Message: 2 To: From: VINAY_SHARMA at advanex.co.jp Date: Wed, 24 May 2006 14:05:27 +0900 Subject: [Nagios-users] Nagios process Critical.. Dear all, yesterday my nagios linux OS was broken.today i fixed the = OS and restart all services is running well insted of nagios process.all o= ther nagios services is running as usual but on nagios process page i foung below error. my linux OS is ver9 kernal: 2.4.20-8 nagios ver: 1.0 =20 =20 =20 Process Information =20 =20 =20 =20 =20 =20 =20 Program Start Time: =20 05-24-2006 =20 13:58:11 =20 Total Running Time: =20 0d 0h 1m 9s =20 Last External Command Check: =20 05-24-2006 =20 13:59:11 =20 Last Log File Rotation: =20 N/A =20 Nagios PID =20 4125 =20 Notifications Enabled? =20 =A0=A0YES =20 Service Checks Being Executed? =20 =A0=A0YES =20 Passive Service Checks Being Accepted? =20 =A0=A0YES =20 Event Handlers Enabled? =20 Yes =20 Obsessing Over Services? =20 Yes =20 Flap Detection Enabled? =20 Yes =20 Performance Data Being Processed? =20 Yes =20 =20 =20 =20 =20 =20 = =20 = =20 = =20 = =20 Warning: Monitoring process may not be running! = =20 Click here for more info. = =20 = =20 = =20 = =20 = =20 = =20 = =20 = =20 Process Commands = =20 = =20 = =20 = =20 It appears as though Nagios is not running, so commands are tempo= rarily =20 unavailable... = =20 = =20 = =20 = =20 = =20 Process Status Information |--------------------------------------------------| | | | | | | |Process Status: | | =A0=A0CRITICAL | |Check Command Output: | | Could not locate a running | | Nagios process! | | | |--------------------------------------------------| Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp = --__--__-- Message: 3 Subject: RE: [Nagios-users] Nagios process Critical.. Date: Wed, 24 May 2006 01:28:23 -0400 From: "Morris, Patrick" To: , Anything in the Nagios logs? Looks like it's not running.=20 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of VINAY_SHARMA at advanex.co.jp Sent: Tuesday, May 23, 2006 10:05 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios process Critical.. Dear all, yesterday my nagios linux OS was broken.today i fixed the OS and restart all services is running well insted of nagios process.all other nagios services is running as usual but on nagios process page i foung below error. [snip] =20 Warning: Monitoring process may not be running! Click here for more info. =20 [snip] --__--__-- Message: 4 Date: Wed, 24 May 2006 07:35:50 +0200 (CEST) From: Hugo van der Kooij Reply-To: Nagios Users Mailinglist To: Nagios Users Mailinglist Subject: Re: [Nagios-users] CGI scripts not running On Tue, 23 May 2006, Eric X. Holzapfel wrote: > I have downloaded and built nagios 2.3.1 (lets assume for the moment > that I did it correctly). Assumptions. I think there are many corpses on the road to Bagdad based on those things. > when I click on any of the links (like Tactical Informmation, etc) all > that I get is a blank page. > > I have the htpasswd set, etc, and can log in with default user (nagios), > and have copied the cgi files (just in case) to the /var/www/cgi-bin > directory as well as the files in their normal place > /usr/local/nagios/sbin. Not a good thing. > The permission seem to be set IAW the nagios install directions, etc. > > I am running Fedora Core 5, and apache 2.0. > > Any suggestions here??? Read the archives. Check: - selinux - httpd config. (Show us the exact changes) - apache logs Any reason why you did not use Dag Wiers packages? 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: 5 From: Martin Schwarz To: Nagios Users Mailinglist Date: Wed, 24 May 2006 07:39:28 +0200 Subject: [Nagios-users] out of office I will be out of the office starting 23.05.2006 and will not return until 29.05.2006. I will have no access to my mail. In urgent cases call me on my mobile ( +491728491717 ) or contact Armin in munich ( -172 ) --__--__-- Message: 6 Date: Wed, 24 May 2006 09:20:39 +0100 From: "Oliver Marshall" To: "Nagios Users Mailinglist" Subject: [Nagios-users] Best web front end What are peoples opinions on a decent web based management/configuration front end for Nagios, ideally PHP? Olly --__--__-- Message: 7 Subject: Re: [Nagios-users] Re: How to reduce a very high latency number From: Greg Cope To: Jacob Ritorto Cc: nagios-users at lists.sourceforge.net Organization: e-DBA Team Date: Wed, 24 May 2006 09:46:48 +0100 Jacob, I noticed the same thing today. We run a few distributed servers that do about 150 checks (at the moment) and submit this to our central server. That's allot of send_nsca processes that get spawned. I like you fix! send_nsca would not appear to be scallable for those running lots of passive checks with distributed systems. Greg On Tue, 2006-05-23 at 09:48 -0400, Jacob Ritorto wrote: > Greetings, > A colleague of mine (poctum) and I ran into something like > this while using nsca and have crafted a similar solution. We > observed that send_nsca was sending only one result to the central > Nagios server per connection. Testing revealed that send_nsca was > capable of handling thousands of results per connection. Sending only > one at a time was resulting in lots of dropped data because there were > nominally about 5 results derived per second. We enabled > aggregate_status_updates in the nagios.cfg file, but this yielded no > improvement in the result submissions. BTW, this is Nagios-2.2 and > nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but > efficient solution. It may not be as refined as trask's and relies on > nuances of unix file handling algorithms to get the job done. That > said, it's working perfectly for us. As this seems to work well, but > may violate Ethan's design intentions, your feedback/input is > requested. Deploy at your own risk. > > Jacob Ritorto, Lead UNIX Server Operations Engineer > InnovationsTech > > Here's our solution: > > 1) Altered last line in > /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It > basically concatenates check results to a temp file. > > #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | > /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg > > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> > /opt/nagios/var/results.waiting > > > 2) Created a daemon process called reap (managed by smf, but it has > been up for a month so far, so may be ok as an init.d script) to pull > aside the aforementioned temp file (results.waiting) every five > seconds and send the bits off to the central Nagios server (note that > original file is re-created immediately via step 1 above). This > probably only works perfectly on unix & unix-like systems due to the > nature of files hanging around intact until the last program > referencing them has exited. It's been some time, but the last I > checked, DOS/WINxxxx doesn't treat files this way. Here's the simple > little reap daemon: > > # cat /opt/nagios/bin/reap > #!/usr/bin/tcsh > while (1) > sleep 5 > mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending > cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca > 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null > end > > > Summary: Slave Nagios servers now store up check results in the temp > file for 5 seconds, then they get shipped off to nsca on the central > Nagios machine in one swoop instead of one-at-a-time. > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > > > > From: Trask > Re: How to reduce a very high latency number > 2006-05-23 03:50 > > On 5/22/06, srunschke at abit.de wrote: > > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > > > > To me this is obviously a performance issue related to hardware. > > Your machines have way too few RAM. It is totally not possible to > > run 1800 checks on a 512MB machine in a timely manner. > > > > I figured this out this past Saturday. It is not any lack of the > hardware. I was seeing negligible load nor an excessive use of > memory. No configuration change I made seemed to have any appreciable > effect on the latency times I was getting. I ended up doing a "top" > with 1 second intervals and just watching it for awhile. I noticed > that sometimes there would be a good number of nagios processes > 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 > processes. Although I do not know exactly *why* this was happening, > it ends up the during the time where there was 2-4 processes running, > 2 of them were always the"submit_passive_check" script and > "send_nsca". It appears that this is being done serially (ie not in > parallel) and ends up blocking subsequent checks until they are done. > I would see these 2 processes running (with steadily increasing PIDs) > for up to a minute and then a short-lived (4-5 seconds) "explosion" of > nagios processes (service/host checks). After this flurry of > activity, it would be another 60 seconds or so of just 2-4 processes. > > I resolved this problem by changing by "submit_passive_check" script. > Below are some sample scripts, both old and new. The short of it is > like this: Previously, the "submit_passive_check" script did a printf > of the data in the appropriate format and piped it to the "send_nsca" > command (in a shell script). I have eliminated this bottleneck by > having "submit_passive_check" redirect its output to a named pipe and > then having another script feed "send_nsca" with that data as it comes > in to the named pipe. > > Latency times have dropped from the 600-700 seconds to 0.2 seconds on > the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. > That's more like it! > > Below are a few scripts w/ notes as to what each one is. Thanks to > everyone who offered help. > > ~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 --__--__-- Message: 8 Subject: RE: [Nagios-users] Re: How to reduce a very high latency number Date: Wed, 24 May 2006 04:53:37 -0400 From: "Morris, Patrick" To: "Greg Cope" , "Jacob Ritorto" Cc: How are you guys running the nsca daemon? I've got systems that perform thousands of checks with no problem. I'm looking at a system right now that submits over 5300 checks to a central server running nsca via xinetd, and it has a average service latency of .153 secs.=20 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg Cope Sent: Wednesday, May 24, 2006 1:47 AM To: Jacob Ritorto Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: How to reduce a very high latency number Jacob, I noticed the same thing today. We run a few distributed servers that do about 150 checks (at the moment) and submit this to our central server. That's allot of send_nsca processes that get spawned. I like you fix! send_nsca would not appear to be scallable for those running lots of passive checks with distributed systems. Greg On Tue, 2006-05-23 at 09:48 -0400, Jacob Ritorto wrote: > Greetings, > A colleague of mine (poctum) and I ran into something like this > while using nsca and have crafted a similar solution. We observed=20 > that send_nsca was sending only one result to the central Nagios=20 > server per connection. Testing revealed that send_nsca was capable of > handling thousands of results per connection. Sending only one at a=20 > time was resulting in lots of dropped data because there were=20 > nominally about 5 results derived per second. We enabled=20 > aggregate_status_updates in the nagios.cfg file, but this yielded no=20 > improvement in the result submissions. BTW, this is Nagios-2.2 and > nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but=20 > efficient solution. It may not be as refined as trask's and relies on > nuances of unix file handling algorithms to get the job done. That=20 > said, it's working perfectly for us. As this seems to work well, but=20 > may violate Ethan's design intentions, your feedback/input is=20 > requested. Deploy at your own risk. >=20 > Jacob Ritorto, Lead UNIX Server Operations Engineer InnovationsTech >=20 > Here's our solution: >=20 > 1) Altered last line in > /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It=20 > basically concatenates check results to a temp file. >=20 > #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" |=20 > /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >=20 > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >>=20 > /opt/nagios/var/results.waiting >=20 >=20 > 2) Created a daemon process called reap (managed by smf, but it has=20 > been up for a month so far, so may be ok as an init.d script) to pull=20 > aside the aforementioned temp file (results.waiting) every five=20 > seconds and send the bits off to the central Nagios server (note that=20 > original file is re-created immediately via step 1 above). This=20 > probably only works perfectly on unix & unix-like systems due to the=20 > nature of files hanging around intact until the last program=20 > referencing them has exited. It's been some time, but the last I=20 > checked, DOS/WINxxxx doesn't treat files this way. Here's the simple=20 > little reap daemon: >=20 > # cat /opt/nagios/bin/reap > #!/usr/bin/tcsh > while (1) > sleep 5 > mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending =20 > cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca=20 > 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null end >=20 >=20 > Summary: Slave Nagios servers now store up check results in the temp=20 > file for 5 seconds, then they get shipped off to nsca on the central=20 > Nagios machine in one swoop instead of one-at-a-time. >=20 >=20 > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ >=20 >=20 >=20 > From: Trask > Re: How to reduce a very high latency number > 2006-05-23 03:50 >=20 > On 5/22/06, srunschke at abit.de wrote: > > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 20:09:16: > > > > To me this is obviously a performance issue related to hardware. > > Your machines have way too few RAM. It is totally not possible to=20 > > run 1800 checks on a 512MB machine in a timely manner. > > >=20 > I figured this out this past Saturday. It is not any lack of the=20 > hardware. I was seeing negligible load nor an excessive use of=20 > memory. No configuration change I made seemed to have any appreciable > effect on the latency times I was getting. I ended up doing a "top" > with 1 second intervals and just watching it for awhile. I noticed=20 > that sometimes there would be a good number of nagios processes=20 > 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 > processes. Although I do not know exactly *why* this was happening,=20 > it ends up the during the time where there was 2-4 processes running, > 2 of them were always the"submit_passive_check" script and=20 > "send_nsca". It appears that this is being done serially (ie not in > parallel) and ends up blocking subsequent checks until they are done. > I would see these 2 processes running (with steadily increasing PIDs)=20 > for up to a minute and then a short-lived (4-5 seconds) "explosion" of > nagios processes (service/host checks). After this flurry of=20 > activity, it would be another 60 seconds or so of just 2-4 processes. >=20 > I resolved this problem by changing by "submit_passive_check" script. > Below are some sample scripts, both old and new. The short of it is=20 > like this: Previously, the "submit_passive_check" script did a printf > of the data in the appropriate format and piped it to the "send_nsca" > command (in a shell script). I have eliminated this bottleneck by=20 > having "submit_passive_check" redirect its output to a named pipe and=20 > then having another script feed "send_nsca" with that data as it comes > in to the named pipe. >=20 > Latency times have dropped from the 600-700 seconds to 0.2 seconds on=20 > the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. > That's more like it! >=20 > Below are a few scripts w/ notes as to what each one is. Thanks to=20 > everyone who offered help. --__--__-- Message: 9 Date: Wed, 24 May 2006 18:54:44 +1000 From: Az To: Oliver Marshall CC: Nagios Users Mailinglist Subject: Re: [Nagios-users] Best web front end Oliver Marshall wrote: >What are peoples opinions on a decent web based management/configuration >front end for Nagios, ideally PHP? > > I would recommend searching the list as this has been done to death a few times. --__--__-- Message: 10 Date: Wed, 24 May 2006 10:56:50 +0200 From: nagios at sisyphus.ch To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- --__--__-- Message: 11 Subject: RE: [Nagios-users] Re: How to reduce a very high latency number From: "Greg Cope, e-DBA Team" To: "Morris, Patrick" Cc: Jacob Ritorto , nagios-users at lists.sourceforge.net Organization: e-DBA Team Date: Wed, 24 May 2006 10:00:21 +0100 On Wed, 2006-05-24 at 04:53 -0400, Morris, Patrick wrote: > How are you guys running the nsca daemon? I've got systems that perform > thousands of checks with no problem. > > I'm looking at a system right now that submits over 5300 checks to a > central server running nsca via xinetd, and it has a average service > latency of .153 secs. Are you not referring to the server end? I am running nsca as a daemon. We are referring to the client end that sends the results. Greg > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Greg Cope > Sent: Wednesday, May 24, 2006 1:47 AM > To: Jacob Ritorto > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Re: How to reduce a very high latency number > > Jacob, > > I noticed the same thing today. > > We run a few distributed servers that do about 150 checks (at the > moment) and submit this to our central server. > > That's allot of send_nsca processes that get spawned. > > I like you fix! > > send_nsca would not appear to be scallable for those running lots of > passive checks with distributed systems. > > Greg > > On Tue, 2006-05-23 at 09:48 -0400, Jacob Ritorto wrote: > > Greetings, > > A colleague of mine (poctum) and I ran into something like this > > > while using nsca and have crafted a similar solution. We observed > > that send_nsca was sending only one result to the central Nagios > > server per connection. Testing revealed that send_nsca was capable of > > > handling thousands of results per connection. Sending only one at a > > time was resulting in lots of dropped data because there were > > nominally about 5 results derived per second. We enabled > > aggregate_status_updates in the nagios.cfg file, but this yielded no > > improvement in the result submissions. BTW, this is Nagios-2.2 and > > nsca-2.6 on Solaris 10. Our workaround is a quick and dirty but > > efficient solution. It may not be as refined as trask's and relies on > > > nuances of unix file handling algorithms to get the job done. That > > said, it's working perfectly for us. As this seems to work well, but > > may violate Ethan's design intentions, your feedback/input is > > requested. Deploy at your own risk. > > > > Jacob Ritorto, Lead UNIX Server Operations Engineer InnovationsTech > > > > Here's our solution: > > > > 1) Altered last line in > > /opt/nagios/libexec/eventhandlers/submit_check_result thusly. It > > basically concatenates check results to a temp file. > > > > #/bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" | > > /opt/nagios/bin/send_nsca 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg > > > > /bin/printf "%s\t%s\t%s\t%s\n" "$1" "$2" "$return_code" "$4" >> > > /opt/nagios/var/results.waiting > > > > > > 2) Created a daemon process called reap (managed by smf, but it has > > been up for a month so far, so may be ok as an init.d script) to pull > > aside the aforementioned temp file (results.waiting) every five > > seconds and send the bits off to the central Nagios server (note that > > original file is re-created immediately via step 1 above). This > > probably only works perfectly on unix & unix-like systems due to the > > nature of files hanging around intact until the last program > > referencing them has exited. It's been some time, but the last I > > checked, DOS/WINxxxx doesn't treat files this way. Here's the simple > > little reap daemon: > > > > # cat /opt/nagios/bin/reap > > #!/usr/bin/tcsh > > while (1) > > sleep 5 > > mv /opt/nagios/var/results.waiting /opt/nagios/var/results.sending > > cat /opt/nagios/var/results.sending | /opt/nagios/bin/send_nsca > > 172.16.x.x -c /opt/nagios/etc/send_nsca.cfg >/dev/null end > > > > > > Summary: Slave Nagios servers now store up check results in the temp > > file for 5 seconds, then they get shipped off to nsca on the central > > Nagios machine in one swoop instead of one-at-a-time. > > > > > > *~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~ > > > > > > > > From: Trask > > Re: How to reduce a very high latency number > > 2006-05-23 03:50 > > > > On 5/22/06, srunschke at abit.de wrote: > > > nagios-users-admin at lists.sourceforge.net schrieb am 17.05.2006 > 20:09:16: > > > > > > To me this is obviously a performance issue related to hardware. > > > Your machines have way too few RAM. It is totally not possible to > > > run 1800 checks on a 512MB machine in a timely manner. > > > > > > > I figured this out this past Saturday. It is not any lack of the > > hardware. I was seeing negligible load nor an excessive use of > > memory. No configuration change I made seemed to have any appreciable > > > effect on the latency times I was getting. I ended up doing a "top" > > with 1 second intervals and just watching it for awhile. I noticed > > that sometimes there would be a good number of nagios processes > > 20-30-40 or so, but the majority of the time there were only 2, 3 or 4 > > > processes. Although I do not know exactly *why* this was happening, > > it ends up the during the time where there was 2-4 processes running, > > 2 of them were always the"submit_passive_check" script and > > "send_nsca". It appears that this is being done serially (ie not in > > parallel) and ends up blocking subsequent checks until they are done. > > I would see these 2 processes running (with steadily increasing PIDs) > > for up to a minute and then a short-lived (4-5 seconds) "explosion" of > > > nagios processes (service/host checks). After this flurry of > > activity, it would be another 60 seconds or so of just 2-4 processes. > > > > I resolved this problem by changing by "submit_passive_check" script. > > Below are some sample scripts, both old and new. The short of it is > > like this: Previously, the "submit_passive_check" script did a printf > > > of the data in the appropriate format and piped it to the "send_nsca" > > command (in a shell script). I have eliminated this bottleneck by > > having "submit_passive_check" redirect its output to a named pipe and > > then having another script feed "send_nsca" with that data as it comes > > > in to the named pipe. > > > > Latency times have dropped from the 600-700 seconds to 0.2 seconds on > > the worst server and from 45-55 seconds to 0.06 on the 2nd to worst. > > That's more like it! > > > > Below are a few scripts w/ notes as to what each one is. Thanks to > > everyone who offered help. --__--__-- Message: 12 From: Deborah Martin To: "'nagios at sisyphus.ch'" , nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end Date: Wed, 24 May 2006 10:26:25 +0100 This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them. Alternatively, write your own and then you only have yourself to please! :) regs, deborah -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** --__--__-- Message: 13 Subject: RE: [Nagios-users] Best web front end Date: Wed, 24 May 2006 10:27:59 +0100 From: "Oliver Marshall" To: "Deborah Martin" , , I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them.=20 Alternatively, write your own and then you only have yourself to please! :)=20 regs, deborah=20 -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) --=20 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly=20 prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of=20 viruses via e-mail, we can not guarantee that any email or=20 attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no=20 liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&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: 14 Date: Wed, 24 May 2006 11:15:48 +0100 From: "Oliver Marshall" To: "Oliver Marshall" , "Deborah Martin" , , Subject: [Nagios-users] nagios.cmd file Im just at the last stage of setting up NagiosQL and it seems I'm missing a nagios.cmd file, which should be in /usr/local/nagios/var/ Does anyone know what this is/does, and where I might get it or how I can create it ? Olly --__--__-- Message: 15 Date: Wed, 24 May 2006 06:33:23 -0400 From: "Jacob Ritorto" To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: How to reduce a very high latency number There's the rub, I bet. If you run nsca as a daemon, it only allows one connection per instance, whereas running it via inetd (or setting up smf to handle multiple instances) will spawn enough instances to handle any ingress. Thanks for the hint, Patrick. I'm currently in the process of converting the old Nagios server I inherited into a distributed system and will certainly keep this caveat in mind during the buildout. I do think there's value in my hack, though I'll probably not use it in the future until we start to feel the hit from many, many check results coming in. It seems to save on cpu and bandwidth because it doesn't have to set up a new call for each individual check result. This logic should, I feel, tie in with the aggregate_status_updates setting in nagios.cfg, but I've not dug through the source yet and don't know if doing so would overload that feature.. Thanks to all for the insight. Jacob On Wed, 2006-05-24 at 04:53 -0400, Morris, Patrick wrote: > How are you guys running the nsca daemon? I've got systems that perform > thousands of checks with no problem. --__--__-- Message: 16 Subject: RE: [Nagios-users] Jabber Custom Notification Script Not Working Date: Wed, 24 May 2006 07:02:34 -0400 From: "Norman Harebottle" To: "Frederik Vanhee" Cc: I have saved the file in /usr/bin but have also tried having it in /usr/local/bin and it does not make a difference. The name of the script on my machine is "notify-jabber" and the notification command that I have tried in the nagios configuration is the following: # This command is used to notify recipients of service problems: # 'notify-by-jabber' command definition define command{ command_name notify-by-jabber command_line /usr/bin/notify-jabber $CONTACTADDRESS1$ "$HOSTNAME$/$SERVICEDESC$ is $SERVICESTATE$\r\nAdditional Info: $SERVICEOUTPUT$" } # This command is used to notify recipients of host problems: # 'host-notify-by-jabber' command definition define command{ command_name host-notify-by-jabber command_line /usr/bin/notify-jabber $CONTACTADDRESS1$ "$NOTIFICATIONTYPE$: $HOSTNAME$ is $HOSTSTATE$\n$HOSTOUTPUT$" } I have configured the Jabber recipients as follows in my contact configuration: # This defines the generic template define contact { name system-administrator host_notification_period 24x7 host_notification_options d,u,r host_notification_commands host-notify-by-epager,host-notify-by-jabber service_notification_period 24x7 service_notification_options w,u,c,r service_notification_commands notify-by-epager,notify-by-jabber register 0 } # This defines a specific contact instance define contact { use system-administrator contact_name [joe] alias [joe blow] pager [pager email address] address1 [joeblow at jabber.mydomain.net] } I appreciate any insight you can offer! Sincerely, Norman Harebottle III Software Engineer Vikus Corporation -----Original Message----- From: Frederik Vanhee [mailto:frederik.vanhee at perso.be]=20 Sent: Wednesday, May 24, 2006 12:52 AM To: Norman Harebottle Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Jabber Custom Notification Script Not Working Norman Harebottle wrote: > Hello Everyone, > =20 > I am wondering if anyone has had success getting the Jabber=20 > Notification script written by David Cox to work. > =20 > I have a user called nagios under which nagios runs and using "su=20 > nagios" (on Debian) I can run the script and it notifies just fine. So > I am concluding that it is not a security related issue nor a script=20 > execution error since it works correctly. However, when running the=20 > Perl script in the Embedded Perl environment, something happens (which > is not logged) which causes the script to not execute as desired. > =20 > Can anyone point me in the direction of a logging directive to enable=20 > so that I can see any Perl errors that may be generated in the process? > =20 > *Current nagios.cfg logging settings:*=20 > log_archive_path=3D/var/log/nagios/archives > log_event_handlers=3D1 > log_external_commands=3D1 > log_file=3D/var/log/nagios2/nagios.log > log_host_retries=3D1 > log_initial_states=3D0 > log_notifications=3D1 > log_passive_checks=3D1 > log_rotation_method=3Dd > log_service_retries=3D1 > use_syslog=3D1 > *Abbbreviated contents of /var/log/nagios2/nagios.log:* [1148388211]=20 > SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification=20 > Test;CRITICAL;notify-by-jabber;No process matching ping found :=20 > CRITICAL I appreciate any insight into this problem would be=20 > appreciated. > =20 > Sincerely, > =20 > Norman H. Harebottle III > Software Engineer > Vikus Corporation Hello Norman, can you send me your Nagios notification command ? I have it working, so it should work. I had it working with embedded perl on Nagios 2.0b3 and on Nagios 2.0rc2 and without embedded perl on Nagios 2.3.1 Frederik --__--__-- Message: 17 To: "Oliver Marshall" Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end From: Jorg.Schulz at systeam.se Date: Wed, 24 May 2006 13:17:25 +0200 This is a multipart message in MIME format. --=_related 003E057AC1257178_= Content-Type: multipart/alternative; boundary="=_alternative 003E057AC1257178_=" --=_alternative 003E057AC1257178_= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="ISO-8859-1" Hi=20 Like Deborah says "This has been discussed to death. I'd suggest use=20 google and look around to" I tried the Fruity, Nag2Web,NagiosQL and som other configtools=20 But for "me" the best is NagiosQL - www.nagiosql.org=20 It=B4s a php tool with mysql . very handy=20 I serve about 2500 services and around 150 hosts with this tool and i=20 never had problems.=20 I use NagiosQL 2005 http://www.nagiosQL.org and it works for our daily=20 job.=20 It is easy to install and to configure.=20 If you want to give it a try i can assist you with the configuration.=20 Features=20 are=20 Import/export=20 Easy navigation=20 Backup function =20 Give it a try=20 Regards=20 /J=F6rg=20 "Oliver Marshall" =20 Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-24 11:27 To "Deborah Martin" , ,=20 cc Subject RE: [Nagios-users] Best web front end I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them.=20 Alternatively, write your own and then you only have yourself to please! :)=20 regs, deborah=20 -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) --=20 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat= 3D1= 21642 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Nagios-users mailing list Nagios-users at 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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly=20 prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of=20 viruses via e-mail, we can not guarantee that any email or=20 attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no=20 liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&dat= 3D1= 21642 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Nagios-users mailing list Nagios-users at 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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=107521&bid$8729&dat=121642 =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when=20 reporting any issue.=20 ::: Messages without supporting info will risk being sent to /dev/null --=_alternative 003E057AC1257178_= Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset="ISO-8859-1"
Hi

Like Deborah says "This has been discussed to death. I'd suggest use google and look around
to
"
I tried the Fruity, Nag2Web,NagiosQL and som other configtools
But for "me" the best is N= agiosQL - www.nagiosql.org
It=B4s a php tool with mysql . very = handy
I serve about 2500 services and arou= nd 150 hosts with this tool and i never had problems.


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.


Features
are

Import/export
Easy navigation
Backup function
 
Give it a try

Regards

/J=F6rg




"Oliver Marshall= " <Oliver.Marshall at g2support.com>
Sent by: nagios-users-admin at lists.so= urceforge.net

2006-05-24 11:27

To
"Deborah Martin&qu= ot; <Deborah.Martin at Kognitio.com>, <nagios at sisyphus.ch>, <nagios= -users at lists.sourceforge.net>
cc
Subject
RE: [Nagios-users] Best= web front end





I cant barely get this linux machine turned on :) Writing my own isn't
an option :)

-----Original Message-----
From: nagios-users-admin at lists.sourceforge.net
[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah
Martin
Sent: 24 May 2006 10:26
To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net
Subject: RE: [Nagios-users] Best web front end

This has been discussed to death. I'd suggest use google and look around
to
see what is out there - try them out because
everyone has difference preferences to what will work for them.

Alternatively, write your own and then you only have yourself to please!


:)

regs,
deborah

-----Original Message-----
From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch]
Sent: 24 May 2006 09:57
To: nagios-users at lists.sourceforge.net
Subject: Re: [Nagios-users] Best web front end


On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote:
> What are peoples opinions on a decent web based
management/configuration
> front end for Nagios, ideally PHP?

looking forward to it - my boss sure would like it. :-)

--


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications
in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248 729= &dat=3D121642
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting
any issue.
::: Messages without supporting info will risk being sent to /dev/null

************************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. Any unauthorised distribution or copying is strictly
prohibited.

Whilst Kognitio Limited takes steps to prevent the transmission of
viruses via e-mail, we can not guarantee that any email or
attachment is free from computer viruses and you are strongly
advised to undertake your own anti-virus precautions.

Kognitio grants no warranties regarding performance,
use or quality of any e-mail or attachment and undertakes no
liability for loss or damage, howsoever caused.
***********************************************************************< br>


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications
in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248 729= &dat=3D121642
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when
reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=107521&bid$8729&am p;d= at=121642
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F =5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null


--=_alternative 003E057AC1257178_=-- --=_related 003E057AC1257178_= Content-Transfer-Encoding: base64 Content-Type: image/jpeg Content-ID: <_2_04A700FC04A6FA64003E0577C1257178> /9j/4AAQSkZJRgABAQEASABIAAD/2wBDAAMCAgMCAgMDAwMEAwMEBQgFBQQEBQoHBwYIDAoM DAsK CwsNDhIQDQ4RDgsLEBYQERMUFRUVDA8XGBYUGBIUFRT/2wBDAQMEBAUEBQkFBQkUDQsNFBQU FBQU FBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBT/wAARCADIAMgD ASIA AhEBAxEB/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUF BAQA AAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0 NTY3 ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKj pKWm p6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QA HwEA AwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEE BSEx BhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZH SElK U1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0 tba3 uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwD9 U6KK KACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACvL/FV 34jt PiTqF1oc0l01vpNlbrps7SPa77ma7RZzGndJY7cu/aETdTtr1CoVtIEupLpYY1uZEWN5go3s iliq k9SAXcgdtx9TQB5h4Y8TX3gjwhYteSahr+m297q1hJcylrm/kliu5hagsSAd6xNEM8tJJAqg bjiL VtW8R+HNf8Q63JNpf2nS/C1heapaLbSOly8b3zukEnmKYgSrgMyv95SV4IPp/wDZNj9m+z/Y 7fyP O+0+V5S7fN8zzfMxjG7zPn3dd3PXmi50mxvPtX2izt5/tcItrjzIlbzohuxG+R8y/O/ynj52 9TQB booooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiua1/VtV0rx V4ah ims20nUrp7OaB7ZzOri2uJg6yiTaB+5UbSh6k7umADpaK8/sfilGlhqGp38Fwumrpk+sWDLa ojXt pES7SR4nc/6uW2G2QRMSxOOSserJ49YfZ44vD2sT3t15sltZbYIppbePy91xiSVQi5ljGxys uW5Q YOADq6KxLTxG+s+C4de0ixkvJLvT1vrOxmkWF5S0e+ONmyVQnIBPIGe9c/4e8bSi11a+1bW9 LvLH TrVrm8WDTriwu7EKCw822keSTDoHYEhDhBtDh8qAd3RXn+u+PdVtrvw8sPh7WLWebU/In02R bUyX MJtLpxsk80xcPEGI8wOAnIw67ug0jxrY6zeafawxXEc93Ddy7JFUeS1tNHDPG5DEblkk25Xc p2sQ xGCQDoKK4TRfHdzrWoXd7Y2d5qOnS6Fpep2mnRCFJ83ElzuOXdVztSPIL4Gw4yTz03hbxDH4 q0K1 1WG1uLOK43FIrnZuKhioYFGZWVsblZWIZWUg4NAGrRRRQAUUUUAFFFFABRRRQAUUUUAFFFFA BRRR QAUUUUAFYk3hgXfiKDVLrUby6jtXM1pYOIlgt5TE0RkUqgkJKPIMO7L+8PHC7duvL/ihDoEW v293 rE/hu4kFqqx6Z4uAjtpBvfLW07hljf5v3m1JCwSAEJlWIBtr8KdN/sq702W/1C4sn0ybR7SJ 2iH2 C0lVVeOIrGC3EcWGlMjfuxzy261468P6pqf2K+0GX7NrVtvgW4+1LBiCTaZFy9vOpy0UR+4D 8vDA ZDYt5bID4UfTzqmjQ+JHjtL+3mkZLootnJMpkZizpcAQLE0gbftYgsWSJ4+f8ZWnhfw94iuG mh0O /njSJINHu1+zapbosShBpcg+Yj5f3cUSr++eTEysCoAPSvD3hlNE8F6Z4ekuJJ47TT4rBriF mgdw kYQspVtyE4yCGyOx4zWevw9t7v7X/beqah4j+0WU2n/6d5MXlwTbfORfIji+/sjyTkjYNpXJ zwuo 3+peE9T+IUtprsh1SfUIJ4bC9aCNEtJEsopL0EQlwkI8xPNIeNfJJdXZWzbh8a6tF8PJ7i51 uzml k1AWttr1texfZYo9iyF5rtrQQ43CSIMkBXc0cf39zAA7W18EBL2wvL7WtU1e7srr7TFLdvEo H7ma EJsjjRAMTyHIUMTtyxCqBC/w9t4kgew1TUNLvYZryVL228l5Nt1P580eJI3TaXCEHbuARRu5 bdyH hfxHrnjgeGIP+Eik09Z7XVnmu9I+zTi6NreQ28TiSSEqwKszFkRAxbIVRhRq+AfEWrahdeGJ b7UZ L6PxFoUmsSQSRRKlnIptSI4Siq2z/SWH7wu3yJ833twBoH4U6auhPpUN/qFvE+mWOkmVGiZj Bas7 ICGjKtv8xldWUqynG0AnPVaXZzafYRW89/canKmd11dLGsj5JPIjRF4zjhRwBnJya868TNqo +JOs LZxyHSjpOmnVJLKRxfLB51/xbqq5JJPzFWEgQN5YMhQrn/FLx+3g/SrOTw5qOn6XZWWmfbrV JruC 3s9QjCny4YFMEhn2iMZSJ4iFmjw3zgqAetQ3cFzJPHFNHLJbuI5kRgTG5VWCsB0O1lbB7MD3 FTV5 VcXGof8ACW6nYWGp3Gkf2j4sW3nuLWOJ5PLXQ45cDzUdRlok525xmrfh7XNZS/0O4udYuL+K /wBZ vtFktZ4YFjVLcXYWZSkat5rfZELZYpmSTaijaFAPSqK8Kb4p6y3/AAlbW2rW748P6lq1vaPd QT3m lSw+X5cU0KwR+Sw80ho5GmO6PG75WL+y6JYXthaut/qcmqXMjmRpGiSJI8gZSNVGQgIOA7O3 PLt1 oA0KK8V+Hes3Z8Zadr82hahYweMftPmX88luy3WAZtOyiSsybLOOVDhVyxG7cfmGV8DZLHTn 8GnS tT8P30t5pi22oaboNssFxB+4WUXF6VlfzGR4vJ3MqYa5bkFtpAPf6KKKACiiigAooooAKKKK ACii igAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA K4rx rNrNvqsUi3msWGhCEZuNAtILqZJdzbvOjkjkdlI8oJ5KEgmQvhQpHa1x/iqPwjc6/aWurazH pmt3 CJHDDb6zJYXNyhciNSIpUaUbi4UHOCz7cFmyAc/d/EHX9I1PxDeGPS9a0LTPDltqwmtbsxCc lLpj JEvlvxI0IXBkYKqqwLFitausa/4kvJLHTLXT49L1i8S5uoYjqKALbRrHGTK5t5Qswe5jby0V 0zGf 3jLlX29R8BaFqkIhlsfKg+xNpzQWk0lvG9sUZPKdI2UMqq77QwOwsSu0kmreu+GNP8ReQbtb hJYN wjuLO7ltZlVsbl8yJlbadqkrnBKqSMqMAHH3PxYne1k1Ow0eOfRLbQrbxBdTXN4YrlbeYTNt jiEb q7hYGODIoJIGQOa0JvH19paaja6ppNvDq9t9i8qC0vWmt5Ptc7W8G6VokZf3iNvwjbVwRvJ2 jQ1v QfC+laNqcmppZ6ZpNzp8elXTyzfZoFtV3rHFnIVAPPdRtwfmAzwMVPFZ8Lto13q97qml2Mer WsFv Dql5dbYH2eZLbMjCROVZ3kVo2VuMhhtBABUb4h39rpGtve6XZw6xp2oJp8dlBdz3CXTtBFP8 hjtj KSI5WJVYmx5bE4UFhQ0f4g654m8T+Gf7O0+3i0u8sr83kF3cPDIktvdwwSsqmDd8mW2K2wuJ DvEZ UA6vh74YWmm6JdWepXdxqV1dXv2+S7jubiKSOXylhBilaZ5k/doFP70khnGQjbBq2fgTRtPt tPht 4LiL7BNJPBML2fzt0knmyB5d++RXf5mRyVYhcg7RgA5WT4yrD/wkBOl+dFY6Zd6tY3EDTiG9 gg25 IkkgRfm8yMhojMuCTuxt39V4e8Q31/qt/pWq2FvYalaQw3RWzumuYWilaVU+do4zu3QyZG3A G0gn JAqL8L/Di/ax9kuHiubKbTmt3v7hoYraXb5kUUZk2wqdiACMLgKAMAV0Eel2sOq3GpJFi9uI YreW XcfmjjaRkGM4GDLJyBk7uegwAc/LqGsW/wATbKwlvbd9FutMu7iO1jtisiSRSWi5eQud/wDr XwFV AAedxAIxdAvtetPFwi8Q3muWsd1qF5DYxOmntp9wgMzwxqY1NwCIE35crzGQTyFbpbzwLpV9 4jh1 2U6h/aUPEbx6pdJGq5QlREsgTaxjQsu3DFQWBqW28G6TZ6ydUit5Bc73lVGuJWgjkfO+SOEt 5aO2 58uqhjvfJO9sgG3RRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAV5L8QNMS+8aa5b3974k0 /SdS 0K1spDoektdpcjzLwSI7i2m2FVkXoVP7zPPGPWq5TxD4uvrDxHa6Jptlp817PD50f9q6g1mt xy2U g2xSGVkCFnGBsDxnndwAch4mm8T3Nqkt9BqlrrsmhW7aXBpBnNtHq5EpmWUxEx7A/wBmA+0k x4DY JHmV0up/bv8AhMk8r+2P7C86H7Z5W7b9pwvk+X/H5GNvm7Pk3eX/AA/a66+0me5tYZZIJLWS RFZo JipeMkZKsVJXI6HBI44JqagDmvHdmX0+z1KK4ktrvSboXdu6WEt8C7RvAQ0EREjjZM/3SMHD HgEH j7bQNc8M+H9I1VpNniYTagv2eHS3vI3F7dG5MbRpMoiYFIl3tMYkO4F2BVxtf8LNfT5Nd/tb TI4F 0vT5dSmhsL1bqe3jRQ4juVCqsMzqwKKHdW2SYfCgtoWXi7VBNqljfaD5mr2MNvdfY9JvFnWW KZ5E XbJMIAGBhkLA4GAuCxO0AGh4I0Sfw14L0DSLp45LnT9Pt7SV4SSjOkaqSpIBxkHGQK26yvCe u/8A CUeFtG1nyPs39o2UN55G/f5fmIH27sDOM4zgZ9Kzx4n1GHxRa6bd6THBaXrzJbSR3fmXOI1J aWSE JtSE4ADiRiDLCGVS5CgHS0Vz/hLxTN4nfWUn0q40eXTr0WbQXUkbyHMEMu4+WzKP9djAZuAC SCSB 0FABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFc14v8Naj4ija3gvNLfTpkVbjT 9a0r 7dA5VtysqiSMg5xncWHyIVCkMW6WigDPtNEgh0CHSLp5NVtktVtJX1EiZ7lAm0mUkYcsM7sj nJqX S9JsdDsIrHTbO30+yiz5dtaxLFGmSScKoAGSSfqTVuigDmtJ8MajDr8Oqarq0epyWlrLZ2hj tPIf y5HiZ2mIcq7nyI+UWNR8/wAvIC5/hr4d/wDCIWGpS6OdH0/XL/yhJPa6V5Nkqxk7VFskqnoz /MZC xZzztCova0UAc/4D8PX3hPwtp+jX1/b6j9ghjtYJ7e1a3zEiKi7lMj5b5SSQQOegxzU0Twzr ml+I 76/n1fT721vJneQNprrdeUC3kwibzyoWPdgARgH52I3uzHq6KAOU8JeGdc0PV9Zu9S1fT9Qi 1OYX UkVrpr27JKIoYRhmnk+XZCOMZyScgcV1dFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRR QAUU UUAFc1rfxD0fw9qaWF6mqC5dxHGINHvJ0lfYZNqPHEyudoYkKTja2ehx0tc/4l0u61DWvCc9 vF5k Vjqb3Fw24DZGbO5jB5PPzyIMDJ5z0BNAG1aXKXtrDcRiRY5UWRRNG0bgEZG5GAZT6ggEdCKq 6Hrc Gv2Ul1bpIkcd1cWhEoAO+GZ4XPBPBaMkexHTpXnWreAdRvPie+sSRahNm9tp7S9t3s0htbdE iEkL SOjXS7mSYmOL924lwSvmSEdr4H0u60fRbmC7i8mV9T1G4VdwbMct5NJGeCeqOpx1GcHB4oAi 0D4i 6H4mktEsZbwLeJ5lrLd6dc20VwNu8eW8saq5KgsApJKqzYwCRv20zzxlngktmDuuyUqSQGID fKSM MAGHOcEZAOQPNfDOk65qHgnwr4XvvD95oraWmmtdX13NbPETaPFIVjEUrsxdogo3BQFZmzlQ jGn/ AA3fUda0z+3dKju9MgfXpJIZ3V4nNxqMc1vvjziQGMM4DAhWVSQGC4APUKxLTxfp1z4Lh8Uy NJa6 TJp66mzTJl44TH5hLKueQvUDPTjNcL4a8A6jp/xHm1a6i1Bpze3c8mob7NLea3kMnkw71Q3U uxXh HlylY1MWVJEcYbP0j4X61efDa48P69bWd9qNz4cSws7iYKItNdYUUW7JufkSqkpmTO9k5CiK EEA9 lorE0HT4o/C6WljpcnhKNkkWOzhjt1e1JZvmVYy8WcnePvDnkdRWhpdnNp9hFbz39xqcqZ3X V0sa yPkk8iNEXjOOFHAGcnJoAz9E8ZaT4hunt7G4kkkCGWMyW8sSXEYIBkhd1CzJ8y/PGWX50Ofm XIPG miva6rcx6hHNDpd19iumhDOVuMJ+5UAEu+ZEUKuSWbaBu4rgNK8E+JLrTNC0xPM8OT6HoR0Z 9RkK SpdMXtNzQiKUSBGS1kXcxikXzUK4YHbLZ+BfENloniyzmTT5op9Tsbm0t9NtRaB4IYrQSCEG Z/Kb ZCY4/mQo6Bw6gqUAO1/4TvRv7K+3+fcbPO+zfZvsU/2vzdu7y/s2zzd2z59uzOz5/u81q6Xq lrrV hFeWcvmwSZAJUqysCVZWUgFWVgVZWAKkEEAgivOrHwzq2nRWeqRaRePHaa62pR6XPdRTag0J sGtS HmeUrI/mOXBeY4iCqGG1Yx0HhfwxqVtpVmZtRvNHk/tC81CWytxA4kSe6knWKYsj4Kq+1vKY clsM 3ytQB0Da/pya/Hohu4/7WktWvRaA5cQq6oXPoNzADPXBxnacZ/hnx1pXi/yzpg1CSKSEXEdx caXd W8MkZxgrJJGqtncCACSRyOAa5Xw34F8S6F440i+vNT0/VLRLK+W9vY9PaCeeaVrbBcm4fLN5 IwVU IiRbAqgpsz4PAeqzaBrWgabp15oGnTaFdaYbfU9We9tnuGRUga3JkkdIUAmBykRIePKEjCAH oun+ KdL1LSrnU4brZptvuL3lxG0MJRVDGVXcAPFtORIpKEchjUM3jDTbbRoNTl+2RQXDmOGB7CcX Ujjd lVtynmk4VmwE+6pb7oJrhbnwlrGr+H9XtY7HWLLTTNp9xBpup6qZr5pILoTXBjnE8hTfGsSI PNUB 0J/d5Lna0mDWtN8Nagkmk6pd2k90y2+my6op1K3tWhVWHnmUhn87zHGZ8qjjDAqsdAG3ceO9 Gt7C 0uxPcXC3e/yobSynuLj5Dtk3Qxo0i7GIV9yjYxCthiBW1aXcF/aw3VrNHc20yLJFNCwZJEIy GUjg ggggivMH8Iapbadob3OlahewQf2hvs9Ivltb+Lz7hZYN84miL7Y1ZZf3rb5CrnzSPMHoHhPT rrR/ C2jWF8bdr21soYJzaIEhMioFbYoVQq5BwAoAGOB0oA1aKKKACiiigAooooAK8/8AEvxFvvDH ji5t JrH7XoEGmQzN9khZ7s3UrXHlIMsF2v8AZjGo+8ZZYlGd3HoFZT+GbGbW7vU5o/tEtzDawtFM FaNf s8sksTqCOGDyk5zwVUjBGSAcp4Z+IWqS+H9PTVNL/tTxNNNfxS2WhbUj22t00Ekim4kQbQTE MFtx L5C4B2xS/FAW+v3l5Hb3mpeFf7CsdW+2WyRKlpFI90XmkV2WUgxxodqq7DYcKCcHaf4e28SQ PYap qGl3sM15Kl7beS8m26n8+aPEkbptLhCDt3AIo3ctuq3fwp02f9xb3+oafpb6ZBo8+mW7RNDc WkXm BY2Z42kHyzOpZHVsHqCM0AF54pm/4SuwsLS6uNn/AAkB0+8jmjj27f7Ke5CRkDO3d5bZPzbt wztw K6XUvEOlaNdWVrf6nZ2Nzev5drDczpG9w+QNsYJBY5ZRgZ+8PWs//hCrH+2v7T8248/+0/7V 27l2 +b9j+x7cbc7fL5xnO7nOOK6CgDn/ABbrF9pz6NZaa1vFe6remzjuLqJpY4NsE05YxqyF8iEr jcuC 4OTjaefvPFmuSeCpNagu9Ps5bGa8tLmJ9Oe6a8lhuHgQQILiPa0jx/LGWckyKoYkZbq/EPh6 PxBD a/6VcWF3aTfaLW8tdhkgk2NGSA6shykki4ZSMMSMEAjP0zwrpVxo2irbXcl9YwXR1VZVlR47 6V98 nmyYG1gZJfOG0BQ6oVACgUAc/r/jPxHolrqDSDS1udA0KHWNUjWGSRLx2E++KBt6mEA2z4dl k/1i 5X5SGl1bx5qVl4yewjW3+xQ3ttZGFrWV/NEoizI14G8mBl83iCRS77F2/wCvjrb8R+BLTxLd XEsl 5eWkd5aix1CC2Mey+twXIikLozKP3sozGUb94fm4XaXngS0vdZkvWvLyO2nuob6505DH5Fxc ReX5 UrEoZAV8mHhXVT5Yypy24AtP4lg1OPUoPD11pes6tYuI5rM34QQvuIKysiyNGflfgryVI45I 5W78 ca7N8P8AwZrVnDHHc6ulvJfSw6Vcaglsj2ryllghcSY8wIgOTjfzmu61Szm1Cwlt4L+40yV8 bbq1 WNpEwQeBIjrzjHKngnGDg1zVl4Ni8MeEbHSB4o1S2hsnhhsr+WS3SWEYWGOHHlCOQHO0CRHJ ZwR8 wQqAVNT8RazD4Ji1u01vS5mhSQzkaNMzXMm/akEUDXSNHNu/deW7FjIQuFPy1Q8UePPEHhny IZ10 /wC22umRXt4kFrNPDcTHeHjEoYCyizEcT3AKEOT/AMsXrqrfwVYwWGmWhluJYrK9bUGEjKRd TsZH Z5V27T+9kMwChQrqhUKFAqp4m8H6b4i1WSObU7iyl1GyNteWVvJEP7QtEY5Rg6Myqv2hwWiK MPO5 bOzABn6n4z1W11nUJYhZjSdN1ay0ea1eFzPO9x9mxKsocKgX7WvyGNs+UfmG8bZvDvj9fEHi m8tN /wBjso5rixt4LiwnRrmeF2V2W5bELf6uXESb22pvLDDomheeBLS91mS9a8vI7ae6hvrnTkMf kXFx F5flSsShkBXyYeFdVPljKnLbiz8CWllrMd6t5eSW0F1NfW2nOY/It7iXzPNlUhBIS3nTcM7K PMOF GF2gHS0UUUAFFFFABRRRQAUUUUAFFFFABXlXxO8XeIdH8Ux2mm6lp+lQJZRz2q31wIv7QuGe QNCs f2eZ7jaEizHCY5P3oGSXTb6rXNXPj7StO8aSeHL+8s9PuWtbae1NzdIj3TzSTR+XGhwWIMS9 M58w DA7gHH3njK7h8d6xZxeJd9/bazZWdt4ZxbnzbWSK1M0uwJ57bBNPJuD7R5eSCqsDb0bxbqF1 4ytr VtX8+9l1O8tL3w/ti/0GzjE/kXO0L5y7/KtjvkYo32j5QNyYll+LHgXw1qfiFW1Wztr4atDb XsbX kW+WZkt4jKqtJwkalFc4G3yZOMg56q08b+HL/U4dNtdf0u51GZFkitIbyNpZEKeYGVA2SChD Agfd 56UAeSz61qPi7whftceI7ieSx1PSrq61HSJLO40uJRdq8n2eUQ7gsSgSuJhuTZGWLoS0nsC3 N0fD lvPpEtvrs7QxtBcXVyIo7pSB+8MkUbAZXLZVME4wADxfhu4LmSeOKaOWS3cRzIjAmNyqsFYD odrK 2D2YHuK5q18dfbNC0TUIbLe+tXqwWEHm486BmZxPuK/L/oyNPsYA8bPvYoA6Dy7q80ry5n/s +9lh 2u9o4l8iQryUZ0w209CyYOBle1eQS/ELWf8AhFtJvp9c+w6k/hmz1OwtvLgX+3NQkSQyW+1k Jf5k gGyDYw8/r8yY9P1C+0XXdMNvJq0YtrhLeQS2eoNA5SV8QMskbqwEjLtUg/PyBnkVNBq2h6VY JDDe afZ2VrDLtjjlRI4YrchJcAHCrEcK3ZTgHFAHH3uq+JPtPj7ULK/kuV0J3TTtGitEYXEn9nwy hJCA ZHHmSZVUKNksCzAqqxeE/G9nBqviuR/GX/CUaBpWmWt897m2l+zsWuvOGbaNc/JDGdpBPp1r v/7W sftP2f7Zb+f532byvNXd5vl+b5eM53eX8+3rt56c1n+F9D0nTLU3elSSXkd6iSC+nvZb15o8 Epia R3YoNzFQDtG9iB8xJAOa/wCEmu/+Fsf2RJqnnwdItO0qa3k8hBBvZ76Nk86LLn5HjbYcxBgp P7zk LrX7nxP4Ssll8VST6tdXWky6hp0NvCz6NctqFrmNSqfuijM6iO4Ejt5fX93Ju9a0vxZoeuQx Tabr On6hFLMbaOS1uklV5QhcxgqTlggLbeuAT0o1HxZoej2Avr/WdPsbIzNbC5ubpI4zKpYNHuJA 3Ao4 K9QVb0NAHFf8JbqGgX3kajq+7S9L8QfYb3VL5Yo82z6b56md1VY0/fyxoGUJn92vJY7snT/F seqa hZ67d6vssotM8TMuqWipJ5dtFqFusciAKyvtjRSDtbdgEhs893p3xH8OanqevWEerWaXOiu6 3iSX MYKIiI0kuN2QiGTYzHGGVgelaH/CWaH/AGF/bf8AbOn/ANi/9BH7Un2f72z/AFmdv3vl69eO tAHl V9req6v4DgktNat/FqXupywtBNPayRqps5Tb2dzLb7IjvuBbhlBAJnEW6RTl4vBWiXvhXU9d vdGg j07S4tPvZIL7VtNTS4ZPktTbtdJHFDkJLHf8lNyISeFkQv6frvizwtbaVB/bOs6PFpuqQt5X 266i WG7iKjdt3HDqVcZxkYYetHhP/hFrP+0NM8Mf2PB9kmP2yz0nyl8mU/L+8SP7rfIRyM/JjtQB x+ke ML4eA7jXU1O8v49M1BHvLu6a1nt57RdguXhkt40EsKRtK6sqrIZIirLwYjF4s8Ta/wCHvDnh p9U1 T+z9QuoXmv7LT5rQalLcEIRb2ccyNHMqNIybAfMIEeHdsiTuvE17oDR2+ka5fWcC6m4ihs7q 5ERu yGXMYUsDICSqsnIYNtYEMQbcPiHSrnWZ9Ii1Ozl1a3QSTWCToZ40O3DNGDuA+ZeSP4h6igDy rUb/ AFLwnqfxCltNdkOqT6hBPDYXrQRolpIllFJegiEuEhHmJ5pDxr5JLq7K2bcPjXVovh5PcXOt 2c0s moC1ttetr2L7LFHsWQvNdtaCHG4SRBkgK7mjj+/uYdfceOvL8Xw6NFZedA97Hp8l55u3ZObS e6ZN m3J2xxwHOcHz+uUYVraj4s0PR7AX1/rOn2NkZmthc3N0kcZlUsGj3EgbgUcFeoKt6GgDzrwv 4j1z xwPDEH/CRSaes9rqzzXekfZpxdG1vIbeJxJJCVYFWZiyIgYtkKowo1fAPiLVtQuvDEt9qMl9 H4i0 KTWJIJIolSzkU2pEcJRVbZ/pLD94Xb5E+b727pbzxnY6Xreq2mpTW+m2Wn2VpeSX91cLHH+/ lnjC ndgLgwjnPJcDAxzLY+N/DmqXVna2ev6Xd3N6jSW0MF5G7zopYMyANlgCjgkZxsb0NAHIaz47 a68U +GDYazv0jU4bWe2sdMkg+3XAlcnzZYJ0Lm2CAEtEVdMSEggbo6nhrxd4h1D4jzWd1qWnrAL2 7gk0 b7QHuIbeMyCGbyFtw8W8JC3mSztGwl+UAyRqvosPiHSrnWZ9Ii1Ozl1a3QSTWCToZ40O3DNG DuA+ ZeSP4h6ijTPEOla3JLHp2p2d/JEkckiWs6SFEkXdGxCk4DL8yk9RyKANCiiigArivFngq+17 /hNP s8tun9teH49Kt/MZhslX7Xlnwpwv+kJyMnhuOme1ooA4TV/Bmq3F1ry2ps3tr/ULPWopJpnR xcW5 tcW7KEICOLUZlDEr5n+rbbk5VpoHiPWtc8QW11p9nYadNrun6lLdm6kZ98EFjIUhQwqJULwG PzC6 4+Y7crtPqFFAHH+ItA1HV7fUdL+yWaadrGoJHdz2w2yGx+zoJvOBwWeQxtbgocqkkbA5Q1oW el3V 14yv9WvYvKitIRYacu4HdG4SSeXg/wAbiOPawyv2bcDiQiugooA8v0n4QT6dHo8bajI8drdR RzIZ yQ1lbNG1kqjZy6tawMwPyg3F4Vx5i4NW+EE+ox6xGuoyJHdXUscKCcgLZXLSNeqw2cOzXU7K B8pN vZls+W2fUKKAPP8AXPh1fXWu6xq1hfeTO+y/0+OSZlQagFjQmUBc+UY7aGP5Tu2T3a5w4xqy eEpL Pwtb+GLaG31DQItGl02SG9neKadgkccSmRF+VWTzQ7BcglSo6iurooA861HQNftfh1qUV7NJ qWrR 3UV5pdlHIboQyRSRPbW7TGNHlQyxqXkkCsFdtz/KZDLrfw/vrXSvDdj4am+x3ekWR0631me9 ZZrW IrEpJgETRXO4RKSj7BlRtKkhl9AooA8/8ReA9S1X/hJLWFrc2WqXtrqyTfapYJlng+ygQfIu UVha 589W3IX4Q7cmKHwHq9p4anhtfLtbu61AXl3ZprV6xuEEKxBGv2zMCCkb7kReIxFtwWdvRaKA PP8A wL4D1Lw7daLPeNbj7JDqySxx3Utywa6vYriMCSRQ0m1UIZ2wScHnJNW/Cfgq+0H/AIQv7RLb v/Yv h+TSrjy2Y75W+yYZMqMr/o78nB5XjrjtaKAOEn8M+I7rX9F1RXs9N1H7Laxavf2d5IyTLG7P Jbra vGUZCWcLLvSRd55IBV8q2+H+p+HtZu9Ut7KPVms7q/1WyV9YugZ5pvOZYVtmIggOZynm5fIB O0Fy U9QooA8/1b4ZXV94e8OaVBrNxZS2d7LeX+qWRENxLJLb3KzSxAq6ozy3BbAwEDHaQVWpda8L a7d6 No9rbpZrHZI8Eum6fqNxpMD42rFKksCtIgVFI8jlf3v3m8pS3d0UAeX6Z8L9VstK021e4szJ baf4 etHKu+C9hdNNMR8vRlYBfU9dvWtu/wDBV9df27sltx9v8QafqsW5m4ig+xb1b5fvH7NJgDI5 XJGT jtaKAPOv+EH12Xx/pmrXM0dzaWeoT3Zun1W4y0TwTxxxLZbPJQoJUXzA25hGWPLsK6X4f+Gf +EN8 D6Dohjt45bGyihm+yjEbShR5jjgZ3PubJAJJJPJroKKACiiigAooooAKKKKACiiigAooooAK KKKA CiiigAooooAKKKKACiiigAooooAKKKKACiiigAooooA//9k= --=_related 003E057AC1257178_=-- --__--__-- Message: 18 Subject: RE: [Nagios-users] Best web front end Date: Wed, 24 May 2006 12:25:48 +0100 From: "Oliver Marshall" To: Cc: Thanks Jorg. I actually have it working ( /me waits for applause and confetti) with = one minor issue. Whats the nagios.cmd file it needs in order to restart = nagios? I have to admit, NagiosQL isn't grabbing me. Seeing the options laid out = on a page makes my knees weak. Saying that, I *think* I have my first = win32 nrpe client working, so if that's the case, I will get time to sit = down and look over NagiosQL. I have to admit, my decision as to which front end was made by which has = the easiest instructions :) -----Original Message----- From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se]=20 Sent: 24 May 2006 12:17 To: Oliver Marshall Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end Hi=20 Like Deborah says "This has been discussed to death. I'd suggest use = google and look around to"=20 I tried the Fruity, Nag2Web,NagiosQL and som other configtools=20 But for "me" the best is NagiosQL - www.nagiosql.org=20 It=B4s a php tool with mysql . very handy=20 I serve about 2500 services and around 150 hosts with this tool and i = never had problems.=20 I use NagiosQL 2005 http://www.nagiosQL.org and it works for our daily = job.=20 It is easy to install and to configure.=20 If you want to give it a try i can assist you with the configuration.=20 Features=20 are=20 Import/export=20 Easy navigation=20 Backup function=20 =20 Give it a try=20 Regards=20 /J=F6rg=20 =20 "Oliver Marshall" =20 Sent by: nagios-users-admin at lists.sourceforge.net=20 2006-05-24 11:27 To "Deborah Martin" , , = =20 cc Subject RE: [Nagios-users] Best web front end =09 I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them.=20 Alternatively, write your own and then you only have yourself to please! :)=20 regs, deborah=20 -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) --=20 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&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 ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly=20 prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of=20 viruses via e-mail, we can not guarantee that any email or=20 attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no=20 liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D107521&bid=3D248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications = in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=107521&bid$8729&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.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 19 Date: Wed, 24 May 2006 12:51:04 +0100 From: "Garrett, Matt M SITI-ITISEEEE" To: Subject: [Nagios-users] Removing space's from Macro's $SERVICEOUTPUT$ This is a multi-part message in MIME format. ------_=_NextPart_001_01C67F28.55EEF142 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Folks I have a 3rd party notification application that requires the Nagios = output $SERVICEOUTPUT$ Not to contain any spaces in it, e.g convert the spaces to a "_" = underscore character. Is there a easy way with in Nagios to do this. Or should I write a Script to do this and then pass on the = $SERVICEOUTPUT$ to the 3rd party application. FYI The current notification looks like # 'notify-by-sccalert' command definition define command{ command_name notify-by-sccalert command_line /local/nagios/bin/sccalert.ksh EVENT PATROL 3.2 = event1 Expro-host-fault $HOSTNAME$ EUROPE.COM EF1.0 $SERVICEDESC$ = $SERVICEOUTPUT$ _ $NOTIFICATIONTYPE$ $HOSTNAME$ SITI = >/local/nagios/var/notify-by-sccalert 2>&1 } Thanks Matt 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:=20 Internet: http://www.shell.com ------_=_NextPart_001_01C67F28.55EEF142 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Removing space's from Macro's $SERVICEOUTPUT$

Folks

I have a 3rd party notification = application that requires the Nagios output $SERVICEOUTPUT$
Not to contain any spaces in it, e.g = convert the spaces to a "_" underscore character.

Is there a easy way with in Nagios to = do this.
Or should I write a Script to do this = and then pass on the $SERVICEOUTPUT$ to the 3rd party = application.

FYI
The current notification looks = like

# 'notify-by-sccalert' command = definition
define command{
        = command_name    notify-by-sccalert
        = command_line    /local/nagios/bin/sccalert.ksh EVENT = PATROL 3.2 event1 Expro-host-fault $HOSTNAME$ EUROPE.COM EF1.0  = $SERVICEDESC$ $SERVICEOUTPUT$ _ $NOTIFICATIONTYPE$ $HOSTNAME$ SITI = >/local/nagios/var/notify-by-sccalert 2>&1

        }

Thanks

Matt

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

------_=_NextPart_001_01C67F28.55EEF142-- --__--__-- Message: 20 Subject: RE: [Nagios-users] Jabber Custom Notification Script Not Working Date: Wed, 24 May 2006 08:25:38 -0400 From: "Aaron K. Moore" To: "Norman Harebottle" , This is a multi-part message in MIME format. ------_=_NextPart_001_01C67F2D.2AB0C666 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I didn't have any luck getting any of the Perl based Jabber scripts to work. I kept getting an error in one of the XMPP modules. =20 -- Aaron Kent Moore Information Technology Services DeKalb Memorial Hospital, Inc. Auburn, IN ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Norman Harebottle Sent: Tuesday, May 23, 2006 8:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Jabber Custom Notification Script Not Working =09 =09 Hello Everyone, =20 I am wondering if anyone has had success getting the Jabber Notification script written by David Cox to work. =20 I have a user called nagios under which nagios runs and using "su nagios" (on Debian) I can run the script and it notifies just fine. So I am concluding that it is not a security related issue nor a script execution error since it works correctly. However, when running the Perl script in the Embedded Perl environment, something happens (which is not logged) which causes the script to not execute as desired. =20 Can anyone point me in the direction of a logging directive to enable so that I can see any Perl errors that may be generated in the process? =20 Current nagios.cfg logging settings: log_archive_path=3D/var/log/nagios/archives log_event_handlers=3D1 log_external_commands=3D1 log_file=3D/var/log/nagios2/nagios.log log_host_retries=3D1 log_initial_states=3D0 log_notifications=3D1 log_passive_checks=3D1 log_rotation_method=3Dd log_service_retries=3D1 use_syslog=3D1 =09 Abbbreviated contents of /var/log/nagios2/nagios.log: [1148388211] SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification Test;CRITICAL;notify-by-jabber;No process matching ping found : CRITICAL =09 I appreciate any insight into this problem would be appreciated. =20 Sincerely, =20 Norman H. Harebottle III Software Engineer Vikus Corporation ------_=_NextPart_001_01C67F2D.2AB0C666 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
I didn't have any luck getting any of the = Perl based=20 Jabber scripts to work.  I kept getting an error in one of the XMPP = modules.
 
--
Aaron Kent = Moore
Information = Technology=20 Services
DeKalb Memorial = Hospital,=20 Inc.
Auburn, = IN


From: = nagios-users-admin at lists.sourceforge.net=20 [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of = Norman=20 Harebottle
Sent: Tuesday, May 23, 2006 8:52 AM
To: = nagios-users at lists.sourceforge.net
Subject: [Nagios-users] = Jabber=20 Custom Notification Script Not Working

Hello=20 Everyone,
 
I am = wondering if=20 anyone has had success getting the Jabber Notification script written = by David=20 Cox to work.
 
I = have a user=20 called nagios under which nagios runs and using "su nagios" (on = Debian) I can=20 run the script and it notifies just fine. So I am concluding that it = is not a=20 security related issue nor a script execution error since it works=20 correctly.  However, when running the Perl script in the Embedded = Perl=20 environment, something happens (which is not logged) which causes the = script=20 to not execute as desired.
 
Can = anyone point=20 me in the direction of a logging directive to enable so that I can see = any=20 Perl errors that may be generated in the process?
 
Current=20 nagios.cfg logging settings:
log_archive_path=3D/var/log/nagios/archiveslog_event_handlers=3D1
log_external_commands=3D1
log_file=3D/var/ l= og/nagios2/nagios.log
log_host_retries=3D1
log_initial_states=3D0< B= R>log_notifications=3D1
log_passive_checks=3D1
log_rotation_method =3D= d
log_service_retries=3D1
use_syslog=3D1
Abbbreviated contents of=20 /var/log/nagios2/nagios.log:
[1148388211]=20 SERVICE NOTIFICATION: norman;weathervane;Service: Jabber Notification=20 Test;CRITICAL;notify-by-jabber;No process matching ping found :=20 CRITICAL
I = appreciate any=20 insight into this problem would be appreciated.
 
Sincerely,
 
Norman H.=20 Harebottle III
Software=20 Engineer
Vikus=20 Corporation
------_=_NextPart_001_01C67F2D.2AB0C666-- --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 dan.hopkins at uk.easynet.net Wed May 24 17:55:55 2006 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Wed, 24 May 2006 16:55:55 +0100 Subject: How to reduce a very high latency number Message-ID: <13E80BCA327C4D43AC2EFCE6B06E531405694B@exch0-tmshm.uk.easynet.corp> Out of interest, how many of your clients submit checks to each master? (or do you mean they all submit their results to every master?) and do you see many failed OCSP command submissions in the client logs? An install I'm testing at the moment has around 4000 services on 3 minute check split between an active master and a single slave (i.e. master performing half the checks actively) Of the 2000ish distributed services, I see anything up to 10 failed passive submits per hour with NSCA running as a daemon on the master. From some perliminary debugging, a connection is made but hangs and times out before doing anything useful. I've ditched a nagios setup that was processing 10,000 monitors split over 7 or 8 slaves as the latency made it unusable. I'd assumed the pipe on the master just couldn't handle the volume of results coming in and was losing passive results, not that there was much time to investigate it properly (is there ever) -- Dan > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Marc > Powell > Sent: 24 May 2006 15:47 > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: How to reduce a very high > latency number > > > I have 3 separate central servers (2 production and 1 for > testing), all > running nsca as a daemon and all receiving the same 3590 > passive service > results every 5 minutes. I've never had a problem with missed > checks or > high latency numbers. Stats from my clients -- > > Client1 submits 504(x3) passive checks - > Metric Min. Max. Average > Check Execution Time: 0.01 sec 21.40 sec > 3.394 sec > Check Latency: 0.01 sec 2.18 sec 0.216 sec > Percent State Change: 0.00% 5.72% 0.07% > > Client2 submits 1260(x3) passive checks - > Metric Min. Max. Average > Check Execution Time: 0.04 sec 35.03 sec > 6.789 sec > Check Latency: 0.00 sec 3.95 sec 0.839 sec > Percent State Change: 0.00% 11.84% 0.08% > > Client3 submits 824(x3) passive checks - > Metric Min. Max. Average > Check Execution Time: 0.09 sec 15.79 sec > 7.999 sec > Check Latency: 0.01 sec 7.97 sec 2.034 sec > Percent State Change: 0.00% 5.86% 0.02% > > Client4 submits 293(x3) passive checks - > Metric Min. Max. Average > Check Execution Time: 0.09 sec 10.36 sec > 7.584 sec > Check Latency: 0.00 sec 1.15 sec 0.249 sec > Percent State Change: 0.00% 12.11% 0.12% > > Client5 submits 720(x3) passive checks - > Metric Min. Max. Average > Check Execution Time: 0.11 sec 16.81 sec > 8.844 sec > Check Latency: 0.00 sec 6.81 sec 1.009 sec > Percent State Change: 0.00% 11.84% 0.04% > > All very reasonable to me. Clients 3-5 are single proc PIII-800's > running nagios and cricket and are due to be upgraded but even an > average latency of 2 seconds there is nothing to fret over at all. > > -- > Marc > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > > admin at lists.sourceforge.net] On Behalf Of Morris, Patrick > > Sent: Wednesday, May 24, 2006 3:54 AM > > To: Greg Cope; Jacob Ritorto > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Re: How to reduce a very high latency > number > > > > How are you guys running the nsca daemon? I've got systems that > perform > > thousands of checks with no problem. > > > > I'm looking at a system right now that submits over 5300 checks to a > > central server running nsca via xinetd, and it has a average service > > latency of .153 secs. > > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 prandal at herefordshire.gov.uk Wed May 24 17:52:26 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Wed, 24 May 2006 16:52:26 +0100 Subject: Best web front end Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580D210B8D@isabella.herefordshire.gov.uk> A quick look at the NagioSQL web page gives me little confidence. No documentation or screenshots. I've been playing with both Monarch and Fruity. Both are (to me) Alpha quality, regardless of any RC monnikers the developers attach to them. I needed to patch both to make them usable: Fruity: http://sourceforge.net/tracker/index.php?func=detail &aid=1457860&group_id=136248&atid=734752 And also this patch to make services imported from Nagios 1.x configs editable: --------------------------------------------------- --- fruity.inc.orig 2006-05-23 17:04:50.000000000 +0100 +++ fruity.inc 2006-05-23 17:15:16.000000000 +0100 @@ -2806,7 +2806,11 @@ $query = "SELECT service_description FROM nagios_services WHERE service_id = '$service_id'"; $result = $this->dbConnection->Execute($query); - return $this->prepare_for_use($result->fields['service_description']); + $res2 = $result->fields['service_description']; + if ($res2 == "") { + $res2 = "Desc"; + } + return $this->prepare_for_use($res2); } function return_escalation_description($escalation_id) { -------------------------------------------- Monarch: A fix for the Ajax stuff not working with recent CGI::Ajax versions - http://www.groundworkopensource.com/community/forums/viewtopic.php?t=104 &sid=ae5e07758b6b93aa975e4778ae9e30fb So far, I am not overly impressed, but Fruity shows promise. Monarch is way too slow. Cheers, Phil -- Phil Randal Network Engineer Herefordshire Council Hereford, UK _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 16:13 To: 'Jorg.Schulz at systeam.se'; Oliver Marshall Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end Doesn't NagiosQL2005 dictate where you can install it and where nagios should be installed ? I use /usr/local/nagios ... for my location but NagiosQL2005 seems to want to force a certain directory structure which just would not work for me. It seems a little inflexible as there must be many nagios installs whereby changing the structure would just create far too much work just to get this working. Does anyone disagree here ? regards, deborah -----Original Message----- From: Jorg.Schulz at systeam.se [mailto:Jorg.Schulz at systeam.se] Sent: 24 May 2006 12:17 To: Oliver Marshall Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end Hi Like Deborah says "This has been discussed to death. I'd suggest use google and look around to" I tried the Fruity, Nag2Web,NagiosQL and som other configtools But for "me" the best is NagiosQL - www.nagiosql.org It?s a php tool with mysql . very handy I serve about 2500 services and around 150 hosts with this tool and i never had problems. 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. Features are Import/export Easy navigation Backup function Give it a try Regards /J?rg "Oliver Marshall" Sent by: nagios-users-admin at lists.sourceforge.net 2006-05-24 11:27 To "Deborah Martin" , , cc Subject RE: [Nagios-users] Best web front end I cant barely get this linux machine turned on :) Writing my own isn't an option :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Deborah Martin Sent: 24 May 2006 10:26 To: 'nagios at sisyphus.ch'; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Best web front end This has been discussed to death. I'd suggest use google and look around to see what is out there - try them out because everyone has difference preferences to what will work for them. Alternatively, write your own and then you only have yourself to please! :) regs, deborah -----Original Message----- From: nagios at sisyphus.ch [mailto:nagios at sisyphus.ch] Sent: 24 May 2006 09:57 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Best web front end On Wed, May 24, 2006 at 09:20:39AM +0100, Oliver Marshall wrote: > What are peoples opinions on a decent web based management/configuration > front end for Nagios, ideally PHP? looking forward to it - my boss sure would like it. :-) -- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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: -------------- next part -------------- A non-text attachment was scrubbed... Name: ATT158290.jpg Type: image/jpeg Size: 10010 bytes Desc: not available URL: From marc at ena.com Wed May 24 18:09:12 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 11:09:12 -0500 Subject: How to reduce a very high latency number Message-ID: > -----Original Message----- > From: Dan Hopkins [mailto:dan.hopkins at uk.easynet.net] > Sent: Wednesday, May 24, 2006 10:56 AM > To: Marc Powell > Cc: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Re: How to reduce a very high latency number > > Out of interest, how many of your clients submit checks to each master? > (or do you mean they all submit their results to every master?) and do you > see many failed OCSP command submissions in the client logs? Each submits all check results to each master in series -- $ tail -3 submit_check_result /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca master1 -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca master2 -p 5668 -c /usr/local/nagios/etc/send_nsca.cfg /bin/echo -e "$1\t$2\t$return_code\t$4\n" | /usr/local/nagios/bin/send_nsca master3 -p 5669 -c /usr/local/nagios/etc/send_nsca.cfg I've never seen failures and all checks are current on my masters. > An install I'm testing at the moment has around 4000 services on 3 minute > check split between an active master and a single slave (i.e. master > performing half the checks actively) Of the 2000ish distributed services, > I see anything up to 10 failed passive submits per hour with NSCA running > as a daemon on the master. From some perliminary debugging, a connection > is made but hangs and times out before doing anything useful. > > I've ditched a nagios setup that was processing 10,000 monitors split over > 7 or 8 slaves as the latency made it unusable. I'd assumed the pipe on the > master just couldn't handle the volume of results coming in and was losing > passive results, not that there was much time to investigate it properly > (is there ever) I've heard that as well but have yet to experience it. - Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nicola.agnelli at spiderwall.com Wed May 24 18:30:21 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Wed, 24 May 2006 18:30:21 +0200 Subject: Auth problems In-Reply-To: <44745C2C.90607@spiderwall.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> <44745C2C.90607@spiderwall.com> Message-ID: <44748A1D.3040107@spiderwall.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Nicola Agnelli wrote: > Jim Perrin wrote: >>> On 5/24/06, Nicola Agnelli wrote: >>>> -----BEGIN PGP SIGNED MESSAGE----- >>>> Hash: SHA1 >>>> >>>> Hi all, >>>> i've installed Nagios 2.3.1 on a Gentoo Linux box, but i've a problem >>>> during autentication: when i go to http://ip/nagios tha nagios main page >>>> appears to me, and when i click on "host details" for example it require >>>> me the authentication so i insert my user and pass but i cant' login ... >>>> the login request returns to me.. >>>> I've followed this guide: >>>> >>>> http://gentoo-wiki.com/HOWTO_Install_Nagios >>> Double check the permissions you have defined in your cgi.cfg >>> >>> > I've inserted nagiosadmin (as user) everywhere .. > > how can i do ? > > > > -- > Nicola > > - ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 I still have many problems with authentication.. i've read docs but i can't resolve.. Have anyone some ideas ? Thank you very much, Regards - -- Nicola -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEdIodCdLAdyQGiH8RAluBAJ49iwIuD3kNTzJS7ncCnauuGf2CDQCdEalD LJlOXSyNe62Kd9wy0ErQoOY= =lwRD -----END PGP SIGNATURE----- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 td3201 at gmail.com Wed May 24 19:31:55 2006 From: td3201 at gmail.com (Terry) Date: Wed, 24 May 2006 12:31:55 -0500 Subject: utilizing pager/email in single contact Message-ID: <8ee061010605241031i7745d762n2bae9a85b84804e5@mail.gmail.com> Good afternoon, I am sure I am not seeing the big picture here but I want to have a single contact and have nagios use the pager for critical/ok and email for warning/ok messages. It doesnt appear that the default notification commands allow for this. Here is a contact example: define contact{ contact_name joe alias Joe host_notification_period 24x7 service_notification_period 24x7 host_notification_options d,u,r service_notification_options w,u,c,r host_notification_commands host-notify-by-email service_notification_commands notify-by-email email joe at domain.com pager 7162351234 at vtext.com } Here is a notification command: define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /usr/bin/sendEmail -q -s "10.7.7.2" -f nagios at foo.net -t $CONTACTEMAIL$ -u "Host $HOSTSTATE$ alert for $HOSTNAME$!" } Do I need to write a new notification command that determines if the alert is warning, critical, etc. and use the appropriate macro at that point? Also, sourceforge search appears to be broke, so I apologize if this is one of many duplicates there. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 andrew at profitability.net Wed May 24 20:09:51 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 24 May 2006 14:09:51 -0400 Subject: utilizing pager/email in single contact In-Reply-To: <8ee061010605241031i7745d762n2bae9a85b84804e5@mail.gmail.com> References: <8ee061010605241031i7745d762n2bae9a85b84804e5@mail.gmail.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > Good afternoon, > > I am sure I am not seeing the big picture here but I want to > have a single contact and have nagios use the pager for > critical/ok and email for warning/ok messages. It doesnt > appear that the default notification commands allow for this. > > Do I need to write a new notification command that determines > if the alert is warning, critical, etc. and use the > appropriate macro at that point? You *could* write a new notification command. That would be the most elegant solution, probably, but a quick-and-dirty "use what's there" solution would be to create two users -- one for email, one for paging. Then for the paging user, use: service_notification_options c,r host_notification_options d,r And for the email user, use: service_notification_options w,u,r Then make sure both users are members of the appropriate contact group and you should be in business. Andrew ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 td3201 at gmail.com Wed May 24 20:17:07 2006 From: td3201 at gmail.com (Terry) Date: Wed, 24 May 2006 13:17:07 -0500 Subject: utilizing pager/email in single contact In-Reply-To: References: <8ee061010605241031i7745d762n2bae9a85b84804e5@mail.gmail.com> Message-ID: <8ee061010605241117g94e58abqbdab1147dcaa83ad@mail.gmail.com> Andy, I neglected to say that I do that today, use 2 contacts, one for warning and one for critical. That just seems to defeat the purpose of having both pager and email in one contact. On 5/24/06, Andrew Cruse wrote: > nagios-users-admin at lists.sourceforge.net wrote: > > Good afternoon, > > > > I am sure I am not seeing the big picture here but I want to > > have a single contact and have nagios use the pager for > > critical/ok and email for warning/ok messages. It doesnt > > appear that the default notification commands allow for this. > > > > Do I need to write a new notification command that determines > > if the alert is warning, critical, etc. and use the > > appropriate macro at that point? > > You *could* write a new notification command. That would be the most > elegant solution, probably, but a quick-and-dirty "use what's there" > solution would be to create two users -- one for email, one for paging. > > Then for the paging user, use: > > service_notification_options c,r > host_notification_options d,r > > And for the email user, use: > > service_notification_options w,u,r > > Then make sure both users are members of the appropriate contact group > and you should be in business. > > Andrew > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 gvembu at totallynetworked.com Wed May 24 20:28:21 2006 From: gvembu at totallynetworked.com (Ganesh Vembu) Date: Wed, 24 May 2006 11:28:21 -0700 Subject: (no subject) Message-ID: hi all > not a big time linux guy but do have to get this done at work > i am installing Nagios the latest one on Redhat enterprise4 > i ccan get till the web interface whr i can enter my UN and PW > but none of the stuff to the left works except the ones under general = > ofcourse > I get an=20 > INTERNAL SERVER ERROR > THE SERVER ENCOUNTERED AND INTERNAL ERROR OR MISCONFIRGURATION AND WAS = > UNABLE TO COMPLLETE YOUR REQUEST > PLEASE CONTACE THE SERVER ADMINISTRATOR AND INFORM THM OF THE = > ERROR.....AND SO ON IT GOES > > apache/2.0.52(RED HAT) SERVER AT ip PORT80 > ANY HELP IS APPRICIATED www.ganeshvembu.com Living on Earth is expensive, but it does include a round trip around the sun every year. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andrew at profitability.net Wed May 24 20:43:58 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 24 May 2006 14:43:58 -0400 Subject: utilizing pager/email in single contact In-Reply-To: <8ee061010605241117g94e58abqbdab1147dcaa83ad@mail.gmail.com> References: <8ee061010605241117g94e58abqbdab1147dcaa83ad@mail.gmail.com> Message-ID: nagios-users-admin at lists.sourceforge.net wrote: > On 5/24/06, Andrew Cruse wrote: >> nagios-users-admin at lists.sourceforge.net wrote: >>> Good afternoon, >>> >>> I am sure I am not seeing the big picture here but I want to have a >>> single contact and have nagios use the pager for critical/ok and >>> email for warning/ok messages. It doesnt appear that the default >>> notification commands allow for this. >>> >>> Do I need to write a new notification command that determines if the >>> alert is warning, critical, etc. and use the appropriate macro at >>> that point? >> >> You *could* write a new notification command. That would be the most >> elegant solution, probably, but a quick-and-dirty "use what's there" >> solution would be to create two users -- one for email, one for >> paging. > Andy, > > I neglected to say that I do that today, use 2 contacts, one > for warning and one for critical. That just seems to defeat > the purpose of having both pager and email in one contact. > In that case, unless someone else has a nifty idea I think you're pretty much stuck with hacking together your own notification script(s). Doesn't seem like it would too challenging to parse the content of the alert and determine whether it's critical or warning and send a notification depending on which it is. If you do go ahead and do it, please consider adding it www.nagiosexchange.org. I'm sure others would find it useful as well. Andrew ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Wed May 24 20:46:22 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 24 May 2006 19:46:22 +0100 Subject: NSClient++ checkeventlog In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83E2@indigo.G2Support.local> Hi, Im using the following line in my checkcommands.cfg file. It works, as in i dont get an error code, but it returns 0 results and stays in the green. Can anyone see why this would return 0 results, even though I have made sure I have a load of errors and warnings in both the app and sys event logs ? command_line /usr/local/nagios/libexec/check_nrpe -H $HOSTADDRESS$ -p 5666 -c checkEventLog -a file=application warning-count=1 critical-count=3 filter-generated=\>4h filter-eventType=\>warning truncate=1000 filter=out Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 andrew at profitability.net Wed May 24 20:53:07 2006 From: andrew at profitability.net (Andrew Cruse) Date: Wed, 24 May 2006 14:53:07 -0400 Subject: utilizing pager/email in single contact Message-ID: Andrew Cruse wrote: > nagios-users-admin at lists.sourceforge.net wrote: >> On 5/24/06, Andrew Cruse wrote: >>> nagios-users-admin at lists.sourceforge.net wrote: >>>> Good afternoon, >>>> >>>> I am sure I am not seeing the big picture here but I want to have a >>>> single contact and have nagios use the pager for critical/ok and >>>> email for warning/ok messages. It doesnt appear that the default >>>> notification commands allow for this. >>>> >>>> Do I need to write a new notification command that determines if >>>> the alert is warning, critical, etc. and use the appropriate macro >>>> at that point? >>> >>> You *could* write a new notification command. That would be the >>> most elegant solution, probably, but a quick-and-dirty "use what's >>> there" solution would be to create two users -- one for email, one >>> for paging. >> Andy, >> >> I neglected to say that I do that today, use 2 contacts, one for >> warning and one for critical. That just seems to defeat the purpose >> of having both pager and email in one contact. >> > > In that case, unless someone else has a nifty idea I think > you're pretty much stuck with hacking together your own > notification script(s). Doesn't seem like it would too > challenging to parse the content of the alert and determine > whether it's critical or warning and send a notification > depending on which it is. If you do go ahead and do it, > please consider adding it www.nagiosexchange.org. I'm sure > others would find it useful as well. I hate responding to myself, but one extra bit: It seems like it would be (more) difficult to decide what to do with recovery notifications. Since Nagios treats recoveries the same, regardless of whether it is recovering from CRITICAL or recovering from WARNING, you'd wind up getting some recovery pages from WARNING events and vice versa on your emails. The only way to get around that as far as I can imagine would be to have your notification script store the X most recent events so it can try to pair recoveries with the corresponding WARNING or CRITICAL notifications and only send the recovery notices through the appropriate method. But then that seems like something that would be better handled directly in Nagios. Anyone else think it would make sense to have 3 recovery types? r (same as it is now) rw (recovery from WARNING state) rc (recovery from CRITICAL state) Andrew ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 24 21:50:15 2006 From: marc at ena.com (Marc Powell) Date: Wed, 24 May 2006 14:50:15 -0500 Subject: (no subject) Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users- > admin at lists.sourceforge.net] On Behalf Of Ganesh Vembu > Sent: Wednesday, May 24, 2006 1:28 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] (no subject) > > > hi all > > not a big time linux guy but do have to get this done at work > > i am installing Nagios the latest one on Redhat enterprise4 > > i ccan get till the web interface whr i can enter my UN and PW > > but none of the stuff to the left works except the ones under general = > > ofcourse > > I get an=20 > > INTERNAL SERVER ERROR > > THE SERVER ENCOUNTERED AND INTERNAL ERROR OR MISCONFIRGURATION AND WAS = > > UNABLE TO COMPLLETE YOUR REQUEST > > PLEASE CONTACE THE SERVER ADMINISTRATOR AND INFORM THM OF THE = > > ERROR.....AND SO ON IT GOES > > > > apache/2.0.52(RED HAT) SERVER AT ip PORT80 > > ANY HELP IS APPRICIATED RHES4 has SELINUX enabled by default. Do you still have it enabled? See if you have nagios related 'avc denied' error in your /var/log/messages file. If so, this post will be useful. I haven't tried it personally, but there are lots of similar posts in the archive should you need more help with it -- http://article.gmane.org/gmane.network.nagios.user/33586/match=selinux ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Lynne.G.Lawrence at uscg.mil Wed May 24 22:19:17 2006 From: Lynne.G.Lawrence at uscg.mil (Lawrence, Lynne) Date: Wed, 24 May 2006 16:19:17 -0400 Subject: utilizing pager/email in single contact Message-ID: <815DEBA40BB0EF4AB429F834E0380C38748B53@OSC-EXMB-M-001.main.ads.uscg.mil> >-----Original Message----- >From: nagios-users-admin at lists.sourceforge.net >[mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of >Andrew Cruse >Sent: Wednesday, May 24, 2006 2:53 PM >To: nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] utilizing pager/email in single contact > >Andrew Cruse wrote: >> nagios-users-admin at lists.sourceforge.net wrote: >>> On 5/24/06, Andrew Cruse wrote: >>>> nagios-users-admin at lists.sourceforge.net wrote: >>>>> Good afternoon, >>>>> >>>>> I am sure I am not seeing the big picture here but I want >to have a >>>>> single contact and have nagios use the pager for critical/ok and >>>>> email for warning/ok messages. It doesnt appear that the default >>>>> notification commands allow for this. >>>>> >>>>> Do I need to write a new notification command that determines if >>>>> the alert is warning, critical, etc. and use the appropriate macro >>>>> at that point? >>>> >>>> You *could* write a new notification command. That would be the >>>> most elegant solution, probably, but a quick-and-dirty "use what's >>>> there" solution would be to create two users -- one for email, one >>>> for paging. >>> Andy, >>> >>> I neglected to say that I do that today, use 2 contacts, one for >>> warning and one for critical. That just seems to defeat the purpose >>> of having both pager and email in one contact. >>> >> >> In that case, unless someone else has a nifty idea I think >> you're pretty much stuck with hacking together your own >> notification script(s). Doesn't seem like it would too >> challenging to parse the content of the alert and determine >> whether it's critical or warning and send a notification >> depending on which it is. If you do go ahead and do it, >> please consider adding it www.nagiosexchange.org. I'm sure >> others would find it useful as well. > >I hate responding to myself, but one extra bit: > >It seems like it would be (more) difficult to decide what to do with >recovery notifications. Since Nagios treats recoveries the same, >regardless of whether it is recovering from CRITICAL or recovering from >WARNING, you'd wind up getting some recovery pages from WARNING events >and vice versa on your emails. The only way to get around that as far >as I can imagine would be to have your notification script store the X >most recent events so it can try to pair recoveries with the >corresponding WARNING or CRITICAL notifications and only send the >recovery notices through the appropriate method. > >But then that seems like something that would be better >handled directly >in Nagios. Anyone else think it would make sense to have 3 recovery >types? > >r (same as it is now) >rw (recovery from WARNING state) >rc (recovery from CRITICAL state) Or maybe make the previous hard state available as a variable that could be passed to the notification script ... > >Andrew > > > >------------------------------------------------------- >All the advantages of Linux Managed Hosting--Without the Cost and Risk! >Fully trained technicians. The highest number of Red Hat >certifications in >the hosting industry. Fanatical Support. Click to learn more >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&d >at=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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 25 01:12:52 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Thu, 25 May 2006 09:12:52 +1000 Subject: Jabber Custom Notification Script Not Working (Frederik Vanhee) Message-ID: <42AE08054734A940AE4F983C21324D042B5204@acexp005.portfolio.base> Dear Folks, I am writing to thank you for your letter and say, >-----Original Message----- >Message: 1 >Date: Wed, 24 May 2006 06:52:22 +0200 >From: Frederik Vanhee >To: Norman Harebottle >CC: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Jabber Custom Notification Script >Not Working > >Norman Harebottle wrote: > >> Hello Everyone, >> >> I am wondering if anyone has had success getting the Jabber >> Notification script written by David Cox to work. >> >> However, when running the >> Perl script in the Embedded Perl environment, something >happens (which >> is not logged) which causes the script to not execute as desired. >> embedded Perl Nagios like mod_perl is more sensitive to coding issues than the 'fork a new Perl interpreter for each run' model. There is every chance that a plugin that works fine from the command line won't work under ePN. You can turn ePN logging on by changing the DEBUG_LEVEL in p1.pl. Set it to LEAVE_MSG (or whatever is mentioned in perldoc p1.pl). You need to make sure the log path and name suits you also. In a former job, I found jabber/XMPP was very sensitive to the Perl modules and configuration of the Jabber server. I think we had an event handler that would publish stuff to jabber consoles with not much more than one of the example usages from the Perl jabber client. Unfortch my records are elsewhere. No experience unfortch with the jabber plugins. Yours sincerely. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 25 02:22:05 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 24 May 2006 21:22:05 -0300 Subject: nagios.cmd file In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83DE@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83DE@indigo.G2Support.local> Message-ID: <1148516525.31372.5.camel@localhost> On Wed, 2006-05-24 at 11:15 +0100, Oliver Marshall wrote: > Im just at the last stage of setting up NagiosQL and it seems I'm > missing a nagios.cmd file, which should be in /usr/local/nagios/var/ > > Does anyone know what this is/does, and where I might get it or how I > can create it ? It is created at compile-time, when issued make install-commandmode It's a named pipe to enable nagios processing external commands, from cgis, scripts, etc. And, it's the pipe where nsca writes responses of distributed monitoring. Cheers > > Olly > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 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/. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Thu May 25 03:04:52 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Wed, 24 May 2006 21:04:52 -0400 Subject: nagios.cmd file In-Reply-To: <1148516525.31372.5.camel@localhost> References: <1148516525.31372.5.camel@localhost> Message-ID: That's not entirely accurate. That file is a pipe created by Nagios at runtime. It should be wherever your config file says it should be. Look for "command_file" in nagios.cfg. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Marcel Mitsuto Fucatu Sugano Sent: Wednesday, May 24, 2006 5:22 PM To: Oliver Marshall Cc: Deborah Martin; nagios at sisyphus.ch; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] nagios.cmd file On Wed, 2006-05-24 at 11:15 +0100, Oliver Marshall wrote: > Im just at the last stage of setting up NagiosQL and it seems I'm > missing a nagios.cmd file, which should be in /usr/local/nagios/var/ > > Does anyone know what this is/does, and where I might get it or how I > can create it ? It is created at compile-time, when issued make install-commandmode It's a named pipe to enable nagios processing external commands, from cgis, scripts, etc. And, it's the pipe where nsca writes responses of distributed monitoring. Cheers > > Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 25 03:09:12 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 24 May 2006 22:09:12 -0300 Subject: How to reduce a very high latency number In-Reply-To: References: Message-ID: <1148519353.31372.14.camel@localhost> On Wed, 2006-05-24 at 11:09 -0500, Marc Powell wrote: [snip] > Each submits all check results to each master in series -- > > $ tail -3 submit_check_result > /bin/echo -e "$1\t$2\t$return_code\t$4\n" | > /usr/local/nagios/bin/send_nsca master1 -p 5668 -c > /usr/local/nagios/etc/send_nsca.cfg > /bin/echo -e "$1\t$2\t$return_code\t$4\n" | > /usr/local/nagios/bin/send_nsca master2 -p 5668 -c > /usr/local/nagios/etc/send_nsca.cfg > /bin/echo -e "$1\t$2\t$return_code\t$4\n" | > /usr/local/nagios/bin/send_nsca master3 -p 5669 -c > /usr/local/nagios/etc/send_nsca.cfg > > I've never seen failures and all checks are current on my masters. [snip] I've tried this setup before, but this leads to a load of stale services. Did you check_freshness? Because i am thinking about not check freshness at all, instead, just make a check_tcp!5667 to the masters, from the slaves. But i am still thinking about it. In my setup, it is one master getting 8750 passive service results. And there is a lot of stale services around (almost 2% of the services), i've tried every configuration pertinent to the freshness checking, and tailoring one freshness threshold for each service is not welcome. So, lefting freshness threshold at 0, Nagios will refuse lots of services results for just 1 to 30 seconds after the automatic threshold (some services need freshness threshold, indeed), and those staled services with little lateness is about 50% of all the staled services reported. How people around here manage a lot of passive service staled results, in big nagios configs? thanks. 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/. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 25 03:12:20 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 24 May 2006 22:12:20 -0300 Subject: (no subject) In-Reply-To: References: Message-ID: <1148519540.31372.17.camel@localhost> On Wed, 2006-05-24 at 11:28 -0700, Ganesh Vembu wrote: > > hi all > > not a big time linux guy but do have to get this done at work > > i am installing Nagios the latest one on Redhat enterprise4 > > i ccan get till the web interface whr i can enter my UN and PW > > but none of the stuff to the left works except the ones under > general = > > ofcourse > > I get an=20 > > INTERNAL SERVER ERROR > > THE SERVER ENCOUNTERED AND INTERNAL ERROR OR MISCONFIRGURATION AND > WAS = > > UNABLE TO COMPLLETE YOUR REQUEST > > PLEASE CONTACE THE SERVER ADMINISTRATOR AND INFORM THM OF THE = > > ERROR.....AND SO ON IT GOES > > > > apache/2.0.52(RED HAT) SERVER AT ip PORT80 > > ANY HELP IS APPRICIATED > www.ganeshvembu.com > Living on Earth is expensive, but it does include a round trip around > the sun every year. > Go after error_log and see what apache tells you there. From our point of view, it's not worthy the try. Or, you should tell us about everything we need to know to help you! 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/. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 sysit.chenxj at alibaba-inc.com Thu May 25 05:22:07 2006 From: sysit.chenxj at alibaba-inc.com (SYSIT) Date: Thu, 25 May 2006 11:22:07 +0800 Subject: Some nagios promblem need help! Message-ID: <50e4tk$1ioc3l@smtp2.alibaba-inc.com> Hi,all I have been used nagios monitor our web site two years! Now about 500 hosts and 3,000 services on my nagios system. because now my nagios server load is very high. I have to use distribution system to reduce pressure.I found if nsca server work at inetd or single mode can't deal with about 300 request per second. Only run at daemon mode can do it. But still deley much. Any device for me? Another question is I have done some Optimize by Nagios Documents: /bin/mkdir -p /dev/shm/tmp /cache /bin/chmod 1777 /dev/shm/tmp /cache /bin/mount --bind /dev/shm/tmp /cache Then modify nagios.cfg, change path of status.dat and nagios.log to /cache. Now visit status.cgi often show web page like below: The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, sysit.chenxj at alibaba-inc.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request I check apache's error_log,can find: [Wed May 17 16:02:37 2006] [error] [client 10.0.77.203] Premature end of script headers: status.cgi How can I do with it ? Attach diff of my nagios.cfg and sample-config/nagios.cfg 19,20c19 < # log_file=/usr/local/nagios/var/nagios.log < log_file=/cache/nagios.log --- * log_file=/usr/local/nagios/var/nagios.log < # status_file=/usr/local/nagios/var/status.dat < status_file=/cache/status.dat --- > status_file=/usr/local/nagios/var/status.dat 156c131 < check_external_commands=1 --- > check_external_commands=0 243c218 < # nebmodule= [moduleargs] --- > # broker_module= [moduleargs] 276c251 < use_syslog=0 --- * use_syslog=1 < max_service_check_spread=10 --- > max_service_check_spread=30 423c398 < max_host_check_spread=10 --- > max_host_check_spread=30 443c418 < service_reaper_frequency=5 --- > service_reaper_frequency=10 503,504c478,479 < service_check_timeout=20 < host_check_timeout=5 --- > service_check_timeout=60 > host_check_timeout=30 506c481 < notification_timeout=10 --- > notification_timeout=30 546c521 < retention_update_interval=5 --- > retention_update_interval=60 568c543 < use_retained_scheduling_info=1 --- > use_retained_scheduling_info=0 578c553 < interval_length=10 --- > interval_length=60 602c577 < execute_service_checks=0 --- > execute_service_checks=1 794c769 < service_freshness_check_interval=10 --- > service_freshness_check_interval=60 805c780 < check_host_freshness=1 --- > check_host_freshness=0 828c803 < aggregate_status_updates=0 --- > aggregate_status_updates=1 839c814 < status_update_interval=10 --- > status_update_interval=15 848c823 Best wishes, sysit.chen 05-18-2006 -------------- next part -------------- An HTML attachment was scrubbed... URL: From nicola.agnelli at spiderwall.com Thu May 25 12:36:48 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Thu, 25 May 2006 12:36:48 +0200 Subject: Auth problems In-Reply-To: <44748A1D.3040107@spiderwall.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> <44745C2C.90607@spiderwall.com> <44748A1D.3040107@spiderwall.com> Message-ID: <447588C0.1060600@spiderwall.com> Nicola Agnelli wrote: > Nicola Agnelli wrote: >>> Jim Perrin wrote: >>>>> On 5/24/06, Nicola Agnelli wrote: >>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>> Hash: SHA1 >>>>>> >>>>>> Hi all, >>>>>> i've installed Nagios 2.3.1 on a Gentoo Linux box, but i've a problem >>>>>> during autentication: when i go to http://ip/nagios tha nagios main page >>>>>> appears to me, and when i click on "host details" for example it require >>>>>> me the authentication so i insert my user and pass but i cant' login ... >>>>>> the login request returns to me.. >>>>>> I've followed this guide: >>>>>> >>>>>> http://gentoo-wiki.com/HOWTO_Install_Nagios >>>>> Double check the permissions you have defined in your cgi.cfg >>>>> >>>>> >>> I've inserted nagiosadmin (as user) everywhere .. >>> >>> how can i do ? >>> >>> >>> >>> -- >>> Nicola >>> >>> > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > > > > I still have many problems with authentication.. i've read docs but i > can't resolve.. Have anyone some ideas ? > Thank you very much, > > Regards > > > -- > Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 i've tried to cancel my user and recreate it, but with no results.. i can't login on my nagios interface! I've no more ideas... can anyone help me pls ? Thank you -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 25 12:43:46 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 25 May 2006 12:43:46 +0200 (CEST) Subject: Auth problems In-Reply-To: <447588C0.1060600@spiderwall.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> <44745C2C.90607@spiderwall.com> <44748A1D.3040107@spiderwall.com> <447588C0.1060600@spiderwall.com> Message-ID: On Thu, 25 May 2006, Nicola Agnelli wrote: > > I still have many problems with authentication.. i've read docs but i > > can't resolve.. Have anyone some ideas ? Start again and show us: - apache config changes - settings you think are relevant/changed in nagios config files. Do not assume anything. Do not think we know how you did things so describe them clearly from scratch. 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. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Deborah.Martin at Kognitio.com Thu May 25 12:53:26 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Thu, 25 May 2006 11:53:26 +0100 Subject: Auth problems Message-ID: Have you added nagiosadmin to the htpasswd.users file ? regards, deborah -----Original Message----- ************************************************************************ This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** From: Nicola Agnelli [mailto:nicola.agnelli at spiderwall.com] Sent: 25 May 2006 11:37 To: Nicola Agnelli Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Auth problems Nicola Agnelli wrote: > Nicola Agnelli wrote: >>> Jim Perrin wrote: >>>>> On 5/24/06, Nicola Agnelli wrote: >>>>>> -----BEGIN PGP SIGNED MESSAGE----- >>>>>> Hash: SHA1 >>>>>> >>>>>> Hi all, >>>>>> i've installed Nagios 2.3.1 on a Gentoo Linux box, but i've a problem >>>>>> during autentication: when i go to http://ip/nagios tha nagios main page >>>>>> appears to me, and when i click on "host details" for example it require >>>>>> me the authentication so i insert my user and pass but i cant' login ... >>>>>> the login request returns to me.. >>>>>> I've followed this guide: >>>>>> >>>>>> http://gentoo-wiki.com/HOWTO_Install_Nagios >>>>> Double check the permissions you have defined in your cgi.cfg >>>>> >>>>> >>> I've inserted nagiosadmin (as user) everywhere .. >>> >>> how can i do ? >>> >>> >>> >>> -- >>> Nicola >>> >>> > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > > > > I still have many problems with authentication.. i've read docs but i > can't resolve.. Have anyone some ideas ? > Thank you very much, > > Regards > > > -- > Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 i've tried to cancel my user and recreate it, but with no results.. i can't login on my nagios interface! I've no more ideas... can anyone help me pls ? Thank you -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Thu May 25 13:57:01 2006 From: Samba at guidemail.com (Samba) Date: Thu, 25 May 2006 06:57:01 -0500 Subject: NDOUtils 1.3.1 data sink error. Message-ID: Hi all, I'm having problems with NDOUtils configured for use with MySQL with Nagios 2.3.1. I've googled for "error writing to data sink". But I only get one result and it's not in English. I start the ndo2db daemon as my nagios user then restart nagios and I get the following messages in my Event Log. 05-25-2006 06:49:51] ndomod: Error writing to data sink! Some output may get lost. 3499 queued items to flush. Informational Message[05-25-2006 06:49:51] ndomod: Successfully reconnected to data sink! 0 items lost, 3767 queued items to flush. Informational Message[05-25-2006 06:49:35] ndomod: Error writing to data sink! Some output may get lost... Informational Message[05-25-2006 06:49:34] Event broker module '/usr/local/nagios/bin/ndomod.o' initialized successfully. Informational Message[05-25-2006 06:49:34] ndomod: Successfully connected to data sink. 0 queued items to flush. Informational Message[05-25-2006 06:49:34] ndomod: NDOMOD 1.3.1 Copyright (c) 2005-2006 Ethan Galstad (nagios at nagios.org) Informational Message[05-25-2006 06:49:34] LOG VERSION: 2.0 Program Start[05-25-2006 06:49:34] Nagios 2.3.1 starting... (PID=29269) Please let me know if there's any other info you need from me. Josh samba at guidemail.com ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nicola.agnelli at spiderwall.com Thu May 25 14:13:44 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Thu, 25 May 2006 14:13:44 +0200 Subject: Auth problems In-Reply-To: References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> <44745C2C.90607@spiderwall.com> <44748A1D.3040107@spiderwall.com> <447588C0.1060600@spiderwall.com> Message-ID: <44759F78.7070005@spiderwall.com> Hugo van der Kooij wrote: > On Thu, 25 May 2006, Nicola Agnelli wrote: > >>> I still have many problems with authentication.. i've read docs but i >>> can't resolve.. Have anyone some ideas ? > > Start again and show us: > - apache config changes > - settings you think are relevant/changed in nagios config files. > > Do not assume anything. Do not think we know how you did things so > describe them clearly from scratch. > > Hugo. > I've done exactly what is described in this guide: http://gentoo-wiki.com/HOWTO_Install_Nagios I've tried to remove /etc/nagios/htpasswd.users and recreate it with htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin but anyway i can't login ! I attach my apache.conf file anche nagios module.. Thank you for help -- Nicola -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: 99_nagios.conf URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: httpd.conf URL: From pitchfork at ederdrom.de Thu May 25 14:21:21 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 25 May 2006 14:21:21 +0200 Subject: NDOUtils 1.3.1 data sink error. In-Reply-To: References: Message-ID: <200605251421.26435.pitchfork@ederdrom.de> Am Donnerstag 25 Mai 2006 13:57 schrieb Samba: > Hi all, > > I'm having problems with NDOUtils configured for use with MySQL with > Nagios 2.3.1. I've googled for "error writing to data sink". But I > only get one result and it's not in English. > > I start the ndo2db daemon as my nagios user then restart nagios and I > get the following messages in my Event Log. Du you use UnixSocket or TCPSocket as connection type ? If Unix Socket is used check the pemermissions of var/ndo.sock ndomod.cfg AND ndo2db.cfg mus contain the same connection settings. Regards J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From pitchfork at ederdrom.de Thu May 25 14:23:54 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 25 May 2006 14:23:54 +0200 Subject: Auth problems In-Reply-To: <44759F78.7070005@spiderwall.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <44759F78.7070005@spiderwall.com> Message-ID: <200605251423.54636.pitchfork@ederdrom.de> Am Donnerstag 25 Mai 2006 14:13 schrieb Nicola Agnelli: > Hugo van der Kooij wrote: > > On Thu, 25 May 2006, Nicola Agnelli wrote: > >>> I still have many problems with authentication.. i've read docs but i > >>> can't resolve.. Have anyone some ideas ? > > > > Start again and show us: > > - apache config changes > > - settings you think are relevant/changed in nagios config files. > > > > Do not assume anything. Do not think we know how you did things so > > describe them clearly from scratch. > > > > Hugo. > > I've done exactly what is described in this guide: > http://gentoo-wiki.com/HOWTO_Install_Nagios > > I've tried to remove /etc/nagios/htpasswd.users and recreate it with Please show us the content of yout .htacces files in /usrnagios/sbin and /usr/nagios/share J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From pitchfork at ederdrom.de Thu May 25 14:31:47 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 25 May 2006 14:31:47 +0200 Subject: Auth problems In-Reply-To: <44759F78.7070005@spiderwall.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <44759F78.7070005@spiderwall.com> Message-ID: <200605251431.47559.pitchfork@ederdrom.de> Am Donnerstag 25 Mai 2006 14:13 schrieb Nicola Agnelli: > Hugo van der Kooij wrote: > > On Thu, 25 May 2006, Nicola Agnelli wrote: > >>> I still have many problems with authentication.. i've read docs but i > >>> can't resolve.. Have anyone some ideas ? > > > > Start again and show us: > > - apache config changes > > - settings you think are relevant/changed in nagios config files. > > > > Do not assume anything. Do not think we know how you did things so > > describe them clearly from scratch. > > > > Hugo. > > I've done exactly what is described in this guide: > http://gentoo-wiki.com/HOWTO_Install_Nagios Look again on this section http://gentoo-wiki.com/HOWTO_Install_Nagios#Setting_up_CGI_authentication --- Create the following identical files: /usr/nagios/sbin/.htaccess and /usr/nagios/share/.htaccess both with the following content .... --- J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From nicola.agnelli at spiderwall.com Thu May 25 14:31:49 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Thu, 25 May 2006 14:31:49 +0200 Subject: Auth problems In-Reply-To: <200605251423.54636.pitchfork@ederdrom.de> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <44759F78.7070005@spiderwall.com> <200605251423.54636.pitchfork@ederdrom.de> Message-ID: <4475A3B5.2070400@spiderwall.com> Joerg Linge wrote: > Am Donnerstag 25 Mai 2006 14:13 schrieb Nicola Agnelli: >> Hugo van der Kooij wrote: >>> On Thu, 25 May 2006, Nicola Agnelli wrote: >>>>> I still have many problems with authentication.. i've read docs but i >>>>> can't resolve.. Have anyone some ideas ? >>> Start again and show us: >>> - apache config changes >>> - settings you think are relevant/changed in nagios config files. >>> >>> Do not assume anything. Do not think we know how you did things so >>> describe them clearly from scratch. >>> >>> Hugo. >> I've done exactly what is described in this guide: >> http://gentoo-wiki.com/HOWTO_Install_Nagios >> >> I've tried to remove /etc/nagios/htpasswd.users and recreate it with > > Please show us the content of yout .htacces files in /usrnagios/sbin > and /usr/nagios/share > > J?rg This is the content of the my two .htacces file: AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Thank you, -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 nicola.agnelli at spiderwall.com Thu May 25 14:37:40 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Thu, 25 May 2006 14:37:40 +0200 Subject: Auth problems In-Reply-To: <200605251431.47559.pitchfork@ederdrom.de> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <44759F78.7070005@spiderwall.com> <200605251431.47559.pitchfork@ederdrom.de> Message-ID: <4475A514.4030804@spiderwall.com> Joerg Linge wrote: > Am Donnerstag 25 Mai 2006 14:13 schrieb Nicola Agnelli: >> Hugo van der Kooij wrote: >>> On Thu, 25 May 2006, Nicola Agnelli wrote: >>>>> I still have many problems with authentication.. i've read docs but i >>>>> can't resolve.. Have anyone some ideas ? >>> Start again and show us: >>> - apache config changes >>> - settings you think are relevant/changed in nagios config files. >>> >>> Do not assume anything. Do not think we know how you did things so >>> describe them clearly from scratch. >>> >>> Hugo. >> I've done exactly what is described in this guide: >> http://gentoo-wiki.com/HOWTO_Install_Nagios > > Look again on this section > http://gentoo-wiki.com/HOWTO_Install_Nagios#Setting_up_CGI_authentication > > --- > Create the following identical files: /usr/nagios/sbin/.htaccess > and /usr/nagios/share/.htaccess both with the following content .... > --- > > J?rg I've done exactly what is described in that guide.. and /usr/nagios/sbin/.htacces and /usr/nagios/share/.htaccess have the same content.. Regards -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Thu May 25 14:38:22 2006 From: Samba at guidemail.com (Samba) Date: Thu, 25 May 2006 07:38:22 -0500 Subject: NDOUtils 1.3.1 data sink error. Message-ID: Thanks for your reply. I should have included that info: My ndomod.cfg options are: instance_name=default output_type=unixsocket output=/usr/local/nagios/var/ndo.sock output_buffer_items=5000 file_rotation_interval=14400 file_rotation_timeout=60 reconnect_interval=15 reconnect_warning_interval=15 data_processing_options=-1 config_output_options=3 My ndo2db.cfg options are: socket_type=unix socket_name=/usr/local/nagios/var/ndo.sock db_servertype=mysql db_host=localhost db_port=3306 db_name=nagios-ndo db_prefix=ndo_ db_user=mysql db_pass= There are some timing options at the bottom, I don't think they're important. I have verified tha the ndo.sock is nagios.nagios. I even tried changing everything to TCPSocket and got the same errors. I manually connected to the DB as mysql/ with no problem. Any ideas? Josh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joerg Linge Sent: Thursday, May 25, 2006 7:21 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.3.1 data sink error. Am Donnerstag 25 Mai 2006 13:57 schrieb Samba: > Hi all, > > I'm having problems with NDOUtils configured for use with MySQL with > Nagios 2.3.1. I've googled for "error writing to data sink". But I > only get one result and it's not in English. > > I start the ndo2db daemon as my nagios user then restart nagios and I > get the following messages in my Event Log. Du you use UnixSocket or TCPSocket as connection type ? If Unix Socket is used check the pemermissions of var/ndo.sock ndomod.cfg AND ndo2db.cfg mus contain the same connection settings. Regards J?rg ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 pitchfork at ederdrom.de Thu May 25 14:50:07 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 25 May 2006 14:50:07 +0200 Subject: NDOUtils 1.3.1 data sink error. In-Reply-To: References: Message-ID: <200605251450.10700.pitchfork@ederdrom.de> Am Donnerstag 25 Mai 2006 14:38 schrieb Samba: > Thanks for your reply. I should have included that info: > .... > There are some timing options at the bottom, I don't think they're > important. These options are OK > I have verified tha the ndo.sock is nagios.nagios. I even tried changing > everything to TCPSocket and got the same errors. Hmmm If you make changes in ndomod.cfg, nagios must be restarted. > I manually connected to the DB as mysql/ with no problem. Ok, please check if ndo2db is running. If nagios (ndomod.o) connects to ndo2db ( Unix or tcp socket ) a new process is forked. So if you only see only one process, nagios can not connect to ndo2db. You can also check if ndomod.o is able to write the data to a file. Try to turn this feature on in ndomod.cfg But everything step by step. J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Samba at guidemail.com Thu May 25 14:59:56 2006 From: Samba at guidemail.com (Samba) Date: Thu, 25 May 2006 07:59:56 -0500 Subject: NDOUtils 1.3.1 data sink error. Message-ID: Joerg, Great information! I changed the config to write to file and it works. After changing it back I still get the same error. I checked and like you said I only see one ndo2db process. One thing I questioned was the DB PREFIX option. The default SQL import used a prefix of ndo_, but the default in the config file is to not use a prefix at all. I've tried using both configs with no luck so I guess that's probably not it. I really appreciate your help and ideas. Josh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joerg Linge Sent: Thursday, May 25, 2006 7:50 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.3.1 data sink error. Am Donnerstag 25 Mai 2006 14:38 schrieb Samba: > Thanks for your reply. I should have included that info: > .... > There are some timing options at the bottom, I don't think they're > important. These options are OK > I have verified tha the ndo.sock is nagios.nagios. I even tried changing > everything to TCPSocket and got the same errors. Hmmm If you make changes in ndomod.cfg, nagios must be restarted. > I manually connected to the DB as mysql/ with no problem. Ok, please check if ndo2db is running. If nagios (ndomod.o) connects to ndo2db ( Unix or tcp socket ) a new process is forked. So if you only see only one process, nagios can not connect to ndo2db. You can also check if ndomod.o is able to write the data to a file. Try to turn this feature on in ndomod.cfg But everything step by step. J?rg ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 pitchfork at ederdrom.de Thu May 25 15:08:41 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 25 May 2006 15:08:41 +0200 Subject: NDOUtils 1.3.1 data sink error. In-Reply-To: References: Message-ID: <200605251508.45178.pitchfork@ederdrom.de> Am Donnerstag 25 Mai 2006 14:59 schrieb Samba: > Joerg, Hi Josh > Great information! I changed the config to write to file and it works. > After changing it back I still get the same error. > > I checked and like you said I only see one ndo2db process. OK, let me test this on my devel box. I will try to reproduxe this error. > One thing I questioned was the DB PREFIX option. The default SQL import > used a prefix of ndo_, but the default in the config file is to not use a > prefix at all. I've tried using both configs with no luck so I guess > that's probably not it. db_prefix must set to ndo_ if you use the default sheme. can your db user write to the database ? Please test this again, i have done the same mistakes by using a wrong db user. > I really appreciate your help and ideas. Give me 5 minutes.... -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Samba at guidemail.com Thu May 25 15:17:42 2006 From: Samba at guidemail.com (Samba) Date: Thu, 25 May 2006 08:17:42 -0500 Subject: NDOUtils 1.3.1 data sink error. Message-ID: I first used command-line mysql to connect to the DB and manually add a record using the mysql user and it worked. I then tried using log2ndo on one of the archives to see if that would work and I don't get any results back. I looked into the Db and no tables were modified. Josh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joerg Linge Sent: Thursday, May 25, 2006 8:09 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.3.1 data sink error. Am Donnerstag 25 Mai 2006 14:59 schrieb Samba: > Joerg, Hi Josh > Great information! I changed the config to write to file and it works. > After changing it back I still get the same error. > > I checked and like you said I only see one ndo2db process. OK, let me test this on my devel box. I will try to reproduxe this error. > One thing I questioned was the DB PREFIX option. The default SQL import > used a prefix of ndo_, but the default in the config file is to not use a > prefix at all. I've tried using both configs with no luck so I guess > that's probably not it. db_prefix must set to ndo_ if you use the default sheme. can your db user write to the database ? Please test this again, i have done the same mistakes by using a wrong db user. > I really appreciate your help and ideas. Give me 5 minutes.... ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Samba at guidemail.com Thu May 25 15:48:48 2006 From: Samba at guidemail.com (Samba) Date: Thu, 25 May 2006 08:48:48 -0500 Subject: NDOUtils 1.3.1 data sink error. Message-ID: OK I think I found the problem but I don't know how to fix it. In my /var/log/messages file I see the following message: May 25 08:36:56 nagios ndo2db: Error: Could not connect to MySQL database: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) My mysql.sock file is located at /tmp/mysql.sock How do I change where ndo2db looks for the sock file? Josh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joerg Linge Sent: Thursday, May 25, 2006 8:09 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.3.1 data sink error. Am Donnerstag 25 Mai 2006 14:59 schrieb Samba: > Joerg, Hi Josh > Great information! I changed the config to write to file and it works. > After changing it back I still get the same error. > > I checked and like you said I only see one ndo2db process. OK, let me test this on my devel box. I will try to reproduxe this error. > One thing I questioned was the DB PREFIX option. The default SQL import > used a prefix of ndo_, but the default in the config file is to not use a > prefix at all. I've tried using both configs with no luck so I guess > that's probably not it. db_prefix must set to ndo_ if you use the default sheme. can your db user write to the database ? Please test this again, i have done the same mistakes by using a wrong db user. > I really appreciate your help and ideas. Give me 5 minutes.... ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Samba at guidemail.com Thu May 25 15:56:50 2006 From: Samba at guidemail.com (Samba) Date: Thu, 25 May 2006 08:56:50 -0500 Subject: NDOUtils 1.3.1 data sink error. Message-ID: Sorry for having this conversation with myself online but I felt it was important to document my problem so everyone could benefit. My problem ended up being rooted in ndo2db. It is hardcoded to look for the mysql.sock file in /var/lib/mysql/mysql.sock. Mine was located in /tmp/mysql.sock. To resolve the issue I created a sym link to where it was looking for the mysql.lock, resarted nagios and things are working now. Thanks to Joerg for your help !!! Josh -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Joerg Linge Sent: Thursday, May 25, 2006 8:09 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NDOUtils 1.3.1 data sink error. Am Donnerstag 25 Mai 2006 14:59 schrieb Samba: > Joerg, Hi Josh > Great information! I changed the config to write to file and it works. > After changing it back I still get the same error. > > I checked and like you said I only see one ndo2db process. OK, let me test this on my devel box. I will try to reproduxe this error. > One thing I questioned was the DB PREFIX option. The default SQL import > used a prefix of ndo_, but the default in the config file is to not use a > prefix at all. I've tried using both configs with no luck so I guess > that's probably not it. db_prefix must set to ndo_ if you use the default sheme. can your db user write to the database ? Please test this again, i have done the same mistakes by using a wrong db user. > I really appreciate your help and ideas. Give me 5 minutes.... ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 pitchfork at ederdrom.de Thu May 25 15:26:58 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Thu, 25 May 2006 15:26:58 +0200 Subject: NDOUtils 1.3.1 data sink error. In-Reply-To: References: Message-ID: <200605251527.01817.pitchfork@ederdrom.de> Am Donnerstag 25 Mai 2006 15:17 schrieb Samba: > I first used command-line mysql to connect to the DB and manually add a > record using the mysql user and it worked. OK > I then tried using log2ndo on one of the archives to see if that would > work and I don't get any results back. I looked into the Db and no > tables were modified. OK. I think ndomod can write tho ndo2db via TCP/UNIX Socket. But ndo2db can not write to the database with your settings. db_prefix=ndo_ ist set ? Have you tested with user at localhost via tcp port 3306 ? For mysql user at 127.0.0.1 is not the same as user at localhost J?rg -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Oliver.Marshall at g2support.com Thu May 25 16:05:48 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Thu, 25 May 2006 15:05:48 +0100 Subject: Email notifications In-Reply-To: <200605251527.01817.pitchfork@ederdrom.de> References: <200605251527.01817.pitchfork@ederdrom.de> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83F4@indigo.G2Support.local> Im trying to get email notifications working on my nagios box. I have created a new contact with an email address and set him to be notified by email. I have assigned him to the contact group for a host. Now, do I need to go as far as to setup a mail server on the linux box, or are there some email orientated settings in nagios somewhere that tell it how to deliver the email (as in what mail server to use) ? Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Thu May 25 16:12:14 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 25 May 2006 10:12:14 -0400 Subject: Email notifications In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83F4@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83F4@indigo.G2Support.local> Message-ID: That depends on how your notification commands are set up. Nagios doesn't send mail by itself; it will use whatever commands you have configured for it to send its notifications. The default in the example configs (in misccommands.cfg) is to use the "mail" command. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Oliver Marshall Sent: Thursday, May 25, 2006 7:06 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Email notifications Im trying to get email notifications working on my nagios box. I have created a new contact with an email address and set him to be notified by email. I have assigned him to the contact group for a host. Now, do I need to go as far as to setup a mail server on the linux box, or are there some email orientated settings in nagios somewhere that tell it how to deliver the email (as in what mail server to use) ? ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 prandal at herefordshire.gov.uk Thu May 25 16:19:10 2006 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Thu, 25 May 2006 15:19:10 +0100 Subject: Email notifications Message-ID: <86144ED6CE5B004DA23E1EAC0B569B580D210CAA@isabella.herefordshire.gov.uk> Assuming your nagios box is on your internal network and not NAT'ed to the outside world... You just need a standard sendmail setup or equivalent, making sure your internal DNS has MX records for your mail servers, then make sure your notifications go to internal addresses only. If that restriction's too limiting for you, then you'll need to hack your sendmail.mc to use your corporate email server as a smart host and relay all via it. If your nagios box is NAT'ed to the outside world, you'll need to enable smtp out from that box, make sure your firewall rules are appropriate, and ensure that your DNS used on the Nagios box can resolve your destination domains. 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 Oliver Marshall > Sent: 25 May 2006 15:06 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Email notifications > > Im trying to get email notifications working on my nagios box. I have > created a new contact with an email address and set him to be notified > by email. I have assigned him to the contact group for a host. > > Now, do I need to go as far as to setup a mail server on the > linux box, > or are there some email orientated settings in nagios somewhere that > tell it how to deliver the email (as in what mail server to use) ? > > Olly > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& > 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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 25 16:31:38 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Thu, 25 May 2006 16:31:38 +0200 (CEST) Subject: Auth problems In-Reply-To: <44759F78.7070005@spiderwall.com> References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> <44745C2C.90607@spiderwall.com> <44748A1D.3040107@spiderwall.com> <447588C0.1060600@spiderwall.com> <44759F78.7070005@spiderwall.com> Message-ID: On Thu, 25 May 2006, Nicola Agnelli wrote: > Hugo van der Kooij wrote: > > On Thu, 25 May 2006, Nicola Agnelli wrote: > > > >>> I still have many problems with authentication.. i've read docs but i > >>> can't resolve.. Have anyone some ideas ? > > > > Start again and show us: > > - apache config changes > > - settings you think are relevant/changed in nagios config files. > > > > Do not assume anything. Do not think we know how you did things so > > describe them clearly from scratch. > > I've done exactly what is described in this guide: > http://gentoo-wiki.com/HOWTO_Install_Nagios > > I've tried to remove /etc/nagios/htpasswd.users and recreate it with > > htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin > > but anyway i can't login ! > > I attach my apache.conf file anche nagios module.. And just where did you define NAGIOS? The next part will never be used unless you define it. ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/nagios/share/ AllowOverride AuthConfig Order allow,deny Allow from all 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. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 nicola.agnelli at spiderwall.com Thu May 25 16:40:22 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Thu, 25 May 2006 16:40:22 +0200 Subject: Auth problems In-Reply-To: References: <60D398EB2DB948409CA1F50D8AF122570122DF81@exch1.dekalbmemorial.local> <447453B3.2000303@spiderwall.com> <302ce8b50605240556w26310f4q81bbe66368e868d7@mail.gmail.com> <44745C2C.90607@spiderwall.com> <44748A1D.3040107@spiderwall.com> <447588C0.1060600@spiderwall.com> <44759F78.7070005@spiderwall.com> Message-ID: <4475C1D6.6060103@spiderwall.com> Hugo van der Kooij wrote: > On Thu, 25 May 2006, Nicola Agnelli wrote: > >> Hugo van der Kooij wrote: >>> On Thu, 25 May 2006, Nicola Agnelli wrote: >>> >>>>> I still have many problems with authentication.. i've read docs but i >>>>> can't resolve.. Have anyone some ideas ? >>> Start again and show us: >>> - apache config changes >>> - settings you think are relevant/changed in nagios config files. >>> >>> Do not assume anything. Do not think we know how you did things so >>> describe them clearly from scratch. >> I've done exactly what is described in this guide: >> http://gentoo-wiki.com/HOWTO_Install_Nagios >> >> I've tried to remove /etc/nagios/htpasswd.users and recreate it with >> >> htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin >> >> but anyway i can't login ! >> >> I attach my apache.conf file anche nagios module.. > > And just where did you define NAGIOS? The next part will never be used > unless you define it. > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > Alias /nagios /usr/nagios/share/ > > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > Hugo. > I've defined it in /etc/apache2/modules.d/99_nagios.conf and in it i've this: ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/nagios/share/ AllowOverride AuthConfig Order allow,deny Allow from all -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 25 16:58:24 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Thu, 25 May 2006 10:58:24 -0400 Subject: Auth problems In-Reply-To: <4475C1D6.6060103@spiderwall.com> References: <4475C1D6.6060103@spiderwall.com> Message-ID: Did you do this part (specifically, the changes to /etc/conf.d/apache2) and restart Apache? http://gentoo-wiki.com/HOWTO_Install_Nagios#Setting_Up_The_Web_Interface -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nicola Agnelli Sent: Thursday, May 25, 2006 7:40 AM To: Nagios Users Mailinglist Subject: Re: [Nagios-users] Auth problems Hugo van der Kooij wrote: > On Thu, 25 May 2006, Nicola Agnelli wrote: > >> Hugo van der Kooij wrote: >>> On Thu, 25 May 2006, Nicola Agnelli wrote: >>> >>>>> I still have many problems with authentication.. i've read docs >>>>> but i can't resolve.. Have anyone some ideas ? >>> Start again and show us: >>> - apache config changes >>> - settings you think are relevant/changed in nagios config files. >>> >>> Do not assume anything. Do not think we know how you did things so >>> describe them clearly from scratch. >> I've done exactly what is described in this guide: >> http://gentoo-wiki.com/HOWTO_Install_Nagios >> >> I've tried to remove /etc/nagios/htpasswd.users and recreate it with >> >> htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin >> >> but anyway i can't login ! >> >> I attach my apache.conf file anche nagios module.. > > And just where did you define NAGIOS? The next part will never be used > unless you define it. > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > Alias /nagios /usr/nagios/share/ > > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > Hugo. > I've defined it in /etc/apache2/modules.d/99_nagios.conf and in it i've this: ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ AllowOverride AuthConfig Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/nagios/share/ AllowOverride AuthConfig Order allow,deny Allow from all -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nicola.agnelli at spiderwall.com Thu May 25 17:13:32 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Thu, 25 May 2006 17:13:32 +0200 Subject: Auth problems In-Reply-To: References: Message-ID: <4475C99C.8000107@spiderwall.com> Morris, Patrick wrote: > Did you do this part (specifically, the changes to /etc/conf.d/apache2) > and restart Apache? > > http://gentoo-wiki.com/HOWTO_Install_Nagios#Setting_Up_The_Web_Interface > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nicola > Agnelli > Sent: Thursday, May 25, 2006 7:40 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Auth problems > > Hugo van der Kooij wrote: >> On Thu, 25 May 2006, Nicola Agnelli wrote: >> >>> Hugo van der Kooij wrote: >>>> On Thu, 25 May 2006, Nicola Agnelli wrote: >>>> >>>>>> I still have many problems with authentication.. i've read docs >>>>>> but i can't resolve.. Have anyone some ideas ? >>>> Start again and show us: >>>> - apache config changes >>>> - settings you think are relevant/changed in nagios config files. >>>> >>>> Do not assume anything. Do not think we know how you did things so >>>> describe them clearly from scratch. >>> I've done exactly what is described in this guide: >>> http://gentoo-wiki.com/HOWTO_Install_Nagios >>> >>> I've tried to remove /etc/nagios/htpasswd.users and recreate it with >>> >>> htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin >>> >>> but anyway i can't login ! >>> >>> I attach my apache.conf file anche nagios module.. >> And just where did you define NAGIOS? The next part will never be used > >> unless you define it. >> >> >> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> Alias /nagios /usr/nagios/share/ >> >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> >> Hugo. >> > > I've defined it in /etc/apache2/modules.d/99_nagios.conf and in it i've > this: > > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > Alias /nagios /usr/nagios/share/ > > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > > -- > Nicola > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications > in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 > Yes, i've this in /etc/conf.d/apache2: APACHE2_OPTS="-D DEFAULT_VHOST -D NAGIOS -D SSL -D PHP5 -D PERL" -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Thu May 25 20:54:48 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Thu, 25 May 2006 19:54:48 +0100 Subject: nagios.cmd file In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83F8@indigo.G2Support.local> Could someone be kind enough to email me a zip'd up copy of their nagios.cmd file ? I haven't seen hide nor hair of mine, despite recompiling, and doing no end of "make install-commandmode" I've also updated my file database and tried to locate it that way, but it's definitely not here. Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 mikhollo at cisco.com Thu May 25 21:05:52 2006 From: mikhollo at cisco.com (Mike Holloway) Date: Thu, 25 May 2006 14:05:52 -0500 Subject: nagios.cmd file In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83F8@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83F8@indigo.G2Support.local> Message-ID: nagios.cmd is a named-pipe created by nagios at runtime. Make sure permissions on the directory specified in nagios.cfg's command_file= are set to allow read/write for the user running nagios. The file should only exist while nagios is running (ps ax | grep nagios). -mike On May 25, 2006, at 1:54 PM, Oliver Marshall wrote: > Could someone be kind enough to email me a zip'd up copy of their > nagios.cmd file ? I haven't seen hide nor hair of mine, despite > recompiling, and doing no end of "make install-commandmode" > > I've also updated my file database and tried to locate it that way, > but > it's definitely not here. > > Olly > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and > Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 lennart.kvam at softronic.se Thu May 25 21:56:29 2006 From: lennart.kvam at softronic.se (lennart.kvam at softronic.se) Date: Thu, 25 May 2006 21:56:29 +0200 Subject: SV: Check that a process is running! Message-ID: <308D3417BAD2104895AE72D879B815B602988F96@stsstomail01.softronic.se> That's IT:-) Tanks Marc! Btw... That help I get when I do check_procs --help is not evev cloes to what you get:-) Thanks! //Lelle -----Ursprungligt meddelande----- Fr?n: Marc Powell [mailto:marc at ena.com] Skickat: den 24 maj 2006 16:32 Till: nagios-users at lists.sourceforge.net Kopia: Kvam Lennart ?mne: RE: [Nagios-users] Check that a process is running! Please always respond on-list so that others may benefit from your experience. > -----Original Message----- > From: lennart.kvam at softronic.se [mailto:lennart.kvam at softronic.se] > Sent: Wednesday, May 24, 2006 2:35 AM > To: Marc Powell > Subject: SV: [Nagios-users] Check that a process is running! > > Hi! > > I cant get it to work:-( > I have a process "qdaemon" that is very critical for us! That procs must > run...it has 2 instances running! > > First, how do you tell nagios/check_procs to send a warning/critical alarm > when one or two dies? > > I try > ./check_nrpe -H 157.180.140.xxx -n -c check_procs -w2 -c3 -u root -C > qdaemon But still, it wont tell me if it dies, only if it starts more > than 2! > > Sorry for my stupid question but my brain cant seems to get it:-) > > Would be thankful if you can guide me at the right way! >From check_procs --help -- Examples: check_procs -w 2:2 -c 2:1024 -C portsentry Warning if not two processes with command name portsentry. Critical if < 2 or > 1024 processes So that's almost what you are looking for. It will warn if there not two processes named portsentry. You want that to go strait to critical instead and check for "qdaemon" -- check_procs -c 2:2 -C qdaemon testing it (using different process names that match my testing criteria) -- $ ./check_procs -c 2:2 -C sendmail PROCS OK: 2 processes with command name 'sendmail' $ ./check_procs -c 2:2 -C sendmailbad PROCS CRITICAL: 0 processes with command name 'sendmailbad' $ ./check_procs -c 2:2 -C init PROCS CRITICAL: 1 process with command name 'init' $ ./check_procs -c 2:2 -C nsca PROCS CRITICAL: 14 processes with command name 'nsca' -- Marc ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 emartine at bsd.uchicago.edu Thu May 25 23:03:58 2006 From: emartine at bsd.uchicago.edu (Eduardo Martinez) Date: Thu, 25 May 2006 16:03:58 -0500 Subject: Nagios Acknowledgement Information Message-ID: <200605252104.k4PL41lY008226@union-station.bsd.uchicago.edu> In the old version of Nagios I remember receiving Acknowledgement notifications with the author and their comment. Version 2 requires the variables $HOSTACKAUTHORS$ and $HOSTACKCOMMENT$ so I have edited the misccommands.cfg file to look like this: # 'host-notify-by-email' command definition define command{ command_name host-notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\nHost: $HOSTNAME$\nState: $HOSTSTATE$\nAuthor: $HOSTACKAUTHOR$\nComment: $ HOSTACKCOMMENT$\nAddress: $HOSTADDRESS$\nInfo: $HOSTOUTPUT$\n\nDate/Time: $LONGDATETIME$\n" | /bin/mail -s "Host $HOSTSTATE$ alert for $HOSTNAME$!" $CONTACTEMAIL$ } # 'host-notify-by-epager' command definition define command{ command_name host-notify-by-epager command_line /usr/bin/printf "%b" "Host '$HOSTALIAS$' is $HOSTSTATE$\nAuthor: $HOSTACKAUTHOR$\nComment: $HOSTACKCOMMENT$\nInfo: $HOSTOUTPUT$\nTime: $LONGDATETIME$" | /bin /mail -s "$NOTIFICATIONTYPE$ alert - Host $HOSTNAME$ is $HOSTSTATE$" $CONTACTPAGER$ } # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nStat e: $SERVICESTATE$\nAuthor: $HOSTACKAUTHOR$\nComment: $HOSTACKCOMMENT$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /bin/mail -s "** $NOTIFICATIONTYPE$ aler t - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } # 'notify-by-epager' command definition define command{ command_name notify-by-epager command_line /usr/bin/printf "%b" "Service: $SERVICEDESC$\nHost: $HOSTNAME$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\nAuthor: $HOSTACKAUTHOR$\nComment: $HOSTACKCOMM ENT$\nInfo: $SERVICEOUTPUT$\nDate: $LONGDATETIME$" | /bin/mail -s "$NOTIFICATIONTYPE$: $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$" $CONTACTPAGER$ } By adding the $HOSTACKAUTHORS$ and $HOSTACKCOMMENT$ The only thing I have accomplished in doing here was adding the new lines for author and comment to the notifications we receive but no actual data is sent with it. So I guess I am not quite understanding from the documentation that "These macros are only valid in notifications where the $NOTIFICATIONTYPE$ macro is set to "ACKNOWLEDGEMENT"." What I am trying to accomplish is have the acknowledgement author and comment information that are inputted from the Nagios page to show up in the notifications. Any help on this would be greatly appreciated. Eddie M. This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Thu May 25 23:20:39 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Thu, 25 May 2006 14:20:39 -0700 Subject: Nagios Acknowledgement Information In-Reply-To: <200605252104.k4PL41lY008226@union-station.bsd.uchicago.edu> References: <200605252104.k4PL41lY008226@union-station.bsd.uchicago.edu> Message-ID: <20060525212039.GL5247@hermes.americas.hpqcorp.net> Those macros are only valid for host acknowledgements. For service acknowledgements, use $SERVICEACKAUTHOR$ and $SERVICEACKCOMMENT$. On Thu, 25 May 2006, Eduardo Martinez wrote: > > > In the old version of Nagios I remember receiving Acknowledgement > notifications with the author and their comment. Version 2 requires the > variables $HOSTACKAUTHORS$ and $HOSTACKCOMMENT$ so I have edited the > misccommands.cfg file to look like this: > [snip] ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 emartine at bsd.uchicago.edu Thu May 25 23:53:58 2006 From: emartine at bsd.uchicago.edu (Eduardo Martinez) Date: Thu, 25 May 2006 16:53:58 -0500 Subject: Nagios Acknowledgement Information In-Reply-To: <20060525212039.GL5247@hermes.americas.hpqcorp.net> References: <20060525212039.GL5247@hermes.americas.hpqcorp.net> Message-ID: <200605252154.k4PLs1DX012946@union-station.bsd.uchicago.edu> Ah I should have seen that! Thank you! -Eddie -----Original Message----- From: Patrick Morris [mailto:patrick.morris at hp.com] Sent: Thursday, May 25, 2006 4:21 PM To: Eduardo Martinez Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Acknowledgement Information Those macros are only valid for host acknowledgements. For service acknowledgements, use $SERVICEACKAUTHOR$ and $SERVICEACKCOMMENT$. On Thu, 25 May 2006, Eduardo Martinez wrote: > > > In the old version of Nagios I remember receiving Acknowledgement > notifications with the author and their comment. Version 2 requires the > variables $HOSTACKAUTHORS$ and $HOSTACKCOMMENT$ so I have edited the > misccommands.cfg file to look like this: > [snip] This email is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged and confidential. If the reader of this email message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is prohibited. If you have received this email in error, please notify the sender and destroy/delete all copies of the transmittal. Thank you. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 hohenfelsjoe at gmail.com Fri May 26 02:02:40 2006 From: hohenfelsjoe at gmail.com (Erik ) Date: Thu, 25 May 2006 19:02:40 -0500 Subject: Connection Timed Out Message-ID: <000401c68057$b7bb18c0$5c0410ac@3coreconsulting.com> Hello, I believe I set everything up correctly. I am trying to get NSCA running; On the Distributed Server I run: me at server> sudo ./send_nsca -H 192.168.0.233 -c /etc/nagios/send_nsca.cfg Error: Timeout after 10 seconds On the Central Server I get: May 25 15:27:07 3coreweb1 nsca[10000]: Handling the connection... May 25 15:27:16 3coreweb1 nsca[10000]: End of connection... So I believe my path is OK, Firewall, wrappers, and the command on the distributed server seem to be OK. Please help. What am I missing? Am I missing "accept connections from" in a conf file? Thanks, Erik -------------- next part -------------- An HTML attachment was scrubbed... URL: From sysit.chenxj at alibaba-inc.com Fri May 26 04:13:58 2006 From: sysit.chenxj at alibaba-inc.com (SYSIT) Date: Fri, 26 May 2006 10:13:58 +0800 Subject: Distributed Nagios problem! Message-ID: <50e416$449do3@smtp.alibaba-inc.com> I have used nfs (on a netapp device) to submit check result from slave server to central server. But now another problem happed: central server can't deal with so many passive check result. It's about 150 check result per second submit into nagios.cmd. On central server , I found Nagios use more process to process check result , it's about add 2 nagios process one minutes. So 4 hours later, my nagios server have 1k nagios process, and system crashed. Can any one help me? Sysit. -------------- next part -------------- An HTML attachment was scrubbed... URL: From danish.siddiqui at hovservices.com Fri May 26 07:52:35 2006 From: danish.siddiqui at hovservices.com (Danish) Date: Fri, 26 May 2006 11:22:35 +0530 Subject: password change notification? Message-ID: <447697A3.1010709@hovservices.com> Hi, I am using nagios 2.x. I wanted to know if there is any plugin whereby I can receive email alerts to change passwords of certain PC's after a certain period.. Thanks Danish ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 agent.bigote at gmail.com Fri May 26 08:33:38 2006 From: agent.bigote at gmail.com (Paolo Leano) Date: Fri, 26 May 2006 14:33:38 +0800 Subject: statusmap Message-ID: good day, hw can i put the services (per host) being monitored to the statusmap instead of the hosts? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From VINAY_SHARMA at advanex.co.jp Fri May 26 08:48:16 2006 From: VINAY_SHARMA at advanex.co.jp (VINAY_SHARMA at advanex.co.jp) Date: Fri, 26 May 2006 15:48:16 +0900 Subject: Printer spooler plugin. Message-ID: Hello Everyone, I want to monitor my winodws printer server spooler service.is there any plugin for soopler monitor. Thanks in advance. Thanks & regards ************************************** Vinay Sharma Information Systems and Solutions Advanex Inc (www.advanex.co.jp) Fon : 813-3822-5863 Fax : 813-5815-7881 Email : vinay_sharma at advanex.co.jp ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 danish.siddiqui at hovservices.com Fri May 26 09:16:55 2006 From: danish.siddiqui at hovservices.com (d sids) Date: Fri, 26 May 2006 09:16:55 +0200 (CEST) Subject: password change notification? In-Reply-To: <447697A3.1010709@hovservices.com> References: <447697A3.1010709@hovservices.com> Message-ID: <20060526071655.97E334F476B@desire.netways.de> Hi, This is danish again. Im using FC4 with nagios 2.3.1 - d sids (dsids) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18710 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 nicola.agnelli at spiderwall.com Fri May 26 09:36:08 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Fri, 26 May 2006 09:36:08 +0200 Subject: Auth problems In-Reply-To: References: Message-ID: <4476AFE8.4040202@spiderwall.com> Morris, Patrick wrote: > Did you do this part (specifically, the changes to /etc/conf.d/apache2) > and restart Apache? > > http://gentoo-wiki.com/HOWTO_Install_Nagios#Setting_Up_The_Web_Interface > > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nicola > Agnelli > Sent: Thursday, May 25, 2006 7:40 AM > To: Nagios Users Mailinglist > Subject: Re: [Nagios-users] Auth problems > > Hugo van der Kooij wrote: >> On Thu, 25 May 2006, Nicola Agnelli wrote: >> >>> Hugo van der Kooij wrote: >>>> On Thu, 25 May 2006, Nicola Agnelli wrote: >>>> >>>>>> I still have many problems with authentication.. i've read docs >>>>>> but i can't resolve.. Have anyone some ideas ? >>>> Start again and show us: >>>> - apache config changes >>>> - settings you think are relevant/changed in nagios config files. >>>> >>>> Do not assume anything. Do not think we know how you did things so >>>> describe them clearly from scratch. >>> I've done exactly what is described in this guide: >>> http://gentoo-wiki.com/HOWTO_Install_Nagios >>> >>> I've tried to remove /etc/nagios/htpasswd.users and recreate it with >>> >>> htpasswd2 -c /etc/nagios/htpasswd.users nagiosadmin >>> >>> but anyway i can't login ! >>> >>> I attach my apache.conf file anche nagios module.. >> And just where did you define NAGIOS? The next part will never be used > >> unless you define it. >> >> >> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ >> >> AllowOverride AuthConfig >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> Alias /nagios /usr/nagios/share/ >> >> AllowOverride AuthConfig >> Order allow,deny >> Allow from all >> >> >> >> Hugo. >> > > I've defined it in /etc/apache2/modules.d/99_nagios.conf and in it i've > this: > > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > AllowOverride AuthConfig > Options ExecCGI > Order allow,deny > Allow from all > > Alias /nagios /usr/nagios/share/ > > AllowOverride AuthConfig > Order allow,deny > Allow from all > > > > > -- > Nicola > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications > in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 > Unfortunatly i still having problems with auth.. i can't login in noway! I post my dir structure, maybe usefull: # ls -la /etc/nagios/ total 163 drwxr-x--- 2 nagios nagios 440 May 24 18:25 . drwxr-xr-x 47 root root 3304 May 25 17:28 .. -rw-r--r-- 1 root root 0 May 24 11:19 .keep -rwxr--r-- 1 root root 31338 May 24 14:04 bigger.cfg -rwxr--r-- 1 root root 9780 May 24 18:21 cgi.cfg -rwxr--r-- 1 root root 4999 May 24 14:04 checkcommands.cfg -rw-r--r-- 1 root root 2286 May 24 12:20 hosts.cfg -rw-r----- 1 apache apache 26 May 24 18:25 htpasswd.users -rwxr--r-- 1 root root 35288 May 24 14:08 minimal.cfg -rwxr--r-- 1 root root 4373 May 24 14:04 misccommands.cfg -rw-r--r-- 1 root root 31458 May 24 14:05 nagios.cfg -rw-r----- 1 root nagios 4740 May 24 11:49 nrpe.cfg -rw-r--r-- 1 root root 4673 May 24 11:48 nsca.cfg -rwxr--r-- 1 root root 1357 May 24 14:04 resource.cfg -rw-r--r-- 1 root root 1628 May 24 11:48 send_nsca.cfg # ls -la /usr/nagios/ total 2 drwxrwxr-x 6 nagios nagios 144 May 24 11:48 . drwxr-xr-x 14 root root 392 May 24 11:19 .. drwxrwxr-x 2 nagios nagios 264 May 24 11:49 bin drwxr-x--- 3 nagios nagios 1944 May 24 11:49 libexec drwxrwxr-x 2 nagios nagios 616 May 24 12:08 sbin drwxrwxr-x 8 nagios nagios 368 May 24 12:09 share # ls -la /usr/nagios/sbin/ total 2517 drwxrwxr-x 2 nagios nagios 616 May 24 12:08 . drwxrwxr-x 6 nagios nagios 144 May 24 11:48 .. -rw-r----- 1 apache apache 99 May 24 12:08 .htaccess -rwxrwxr-x 1 nagios nagios 195580 May 24 11:19 avail.cgi -rwxrwxr-x 1 nagios nagios 193012 May 24 11:19 cmd.cgi -rwxrwxr-x 1 nagios nagios 148540 May 24 11:19 config.cgi -rwxrwxr-x 1 nagios nagios 207220 May 24 11:19 extinfo.cgi -rwxrwxr-x 1 nagios nagios 158172 May 24 11:19 histogram.cgi -rwxrwxr-x 1 nagios nagios 136316 May 24 11:19 history.cgi -rwxrwxr-x 1 nagios nagios 132188 May 24 11:19 notifications.cgi -rwxrwxr-x 1 nagios nagios 133112 May 24 11:19 outages.cgi -rwxrwxr-x 1 nagios nagios 132476 May 24 11:19 showlog.cgi -rwxrwxr-x 1 nagios nagios 187384 May 24 11:19 status.cgi -rwxrwxr-x 1 nagios nagios 156924 May 24 11:19 statusmap.cgi -rwxrwxr-x 1 nagios nagios 145628 May 24 11:19 statuswml.cgi -rwxrwxr-x 1 nagios nagios 133628 May 24 11:19 statuswrl.cgi -rwxrwxr-x 1 nagios nagios 154876 May 24 11:19 summary.cgi -rwxrwxr-x 1 nagios nagios 150104 May 24 11:19 tac.cgi -rwxr-xr-x 1 nagios nagios 5329 May 24 11:19 traceroute.cgi -rwxrwxr-x 1 nagios nagios 167196 May 24 11:19 trends.cgi #ls -la /usr/nagios/share/ total 38 drwxrwxr-x 8 nagios nagios 368 May 24 12:09 . drwxrwxr-x 6 nagios nagios 144 May 24 11:48 .. -rw-r----- 1 apache apache 99 May 24 12:09 .htaccess drwxrwxr-x 2 nagios nagios 1560 May 24 11:19 contexthelp drwxrwxr-x 3 nagios nagios 2040 May 24 11:19 docs drwxrwxr-x 3 nagios nagios 1944 May 24 11:19 images -rw-rw-r-- 1 nagios nagios 658 May 24 11:19 index.html -rw-rw-r-- 1 nagios nagios 2339 May 24 11:19 main.html drwxrwxr-x 2 nagios nagios 144 May 24 11:19 media -rw-rw-r-- 1 nagios nagios 26 May 24 11:19 robots.txt -rw-rw-r-- 1 nagios nagios 12729 May 24 11:19 side.html drwxrwxr-x 2 nagios nagios 72 May 24 11:19 ssi drwxrwxr-x 2 nagios nagios 584 May 24 11:19 stylesheets Thank you all for help, -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ton.voon at altinity.com Fri May 26 09:40:54 2006 From: ton.voon at altinity.com (Ton Voon) Date: Fri, 26 May 2006 08:40:54 +0100 Subject: Distributed Nagios problem! In-Reply-To: <50e416$449do3@smtp.alibaba-inc.com> References: <50e416$449do3@smtp.alibaba-inc.com> Message-ID: <2FDAC55D-50D8-49A8-8F36-131E03A98602@altinity.com> Sysit, We had this problem (for SNMPtrap processing), which we've documented here: http://altinity.blogs.com/dotorg/2006/05/immediate_perfo.html The short answer is that you need to make sure the host check command executes as quick as possible because it holds up other processing. This patch may help you, but you have to be careful: http:// altinity.blogs.com/dotorg/2006/05/reducing_host_c.html Ton On 26 May 2006, at 03:13, SYSIT wrote: > I have used nfs (on a netapp device) to submit check result from > slave server to central server. > > But now another problem happed: central server can?t deal with > so many passive check result. > > > > It?s about 150 check result per second submit into nagios.cmd. > > On central server , I found Nagios use more process to process > check result , > > it?s about add 2 nagios process one minutes. > > So 4 hours later, my nagios server have 1k nagios process, and > system crashed. http://www.altinity.com T: +44 (0)870 787 9243 F: +44 (0)845 280 1725 Skype: tonvoon -------------- next part -------------- An HTML attachment was scrubbed... URL: From Oliver.Marshall at g2support.com Fri May 26 09:54:36 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Fri, 26 May 2006 08:54:36 +0100 Subject: Mysterious email notifications In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C83FC@indigo.G2Support.local> I have setup email notifications with Nagios, and the alerts are working well. However, I am getting mysterious blank alerts coming through. The emails show; Subject: ** PROBLEM alert - My laptop/ is ** ***** Nagios ***** Notification Type: PROBLEM Service: Host: My laptop Address: 192.168.100.241 State: Date/Time: Thu May 25 21:21:32 BST 2006 Additional Info: Note how the Service and State are all blank. The subject is also strange as I don't have any "problem" alerts set to notify. I have checked the services.cfg file for any odd entries, but there's nothing strange there, nor in the hosts.cfg or hostgroups.cfg, and the misccommand.cfg has only my notification settings. Any ideas as to why this is happening ? Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Oliver.Marshall at g2support.com Fri May 26 11:05:39 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Fri, 26 May 2006 10:05:39 +0100 Subject: Mysterious email notifications In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83FC@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83FC@indigo.G2Support.local> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8402@indigo.G2Support.local> ARGGHHHHHHH! I'm getting one a minute, though nothing is set to notify every minute (only every 120). Any ideas ? -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Oliver Marshall Sent: 26 May 2006 08:55 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Mysterious email notifications I have setup email notifications with Nagios, and the alerts are working well. However, I am getting mysterious blank alerts coming through. The emails show; Subject: ** PROBLEM alert - My laptop/ is ** ***** Nagios ***** Notification Type: PROBLEM Service: Host: My laptop Address: 192.168.100.241 State: Date/Time: Thu May 25 21:21:32 BST 2006 Additional Info: Note how the Service and State are all blank. The subject is also strange as I don't have any "problem" alerts set to notify. I have checked the services.cfg file for any odd entries, but there's nothing strange there, nor in the hosts.cfg or hostgroups.cfg, and the misccommand.cfg has only my notification settings. Any ideas as to why this is happening ? Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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.tiernan at gmail.com Fri May 26 12:43:52 2006 From: michael.tiernan at gmail.com (Michael Tiernan) Date: Fri, 26 May 2006 06:43:52 -0400 Subject: Fwd: How to request. Using send_nsca to report from remote host(s). In-Reply-To: <6fd62ea30605231630k7ee1a99h9ef3eb039211626d@mail.gmail.com> References: <6fd62ea30605231630k7ee1a99h9ef3eb039211626d@mail.gmail.com> Message-ID: <6fd62ea30605260343q584be52eh3ff0b6a5dcc348c8@mail.gmail.com> Ok, I guess I sent this to the wrong list... :) ---------- Forwarded message ---------- Date: May 23, 2006 7:30 PM Subject: How to request. Using send_nsca to report from remote host(s). To: nagiosplug-help at lists.sourceforge.net Does anyone have any kind of example of what a "services.cfg" entry would look like that would accept a line such as: (Wrapped for space) [1148423498] PROCESS_SERVICE_CHECK_RESULT ;myhost;pointy-hair-watcher;1;BOSS WARNING - He's looking. I can get send_nsca to send data but I can't figure out how to get the host on the recieving end to understand it. If I had a cron job on my remote system (myhost) that ran my own script and produced the correctly formatted line, how do I make the reciever (running Nagios) list it as a valid service and display the appropriate information? Thanks for everyone's patience. -- << MCT >> Michael C Tiernan. Is God a performance artist? EGO hack vivo quod ago accido. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 whiterabbit at mand4la.info Fri May 26 11:44:08 2006 From: whiterabbit at mand4la.info (Matteo Mancini) Date: Fri, 26 May 2006 09:44:08 -0000 (GMT) Subject: Printer spooler plugin. In-Reply-To: References: Message-ID: <2280.10.0.10.126.1148636648.squirrel@10.0.10.126> Hi, u can use nsclient,nc_net,... to check windows spooler services with check_nt Bye Matteo > Hello Everyone, > > I want to monitor my winodws printer server spooler > service.is there any plugin for soopler monitor. > > Thanks in advance. > > > > Thanks & regards > ************************************** > Vinay Sharma > Information Systems and Solutions > Advanex Inc (www.advanex.co.jp) > Fon : 813-3822-5863 > Fax : 813-5815-7881 > Email : vinay_sharma at advanex.co.jp > > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and > Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 atstake at gmail.com Fri May 26 14:21:30 2006 From: atstake at gmail.com (atstake atstake) Date: Fri, 26 May 2006 22:21:30 +1000 Subject: Nagios cgi-bin error Message-ID: <8adc88580605260521n7ff6abc1h5ff09da7843ef7b6@mail.gmail.com> I am running Nagios version 2.0b4 with Apache 1.3.29 on OpenBSD 3.8. Everytime I try to go to my http://website/nagios/cgi-bin it gives error - Error 403 Forbidden You don't have permission to access /nagios/cgi-bin/ on this server However, http://website/nagios/ works fine! Apache access_log shows - nagiosadmin [26/May/2006:19:46:33 +1000] "GET /nagios/cgi-bin/this .txt HTTP/1.1" 403 293 Apache error_log shows - [Fri May 26 19:46:33 2006] [error] [client 203.13.45.66] file permissions deny server execution: /myserver/nagios/cgi-bin/this.txt Directory permission for "/var/www/mysite/nagios/cgi-bin" directory looks like this - drwxr-xr-x 2 root daemon 512 May 26 16:51 /nagios/cgi-bin/ File permissions on "/var/www/mysite/nagios/cgi-bin" directory looks like this - -rw-r--r-- 1 root daemon 73 May 26 16:51 .nagios_passwd -r-xr-xr-x 1 root bin 240064 Sep 4 2005 avail.cgi -r-xr-xr-x 1 root bin 241600 Sep 4 2005 cmd.cgi -r-xr-xr-x 1 root bin 202848 Sep 4 2005 config.cgi -rw-r--r-- 1 root daemon 4 May 26 16:49 this.txt Note: "this.txt" is a file I created. Here's my nagios part of httpd.conf ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd Require user nagiosadmin Alias /nagios /var/www/mysite/nagios Options -Indexes Order deny,allow Deny from all Allow from AuthType Basic AuthName "Nagios" AuthUserFile /var/www/mysite/nagios/.nagios_passwd Require user nagiosadmin I changed the permisson of the file "this.txt" to 755 & it gives "Internal Server Error" if I want to view that file. For all the other files (CGIs) it still gives the Permission Denied error. my /etc/nagios directory is a symlink to /var/www/etc/nagios I did a /usr/local/sbin/nagios -v /etc/nagios/nagios.cfg & it works fine - shell exit code is 0. Then I tried to start Nagios (/usr/local/sbin/nagios -d /etc/nagios/nagios.cfg) & its shell exit code gives error - in /var/log/messages I can see /var/run/nagios/nagios.pid does not exist (ENOENT) Bailing out due to errors encountered while attempting to daemonize... (PID=12744) I have a user called _nagios in /etc/passwd. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 gbellettini at genetsis.com Fri May 26 14:52:38 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Fri, 26 May 2006 14:52:38 +0200 Subject: question about nagiosgraph Message-ID: Hi there, I've just installed nagiosgraph under debian linux following the INTALL file instructions. I see the "rrd" directory has several rrd files but nagios is not showing the graphs. I've checked the permissions and the cfg files from nagios and everything seems to be OK.. The show.cgi file is ok and the permissions also. When I click on the graph icon, Nagios shows the information status instead of the graphics. Any suggestion to fix this? Thanks a lot Emilio -------------- next part -------------- An HTML attachment was scrubbed... URL: From pablo.jejcic at gmail.com Fri May 26 15:13:20 2006 From: pablo.jejcic at gmail.com (Pablo Jejcic) Date: Fri, 26 May 2006 14:13:20 +0100 Subject: question about nagiosgraph In-Reply-To: References: Message-ID: Hi Guys, I have a question mor than anything. I'm running a bunch of Solaris boxes in really remote locations, and I would like to monitor their utilization, something like CPU usage, Memory usage and Disk usage (only a couple of FS per machine). Basically, what I would like to know if how would you do it to have monthly reports of usage, and live information on a graph... Cheers! Pablo.- ################ -------------- next part -------------- An HTML attachment was scrubbed... URL: From ravikmrs at yahoo.com Fri May 26 16:04:15 2006 From: ravikmrs at yahoo.com (Ravi Kumar) Date: Fri, 26 May 2006 07:04:15 -0700 (PDT) Subject: snmp check Message-ID: <20060526140415.36189.qmail@web53903.mail.yahoo.com> Hi, I want to monitor traffic thru snmp. I'm unable to find correct cummunity string.I used snapwalk to find it but not sure which data is cummunity string.Please advice if any other way I can get . I have following seting in apan.cfg. etest;traffic;/usr/lib/nagios/rrd/etest-traffic.rrd;mainmonitor:.1.3.6.1.2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec; ewater;traffic;/usr/lib/nagios/rrd/ewater-traffic.rrd;mainmonitor:.1.3.6.1.2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec; I have tested with diffrent string but its not helping.Any advice is welcome. 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 LMAIGNAN at fininfo.fr Fri May 26 16:24:26 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Fri, 26 May 2006 16:24:26 +0200 Subject: MySql activity Message-ID: <6CF6C2B015865B44B7752C9420D0D71602DDF410@exc2003.int.fininfo.grp> Hi, I want to monitor via Nagios my MySql Databases activity (I do it today with Cacti). Is there a plugin which allow to do it, or have I to implement this using snmp communication ? Regards ********************************************************************* Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. ----------------------------------------------------- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrick.morris at hp.com Fri May 26 16:43:01 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 26 May 2006 10:43:01 -0400 Subject: Fwd: How to request. Using send_nsca to report from remote host(s). In-Reply-To: <6fd62ea30605260343q584be52eh3ff0b6a5dcc348c8@mail.gmail.com> References: <6fd62ea30605260343q584be52eh3ff0b6a5dcc348c8@mail.gmail.com> Message-ID: Set up a pointy-hair-watcher service for host myhost in Nagios. This really is a classic RTFM kind of thing. :) -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Michael Tiernan Sent: Friday, May 26, 2006 3:44 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s). Ok, I guess I sent this to the wrong list... :) ---------- Forwarded message ---------- Date: May 23, 2006 7:30 PM Subject: How to request. Using send_nsca to report from remote host(s). To: nagiosplug-help at lists.sourceforge.net Does anyone have any kind of example of what a "services.cfg" entry would look like that would accept a line such as: (Wrapped for space) [1148423498] PROCESS_SERVICE_CHECK_RESULT ;myhost;pointy-hair-watcher;1;BOSS WARNING - He's looking. I can get send_nsca to send data but I can't figure out how to get the host on the recieving end to understand it. If I had a cron job on my remote system (myhost) that ran my own script and produced the correctly formatted line, how do I make the reciever (running Nagios) list it as a valid service and display the appropriate information? Thanks for everyone's patience. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 26 16:49:33 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 26 May 2006 10:49:33 -0400 Subject: snmp check In-Reply-To: <20060526140415.36189.qmail@web53903.mail.yahoo.com> References: <20060526140415.36189.qmail@web53903.mail.yahoo.com> Message-ID: The community string is basically a password -- if you don't know it, you won't be able to get it without looking in the configurations of the machines you're trying to monitor. Many machines will default to "public." If that's not it, however, you're going to need to ask whoever maintains the configuration of those machines to tell you what the community string. ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Ravi Kumar Sent: Friday, May 26, 2006 7:04 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] snmp check Hi, I want to monitor traffic thru snmp. I'm unable to find correct cummunity string.I used snapwalk to find it but not sure which data is cummunity string.Please advice if any other way I can get . I have following seting in apan.cfg. etest;traffic;/usr/lib/nagios/rrd/etest-traffic.rrd;mainmonitor:.1.3.6.1 .2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec; ewater;traffic;/usr/lib/nagios/rrd/ewater-traffic.rrd;mainmonitor:.1.3.6 .1.2.1.2.2.1.10.65540|mainmonitor:.1.3.6.1.2.1.2.2.1.16.65540;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sec; I have tested with diffrent string but its not helping.Any advice is welcome. thanks Ravi __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Fri May 26 16:51:06 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Fri, 26 May 2006 10:51:06 -0400 Subject: Fwd: How to request. Using send_nsca to report from remote host(s). Message-ID: > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf > Of Morris, Patrick > Sent: Friday, May 26, 2006 10:43 AM > To: Michael Tiernan; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Fwd: How to request. Using > send_nsca to report from remote host(s). > > Set up a pointy-hair-watcher service for host myhost in Nagios. This > really is a classic RTFM kind of thing. :) I belive that it is an RTFM issue but not matter how many F'n times I R'd TFM, I couldn't find a clear indication of it. I'll give it another go, thanks. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 kylet at panix.com Fri May 26 17:39:57 2006 From: kylet at panix.com (Kyle Tucker) Date: Fri, 26 May 2006 11:39:57 -0400 (EDT) Subject: $HOSTDURATION usability Message-ID: <200605261539.k4QFdv308021@panix3.panix.com> Hi, I modified my host-notify-by-email command to include a line to indicate how long a host had been down. When I saw it come out in this HOST UP recovery notification as zero seconds, some quick further reading shed light on why. I know this will be useful for re-notification of hosts that are still down, but I'd like a total on the recovery HOST up mail as well. Any way to obtain this without keeping some home-grown state table or similar mechanism? It looks like the info might be in the status.dat, but I don't know if I should be constantly accessing this file. Notification Type: RECOVERY Host: host.foo.bar State: UP Host Description: The Downed Host Address: 12.34.56.78 Info: host up - sshd and snmpd responding Date/Time: Fri May 26 11:11:47 EDT 2006 Downtime duration: 0d 0h 0m 0s -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 26 17:42:29 2006 From: patrick.morris at hp.com (Morris, Patrick) Date: Fri, 26 May 2006 11:42:29 -0400 Subject: Fwd: How to request. Using send_nsca to report from remote host(s). In-Reply-To: References: Message-ID: http://nagios.sourceforge.net/docs/2_0/xodtemplate.html#service Since you're using nsca, you'll want to set it up as a passive service. -----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: Friday, May 26, 2006 7:51 AM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Fwd: How to request. Using send_nsca to report from remote host(s). > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Morris, > Patrick > Sent: Friday, May 26, 2006 10:43 AM > To: Michael Tiernan; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Fwd: How to request. Using send_nsca to > report from remote host(s). > > Set up a pointy-hair-watcher service for host myhost in Nagios. This > really is a classic RTFM kind of thing. :) I belive that it is an RTFM issue but not matter how many F'n times I R'd TFM, I couldn't find a clear indication of it. I'll give it another go, thanks. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 26 19:06:35 2006 From: imarks at comcast.net (Ian Marks) Date: Fri, 26 May 2006 13:06:35 -0400 Subject: Connection Timed Out In-Reply-To: <000401c68057$b7bb18c0$5c0410ac@3coreconsulting.com> References: <000401c68057$b7bb18c0$5c0410ac@3coreconsulting.com> Message-ID: <4477359B.2080003@comcast.net> I ran into this issue several weeks ago. By default, NSCA runs in "single" mode. By changing my init start up script to run NSCA in daemon mode, connections were able to successfully establish and events started to pass. You can test by starting nsca on the central server with the following command, of course setting your correct paths.. /usr/local/nagios/bin/nsca -d -c /usr/local/nagios/etc/nsca.cfg Ian Erik wrote: > > Hello, > > I believe I set everything up correctly. I am trying to get NSCA running; > > On the Distributed Server I run: > > me at server> sudo ./send_nsca -H 192.168.0.233 -c /etc/nagios/send_nsca.cfg > > Error: Timeout after 10 seconds > > On the Central Server I get: > > May 25 15:27:07 3coreweb1 nsca[10000]: Handling the connection... > > May 25 15:27:16 3coreweb1 nsca[10000]: End of connection... > > So I believe my path is OK, Firewall, wrappers, and the command on the > distributed server seem to be OK. Please help. What am I missing? Am I > missing ?accept connections from? in a conf file? > > Thanks, > > Erik > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Fri May 26 19:17:37 2006 From: mtiernan at draper.com (Tiernan, Michael C.) Date: Fri, 26 May 2006 13:17:37 -0400 Subject: Fwd: How to request. Using send_nsca to report from remote host(s). Message-ID: > -----Original Message----- > From: Morris, Patrick [mailto:patrick.morris at hp.com] > Sent: Friday, May 26, 2006 11:42 AM > To: Tiernan, Michael C.; nagios-users at lists.sourceforge.net > Since you're using nsca, you'll want to set it up as a > passive service. Thank you very much for your help with all of this. I think I'm finally seeing my confusion here. Let's see if I can state what I think is going on: 1) I have a Nagios host. It collects data, displays webpages, sends alerts. 2) I have a remote host that I wish to have report to the Nagios host on some system value on a regular basis. It seems that what I'm reading assumes that: A) The Nagios host has a full installation. (No surprise there.) B) The remote host has *almost* a full Nagios installation but doesn't display webpages or alerts. Is this correct? Why do I ask? I was under the assumption (yea yea, I know) that the remote host could use any program or script to generate an output that conforms to the message standard (one of the included plugins or a roll-your-own widget). It then hands this message to "send_nsca", which is almost the only piece of Nagios that is available on the remote host, where the message will be magically transported to the Nagios host where, once queued with other messages in the command pipe, will be interpreted by Nagios who then understands that the message it got is connected to a host or service that it knows about but doesn't control. On the simplest level, if I run 'check_load -w# -c#' on a remote host and send it, via send_nsca, to the Nagios host, how does the nagios host know what to do with that message? It seems, from what I can glean from the docs (aka TFM) that I'll tell the Nagios host that there's a service on a host: define service { host_name remote.host.fqdn service_description load-check-on-remote.host check_command <- Question "a" active_checks_enabled 0 passive_checks_enabled <- Question "b" check_period <- Question "c" ....... } a) How do you tell it what the check_command is when the command is remotely run? b) Passive checks enabled, I assume that's '1'? c) check_period (and other required values) What goes here? What does Nagios need to know about a remote host's data collector? Can you see the confusion? Again, thank you for helping me with this. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 lists at blazestudios.com Fri May 26 20:30:52 2006 From: lists at blazestudios.com (Tom Ray [Lists]) Date: Fri, 26 May 2006 14:30:52 -0400 Subject: Issues installing Plugins Message-ID: <4477495C.8070008@blazestudios.com> I've just installed Nagios and that seemed to have gone very well but when I try installing the plugins I get the following errors during the the "make" process: then mv -f ".deps/check_snmp.Tpo" ".deps/check_snmp.Po"; else rm -f ".deps/check_snmp.Tpo"; exit 1; fi check_snmp.c: In function `main': check_snmp.c:341: parse error before `char' check_snmp.c:342: `str' undeclared (first use in this function) check_snmp.c:342: (Each undeclared identifier is reported only once check_snmp.c:342: for each function it appears in.) make[3]: *** [check_snmp.o] Error 1 make[3]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/tom/nagios-plugins-1.4.3' make: *** [all] Error 2 I really would like to get this working, I've used nagios in the past and think it's a great product but I'm stumped as to why I keep getting this error. Any help would be appreciated. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 thyes at gmx.net Fri May 26 20:38:19 2006 From: thyes at gmx.net (Frank Thyes) Date: Fri, 26 May 2006 20:38:19 +0200 Subject: question about nagiosgraph In-Reply-To: References: Message-ID: <20060526183815.GA83679@gator> Hi Emilio, +++ Guillermo Bellettini [Fri, May 26, 2006 at 02:52:38PM CEST]: > > > Hi there, I've just installed nagiosgraph under debian linux following the > INTALL file instructions. > > I see the "rrd" directory has several rrd files but nagios is not showing > the graphs. > > I've checked the permissions and the cfg files from nagios and everything > seems to be OK.. > > The show.cgi file is ok and the permissions also. > > When I click on the graph icon, Nagios shows the information status instead > of the graphics. Information status? What do you mean? > Any suggestion to fix this? A common mistake by nagiosgrapher is to have some spaces or tabs in the config. Check your grapher definitions with vi. If the file is loaded type :set list Regards Frank -- "Mad cow? You'd be mad too, if someone was trying to eat you." ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 26 20:45:44 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Fri, 26 May 2006 20:45:44 +0200 (CEST) Subject: Auth problems In-Reply-To: <4476AFE8.4040202@spiderwall.com> References: <4476AFE8.4040202@spiderwall.com> Message-ID: On Fri, 26 May 2006, Nicola Agnelli wrote: > > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > > > AllowOverride AuthConfig > > Options ExecCGI > > Order allow,deny > > Allow from all > > > > Alias /nagios /usr/nagios/share/ > > > > AllowOverride AuthConfig > > Order allow,deny > > Allow from all > > > > Why didn't you put the authentication here? Using .htaccess files is a substitute for putting authentication into the httpd.conf file. It is only intended for cases where you can not change httpd.conf itself. > Unfortunatly i still having problems with auth.. i can't login in noway! Pick up the apache manual and build a test directory on your webserver and see that you can get user authentication working on there following the samples in the apache manual. Once you figure it out you can translate the solution to the nagios sections. Untill you get the sample section working as shown on http://httpd.apache.org/docs/2.0/howto/auth.html there is little point in trying anything else. This is not a Nagios issue but an issue of you trying to understand your apache 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. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 al at its-lehmann.de Fri May 26 21:13:05 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 26 May 2006 21:13:05 +0200 Subject: Fwd: How to request. Using send_nsca to report from remote host(s). In-Reply-To: References: Message-ID: <44775341.7030705@its-lehmann.de> Hello, On 5/26/2006 7:17 PM, Tiernan, Michael C. wrote: >>-----Original Message----- >>From: Morris, Patrick [mailto:patrick.morris at hp.com] >>Sent: Friday, May 26, 2006 11:42 AM >>To: Tiernan, Michael C.; nagios-users at lists.sourceforge.net > > >>Since you're using nsca, you'll want to set it up as a >>passive service. > > Thank you very much for your help with all of this. > > I think I'm finally seeing my confusion here. Let's see if I can state > what I think is going on: > > 1) I have a Nagios host. It collects data, displays webpages, sends > alerts. > 2) I have a remote host that I wish to have report to the Nagios host on > some system value on a regular basis. > > It seems that what I'm reading assumes that: > A) The Nagios host has a full installation. (No surprise there.) > B) The remote host has *almost* a full Nagios installation but doesn't > display webpages or alerts. > > Is this correct? Why do I ask? I was under the assumption (yea yea, I > know) that the remote host could use any program or script to generate > an output that conforms to the message standard (one of the included > plugins or a roll-your-own widget). It then hands this message to > "send_nsca", which is almost the only piece of Nagios that is available > on the remote host, where the message will be magically transported to > the Nagios host where, once queued with other messages in the command > pipe, will be interpreted by Nagios who then understands that the > message it got is connected to a host or service that it knows about but > doesn't control. our assumption was correct, I'd say. It is _also_ possible to have a full nagios installation on the remote host for different reasons (one being a more adaptive scheduling of checks, one other the ability to check other hosts - think firewalled systems etc.), but that's not exactly necessary. For example, I have a gateway host that has a simple cron job checking the number of logins once a minute and submitting that via NSCA to the central nagios host and voil? - you've got part of a simple IDS. > On the simplest level, if I run 'check_load -w# -c#' on a remote host > and send it, via send_nsca, to the Nagios host, how does the nagios host > know what to do with that message? It seems, from what I can glean from > the docs (aka TFM) that I'll tell the Nagios host that there's a service > on a host: > define service { > host_name remote.host.fqdn > service_description load-check-on-remote.host > check_command <- Question "a" > active_checks_enabled 0 > passive_checks_enabled <- Question "b" > check_period <- Question "c" > ....... > } > > a) How do you tell it what the check_command is when the command is > remotely run? You don't. Usually, you either set up a command like check_dummy to be run only when passive check results don't come in in time, and that would trigger a critical state or a warning or an unknown - whatever you'd need. In my example above, I obviously have the service go critical as soon as there's a login. In other cases an unknown state will be sufficient. > b) Passive checks enabled, I assume that's '1'? Should be... > c) check_period (and other required values) What goes here? What does > Nagios need to know about a remote host's data collector? Basically, the host name and service name your central Nagios and your submitted result use must match. The rest depends on your needs. The important thing is - but that's also explained in the manual - that Nagios runs the active check, even when disabled in the service configuration, when the passive check results become stale. If you enable active and passive checks, AFAIK Nagios will not only accept passive checks but also run active checks. This is most definitely not what you want when you have a check command that riggers an immediate critical state... > Can you see the confusion? I can, and I can assure you that, at least for me, reading and re-reading the corresponding manual sections thoroughly helped a lot ;-) > Again, thank you for helping me with this. Well, I hope I could help clarify the base of your confsion a little. Arno > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 26 21:42:23 2006 From: Maunir.shah at knowles.com (Shah, Maunir) Date: Fri, 26 May 2006 14:42:23 -0500 Subject: check_snmp_storage.pl Message-ID: I'm running this script and it works fine with Solaris 10, which is my personal box at work. But, when I try to run this same script to different boxes I get an error "ERROR: Description/Type table : Requested table is empty or does not exist." Can't seem to figure out what's wrong and also I'm just not that savvy in snmp. Any help would be appreciated... Thanks Maunir Shah 630-285-5875 - desk 630-550-6266 - cell ******************************* 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 jperrin at gmail.com Fri May 26 21:58:42 2006 From: jperrin at gmail.com (Jim Perrin) Date: Fri, 26 May 2006 15:58:42 -0400 Subject: MySql activity In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602DDF410@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602DDF410@exc2003.int.fininfo.grp> Message-ID: <302ce8b50605261258n14a08ee0h23e137c59bed054a@mail.gmail.com> On 5/26/06, MAIGNAN Luc wrote: > > > Hi, > > I want to monitor via Nagios my MySql Databases activity (I do it today with > Cacti). Is there a plugin which allow to do it, or have I to implement this > using snmp communication ? > check_mysql works fine. -- 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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 mls at skayser.de Fri May 26 21:56:25 2006 From: mls at skayser.de (Sebastian Kayser) Date: Fri, 26 May 2006 21:56:25 +0200 Subject: Mysterious email notifications In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C83FC@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C83FC@indigo.G2Support.local> Message-ID: <20060526195625.GA7979@sebastiankayser.de> * Oliver Marshall wrote: > I have setup email notifications with Nagios, and the alerts are working > well. However, I am getting mysterious blank alerts coming through. > > [...] > > I have checked the services.cfg file for any odd entries, but there's > nothing strange there, nor in the hosts.cfg or hostgroups.cfg, and the > misccommand.cfg has only my notification settings. > > Any ideas as to why this is happening ? Have you checked your nagios.log yet? As long as log_notifications is set to 1 nagios will tell you why it set off a notification. [1148672966] SERVICE NOTIFICATION: kayser;sato;POP3;CRITICAL;notify-by-email;Connection refused Cheers - Sebastian ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 thyes at gmx.net Fri May 26 22:04:23 2006 From: thyes at gmx.net (Frank Thyes) Date: Fri, 26 May 2006 22:04:23 +0200 Subject: check_snmp_storage.pl In-Reply-To: References: Message-ID: <20060526200423.GB83679@gator> +++ Shah, Maunir [Fri, May 26, 2006 at 09:42:23PM CEST]: > I'm running this script and it works fine with Solaris 10, which is my > personal box at work. But, when I try to run this same script to > different boxes I get an error The green one? Or do you mean the red one? > "ERROR: Description/Type table : Requested table is empty or does not > exist." Whats the difference between the systems (except from the color ;)? > Can't seem to figure out what's wrong and also I'm just not that savvy > in snmp. Any help would be appreciated... Regards Frank -- Documentation is like sex: when it is good, it is very, very good; and when it is bad, it is better than nothing. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 26 22:21:22 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 26 May 2006 13:21:22 -0700 Subject: question about nagiosgraph In-Reply-To: References: Message-ID: <20060526202122.GA11935@hermes.americas.hpqcorp.net> It sounds like either you're not fuly configured yet, or looking in the wrong place. If you're clicking on the graph image in one of the status lists, and not getting graphs, that's normal... it's sort of a clunky side-effect of the way nagios handles info links compared to how older versions did it. Assuming you've set up a notes_url link for the service nagiosgraph is graphing, what you want to click on is the "More Info" link on the top right of the service status page. On Fri, 26 May 2006, Guillermo Bellettini wrote: > When I click on the graph icon, Nagios shows the information status instead > of the graphics. > > Any suggestion to fix this? ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Fri May 26 23:41:33 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Fri, 26 May 2006 22:41:33 +0100 Subject: Host check action alert issue In-Reply-To: <20060526202122.GA11935@hermes.americas.hpqcorp.net> References: <20060526202122.GA11935@hermes.americas.hpqcorp.net> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8418@indigo.G2Support.local> Does anyone else have problems with email notifications generated by the check_command param generated by host failures, particularly the check-host-alive command ? I have the check_command for each host set to check-host-alive. If any of the hosts goes offline, and fails the check-host-alive check, I get this email; Subject: ** PROBLEM alert - My laptop/ is ** ***** Nagios ***** Notification Type: PROBLEM Service: Host: My laptop Address: 192.168.100.241 State: Date/Time: Fri May 26 22:38:07 BST 2006 Additional Info: The 'notify-by-email' command that I am using to send out the email notifications is as follows. # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "subject: ** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ ** \n\n ***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/msmtp $CONTACTEMAIL$ } Now, this is the same command I use for every other alert, but only the check-host-alive check causes an email with NO source, NO state etc. Is it just me that gets this? Does the check-host-alive command not fill in the $servicedesc$ or the $servicestate$ ? Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 al at its-lehmann.de Fri May 26 23:57:27 2006 From: al at its-lehmann.de (Arno Lehmann) Date: Fri, 26 May 2006 23:57:27 +0200 Subject: Host check action alert issue In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C8418@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C8418@indigo.G2Support.local> Message-ID: <447779C7.1050904@its-lehmann.de> Hello, On 5/26/2006 11:41 PM, Oliver Marshall wrote: > Does anyone else have problems with email notifications generated by the > check_command param generated by host failures, particularly the > check-host-alive command ? > > I have the check_command for each host set to check-host-alive. If any > of the hosts goes offline, and fails the check-host-alive check, I get > this email; > > Subject: ** PROBLEM alert - My laptop/ is ** > ***** Nagios ***** > Notification Type: PROBLEM > > Service: > Host: My laptop > Address: 192.168.100.241 > State: > > Date/Time: Fri May 26 22:38:07 BST 2006 > > Additional Info: > > > The 'notify-by-email' command that I am using to send out the email > notifications is as follows. look at the sample host-notify-by-email or whatever it's called. Should be in the sample config Nagios created during the make cycles. > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "subject: ** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > ** \n\n ***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/msmtp > $CONTACTEMAIL$ > } > > Now, this is the same command I use for every other alert, but only the > check-host-alive check causes an email with NO source, NO state etc. > > Is it just me that gets this? Does the check-host-alive command not fill > in the $servicedesc$ or the $servicestate$ ? As you noted, servicestate is not the right thing to report in a host check result. There is a list of all available macros in the manual, and you'll find the corresponding $HOST...$ ones in there. The more important question is - why are notifications generated at all? You'd have to show us the configuration for one of the hosts in question. Also make sure the check command works as you intend it to. If, for example, you've got a macro in there that doesn't contain anything useful that might easily explain why the check command fails. Arno > Olly > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&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 > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 atstake at gmail.com Sat May 27 01:22:09 2006 From: atstake at gmail.com (atstake atstake) Date: Sat, 27 May 2006 09:22:09 +1000 Subject: Nagios cgi-bin error Message-ID: <8adc88580605261622q24e28709q2bd4e48b82dfe1c6@mail.gmail.com> I am running Nagios version 2.0b4 with Apache 1.3.29 on OpenBSD 3.8. Everytime I try to go to my http://website/nagios/cgi-bin it gives error - Error 403 Forbidden You don't have permission to access /nagios/cgi-bin/ on this server However, http://website/nagios/ works fine! Apache access_log shows - nagiosadmin [26/May/2006:19:46:33 +1000] "GET /nagios/cgi-bin/this .txt HTTP/1.1" 403 293 Apache error_log shows - [Fri May 26 19:46:33 2006] [error] [client 203.13.45.66] file permissions deny server execution: /myserver/nagios/cgi-bin/this.txt Directory permission for "/var/www/mysite/nagios/cgi-bin" directory looks like this - drwxr-xr-x 2 root daemon 512 May 26 16:51 /nagios/cgi-bin/ File permissions on "/var/www/mysite/nagios/cgi-bin" directory looks like this - -rw-r--r-- 1 root daemon 73 May 26 16:51 .nagios_passwd -r-xr-xr-x 1 root bin 240064 Sep 4 2005 avail.cgi -r-xr-xr-x 1 root bin 241600 Sep 4 2005 cmd.cgi -r-xr-xr-x 1 root bin 202848 Sep 4 2005 config.cgi -rw-r--r-- 1 root daemon 4 May 26 16:49 this.txt Note: "this.txt" is a file I created. Here's my nagios part of httpd.conf ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin Options ExecCGI AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd Require user nagiosadmin Alias /nagios /var/www/mysite/nagios Options -Indexes Order deny,allow Deny from all Allow from AuthType Basic AuthName "Nagios" AuthUserFile /var/www/mysite/nagios/.nagios_passwd Require user nagiosadmin I changed the permisson of the file "this.txt" to 755 & it gives "Internal Server Error" if I want to view that file. For all the other files (CGIs) it still gives the Permission Denied error. my /etc/nagios directory is a symlink to /var/www/etc/nagios I did a /usr/local/sbin/nagios -v /etc/nagios/nagios.cfg & it works fine - shell exit code is 0. Then I tried to start Nagios (/usr/local/sbin/nagios -d /etc/nagios/nagios.cfg) & its shell exit code gives error - in /var/log/messages I can see /var/run/nagios/nagios.pid does not exist (ENOENT) Bailing out due to errors encountered while attempting to daemonize... (PID=12744) I have a user called _nagios in /etc/passwd. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Sat May 27 01:05:18 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Fri, 26 May 2006 20:05:18 -0300 Subject: Issues installing Plugins In-Reply-To: <4477495C.8070008@blazestudios.com> References: <4477495C.8070008@blazestudios.com> Message-ID: <1148684719.24481.12.camel@localhost> Hello, comments inline... On Fri, 2006-05-26 at 14:30 -0400, Tom Ray [Lists] wrote: > I've just installed Nagios and that seemed to have gone very well but > when I try installing the plugins I get the following errors during the > the "make" process: > > then mv -f ".deps/check_snmp.Tpo" ".deps/check_snmp.Po"; else rm -f > ".deps/check_snmp.Tpo"; exit 1; fi > check_snmp.c: In function `main': > check_snmp.c:341: parse error before `char' > check_snmp.c:342: `str' undeclared (first use in this function) > check_snmp.c:342: (Each undeclared identifier is reported only once > check_snmp.c:342: for each function it appears in.) > make[3]: *** [check_snmp.o] Error 1 > make[3]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/home/tom/nagios-plugins-1.4.3' > make: *** [all] Error 2 Try it with the -i flag: make -i hth > I really would like to get this working, I've used nagios in the past > and think it's a great product but I'm stumped as to why I keep getting > this error. > > Any help would be appreciated. > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 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/. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Sat May 27 00:45:17 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Fri, 26 May 2006 15:45:17 -0700 Subject: Host check action alert issue In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C8418@indigo.G2Support.local> References: <20060526202122.GA11935@hermes.americas.hpqcorp.net> <161A23FF529F614582A5C1F469FA7B6C0C8418@indigo.G2Support.local> Message-ID: <20060526224517.GC11935@hermes.americas.hpqcorp.net> That command was obviously configured as a service notification, and will not work correctly as a host notification command. Look in the example configs for host-notify-by-* On Fri, 26 May 2006, Oliver Marshall wrote: > Does anyone else have problems with email notifications generated by the > check_command param generated by host failures, particularly the > check-host-alive command ? > > I have the check_command for each host set to check-host-alive. If any > of the hosts goes offline, and fails the check-host-alive check, I get > this email; > > Subject: ** PROBLEM alert - My laptop/ is ** > ***** Nagios ***** > Notification Type: PROBLEM > > Service: > Host: My laptop > Address: 192.168.100.241 > State: > > Date/Time: Fri May 26 22:38:07 BST 2006 > > Additional Info: > > > The 'notify-by-email' command that I am using to send out the email > notifications is as follows. > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "subject: ** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ > ** \n\n ***** Nagios *****\n\nNotification Type: > $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: > $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $LONGDATETIME$\n\nAdditional Info:\n\n$SERVICEOUTPUT$" | /usr/bin/msmtp > $CONTACTEMAIL$ > } > > Now, this is the same command I use for every other alert, but only the > check-host-alive check causes an email with NO source, NO state etc. > > Is it just me that gets this? Does the check-host-alive command not fill > in the $servicedesc$ or the $servicestate$ ? > > Olly > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 ratty at they.org Sat May 27 01:59:25 2006 From: ratty at they.org (frank) Date: Fri, 26 May 2006 16:59:25 -0700 (PDT) Subject: Nagios cgi-bin error In-Reply-To: <8adc88580605261622q24e28709q2bd4e48b82dfe1c6@mail.gmail.com> References: <8adc88580605261622q24e28709q2bd4e48b82dfe1c6@mail.gmail.com> Message-ID: You do not have "Indexes" enabled for your cgi-bin directory, that's why you can't browse it. This is a good thing. Also, the whole point of defining a ScriptAlias directory is that the webserver will attempt to _execute_ all the files that are called from that location. Not just display, _execute_. Your txt file probably does not have an interpreter line (#!/bin/bash or something similar) and it's not a binary executable, so even tho your execute bits are set you get a 500 error. And finally, does the "/var/run/nagios/" directory exist? If not then the file "/var/run/nagios/nagios.pid" is not likely to be written. If the directory does exist, is it writable by the nagios user or nagios group? -f On Sat, 27 May 2006, atstake atstake wrote: > Date: Sat, 27 May 2006 09:22:09 +1000 > From: atstake atstake > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios cgi-bin error > > I am running Nagios version 2.0b4 with Apache 1.3.29 on OpenBSD 3.8. > > Everytime I try to go to my http://website/nagios/cgi-bin it gives error - > > Error 403 > Forbidden > You don't have permission to access /nagios/cgi-bin/ on this server > > However, http://website/nagios/ works fine! > > Apache access_log shows - > > nagiosadmin [26/May/2006:19:46:33 +1000] "GET /nagios/cgi-bin/this > .txt HTTP/1.1" 403 293 > > Apache error_log shows - > > [Fri May 26 19:46:33 2006] [error] [client 203.13.45.66] file > permissions deny server execution: /myserver/nagios/cgi-bin/this.txt > > Directory permission for "/var/www/mysite/nagios/cgi-bin" directory > looks like this - > > drwxr-xr-x 2 root daemon 512 May 26 16:51 /nagios/cgi-bin/ > > File permissions on "/var/www/mysite/nagios/cgi-bin" directory looks like > this - > > -rw-r--r-- 1 root daemon 73 May 26 16:51 .nagios_passwd > -r-xr-xr-x 1 root bin 240064 Sep 4 2005 avail.cgi > -r-xr-xr-x 1 root bin 241600 Sep 4 2005 cmd.cgi > -r-xr-xr-x 1 root bin 202848 Sep 4 2005 config.cgi > -rw-r--r-- 1 root daemon 4 May 26 16:49 this.txt > > Note: "this.txt" is a file I created. > > Here's my nagios part of httpd.conf > > ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin > > Options ExecCGI > AllowOverride AuthConfig > Order allow,deny > Allow from all > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd > Require user nagiosadmin > > > > Alias /nagios /var/www/mysite/nagios > > Options -Indexes > Order deny,allow > Deny from all > Allow from > AuthType Basic > AuthName "Nagios" > AuthUserFile /var/www/mysite/nagios/.nagios_passwd > Require user nagiosadmin > > > I changed the permisson of the file "this.txt" to 755 & it gives > "Internal Server Error" if I want to view that file. For all the other > files (CGIs) it still gives the Permission Denied error. > > my /etc/nagios directory is a symlink to /var/www/etc/nagios > > I did a /usr/local/sbin/nagios -v /etc/nagios/nagios.cfg & it works > fine - shell exit code is 0. > > Then I tried to start Nagios (/usr/local/sbin/nagios -d > /etc/nagios/nagios.cfg) & its shell exit code gives error - > > in /var/log/messages I can see > > /var/run/nagios/nagios.pid does not exist (ENOENT) > Bailing out due to errors encountered while attempting to daemonize... > (PID=12744) > > I have a user called _nagios in /etc/passwd. > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 markham_breitbach at ssimicro.com Sat May 27 02:04:07 2006 From: markham_breitbach at ssimicro.com (Markham Breitbach) Date: Fri, 26 May 2006 18:04:07 -0600 Subject: Nagios 2.x + FreeBSD 5.x Message-ID: <6.2.3.4.0.20060526175811.034777d0@vigil.ssimicro.com> Hello, We currently have a fairly large intallation of Nagios 1.x and I am considering upgrading to the 2.x branch, but a while back there was a rather large warning posted indicating that there were some serious problems with FreeBSD 5.x threading and Nagios 2.x, but now I cannot find a mention of it anywhere. I am a bit nervous about this, and would appreciate if someone could let me know if this is still a problem, or if this ever really was a problem or if It was all a terrible nightmare and I should go back on my meds... *grin* thanks, Markham Breitbach Network Services SSI Micro ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 atstake at gmail.com Sat May 27 02:37:20 2006 From: atstake at gmail.com (atstake atstake) Date: Sat, 27 May 2006 10:37:20 +1000 Subject: Nagios cgi-bin error In-Reply-To: References: <8adc88580605261622q24e28709q2bd4e48b82dfe1c6@mail.gmail.com> Message-ID: <8adc88580605261737u5d68c2fco78fd4a179b132a52@mail.gmail.com> Hi, On 5/27/06, frank wrote: > You do not have "Indexes" enabled for your cgi-bin directory, that's why > you can't browse it. This is a good thing. I have just added "Options Indexes" in httpd.conf. It still says "Permission Denied". The current httpd.conf looks like this ScriptAlias /nagios/cgi-bin /var/www/mysite/nagios/cgi-bin Options ExecCGI Options Indexes AllowOverride AuthConfig Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /var/www/mysite/nagios/cgi-bin/.nagios_passwd Require user nagiosadmin > And finally, does the "/var/run/nagios/" directory exist? If not then the > file "/var/run/nagios/nagios.pid" is not likely to be written. > If the directory does exist, is it writable by the nagios user or nagios > group? Success! I have created the directory "/var/run/nagios/", chown'd to _nagios:_nagios. And Nagiosn starts successfully. It has been deamonized and I can see it running by doing a "ps"; shell return code is also 0. So, nagios is up and listening. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 atstake at gmail.com Sat May 27 03:59:23 2006 From: atstake at gmail.com (atstake atstake) Date: Sat, 27 May 2006 11:59:23 +1000 Subject: [Solved-partly] Nagios cgi-bin error In-Reply-To: <8adc88580605261737u5d68c2fco78fd4a179b132a52@mail.gmail.com> References: <8adc88580605261622q24e28709q2bd4e48b82dfe1c6@mail.gmail.com> <8adc88580605261737u5d68c2fco78fd4a179b132a52@mail.gmail.com> Message-ID: <8adc88580605261859o1bf1ae71r71c551a077ade519@mail.gmail.com> On 5/27/06, atstake atstake wrote: > I have just added "Options Indexes" in httpd.conf. It still says > "Permission Denied". I have solved this problem, somewhat. What I found is if I put the cgi-bin in "/var/www/mysite/cgi-bin/" & point apache to read it, nagios can read it fine. It asks for password and shows everything. As soon as I point Apache to read "/var/www/mysite/nagios/cgi-bin" it gives the permission denied error. This is not a biggie but does anyone know what this is happening and how can I solve it? ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 lists at blazestudios.com Sat May 27 04:00:45 2006 From: lists at blazestudios.com (Tom Ray [Lists]) Date: Fri, 26 May 2006 22:00:45 -0400 Subject: Issues installing Plugins In-Reply-To: <1148684719.24481.12.camel@localhost> References: <4477495C.8070008@blazestudios.com> <1148684719.24481.12.camel@localhost> Message-ID: <4477B2CD.6040704@blazestudios.com> Marcel Mitsuto Fucatu Sugano wrote: > Hello, comments inline... > > On Fri, 2006-05-26 at 14:30 -0400, Tom Ray [Lists] wrote: > >> I've just installed Nagios and that seemed to have gone very well but >> when I try installing the plugins I get the following errors during the >> the "make" process: >> >> then mv -f ".deps/check_snmp.Tpo" ".deps/check_snmp.Po"; else rm -f >> ".deps/check_snmp.Tpo"; exit 1; fi >> check_snmp.c: In function `main': >> check_snmp.c:341: parse error before `char' >> check_snmp.c:342: `str' undeclared (first use in this function) >> check_snmp.c:342: (Each undeclared identifier is reported only once >> check_snmp.c:342: for each function it appears in.) >> make[3]: *** [check_snmp.o] Error 1 >> make[3]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' >> make[2]: *** [all-recursive] Error 1 >> make[2]: Leaving directory `/home/tom/nagios-plugins-1.4.3/plugins' >> make[1]: *** [all-recursive] Error 1 >> make[1]: Leaving directory `/home/tom/nagios-plugins-1.4.3' >> make: *** [all] Error 2 >> > > Try it with the -i flag: > > make -i > > hth > Well that did it I was able to run "make -i" then "make -i install" and it's installed. Now it's testing time. Thanks! ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 atstake at gmail.com Sat May 27 06:10:21 2006 From: atstake at gmail.com (atstake atstake) Date: Sat, 27 May 2006 14:10:21 +1000 Subject: reschedule check error Message-ID: <8adc88580605262110vb7a55cdk28dc53f2b53fc441@mail.gmail.com> I would like to "Re-schedule the next check of this service" but when I setup the time and click "Commit" it says I am not authorized to commit. I have user "nagiosadmin" required to log on to http://mysite/nagios and "http://mysite/cgi-bin/nagios" In /etc/nagios/cgi.cfg I have use_authentication=1 default_user_name=nagiosadmin authorized_for_system_information=nagiosadmin authorized_for_configuration_information=nagiosadmin authorized_for_system_commands=nagiosadmin authorized_for_all_hosts=nagiosadmin authorized_for_all_host_commands=nagiosadmin I have a user called _nagios in /etc/passwd. And nagios.pid is owned by this user. I am using Nagios 2.0b4 on OpenBSD3.8. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 dan.hopkins at uk.easynet.net Sat May 27 14:21:32 2006 From: dan.hopkins at uk.easynet.net (Dan Hopkins) Date: Sat, 27 May 2006 13:21:32 +0100 Subject: Nagios 2.x + FreeBSD 5.x In-Reply-To: <6.2.3.4.0.20060526175811.034777d0@vigil.ssimicro.com> References: <6.2.3.4.0.20060526175811.034777d0@vigil.ssimicro.com> Message-ID: <1148732492.17359.48.camel@rabid> On Fri, 2006-05-26 at 18:04 -0600, Markham Breitbach wrote: > Hello, > > We currently have a fairly large intallation of Nagios 1.x and I am considering upgrading to the 2.x branch, but a while back there was a rather large warning posted indicating that there were some serious problems with FreeBSD 5.x threading and Nagios 2.x, but now I cannot find a mention of it anywhere. > > I am a bit nervous about this, and would appreciate if someone could let me know if this is still a problem, or if this ever really was a problem or if It was all a terrible nightmare and I should go back on my meds... *grin* I'd say it depends on your definition of 'large'. We had equal problems with Nagios 1 and 2 on FreeBSD 5.x with more than around 6000 services IIRC. Ended up running the masters on FreeBSD 4 and the distributed slaves on 5.x, which seemed to cope for a while. But at around 8000-10000 monitors, it failed to cope completely. Finally gave up and switched to Debian (much better) -- Dan ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 sghosh at sghosh.org Sun May 28 01:14:01 2006 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sat, 27 May 2006 19:14:01 -0400 (EDT) Subject: NIC bonding issues? In-Reply-To: <92803D5088947D4A979898CC8E835C4438075A@XMAIL.norwich.edu> References: <92803D5088947D4A979898CC8E835C4438075A@XMAIL.norwich.edu> Message-ID: On Wed, 24 May 2006, James E. Pratt wrote: > I check a number of interfaces via ping - some running RH ES4 with > bonded nics - Lately I've been getting this sometimes.. > > State: WARNING > > Date/Time: Wed May 24 08:41:51 EDT 2006 > > Additional Info: > > PING WARNING - DUPLICATES FOUND! Packet loss = 0%, RTA = 1.58 ms > > does my bonding driver have a bug, or is this nagios? (I can't find any > dupes on long manual ping tests?) > thx > jamie There was/is a bug related to duplicate udp multicast packets on boonding interfaces. Can you run a packet trace? -- -sg ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Mon May 29 01:34:04 2006 From: s.shipway at auckland.ac.nz (Steve Shipway) Date: Mon, 29 May 2006 11:34:04 +1200 Subject: check_esx version 2 released on Nagiosexchange Message-ID: <006301c682af$356e3320$8ea8d882@UoA.auckland.ac.nz> Version 2 of check_esx (to allow Nagios to check the health of a VMware ESX server via SNMP) is now uploaded on Nagiosexchange. This is a major change on the old v1.4 and can check for many health problems such as balloon memory, CPU ready time, VM swapping, and so on. Also has an add-on for MRTG graphing using the same method. Thankyou for your time, Steve ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 gbellettini at genetsis.com Mon May 29 10:45:38 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Mon, 29 May 2006 10:45:38 +0200 Subject: question about nagiosgraph In-Reply-To: <20060526183815.GA83679@gator> References: <20060526183815.GA83679@gator> Message-ID: Frank, this is the information screen that I get when I click on the graph icon. I've checked what you told me about the spaces and tabs but I think that's not the problem. Genetsis Partners Guillermo Bellettini Tel: (34) 91-657-4120 Fax: (34) 91-657-4130 Email: gbellettini at genetsis.com -----Mensaje original----- De: Frank Thyes [mailto:thyes at gmx.net] Enviado el: viernes, 26 de mayo de 2006 20:38 Para: Guillermo Bellettini CC: nagios-users-request at lists.sourceforge.net; nagios-users at lists.sourceforge.net Asunto: Re: [Nagios-users] question about nagiosgraph Hi Emilio, +++ Guillermo Bellettini [Fri, May 26, 2006 at 02:52:38PM CEST]: > > > Hi there, I've just installed nagiosgraph under debian linux following the > INTALL file instructions. > > I see the "rrd" directory has several rrd files but nagios is not showing > the graphs. > > I've checked the permissions and the cfg files from nagios and everything > seems to be OK.. > > The show.cgi file is ok and the permissions also. > > When I click on the graph icon, Nagios shows the information status instead > of the graphics. Information status? What do you mean? > Any suggestion to fix this? A common mistake by nagiosgrapher is to have some spaces or tabs in the config. Check your grapher definitions with vi. If the file is loaded type :set list Regards Frank -- "Mad cow? You'd be mad too, if someone was trying to eat you." -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 52595 bytes Desc: not available URL: From lanning at lanning.cc Mon May 29 11:41:54 2006 From: lanning at lanning.cc (Robert Hajime Lanning) Date: Mon, 29 May 2006 02:41:54 -0700 (PDT) Subject: question about nagiosgraph In-Reply-To: References: <20060526183815.GA83679@gator> Message-ID: <33736.192.168.128.102.1148895714.squirrel@ssl.monsoonwind.com> > Frank, this is the information screen that I get when I click > on the graph icon. I've checked what you told me about the > spaces and tabs but I think that's not the problem. >> When I click on the graph icon, Nagios shows the information >> status instead of the graphics. You click on the graph (or the service name itself) and Nagios will give you the service information for the said service. Now in the "serviceextinfo" object for the service in question, you defined "notes_url" field. This field activates the "Extra Service Notes" icon within the "Service Information" screen. If you click on the "Extra Service Notes" icon, it will take you to the URL that you had defined in the "notes_url" field. In this case the NagiosGraph URL. You don't want to get rid of the "Service Information" screen. This is where you are able to enable/disable/acknowledge this service and get other information (like when the next check is, or that last one was or how long it has been in the current state...) You just need to remember to use the "Extra Service Notes" icon to get to the RRD graphs. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 gbellettini at genetsis.com Mon May 29 11:51:58 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Mon, 29 May 2006 11:51:58 +0200 Subject: question about nagiosgraph In-Reply-To: <33736.192.168.128.102.1148895714.squirrel@ssl.monsoonwind.com> References: <33736.192.168.128.102.1148895714.squirrel@ssl.monsoonwind.com> Message-ID: Thanks, Robert....you were right...Everything was correct... When I click on the extra service icon the graph just appear.... I do not know how to say how stupid I was... Thanks again... Emilio Genetsis Partners Guillermo Bellettini Tel: (34) 91-657-4120 Fax: (34) 91-657-4130 Email: gbellettini at genetsis.com -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de Robert Hajime Lanning Enviado el: lunes, 29 de mayo de 2006 11:42 Para: nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] question about nagiosgraph Importancia: Alta > Frank, this is the information screen that I get when I click > on the graph icon. I've checked what you told me about the > spaces and tabs but I think that's not the problem. >> When I click on the graph icon, Nagios shows the information >> status instead of the graphics. You click on the graph (or the service name itself) and Nagios will give you the service information for the said service. Now in the "serviceextinfo" object for the service in question, you defined "notes_url" field. This field activates the "Extra Service Notes" icon within the "Service Information" screen. If you click on the "Extra Service Notes" icon, it will take you to the URL that you had defined in the "notes_url" field. In this case the NagiosGraph URL. You don't want to get rid of the "Service Information" screen. This is where you are able to enable/disable/acknowledge this service and get other information (like when the next check is, or that last one was or how long it has been in the current state...) You just need to remember to use the "Extra Service Notes" icon to get to the RRD graphs. -- And, did Guloka think the Ulus were too ugly to save? -Centauri ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Mon May 29 12:18:06 2006 From: christian.masopust at siemens.com (Masopust, Christian) Date: Mon, 29 May 2006 12:18:06 +0200 Subject: question about nagiosgraph In-Reply-To: References: Message-ID: <60721B67EAF0994EAFFB561767B70014593853@nets13ha.ww300.siemens.net> Hi Emilio, you run into the same problem that i had when switching from Nagios 1.x to 2.x :-)) what i did was patching status.cgi a little so that notes_url will be displayed in the right frame. If you like, i could send you that "patch". chris -- "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 Guillermo Bellettini > Sent: Monday, May 29, 2006 11:52 AM > To: 'Robert Hajime Lanning'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] question about nagiosgraph > Importance: High > > Thanks, Robert....you were right...Everything was correct... > > When I click on the extra service icon the graph just appear.... > > I do not know how to say how stupid I was... > > Thanks again... > > Emilio > > > > > > Genetsis Partners > Guillermo Bellettini > Tel: (34) 91-657-4120 > Fax: (34) 91-657-4130 > Email: gbellettini at genetsis.com > > -----Mensaje original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] En nombre > de Robert Hajime > Lanning > Enviado el: lunes, 29 de mayo de 2006 11:42 > Para: nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] question about nagiosgraph > Importancia: Alta > > > > > Frank, this is the information screen that I get when I click > > on the graph icon. I've checked what you told me about the > > spaces and tabs but I think that's not the problem. > > >> When I click on the graph icon, Nagios shows the information > >> status instead of the graphics. > > You click on the graph (or the service name itself) and Nagios will > give you the service information for the said service. > > Now in the "serviceextinfo" object for the service in question, you > defined "notes_url" field. This field activates the > "Extra Service Notes" icon within the "Service Information" screen. > > If you click on the "Extra Service Notes" icon, it will take you to > the URL that you had defined in the "notes_url" field. In this case > the NagiosGraph URL. > > You don't want to get rid of the "Service Information" screen. This > is where you are able to enable/disable/acknowledge this service and > get other information (like when the next check is, or that last one > was or how long it has been in the current state...) > > You just need to remember to use the "Extra Service Notes" icon to > get to the RRD graphs. > > -- > And, did Guloka think the Ulus were too ugly to save? > -Centauri > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& > 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 > > > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& > 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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 pitchfork at ederdrom.de Mon May 29 12:44:40 2006 From: pitchfork at ederdrom.de (Joerg Linge) Date: Mon, 29 May 2006 12:44:40 +0200 Subject: question about nagiosgraph In-Reply-To: <60721B67EAF0994EAFFB561767B70014593853@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B70014593853@nets13ha.ww300.siemens.net> Message-ID: <200605291244.40846.pitchfork@ederdrom.de> Am Montag, 29. Mai 2006 12:18 schrieb Masopust, Christian: > what i did was patching status.cgi a little so that notes_url will be displayed > in the right frame. If you like, i could send you that "patch". Hi Cris, notes_url is linked in status.cgi since Nagios 2.3 http://www.nagios.org/development/changelog.php J?rg ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 gbellettini at genetsis.com Mon May 29 13:54:49 2006 From: gbellettini at genetsis.com (Guillermo Bellettini) Date: Mon, 29 May 2006 13:54:49 +0200 Subject: question about nagiosgraph In-Reply-To: <60721B67EAF0994EAFFB561767B70014593853@nets13ha.ww300.siemens.net> References: <60721B67EAF0994EAFFB561767B70014593853@nets13ha.ww300.siemens.net> Message-ID: Ok Chris, send me the match... And thanks for your help Emilio Genetsis Partners Guillermo Bellettini Tel: (34) 91-657-4120 Fax: (34) 91-657-4130 Email: gbellettini at genetsis.com -----Mensaje original----- De: Masopust, Christian [mailto:christian.masopust at siemens.com] Enviado el: lunes, 29 de mayo de 2006 12:18 Para: Guillermo Bellettini; Robert Hajime Lanning; nagios-users at lists.sourceforge.net Asunto: RE: [Nagios-users] question about nagiosgraph Hi Emilio, you run into the same problem that i had when switching from Nagios 1.x to 2.x :-)) what i did was patching status.cgi a little so that notes_url will be displayed in the right frame. If you like, i could send you that "patch". chris -- "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 Guillermo Bellettini > Sent: Monday, May 29, 2006 11:52 AM > To: 'Robert Hajime Lanning'; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] question about nagiosgraph > Importance: High > > Thanks, Robert....you were right...Everything was correct... > > When I click on the extra service icon the graph just appear.... > > I do not know how to say how stupid I was... > > Thanks again... > > Emilio > > > > > > Genetsis Partners > Guillermo Bellettini > Tel: (34) 91-657-4120 > Fax: (34) 91-657-4130 > Email: gbellettini at genetsis.com > > -----Mensaje original----- > De: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] En nombre > de Robert Hajime > Lanning > Enviado el: lunes, 29 de mayo de 2006 11:42 > Para: nagios-users at lists.sourceforge.net > Asunto: RE: [Nagios-users] question about nagiosgraph > Importancia: Alta > > > > > Frank, this is the information screen that I get when I click > > on the graph icon. I've checked what you told me about the > > spaces and tabs but I think that's not the problem. > > >> When I click on the graph icon, Nagios shows the information > >> status instead of the graphics. > > You click on the graph (or the service name itself) and Nagios will > give you the service information for the said service. > > Now in the "serviceextinfo" object for the service in question, you > defined "notes_url" field. This field activates the > "Extra Service Notes" icon within the "Service Information" screen. > > If you click on the "Extra Service Notes" icon, it will take you to > the URL that you had defined in the "notes_url" field. In this case > the NagiosGraph URL. > > You don't want to get rid of the "Service Information" screen. This > is where you are able to enable/disable/acknowledge this service and > get other information (like when the next check is, or that last one > was or how long it has been in the current state...) > > You just need to remember to use the "Extra Service Notes" icon to > get to the RRD graphs. > > -- > And, did Guloka think the Ulus were too ugly to save? > -Centauri > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& > 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 > > > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost > and Risk! > Fully trained technicians. The highest number of Red Hat > certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& > 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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 LMAIGNAN at fininfo.fr Mon May 29 14:02:41 2006 From: LMAIGNAN at fininfo.fr (MAIGNAN Luc) Date: Mon, 29 May 2006 14:02:41 +0200 Subject: SMS notification Message-ID: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> Hello, what is the simplest way to be notified by sms instead of e-mail ? ********************************************************************* Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. ----------------------------------------------------- This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. Neither FININFO (nor any of its subsidiaries or affiliates) shall be liable for the message if modified, altered, falsified, edited or diffused without authorization. ********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 cortez at tiscali.it Mon May 29 14:06:13 2006 From: cortez at tiscali.it (Luca Corti) Date: Mon, 29 May 2006 14:06:13 +0200 Subject: SMS notification In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> Message-ID: <1148904373.15469.1.camel@luca> On Mon, 2006-05-29 at 14:02 +0200, MAIGNAN Luc wrote: > what is the simplest way to be notified by sms instead of e-mail ? Installing an AT GSM Modem and management software and customising your notification command. http://smstools.meinemullemaus.de/ -- Luca Corti PGP Key ID 1F38C091 BOFH excuse of the moment: knot in cables caused data stream to become twisted and kinked ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 nicola.agnelli at spiderwall.com Mon May 29 14:08:03 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Mon, 29 May 2006 14:08:03 +0200 Subject: Auth problems In-Reply-To: References: <4476AFE8.4040202@spiderwall.com> Message-ID: <447AE423.4000500@spiderwall.com> Hugo van der Kooij wrote: > On Fri, 26 May 2006, Nicola Agnelli wrote: > >>> >>> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ >>> >>> AllowOverride AuthConfig >>> Options ExecCGI >>> Order allow,deny >>> Allow from all >>> >>> Alias /nagios /usr/nagios/share/ >>> >>> AllowOverride AuthConfig >>> Order allow,deny >>> Allow from all >>> >>> > > Why didn't you put the authentication here? Using .htaccess files is a > substitute for putting authentication into the httpd.conf file. It is only > intended for cases where you can not change httpd.conf itself. > >> Unfortunatly i still having problems with auth.. i can't login in noway! > > Pick up the apache manual and build a test directory on your webserver and > see that you can get user authentication working on there following the > samples in the apache manual. > > Once you figure it out you can translate the solution to the nagios > sections. > > Untill you get the sample section working as shown on > http://httpd.apache.org/docs/2.0/howto/auth.html there is little point in > trying anything else. > > This is not a Nagios issue but an issue of you trying to understand your > apache server. > > Hugo. > i've changed my /etc/apache2/modules.d/99_nagios.conf: ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ # AllowOverride AuthConfig AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Options ExecCGI Order allow,deny Allow from all Alias /nagios /usr/nagios/share/ # AllowOverride AuthConfig AuthName "Nagios Access" AuthType Basic AuthUserFile /etc/nagios/htpasswd.users require valid-user Order allow,deny Allow from all I've restarted apache but nothing changed :s .. How can i do?? -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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-users at alienn.net Mon May 29 15:46:07 2006 From: nagios-users at alienn.net (Nicki Messerschmidt, Linksystem Muenchen GmbH) Date: Mon, 29 May 2006 15:46:07 +0200 Subject: SMS notification In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> Message-ID: <447AFB1F.7010900@alienn.net> MAIGNAN Luc said the following: > what is the simplest way to be notified by sms instead of e-mail ? Well... I set up an account at www.clickatell.com. This is a email to sms gateway. Then I modified my email script. I think that it won't be more hassle than to setup a modem and sending directly. Cheers Nicki ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 asuncion_perez at soitsa.com Mon May 29 16:15:59 2006 From: asuncion_perez at soitsa.com (Asuncio Perez) Date: Mon, 29 May 2006 15:15:59 +0100 Subject: unsuscribe In-Reply-To: <20060126171705.E59AA8C3D5@sc8-sf-spam1.sourceforge.net> References: <20060126171705.E59AA8C3D5@sc8-sf-spam1.sourceforge.net> Message-ID: -----Mensaje original----- De: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] En nombre de nagios-users-request at lists.sourceforge.net Enviado el: jueves, 26 de enero de 2006 17:16 Para: nagios-users at lists.sourceforge.net Asunto: Nagios-users digest, Vol 1 #3007 - 24 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: Snmpstatus/aggregate bandwidth (Subhendu Ghosh) 2. Re: NagiosGrapher: How do the links work? (Hugo van der Kooij) 3. Question about Nagios configuration (Kannberg, Andy) 4. Re: NagiosGrapher: How do the links work? (Arno Lehmann) 5. Vedr.: Re: [Nagios-users] Snmpstatus/aggregate bandwidth (Thomas Jens Lauritsen) 6. Re: Question about Nagios configuration (Kyle Tucker) 7. RE: Question about Nagios configuration (David Johnson) 8. NRPE-Problem (Kai Reese) 9. Oracle database plugging (AJROUD.ALI) 10. Re: Oracle database plugging (joseph.petrucci at wachovia.com) 11. Re: Oracle database plugging (Todd Barbera) 12. Re: NRPE-Problem (moshe sharon) 13. RE: Host Status problems (Richard Mayhew) 14. Re: NRPE-Problem (Kai Reese) 15. Nagios Grapher (Toto Capuccino) 16. Plugin to monitor ressources used per user/process? (Thomas.Zimmer at oppenheim.de) 17. Re: Nagios Grapher (Don Lewis) 18. RE: Question about Nagios configuration (Marc Powell) 19. Re: Nagios Grapher (Toto Capuccino) 20. Re: Nagios Grapher (Toto Capuccino) 21. Rob Ford is out of the office. (Rob Ford) 22. RE: NRPE-Problem (lists at miwi-dv.com) 23. Nagios nrpe on AIX (pespinar at oasismp.net) 24. Notification script problems.. How do I debug (Chad Osmond) --__--__-- Message: 1 Date: Thu, 26 Jan 2006 00:17:35 -0500 (EST) From: Subhendu Ghosh To: "John C. Welch" cc: Nagios Users Subject: Re: [Nagios-users] Snmpstatus/aggregate bandwidth On Wed, 25 Jan 2006, John C. Welch wrote: > On 1/24/06 13:50, "Hugo van der Kooij" wrote: > >>> MRTG is great for per-port stuff, but I want to use Nagios to measure total >>> traffic used by a host. >> >> You are not using the right tool. If you want performance graphs like that >> you need to poll the proper interfaces and store them with your own >> rrdtool script and generate the graphs. >> >> Nagios is not the tool for concatenating these things. Only use a hammer >> when you need one. If you need a plier it is not good to grasp the nearest >> hammer and expect it to be a plier. (you may interchange plier and hammer >> if you like in this sample as long as you do it consistently ;-) > > No, for this, Nagios is perfect. I need one graph. Not one per port. Nagios > is really quite perfect for monitoring single things. > > There is a single SNMP command that will give me this. snmpstatus. It does > the aggregation for you. Read the man page, it's really quite handy. All I > wanted to know is if someone had a plugin for it, or knew of a plugin that > did this. > > Again, I need Nagios to monitor the results of an existing SNMP command. > Seems that's Nagios' sweet spot. > > I've got Nagios and nagiosgraph .7 working quite well now with RRD, > generating graphs of desired services quite happily. > As you note from the man page for snmpstatus - it does a lot of things - Question is are they useful? You mentioned total traffic - snmpstatus adds up all the available counters - What happens when the counters roll over? The counters only count from when the snmp agent was (re)started. On cisco and other network devices you can clear counters at any time - snmpstatus would not know the difference. Is an absolute number that is always increasing (in a saw tooth pattern) meaningful? Much more useful would be aggregation of data rates/bandwidth used across all interfaces - For this you will need an mrtg/cacti/cricket based solution that can poll data on individual interfaces and then summarize them. - Like Cricket's summary graphs where you add up values from other entries. These can then be checked via check_rrd for threshold values. If you need to see the operational status of all the interfaces - then check_ifstatus will do. -- -sg --__--__-- Message: 2 Date: Thu, 26 Jan 2006 07:23:49 +0100 (CET) From: Hugo van der Kooij Reply-To: nagios-users at lists.sourceforge.net To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagiosGrapher: How do the links work? On Thu, 26 Jan 2006, Arno Lehmann wrote: > On 1/25/2006 11:42 PM, Hugo van der Kooij wrote: > > > (In fact I am puzzled by much more but let's take it one step at the > > time.) > > Let nagiosgrapher write a detailed log and observe what happens in > there. tail -f is just the tool for that... It is this log that got me puzzled most of all. It seems the default samples don't work too well. Only the HTTP details are currently resulting in some logs. 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: 3 From: "Kannberg, Andy" To: "'nagios-users at lists.sourceforge.net'" Date: Thu, 26 Jan 2006 09:04:51 +0100 Subject: [Nagios-users] Question about Nagios configuration This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C6224F.2EE3CE40 Content-Type: text/plain Hi all, I'm confused about my Nagios configuration. My Nagios monitoring host is Linux (Slackware ) box. All clients I need to monitor are Tru64 boxes. So, I was able to compile NRPE on the Tru64 boxes, but it appears I need all plugins locally on the system. So I want to install the standard plugins pack (nagios-plugins-1.4.2.tar), but the README tells me it expects nagios to be installed. Do I need to install Nagios on all clients also ? best regards, Andy Kannberg ------_=_NextPart_001_01C6224F.2EE3CE40 Content-Type: text/html Content-Transfer-Encoding: quoted-printable Question about Nagios configuration

Hi all,

I'm confused about my Nagios configuration. My Nagios mon= itoring host is Linux (Slackware ) box. All clients I need to monitor are T= ru64 boxes. 

So, I was able to compile NRPE on the Tru64 boxes, but it= appears I need all plugins locally on the system. So I want to install the= standard plugins pack (nagios-plugins-1.4.2.tar), but the README tells me = it expects nagios to be installed. Do I need to install Nagios on all clien= ts also ?

best regards,
Andy Kannberg

------_=_NextPart_001_01C6224F.2EE3CE40-- --__--__-- Message: 4 Date: Thu, 26 Jan 2006 09:58:09 +0100 From: Arno Lehmann To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagiosGrapher: How do the links work? Hello, On 1/26/2006 7:23 AM, Hugo van der Kooij wrote: > On Thu, 26 Jan 2006, Arno Lehmann wrote: > > >>On 1/25/2006 11:42 PM, Hugo van der Kooij wrote: >> >> >>>(In fact I am puzzled by much more but let's take it one step at the >>>time.) >> >>Let nagiosgrapher write a detailed log and observe what happens in >>there. tail -f is just the tool for that... > > > It is this log that got me puzzled most of all. It seems the default > samples don't work too well. Only the HTTP details are currently resulting > in some logs. Well, modifying nagiosgraphers configuration to your needs does take some time. In fact I had to taylor all the entries concerning data acquisition to my needs. Now, I don't know if you know how to handle regular expressions, but these and the service names are the lines that probably need to be modified to your setup. If you posted one of the entries not working and the corresponding output from the check plugin someone, perhaps even I, might help you more. For example, from my local system a service check I set up yesterday: In the status detail page, I see the output from the checks: > CPU=0%;10;20;; Storage=26853376;58720256;67108864;; Objects=3244;1032192;1048576;; HitRatio=0%;;;; IPs=125;3584;4096;; Clients=3;1792;2048;; The service is called "Squid status" and one of the corresponding entries in my nagiosgrapher configuration is > define ngraph{ > service_name Squid status > graph_perf_regex HitRatio=(\d+\.?\d*)% > graph_value Hits > graph_units % > graph_legend Hit ratio > rrd_plottype LINE1 > rrd_color 0000FF > lowerlimit 0 > page ProcessState > } Which produces the expected results, along with the links to the graphics cgi in the service overview and -detail pages in Nagios' frontend. With lots of logging during set up, I got these log entries from nagiosgrapher when it encountered a service check for "Squid status" the first time: > 2006-01-25 22:30:28 RRD: rrdtool create /var/lib/nagios/rrd/balrog/0023bdc292ea73c8d13bcb38a0c107d8.rrd --step= DS:CPU:GAUGE:600:U:U DS:Hits:GAUGE:600:U:U DS:Clients:GAUGE:600:U:U DS:IPs:GAUGE:600:U:U DS:Stored:GAUGE:600:U:U DS:Objs:GAUGE:600:U:U RRA:AVERAGE:0.5:5:600 RRA:MAX:0.5:5:600 RRA:MIN:0.5:5:600 RRA:AVERAGE:0.5:30:600 RRA:MAX:0.5:30:600 RRA:MIN:0.5:30:600 RRA:AVERAGE:0.5:120:600 RRA:MAX:0.5:120:600 RRA:MIN:0.5:120:600 RRA:AVERAGE:0.5:1440:600 RRA:MAX:0.5:1440:600 RRA:MIN:0.5:1440:600 > 2006-01-25 22:30:28 RRD: [balrog][Squid status]:/var/lib/nagios/rrd/balrog/0023bdc292ea73c8d13bcb38a0c107d8.rrd - successfully created! > 2006-01-25 22:30:28 SERVICEEXT: [balrog][Squid status]:Entry in serviceextinfo not exists, create NEW! > 2006-01-25 22:30:28 VALUES: [balrog][Squid status]: Stored=24567808 IPs=111 Hits=72 CPU=0 Objs=2964 Clients=3 > 2006-01-25 22:30:28 RRD: rrdtool update /var/lib/nagios/rrd/balrog/0023bdc292ea73c8d13bcb38a0c107d8.rrd --template=Stored:IPs:Hits:CPU:Objs:Clients N:24567808:111:72:0:2964:3 One thing to notice: If you modify the data capture setup, you will have to manually modify the corresponding rrd file (or delete it and let nagiosgrapher automatically recreate it) because the template for inserting doesn't fit to the rrd file any more. Let's see if you get that set up... Arno > Hugo. > -- IT-Service Lehmann al at its-lehmann.de Arno Lehmann http://www.its-lehmann.de --__--__-- Message: 5 From: Thomas Jens Lauritsen To: nagios-users at lists.sourceforge.net Subject: Vedr.: Re: [Nagios-users] Snmpstatus/aggregate bandwidth Date: Wed, 25 Jan 2006 23:17:16 +0100 This is a multipart message in MIME format. ------=_NextPartTM-000-c0c52198-ba72-4117-8e22-627ae684fd2d Content-Type: multipart/alternative; boundary="=_alternative 007A6DD9C1257101_=" --=_alternative 007A6DD9C1257101_= Content-Type: text/plain; charset="US-ASCII" Hi John, Write a SNMP-plugin to get your data. I had thought of something like your idea too, but haven had the time yet. But I would ask for things like network errors, no port, and so on.... I don't know how usefull it is but, sometimes you have to "kick the ball" before it hits the goal. But check out some shell-script / plugins and if you know something about SNMP then you should be able to start collecting data. Try this command in a shell > "snmpwalk -v 1 W2K-netvorkhost -c public .1.3.6" W2K-Networkhost = some ip address I could send you a sample-plugin on how I collect CPU data - set thresholds and so on. Thomas John Jolet Sendt af: nagios-users-admin at lists.sourceforge.net 24-01-2006 20:59 Til: nagios-users at lists.sourceforge.net cc: Vedr.: Re: [Nagios-users] Snmpstatus/aggregate bandwidth On Jan 24, 2006, at 1:50 PM, Hugo van der Kooij wrote: > On Tue, 24 Jan 2006, Welch, John wrote: > >> So after looking around nagiosexchange and a quick search of the list >> archives with no success... >> >> Is there a plugin that either uses the total traffic for a device, >> ala >> snmpstatus, or can present the aggregate traffic in and out for >> all ports on >> a device as two numbers? (total in, total out) >> >> MRTG is great for per-port stuff, but I want to use Nagios to >> measure total >> traffic used by a host. > > You are not using the right tool. If you want performance graphs > like that > you need to poll the proper interfaces and store them with your own > rrdtool script and generate the graphs. > > Nagios is not the tool for concatenating these things. Only use a > hammer > when you need one. If you need a plier it is not good to grasp the > nearest > hammer and expect it to be a plier. (you may interchange plier and > hammer > if you like in this sample as long as you do it consistently ;-) > we use cacti for that, but you don't get alerts that 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. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through > log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD > SPLUNK! > http://sel.as-us.falkag.net/sel? > cmd=lnk&kid=103432&bid=230486&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 SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&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 --=_alternative 007A6DD9C1257101_= Content-Type: text/html; charset="US-ASCII"
Hi John,

Write a SNMP-plugin to get your data.

I had thought of something like your idea too, but haven had the time yet.
But I would ask for things like network errors, no port, and so on....
I don't know how usefull it is but, sometimes you have to "kick the ball" before it hits the goal.

But check out some shell-script / plugins and if you know something about SNMP then you should be able to start collecting data.

Try this command in a shell >   "snmpwalk -v 1 W2K-netvorkhost -c public .1.3.6"

W2K-Networkhost = some ip address

I could send you a sample-plugin on how I collect CPU data   - set thresholds and so on.

Thomas





John Jolet <john at jolet.net>
Sendt af: nagios-users-admin at lists.sourceforge.net

24-01-2006 20:59

       
        Til:        nagios-users at lists.sourceforge.net
        cc:        
        Vedr.:        Re: [Nagios-users] Snmpstatus/aggregate bandwidth




On Jan 24, 2006, at 1:50 PM, Hugo van der Kooij wrote:

> On Tue, 24 Jan 2006, Welch, John wrote:
>
>> So after looking around nagiosexchange and a quick search of the list
>> archives with no success...
>>
>> Is there a plugin that either uses the total traffic for a device,  
>> ala
>> snmpstatus, or can present the aggregate traffic in and out for  
>> all ports on
>> a device as two numbers? (total in, total out)
>>
>> MRTG is great for per-port stuff, but I want to use Nagios to  
>> measure total
>> traffic used by a host.
>
> You are not using the right tool. If you want performance graphs  
> like that
> you need to poll the proper interfaces and store them with your own
> rrdtool script and generate the graphs.
>
> Nagios is not the tool for concatenating these things. Only use a  
> hammer
> when you need one. If you need a plier it is not good to grasp the  
> nearest
> hammer and expect it to be a plier. (you may interchange plier and  
> hammer
> if you like in this sample as long as you do it consistently ;-)
>
we use cacti for that, but you don't get alerts that 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.
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc. Do you grep through  
> log files
> for problems?  Stop!  Download the new AJAX search engine that makes
> searching your log files as easy as surfing the  web.  DOWNLOAD  
> SPLUNK!
> http://sel.as-us.falkag.net/sel?
> cmd=lnk&kid=103432&bid=230486&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 SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&da t=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


--=_alternative 007A6DD9C1257101_=-- ------=_NextPartTM-000-c0c52198-ba72-4117-8e22-627ae684fd2d-- --__--__-- Message: 6 Subject: Re: [Nagios-users] Question about Nagios configuration To: nagios-users at lists.sourceforge.net Date: Thu, 26 Jan 2006 05:42:33 -0500 (EST) From: "Kyle Tucker" > > I'm confused about my Nagios configuration. My Nagios monitoring host is > Linux (Slackware ) box. All clients I need to monitor are Tru64 boxes. > So, I was able to compile NRPE on the Tru64 boxes, but it appears I need all > plugins locally on the system. So I want to install the standard plugins > pack (nagios-plugins-1.4.2.tar), but the README tells me it expects nagios > to be installed. Do I need to install Nagios on all clients also ? For my Solaris clients, I only need the plugins and the NRPE daemon and nrpe.cfg file. The plugins were already compiled for Solaris, so you may need to compile those for Tru64. -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- --__--__-- Message: 7 From: "David Johnson" To: "'Kannberg, Andy'" , Subject: RE: [Nagios-users] Question about Nagios configuration Date: Thu, 26 Jan 2006 06:12:32 -0600 This is a multi-part message in MIME format. ------=_NextPart_000_0093_01C6223F.7EDA7D50 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit No. Just install the plug-ins - you can even build the ones you like separately (some of them, like mysql, require libraries you probably don't have). _____ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kannberg, Andy Sent: Thursday, January 26, 2006 2:05 AM To: 'nagios-users at lists.sourceforge.net' Subject: [Nagios-users] Question about Nagios configuration Hi all, I'm confused about my Nagios configuration. My Nagios monitoring host is Linux (Slackware ) box. All clients I need to monitor are Tru64 boxes. So, I was able to compile NRPE on the Tru64 boxes, but it appears I need all plugins locally on the system. So I want to install the standard plugins pack (nagios-plugins-1.4.2.tar), but the README tells me it expects nagios to be installed. Do I need to install Nagios on all clients also ? best regards, Andy Kannberg ------=_NextPart_000_0093_01C6223F.7EDA7D50 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Question about Nagios configuration

No. Just install the plug-ins = – you can even build the ones you like separately (some of them, like mysql, = require libraries you probably don’t have).

 

 

 


From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kannberg, Andy
Sent: Thursday, January = 26, 2006 2:05 AM
To: = 'nagios-users at lists.sourceforge.net'
Subject: [Nagios-users] = Question about Nagios configuration

 

Hi all,

I'm confused about my Nagios configuration. My Nagios monitoring host is = Linux (Slackware ) box. All clients I need to monitor are Tru64 boxes.  =

So, I was able to compile NRPE on the Tru64 boxes, but it appears I need all = plugins locally on the system. So I want to install the standard plugins pack (nagios-plugins-1.4.2.tar), but the README tells me it expects nagios to = be installed. Do I need to install Nagios on all clients also = ?

best regards,
Andy = Kannberg

------=_NextPart_000_0093_01C6223F.7EDA7D50-- --__--__-- Message: 8 Date: Thu, 26 Jan 2006 13:15:29 +0100 From: Kai Reese To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NRPE-Problem Hey everyone. I compiled the NRPE plugin on my nagios (Suse) box and it compiled and installed just fine, with no warnings or errors. I also downloaded one of the NRPE_NT Plugins from the openexchange forum, installed that and some service-checks like nt_cpuload on my win2k machine. Now, when trying to run the plugin: nagios: ./check_nrpe -n -H -c nt_cpuload it responds with : CHECK_NRPE: Error receiving data from daemon. I'd be grateful for anyone giving me a hint where to look. My host-to-check replies to a telnet IP 5666 just fine, so I don't think it is any connection problem. Also, I made sure the service is running on the w2k machine. Thanks, Kai Reese --__--__-- Message: 9 From: "AJROUD.ALI" To: Date: Thu, 26 Jan 2006 13:23:22 +0100 Subject: [Nagios-users] Oracle database plugging Hi all, I look for a plug-in to oversee the Oracle database processes (ora_*) Nagios server and clients are AIX 5.2 Thanks for help. Best regards. =20 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= Ali AJROUD mail : ali.ajroud at atosorigin.com Atos Origin Infog=E9rance T=E9l : +33 (0)1 46 14 48 99 IMS =96 P=F4le Clients ERP GSM : +33 (0)6 74 08 73 28 Tour Horizon =96 64 rue du 8 mai 1945 92025 Nanterre Cedex =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= --__--__-- Message: 10 To: "AJROUD.ALI" Cc: nagios-users at lists.sourceforge.net, nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Oracle database plugging From: joseph.petrucci at wachovia.com Date: Thu, 26 Jan 2006 07:28:53 -0500 This is a multipart message in MIME format. --=_alternative 0044905A85257102_= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 T04gc29tZSBBSVggbWFjaGluZXMgSSBzZXR1cCBmb3IgYSBjbGllbnQgb2YgbWluZSBJIHVzZWQg Y2hlY2tfYnlfc3NoIGZyb20gDQp0aGUgTkFnaW9zIG1hY2hpbmUgdG8gcnVuIHRoZSAgY2hlY2tf cHJvYyBwbHVnaW4gb24gdGhlIEFJWCBtYWNoaW5lLg0KDQpIb3BlIHRoYXRzIGEgZGlyZWN0aW9u IGZvciB5b3UuDQoNCg0KSm9lIFBldHJ1Y2NpIFwNCk9mZmljZTogNzA0LTM4My02MDg5DQpDZWxs IDogNzI0LTQ2Mi0wNDQzDQoNCg0KDQoNCiJBSlJPVUQuQUxJIiA8YWxpLmFqcm91ZEBhdG9zb3Jp Z2luLmNvbT4gDQpTZW50IGJ5OiBuYWdpb3MtdXNlcnMtYWRtaW5AbGlzdHMuc291cmNlZm9yZ2Uu bmV0DQowMS8yNi8yMDA2IDA3OjIzIEFNDQoNCg0KVG8NCjxuYWdpb3MtdXNlcnNAbGlzdHMuc291 cmNlZm9yZ2UubmV0Pg0KY2MNCg0KU3ViamVjdA0KW05hZ2lvcy11c2Vyc10gT3JhY2xlIGRhdGFi YXNlIHBsdWdnaW5nDQoNCg0KDQoNCg0KDQpIaSBhbGwsDQoNCkkgbG9vayBmb3IgYSBwbHVnLWlu IHRvIG92ZXJzZWUgdGhlIE9yYWNsZSBkYXRhYmFzZSBwcm9jZXNzZXMgKG9yYV8qKQ0KDQpOYWdp b3Mgc2VydmVyIGFuZCBjbGllbnRzIGFyZSBBSVggNS4yDQoNClRoYW5rcyBmb3IgaGVscC4NCg0K QmVzdCByZWdhcmRzLg0KIA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT09PT09PT09PT0NCkFsaSBBSlJPVUQgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgIG1haWwgOiANCmFsaS5hanJvdWRAYXRvc29yaWdpbi5jb20NCkF0b3MgT3Jp Z2luIEluZm9nw6lyYW5jZSAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICBUw6lsIDog ICAgICszMyANCigwKTEgNDYgMTQgNDggOTkNCklNUyDigJMgUMO0bGUgQ2xpZW50cyBFUlAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIEdTTSA6ICArMzMgKDApNiANCjc0IDA4IDcz IDI4DQpUb3VyIEhvcml6b24g4oCTIDY0IHJ1ZSBkdSA4IG1haSAxOTQ1DQo5MjAyNSBOYW50ZXJy ZSBDZWRleA0KPT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09 PT0NCg0KDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS0NClRoaXMgU0YubmV0IGVtYWlsIGlzIHNwb25zb3JlZCBieTogU3BsdW5rIEluYy4g RG8geW91IGdyZXAgdGhyb3VnaCBsb2cgDQpmaWxlcw0KZm9yIHByb2JsZW1zPyAgU3RvcCEgIERv d25sb2FkIHRoZSBuZXcgQUpBWCBzZWFyY2ggZW5naW5lIHRoYXQgbWFrZXMNCnNlYXJjaGluZyB5 b3VyIGxvZyBmaWxlcyBhcyBlYXN5IGFzIHN1cmZpbmcgdGhlICB3ZWIuICBET1dOTE9BRCBTUExV TkshDQpodHRwOi8vc2VsLmFzLXVzLmZhbGthZy5uZXQvc2VsP2NtZD1sbmsma2lkEDM0MzImYmlk IzA0ODYmZGF0EjE2NDINCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fDQpOYWdpb3MtdXNlcnMgbWFpbGluZyBsaXN0DQpOYWdpb3MtdXNlcnNAbGlzdHMuc291 cmNlZm9yZ2UubmV0DQpodHRwczovL2xpc3RzLnNvdXJjZWZvcmdlLm5ldC9saXN0cy9saXN0aW5m by9uYWdpb3MtdXNlcnMNCjo6OiBQbGVhc2UgaW5jbHVkZSBOYWdpb3MgdmVyc2lvbiwgcGx1Z2lu IHZlcnNpb24gKC12KSBhbmQgT1Mgd2hlbiANCnJlcG9ydGluZyBhbnkgaXNzdWUuIA0KOjo6IE1l c3NhZ2VzIHdpdGhvdXQgc3VwcG9ydGluZyBpbmZvIHdpbGwgcmlzayBiZWluZyBzZW50IHRvIC9k ZXYvbnVsbA0KDQpGb3J3YXJkU291cmNlSUQ6TlQwMDAwNUU3RSANCg0K --=_alternative 0044905A85257102_= Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: base64 DQo8YnI+PGZvbnQgc2l6ZT0yIGZhY2U9InNhbnMtc2VyaWYiPk9OIHNvbWUgQUlYIG1hY2hpbmVz IEkgc2V0dXAgZm9yIGEgY2xpZW50DQpvZiBtaW5lIEkgdXNlZCBjaGVja19ieV9zc2ggZnJvbSB0 aGUgTkFnaW9zIG1hY2hpbmUgdG8gcnVuIHRoZSAmbmJzcDtjaGVja19wcm9jDQpwbHVnaW4gb24g dGhlIEFJWCBtYWNoaW5lLjwvZm9udD4NCjxicj4NCjxicj48Zm9udCBzaXplPTIgZmFjZT0ic2Fu cy1zZXJpZiI+SG9wZSB0aGF0cyBhIGRpcmVjdGlvbiBmb3IgeW91LjwvZm9udD4NCjxicj4NCjxi cj4NCjxicj48Zm9udCBzaXplPTIgZmFjZT0ic2Fucy1zZXJpZiI+Sm9lIFBldHJ1Y2NpIFw8YnI+ DQpPZmZpY2U6IDcwNC0zODMtNjA4OTxicj4NCkNlbGwgOiA3MjQtNDYyLTA0NDM8YnI+DQo8L2Zv bnQ+DQo8YnI+DQo8YnI+DQo8YnI+DQo8dGFibGUgd2lkdGg9MTAwJT4NCjx0ciB2YWxpZ249dG9w Pg0KPHRkIHdpZHRoPTQwJT48Zm9udCBzaXplPTEgZmFjZT0ic2Fucy1zZXJpZiI+PGI+JnF1b3Q7 QUpST1VELkFMSSZxdW90Ow0KJmx0O2FsaS5hanJvdWRAYXRvc29yaWdpbi5jb20mZ3Q7PC9iPiA8 L2ZvbnQ+DQo8YnI+PGZvbnQgc2l6ZT0xIGZhY2U9InNhbnMtc2VyaWYiPlNlbnQgYnk6IG5hZ2lv cy11c2Vycy1hZG1pbkBsaXN0cy5zb3VyY2Vmb3JnZS5uZXQ8L2ZvbnQ+DQo8cD48Zm9udCBzaXpl PTEgZmFjZT0ic2Fucy1zZXJpZiI+MDEvMjYvMjAwNiAwNzoyMyBBTTwvZm9udD4NCjxicj4NCjx0 ZCB3aWR0aD01OSU+DQo8dGFibGUgd2lkdGg9MTAwJT4NCjx0cj4NCjx0ZD4NCjxkaXYgYWxpZ249 cmlnaHQ+PGZvbnQgc2l6ZT0xIGZhY2U9InNhbnMtc2VyaWYiPlRvPC9mb250PjwvZGl2Pg0KPHRk IHZhbGlnbj10b3A+PGZvbnQgc2l6ZT0xIGZhY2U9InNhbnMtc2VyaWYiPiZsdDtuYWdpb3MtdXNl cnNAbGlzdHMuc291cmNlZm9yZ2UubmV0Jmd0OzwvZm9udD4NCjx0cj4NCjx0ZD4NCjxkaXYgYWxp Z249cmlnaHQ+PGZvbnQgc2l6ZT0xIGZhY2U9InNhbnMtc2VyaWYiPmNjPC9mb250PjwvZGl2Pg0K PHRkIHZhbGlnbj10b3A+DQo8dHI+DQo8dGQ+DQo8ZGl2IGFsaWduPXJpZ2h0Pjxmb250IHNpemU9 MSBmYWNlPSJzYW5zLXNlcmlmIj5TdWJqZWN0PC9mb250PjwvZGl2Pg0KPHRkIHZhbGlnbj10b3A+ PGZvbnQgc2l6ZT0xIGZhY2U9InNhbnMtc2VyaWYiPltOYWdpb3MtdXNlcnNdIE9yYWNsZSBkYXRh YmFzZQ0KcGx1Z2dpbmc8L2ZvbnQ+PC90YWJsZT4NCjxicj4NCjx0YWJsZT4NCjx0ciB2YWxpZ249 dG9wPg0KPHRkPg0KPHRkPjwvdGFibGU+DQo8YnI+PC90YWJsZT4NCjxicj4NCjxicj4NCjxicj48 Zm9udCBzaXplPTI+PHR0PkhpIGFsbCw8YnI+DQo8YnI+DQpJIGxvb2sgZm9yIGEgcGx1Zy1pbiB0 byBvdmVyc2VlIHRoZSBPcmFjbGUgZGF0YWJhc2UgcHJvY2Vzc2VzIChvcmFfKik8YnI+DQo8YnI+ DQpOYWdpb3Mgc2VydmVyIGFuZCBjbGllbnRzIGFyZSBBSVggNS4yPGJyPg0KPGJyPg0KVGhhbmtz IGZvciBoZWxwLjxicj4NCjxicj4NCkJlc3QgcmVnYXJkcy48YnI+DQogPGJyPg0KPT09PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT08YnI+DQpBbGkgQUpST1VE ICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsg Jm5ic3A7DQombmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsg Jm5ic3A7DQombmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsg bWFpbCA6DQombmJzcDthbGkuYWpyb3VkQGF0b3NvcmlnaW4uY29tPGJyPg0KQXRvcyBPcmlnaW4g SW5mb2fDqXJhbmNlICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7DQom bmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7DQom bmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDtUw6lsIDogJm5ic3A7ICZuYnNwOyArMzMgKDApMSA0 NiAxNCA0OA0KOTk8YnI+DQpJTVMg4oCTIFDDtGxlIENsaWVudHMgRVJQICZuYnNwOyAmbmJzcDsg Jm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7DQombmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsg Jm5ic3A7ICZuYnNwOyAmbmJzcDsgJm5ic3A7DQombmJzcDsgJm5ic3A7ICZuYnNwOyAmbmJzcDsg R1NNIDogJm5ic3A7KzMzICgwKTYgNzQgMDggNzMgMjg8YnI+DQpUb3VyIEhvcml6b24g4oCTIDY0 IHJ1ZSBkdSA4IG1haSAxOTQ1PGJyPg0KOTIwMjUgTmFudGVycmUgQ2VkZXg8YnI+DQo9PT09PT09 PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PTxicj4NCjxicj4NCjxi cj4NCjxicj4NCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t LS0tLS0tLS08YnI+DQpUaGlzIFNGLm5ldCBlbWFpbCBpcyBzcG9uc29yZWQgYnk6IFNwbHVuayBJ bmMuIERvIHlvdSBncmVwIHRocm91Z2ggbG9nDQpmaWxlczxicj4NCmZvciBwcm9ibGVtcz8gJm5i c3A7U3RvcCEgJm5ic3A7RG93bmxvYWQgdGhlIG5ldyBBSkFYIHNlYXJjaCBlbmdpbmUgdGhhdA0K bWFrZXM8YnI+DQpzZWFyY2hpbmcgeW91ciBsb2cgZmlsZXMgYXMgZWFzeSBhcyBzdXJmaW5nIHRo ZSAmbmJzcDt3ZWIuICZuYnNwO0RPV05MT0FEDQpTUExVTkshPGJyPg0KaHR0cDovL3NlbC5hcy11 cy5mYWxrYWcubmV0L3NlbD9jbWQ9bG5rJmFtcDtraWQQMzQzMiZhbXA7YmlkIzA0ODYmYW1wO2Rh dBIxNjQyPGJyPg0KX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X188YnI+DQpOYWdpb3MtdXNlcnMgbWFpbGluZyBsaXN0PGJyPg0KTmFnaW9zLXVzZXJzQGxpc3Rz LnNvdXJjZWZvcmdlLm5ldDxicj4NCmh0dHBzOi8vbGlzdHMuc291cmNlZm9yZ2UubmV0L2xpc3Rz L2xpc3RpbmZvL25hZ2lvcy11c2Vyczxicj4NCjo6OiBQbGVhc2UgaW5jbHVkZSBOYWdpb3MgdmVy c2lvbiwgcGx1Z2luIHZlcnNpb24gKC12KSBhbmQgT1Mgd2hlbiByZXBvcnRpbmcNCmFueSBpc3N1 ZS4gPGJyPg0KOjo6IE1lc3NhZ2VzIHdpdGhvdXQgc3VwcG9ydGluZyBpbmZvIHdpbGwgcmlzayBi ZWluZyBzZW50IHRvIC9kZXYvbnVsbDxicj4NCjwvdHQ+PC9mb250Pg0KPGJyPjxmb250IHNpemU9 MiBjb2xvcj13aGl0ZSBmYWNlPSJzYW5zLXNlcmlmIj5Gb3J3YXJkU291cmNlSUQ6TlQwMDAwNUU3 RQ0KJm5ic3A7ICZuYnNwOzwvZm9udD4NCjxicj4NCg== --=_alternative 0044905A85257102_=-- --__--__-- Message: 11 Date: Thu, 26 Jan 2006 07:33:56 -0500 From: Todd Barbera Subject: Re: [Nagios-users] Oracle database plugging To: "AJROUD.ALI" , nagios-users at lists.sourceforge.net check_proc can be used to monitor processes. With my Oracle databases, I = use=20 the check_oracle plugin instead to verify that the database is up. Also, = I=20 have check_log2 watching the alert log for any ORA- strings so I'll know = if=20 we hit an error. Be sure to set your max checks to 1 if you use this. Todd ----- Original Message -----=20 From: "AJROUD.ALI" To: Sent: Thursday, January 26, 2006 7:23 AM Subject: [Nagios-users] Oracle database plugging Hi all, I look for a plug-in to oversee the Oracle database processes (ora_*) Nagios server and clients are AIX 5.2 Thanks for help. Best regards. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Ali AJROUD mail : ali.ajroud at atosorigin.com Atos Origin Infog=E9rance T=E9l : +33 (0)1 46 14 48 99 IMS - P=F4le Clients ERP GSM : +33 (0)6 74 08 73 28 Tour Horizon - 64 rue du 8 mai 1945 92025 Nanterre Cedex =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log fi= les for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&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 report= ing=20 any issue. ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 12 Date: Thu, 26 Jan 2006 14:40:37 +0200 From: moshe sharon To: Nagios Users Mailing List Subject: Re: [Nagios-users] NRPE-Problem ------=_Part_402_12118677.1138279237487 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hello This problem can be caused by several issues. you are trying to connect wit= h SSL client to non SSL server if so run check_nrpe -n and it will disable th= e ssl option. i think this error also occures if you did not set allowed_hosts=3D. remember to restart the NRPE_NT each time you = do changes in the configuration Moshe Sharon On 1/26/06, Kai Reese wrote: > > Hey everyone. > > I compiled the NRPE plugin on my nagios (Suse) box and it compiled and > installed just fine, with no warnings or errors. > > I also downloaded one of the NRPE_NT Plugins from the openexchange > forum, installed that and some service-checks like nt_cpuload on my > win2k machine. > > Now, when trying to run the plugin: > > nagios: ./check_nrpe -n -H -c nt_cpuload > > it responds with : > > CHECK_NRPE: Error receiving data from daemon. > > I'd be grateful for anyone giving me a hint where to look. > My host-to-check replies to a telnet IP 5666 just fine, so I don't > think it is any connection problem. Also, I made sure the service is > running on the w2k machine. > > Thanks, > > Kai Reese > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&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 > ------=_Part_402_12118677.1138279237487 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline
Hello
 
This problem can be caused by several issues. you are trying to connec= t with SSL client to non SSL server if so run check_nrpe -n and it wil= l disable the ssl option. i think this error also occures if you did not se= t allowed_hosts=3D<nagios ip>. remember to restart the NRPE_NT each t= ime you do changes in the configuration
 
Moshe Sharon

 
On 1/26/06, = Kai Reese <foranor at gmail.com> wrote:
Hey everyone.

I compiled = the NRPE plugin on my nagios (Suse) box and it compiled and
installed ju= st fine, with no warnings or errors.

I also downloaded one of the NRPE_NT Plugins from the openexchange<= br>forum, installed that and some service-checks like nt_cpuload on my
w= in2k machine.

Now, when trying to run the plugin:

nagios: ./c= heck_nrpe -n -H <myhost-to-check-ip> -c nt_cpuload

it responds with :

CHECK_NRPE: Error receiving data from dae= mon.

I'd be grateful for anyone giving me a hint where to look.
M= y host-to-check replies to a telnet IP 5666 just fine, so I don't
think = it is any connection problem. Also, I made sure the service is
running on the w2k machine.

Thanks,

Kai Reese


= -------------------------------------------------------
This SF.net emai= l is sponsored by: Splunk Inc. Do you grep through log files
for problem= s?  Stop!  Download the new AJAX search engine that mak= es
searching your log files as easy as surfing the  web. &n= bsp;DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?= cmdlnk&kid=103432&bid#0486&dat=121642
_______________________________________________
Nagios-users mai= ling list
Nagios-u= sers at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please= include Nagios version, plugin version (-v) and OS when reporting any issu= e.
::: Messages without supporting info will risk being sent to /dev/nul= l

------=_Part_402_12118677.1138279237487-- --__--__-- Message: 13 Subject: RE: [Nagios-users] Host Status problems Date: Thu, 26 Jan 2006 14:50:05 +0200 From: "Richard Mayhew" To: "Chris Goosen" , This is a multi-part message in MIME format. ------_=_NextPart_001_01C62277.61A00100 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable Hi, =20 Try increasing your time out on your host check and see if it helps? How bad is the latency on your network, and the hosts you are having problems with, are they on your LAN or remote sites? =20 -- Regards Richard Mayhew Unix Specialist MWEB Business Tel: + 27 11 340 7200 Fax: + 27 11 340 7288 Website: www.mwebbusiness.co.za =20 =20 ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Chris Goosen Sent: 24 January 2006 04:39 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Host Status problems Hello group.. =20 I have been having this problem for some time now and I am getting desperate.. =20 My Nagios central server reports certain hosts as being down with the errors: "(No Information Returned From Host Check)" or "Plugin timed out after 10 seconds" =20 The distribution server on those sites report everything as being in order, can anyone help me with this? =20 Chris Goosen IT Consultant Artec Computer Systems Tel: 011 326 1188 Fax: 011 326 1311 Mobile: 082 464 3091 Web Site: www.artec.co.za =20 Artec Computer Systems (Proprietary) Limited (Registration Number 99/27023/07)=20 Directors: Andrew Tucker*, Andrew Yates, Patrick Maddox, Peter Mason*, *Non Executive Confidentiality Notice :=20 This page and any accompanying documents contain confidential information intended for a specific individual and purpose. This information is private and protected by law. If you are not the intended recipient, you are hereby notified that any disclosure, copying or distribution, or the taking of any action based on this information, is strictly prohibited.=20 Email transmission cannot be guaranteed to be secure or error free, as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message which arise as a result of email transmission. If verification of this email or any attachment hereto is required, please request a hard copy version.=20 =20 ------_=_NextPart_001_01C62277.61A00100 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable
Hi,
 
Try increasing your time out on your host = check and see=20 if it helps? How bad is the latency on your network, and the hosts you = are=20 having problems with, are they on your LAN or remote = sites?
 
--

Regards

Richard = Mayhew
Unix=20 Specialist

MWEB Business
Tel:  + 27 11 340 = 7200
Fax:  +=20 27 11 340 7288
Website: www.mwebbusiness.co.za
=
 


From: = nagios-users-admin at lists.sourceforge.net=20 [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of = Chris=20 Goosen
Sent: 24 January 2006 04:39 PM
To:=20 nagios-users at lists.sourceforge.net
Subject: [Nagios-users] = Host Status=20 problems

Hello=20 group..

 

I have been having this = problem for=20 some time now and I am getting desperate..

 

My Nagios central server = reports=20 certain hosts as being down with the errors:  “(No = Information Returned=20 >From Host Check)” or “Plugin timed out after 10=20 seconds”

 

The distribution server on = those=20 sites report everything as being in order, can anyone help me with=20 this?

 

Chris=20 Goosen

IT=20 Consultant

Artec = Computer=20 Systems

Tel:

011 326=20 1188

Fax:

011 326=20 1311

Mobile:

082 464=20 3091

Web Site:  www.artec.co.za<= /SPAN>=20
Artec Computer Systems (Proprietary) Limited (Registration Number=20 99/27023/07)

Directors:=20 Andrew Tucker*, Andrew = Yates, Patrick=20 Maddox, Peter Mason*, *Non Executive

Confidentiality=20 Notice :
This page and any=20 accompanying documents contain confidential information intended for a = specific=20 individual and purpose. This information is private and protected by = law. If you=20 are not the intended recipient, you are hereby notified that any = disclosure,=20 copying or distribution, or the taking of any action based on this = information,=20 is strictly prohibited.

Email transmission cannot = be=20 guaranteed to be secure or error free, as information could be = intercepted,=20 corrupted, lost, destroyed, arrive late or incomplete, or contain = viruses. The=20 sender therefore does not accept liability for any errors or omissions = in the=20 contents of this message which arise as a result of email=20 transmission.

If verification of this = email or any=20 attachment hereto is required, please request a hard copy version.=20

 

------_=_NextPart_001_01C62277.61A00100-- --__--__-- Message: 14 Date: Thu, 26 Jan 2006 14:42:13 +0100 From: Kai Reese To: Nagios Users Mailing List Subject: Re: [Nagios-users] NRPE-Problem Hey. Thanks for the reply. I compiled the nrpe-plugin on the nagios host with ssl-disabled. The config= on the to-be-checked-host has the ip of the nagios server in the allowed_h= osts, too, so I would say these are not the reasons for the error.=20 Never the less, SSL seems to be the problem. Is there any way I can disable= SSL on the to-be-checked host? The binary I got from Openexchange seems to= expect SSL and in the nrpe.cfg is no option documented to disable it again= . Thanks again for putting me on the right track. (BTW: enabling debug mode i= n nrpe.cfg helped some, too :) ) On 1/26/06, moshe sharon wrote: > Hello > =20 > This problem can be caused by several issues. you are trying to connect w= ith > SSL client to non SSL server if so run check_nrpe -n and it will disable = the > ssl option. i think this error also occures if you did not set > allowed_hosts=3D. remember to restart the NRPE_NT each time yo= u do > changes in the configuration=20 > =20 > Moshe Sharon >=20 > =20 > On 1/26/06, Kai Reese wrote:=20 > >=20 > > Hey everyone. > >=20 > > I compiled the NRPE plugin on my nagios (Suse) box and it compiled and > > installed just fine, with no warnings or errors.=20 > >=20 > > I also downloaded one of the NRPE_NT Plugins from the openexchange > > forum, installed that and some service-checks like nt_cpuload on my > > win2k machine. > >=20 > > Now, when trying to run the plugin: > >=20 > > nagios: ./check_nrpe -n -H -c nt_cpuload=20 > >=20 > > it responds with : > >=20 > > CHECK_NRPE: Error receiving data from daemon. > >=20 > > I'd be grateful for anyone giving me a hint where to look. > > My host-to-check replies to a telnet IP 5666 just fine, so I don't > > think it is any connection problem. Also, I made sure the service is=20 > > running on the w2k machine. > >=20 > > Thanks, > >=20 > > Kai Reese > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > for problems? Stop! Download the new AJAX search engine that makes=20 > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&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= =20 > >=20 >=20 >=20 --__--__-- Message: 15 Date: Thu, 26 Jan 2006 15:23:29 +0100 From: Toto Capuccino To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios Grapher ------=_Part_313_16555547.1138285409650 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, where can i get Nagios Grapher ? The link in nagios exchange is empty and i can't get it with google... Thanks ------=_Part_313_16555547.1138285409650 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi,

where can i get Nagios Grapher ? The link in nagios exchange is = empty and i can't get it with google...

Thanks
------=_Part_313_16555547.1138285409650-- --__--__-- Message: 16 From: Thomas.Zimmer at oppenheim.de To: nagios-users at lists.sourceforge.net Date: Thu, 26 Jan 2006 15:37:10 +0100 Subject: [Nagios-users] Plugin to monitor ressources used per user/process? This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_000_01C62285.FD82D6DF Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C62285.FD82D6DF" ------_=_NextPart_001_01C62285.FD82D6DF Content-Type: text/plain Hi all, Is there any plugin which can monitor the (cpu-) ressources used by a certain user? How can i monitor all the cpu-ressources in correlation used by a certain type/name of process (e.g. cpu-usage of all httpd-processes)? Is there any plugin which can do this? Thanx in advance, Thomas Zimmer Produktservice & Betrieb Betrieb & Support Sal. Oppenheim jr. & Cie., Frankfurt a. Main Telefon: +49 69 7134 5192 Internet: http://www.oppenheim.de E-Mail: thomas.zimmer at oppenheim.de <> ------_=_NextPart_001_01C62285.FD82D6DF Content-Type: text/html Content-Transfer-Encoding: quoted-printable Plugin to monitor ressources used per user/process?

Hi all,

Is there any plugin which can monitor the = (cpu-) ressources used by a certain user? How can i monitor all the cpu-res= sources in correlation used by a certain type/name of process (e.g. cpu-usa= ge of all httpd-processes)?

Is there any plugin which can do this?

Thanx in advance,

Thomas Zimmer
Produktservice & Betrieb
Betrieb & Support
Sal. Oppenheim jr. & Cie., Frankfurt = a. Main
Telefon: +49 69 7134 5192
Internet: http://www.o= ppenheim.de
E-Mail: thomas.zimmer at o= ppenheim.de

<<Zimmer, Thomas = (Produktservices und Betrieb).vcf>>

------_=_NextPart_001_01C62285.FD82D6DF-- ------_=_NextPart_000_01C62285.FD82D6DF Content-Type: application/octet-stream; name="Zimmer, Thomas (Produktservices und Betrieb).vcf" Content-Disposition: attachment; filename="Zimmer, Thomas (Produktservices und Betrieb).vcf" BEGIN:VCARD VERSION:2.1 N:Zimmer;Thomas FN:Zimmer, Thomas (Produktservices und Betrieb) ORG:;Produktservices und Betrieb ADR;WORK:;;;FFM (Frankfurt) LABEL;WORK:FFM (Frankfurt) EMAIL;PREF;INTERNET:Thomas.Zimmer at oppenheim.de REV:20050930T105258Z END:VCARD ------_=_NextPart_000_01C62285.FD82D6DF-- --__--__-- Message: 17 Subject: Re: [Nagios-users] Nagios Grapher From: Don Lewis Reply-To: donnell.lewis at icoretechnology.com To: Toto Capuccino Cc: nagios-users at lists.sourceforge.net Organization: iCore Technology Corp. Date: Thu, 26 Jan 2006 11:06:10 -0500 http://nagiosgraph.sourceforge.net/ On Thu, 2006-01-26 at 15:23 +0100, Toto Capuccino wrote: > Hi, > > where can i get Nagios Grapher ? The link in nagios exchange is empty > and i can't get it with google... > > Thanks --__--__-- Message: 18 Subject: RE: [Nagios-users] Question about Nagios configuration Date: Thu, 26 Jan 2006 10:31:53 -0600 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 Kannberg, Andy > Sent: Thursday, January 26, 2006 2:05 AM > To: 'nagios-users at lists.sourceforge.net' > Subject: [Nagios-users] Question about Nagios configuration >=20 > Hi all, >=20 > I'm confused about my Nagios configuration. My Nagios monitoring host is > Linux (Slackware ) box. All clients I need to monitor are Tru64 boxes. >=20 > So, I was able to compile NRPE on the Tru64 boxes, but it appears I need > all plugins locally on the system. So I want to install the standard That's correct. NRPE =3D=3D Nagios Remote Plugin Executer with emphasis = on Remote Plugin. The plugins you intend to use must be installed on the destination machine. > plugins pack (nagios-plugins-1.4.2.tar), but the README tells me it > expects nagios to be installed. Do I need to install Nagios on all clients > also ? No you don't. The plugins can be run independent of Nagios. NRPE will effectively take its place. -- Marc --__--__-- Message: 19 Date: Thu, 26 Jan 2006 17:35:45 +0100 From: Toto Capuccino To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Grapher ------=_Part_1189_5043105.1138293345356 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cheers, did you try it ? The install file told to put variables that are refused by nagios : service_perfdata_file=3D/var/spool/nagios/perfdata.log service_perfdata_file_template=3D$LASTSERVICECHECK$||$HOSTNAME$||$SERVICEDE= SC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ service_perfdata_file_mode=3Da service_perfdata_file_processing_interval=3D30 service_perfdata_file_processing_command=3Dprocess-service-perfdata 2006/1/26, Don Lewis : > > http://nagiosgraph.sourceforge.net/ > > On Thu, 2006-01-26 at 15:23 +0100, Toto Capuccino wrote: > > Hi, > > > > where can i get Nagios Grapher ? The link in nagios exchange is empty > > and i can't get it with google... > > > > Thanks > > ------=_Part_1189_5043105.1138293345356 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cheers, did you try it ? The install file told to put variables that are re= fused by nagios :
service_perfdata_file=3D/var/spool/nagios/perfdata.log=
service_perfdata_file_template=3D$LASTSERVICECHECK$||$HOSTNAME$||$SERVI= CEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
service_perfdata_file_mode=3Da
service_perfdata_file_processing_inte= rval=3D30
service_perfdata_file_processing_command=3Dprocess-service-per= fdata

2006/1/26, Don Lewis < donnell.lewis at icoretechnology.com>:
http://nagiosgraph.sourceforge.net/

On Thu, 2006-01-26 at 15:23 = +0100, Toto Capuccino wrote:
> Hi,
>
> where can i get Na= gios Grapher ? The link in nagios exchange is empty
> and i can't get= it with google...
>
> Thanks


------=_Part_1189_5043105.1138293345356-- --__--__-- Message: 20 Date: Thu, 26 Jan 2006 17:43:49 +0100 From: Toto Capuccino To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Nagios Grapher ------=_Part_1337_18939651.1138293829389 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Plus i was talking about Nagios Grapher (from netways i think) not Nagiosgraph ;) 2006/1/26, Toto Capuccino : > > Cheers, did you try it ? The install file told to put variables that are > refused by nagios : > service_perfdata_file=3D/var/spool/nagios/perfdata.log > service_perfdata_file_template=3D$LASTSERVICECHECK$||$HOSTNAME$||$SERVICE= DESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$ > > service_perfdata_file_mode=3Da > service_perfdata_file_processing_interval=3D30 > service_perfdata_file_processing_command=3Dprocess-service-perfdata > > 2006/1/26, Don Lewis < donnell.lewis at icoretechnology.com>: > > > > http://nagiosgraph.sourceforge.net/ > > > > On Thu, 2006-01-26 at 15:23 +0100, Toto Capuccino wrote: > > > Hi, > > > > > > where can i get Nagios Grapher ? The link in nagios exchange is empty > > > and i can't get it with google... > > > > > > Thanks > > > > > ------=_Part_1337_18939651.1138293829389 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Plus i was talking about Nagios Grapher (from netways i think) not Nagiosgr= aph ;)

2006/1/26, Toto Capuccino &l= t;shoktai at gmail.com>: Cheers, did you try it ? The install file told to put variables that are re= fused by nagios :
service_perfdata_file=3D/var/spool/nagios/perfdata.log=
service_perfdata_file_template=3D$LASTSERVICECHECK$||$HOSTNAME$||$SERVI= CEDESC$||$SERVICEOUTPUT$||$SERVICEPERFDATA$
service_perfdata_file_mode=3Da
service_perfdata_file_processing_inte= rval=3D30
service_perfdata_file_processing_command=3Dprocess-service-per= fdata

2006/1/26, Don Lewis < donnell.lewis at icoretechnology.com>:
http://nagiosgraph.sourceforge.net/

On Thu, 2006-01-26 at 15:23 = +0100, Toto Capuccino wrote:
> Hi,
>
> where can i get Na= gios Grapher ? The link in nagios exchange is empty
> and i can't get= it with google...
>
> Thanks



------=_Part_1337_18939651.1138293829389-- --__--__-- Message: 21 From: Rob Ford To: nagios-users at lists.sourceforge.net Date: Thu, 26 Jan 2006 16:48:34 +0000 Subject: [Nagios-users] Rob Ford is out of the office. I will be out of the office starting 26/01/2006 and will not return until 30/01/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 --__--__-- Message: 22 Subject: RE: [Nagios-users] NRPE-Problem Date: Thu, 26 Jan 2006 18:06:04 +0100 From: To: , Kai, The pre-build nrpe_nt binaries have ssl enabled by default, try to deinstall=20 "nrpe_nt -u"=20 then "nrpe_nt -i -n"=20 to install with ssl disabled. cheers MiWi=20 -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Kai Reese Sent: Thursday, January 26, 2006 2:42 PM To: Nagios Users Mailing List Subject: Re: [Nagios-users] NRPE-Problem Hey. Thanks for the reply. I compiled the nrpe-plugin on the nagios host with ssl-disabled. The config on the to-be-checked-host has the ip of the nagios server in the allowed_hosts, too, so I would say these are not the reasons for the error.=20 Never the less, SSL seems to be the problem. Is there any way I can disable SSL on the to-be-checked host? The binary I got from Openexchange seems to expect SSL and in the nrpe.cfg is no option documented to disable it again. Thanks again for putting me on the right track. (BTW: enabling debug mode in nrpe.cfg helped some, too :) ) On 1/26/06, moshe sharon wrote: > Hello > =20 > This problem can be caused by several issues. you are trying to connect with > SSL client to non SSL server if so run check_nrpe -n and it will disable the > ssl option. i think this error also occures if you did not set > allowed_hosts=3D. remember to restart the NRPE_NT each time you do > changes in the configuration=20 > =20 > Moshe Sharon >=20 > =20 > On 1/26/06, Kai Reese wrote:=20 > >=20 > > Hey everyone. > >=20 > > I compiled the NRPE plugin on my nagios (Suse) box and it compiled and > > installed just fine, with no warnings or errors.=20 > >=20 > > I also downloaded one of the NRPE_NT Plugins from the openexchange > > forum, installed that and some service-checks like nt_cpuload on my > > win2k machine. > >=20 > > Now, when trying to run the plugin: > >=20 > > nagios: ./check_nrpe -n -H -c nt_cpuload=20 > >=20 > > it responds with : > >=20 > > CHECK_NRPE: Error receiving data from daemon. > >=20 > > I'd be grateful for anyone giving me a hint where to look. > > My host-to-check replies to a telnet IP 5666 just fine, so I don't > > think it is any connection problem. Also, I made sure the service is > > running on the w2k machine. > >=20 > > Thanks, > >=20 > > Kai Reese > >=20 > >=20 > > ------------------------------------------------------- > > This SF.net email is sponsored by: Splunk Inc. Do you grep through log > files > > for problems? Stop! Download the new AJAX search engine that makes > > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid=103432&bid#0486&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=20 > >=20 >=20 >=20 ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=103432&bid#0486&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.=20 ::: Messages without supporting info will risk being sent to /dev/null --__--__-- Message: 23 Date: Thu, 26 Jan 2006 18:00:55 +0100 (CET) From: pespinar at oasismp.net To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Nagios nrpe on AIX Dear all, I have seen in the nagios mailing list that it is possible to compile and execute nrpe on aix 5.2 systems. My question is that I am trying to do th= e same but I am having problems with the check_disk plugin. The following occurs: If I perform /nagios/libexec/check_disk -w 20 -c 10 -p /dev/hd1 I get an error (something like -p parameter is not valid ...). I have tried also: /nagios/libexec/check_disk -w 20 -c 10 -x /dev/hd1 and with this command I have a valid response but regarding all of disks, not just the /dev/hd1: DISK CRITICAL - free space: /var 1674 MB (82% inode=3D100%): /tmp 702 MB (69% inode=3D99%): /home 1628 MB (79% inode=3D100%): /proc 0 MB (0% inode=3DNANQ%): /opt 2017 MB (99% inode=3D100%): /oracle 75654 MB (55% inode=3D100%): /oracle/u04 6838 MB (21% inode=3D100%): /oracle/u04/export= s-nfs 114461 MB (60% inode=3D100%): Could you please confirm the exact syntax of the check_disk command and i= f for anyone of you it is working on aix 5.2 boxes? Un saludo, Pablo --__--__-- Message: 24 Date: Thu, 26 Jan 2006 12:15:00 -0500 From: "Chad Osmond" To: Subject: [Nagios-users] Notification script problems.. How do I debug Hi, I'm updating my notification to send SMS messages across the Canadian Rogers network. I've found a WWW to SMS gateway that lets me send messages, but I need to find why my script is failing. My Notification script is as follows:=20 # 'notify-by-sms' command definition define command{ command_name notify-by-sms command_line /usr/lib/nagios/plugins/sms-msg.pl -m "Host '$HOSTALIAS$' is $HOSTSTATE$\nInfo: $OUTPUT$\nTime: $DATETIME$"=20 -p $CONTACTPAGER$ } My Script: /usr/lib/nagios/plugins/sms-msg.pl expects -m "message" -p 9055551212 and then feeds that into a system(curl ....); command. I couldn't get LWP to work, so I used a system (curl); command. If I copy the command line and fill in the values, it works fine. But if I make a service go critical I don't receive notification, although my e-mail notification works.. Any suggestions, or ideas? --__--__-- _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users End of Nagios-users Digest ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Mon May 29 19:07:14 2006 From: matthias.eble at mailing.kaufland-informationssysteme.com (Matthias Eble) Date: Mon, 29 May 2006 19:07:14 +0200 Subject: ndo-utils: create table fails under mysql 4.0 Message-ID: <447B2A42.3030408@mailing.kaufland-informationssysteme.com> hi all, I just tried to set up the ndo db-structure (mysql.sql) on a 4.0 mysql instance but it seems that the create syntax has changed from 4.0 to 4.1 since the DEFAULT keyword in front of CHARSET=ascii is not accepted. The setup works flawlessly on my laptop (mysql 4.1). Has anyone else experienced problems like this? I couldn't find anythin in the list archives.. thanks matthias ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Mon May 29 23:04:34 2006 From: hvdkooij at vanderkooij.org (Hugo van der Kooij) Date: Mon, 29 May 2006 23:04:34 +0200 (CEST) Subject: Auth problems In-Reply-To: <447AE423.4000500@spiderwall.com> References: <4476AFE8.4040202@spiderwall.com> <447AE423.4000500@spiderwall.com> Message-ID: On Mon, 29 May 2006, Nicola Agnelli wrote: > Hugo van der Kooij wrote: > > On Fri, 26 May 2006, Nicola Agnelli wrote: > > > >>> > >>> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > >>> > >>> AllowOverride AuthConfig > >>> Options ExecCGI > >>> Order allow,deny > >>> Allow from all > >>> > >>> Alias /nagios /usr/nagios/share/ > >>> > >>> AllowOverride AuthConfig > >>> Order allow,deny > >>> Allow from all > >>> > >>> > > > > Why didn't you put the authentication here? Using .htaccess files is a > > substitute for putting authentication into the httpd.conf file. It is only > > intended for cases where you can not change httpd.conf itself. > > > >> Unfortunatly i still having problems with auth.. i can't login in noway! > > > > Pick up the apache manual and build a test directory on your webserver and > > see that you can get user authentication working on there following the > > samples in the apache manual. > > > > Once you figure it out you can translate the solution to the nagios > > sections. > > > > Untill you get the sample section working as shown on > > http://httpd.apache.org/docs/2.0/howto/auth.html there is little point in > > trying anything else. > > > > This is not a Nagios issue but an issue of you trying to understand your > > apache server. > > > > Hugo. > > > i've changed my /etc/apache2/modules.d/99_nagios.conf: > > > ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ > > # AllowOverride AuthConfig > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > Options ExecCGI > Order allow,deny > Allow from all > > Alias /nagios /usr/nagios/share/ > > # AllowOverride AuthConfig > AuthName "Nagios Access" > AuthType Basic > AuthUserFile /etc/nagios/htpasswd.users > require valid-user > Order allow,deny > Allow from all > > > > > > I've restarted apache but nothing changed :s .. I give up. If you can't follow instructions and test with a regular directory first then why should I bother? 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. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 markham_breitbach at ssimicro.com Mon May 29 23:46:34 2006 From: markham_breitbach at ssimicro.com (markham breitbach) Date: Mon, 29 May 2006 15:46:34 -0600 Subject: Nagios 2.x + FreeBSD 5.x In-Reply-To: <1148732492.17359.48.camel@rabid> References: <6.2.3.4.0.20060526175811.034777d0@vigil.ssimicro.com> <1148732492.17359.48.camel@rabid> Message-ID: <6.2.3.4.0.20060529153854.01e3b868@mail.ssimicro.com> Thanks for the quick answer. We're up to about 2000 services distributed across about 50 sites, so It looks like we have some room to grow. -M At 06:21 AM 5/27/2006, Dan Hopkins wrote: >On Fri, 2006-05-26 at 18:04 -0600, Markham Breitbach wrote: >> Hello, >> >> We currently have a fairly large intallation of Nagios 1.x and I am considering upgrading to the 2.x branch, but a while back there was a rather large warning posted indicating that there were some serious problems with FreeBSD 5.x threading and Nagios 2.x, but now I cannot find a mention of it anywhere. >> >> I am a bit nervous about this, and would appreciate if someone could let me know if this is still a problem, or if this ever really was a problem or if It was all a terrible nightmare and I should go back on my meds... *grin* > > >I'd say it depends on your definition of 'large'. We had equal problems >with Nagios 1 and 2 on FreeBSD 5.x with more than around 6000 services >IIRC. Ended up running the masters on FreeBSD 4 and the distributed >slaves on 5.x, which seemed to cope for a while. But at around >8000-10000 monitors, it failed to cope completely. Finally gave up and >switched to Debian (much better) > >-- >Dan > > >------------------------------------------------------- >All the advantages of Linux Managed Hosting--Without the Cost and Risk! >Fully trained technicians. The highest number of Red Hat certifications in >the hosting industry. Fanatical Support. Click to learn more >http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Tue May 30 07:15:10 2006 From: robert.binz at gmail.com (Robert Binz) Date: Mon, 29 May 2006 22:15:10 -0700 Subject: nagiosgrapher - no pipe starting Message-ID: Hello everyone - I have nagios 2.3.1 up and running and monitoring hosts via nrpe. I an now trying to get the NagiosGrapher to function. I have followed the install and config options. I start the collect2.pl and find that it is running: nagios 20703 1 0 00:32 ? 00:00:00 /usr/bin/perl /usr/local/nagios/contrib/collect2.pl But the pipe is not being created in the /var/lib/nagios directory [xxxx at Dell-Linux nagios]# ls -la total 12 drwxr-xr-x 3 nagios nagios 4096 May 28 23:36 ./ drwxr-xr-x 22 root root 4096 May 28 21:32 ../ drwxr-xr-x 2 nagios nagios 4096 May 28 23:36 rrd/ Can anyone offer a suggestion to the issue? Thanks Robert ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 nicola.agnelli at spiderwall.com Tue May 30 08:55:46 2006 From: nicola.agnelli at spiderwall.com (Nicola Agnelli) Date: Tue, 30 May 2006 08:55:46 +0200 Subject: Auth problems In-Reply-To: References: <4476AFE8.4040202@spiderwall.com> <447AE423.4000500@spiderwall.com> Message-ID: <447BEC72.5040400@spiderwall.com> Hugo van der Kooij wrote: > On Mon, 29 May 2006, Nicola Agnelli wrote: > >> Hugo van der Kooij wrote: >>> On Fri, 26 May 2006, Nicola Agnelli wrote: >>> >>>>> >>>>> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ >>>>> >>>>> AllowOverride AuthConfig >>>>> Options ExecCGI >>>>> Order allow,deny >>>>> Allow from all >>>>> >>>>> Alias /nagios /usr/nagios/share/ >>>>> >>>>> AllowOverride AuthConfig >>>>> Order allow,deny >>>>> Allow from all >>>>> >>>>> >>> Why didn't you put the authentication here? Using .htaccess files is a >>> substitute for putting authentication into the httpd.conf file. It is only >>> intended for cases where you can not change httpd.conf itself. >>> >>>> Unfortunatly i still having problems with auth.. i can't login in noway! >>> Pick up the apache manual and build a test directory on your webserver and >>> see that you can get user authentication working on there following the >>> samples in the apache manual. >>> >>> Once you figure it out you can translate the solution to the nagios >>> sections. >>> >>> Untill you get the sample section working as shown on >>> http://httpd.apache.org/docs/2.0/howto/auth.html there is little point in >>> trying anything else. >>> >>> This is not a Nagios issue but an issue of you trying to understand your >>> apache server. >>> >>> Hugo. >>> >> i've changed my /etc/apache2/modules.d/99_nagios.conf: >> >> >> ScriptAlias /nagios/cgi-bin/ /usr/nagios/sbin/ >> >> # AllowOverride AuthConfig >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /etc/nagios/htpasswd.users >> require valid-user >> Options ExecCGI >> Order allow,deny >> Allow from all >> >> Alias /nagios /usr/nagios/share/ >> >> # AllowOverride AuthConfig >> AuthName "Nagios Access" >> AuthType Basic >> AuthUserFile /etc/nagios/htpasswd.users >> require valid-user >> Order allow,deny >> Allow from all >> >> >> >> >> >> I've restarted apache but nothing changed :s .. > > I give up. If you can't follow instructions and test with a regular > directory first then why should I bother? > > Hugo. > I solved, thank you for precious help. -- Nicola ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 atstake at gmail.com Tue May 30 10:13:14 2006 From: atstake at gmail.com (atstake atstake) Date: Tue, 30 May 2006 18:13:14 +1000 Subject: external command execution problem Message-ID: <8adc88580605300113t75fed19bkeb204d3e316350fd@mail.gmail.com> I been trying to reschedule checks & nagios tells me "Error: Could not stat() command file '/usr/local/nagios/var/rw/nagios.cmd'!" I followed - http://nagios.sourceforge.net/docs/2_0/commandfile.html Nagios runs are user: _nagios Apache runs as user: www Here are some outputs - grep _nagios /etc/passwd _nagios:*:550:550:Nagios user:/var/www/nagios:/sbin/nologin ls -ld /usr/local/nagios/var/rw/ drwxrwxrwx 2 _nagios nagiocmd 512 May 29 15:41 /usr/local/nagios/var/rw/ ls -la /usr/local/nagios/var/rw/nagios.cmd prwxrwxrwx 1 _nagios nagiocmd 0 May 29 15:41 /usr/local/nagios/var/rw/nagios.cmd grep nagios /etc/group www:*:67:_nagios _nagios:*:550:www,_nagios nagiocmd:*:1005:_nagios,www,nagiosadmin grep ^User /var/www/conf/httpd.conf User www grep ^Group /var/www/conf/httpd.conf Group www ps auxww | grep httpd www 29128 0.0 1.9 1268 2404 ?? Ss 2:15PM 0:01.32 httpd: parent [chroot /var/www] (httpd) Nagiosn version: 2.0b4 OS: OpenBSD TIA. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Tue May 30 11:09:08 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Tue, 30 May 2006 10:09:08 +0100 Subject: SMS notification Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8423@indigo.G2Support.local> -----Original Message----- From: Oliver Marshall Sent: 29 May 2006 17:19 To: 'Nicki Messerschmidt, Linksystem Muenchen GmbH'; 'nagios-users-admin at lists.sourceforge.net' Subject: RE: [Nagios-users] SMS notification Out of curiosity, which clickatell.com package have you signed up for? I have been thinking about using them for SMS alerting from nagios, but I've been waiting to find someone else who can recommend them. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Nicki Messerschmidt, Linksystem Muenchen GmbH Sent: 29 May 2006 14:46 To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] SMS notification MAIGNAN Luc said the following: > what is the simplest way to be notified by sms instead of e-mail ? Well... I set up an account at www.clickatell.com. This is a email to sms gateway. Then I modified my email script. I think that it won't be more hassle than to setup a modem and sending directly. Cheers Nicki ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 greg.cope at e-dba.net Tue May 30 11:18:00 2006 From: greg.cope at e-dba.net (Greg Cope, e-DBA Team) Date: Tue, 30 May 2006 10:18:00 +0100 Subject: nrpe sockect timeouts In-Reply-To: <20060530085922.5566E19C77@slox.kempton.payplan> References: <20060530085922.5566E19C77@slox.kempton.payplan> Message-ID: <1148980680.2827.12.camel@dl.e-dba.net> HI All, When some of my hosts get a little busy (load 4+) I get loads of socket timeouts. Is the level of SSL (AES-something) I am using too high? Does the nrpe daemon need to be niced to get it some CPU? Or do people use xinetd? Each host runs about 10 local, nrpe checks every 5 mins or so. Extending the socket timeout on check_nrpe can be done globally on the nagios server, but this seems a kludge as 10secs should be more than enough to get a connection. Any thoughts? Greg On Tue, 2006-05-30 at 09:59 +0100, nagios wrote: > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: LOAD > Host: Oracle Rac Node 1 > Address: > State: CRITICAL > > Date/Time: Tue May 30 09:59:22 BST 2006 > > Additional Info: > > CHECK_NRPE: Socket timeout after 10 seconds. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Tue May 30 11:41:40 2006 From: m.borsani at it.net (Marco Borsani) Date: Tue, 30 May 2006 11:41:40 +0200 Subject: R: SMS notification In-Reply-To: <1148904373.15469.1.camel@luca> References: <1148904373.15469.1.camel@luca> Message-ID: <002d01c683cd$41244c30$0900d40a@intranet.it.net> Does anybody use smstools on HP-UX platform? I installed it easily on Linux, but I can not do it on HP-UX 11.0. I received this error message: modeminit.c: In function 'write_to_modem': modeminit.c:58: error: 'MCTS' undeclared (first use in this function) modeminit.c:58: error: (Each undeclared identifier is reported only once modeminit.c:58: error: for each function it appears in.) modeminit.c: In function 'setmodemparams': modeminit.c:193: warning: incompatible implicit declaration of built-in function 'bzero' gmake[1]: *** [modeminit.o] Error 1 gmake: *** [compile] Error 2 Any idea? Marco -}-----Messaggio originale----- -}Da: nagios-users-admin at lists.sourceforge.net -}[mailto:nagios-users-admin at lists.sourceforge.net] Per conto -}di Luca Corti -}Inviato: luned? 29 maggio 2006 14.06 -}A: MAIGNAN Luc -}Cc: nagios-users at lists.sourceforge.net -}Oggetto: Re: [Nagios-users] SMS notification -} -}On Mon, 2006-05-29 at 14:02 +0200, MAIGNAN Luc wrote: -}> what is the simplest way to be notified by sms instead of e-mail ? -} -}Installing an AT GSM Modem and management software and -}customising your notification command. -} -}http://smstools.meinemullemaus.de/ -} -} -}-- -}Luca Corti -}PGP Key ID 1F38C091 -}BOFH excuse of the moment: -}knot in cables caused data stream to become twisted and kinked -} -} -} -}------------------------------------------------------- -}All the advantages of Linux Managed Hosting--Without the Cost -}and Risk! -}Fully trained technicians. The highest number of Red Hat -}certifications in -}the hosting industry. Fanatical Support. Click to learn more -}http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729& -}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 -} ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Tue May 30 12:12:41 2006 From: ingo.lantschner at edvg.at (Ingo Lantschner) Date: Tue, 30 May 2006 12:12:41 +0200 Subject: Nagios2 on ubuntu server In-Reply-To: <1147447033.19980.261285715@webmail.messagingengine.com> References: <1147447033.19980.261285715@webmail.messagingengine.com> Message-ID: "J J" schrieb am 12.05.2006 17:17:13: > Saw your post looking for Nagios2 for ubuntu server. Can I ask what did > you end up doing? Dear Jay, I decided to compile and install it from source. I can say, it was a good decision. The only glitch was that I had to reinstall Here is what I did after enabeling the dev-repositories in /etc/apt/sources.list # apt-get install gcc # apt-get --reinstall install libc6-dev # apt-get install make hth Ingo -------------- next part -------------- An HTML attachment was scrubbed... URL: From Oliver.Marshall at g2support.com Tue May 30 12:58:15 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Tue, 30 May 2006 11:58:15 +0100 Subject: Checking host alive and NSClient++ In-Reply-To: References: Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8429@indigo.G2Support.local> Hi, I have a server at a remote site which uses a router that WONT allow forwarding of ICMP (aka ping) traffic to the server. As a result, the check-host-alive command for that server currently actually shows the state of the router, not the server itself. This isn't good for me as the adsl line they use is up and down like a yo-yo. Is there a command I can create using NSClient++ that will check to see the state of the host WITHOUT pinging, perhaps instead using a check of the NSClient++ itself. Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 mgj at unb.ca Tue May 30 13:10:27 2006 From: mgj at unb.ca (Michael Jewett) Date: Tue, 30 May 2006 08:10:27 -0300 Subject: SMS notification In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> Message-ID: <447C2823.8090005@unb.ca> I use sendpage and finally convinced my cellphone provider to give me a phone number that my modem dials. It then sends the message as SMS to our cellphones. http://sendpage.org works great. Michael -------- Original Message -------- From: "MAIGNAN Luc" To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] SMS notification Date: Mon May 29 2006 09:02:41 GMT-0300 (Atlantic Daylight Time) > Hello, > > > what is the simplest way to be notified by sms instead of e-mail ? > > > ********************************************************************* > Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. > ----------------------------------------------------- > This message and any attachments (the "message") is intended > solely for the addressees and is confidential. If you receive this > message in error, please delete it and immediately notify the > sender. Any use not in accord with its purpose, any dissemination > or disclosure, either whole or partial, is prohibited except formal > approval. Neither FININFO (nor any of its subsidiaries or affiliates) > shall be liable for the message if modified, altered, falsified, edited > or diffused without authorization. ********************************************************************** > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 assaf at m-wise.com Tue May 30 13:17:21 2006 From: assaf at m-wise.com (Assaf Flatto) Date: Tue, 30 May 2006 14:17:21 +0300 Subject: SMS notification In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> Message-ID: <447C29C1.2020905@m-wise.com> We attached a modem to the Nagios and install Kannel (http://kannel.org/)on the server and it sends all the sms's we need with no problem - the only thing you need to worry about is the SIM card. Assaf MAIGNAN Luc wrote: > Hello, > > > what is the simplest way to be notified by sms instead of e-mail ? > > > ********************************************************************* > Ce message et toutes les pi?ces jointes (ci-apr?s le "message") sont ?tablis ? l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le d?truire et d'en avertir imm?diatement l'exp?diteur. Toute utilisation de ce message non conforme ? sa destination, modification, diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse.FININFO (et ses filiales) d?cline(nt) toute responsabilit? au titre de ce message, dans l'hypoth?se ou il aurait ?t? modifi?, alt?r?, falsifi? ou encore ?dit? ou diffus? sans autorisation. > ----------------------------------------------------- > This message and any attachments (the "message") is intended > solely for the addressees and is confidential. If you receive this > message in error, please delete it and immediately notify the > sender. Any use not in accord with its purpose, any dissemination > or disclosure, either whole or partial, is prohibited except formal > approval. Neither FININFO (nor any of its subsidiaries or affiliates) > shall be liable for the message if modified, altered, falsified, edited > or diffused without authorization. ********************************************************************** > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=k&kid7521&bid$8729&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 > -- Assaf Flatto Cellular: +972-54-5679230 e-mail: assaf at m-wise.com MSN : firedrake_3 at hotmail.com ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 oliver at net-track.ch Tue May 30 13:29:25 2006 From: oliver at net-track.ch (Oliver Hitz) Date: Tue, 30 May 2006 13:29:25 +0200 Subject: SMS notification In-Reply-To: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> References: <6CF6C2B015865B44B7752C9420D0D71602DDFB47@exc2003.int.fininfo.grp> Message-ID: <20060530112924.GB32275@net-track.ch> Hi On 29 May 2006, MAIGNAN Luc wrote: > what is the simplest way to be notified by sms instead of e-mail ? You can find a simple script here that allows you to send SMS using the aspsms.com service: http://www.net-track.ch/opensource/perlaspsms/ Of course, this does not work if you use nagios to monitor your Internet connection. Regards Oliver -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: From rouilj at cs.umb.edu Tue May 30 16:26:13 2006 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Tue, 30 May 2006 10:26:13 -0400 Subject: Checking host alive and NSClient++ In-Reply-To: Your message of "Tue, 30 May 2006 11:58:15 BST." <161A23FF529F614582A5C1F469FA7B6C0C8429@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C8429@indigo.G2Support.local> Message-ID: <200605301426.k4UEQDa4025340@mx1.cs.umb.edu> In message <161A23FF529F614582A5C1F469FA7B6C0C8429 at indigo.G2Support.local>, "Oliver Marshall" writes: >I have a server at a remote site which uses a router that WONT allow >forwarding of ICMP (aka ping) traffic to the server. As a result, the >check-host-alive command for that server currently actually shows the >state of the router, not the server itself. > >This isn't good for me as the adsl line they use is up and down like a >yo-yo. Can you get traps from the ASDL equipment or router? >Is there a command I can create using NSClient++ that will check to see >the state of the host WITHOUT pinging, perhaps instead using a check of >the NSClient++ itself. I assume this is a windows box since you mention nsclient++. How about a check_tcp against the nsclient++ port? Are ther other network services on that box that you monitor? -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 mh+nagios-users at zugschlus.de Tue May 30 16:47:02 2006 From: mh+nagios-users at zugschlus.de (Marc Haber) Date: Tue, 30 May 2006 16:47:02 +0200 Subject: Parsing a Nagios 2 configuration file from perl Message-ID: <20060530144702.GL17527@torres.l21.ma.zugschlus.de> Hi, I'd like to have a list of all host_name directives in host definitions in a nagios 2 template style configuration in a perl script. Did anybody already write a nagios 2 configuration file parser in perl? Greetings Marc -- ----------------------------------------------------------------------------- Marc Haber | "I don't trust Computers. They | Mailadresse im Header Mannheim, Germany | lose things." Winona Ryder | Fon: *49 621 72739834 Nordisch by Nature | How to make an American Quilt | Fax: *49 621 72739835 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 jeekay at gmail.com Tue May 30 16:55:34 2006 From: jeekay at gmail.com (Jee Kay) Date: Tue, 30 May 2006 15:55:34 +0100 Subject: Checks that compare previous values Message-ID: Is there some way to make checks compare the value they've retrieved against the previous value of that service? Specifically, I would like to be able to alert on excessive throughput on some switchports. The obvious way to do this is check the inOctets every minute and compare the value just retrieved against the last value; if that *8/60 is more than a certain amount then we need to alarm. A rough timeline would be: 000 seconds: Check; gets 150. No previous value - ignore completely. 060 seconds: Check; gets 300. Total bytes passed in the last minute = 150. OK. 120 seconds: Check; gets 3000000. Total bytes passed in the last minute = too many. WARNING. Is there any functionality in Nagios that would make this sort of thing easy, or do I need to write a wrapper of some description for this? Thanks in advance, Ras ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 mramos at co.sapo.pt Tue May 30 17:10:13 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Tue, 30 May 2006 16:10:13 +0100 Subject: Checks that compare previous values In-Reply-To: References: Message-ID: <1149001813.3700.25.camel@localhost.localdomain> Hi, On Tue, 2006-05-30 at 15:55 +0100, Jee Kay wrote: > Is there some way to make checks compare the value they've retrieved > against the previous value of that service? > > Specifically, I would like to be able to alert on excessive throughput > on some switchports. The obvious way to do this is check the inOctets > every minute and compare the value just retrieved against the last > value; if that *8/60 is more than a certain amount then we need to > alarm. > > A rough timeline would be: > > 000 seconds: Check; gets 150. No previous value - ignore completely. > 060 seconds: Check; gets 300. Total bytes passed in the last minute = 150. OK. > 120 seconds: Check; gets 3000000. Total bytes passed in the last > minute = too many. WARNING. > > > Is there any functionality in Nagios that would make this sort of > thing easy, or do I need to write a wrapper of some description for > this? No. I think the easiest way is to write a wrapper that writes each script iteration to disk so it can always compare each iteration with the previous one. I'm using this approach in some scripts and it works fine. HTH, Marco Ramos > Thanks in advance, > Ras > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Tue May 30 17:34:22 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Tue, 30 May 2006 16:34:22 +0100 Subject: Ping works but check_ping doesnt In-Reply-To: <200605301426.k4UEQDa4025340@mx1.cs.umb.edu> References: <200605301426.k4UEQDa4025340@mx1.cs.umb.edu> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C842C@indigo.G2Support.local> I have a server, which is running on the local network with Nagios. I can ping it from the nagios box at the ssh prompt, but the check-host-alive for that server is showing it as down. All the other local servers are fine. My check-host-alive command reads; define command { command_name check-host-alive command_line $USER1$/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } On the Host detail screen on the nagios web interface, it says that the host status is "DOWN" and the host output is "No Output". Any ideas why I would be able to ping a box from the nagios server, but not get a positive result from the check-host-alive test ? Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 kylet at panix.com Tue May 30 17:39:51 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 30 May 2006 11:39:51 -0400 (EDT) Subject: status.dat on /tmp causes status.cgi issues Message-ID: <200605301539.k4UFdph13362@panix1.panix.com> Hi, Nagios 2.0b5 on Solaris 10. I've been running this setup for some time and just recently started seeing "Internal Server Error" on page refreshes from Firefox, with Apache reporting "Premature end of script headers". The only changes recently are that I increased the host and service checks significantly (up to 250 and 5200 respectively) and I moved status.dat from a UFS file system to /tmp (tmpfs) per the performance page tip #2 on using RAM-based filesystem for it. I searched the mailing list archives and turned on debug level logging in Apache but it doesn't report any more. If I run status.cgi from command line, it dumps core for a seg fault as shown below. I tried the status.cgi from 2.3 with the same results. If I move status.dat back to disk, the CGI errors stop, but I still get a seg fault running from command line. There are no core files created when the error occurs from Apache. Any idea why this may be occuring? Here's some command line output. bash-3.00$ ./status.cgi Cache-Control: no-store Pragma: no-cache Refresh: 90 Last-Modified: Tue, 30 May 2006 14:00:55 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html Current Network Status [ snipped ] V CLASS='hostTotals'>Host Status Totals</DIV> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0> <TR><TD> <TABLE BORDER=1 CLASS='hostTotals'> <TR> Segmentation Fault (core dumped) bash-3.00$ file core core: ELF 32-bit MSB core file SPARC Version 1, from 'status.cgi' Here's the tail'd output from truss. write(1, " < T R >\n", 5) = 5 Incurred fault #6, FLTBOUNDS %pc = 0xFF230BF0 siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 daniel.siegers at bauerverlag.de Tue May 30 18:22:28 2006 From: daniel.siegers at bauerverlag.de (daniel.siegers at bauerverlag.de) Date: Tue, 30 May 2006 18:22:28 +0200 Subject: No Performnce Data Message-ID: <02B1076B2DFE13409815EDC61708EBC5034095@NTXCHG10.bauer.bauerverlag.de> Hi list, i compiled nagios-1.4.1 with --with-default-perfdata parameter. I've got cfg_file=/usr/local/nagios/etc/misccommands.cfg process_performance_data=1 host_perfdata_command=process-host-perfdata service_perfdata_command=process-service-perfdata in my main.cfg and # 'process-host-perfdata' command definition define command{ command_name process-host-perfdata command_line /bin/echo -e "$LASTCHECK$\t$HOSTNAME$\t$HOSTSTATE$\t$HOSTATTEMPT$\t$STATETYPE$\t$EXECUTIONTIME$\t$OUTPUT$\t$PERFDATA$" >> /usr/local/ nagios/var/host-perfdata } # 'process-service-perfdata' command definition define command{ command_name process-service-perfdata command_line /usr/local/nagios/bin/fifo_write.pl /var/lib/nagios/ngraph.pipe '$HOSTNAME$\t$SERVICEDESC$\t$SERVICEOUTPUT$\t$SERVICEPERFDATA$\n' 3 } In my misccommands.cfg I've got Performance Data Being Processed? Yes In the process info. I disabled and reenabled it, but I get nothing. I can't even see some echo or fifo_write.pl processes running. The commands are shown under 'View Config' Has anyone an idea what's going wrong? Mit freundlichen Gr??en / Kind regards Daniel Siegers Bauer Systems KG Systemadministration Brieffach 18000 Burchardstra?e 11 D-20077 Hamburg Telefon +49 (0)40-3019-3936 Fax +49 (0)40-3019-140-3936 E-Mail Daniel.Siegers at Bauerverlag.de -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060530/72b00de7/attachment.html> From estair at ilm.com Tue May 30 18:35:26 2006 From: estair at ilm.com (Eli Stair) Date: Tue, 30 May 2006 09:35:26 -0700 Subject: status.dat on /tmp causes status.cgi issues References: <200605301539.k4UFdph13362@panix1.panix.com> Message-ID: <6E56E676C9D6A74EBC980144BC06A17D01469902@mailbox03.lucas.alllucas.com> Search the recent archives, as of the last three weeks this has been addressed and resolved by Ethan. Track down those posts for info, there's a pending-confirmation fix in CVS as well as a workaround (move your status.dat file back to the same filesystem). Cheers, /eli -----Original Message----- From: nagios-users-admin at lists.sourceforge.net on behalf of Kyle Tucker Sent: Tue 5/30/2006 8:39 AM To: Nagios Mailing List Subject: [Nagios-users] status.dat on /tmp causes status.cgi issues Hi, Nagios 2.0b5 on Solaris 10. I've been running this setup for some time and just recently started seeing "Internal Server Error" on page refreshes from Firefox, with Apache reporting "Premature end of script headers". The only changes recently are that I increased the host and service checks significantly (up to 250 and 5200 respectively) and I moved status.dat from a UFS file system to /tmp (tmpfs) per the performance page tip #2 on using RAM-based filesystem for it. I searched the mailing list archives and turned on debug level logging in Apache but it doesn't report any more. If I run status.cgi from command line, it dumps core for a seg fault as shown below. I tried the status.cgi from 2.3 with the same results. If I move status.dat back to disk, the CGI errors stop, but I still get a seg fault running from command line. There are no core files created when the error occurs from Apache. Any idea why this may be occuring? Here's some command line output. bash-3.00$ ./status.cgi Cache-Control: no-store Pragma: no-cache Refresh: 90 Last-Modified: Tue, 30 May 2006 14:00:55 GMT Expires: Thu, 01 Jan 1970 00:00:00 GMT Content-type: text/html <html> <head> <title> Current Network Status [ snipped ] V CLASS='hostTotals'>Host Status Totals</DIV> <TABLE BORDER=0 CELLSPACING=0 CELLPADDING=0> <TR><TD> <TABLE BORDER=1 CLASS='hostTotals'> <TR> Segmentation Fault (core dumped) bash-3.00$ file core core: ELF 32-bit MSB core file SPARC Version 1, from 'status.cgi' Here's the tail'd output from truss. write(1, " < T R >\n", 5) = 5 Incurred fault #6, FLTBOUNDS %pc = 0xFF230BF0 siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 Received signal #11, SIGSEGV [default] siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000 -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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: <https://www.monitoring-lists.org/archive/users/attachments/20060530/ab07ec90/attachment.html> From kylet at panix.com Tue May 30 19:35:46 2006 From: kylet at panix.com (Kyle Tucker) Date: Tue, 30 May 2006 13:35:46 -0400 (EDT) Subject: status.dat on /tmp causes status.cgi issues In-Reply-To: <6E56E676C9D6A74EBC980144BC06A17D01469902@mailbox03.lucas.alllucas.com> References: <6E56E676C9D6A74EBC980144BC06A17D01469902@mailbox03.lucas.alllucas.com> Message-ID: <200605301735.k4UHZkA24325@panix1.panix.com> Thanks Eli. Even better, changing temp_file to reside in /tmp at the same time as status_file seems to have eliminated these status.cgi errors. > Search the recent archives, as of the last three weeks this has been = > addressed and resolved by Ethan. Track down those posts for info, = > there's a pending-confirmation fix in CVS as well as a workaround (move = > your status.dat file back to the same filesystem). > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net on behalf of Kyle Tucker > Sent: Tue 5/30/2006 8:39 AM > To: Nagios Mailing List > Subject: [Nagios-users] status.dat on /tmp causes status.cgi issues > =20 > Hi, > Nagios 2.0b5 on Solaris 10. I've been running this=20 > setup for some time and just recently started seeing "Internal=20 > Server Error" on page refreshes from Firefox, with Apache=20 > reporting "Premature end of script headers". The only changes=20 > recently are that I increased the host and service checks=20 > significantly (up to 250 and 5200 respectively) and I moved=20 > status.dat from a UFS file system to /tmp (tmpfs) per the=20 > performance page tip #2 on using RAM-based filesystem for it.=20 > I searched the mailing list archives and turned on debug=20 > level logging in Apache but it doesn't report any more. > If I run status.cgi from command line, it dumps core for=20 > a seg fault as shown below. I tried the status.cgi from 2.3 with=20 > the same results. If I move status.dat back to disk, the CGI > errors stop, but I still get a seg fault running from command=20 > line. There are no core files created when the error occurs from > Apache. Any idea why this may be occuring? Here's some command=20 > line output. > > bash-3.00$ ./status.cgi =20 > Cache-Control: no-store > Pragma: no-cache > Refresh: 90 > Last-Modified: Tue, 30 May 2006 14:00:55 GMT > Expires: Thu, 01 Jan 1970 00:00:00 GMT > Content-type: text/html > > <html> > <head> > <title> > Current Network Status > > [ snipped ] > > V CLASS=3D'hostTotals'>Host Status Totals</DIV> > <TABLE BORDER=3D0 CELLSPACING=3D0 CELLPADDING=3D0> > <TR><TD> > <TABLE BORDER=3D1 CLASS=3D'hostTotals'> > <TR> > Segmentation Fault (core dumped) > > bash-3.00$ file core > core: ELF 32-bit MSB core file SPARC Version 1, from = > 'status.cgi' > > Here's the tail'd output from truss. > > write(1, " < T R >\n", 5) =3D 5 > Incurred fault #6, FLTBOUNDS %pc =3D 0xFF230BF0 > siginfo: SIGSEGV SEGV_MAPERR addr=3D0x00000000 > Received signal #11, SIGSEGV [default] > siginfo: SIGSEGV SEGV_MAPERR addr=3D0x00000000 -- - Kyle --------------------------------------------- kylet at panix.com http://www.panix.com/~kylet --------------------------------------------- ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 listbox at azsupersport.com Tue May 30 20:29:24 2006 From: listbox at azsupersport.com (Mike Bambic) Date: Tue, 30 May 2006 20:29:24 +0200 (CEST) Subject: Single notification for multiple devices Message-ID: <20060530182924.A29844F476B@desire.netways.de> If multiple hosts go down at the same time I would like to combine the notifications into one email. I got spoiled with NMIS allowing me to do this and was hoping Nagios has something like this as well. Thanks! Mike - Mike Bambic (mtxpert) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 SELundgr at email.uncc.edu Tue May 30 20:28:32 2006 From: SELundgr at email.uncc.edu (Lundgren, Scott) Date: Tue, 30 May 2006 14:28:32 -0400 Subject: NRPE SSL connection errors Message-ID: <A01ABA2A211C644596549C5FF91C50E4076F591D@EXEVS02.its.uncc.edu> I have two servers I am monitoring with NRPE 2.0. One works, one does not and I'm running out of ideas of configuration settings that must not be the same to have this happen: root at nagioshost # ./check_nrpe -H servera -c check_apache OK - 12 processes running with UID = 155 (apache) root at nagioshost # ./check_nrpe -H serverb -c check_apache CHECK_NRPE: Error - Could not complete SSL handshake. nagioshost, servera and serverb are all Solaris 9. nagioshost is running nagios 1.2, check_nrpe 2.0 I have confirmed with ldd that NRPE is compiled with SSL support. servera & serverb both have copies of the same NRPE 2.0 binary. servera & serverb both have the SSL libraries that the NRPE binary was compiled against servera & serverb both have /usr/local/nagios/etc/nrpe.cfg owned by nagios:nagios and chmod'd 644 servera & serverb both have "nrpe 5666/tcp #NRPE" in /etc/services servera & serverb both have "*.nrpe *.* 0 0 49152 0 LISTEN" in netstat -a|grep nrpe servera & serverb both have "nrpe stream tcp nowait nagios /usr/sfw/sbin/tcpd /usr/local/nagios/bin/nrpe -c /usr/local/nagios/etc/nrpe.cfg -i" in /etc/inetd.conf Here's the difference: if I telnet from nagioshost to servera on port 5666 (from nrpe.cfg) I can count to 20 and when I enter some text followed by enter, servera closes the connection if I telnet from nagioshost to serverb on port 5666 (from nrpe.cfg) I can only count to 5 before serverb closes the connection. if I repeat the task from nagioshost to serverb and start typing as soon as prompted serverb will close the connection in the middle of typing. So i think what is happening is that the connection is closing before the SSL handshake is completed or the NRPE handoff to a local command. How do I figure out what in serverb is closing the connection so fast? Scott Lundgren ITS - Web Services UNC at Charlotte http://www.uncc.edu <http://www.uncc.edu/> -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060530/7d820449/attachment.html> From listbox at azsupersport.com Tue May 30 20:29:46 2006 From: listbox at azsupersport.com (Mike Bambic) Date: Tue, 30 May 2006 20:29:46 +0200 (CEST) Subject: Single notification for multiple devices Message-ID: <20060530182946.995614F476B@desire.netways.de> If multiple hosts go down at the same time I would like to combine the notifications into one email. I got spoiled with NMIS allowing me to do this and was hoping Nagios has something like this as well. Thanks! Mike - Mike Bambic (mtxpert) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 listbox at azsupersport.com Tue May 30 20:31:14 2006 From: listbox at azsupersport.com (Mike Bambic) Date: Tue, 30 May 2006 20:31:14 +0200 (CEST) Subject: Single notification for multiple devices Message-ID: <20060530183114.A06114F476B@desire.netways.de> If multiple hosts go down at the same time I would like to combine the notifications into one email. I got spoiled with NMIS allowing me to do this and was hoping Nagios has something like this as well. Thanks! Mike - Mike Bambic (mtxpert) ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 mccamish at usna.edu Tue May 30 20:40:27 2006 From: mccamish at usna.edu (Scott McCamish (Contractor)) Date: Tue, 30 May 2006 14:40:27 -0400 Subject: check_http ssl certificate Message-ID: <447C919B.1050801@usna.edu> Hi all- A web server was recently upgraded, and my check_http --ssl service is now failing. The server is sending a certificate when accessing through a browser. How can I accept the certificate; either permanently through the nagios user cmd line, or through flags to check_http? 'check_http --ssl H xyzxyz -C 14' works fine to see the expiration... I did read a recent thread that suggested the servers http config be changed, but I don't have access/approval to change the server config. Thanks for reading! Nagios 1.2 (I'll be upgrading soon) $ ./check_http -H xyzxyz --ssl -f=follow -v GET / HTTP/1.0 User-Agent: check_http/1.89 (nagios-plugins 1.4.3) Host: xyzxyz No data received $ -------------- next part -------------- A non-text attachment was scrubbed... Name: mccamish.vcf Type: text/x-vcard Size: 267 bytes Desc: not available URL: <https://www.monitoring-lists.org/archive/users/attachments/20060530/88e2164f/attachment.vcf> From jbreen at hgait.net.au Wed May 31 05:46:54 2006 From: jbreen at hgait.net.au (John Breen) Date: Wed, 31 May 2006 11:46:54 +0800 Subject: check_mysql not using ~nagios/.my.cnf on ubuntu 6.0.6 with nagios 2.3.1 Message-ID: <447D11AE.10400@hgait.net.au> I am using nagios 2.3.1 with nagios-plugins-plugins-1.4.3 on an Ubuntu 6.06 server. I am using check_mysql, compiled on this server against libmysqlclient15, to check the status of mysql on two other servers. I have created a .my.cnf file in ~nagios, and when I run check_mysql -H <hostname> from the command line as the nagios user all goes well. However, when I automate this in my checkcommands.cfg, I get errors and nagios tells me the server is down. ~nagios/.my.cnf has looks like this: [client] password = "<password>" The block in checkcommands.cfg looks like this: # check_mysql command definition. define command{ command_name check_mysql command_line $USER1$/check_mysql -H $HOSTADDRESS$ } When I run check_mysql from the commandline against the host, I get nagios at monitor-server:~nagios/$ check_mysql -H mysql-server Uptime: 426469 Threads: 2 Questions: 18075 Slow queries: 0 Opens: 0 Flush tables: 1 Open tables: 64 Queries per second avg: 0.042 But when I do it automatically via checkcommands.cfg, i get Access denied for user 'nagios'@'monitor-server.voipwa.net.au' (using password: NO) If I add the -p <password> to the checkcommands.cfg, everything works. The user has been added and has sufficient privileges on the mysql server to get a database connection, so everything should be ok there. nagios is running as the user nagios (checked with ps), so that should be ok. I was under the impression that check_mysql should use the ~nagios/.my.cnf file for its login information, is this not the case? -- Kind Regards, John Breen HGAIT Tel: 08 9425 5233 Fax: 08 9425 5255 Level 9, 256 Adelaide Terrace, Perth, WA 6000 Postal P.O.Box 1240, West Perth, WA, 6872 The information in this E-mail is confidential. If you are not the named & intended recipient, you must not read, use, copy, disclose or disseminate this E-mail, any attachments or the information contained in this E-mail and must immediately notify the sender & delete this E-mail immediately. Although HGAIT believes that this E-mail and any attachments are free of any virus or other defect which may affect a computer, it is the responsibility of the recipient to ensure that it is virus free. HGAIT does not accept any responsibility for any loss or damage arising in any way from the use of this E-mail or any attachments. IMPORTANT INFORMATION This is not a SPAM. The SPAM Act 2003 commenced on the 10th April 2004 and requires consent to the sending of most commercial electronic messages. If you wish to continue receiving electronic communications from HGAIT, you do not need to take any action. If you DO NOT wish to continue receiving electronic communications from HGAIT please advise us at admin at hgait.net.au and we will update our records accordingly. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Stanley.Hopcroft at Dest.gov.au Wed May 31 07:17:59 2006 From: Stanley.Hopcroft at Dest.gov.au (Stanley.Hopcroft at Dest.gov.au) Date: Wed, 31 May 2006 15:17:59 +1000 Subject: Nagios config parser in Perl Message-ID: <42AE08054734A940AE4F983C21324D042B521F@acexp005.portfolio.base> Dear Sir, I am writing to thank you for your letter and say >Message: 13 >Date: Tue, 30 May 2006 16:47:02 +0200 >From: Marc Haber <mh+nagios-users at zugschlus.de> >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] Parsing a Nagios 2 configuration file from perl > >Hi, > >I'd like to have a list of all host_name directives in host >definitions in a nagios 2 template style configuration in a >perl script. > >Did anybody already write a nagios 2 configuration file parser in perl? > Yep. There's a (prob since I haven't used it) good one on CPAN in the Nagios name space (search Nagios should find it) written by a Perl luminary Al Tobey. You need the Build module to get it installed. There is also a rough-as-guts one that I use that is sometimes useful. If you want to be the guinea pig .. Here's an example of it in 'action'. [sh1517 at acisf011 sh1517]$ perl -MNagios::Config -e '$x=Nagios::Config->new("/etc/nagios/nagios.cfg"); @x=$x->grep("hosts", q[$host_name =~ /mt[ab]sw21/i]); $x->pprint("hosts", \@x)' define host{ host_name MTBSW210 address 10.0.254.149 alias 14 MORT BUILDING contact_groups datacomms-admins,premier_support_group notification_period 24x7 parents MTASW200,BRUSW200 use generic-host } define host{ host_name MTASW210 address 10.0.254.169 alias 16 MORT BUILDING contact_groups datacomms-admins,premier_support_group notification_period 24x7 parents MTASW200,BRUSW200 use generic-host } extracting stuff. I actually use it (for some definition of 'use') for batch adds. But it is rough ... >Greetings >Marc caveat computer. Yours sincerely. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 vins192004 at yahoo.com Wed May 31 09:39:47 2006 From: vins192004 at yahoo.com (Vinod) Date: Wed, 31 May 2006 00:39:47 -0700 (PDT) Subject: snmp traps Message-ID: <20060531073947.80134.qmail@web53910.mail.yahoo.com> Hi I tried to configure nagios to listen to snmp traps from a host. i have been referring to documents http://www.samag.com/documents/s=9559/sam0503g/ http://www.snmptt.org/docs/snmptt.shtml#Integration-with-other-software i am totally confused after trying both these documents Both have a different way to capture the snmp traps One uses snmptraphandling.py script and other uses submit_check_result. Secondly http://www.samag.com/documents/s=9559/sam0503g/ speicifes use passive-check-template but its not mentioned how to define the passive-check-template if i set check_period none nagios does not start Would appreciate ideas on configuring my monitoring server to receive snmp traps and which documents should i refer. Regards Vinod Moraes --------------------------------- Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060531/9b9298a0/attachment.html> From me at renux.de Wed May 31 09:54:47 2006 From: me at renux.de (Rene Fertig) Date: Wed, 31 May 2006 09:54:47 +0200 Subject: Ping works but check_ping doesnt In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C842C@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C842C@indigo.G2Support.local> Message-ID: <200605310954.48230.me@renux.de> Hi Olly. > Any ideas why I would be able to ping a box from the nagios server, but > not get a positive result from the check-host-alive test ? Did you use the same hostaddress for both the manual ping and nagios check_ping? Especially using hostnames in stead of addresses can be a problem. And of cause one may make a small mistake by typing an address into the config (me often ;-) Bye, Rene ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Wed May 31 09:58:07 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 31 May 2006 08:58:07 +0100 Subject: Ping works but check_ping doesnt Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8430@indigo.G2Support.local> Used the same IP address in each test. Even copied the IP from the cfg file to the ping command on the command line and vica versa. The machine responds fine to pings, but Nagios shows that it's down. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of Rene Fertig Sent: 31 May 2006 08:55 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: Ping works but check_ping doesnt Hi Olly. > Any ideas why I would be able to ping a box from the nagios server, but > not get a positive result from the check-host-alive test ? Did you use the same hostaddress for both the manual ping and nagios check_ping? Especially using hostnames in stead of addresses can be a problem. And of cause one may make a small mistake by typing an address into the config (me often ;-) Bye, Rene ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 g.rumatowski at gmx.net Wed May 31 11:36:53 2006 From: g.rumatowski at gmx.net (Grzegorz Rumatowski) Date: Wed, 31 May 2006 11:36:53 +0200 Subject: service dependencies problem Message-ID: <447D63B5.7070602@gmx.net> Hello, During checking nagios config with nagios -v I'm getting: Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein1'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein1'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein2'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein2'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein3'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein3'! I've defined following service deps: define servicedependency{ host_name sonorys_gateway service_description PING dependent_host_name sonorys_checkpoint dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name SILns1,SILns2,SILns3 dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns1 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns2 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns3 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name YESSS-Firewall service_description PING dependent_host_name onein1,onein2,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein1 service_description PING dependent_host_name onein1 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein2 service_description PING dependent_host_name onein2 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein3 service_description PING dependent_host_name onein3 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name clst1 at YESSS service_description PING dependent_host_name clst1 at YESSS dependent_service_description SSH,Disk Space notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name clst2 at YESSS service_description PING dependent_host_name clst2 at YESSS dependent_service_description SSH,Disk Space notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein1 service_description SSH dependent_host_name onein1 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name onein2 service_description SSH dependent_host_name onein2 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name onein3 service_description SSH dependent_host_name onein3 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name clst1 at YESSS service_description SSH dependent_host_name clst1 at YESSS dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name clst2 at YESSS service_description SSH dependent_host_name clst2 at YESSS dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name SILns1 service_description PING dependent_host_name onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } What is the problem? I don't really understand it. Any ideas? Gregory ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Deborah.Martin at Kognitio.com Wed May 31 12:08:08 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 31 May 2006 11:08:08 +0100 Subject: service dependencies problem Message-ID: <A61062A3CA04594180C8AAD1B06F6C250117CE47@kogex01.pmpl.co.uk> One of your (many) definitions is : define servicedependency{ host_name sonorys_gateway service_description PING dependent_host_name sonorys_checkpoint dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u I don't think you can have dependency_service_description being the same as the 'service_description' as it will just loop. In the nagios -v check, you should probably have also seen under 'Checking service dependencies' an error along the lines of 'dependency definition for service '<yourservice>' on host <yourhost> is circular (it depends on itself' I've just tested this scenario and errors are the same as yours. I also noticed the errors only occur when the dependent service is the same. When different, there doesn't appear to be a problem. Test this! Remove all of the definitions so that you are only left with the ones that match in both the service_description and the dependent_service_description and run the nagios -v check again. You'll get the same errors again. Then add one definition where the descriptions were different. You'll see the difference. hth, -----Original Message----- From: Grzegorz Rumatowski [mailto:g.rumatowski at gmx.net] Sent: 31 May 2006 10:37 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] service dependencies problem Hello, During checking nagios config with nagios -v I'm getting: Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'YESSS-Firewall'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'clst1 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'clst2 at YESSS'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein1'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein1'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein2'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein2'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'PING' on host 'onein3'! Error: A circular execution dependency (which could result in a deadlock) exists for service 'SSH' on host 'onein3'! I've defined following service deps: define servicedependency{ host_name sonorys_gateway service_description PING dependent_host_name sonorys_checkpoint dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name SILns1,SILns2,SILns3 dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns1 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns2 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name SILns3 service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name sonorys_checkpoint service_description PING dependent_host_name YESSS-Firewall dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name YESSS-Firewall service_description PING dependent_host_name onein1,onein2,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein1 service_description PING dependent_host_name onein1 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein2 service_description PING dependent_host_name onein2 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein3 service_description PING dependent_host_name onein3 dependent_service_description SSH notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name clst1 at YESSS service_description PING dependent_host_name clst1 at YESSS dependent_service_description SSH,Disk Space notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name clst2 at YESSS service_description PING dependent_host_name clst2 at YESSS dependent_service_description SSH,Disk Space notification_failure_criteria c,u execution_failure_criteria c,u } define servicedependency{ host_name onein1 service_description SSH dependent_host_name onein1 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name onein2 service_description SSH dependent_host_name onein2 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name onein3 service_description SSH dependent_host_name onein3 dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name clst1 at YESSS service_description SSH dependent_host_name clst1 at YESSS dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name clst2 at YESSS service_description SSH dependent_host_name clst2 at YESSS dependent_service_description Disk Space notification_failure_criteria w,u,c execution_failure_criteria w,u,c } define servicedependency{ host_name SILns1 service_description PING dependent_host_name onein1,onein2,onein3,clst1 at YESSS,clst2 at YESSS dependent_service_description PING notification_failure_criteria c,u execution_failure_criteria c,u } What is the problem? I don't really understand it. Any ideas? Gregory ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 klausman at schwarzvogel.de Wed May 31 12:24:40 2006 From: klausman at schwarzvogel.de (Tobias Klausmann) Date: Wed, 31 May 2006 12:24:40 +0200 Subject: Threads and counting them Message-ID: <20060531102440.GC18859@eric.schwarzvogel.de> Hi! I'm monitoring several processes that do not for but use threads. Unfortunately, check_procs can be coerced into count threads individually. While I could hack a shell script together using ps a -L, I'd rather use a stock plugin for this. Is there any way to make check_procs count the threads? Or maybe anoither plugin that can do what I need? A patch against check_procs would also be nice, since I'm not very keen on hacking C myself (I know my limits). Regards, Tobias -- You don't need eyes to see, you need vision. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Oliver.Marshall at g2support.com Wed May 31 12:34:32 2006 From: Oliver.Marshall at g2support.com (Oliver Marshall) Date: Wed, 31 May 2006 11:34:32 +0100 Subject: Service Groups In-Reply-To: <20060531102440.GC18859@eric.schwarzvogel.de> References: <20060531102440.GC18859@eric.schwarzvogel.de> Message-ID: <161A23FF529F614582A5C1F469FA7B6C0C8432@indigo.G2Support.local> Does Nagios support service groups ? I want to create a group called "Fil Print Servers" which contains all the servers that perform file and print duties. That service group would then have a group of commands associated with it, so that any server that's part of that group also inherits these services ? I'm finding that most of my servers fall in to one of four groups, each group sharing similar services. Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 Deborah.Martin at Kognitio.com Wed May 31 12:39:47 2006 From: Deborah.Martin at Kognitio.com (Deborah Martin) Date: Wed, 31 May 2006 11:39:47 +0100 Subject: Service Groups Message-ID: <A61062A3CA04594180C8AAD1B06F6C250117CE48@kogex01.pmpl.co.uk> yes - read the docs -----Original Message----- From: Oliver Marshall [mailto:Oliver.Marshall at g2support.com] Sent: 31 May 2006 11:35 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Service Groups Does Nagios support service groups ? I want to create a group called "Fil Print Servers" which contains all the servers that perform file and print duties. That service group would then have a group of commands associated with it, so that any server that's part of that group also inherits these services ? I'm finding that most of my servers fall in to one of four groups, each group sharing similar services. Olly ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. Any unauthorised distribution or copying is strictly prohibited. Whilst Kognitio Limited takes steps to prevent the transmission of viruses via e-mail, we can not guarantee that any email or attachment is free from computer viruses and you are strongly advised to undertake your own anti-virus precautions. Kognitio grants no warranties regarding performance, use or quality of any e-mail or attachment and undertakes no liability for loss or damage, howsoever caused. *********************************************************************** ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 mramos at co.sapo.pt Wed May 31 13:03:38 2006 From: mramos at co.sapo.pt (Marco Ramos) Date: Wed, 31 May 2006 12:03:38 +0100 Subject: Service Groups In-Reply-To: <161A23FF529F614582A5C1F469FA7B6C0C8432@indigo.G2Support.local> References: <161A23FF529F614582A5C1F469FA7B6C0C8432@indigo.G2Support.local> Message-ID: <1149073419.3724.1.camel@localhost.localdomain> Hi, On Wed, 2006-05-31 at 11:34 +0100, Oliver Marshall wrote: > Does Nagios support service groups ? I want to create a group called Nagios 2.x does, Nagios 1.x doesn't. http://nagios.org/development/changelog.php HTH, Marco Ramos > "Fil Print Servers" which contains all the servers that perform file and > print duties. That service group would then have a group of commands > associated with it, so that any server that's part of that group also > inherits these services ? > > I'm finding that most of my servers fall in to one of four groups, each > group sharing similar services. > > Olly > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 > ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 daniel.siegers at bauerverlag.de Wed May 31 13:17:42 2006 From: daniel.siegers at bauerverlag.de (daniel.siegers at bauerverlag.de) Date: Wed, 31 May 2006 13:17:42 +0200 Subject: Nagios debugging Message-ID: <02B1076B2DFE13409815EDC61708EBC5034097@NTXCHG10.bauer.bauerverlag.de> Hi list, i compile Nagios 1.4.1 with options debugging options --enable-DEBUG1 and --enable-DEBUG2, but I don't get any messages. Can someone tell me where theses debug messages go? Do I have to change something in the syslog config? Mit freundlichen Gr??en / Kind regards Daniel Siegers Bauer Systems KG Systemadministration Brieffach 18000 Burchardstra?e 11 D-20077 Hamburg Telefon +49 (0)40-3019-3936 Fax +49 (0)40-3019-140-3936 E-Mail Daniel.Siegers at Bauerverlag.de -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060531/780e8d16/attachment.html> From markham_breitbach at ssimicro.com Wed May 31 16:54:57 2006 From: markham_breitbach at ssimicro.com (markham breitbach) Date: Wed, 31 May 2006 08:54:57 -0600 Subject: Service Groups In-Reply-To: <1149073419.3724.1.camel@localhost.localdomain> References: <161A23FF529F614582A5C1F469FA7B6C0C8432@indigo.G2Support.local> <1149073419.3724.1.camel@localhost.localdomain> Message-ID: <6.2.3.4.0.20060531084643.03b606f8@mail.ssimicro.com> An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060531/7131a441/attachment.html> From boinger at tradingtechnologies.com Wed May 31 17:26:57 2006 From: boinger at tradingtechnologies.com (jeff vier) Date: Wed, 31 May 2006 10:26:57 -0500 Subject: Service Groups In-Reply-To: <6.2.3.4.0.20060531084643.03b606f8@mail.ssimicro.com> References: <161A23FF529F614582A5C1F469FA7B6C0C8432@indigo.G2Support.local> <1149073419.3724.1.camel@localhost.localdomain> <6.2.3.4.0.20060531084643.03b606f8@mail.ssimicro.com> Message-ID: <1149089217.5258.14.camel@localhost> On Wed, 2006-05-31 at 08:54 -0600, markham breitbach wrote: > Yes, Nagios 1.x can also be setup to use service groups something like > this: That's a hostgroup, not a servicegroup. > hostgroups.cfg > > define hostgroup{ > hostgroup_name routers > alias Routers for the Network > contact_groups pager-guys > members router1, router2, router3 > } > > services.cfg > > define service{ > hostgroup_name routers > use ping-template > } > > You will then be able to manage all routers as a single group and your > config file becomes much more manageable. > > -M > > > At 05:03 AM 5/31/2006, Marco Ramos wrote: > > > Hi, > > > > On Wed, 2006-05-31 at 11:34 +0100, Oliver Marshall wrote: > > > Does Nagios support service groups ? I want to create a group > > called > > > > Nagios 2.x does, Nagios 1.x doesn't. > > > > http://nagios.org/development/changelog.php > > > > HTH, > > Marco Ramos > > > > > "Fil Print Servers" which contains all the servers that perform > > file and > > > print duties. That service group would then have a group of > > commands > > > associated with it, so that any server that's part of that group > > also > > > inherits these services ? > > > > > > I'm finding that most of my servers fall in to one of four groups, > > each > > > group sharing similar services. > > > > > > Olly > > > > > > > > > ------------------------------------------------------- > > > All the advantages of Linux Managed Hosting--Without the Cost and > > Risk! > > > Fully trained technicians. The highest number of Red Hat > > certifications in > > > the hosting industry. Fanatical Support. Click to learn more > > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 > > > > > > > > > > > ------------------------------------------------------- > > All the advantages of Linux Managed Hosting--Without the Cost and > > Risk! > > Fully trained technicians. The highest number of Red Hat > > certifications in > > the hosting industry. Fanatical Support. Click to learn more > > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 > ------------------------------------------------------- All the > advantages of Linux Managed Hosting--Without the Cost and Risk! Fully > trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 -------------- 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: <https://www.monitoring-lists.org/archive/users/attachments/20060531/67803d8f/attachment.sig> From gmonappallil at yak.ca Wed May 31 17:38:34 2006 From: gmonappallil at yak.ca (George Monappallil) Date: Wed, 31 May 2006 11:38:34 -0400 Subject: SNMP and Nagios Message-ID: <E2705F0E254CD74BBCCB411F39B308A405C58F@tofn-svr-exc-01.yak.ca> Does anybody have a detailed doc on how I can configure Nagios to use SNMP to monitor hosts and network equipment. Is there a way of getting info on remote hosts ( disks, cpu etc ) without installing the NRPE or other addons on the remote hosts. Most of the time, it is not feasible to do so. I have NET:SNMP installed on my Nagios ( 2.3.1) box (Solaris 9). Your help is appreciated. -G ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 btmanmeh at verizon.net Wed May 31 17:47:24 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 31 May 2006 11:47:24 -0400 Subject: SNMP and Nagios In-Reply-To: <E2705F0E254CD74BBCCB411F39B308A405C58F@tofn-svr-exc-01.yak.ca> References: <E2705F0E254CD74BBCCB411F39B308A405C58F@tofn-svr-exc-01.yak.ca> Message-ID: <447DBA8C.3020907@verizon.net> George Monappallil wrote: > Does anybody have a detailed doc on how I can configure Nagios to use > SNMP to monitor hosts and network equipment. > Is there a way of getting info on remote hosts ( disks, cpu etc ) > without installing the NRPE or other addons on the remote hosts. Most of > the time, it is not feasible to do so. > > I have NET:SNMP installed on my Nagios ( 2.3.1) box (Solaris 9). > Chances are if you can poll devices with SNMP, then someone has already written the plugins necessary to process that data. Check out: <http://www.nagiosexchange.org/> check_snmp_disk.pl -- disk usage info check_snmp_mem.pl -- memory info check_snmp_procs.pl -- processes info and so on... These kinds of plugins require a little more overhead for Nagios to process, but if you don't have a huge network to monitor it seems to work fine. A lot of the plugins written to monitor these things are written in Perl, so you'll need Perl installed on the machine. An example of check_snmp_disk.pl in action would be: In checkcommands.cfg: # 'snmp_disk' Let's try to check for free space on remote disks define command{ command_name snmp_disk command_line $USER1$/check_snmp_disk.pl -H $HOSTADDRESS$ -C public -w $ARG1$ -c $ARG2$ } You'll have to specify the services to correspond in services.cfg, but hopefully this will get you started in the right direction. Also to note, you'll need to specify the partitions or disks in the SNMP configuration files on your remote hosts. I'm not sure what Solaris does for SNMP, but for example in RHEL, under /etc/snmpd.conf you have to specify the parameters that SNMP is allowed to report. Hopefully this gets you started! Max ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 31 17:55:32 2006 From: btmanmeh at verizon.net (Max H.) Date: Wed, 31 May 2006 11:55:32 -0400 Subject: SNMP and Nagios In-Reply-To: <447DBA8C.3020907@verizon.net> References: <E2705F0E254CD74BBCCB411F39B308A405C58F@tofn-svr-exc-01.yak.ca> <447DBA8C.3020907@verizon.net> Message-ID: <447DBC74.3070804@verizon.net> Max H. wrote: > check_snmp_disk.pl -- disk usage info > check_snmp_mem.pl -- memory info > check_snmp_procs.pl -- processes info and so on... Sorry to reply to myself, but I forgot I didn't get the above plugins from nagiosexchange. I found them here: <http://os.cyberheatinc.com/nagios_plugins.php> They do have a Solaris section on nagiosexchange, however, along with tons of other useful items. Good luck. Max ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 thoanluutran at yahoo.com Wed May 31 18:42:10 2006 From: thoanluutran at yahoo.com (Tom Tran) Date: Wed, 31 May 2006 09:42:10 -0700 (PDT) Subject: Nagios newbie and some questions.. In-Reply-To: <447DBC74.3070804@verizon.net> References: <447DBC74.3070804@verizon.net> Message-ID: <20060531164210.67713.qmail@web60516.mail.yahoo.com> Hello All, I am very new to Nagios. I just installed Nagios on my SuSE.... and it looks fine.. However, i have some questions i would like to ask.. 1. Nagios does not use database; so, how they gonna store the data? Config files? 2. I would like to manage all the hosts in my network... How can i do that? where can i find the documents? I did a search and found a lot of stuffs and I still haven't got the guide i need. Please help if you know what links? Best regards, Tom Tran "Max H." <btmanmeh at verizon.net> wrote: Max H. wrote: > check_snmp_disk.pl -- disk usage info > check_snmp_mem.pl -- memory info > check_snmp_procs.pl -- processes info and so on... Sorry to reply to myself, but I forgot I didn't get the above plugins from nagiosexchange. I found them here: They do have a Solaris section on nagiosexchange, however, along with tons of other useful items. Good luck. Max ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 --------------------------------- Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates. -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060531/70af2247/attachment.html> From dlz at astro.caltech.edu Wed May 31 19:18:36 2006 From: dlz at astro.caltech.edu (Dan Zieber) Date: Wed, 31 May 2006 19:18:36 +0200 (CEST) Subject: check_http Error on receive Message-ID: <20060531171836.5611C4F476B@desire.netways.de> Hi, I'm having trouble with check_http, and my Google skills have failed. When I try to use it from the command line I get this: odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v GET / HTTP/1.0 User-Agent: check_http/1.89 (nagios-plugins 1.4.3) Host: www.palomar.caltech.edu Error on receive but when I use telnet I get this: odata1# telnet www.palomar.caltech.edu 8000 Trying 198.202.125.244... Connected to bianca.palomar.caltech.edu. Escape character is '^]'. GET / HTTP/1.0 User-Agent: check_http/1.89 (nagios-plugins 1.4.3) Host: www.palomar.caltech.edu HTTP/1.0 200 OK MIME-Version: 1.0 Content-Type: text/html ...etc Any ideas? Thank You, Dan Zieber ----------------------- The mailing list archive is found here: http://www.nagiosexchange.org/nagios-users.34.0.html ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 31 19:45:12 2006 From: patrick.morris at hp.com (Patrick Morris) Date: Wed, 31 May 2006 10:45:12 -0700 Subject: check_http Error on receive In-Reply-To: <20060531171836.5611C4F476B@desire.netways.de> References: <20060531171836.5611C4F476B@desire.netways.de> Message-ID: <20060531174512.GG11935@hermes.americas.hpqcorp.net> What's with all the stuff after the -v? Have you tried without it? Take a look at check_http -h. It'll give you the correct syntax for the plugin. On Wed, 31 May 2006, Dan Zieber wrote: > Hi, > > > > I'm having trouble with check_http, and my Google skills have failed. > When I try to use it from the command line I get this: > > > > odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v > > GET / HTTP/1.0 > > User-Agent: check_http/1.89 (nagios-plugins 1.4.3) > > Host: www.palomar.caltech.edu > > > > > > Error on receive > > > > but when I use telnet I get this: > > > > odata1# telnet www.palomar.caltech.edu 8000 > > Trying 198.202.125.244... > > Connected to bianca.palomar.caltech.edu. > > Escape character is '^]'. > > GET / HTTP/1.0 > > User-Agent: check_http/1.89 (nagios-plugins 1.4.3) > > Host: www.palomar.caltech.edu > > > > > > HTTP/1.0 200 OK > > MIME-Version: 1.0 > > Content-Type: text/html > > ...etc > > > > Any ideas? Thank You, > > Dan Zieber > > > > ----------------------- > > The mailing list archive is found here: > > http://www.nagiosexchange.org/nagios-users.34.0.html > > > > > ------------------------------------------------------- > All the advantages of Linux Managed Hosting--Without the Cost and Risk! > Fully trained technicians. The highest number of Red Hat certifications in > the hosting industry. Fanatical Support. Click to learn more > http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 -- Patrick Morris Snapfish/HP 303 Second Street Suite 500, South Tower San Francisco, CA 94107 (415) 979-3727 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 dlz at astro.caltech.edu Wed May 31 20:41:57 2006 From: dlz at astro.caltech.edu (Dan Zieber) Date: Wed, 31 May 2006 20:41:57 +0200 (CEST) Subject: check_http Error on receive In-Reply-To: <20060531174512.GG11935@hermes.americas.hpqcorp.net> References: <20060531174512.GG11935@hermes.americas.hpqcorp.net> Message-ID: <20060531184157.801ED4F476B@desire.netways.de> That is what is showing up on screen. The command line I'm putting is odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v - Dan Zieber (dzieber) ----------------------- This thread is located in the archive at this URL: http://www.nagiosexchange.org/nagios-users.34.0.html?&tx_maillisttofaq_pi 1[showUid]=18861 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 dlz at astro.caltech.edu Wed May 31 21:13:18 2006 From: dlz at astro.caltech.edu (Daniel Zieber) Date: Wed, 31 May 2006 12:13:18 -0700 (PDT) Subject: Re(2): check_http Error on receive In-Reply-To: <20060531190127.11449@studentservices.outreach.psu.edu> References: <20060531174512.GG11935@hermes.americas.hpqcorp.net> <20060531184157.801ED4F476B@desire.netways.de> <20060531190127.11449@studentservices.outreach.psu.edu> Message-ID: <Pine.LNX.4.63.0605311208400.20516@phobos.caltech.edu> I'm running Nagios 2.3 installed from the ports on FreeBSD 5.2.1, with the plugin collection version 1.4.3, also from ports. The check_http version is 1.89. I've been trying the check_http on a variety of sites, in all of them it is not working (google, a vanilla apache I installed to test, etc). On Wed, 31 May 2006, Robert Snyder wrote: > Dan, > > I just ran it from my box and the call worked. I dropped the -v, since I > didn't want the whole page returning each time. > > > RobertG5:/opt/local/libexec/nagios rns3$ ./check_http -H > www.palomar.caltech.edu -p 8000 > HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.288 seconds |time=0.288302s;;; > 0.000000 size=2373B;;;0 > > What version of Nagios are you using? > > > On Wed, May 31, 2006, Dan Zieber wrote: > >> ./check_http -H www.palomar.caltech.edu -p 8000 -v > > ____________________________________________ > > 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 > > ---------------------------------------------------------- Dan Zieber Network Administrator, Palomar Observatory Telephone: (760)742-2105 Fax: (760)742-1728 E-mail: dlz at astro.caltech.edu ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 ktynagios at richard-group.com Wed May 31 20:56:40 2006 From: ktynagios at richard-group.com (Kurt Yoder) Date: Wed, 31 May 2006 14:56:40 -0400 Subject: `make all` fails for 1.4.1 Message-ID: <071CDD1A-B4E6-430F-8F15-816B0B87E488@richard-group.com> Hi list I am using a Debian stable server for Nagios. I have been using the Debian Nagios package (1.3), but after a glibc upgrade a few months ago Nagios started dying unexpectedly. I've tried a lot of things to fix it, but no luck so far. So I thought I'd try compiling from scratch to see if this fixes the problem. I'm having problems with this compile. If I do `./configure` with no arguments, `make all` works fine. However, if I do `./configure -- with-pgsql-xdata`, `make all` fails with strange errors. How do I get past this? Here's the really long transcript of the compile/make. I added explicit paths to lib and inc due to the error "pgsql/libpq-fe.h: No such file or directory", but as you can see this didn't get rid of that error: kyoder at files:~/nagios-1.4.1$ ./configure --with-pgsql-xdata --with- pgsql-lib=/usr/lib/postgresql/ --with-pgsql-inc=/usr/include/postgresql/ checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking whether make sets $(MAKE)... yes checking for strip... /usr/bin/strip checking how to run the C preprocessor... gcc -E checking for egrep... grep -E checking for ANSI C header files... yes checking whether time.h and sys/time.h may both be included... yes checking for sys/wait.h that is POSIX.1 compatible... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking ctype.h usability... yes checking ctype.h presence... yes checking for ctype.h... yes checking dirent.h usability... yes checking dirent.h presence... yes checking for dirent.h... yes checking errno.h usability... yes checking errno.h presence... yes checking for errno.h... yes checking fcntl.h usability... yes checking fcntl.h presence... yes checking for fcntl.h... yes checking getopt.h usability... yes checking getopt.h presence... yes checking for getopt.h... yes checking grp.h usability... yes checking grp.h presence... yes checking for grp.h... yes checking limits.h usability... yes checking limits.h presence... yes checking for limits.h... yes checking math.h usability... yes checking math.h presence... yes checking for math.h... yes checking pwd.h usability... yes checking pwd.h presence... yes checking for pwd.h... yes checking signal.h usability... yes checking signal.h presence... yes checking for signal.h... yes checking for strings.h... (cached) yes checking for string.h... (cached) yes checking syslog.h usability... yes checking syslog.h presence... yes checking for syslog.h... yes checking for unistd.h... (cached) yes checking uio.h usability... no checking uio.h presence... no checking for uio.h... no checking for sys/types.h... (cached) yes checking sys/time.h usability... yes checking sys/time.h presence... yes checking for sys/time.h... yes checking sys/resource.h usability... yes checking sys/resource.h presence... yes checking for sys/resource.h... yes checking for sys/wait.h... (cached) yes checking for sys/stat.h... (cached) yes checking sys/ipc.h usability... yes checking sys/ipc.h presence... yes checking for sys/ipc.h... yes checking sys/msg.h usability... yes checking sys/msg.h presence... yes checking for sys/msg.h... yes checking for an ANSI C-conforming const... yes checking whether struct tm is in sys/time.h or time.h... time.h checking for struct tm.tm_zone... yes checking for mode_t... yes checking for pid_t... yes checking for size_t... yes checking return type of signal handlers... void checking for uid_t in sys/types.h... yes checking type of array argument to getgroups... gid_t checking for strdup... yes checking for strstr... yes checking for strtoul... yes checking for initgroups... yes checking for type of socket size... size_t checking for mail... /usr/bin/mail Init script directory: /etc/rc.d/init.d We'll use PostgreSQL database routines (in xdata/xsddb.*) for status data I/O... We'll use PostgreSQL database routines (in xdata/xcddb.*) for comment data I/O... We'll use PostgreSQL database routines (in xdata/xeddb.*) for extended data I/O... We'll use PostgreSQL database routines (in xdata/xrddb.*) for retention data I/O... We'll use template-based routines (in xdata/xodtemplate.*) for object data I/O... We'll use default routines (in xdata/xpddefault.*) for performance data I/O... We'll use PostgreSQL database routines (in xdata/xdddb.*) for scheduled downtime data I/O... checking for main in -lpq... yes PostgreSQL library was found! checking for main in -liconv... no checking for gdImagePng in -lgd (order 1)... yes GD library was found! checking for traceroute... /usr/bin/traceroute checking for snprintf... yes checking for type va_list... yes checking for perl... /usr/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating subst config.status: creating pkginfo config.status: creating base/Makefile config.status: creating common/Makefile config.status: creating contrib/Makefile config.status: creating cgi/Makefile config.status: creating html/Makefile config.status: creating xdata/Makefile config.status: creating daemon-init config.status: creating html/index.html config.status: creating html/side.html config.status: creating common/config.h config.status: common/config.h is unchanged config.status: creating common/snprintf.h config.status: common/snprintf.h is unchanged config.status: creating base/nagios.h config.status: creating cgi/cgiutils.h config.status: cgi/cgiutils.h is unchanged Creating sample config files in sample-config/ ... *** Configuration summary for nagios 1.4.1 05-15-2006 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: no Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/bin/traceroute External Data Routines: ------------------------ Status data: Database (PostgreSQL) Object data: Template-based (text file) Comment data: Database (PostgreSQL) Downtime data: Database (PostgreSQL) Retention data: Database (PostgreSQL) Peformance data: Default (external commands) Extended info data: Database (PostgreSQL) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. kyoder at files:~/nagios-1.4.1$ make all cd ./base && make make[1]: Entering directory `/home/kyoder/nagios-1.4.1/base' gcc -g -O2 -I/usr/include/postgresql/ -DHAVE_CONFIG_H -DNSCORE -L/usr/ lib/postgresql/ -lpq nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/ xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/ statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../ common/downtime.c ../xdata/xdddb.c -lm -o nagios ../xdata/xrddb.c:46:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xrddb.c:63: error: syntax error before '*' token ../xdata/xrddb.c:63: warning: data definition has no type or storage class ../xdata/xrddb.c:64: error: syntax error before '*' token ../xdata/xrddb.c:64: warning: data definition has no type or storage class ../xdata/xrddb.c: In function `xrddb_connect': ../xdata/xrddb.c:268: warning: assignment makes pointer from integer without a cast ../xdata/xrddb.c:270: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xrddb.c:270: error: (Each undeclared identifier is reported only once ../xdata/xrddb.c:270: error: for each function it appears in.) ../xdata/xrddb.c: In function `xrddb_disconnect': ../xdata/xrddb.c:304: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_query': ../xdata/xrddb.c:334: warning: assignment makes pointer from integer without a cast ../xdata/xrddb.c:335: error: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xrddb.c:335: error: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xrddb.c: In function `xrddb_read_program_information': ../xdata/xrddb.c:876: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:877: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:878: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:879: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:880: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:881: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:882: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:883: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c: In function `xrddb_read_host_information': ../xdata/xrddb.c:1016: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1019: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1022: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1025: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1026: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1027: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1030: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1033: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1036: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1039: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1042: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1045: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1048: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1051: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1054: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1057: warning: passing arg 1 of `set_host_state_information' makes pointer from integer without a cast ../xdata/xrddb.c:1057: warning: passing arg 3 of `set_host_state_information' makes pointer from integer without a cast ../xdata/xrddb.c: In function `xrddb_read_service_information': ../xdata/xrddb.c:1207: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1214: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1217: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1220: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1221: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1222: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1223: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1226: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1229: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1232: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1235: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1238: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1241: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1244: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1247: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1250: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1253: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1256: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xrddb.c:1259: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xrddb.c:1262: warning: passing arg 1 of `set_service_state_information' makes pointer from integer without a cast ../xdata/xrddb.c:1262: warning: passing arg 2 of `set_service_state_information' makes pointer from integer without a cast ../xdata/xrddb.c:1262: warning: passing arg 4 of `set_service_state_information' makes pointer from integer without a cast ../xdata/xcddb.c:54:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xcddb.c:70: error: syntax error before '*' token ../xdata/xcddb.c:70: warning: data definition has no type or storage class ../xdata/xcddb.c:71: error: syntax error before '*' token ../xdata/xcddb.c:71: warning: data definition has no type or storage class ../xdata/xcddb.c: In function `xcddb_connect': ../xdata/xcddb.c:278: warning: assignment makes pointer from integer without a cast ../xdata/xcddb.c:280: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xcddb.c:280: error: (Each undeclared identifier is reported only once ../xdata/xcddb.c:280: error: for each function it appears in.) ../xdata/xcddb.c: In function `xcddb_disconnect': ../xdata/xcddb.c:308: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xcddb.c: In function `xcddb_query': ../xdata/xcddb.c:334: warning: assignment makes pointer from integer without a cast ../xdata/xcddb.c:335: error: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xcddb.c:335: error: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xcddb.c: In function `xcddb_validate_host_comments': ../xdata/xcddb.c:508: warning: passing arg 1 of `find_host' makes pointer from integer without a cast ../xdata/xcddb.c:512: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xcddb.c: In function `xcddb_validate_service_comments': ../xdata/xcddb.c:597: warning: passing arg 1 of `find_service' makes pointer from integer without a cast ../xdata/xcddb.c:597: warning: passing arg 2 of `find_service' makes pointer from integer without a cast ../xdata/xcddb.c:601: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xcddb.c: In function `xcddb_save_host_comment': ../xdata/xcddb.c:761: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xcddb.c: In function `xcddb_save_service_comment': ../xdata/xcddb.c:860: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xsddb.c:51:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xsddb.c:66: error: syntax error before '*' token ../xdata/xsddb.c:66: warning: data definition has no type or storage class ../xdata/xsddb.c:67: error: syntax error before '*' token ../xdata/xsddb.c:67: warning: data definition has no type or storage class ../xdata/xsddb.c: In function `xsddb_connect': ../xdata/xsddb.c:307: warning: assignment makes pointer from integer without a cast ../xdata/xsddb.c:309: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xsddb.c:309: error: (Each undeclared identifier is reported only once ../xdata/xsddb.c:309: error: for each function it appears in.) ../xdata/xsddb.c: In function `xsddb_disconnect': ../xdata/xsddb.c:340: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_check_connection': ../xdata/xsddb.c:378: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_query': ../xdata/xsddb.c:468: warning: assignment makes pointer from integer without a cast ../xdata/xsddb.c:469: error: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xsddb.c:469: error: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xdddb.c:54:28: pgsql/libpq-fe.h: No such file or directory ../xdata/xdddb.c:70: error: syntax error before '*' token ../xdata/xdddb.c:70: warning: data definition has no type or storage class ../xdata/xdddb.c:71: error: syntax error before '*' token ../xdata/xdddb.c:71: warning: data definition has no type or storage class ../xdata/xdddb.c: In function `xdddb_connect': ../xdata/xdddb.c:278: warning: assignment makes pointer from integer without a cast ../xdata/xdddb.c:280: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xdddb.c:280: error: (Each undeclared identifier is reported only once ../xdata/xdddb.c:280: error: for each function it appears in.) ../xdata/xdddb.c: In function `xdddb_disconnect': ../xdata/xdddb.c:308: error: `CONNECTION_BAD' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_query': ../xdata/xdddb.c:334: warning: assignment makes pointer from integer without a cast ../xdata/xdddb.c:335: error: `PGRES_FATAL_ERROR' undeclared (first use in this function) ../xdata/xdddb.c:335: error: `PGRES_BAD_RESPONSE' undeclared (first use in this function) ../xdata/xdddb.c: In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:513: warning: passing arg 1 of `find_host' makes pointer from integer without a cast ../xdata/xdddb.c:517: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:522: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:526: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:627: warning: passing arg 1 of `find_service' makes pointer from integer without a cast ../xdata/xdddb.c:627: warning: passing arg 2 of `find_service' makes pointer from integer without a cast ../xdata/xdddb.c:631: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:636: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:640: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_save_host_downtime': ../xdata/xdddb.c:801: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_save_service_downtime': ../xdata/xdddb.c:900: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1161: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1164: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1167: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1170: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1173: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1176: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1179: warning: passing arg 1 of `add_host_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1179: warning: passing arg 3 of `add_host_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1179: warning: passing arg 4 of `add_host_downtime' makes pointer from integer without a cast ../xdata/xdddb.c: In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1292: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1295: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1298: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1301: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1304: warning: passing arg 1 of `atoi' makes pointer from integer without a cast ../xdata/xdddb.c:1307: warning: passing arg 1 of `strtoul' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 1 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 2 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 4 of `add_service_downtime' makes pointer from integer without a cast ../xdata/xdddb.c:1310: warning: passing arg 5 of `add_service_downtime' makes pointer from integer without a cast make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/kyoder/nagios-1.4.1/base' make: *** [all] Error 2 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 Wed May 31 21:34:30 2006 From: msugano at uolinc.com (Marcel Mitsuto Fucatu Sugano) Date: Wed, 31 May 2006 16:34:30 -0300 Subject: check_http Error on receive In-Reply-To: <20060531184157.801ED4F476B@desire.netways.de> References: <20060531174512.GG11935@hermes.americas.hpqcorp.net> <20060531184157.801ED4F476B@desire.netways.de> Message-ID: <1149104070.11457.10.camel@localhost> Hello, On Wed, 2006-05-31 at 20:41 +0200, Dan Zieber wrote: > odata1# ./check_http -H www.palomar.caltech.edu -p 8000 -v >From my nagios box: $ ./check_http -H www.palomar.caltech.edu -p 8000 HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.643 seconds |time=0.643370s;;;0.000000 size=2373B;;;0 $ Nagios 2.3.1 plugins 1.4.3 slackware current. 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/. ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&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 rns3 at psu.edu Wed May 31 21:01:27 2006 From: rns3 at psu.edu (Robert Snyder) Date: Wed, 31 May 2006 15:01:27 -0400 Subject: Re(2): check_http Error on receive In-Reply-To: <20060531184157.801ED4F476B@desire.netways.de> References: <20060531174512.GG11935@hermes.americas.hpqcorp.net> <20060531184157.801ED4F476B@desire.netways.de> Message-ID: <20060531190127.11449@studentservices.outreach.psu.edu> Dan, I just ran it from my box and the call worked. I dropped the -v, since I didn't want the whole page returning each time. RobertG5:/opt/local/libexec/nagios rns3$ ./check_http -H www.palomar.caltech.edu -p 8000 HTTP OK HTTP/1.0 200 OK - 2373 bytes in 0.288 seconds |time=0.288302s;;; 0.000000 size=2373B;;;0 What version of Nagios are you using? On Wed, May 31, 2006, Dan Zieber wrote: >./check_http -H www.palomar.caltech.edu -p 8000 -v ____________________________________________ 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 ------------------------------------------------------- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&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 lmgoodbu at email.uncc.edu Wed May 31 22:24:38 2006 From: lmgoodbu at email.uncc.edu (Goodburn, Laura) Date: Wed, 31 May 2006 16:24:38 -0400 Subject: SSH and Windows Message-ID: <A01ABA2A211C644596549C5FF91C50E40A932765@EXEVS02.its.uncc.edu> Please forgive me as I am fairly new to Nagios and the world of plugins. I have a Windows box that is running ssh and I would like to connect via ssh, run a wmi vbs script, and pass the result back to Nagios. I know that I can call the check_by_ssh plugin and pass the script name for the command parameter but I don't know how to pass the result back to the check_by_ssh plugin. When I ssh into the box and run the .vbs script for CPU by executing the following command: cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90 I get the following: OK - Total CPU Utilization 2% | 'CPU_Utilization'=2%;80%;90%;; However, if I try the following command: ./libexec/check_by_ssh -H testserver -C "cscript //nologo c:\nrpe_nt\check_cpu.vbs -H testserver -w 80 -c 90" I get nothing returned, the prompt just comes back like it ran the script but returned no result. Has anyone else ever written a custom plugin to pull the result back in via ssh? For security concerns and traffic control, I would prefer to use ssh instead of nrpe for running wmi scripts. Especially since we are trying to make it so that the wmi scripts will only report the statistics for that box instead of branching out to other Windows boxes on the subnet. Any help would be greatly appreciated. Thanks. Laura Laura Goodburn SMC Manager Information and Technology Services The University of North Carolina at Charlotte 9201 University City Boulevard Charlotte, NC 28223 Phone (704) 687-8988 lmgoodbu at uncc.edu -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060531/63c764d9/attachment.html> From brad.clemmons at gmail.com Wed May 31 18:33:56 2006 From: brad.clemmons at gmail.com (Brad Clemmons Jr) Date: Wed, 31 May 2006 12:33:56 -0400 Subject: Authentication problem (apache basic) Message-ID: <51e7ae840605310933i32357c22w3cd82f42104f0f46@mail.gmail.com> Ok, I know this is probably a problem with my configuration so I need new eyes to look at this. I have nagios configured and working WITHOUT AUTHENTICATION (use_authentication=0 in cgi.cfg). If I turn on authentication I don't even get a login prompt on the page for nagios. Here is my script alias stuff in httpd.conf with the auth parameters: ScriptAlias /nagios/cgi-bin /opt/nagios/sbin <Directory /opt/nagios/sbin> AllowOverride None Options +ExecCGI Order allow,deny Allow from all AuthName "Nagios Access" AuthType Basic AuthUserFile /opt/nagios/etc/htpasswd.users Require valid-user </Directory> Alias /nagios /opt/nagios/share <Directory /opt/nagios/share> Options None AllowOverride None Order allow,deny Allow from all </Directory> The htpasswd.users file was created using the following command syntax: htpasswd -c /opt/nagios/etc/htpasswd.users myusername I made sure the correct user/groups could read the htpasswd.users file: chown root.apache /opt/nagios/etc/htpasswd.users chmod 640 /opt/nagios/etc/htpasswd.users In my cgi.cfg I have use authentication=1 and all commands below it I have the username I added (ie: authorized_for_system_information=myusername). At any rate, I get to my nagios main page without any request for login. So at the top of the Tactical overview page I have this: Tactical Monitoring Overview Last Updated: Tue May 30 13:25:34 EDT 2006 Updated every 90 seconds Nagios(r) - www.nagios.org Logged in as ? Now, Once I click on one of the cgi pages like Service Details, I get the following message: It appears as though you do not have permission to view information for any of the services you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I checked the apache error.log and there's nothing in there recently except the apache restart notices when I restart apache. [Tue May 30 12:50:40 2006] [notice] SIGHUP received. Attempting to restart [Tue May 30 12:50:40 2006] [notice] Apache/1.3.33 (Debian GNU/Linux) mod_python/2.7.10 Python/2.3.4 PHP/4.3.10-16 mod_perl/1.29 configured -- resuming normal operations Any idea's as to why it never prompted me to log in? Also, this is on Apache 1.3 and Nagios 2.3. -Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.monitoring-lists.org/archive/users/attachments/20060531/3f67194c/attachment.html>