From oliver.rojo at q-linux.com Mon Sep 1 04:27:31 2003 From: oliver.rojo at q-linux.com (Oliver A. Rojo) Date: 01 Sep 2003 10:27:31 +0800 Subject: OT Message-ID: <1062383250.3105.6.camel@traxx.qlinux.com.ph> where can i find gnokii'c lock directory? I'm using redhat 9.0 distribution -- Oliver A. Rojo Q-Linux Solutions -----BEGIN PGP MESSAGE----- Version: GNUPG v0.4.0 (GNU/Linux) Comment: Get GNUPG from ftp://ftp.guug.de/pub/gcrypt/ ibxH/34oeT+0yFF0qQYqSp1AXTOfKV1Khw6GXgyxrnAbUozYFHuNaSU1uI2VlezTosb+ZFpu 03+PUoiyGbq/YPgcsoZOv65TSd8q3b2JbbMDsp9SAMq3WyIRffw2YBHwCu3Jxw/lQjGEkw8r Q5Nea1Ph2cFby6f7abIauEKWcdBxb7Nk5VOBN7yVPcp4dNBPIOijB8v/EeMz8a16YXQVYxk5 FmXuh4PzLJ09woaJRbYAJPVtLXiAHANYrqonfJ8tvM3ziP6mC20CRQebV9YWguMXJTYEC6An hQIOAx1s/MTwZKdhEAf/WZnNy7RILDVxKJperR3k2xOPy5rNxRXxSVFvboXEQf/B01zvE8Fn udEgGwqE808X6sbxVZ7JWiOG7k0uk+M1Dxsi7ujzZdL6rWYq830DnC/LmtWs/XM2V9HwnoRo CUlEsXi7zPykSxhAm5TAMhn2Al5iFrF/y3ROLf2DK+xUflZxs+uvnLLl2vRRKYmy0DXdE0z1 EKB2KNMPFVruuphzspH1wrNGxKs3WU0THEp/GvVj6WR0fCjQ9n5qBaKuT8kknbXbgm5zJCTC J+KNOw2VwOCI7lKeKvzrr/p7tg8gasRnca3a9u3cTXXWk3cWYKcw/mdghwUUwmOUCvTeZI2k MwgA5520XYbuDi2HX0LeOKf7DEVXOPixRrrnydJcnjoAYLYO3/xpQqh0IzJ1P1HwZbVnJVNl z+yXNvfzAVedlkQ+98G/yraLtzASWNwbpaQZ =xYcK -----END PGP MESSAGE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rojo at q-linux.com Mon Sep 1 05:46:15 2003 From: oliver.rojo at q-linux.com (Oliver A. Rojo) Date: 01 Sep 2003 11:46:15 +0800 Subject: nagios plugin Message-ID: <1062387975.11678.3.camel@traxx.qlinux.com.ph> My check_local_users, check_local_disk, check_local_procs and check_local_load plugins on my libexec directory doesn't exist. Where can i download 'em? what nagios plugin should i use here? -- Oliver A. Rojo Q-Linux Solutions -----BEGIN PGP MESSAGE----- Version: GNUPG v0.4.0 (GNU/Linux) Comment: Get GNUPG from ftp://ftp.guug.de/pub/gcrypt/ ibxH/34oeT+0yFF0qQYqSp1AXTOfKV1Khw6GXgyxrnAbUozYFHuNaSU1uI2VlezTosb+ZFpu 03+PUoiyGbq/YPgcsoZOv65TSd8q3b2JbbMDsp9SAMq3WyIRffw2YBHwCu3Jxw/lQjGEkw8r Q5Nea1Ph2cFby6f7abIauEKWcdBxb7Nk5VOBN7yVPcp4dNBPIOijB8v/EeMz8a16YXQVYxk5 FmXuh4PzLJ09woaJRbYAJPVtLXiAHANYrqonfJ8tvM3ziP6mC20CRQebV9YWguMXJTYEC6An hQIOAx1s/MTwZKdhEAf/WZnNy7RILDVxKJperR3k2xOPy5rNxRXxSVFvboXEQf/B01zvE8Fn udEgGwqE808X6sbxVZ7JWiOG7k0uk+M1Dxsi7ujzZdL6rWYq830DnC/LmtWs/XM2V9HwnoRo CUlEsXi7zPykSxhAm5TAMhn2Al5iFrF/y3ROLf2DK+xUflZxs+uvnLLl2vRRKYmy0DXdE0z1 EKB2KNMPFVruuphzspH1wrNGxKs3WU0THEp/GvVj6WR0fCjQ9n5qBaKuT8kknbXbgm5zJCTC J+KNOw2VwOCI7lKeKvzrr/p7tg8gasRnca3a9u3cTXXWk3cWYKcw/mdghwUUwmOUCvTeZI2k MwgA5520XYbuDi2HX0LeOKf7DEVXOPixRrrnydJcnjoAYLYO3/xpQqh0IzJ1P1HwZbVnJVNl z+yXNvfzAVedlkQ+98G/yraLtzASWNwbpaQZ =xYcK -----END PGP MESSAGE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bernd.huber at us.datex-ohmeda.com Mon Sep 1 08:01:18 2003 From: bernd.huber at us.datex-ohmeda.com (bernd.huber at us.datex-ohmeda.com) Date: Mon, 1 Sep 2003 01:01:18 -0500 Subject: Bernd Huber/US/D-O is out of the office. Message-ID: I will be out of the office starting 08/29/2003 and will not return until 09/03/2003. I will respond to your message when I return. In case of an emergency please contact the helpdesk at ext. 3152. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.rojo at q-linux.com Mon Sep 1 08:12:29 2003 From: oliver.rojo at q-linux.com (Oliver A. Rojo) Date: 01 Sep 2003 14:12:29 +0800 Subject: check commands problem on monitoring Message-ID: <1062396749.18966.3.camel@traxx.qlinux.com.ph> When i'm monitoring logged current users, nagios says Unknown and shows this message: Monitoring process may not be running! and... It appears as though Nagios is not running, so commands are temporarily unavailable... But when i look at the process using ps -aex|grep nagios... I can see that nagios is running. What's the problem here. By the way, I'll using the check_users/check_local_users check command. -- Oliver A. Rojo Q-Linux Solutions -----BEGIN PGP MESSAGE----- Version: GNUPG v0.4.0 (GNU/Linux) Comment: Get GNUPG from ftp://ftp.guug.de/pub/gcrypt/ ibxH/34oeT+0yFF0qQYqSp1AXTOfKV1Khw6GXgyxrnAbUozYFHuNaSU1uI2VlezTosb+ZFpu 03+PUoiyGbq/YPgcsoZOv65TSd8q3b2JbbMDsp9SAMq3WyIRffw2YBHwCu3Jxw/lQjGEkw8r Q5Nea1Ph2cFby6f7abIauEKWcdBxb7Nk5VOBN7yVPcp4dNBPIOijB8v/EeMz8a16YXQVYxk5 FmXuh4PzLJ09woaJRbYAJPVtLXiAHANYrqonfJ8tvM3ziP6mC20CRQebV9YWguMXJTYEC6An hQIOAx1s/MTwZKdhEAf/WZnNy7RILDVxKJperR3k2xOPy5rNxRXxSVFvboXEQf/B01zvE8Fn udEgGwqE808X6sbxVZ7JWiOG7k0uk+M1Dxsi7ujzZdL6rWYq830DnC/LmtWs/XM2V9HwnoRo CUlEsXi7zPykSxhAm5TAMhn2Al5iFrF/y3ROLf2DK+xUflZxs+uvnLLl2vRRKYmy0DXdE0z1 EKB2KNMPFVruuphzspH1wrNGxKs3WU0THEp/GvVj6WR0fCjQ9n5qBaKuT8kknbXbgm5zJCTC J+KNOw2VwOCI7lKeKvzrr/p7tg8gasRnca3a9u3cTXXWk3cWYKcw/mdghwUUwmOUCvTeZI2k MwgA5520XYbuDi2HX0LeOKf7DEVXOPixRrrnydJcnjoAYLYO3/xpQqh0IzJ1P1HwZbVnJVNl z+yXNvfzAVedlkQ+98G/yraLtzASWNwbpaQZ =xYcK -----END PGP MESSAGE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ken-a at netcare.co.jp Mon Sep 1 10:23:53 2003 From: ken-a at netcare.co.jp (Ken Antatsu) Date: Mon, 01 Sep 2003 17:23:53 +0900 Subject: serivce event handler problem Message-ID: <3F530219.7080304@netcare.co.jp> Hi all. I appreciate if someone can help with my problem. I've got Nagios 1.1 installed and configured to run host and service event handler. Event handler works just fine until I restart the core Nagios process. I've set "log_event_handlers=1" and observed the log carefully and verified that service event handler is not called after I restart the Nagios process. I also use state retention, so I compared the status.log before and after I restart the Nagios process. I found that "Event handler enabled" field is reverted from 1 to 0, and "Accept Passive Checks" from 0 to 1. Thanks in advance. -- Ken Antatsu ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gabriele.DeGregorio at enterpriseda.com Mon Sep 1 12:14:33 2003 From: Gabriele.DeGregorio at enterpriseda.com (Gabriele De Gregorio) Date: Mon, 1 Sep 2003 12:14:33 +0200 Subject: Starting Nagios Message-ID: Hello! I am a beginners on using linux. I need to use Nagios to monitor my network resource. I have already installed a linux distribution (Debian 3.0) and its nagios. I have installed the nagios-text version because I didn't install mysql. I am using configuration files installed by apt. What do I have to edit? Using the command "/etc/init.d/nagios start" nagios seems to be up. If I want to enter nagios' page by the web, I type http://nagiosservername/nagios in the address bar. Immediately, the system requires the login (nagiosadmin and password), so I can access the nagios' page. Clicking on "Tactical overview" I read - in the up-left corner - this message Tactical Monitoring Overview Last Updated: Mon Sep 1 12:16:37 CEST 2003 Updated every 90 seconds Nagios(r) - www.nagios.org Logged in as nagiosadmin Warning: Monitoring process may not be running! Click here for more info. Also, when I click on any other buttons. Another message is It appears as though Nagios is not running, so commands are temporarily unavailable... What can I do to resolve this problem? Thank's a lot, Gabriele -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at capband.net Mon Sep 1 14:02:53 2003 From: rob at capband.net (Rob Nelson) Date: Mon, 01 Sep 2003 08:02:53 -0400 Subject: host checks that don't respond to ICMP Message-ID: <5.2.1.1.0.20030901080211.00bcba78@mail.capband.net> Just to check with the list, when a host doesn't respond to ICMP, the standard tactic is to use check_dummy, correct? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Mon Sep 1 15:19:29 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Mon, 01 Sep 2003 09:19:29 -0400 Subject: host checks that don't respond to ICMP In-Reply-To: <5.2.1.1.0.20030901080211.00bcba78@mail.capband.net> References: <5.2.1.1.0.20030901080211.00bcba78@mail.capband.net> Message-ID: <1062422368.2881.28.camel@miles.debisschop.net> On Mon, 2003-09-01 at 08:02, Rob Nelson wrote: > Just to check with the list, when a host doesn't respond to ICMP, the > standard tactic is to use check_dummy, correct? It's better to use a check that actually tests something. So for instance, if you are running sshd and httpd on the subject server, you may consider ssh to be stable beyond the need for testing, but might have want to check the web server. Then run check_ssh or check_tcp against the ssh port for your host check. Roughly speaking, this arrangement will be better than check_dummy whenevenr you have a TCP service that is more reliable than your network connection. In my experience, sshd is one server that is far more reliable than our network connection. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Mon Sep 1 18:07:43 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Mon, 1 Sep 2003 17:07:43 +0100 Subject: (no subject) Message-ID: Dear All, I was just wondering if anybody is successfully monitoring their SQL transaction logs size and usage through Nagios. I have tried using check_nt but it would seem that whatever performance counters I try and access it just crashes the NSClient on the server being monitored. I have also tried to use SNMP but SQL MIBS are not available unless you purchase additional software. We are using NSCLient v 1.084 I would much prefer the check_nt route as it means we do not need to install additional software on each of our SQL Servers. If anybody is monitoring such statistics, could you share with me your methods and your config files ? Any help would be very much appreciated ! Many thanks Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: From jontte at home.se Mon Sep 1 18:24:07 2003 From: jontte at home.se (Jonas Kalliokoski) Date: Mon, 1 Sep 2003 18:24:07 +0200 Subject: check_dhcp Message-ID: <003501c370a5$776a3630$0500a8c0@bamse> Hi! Have anybody seen the plugin and know if it works ? check_dhcp where can I download it ? /jonas ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kalle at kontilint.se Mon Sep 1 18:49:21 2003 From: kalle at kontilint.se (Kalle Andersson) Date: Mon, 01 Sep 2003 18:49:21 +0200 Subject: check_dhcp In-Reply-To: <003501c370a5$776a3630$0500a8c0@bamse> References: <003501c370a5$776a3630$0500a8c0@bamse> Message-ID: <3F537891.4080508@kontilint.se> It's in the contrib directory of your nagios-plugins Jonas Kalliokoski wrote: > Hi! > > Have anybody seen the plugin and know if it works ? > check_dhcp > > where can I download it ? > > /jonas > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Mon Sep 1 21:45:04 2003 From: rouilj at cs.umb.edu (John P. Rouillard) Date: Mon, 01 Sep 2003 15:45:04 -0400 Subject: Too many notifications with passive submissions Message-ID: <200309011945.h81Jj4o9016131@mx1.cs.umb.edu> I am seeing something wierd under nagios-1.0. Since I am running a modified version, I am wondering if my mods are causing the problem. Here is the event log: 09-01-2003 15:05:50] SERVICE NOTIFICATION: jrouilla;twiki;HTTP;CRITICAL;notify-by-email;Socket timeout after 10 seconds [09-01-2003 15:05:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;HTTP;2;Socket timeout after 10 seconds [09-01-2003 15:05:00] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;sec;0;sec is running [09-01-2003 15:04:50] SERVICE NOTIFICATION: jrouilla;twiki;HTTP;CRITICAL;notify-by-email;Socket timeout after 10 seconds [09-01-2003 15:04:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;HTTP;2;Socket timeout after 10 seconds [09-01-2003 15:03:50] SERVICE NOTIFICATION: jrouilla;twiki;HTTP;CRITICAL;notify-by-email;Socket timeout after 10 seconds [09-01-2003 15:03:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;HTTP;2;Socket timeout after 10 seconds [09-01-2003 15:02:50] SERVICE NOTIFICATION: jrouilla;twiki;HTTP;CRITICAL;notify-by-email;Socket timeout after 10 seconds [09-01-2003 15:02:49] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;HTTP;2;Socket timeout after 10 seconds [09-01-2003 15:01:53] SERVICE NOTIFICATION: jrouilla;twiki;HTTP;CRITICAL;notify-by-email;Socket timeout after 10 seconds [09-01-2003 15:01:50] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;HTTP;2;Socket timeout after 10 seconds [09-01-2003 15:01:00] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;sec;0;sec is running [09-01-2003 15:00:53] SERVICE NOTIFICATION: jrouilla;twiki;HTTP;CRITICAL;notify-by-email;Socket timeout after 10 seconds [09-01-2003 15:00:50] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;twiki;HTTP;2;Socket timeout after 10 seconds Note that over this time period, 6 service notifications were sent each in response to a critical error on the HTTP service. The service entry is: define service{ use generic-service host_name twiki service_description HTTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 20 retry_check_interval 1 contact_groups admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_http_c!-s HTTP!-c 8 -w 4 -u http://XXXX/XXX } To me this means I should only get an announcement every 2 hours (120 minutes) as long as the state doesn't change. Am I wrong in this assumption? Even a "it shouldn't do that" response will be helpful as it means I have to dig further into the code. -- rouilj John Rouillard =========================================================================== My employers don't acknowledge my existence much less my opinions. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Mon Sep 1 22:36:44 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Mon, 1 Sep 2003 16:36:44 -0400 Subject: Question about distribuited nagios Message-ID: <008201c370c8$c1b153e0$2605020a@M24495.findquick.com> Hi, I want to xonfigure a distribuited nagios, and I read that I have to configure all service and hosts (in the remote hosts) in the hosts.cfg and services.cfg file in the central server. I have a qustion? If I do any change in the hosts or services configured in the remote hosts (active checks) I have to change the same on the central server in the hosts and service definition.??? Or this ocurred only when I change certain parameters?. Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Mon Sep 1 23:34:50 2003 From: teng at dataway.com (Tedman Eng) Date: Mon, 1 Sep 2003 14:34:50 -0700 Subject: Date options in notifications References: Message-ID: Change the $DATETIME$ to $SHORTDATETIME$ in your notification command. Check out this page in the manual: http://nagios.sourceforge.net/docs/1_0/macros.html Bang! You're dead. "VanZee, Timothy" wrote in message news:C0B08C331BF8A04BB0F65D983BEEBF66011106 at gsuexch2k.govst.edu... Shoot me if this is in the manual, I spent 5 minutes looking, but couldn't find it. I am trying to shorten my pager notifications by eliminating extra characters. Currently my notification contains $DATETIME$ which sends me something similar to this Thu Aug 28 08:06:29 CDT 2003 Where can I find formatting options in order to display similar to 08/28/03 08:06:29? Thanks for you help and sorry I didn't rtfm longer. Tim Van Zee ITS Network Specialist Governors State University ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Tue Sep 2 00:56:07 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 1 Sep 2003 17:56:07 -0500 Subject: Question about distribuited nagios Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4929@mismail.ena.com> Yes, you will need to change in both places. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Jeyri Bautista To: nagios-users at lists.sourceforge.net Sent: Mon Sep 01 15:36:44 2003 Subject: [Nagios-users] Question about distribuited nagios Hi, I want to xonfigure a distribuited nagios, and I read that I have to configure all service and hosts (in the remote hosts) in the hosts.cfg and services.cfg file in the central server. I have a qustion? If I do any change in the hosts or services configured in the remote hosts (active checks) I have to change the same on the central server in the hosts and service definition.??? Or this ocurred only when I change certain parameters?. Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From arohde at sybase.com Tue Sep 2 08:22:33 2003 From: arohde at sybase.com (Alexander Rohde) Date: Tue, 02 Sep 2003 08:22:33 +0200 Subject: Nagios to monitor custom shell scripts Message-ID: <3F545349.26065.293AE546@localhost> Hello, I was searching for a monitoring tool to check if my jobs (shell scripts) ran and with which state (successful, failed). Eventually I'd like to even start them using Nagios. I read in the FAQ about the plugins and thought it might be possible to write one for that purpose. I now want to ask if anybody has a similar requirement and what the expirience with Nagios was. Thanks in advance for any response. Alex ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 webspace4you.ch Tue Sep 2 10:27:14 2003 From: nagios at webspace4you.ch (Nagios Ueberwachung) Date: Tue, 2 Sep 2003 10:27:14 +0200 Subject: escalations and aknowledgment Message-ID: Hi List We use (to supervise our network and hosts) Nagios 1.1 in our office. and we want also use host/service failure escalation So i configured the escalations.cfg File, but it dosen't work like i want Our goal is, that if one contact receives the SMS and then he aknowledge the Problem, no other contact will become a SMS How can i realize this ? Thanks in advance for your trouble best regards E.Altherr -------------- next part -------------- An HTML attachment was scrubbed... URL: From roy at snart.com Tue Sep 2 11:38:35 2003 From: roy at snart.com (Roy Sigurd Karlsbakk) Date: 02 Sep 2003 11:38:35 +0200 Subject: site-wide planned outages In-Reply-To: <20030827204242.GB6965@sentex.net> References: <20030827204242.GB6965@sentex.net> Message-ID: <1062495514.29169.65.camel@roy-sin> /etc/init.d/nagios stop :) On Wed, 2003-08-27 at 22:42, Damian Gerow wrote: > Is there any way to configure a site-wide planned outage? We need to do > some work on the switch/cage that our Nagios system is in, and it'd be much > easier if we could just tell the system that everything might be going down > in one fell swoop, instead of system by system. > > I tried giving a hostname of '*', but it told me I wasn't authorized to do > that command (but I can do it for single hosts). > > - Damian > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Tue Sep 2 12:11:59 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Tue, 2 Sep 2003 20:11:59 +1000 Subject: radius checks and dialin connections In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Sat, Aug 30, 2003 at 08:17:28PM -0700 References: Message-ID: <20030902201156.A226@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, > From: =?ISO-8859-1?Q?J=FCrgen_Burkhardt?= > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] radius checks and dialin connections > > Hi all .. snip > Is it possible to monitor a radius server and the dial in with nagios= > ? that dialin monitoring alternatives include 1 the standard check_radius plugin 2 driving a ppp client on a modem equipped Nag monitor with Expect or the Perl Expect module to simulate . dial connection to the NAS/RAS . RADIUS authentication . IP/TCP param allocation by NAS/RADIUS. My employer uses the latter method successfully. > > thanks for your help > J=FCrgen > Yours sincerely. -- Stanley Hopcroft ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 2 13:12:22 2003 From: Samba at guidemail.com (Samba) Date: Tue, 2 Sep 2003 06:12:22 -0500 Subject: monitoring win2k processes Message-ID: Have a look at samba-tng. They have an smbclient that is capable of restarting services. Josh -----Original Message----- From: Sto Rage! [mailto:spam at nospam.com] Sent: Friday, August 29, 2003 12:12 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Re: monitoring win2k processes How does on use Nagios to restart the failed service being monitored? I have NSClient configured, that lets Nagios know if a service is stopped. But we are unable to figure out how to restart the service remotely from the Nagios server( Linux). Any help? Thanks in advance -G "Francois Meehan" wrote in message news:behglt$qrk$1 at main.gmane.org... > Hi, > > I use a product (freeware) called procmon: http://www.ncomtech.com/download.htm > > When a given process is not running, a trap is sent out. > > From there, on my nagios server, I use snmptrapd/passive check as per Nagios Doc. > > Works like a charm. > > Francois > > > > Bryan Irvine wrote: > > > I have a windows 2000 box (ugh!) running a pretty critical app that is > > also very buggy. The company obviously followed the "Fast, Reliable, > > and cheap, pick any two" track. Anyway, the program dies occasionally. > > No errors no nothing it just vanishes. It's as easy as just double > > clicking it's icon to get it back up and running. Is there a way to > > check if the app is running, and if not either alert me or start the > > program? > > > > I have checked the archives but the sourceforge search thing isn't > > working right now. I think I'm supposed to use the nrpe_nt but does it > > matter that I'm on 2k? and the software is listed as beta, is anyone > > else using it without any problems? > > > > --Bryan > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Parasoft > Error proof Web apps, automate testing & more. > Download & eval WebKing and get a free book. > www.parasoft.com/bulletproofapps > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Tue Sep 2 15:03:13 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Tue, 2 Sep 2003 09:03:13 -0400 Subject: Apan screenshots show separation of the"service detail " Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC604CA3A@patton.infosysnetworks.com> Look under the Apan documentation. There is a section called Hacks. The hack is called grouplist. It is a cgi script and a new side.html. Brian. -----Original Message----- From: Brian Rectanus [mailto:Brian.Rectanus at vt.edu] Sent: Thursday, August 28, 2003 9:11 AM To: Nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Apan screenshots show separation of the"service detail " On Thu, 2003-08-21 at 10:04, Frans Hetterscheid wrote: > Hello, > > Can anyone tell me how they seperated the "service detail" in the > screenshots of > Apan? (http://apan.sourceforge.net/) > I can't find anything in the documentation. > I assume you mean the links under the service detail menu? They probably just edited the side.html file to include links like this: /nagios/cgi-bin/status.cgi?hostgroup=yourhostgroupname&style=detail in the case of the screenshot, the hostgroup is 'Mail'. -Brian > Thank You, ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From markus.thomas at bayerbbs.com Tue Sep 2 16:51:42 2003 From: markus.thomas at bayerbbs.com (markus.thomas at bayerbbs.com) Date: Tue, 2 Sep 2003 16:51:42 +0200 Subject: Problems with make install on HP-UX Message-ID: Hello, i have compiled the nagios sources on a HP-UX 11.00 box. When running a "make install" the following error occured: cd ./base && make install /opt/imake/bin/install -c -m 775 -o nagios -g nagios -d /usr/local/nagios/bin cp: illegal option -- d Usage: cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file target_file cp [-f|-i] [-p] [-S] [-e warn|force|ignore] source_file ... target_direc tory cp [-f|-i] [-p] [-S] -R|-r [-e warn|force|ignore] source_directory ... target_directory chown: unknown user id nagios chgrp: unknown group: nagios chmod: can't access /usr/local/nagios/bin /opt/imake/bin/install -c -m 774 -o nagios -g nagios nagios /usr/local/nagios/bin cp:/usr/local/nagios/: No such file or directory chown: unknown user id nagios chgrp: unknown group: nagios chmod: can't access /usr/local/nagios/bin /usr/bin/strip /usr/local/nagios/bin/nagios strip: /usr/local/nagios/bin/nagios: cannot open *** Error exit code 1 Stop. *** Error exit code 1 Stop. any idea? I haven't found the --d option in any Makefile. Thanks in advance Markus ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Tue Sep 2 17:52:30 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Tue, 2 Sep 2003 10:52:30 -0500 Subject: Nagios & Apache Configuration In-Reply-To: <1062031892.14667.7.camel@miles.debisschop.net> References: <1062031892.14667.7.camel@miles.debisschop.net> Message-ID: <1413.79502970285$1062518983@news.gmane.org> The next question would be how to do that with SSL. ;] My standard http://server/nagios/ is SSL'd and requires a secure login. Russell On Wed, Aug 27, 2003 at 08:51:33PM -0400, Karl DeBisschop wrote: > On Wed, 2003-08-27 at 19:03, Subhendu Ghosh wrote: > > Need to recompile the Nagios with new Configure paramters and install the > > new cgis. The relative URL between CGIs are currently hard coded. > > Unless I misunderstand the request, this is untrue. The following works > for me with an unmodified RPM install: > > ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ > Alias /nagios/ /usr/share/nagios/ > > > ServerName nagios.example.com > ServerAlias nagios > > > Options ExecCGI > order deny,allow > allow from aaa.bbb.ccc.ddd > AuthType Basic > AuthUserFile /site/cfg/passwd > AuthGroupFile /site/cfg/group > AuthName "user" > require group user > Satisfy Any > > > > Options None > order deny,allow > allow from aaa.bbb.ccc.ddd > AuthType Basic > AuthUserFile /site/cfg/passwd > AuthGroupFile /site/cfg/group > AuthName "user" > require group user > Satisfy Any > > > > > > > There was a patch earlier from the folks at Quadrix (another Russell) to > > use environment info inside Apache - that patch is not in the main code > > base at the moment and probably won't make it given the pending rewrite of > > the UI. > > > > -sg > > > > On Wed, 27 Aug 2003, Russell Adams wrote: > > > > > I'm trying to configure Apache to allow me to run Nagios on a > > > VirtualHost. Perhaps someone has some input into this process. > > > > > > I have a webserver, (ie: webserver.mydomain.com), with Nagios > > > currently running on it at http://webserver.mydomain.com/nagios/. I've > > > created a DNS alias for the webserver called nagios.mydomain.com, and > > > am trying to setup a virtual host to have nagios on > > > http://nagios.mydomain.com/. > > > > > > I have been unsuccessful so far at using url rewriting to redirect > > > queries, and not much luck with trying the direct approach. > > > > > > My ultimate goal is to have Nagios available on > > > http://webserver.mydomain.com/nagios/ and http://nagios.mydomain.com/. > > > > > > Any input would be appreciated. > > > > > > Russell > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JVanas at finncorp.com Tue Sep 2 19:06:13 2003 From: JVanas at finncorp.com (Josh Van As) Date: Tue, 2 Sep 2003 13:06:13 -0400 Subject: Problem with restart Message-ID: <834D93DB7AA4004F893BB62597D5774C18D96C@fcsrv0004.finncorp.com> If I issue the following command: /etc/rc.d/init.d/nagios restart I receive the following: Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios su: warning: cannot change directory to : No such file or directory This account is currently not available. PID TTY TIME CMD 27803 ? 00:00:00 nagios What do these lines mean: su: warning: cannot change directory to : No such file or directory This account is currently not available. Did I set something up incorrectly? The service does seem to restart correctly...... TIA, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From fmeehan at ctbr.com Tue Sep 2 19:33:49 2003 From: fmeehan at ctbr.com (Francois Meehan) Date: Tue, 02 Sep 2003 13:33:49 -0400 Subject: Checking Nagios... In-Reply-To: <007801c36e47$a6880010$7d65000a@ibnetplc.com> References: <3F4F6474.1000309@kontilint.se> <007801c36e47$a6880010$7d65000a@ibnetplc.com> Message-ID: Thanks Dan and Kalle, I will give your suggestions a try... Francois ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Tue Sep 2 19:47:07 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Tue, 2 Sep 2003 12:47:07 -0500 (CDT) Subject: Problem with restart In-Reply-To: <834D93DB7AA4004F893BB62597D5774C18D96C@fcsrv0004.finncorp.com> References: <834D93DB7AA4004F893BB62597D5774C18D96C@fcsrv0004.finncorp.com> Message-ID: <63817.64.219.133.155.1062524827.squirrel@xyzzy.homeip.net> What operating system and version are you using? What Nagios version? Did you create the "nagios" user as described in the instructions? What userid are you executing "/etc/rc.d/init.d/nagios restart" as? What shell? What is the content of your "/etc/rc.d/init.d/nagios" file? > If I issue the following command: > > /etc/rc.d/init.d/nagios restart > > I receive the following: > > Running configuration check...done > Stopping network monitor: nagios > Starting network monitor: nagios > su: warning: cannot change directory to : No such file or directory > This account is currently not available. > PID TTY TIME CMD > 27803 ? 00:00:00 nagios > > > What do these lines mean: > su: warning: cannot change directory to : No such file or directory > This account is currently not available. > > > Did I set something up incorrectly? The service does seem to restart > correctly...... > > TIA, > Josh > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From T-VANZEE at govst.edu Tue Sep 2 19:56:26 2003 From: T-VANZEE at govst.edu (VanZee, Timothy) Date: Tue, 2 Sep 2003 12:56:26 -0500 Subject: Problem with restart Message-ID: My experiences, and believe those of others as well, have shown that the nagios restart command does not always work so well. You will have better luck by issuing a stop command and then a start command. Tim Van Zee ITS Network Specialist Governors State University -----Original Message----- From: Josh Van As [mailto:JVanas at finncorp.com] Sent: Tuesday, September 02, 2003 12:06 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problem with restart If I issue the following command: /etc/rc.d/init.d/nagios restart I receive the following: Running configuration check...done Stopping network monitor: nagios Starting network monitor: nagios su: warning: cannot change directory to : No such file or directory This account is currently not available. PID TTY TIME CMD 27803 ? 00:00:00 nagios What do these lines mean: su: warning: cannot change directory to : No such file or directory This account is currently not available. Did I set something up incorrectly? The service does seem to restart correctly...... TIA, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From JVanas at finncorp.com Tue Sep 2 21:12:54 2003 From: JVanas at finncorp.com (Josh Van As) Date: Tue, 2 Sep 2003 15:12:54 -0400 Subject: Problem with restart Message-ID: <834D93DB7AA4004F893BB62597D5774C01939D@fcsrv0004.finncorp.com> What operating system and version are you using? What Nagios version? Red Hat Linux 9 Nagios 1.1 Did you create the "nagios" user as described in the instructions? Yes What userid are you executing "/etc/rc.d/init.d/nagios restart" as? What shell? root bash What is the content of your "/etc/rc.d/init.d/nagios" file? I did not make any changes to the "nagios" file that was installed with 1.1. Here it is...... #!/bin/sh # # chkconfig: 345 99 01 # description: Nagios network monitor # # File : nagios # # Author : Jorge Sanchez Aymar (jsanchez at lanchile.cl) # # Changelog : # # 1999-07-09 Karl DeBisschop # - setup for autoconf # - add reload function # 1999-08-06 Ethan Galstad # - Added configuration info for use with RedHat's chkconfig tool # per Fran Boon's suggestion # 1999-08-13 Jim Popovitch # - added variable for nagios/var directory # - cd into nagios/var directory before creating tmp files on startup # 1999-08-16 Ethan Galstad # - Added test for rc.d directory as suggested by Karl DeBisschop # 2000-07-23 Karl DeBisschop # - Clean out redhat macros and other dependencies # # Description: Starts and stops the Nagios monitor # used to provide network services status. # status_nagios () { if test ! -f $NagiosRun; then echo "No lock file found in $NagiosRun" return 1 fi NagiosPID=`head -n 1 $NagiosRun` if test -x $NagiosCGI/daemonchk.cgi; then if $NagiosCGI/daemonchk.cgi -l $NagiosRun; then return 0 else return 1 fi else if ps -p $NagiosPID; then return 0 else return 1 fi fi return 1 } killproc_nagios () { if test ! -f $NagiosRun; then echo "No lock file found in $NagiosRun" return 1 fi NagiosPID=`head -n 1 $NagiosRun` kill $2 $NagiosPID } # Source function library # Solaris doesn't have an rc.d directory, so do a test first if [ -f /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions elif [ -f /etc/init.d/functions ]; then . /etc/init.d/functions fi prefix=/usr/local/nagios exec_prefix=${prefix} NagiosBin=${exec_prefix}/bin/nagios NagiosCfg=${prefix}/etc/nagios.cfg NagiosLog=${prefix}/var/status.log NagiosTmp=${prefix}/var/nagios.tmp NagiosSav=${prefix}/var/status.sav NagiosCmd=${prefix}/var/rw/nagios.cmd NagiosVar=${prefix}/var NagiosRun=${prefix}/var/nagios.lock NagiosLckDir=/var/lock/subsys NagiosLckFile=nagios NagiosCGI=${exec_prefix}/sbin Nagios=nagios # Check that nagios exists. test -f $NagiosBin || exit 0 # Check that nagios.cfg exists. test -f $NagiosCfg || exit 0 # See how we were called. case "$1" in start) echo "Starting network monitor: nagios" su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" rm -f $NagiosCmd $NagiosBin -d $NagiosCfg if [ -d $NagiosLckDir ]; then touch $NagiosLckDir/$NagiosLckFile; fi sleep 1 status_nagios nagios ;; stop) echo "Stopping network monitor: nagios" killproc_nagios nagios rm -f $NagiosLog $NagiosTmp $NagiosRun $NagiosLckDir/$NagiosLckFile $NagiosCmd ;; status) status_nagios nagios ;; restart) printf "Running configuration check..." $NagiosBin -v $NagiosCfg > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done" $0 stop $0 start else $NagiosBin -v $NagiosCfg echo "failed - aborting restart." exit 1 fi ;; reload|force-reload) printf "Running configuration check..." $NagiosBin -v $NagiosCfg > /dev/null 2>&1; if [ $? -eq 0 ]; then echo "done" if test ! -f $NagiosRun; then $0 start else NagiosPID=`head -n 1 $NagiosRun` if status_nagios > /dev/null; then printf "Reloading nagios configuration..." killproc_nagios nagios -HUP echo "done" else $0 stop $0 start fi fi else $NagiosBin -v $NagiosCfg echo "failed - aborting reload." exit 1 fi ;; *) echo "Usage: nagios {start|stop|restart|reload|force-reload|status}" exit 1 ;; esac # End of this script Thanks for the help! -Josh -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Tue 9/2/2003 1:47 PM To: nagios-users at lists.sourceforge.net Cc: Subject: Re: [Nagios-users] Problem with restart What operating system and version are you using? What Nagios version? Did you create the "nagios" user as described in the instructions? What userid are you executing "/etc/rc.d/init.d/nagios restart" as? What shell? What is the content of your "/etc/rc.d/init.d/nagios" file? > If I issue the following command: > > /etc/rc.d/init.d/nagios restart > > I receive the following: > > Running configuration check...done > Stopping network monitor: nagios > Starting network monitor: nagios > su: warning: cannot change directory to : No such file or directory > This account is currently not available. > PID TTY TIME CMD > 27803 ? 00:00:00 nagios > > > What do these lines mean: > su: warning: cannot change directory to : No such file or directory > This account is currently not available. > > > Did I set something up incorrectly? The service does seem to restart > correctly...... > > TIA, > Josh > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null N????????X???'???u???)???Y?\?g????????????b?HzG(??5?"???z?&j)b? b??Z?*,????X???(??~??zw???i?????l???q????z????l?X??)?????*,?????^j????nu?Z?*,????????"????*'???9,!zz?????x?(????z???0??h??.??+?)??w??)e?+$m????????u????e From mmcclure at pneservices.com Tue Sep 2 21:54:56 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Tue, 2 Sep 2003 14:54:56 -0500 (CDT) Subject: Problem with restart In-Reply-To: <834D93DB7AA4004F893BB62597D5774C01939D@fcsrv0004.finncorp.com> References: <834D93DB7AA4004F893BB62597D5774C01939D@fcsrv0004.finncorp.com> Message-ID: <9127.64.219.133.155.1062532496.squirrel@xyzzy.homeip.net> What those errors mean is that the "su" in the script isn't working properly. It looks like the home directory for the "nagios" user is invalid or missing, or the user is locked out or disabled. Do you get the same errors from "/etc/rc.d/init.d/nagios start"? Try taking out the "-l" in the line: su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" That will keep su from doing a full login. That might get rid of the error messages without affecting the function of the script. The errors are not fatal, like you said, it restarts anyway. All it's doing is making sure that a couple of files exist before Nagios starts up. I don't think it's absolutely necessary to have those files anyway, is it? Someone please correct me if I'm wrong. An alternative to the "su" might be this: --- # Flavor NagiosGrp to taste NagiosGrp=nagios touch $NagiosVar/nagios.log $NagiosSav chown $Nagios:$NagiosGrp $NagiosVar/nagios.log $NagiosSav chmod 640 $NagiosVar/nagios.log $NagiosSav --- > What operating system and version are you using? What Nagios version? > Red Hat Linux 9 > Nagios 1.1 > > Did you create the "nagios" user as described in the instructions? > Yes > > What userid are you executing "/etc/rc.d/init.d/nagios restart" as? What shell? > root > bash > > What is the content of your "/etc/rc.d/init.d/nagios" file? > I did not make any changes to the "nagios" file that was installed with 1.1. > Here it is...... > > > #!/bin/sh > > # > > # chkconfig: 345 99 01 > > # description: Nagios network monitor > > # > > # File : nagios > > # > > # Author : Jorge Sanchez Aymar (jsanchez at lanchile.cl) > > # > > # Changelog : > > # > > # 1999-07-09 Karl DeBisschop > > # - setup for autoconf > > # - add reload function > > # 1999-08-06 Ethan Galstad > > # - Added configuration info for use with RedHat's chkconfig tool > > # per Fran Boon's suggestion > > # 1999-08-13 Jim Popovitch > > # - added variable for nagios/var directory > > # - cd into nagios/var directory before creating tmp files on startup > > # 1999-08-16 Ethan Galstad > > # - Added test for rc.d directory as suggested by Karl DeBisschop > > # 2000-07-23 Karl DeBisschop > > # - Clean out redhat macros and other dependencies > > # > > # Description: Starts and stops the Nagios monitor > > # used to provide network services status. > > # > > status_nagios () > > { > > if test ! -f $NagiosRun; then > > echo "No lock file found in $NagiosRun" > > return 1 > > fi > > NagiosPID=`head -n 1 $NagiosRun` > > if test -x $NagiosCGI/daemonchk.cgi; then > > if $NagiosCGI/daemonchk.cgi -l $NagiosRun; then > > return 0 > > else > > return 1 > > fi > > else > > if ps -p $NagiosPID; then > > return 0 > > else > > return 1 > > fi > > fi > > return 1 > > } > > > > killproc_nagios () > > { > > if test ! -f $NagiosRun; then > > echo "No lock file found in $NagiosRun" > > return 1 > > fi > > NagiosPID=`head -n 1 $NagiosRun` > > kill $2 $NagiosPID > > } > > > > # Source function library > > # Solaris doesn't have an rc.d directory, so do a test first > > if [ -f /etc/rc.d/init.d/functions ]; then > > . /etc/rc.d/init.d/functions > > elif [ -f /etc/init.d/functions ]; then > > . /etc/init.d/functions > > fi > > prefix=/usr/local/nagios > > exec_prefix=${prefix} > > NagiosBin=${exec_prefix}/bin/nagios > > NagiosCfg=${prefix}/etc/nagios.cfg > > NagiosLog=${prefix}/var/status.log > > NagiosTmp=${prefix}/var/nagios.tmp > > NagiosSav=${prefix}/var/status.sav > > NagiosCmd=${prefix}/var/rw/nagios.cmd > > NagiosVar=${prefix}/var > > NagiosRun=${prefix}/var/nagios.lock > > NagiosLckDir=/var/lock/subsys > > NagiosLckFile=nagios > > NagiosCGI=${exec_prefix}/sbin > > Nagios=nagios > > # Check that nagios exists. > > test -f $NagiosBin || exit 0 > > # Check that nagios.cfg exists. > > test -f $NagiosCfg || exit 0 > > # See how we were called. > > case "$1" in > > start) > > echo "Starting network monitor: nagios" > > su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" > > rm -f $NagiosCmd > > $NagiosBin -d $NagiosCfg > > if [ -d $NagiosLckDir ]; then touch $NagiosLckDir/$NagiosLckFile; fi > > sleep 1 > > status_nagios nagios > > ;; > > stop) > > echo "Stopping network monitor: nagios" > > killproc_nagios nagios > > rm -f $NagiosLog $NagiosTmp $NagiosRun $NagiosLckDir/$NagiosLckFile $NagiosCmd > > ;; > > status) > > status_nagios nagios > > ;; > > restart) > > printf "Running configuration check..." > > $NagiosBin -v $NagiosCfg > /dev/null 2>&1; > > if [ $? -eq 0 ]; then > > echo "done" > > $0 stop > > $0 start > > else > > $NagiosBin -v $NagiosCfg > > echo "failed - aborting restart." > > exit 1 > > fi > > ;; > > reload|force-reload) > > printf "Running configuration check..." > > $NagiosBin -v $NagiosCfg > /dev/null 2>&1; > > if [ $? -eq 0 ]; then > > echo "done" > > if test ! -f $NagiosRun; then > > $0 start > > else > > NagiosPID=`head -n 1 $NagiosRun` > > if status_nagios > /dev/null; then > > printf "Reloading nagios configuration..." > > killproc_nagios nagios -HUP > > echo "done" > > else > > $0 stop > > $0 start > > fi > > fi > > else > > $NagiosBin -v $NagiosCfg > > echo "failed - aborting reload." > > exit 1 > > fi > > ;; > > *) > > echo "Usage: nagios {start|stop|restart|reload|force-reload|status}" > > exit 1 > > ;; > > esac > > # End of this script > > Thanks for the help! > > -Josh > > -----Original Message----- > From: Mike McClure [mailto:mmcclure at pneservices.com] > Sent: Tue 9/2/2003 1:47 PM > To: nagios-users at lists.sourceforge.net > Cc: > Subject: Re: [Nagios-users] Problem with restart > > > > What operating system and version are you using? What Nagios version? > > Did you create the "nagios" user as described in the instructions? > > What userid are you executing "/etc/rc.d/init.d/nagios restart" as? What shell? > > What is the content of your "/etc/rc.d/init.d/nagios" file? > > > If I issue the following command: > > > > /etc/rc.d/init.d/nagios restart > > > > I receive the following: > > > > Running configuration check...done > > Stopping network monitor: nagios > > Starting network monitor: nagios > > su: warning: cannot change directory to : No such file or directory > > This account is currently not available. > > PID TTY TIME CMD > > 27803 ? 00:00:00 nagios > > > > > > What do these lines mean: > > su: warning: cannot change directory to : No such file or directory > > This account is currently not available. > > > > > > Did I set something up incorrectly? The service does seem to restart > > correctly...... > > > > TIA, > > Josh > > > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure [at] pneservices [dot] com > mobile: 913-636-5590 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Sep 2 22:46:57 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 2 Sep 2003 15:46:57 -0500 Subject: Can I have my NagMIN cake and eat it too? Message-ID: <16213.449.293391.897809@montanaro.dyndns.org> My boss asked me to install a web-based admin interface for Nagios (said he required it to adopt Nagios as a replacement for our homegrown monitor). After a little fussing around I settled on NagMIN. Now NagMIN seems to be a very well-done piece of software, but editing a Nagios configuration through the web one record at a time is a pain. If I have to add a new machine with several services I wind up with a cycle of a half dozen or so through-the-web edits before I can reasonably think about clicking "Verify". In my mind doing this with a text editor is just a lot more efficient time-wise. So, with Nagios and NagMIN in place, I'd like to be able to also edit the config files directly, then reload them into NagMIN's MySQL tables. (I'm probably the only person here who will do it this way for the forseeable future.) This operation is already part of the setup process. I was hoping someone had abstracted/adapted that bit of functionality into a standalone script which can be used to simply feed config files into NagMIN's database. Thx, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spam at nospam.com Tue Sep 2 23:43:41 2003 From: spam at nospam.com (Sto Rage!) Date: Tue, 2 Sep 2003 14:43:41 -0700 Subject: Restart windows processes? References: <1973.192.168.1.5.1056826030.squirrel@www.atcomputerconsulting.com> Message-ID: Andy, Can you post a sample script ? thanks G "Andy Stein" wrote in message news:1973.192.168.1.5.1056826030.squirrel at www.atcomputerconsulting.com... > I'd been looking for this for a while, and here is what I came up with and > it works pretty darn good. > > Get openSSH installed on your windows box. > http://lexa.mckenna.edu/sshwindows/ is a site that has a very simple > install. Hurry up, site might be moving shortly. > > Get it configured so the Nagios process can use public key authentication > on the box with the service to restart. And when it fails, have an event > handler bounce the service. > > One problem that I ran into was running scripts from the ssh command > originating from my linux box. I had pathing problems. When I would do > something like: "ssh windowserver -l myid restartservice.cmd" it couldn't > find it. So my solution was to just put the script in the system32 > folder. I do this with each script for a restart that I need to perform. > I also had problems with \ and a few other issues. So I basically do > everything within the script and only pass a small set of parameters like > host name with no \ in it. > > Hope this helps. > > > you could use Samba-TNG, to build a plugin that will restart a windows > > service/process. > > > > Lane > > > > -----Original Message----- > > From: Olivier Beauchemin > > To: nagios-users at lists.sourceforge.net > > Sent: 6/27/2003 5:15 PM > > Subject: [Nagios-users] Restart windows processes? > > > > > > ...I was hoping someone here will know of a Nagios plug-in that will > > check and restart *Windows* processes? > > > > I've not been able to find anything that will do this, but I might just > > have overlooked some nuance of some plug-in somewhere. > > > > Thanks, > > Olivier > > > > > > > > ------------------------------------------------------- > > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > > Data Reports, E-commerce, Portals, and Forums are available now. > > Download today and enter to win an XBOX or Visual Studio .NET. > > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > > > > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Wed Sep 3 00:59:25 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 2 Sep 2003 18:59:25 -0400 (EDT) Subject: Nagios to monitor custom shell scripts In-Reply-To: <3F545349.26065.293AE546@localhost> References: <3F545349.26065.293AE546@localhost> Message-ID: On Tue, 2 Sep 2003, Alexander Rohde wrote: > Hello, > > I was searching for a monitoring tool to check if my jobs (shell scripts) > ran and with which state (successful, failed). Eventually I'd like to even > start them using Nagios. > > I read in the FAQ about the plugins and thought it might be possible to > write one for that purpose. > > I now want to ask if anybody has a similar requirement and what the > expirience with Nagios was. > > Thanks in advance for any response. > Alex > Create passive services for the shell scripts and keep freshness to largest possible interval. Have the shell script determin success/failure of the job and then submit a passive update to Nagios. FYI - don't use Nagios as a replacement for cron - specially with smart scheduling. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pedro.rebelo at tagus.ist.utl.pt Wed Sep 3 00:15:59 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Wed, 3 Sep 2003 00:15:59 WEST Subject: Host checks pending! Message-ID: It is strange but some of my hosts arent being checked. They use the same template as the other hosts that are being checked with the check-host-alive command. In Host Status Information a message like this appears: "this host has not yet been checked, so status information is not available". I've allready restarted and reloaded nagios new configuration ( after I had inserted these hosts ) and nothing happens. What should be the problem ? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Wed Sep 3 01:56:35 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 02 Sep 2003 19:56:35 -0400 Subject: Nagios & Apache Configuration In-Reply-To: <20030902155230.GA2525@soja.ksnet.com.> References: <1062031892.14667.7.camel@miles.debisschop.net> <20030902155230.GA2525@soja.ksnet.com.> Message-ID: <1062546994.17150.11.camel@miles.debisschop.net> On Tue, 2003-09-02 at 11:52, Russell Adams wrote: > The next question would be how to do that with SSL. ;] > > My standard http://server/nagios/ is SSL'd and requires a secure > login. Forgive my bluntness, but RTFM. As apache configs go, this is not that hard. And further, it is not a nagios issue, it is an apache config issue. I will give you the info anyway, but please take the time to read the apache docs. > Russell > > On Wed, Aug 27, 2003 at 08:51:33PM -0400, Karl DeBisschop wrote: > > The following works for me with an unmodified RPM install: > > > > ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ > > Alias /nagios/ /usr/share/nagios/ > > > > Instead use: > > ServerName nagios.example.com > > ServerAlias nagios add: SSLRequireSSL > > > > > Options ExecCGI > > order deny,allow > > allow from aaa.bbb.ccc.ddd > > AuthType Basic > > AuthUserFile /site/cfg/passwd > > AuthGroupFile /site/cfg/group > > AuthName "user" > > require group user > > Satisfy Any > > > > > > > > Options None > > order deny,allow > > allow from aaa.bbb.ccc.ddd > > AuthType Basic > > AuthUserFile /site/cfg/passwd > > AuthGroupFile /site/cfg/group > > AuthName "user" > > require group user > > Satisfy Any > > > > > > This assumes you have something like the following in your global context: Listen 127.0.0.1:443 Listen ${server_ip}:443 AddType application/x-x509-ca-cert .crt AddType application/x-pkcs7-crl .crl SSLSessionCache none SSLPassPhraseDialog builtin SSLMutex file:/var/run/ssl_mutex SSLRandomSeed startup builtin SSLRandomSeed connect builtin > > > On Wed, 27 Aug 2003, Russell Adams wrote: > > > > > > > I'm trying to configure Apache to allow me to run Nagios on a > > > > VirtualHost. Perhaps someone has some input into this process. > > > > > > > > I have a webserver, (ie: webserver.mydomain.com), with Nagios > > > > currently running on it at http://webserver.mydomain.com/nagios/. I've > > > > created a DNS alias for the webserver called nagios.mydomain.com, and > > > > am trying to setup a virtual host to have nagios on > > > > http://nagios.mydomain.com/. > > > > > > > > I have been unsuccessful so far at using url rewriting to redirect > > > > queries, and not much luck with trying the direct approach. > > > > > > > > My ultimate goal is to have Nagios available on > > > > http://webserver.mydomain.com/nagios/ and http://nagios.mydomain.com/. > > > > > > > > Any input would be appreciated. Hmmmmm... Don't see any mention of SSL here. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bgrice at newhopecoal.com.au Wed Sep 3 05:09:32 2003 From: bgrice at newhopecoal.com.au (Grice, Brett) Date: Wed, 3 Sep 2003 13:09:32 +1000 Subject: Nagios Startup script Message-ID: <2A52092F3239FD419A18E8A056BF0FE30BD9@lowryinet1.intranet.newhopecoal.com.au> I could not get the orginal script to work correctly kept giving me errors about the lock file not being found. I rewrote it to be more uniform with redhats way of doing things now everything works the way I expected it to. Thought it might be useful to someone Brett, --- #!/bin/sh # # chkconfig: 345 99 01 # description: Nagios network monitor ############################################################################ ## # Date : 03-09-2003 # Script Name : nagios # Function : nagios startup / stop script # Author : Brett Grice # # Description : A rewrite of the nagios startup script for redhat linux # # I'm not the worlds best script writer it works for me but # may not work others remember its a quick hack and really # only meant to work on Redhat Linux. ############################################################################ ### # Import Functions . /etc/rc.d/init.d/functions . /etc/sysconfig/network # Make sure nagios binaries and config files exist # Check that networking is up ( redhat and redhat flavors only } [ ${NETWORKING} = "no" ] && exit 0 [ -f /usr/bin/nagios ] || exit 0 [ -f /etc/nagios/nagios.cfg ] || exit 0 # Get nagios startup config if [ -f /etc/ssyconfig/nagios ]; then . /etc/sysconfig/nagios else OPTIONS="-d /etc/nagios/nagios.cfg" fi RETVAL=0 prog=nagios start() { # Start Daemons echo -n $"Starting $prog: " daemon nagios $OPTIONS RETVAL=$? [ $RETVAL -eq 0 ] && touch /var/lock/subsys/nagios echo $RETVAL } stop(){ # Stop Daemons echo -n $"Shutting down $prog: " killproc nagios RETVAL=$? [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/nagios && rm -f /usr/local/nagios/var/rw/nagios.cmd echo return $RETVAL } restart(){ stop start } case "$1" in start) start ;; stop) stop ;; restart) restart ;; status) status ${prog} ;; *) echo "Usage: nagios {start|stop|restart|status}" exit 1 esac # End of this script ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Wed Sep 3 06:43:07 2003 From: morris at unc.edu (Joe Morris) Date: Wed, 3 Sep 2003 00:43:07 -0400 Subject: Problem with tactical overview display Message-ID: Just installed Nagios 1.1 a month ago and going into production with it any day now as soon as I work out a few more kinks. This is on Solaris 2.8. This problem is cosmetic, but a nuisance and have ruled out it being a browser problem (tried IE, Moz and Opera). Also found a possible bug in tac.cgi. When I go to the 'Tactical Overview' nearly everything displays correctly except for the 'Services' section. Going from left to right underneath the the colspan for the Services heading the Critical cell is stretched WAY OUT with the warning, unknown, ok and pending cells on that same row squished off the screen to the right. Unless I open the browser very large, I must scroll the display to see those headings. The 'Hosts' and 'Monitoring Features' display just fine (all evenly spaced). What's up with the Services section being so lopsided? It looks something like this... +------------------------------------------------------------+ |Hosts | +------------------------------------------------------------+ | 0 Down | 0 Unreachable | 34 Up | 0 Pending | +------------------------------------------------------------+ +----------------------------------------------------------------------+ |Services | +----------------------------------------------------------------------+ |0 Critical | 0 | 0 | 89 | 0 | | | Warning | Unknown | OK | Pending | +----------------------------------------------------------------------+ Hope that came out OK. To get the real effect, make that Critical cell twice its current width and you get the idea (did not do here to keep it from wrapping). I tried looking at the source for that frame and saw no glaring errors. However, I did spot the string "stye" which looks like it was simply misspelled. I located that code on lines 1186-1190 of tac.c. I thought this may have had some strange effect and corrected the code, rebuilt tac.cgi, but it had no effect (cells still uneven). _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Wed Sep 3 08:13:24 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 03 Sep 2003 01:13:24 -0500 Subject: notifications re-enabling themselves? Message-ID: <1062569604.32308.31.camel@localhost> I'm running nagios 1.1 with a MySQL back-end (and apan, though I don't think that's a factor) and I am having a seriously bothersome problem (one that is paging people in the middle of the night!). I have a few hosts and services that are set as disabled both for checks and notifications. However, a significant percentage of the time, nagios "misses" these flags and re-checks and/or re-notifies about the problem. Obviously, if it's disabled, I want it to ignore the host/service. Now, this is not just an extrapolated guess, if you pull up the extinfo.cgi on a 'suspect' service and hit reload a few times, you can plainly see it cycling between Service Checks: Enabled and Service Checks: Disabled (same with Service Notifications). Is this a known issue? Is it fixed in CVS (which I can't get a full tree of because of "waiting for jovi's lock in /cvsroot/nagios/nagios/module")? If so, is there a patch that I can apply to my 1.1 source tree (in case CVS remains stuck)? Thanks for any help - this is quite urgent on my side, and I appreciate any insight (or even guesses, at this point). --jeff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Wed Sep 3 09:14:43 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 03 Sep 2003 02:14:43 -0500 Subject: notifications re-enabling themselves? In-Reply-To: <1062569604.32308.31.camel@localhost> References: <1062569604.32308.31.camel@localhost> Message-ID: <1062573283.32296.47.camel@localhost> To follow up on myself - I pulled the cvs tree (the 1.1 branch) via manual pulls of everything alphabetically below "module" (which seemed to be essentially useless) and rebuilt the app. Seems to be fixed now, after about a half hour of watching and sporadic reloading on my part. YMMV. Off to home and bed. --jeff On Wed, 2003-09-03 at 01:13, jeff vier wrote: > I'm running nagios 1.1 with a MySQL back-end (and apan, though I don't > think that's a factor) and I am having a seriously bothersome problem > (one that is paging people in the middle of the night!). > > I have a few hosts and services that are set as disabled both for checks > and notifications. However, a significant percentage of the time, > nagios "misses" these flags and re-checks and/or re-notifies about the > problem. Obviously, if it's disabled, I want it to ignore the > host/service. > > Now, this is not just an extrapolated guess, if you pull up the > extinfo.cgi on a 'suspect' service and hit reload a few times, you can > plainly see it cycling between Service Checks: Enabled and Service > Checks: Disabled (same with Service Notifications). > > Is this a known issue? Is it fixed in CVS (which I can't get a full > tree of because of "waiting for jovi's lock in > /cvsroot/nagios/nagios/module")? If so, is there a patch that I can > apply to my 1.1 source tree (in case CVS remains stuck)? > > Thanks for any help - this is quite urgent on my side, and I appreciate > any insight (or even guesses, at this point). > > --jeff > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens at nha.co.za Wed Sep 3 09:46:32 2003 From: jens at nha.co.za (=?iso-8859-1?Q?Jens_von_B=FClow?=) Date: Wed, 3 Sep 2003 09:46:32 +0200 Subject: FAQ: tac.cgi - table alignment error (version 1.1) Message-ID: <8F2D061DFD77E444B00D8FE9B8273DD06C606C@titan.nha.co.za> Greetings, I really though that this would be a FAQ, but all my searching on the web hasn't been successful. When I view the TAC page the "Services" table is misaligned and shots over to the right. Can anyone point me in the right direction? Regards Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From jens at nha.co.za Wed Sep 3 09:42:38 2003 From: jens at nha.co.za (=?iso-8859-1?Q?Jens_von_B=FClow?=) Date: Wed, 3 Sep 2003 09:42:38 +0200 Subject: Availability Report: Service Log Entries Message-ID: <8F2D061DFD77E444B00D8FE9B8273DD06C606B@titan.nha.co.za> Greetings, Is this an error or expected behaviour. When I perform an availability report on a service for "last month" I get the correct report. However, the "Service Log Entries" show all log entries going back 3 months (showing 4 months in total) I would have expected to only see log entries for my reporting period. Any comments? Regards Jens -------------- next part -------------- An HTML attachment was scrubbed... URL: From Sam at Luna.nl Wed Sep 3 10:02:40 2003 From: Sam at Luna.nl (Sam Terburg) Date: Wed, 3 Sep 2003 10:02:40 +0200 Subject: host check_interval Message-ID: <404FDD57B6C6D2119E0700902735F524019F9C18@lavazza.office.luna.net> i'm totally confused. where do i specify the check_interval & contacts for a host? Sam Terburg Operations @ Luna.nl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SteveH at brendata.co.uk Wed Sep 3 10:27:31 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 3 Sep 2003 09:27:31 +0100 Subject: FAQ: tac.cgi - table alignment error (version 1.1) Message-ID: <11720FFB22BED511A66800E07D923B371721E1@prodntsc2.brendata> It's the table below it which is in a single cell, probably needs a colspan added to it. Steve -----Original Message----- From: Jens von B?low [mailto:jens at nha.co.za] Sent: 03 September 2003 08:47 To: nagios-users Subject: [Nagios-users] FAQ: tac.cgi - table alignment error (version 11) Greetings, I really though that this would be a FAQ, but all my searching on the web hasn't been successful. When I view the TAC page the "Services" table is misaligned and shots over to the right. Can anyone point me in the right direction? Regards Jens The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gabriele.DeGregorio at enterpriseda.com Wed Sep 3 10:34:59 2003 From: Gabriele.DeGregorio at enterpriseda.com (Gabriele De Gregorio) Date: Wed, 3 Sep 2003 10:34:59 +0200 Subject: Plugins Message-ID: Hi! I need to install nagios plugins. I downloaded the tar from internet, I extracted it but I couldn't install. Configure indicates an error "Checking for C compiler default output... configure: error: C compiler cannot create executables" I have already installed gcc and any other C compilers. What can I do now? Without plugins, nagios doesn't monitor my network resources. Thank's, Gabriele -------------- next part -------------- An HTML attachment was scrubbed... URL: From SteveH at brendata.co.uk Wed Sep 3 11:09:49 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 3 Sep 2003 10:09:49 +0100 Subject: critical status in check_email_loop Message-ID: <11720FFB22BED511A66800E07D923B371721E3@prodntsc2.brendata> Is the only way of resetting a lost email to delete the status file, or does it reset itself after some period? Steve Hanselman Brendata (UK) Ltd Tel: +44 (0)1268 466111 Fax: +44 (0)870 1387283 Mob: +44 (0)7973 750993 The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ton.Voon at egg.com Wed Sep 3 11:43:00 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 3 Sep 2003 10:43:00 +0100 Subject: Plugins Message-ID: Gabriele, Which release did you use? Can you post the full configure output and the config.log. My guess is that it is not finding gcc. Ton -----Original Message----- From: Gabriele De Gregorio [mailto:Gabriele.DeGregorio at enterpriseda.com] Sent: Wednesday, September 03, 2003 9:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugins Hi! I need to install nagios plugins. I downloaded the tar from internet, I extracted it but I couldn't install. Configure indicates an error "Checking for C compiler default output... configure: error: C compiler cannot create executables" I have already installed gcc and any other C compilers. What can I do now? Without plugins, nagios doesn't monitor my network resources. Thank's, Gabriele This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -------------- next part -------------- An HTML attachment was scrubbed... URL: From SteveH at brendata.co.uk Wed Sep 3 11:37:51 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 3 Sep 2003 10:37:51 +0100 Subject: FAQ: tac.cgi - table alignment error (version 1.1) Message-ID: <11720FFB22BED511A66800E07D923B371721E6@prodntsc2.brendata> Having taken a closer look, I'm wrong, that's not what the problem is, I'll look a little closer and fix it and post a diff shortly. Steve -----Original Message----- From: Steve Hanselman [mailto:SteveH at brendata.co.uk] Sent: 03 September 2003 09:28 To: 'Jens von B?low'; nagios-users Subject: RE: [Nagios-users] FAQ: tac.cgi - table alignment error (version 1.1) It's the table below it which is in a single cell, probably needs a colspan added to it. Steve -----Original Message----- From: Jens von B?low [mailto:jens at nha.co.za] Sent: 03 September 2003 08:47 To: nagios-users Subject: [Nagios-users] FAQ: tac.cgi - table alignment error (version 11) Greetings, I really though that this would be a FAQ, but all my searching on the web hasn't been successful. When I view the TAC page the "Services" table is misaligned and shots over to the right. Can anyone point me in the right direction? Regards Jens The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendataco.uk The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From plavielle at acte-ing.com Wed Sep 3 11:59:05 2003 From: plavielle at acte-ing.com (Patrice Lavielle) Date: Wed, 3 Sep 2003 11:59:05 +0200 Subject: Program Loop ??? Message-ID: <1AB3FD2794CE2F40886212910FF06286089E24@actesrv.acte-ing.com> Hello. We use nagios V1 for i while and on a lot of computer. On some of them we experienced strange problem. This problem was : - The nagios process was in memory and nagios run - On all host we have this problem 08-08-2003 15:27:55 08-08-2003 15:27:55 0d 0h 0m 0s PROGRAM END Normal program termination 08-08-2003 15:27:55 08-08-2003 16:15:56 0d 0h 48m 1s PROGRAM (RE)START Program start 08-08-2003 16:15:56 08-08-2003 16:15:56 0d 0h 0m 0s PROGRAM END Normal program termination 08-08-2003 16:15:56 08-08-2003 16:37:11 0d 0h 21m 15s PROGRAM (RE)START Program start 08-08-2003 16:37:11 08-08-2003 16:37:11 0d 0h 0m 0s PROGRAM END Normal program termination 08-08-2003 16:37:11 08-21-2003 12:27:31 12d 19h 50m 20s PROGRAM (RE)START Program start We can see that the nagios process was in memory but it cant't start to make measures. This was strange because we don't have the same down time for all the hosts. If someone can help me i thank you a lot. -------------- next part -------------- An HTML attachment was scrubbed... URL: From SteveH at brendata.co.uk Wed Sep 3 12:05:17 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 3 Sep 2003 11:05:17 +0100 Subject: FAQ: tac.cgi - table alignment error (version 1.1) Message-ID: <11720FFB22BED511A66800E07D923B371721E7@prodntsc2.brendata> Ok, I've fixed this, it was a caused by a couple of typos and some missing quotes, I'll post the diff to the list unless somebody complains in the next few minutes, I'm just checking whether there are any typos elsewhere. -----Original Message----- From: Steve Hanselman [mailto:SteveH at brendata.co.uk] Sent: 03 September 2003 09:28 To: 'Jens von B?low'; nagios-users Subject: RE: [Nagios-users] FAQ: tac.cgi - table alignment error (version 1.1) It's the table below it which is in a single cell, probably needs a colspan added to it. Steve -----Original Message----- From: Jens von B?low [mailto:jens at nha.co.za] Sent: 03 September 2003 08:47 To: nagios-users Subject: [Nagios-users] FAQ: tac.cgi - table alignment error (version 11) Greetings, I really though that this would be a FAQ, but all my searching on the web hasn't been successful. When I view the TAC page the "Services" table is misaligned and shots over to the right. Can anyone point me in the right direction? Regards Jens The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendataco.uk The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From igor.kurtovic at qsc.de Wed Sep 3 12:05:33 2003 From: igor.kurtovic at qsc.de (Igor Kurtovic) Date: Wed, 03 Sep 2003 12:05:33 +0200 Subject: Host checks pending! In-Reply-To: References: Message-ID: <1062583533.3695.8.camel@qsclap888.sl.qsc.de> try to bind some services on these hosts.. the check-host-alive will only be done when these hosts have services to be checked. add a service ping and you will see that they are being checked then Regards, Igor On Wed, 2003-09-03 at 02:15, Pedro Rebelo wrote: > It is strange but some of my hosts arent being checked. They use the same template as the other hosts that are being checked with the check-host-alive command. In Host Status Information a message like this appears: "this host has not yet been checked, so status information is not available". > I've allready restarted and reloaded nagios new configuration ( after I had inserted these hosts ) and nothing happens. What should be the problem ? > > Thanks. > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ******************************** Igor Kurtovic Technische Systeml?sungen QSC AG Phone: +49 221 6698 404 Mobile: +49 163 6698 075 Fax: +49 221 6698 469 WWW: www.q-dsl.de Email: igor.kurtovic at qsc.de ******************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From tvilliers at lastminute.com Wed Sep 3 10:34:44 2003 From: tvilliers at lastminute.com (Tielman de Villiers) Date: Wed, 03 Sep 2003 09:34:44 +0100 Subject: Problem with tactical overview display In-Reply-To: References: Message-ID: <1062578083.7499.5.camel@lmn10631.lastminute.com> Joe, You actually have to do a whole re-hack of the HTML. I attach a screenshot of my TAC page, after hacking, and changing the stylesheet. I can forward you the tac.c and stylesheet if you are interested. If you want to do the hack on your own -- have a look for a which was commented out somewhere in the original tac.c , and remove the comments (I'm recalling from memory of about 3/4 weeks ago, but I'm sure it was something like an un--ended TR). Cheers -- Tielman de Villiers Perl Developer: Post Sales lastminute.com Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com On Wed, 2003-09-03 at 05:43, Joe Morris wrote: > Just installed Nagios 1.1 a month ago and going into production with it > any day now as soon as I work out a few more kinks. This is on Solaris > 2.8. This problem is cosmetic, but a nuisance and have ruled out it being > a browser problem (tried IE, Moz and Opera). Also found a possible bug in > tac.cgi. > > When I go to the 'Tactical Overview' nearly everything displays correctly > except for the 'Services' section. Going from left to right underneath > the the colspan for the Services heading the Critical cell is stretched > WAY OUT with the warning, unknown, ok and pending cells on that same row > squished off the screen to the right. Unless I open the browser very > large, I must scroll the display to see those headings. > > The 'Hosts' and 'Monitoring Features' display just fine (all evenly > spaced). What's up with the Services section being so lopsided? It looks > something like this... > > +------------------------------------------------------------+ > |Hosts | > +------------------------------------------------------------+ > | 0 Down | 0 Unreachable | 34 Up | 0 Pending | > +------------------------------------------------------------+ > > +----------------------------------------------------------------------+ > |Services | > +----------------------------------------------------------------------+ > |0 Critical | 0 | 0 | 89 | 0 | > | | Warning | Unknown | OK | Pending | > +----------------------------------------------------------------------+ > > Hope that came out OK. To get the real effect, make that Critical cell > twice its current width and you get the idea (did not do here to keep it > from wrapping). > > I tried looking at the source for that frame and saw no glaring errors. > However, I did spot the string "stye" which looks like it was simply > misspelled. I located that code on lines 1186-1190 of tac.c. I thought > this may have had some strange effect and corrected the code, rebuilt > tac.cgi, but it had no effect (cells still uneven). > > _______________________________________________ > Joe Morris, Web Systems Manager > Academic Technology and Networks > The University of North Carolina at Chapel Hill > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________ -------------- next part -------------- A non-text attachment was scrubbed... Name: Screenshot-1.png Type: image/png Size: 138028 bytes Desc: not available URL: From Ton.Voon at egg.com Wed Sep 3 12:31:33 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Wed, 3 Sep 2003 11:31:33 +0100 Subject: Plugins Message-ID: The problem lines in config.log appear to be: configure:2136: gcc conftest.c >&5 /usr/bin/ld: cannot open crt1.o: No such file or directory collect2: ld returned 1 exit status configure:2139: $? = 1 configure: failed program was: | #line 2112 "configure" | /* confdefs.h. */ | | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE "nagios-plugins" | #define VERSION "1.3.1" | /* end confdefs.h. */ | | int | main () | { | | ; | return 0; | } configure:2178: error: C compiler cannot create executables This suggests that gcc has a problem with crt1.o. Presumably you compiled nagios okay. Can you compile anything else? Ton -----Original Message----- From: Gabriele De Gregorio [mailto:Gabriele.DeGregorio at enterpriseda.com] Sent: Wednesday, September 03, 2003 11:07 AM To: Voon, Ton Subject: RE: [Nagios-users] Plugins I have installed nagios 1.1 and plugins-kit is 1.30 This is the full configure output ./configure -prefix=/etc/nagios/ --with-nagios-user=nagiosadmin -with-nagios-group=nagios -with-cgiurl=/usr/lib/cgi-bin/nagios/ checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... no checking for a BSD-compatible install... /usr/bin/install -c checking for gcc... gcc checking for C compiler default output... configure: error: C compiler cannot create executables see 'config.log' for more details I send you config.log too Many thank's Gabriele -----Original Message----- From: Voon, Ton [mailto:Ton.Voon at egg.com] Sent: mercoled? 3 settembre 2003 11.43 To: Gabriele De Gregorio; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Plugins Gabriele, Which release did you use? Can you post the full configure output and the config.log. My guess is that it is not finding gcc. Ton -----Original Message----- From: Gabriele De Gregorio [mailto:Gabriele.DeGregorio at enterpriseda.com] Sent: Wednesday, September 03, 2003 9:35 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugins Hi! I need to install nagios plugins. I downloaded the tar from internet, I extracted it but I couldn't install. Configure indicates an error "Checking for C compiler default output... configure: error: C compiler cannot create executables" I have already installed gcc and any other C compilers. What can I do now? Without plugins, nagios doesn't monitor my network resources. Thank's, Gabriele This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SteveH at brendata.co.uk Wed Sep 3 13:18:40 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Wed, 3 Sep 2003 12:18:40 +0100 Subject: FAQ: tac.cgi - table alignment error (version 1.1) Message-ID: <11720FFB22BED511A66800E07D923B371721E8@prodntsc2.brendata> Ok, here's a diff, there's still a bit more to do, but it fixes the bulk of the bits. Regards, Steve -----Original Message----- From: Steve Hanselman [mailto:SteveH at brendata.co.uk] Sent: 03 September 2003 09:28 To: 'Jens von B?low'; nagios-users Subject: RE: [Nagios-users] FAQ: tac.cgi - table alignment error (version 1.1) It's the table below it which is in a single cell, probably needs a colspan added to it. Steve -----Original Message----- From: Jens von B?low [mailto:jens at nha.co.za] Sent: 03 September 2003 08:47 To: nagios-users Subject: [Nagios-users] FAQ: tac.cgi - table alignment error (version 11) Greetings, I really though that this would be a FAQ, but all my searching on the web hasn't been successful. When I view the TAC page the "Services" table is misaligned and shots over to the right. Can anyone point me in the right direction? Regards Jens The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendataco.uk The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: cgi.patch.gz Type: application/octet-stream Size: 11172 bytes Desc: not available URL: From mpowell at ena.com Wed Sep 3 14:43:58 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 3 Sep 2003 07:43:58 -0500 Subject: notifications re-enabling themselves? Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4940@mismail.ena.com> The type of behavior you are seeing is caused by having multiple nagios processes running at the same time. Its not a bug but more operator error. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: jeff vier To: nagios-users Sent: Wed Sep 03 01:13:24 2003 Subject: [Nagios-users] notifications re-enabling themselves? I'm running nagios 1.1 with a MySQL back-end (and apan, though I don't think that's a factor) and I am having a seriously bothersome problem (one that is paging people in the middle of the night!). I have a few hosts and services that are set as disabled both for checks and notifications. However, a significant percentage of the time, nagios "misses" these flags and re-checks and/or re-notifies about the problem. Obviously, if it's disabled, I want it to ignore the host/service. Now, this is not just an extrapolated guess, if you pull up the extinfo.cgi on a 'suspect' service and hit reload a few times, you can plainly see it cycling between Service Checks: Enabled and Service Checks: Disabled (same with Service Notifications). Is this a known issue? Is it fixed in CVS (which I can't get a full tree of because of "waiting for jovi's lock in /cvsroot/nagios/nagios/module")? If so, is there a patch that I can apply to my 1.1 source tree (in case CVS remains stuck)? Thanks for any help - this is quite urgent on my side, and I appreciate any insight (or even guesses, at this point). --jeff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jsm at inpro.net Wed Sep 3 15:00:29 2003 From: jsm at inpro.net (Jeff McKeon) Date: 03 Sep 2003 09:00:29 -0400 Subject: nrpe problem Message-ID: <1062594028.1691.76.camel@rh80-jsm.telaurus.net> I've got the nrpe remote daemon on a system but when I run it I get the following error in my /var/log/message and the nagios host has a socket timeout error. /var/log/message/ nrpe[2592]: Could not read request from client, Bailing out.... any ideas here? -- Jeff McKeon ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kalle at kontilint.se Wed Sep 3 14:45:08 2003 From: kalle at kontilint.se (Kalle Andersson) Date: Wed, 03 Sep 2003 14:45:08 +0200 Subject: check_http times out eventhough website is accessible In-Reply-To: <3F4F4B89.6070009@kontilint.se> References: <5DB017510818EC468B05BD7BD9EACF83032D491C@mismail.ena.com> <3F4F4B89.6070009@kontilint.se> Message-ID: <3F55E254.5040704@kontilint.se> Sorry about pushing this issue, but am I alone regarding this issue? Kalle Andersson wrote: > > But I should've noticed that when using telnet/lynx? There couldn't be > that much difference between check_http and telnet. > I can't recall if there was a slight delay when trying to connect to > those sites, but I'm certain that it didn't take 10 seconds, using lynx > that is. > > By the way, I'm using IP-addresses when connecting, DNS is not an issue > here. > > Once I get the error again I'll try and se if I can get some additional > information by tracking the syscalls done by check_http. > > Marc Powell wrote: > >> It seems that it might be taking longer than 10 seconds for the plugin >> to make the request and receive the response. Is that what you are >> seeung during those times? You might consider extending you plugin >> timeout value. >> >> >> -- >> Marc >> >> Sent from a very tiny wireless device with a very tiny unlit keyboard. >> >> >> -----Original Message----- >> From: Kalle Andersson >> To: nagios-users at lists.sourceforge.net >> >> Sent: Fri Aug 29 05:44:46 2003 >> Subject: [Nagios-users] check_http times out eventhough website is >> accessible >> >> Hi everyone! >> >> I'm having a strange problem with my nagios setup. I'm running nagios >> 1.0 on top of FreeBSD 4.7. >> >> Earlier this week I recieved alerts regarding two websites that I'm >> monitoring, strange thing was that I could reach them from the >> survelliance server by using telnet (against port 80) and lynx. >> >> check_http returned with "Socket timeout after 10 seconds" and State: >> Critical >> >> This has happened three times, all during tuesday and wednesday this >> week. I'd be very happy to hear about any ideas regarding this problem. >> >> Thanks in advance. >> >> -- >> Best regards / Med v?nlig h?lsning >> Kalle Andersson, CISSP >> S?kerhetskonsult / Kontilint Data AB >> Mail: kalle at kontilint.se >> Tel: +46-702-420659 >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed Sep 3 15:43:44 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 3 Sep 2003 09:43:44 -0400 Subject: check_http times out eventhough website is accessible Message-ID: <5F29693503507B4FB4032686ADF862673B58B7@mtviny25.mtvi.com> what happened when you increased the timeout value with the -plugin to, say, 20 seconds? -----Original Message----- From: Kalle Andersson [mailto:kalle at kontilint.se] Sent: Wednesday, September 03, 2003 8:45 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_http times out eventhough website is accessible Sorry about pushing this issue, but am I alone regarding this issue? Kalle Andersson wrote: > > But I should've noticed that when using telnet/lynx? There couldn't be > that much difference between check_http and telnet. > I can't recall if there was a slight delay when trying to connect to > those sites, but I'm certain that it didn't take 10 seconds, using lynx > that is. > > By the way, I'm using IP-addresses when connecting, DNS is not an issue > here. > > Once I get the error again I'll try and se if I can get some additional > information by tracking the syscalls done by check_http. > > Marc Powell wrote: > >> It seems that it might be taking longer than 10 seconds for the plugin >> to make the request and receive the response. Is that what you are >> seeung during those times? You might consider extending you plugin >> timeout value. >> >> >> -- >> Marc >> >> Sent from a very tiny wireless device with a very tiny unlit keyboard. >> >> >> -----Original Message----- >> From: Kalle Andersson >> To: nagios-users at lists.sourceforge.net >> >> Sent: Fri Aug 29 05:44:46 2003 >> Subject: [Nagios-users] check_http times out eventhough website is >> accessible >> >> Hi everyone! >> >> I'm having a strange problem with my nagios setup. I'm running nagios >> 1.0 on top of FreeBSD 4.7. >> >> Earlier this week I recieved alerts regarding two websites that I'm >> monitoring, strange thing was that I could reach them from the >> survelliance server by using telnet (against port 80) and lynx. >> >> check_http returned with "Socket timeout after 10 seconds" and State: >> Critical >> >> This has happened three times, all during tuesday and wednesday this >> week. I'd be very happy to hear about any ideas regarding this problem. >> >> Thanks in advance. >> >> -- >> Best regards / Med v?nlig h?lsning >> Kalle Andersson, CISSP >> S?kerhetskonsult / Kontilint Data AB >> Mail: kalle at kontilint.se >> Tel: +46-702-420659 >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when >> reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshurett at alphaomegahosting.com Wed Sep 3 15:51:06 2003 From: dshurett at alphaomegahosting.com (Danny Shurett) Date: Wed, 3 Sep 2003 09:51:06 -0400 Subject: check_http times out eventhough website is accessible References: <5DB017510818EC468B05BD7BD9EACF83032D491C@mismail.ena.com> <3F4F4B89.6070009@kontilint.se> <3F55E254.5040704@kontilint.se> Message-ID: <037f01c37222$6dd1daf0$6401a8c0@homexp> Strange thing I am having today that may be related. I use nagios to monitor about 20 servers. This morning at exactly 4:55, I lost http connectivity to 3 of them. I also can't use lynx to get to them either. According to a packet capture, instead of getting the http back from the servers, i get an HTTP continuation message. Not sure if this is related, but just a thought. ----- Original Message ----- From: "Kalle Andersson" To: Sent: Wednesday, September 03, 2003 8:45 AM Subject: Re: [Nagios-users] check_http times out eventhough website is accessible > Sorry about pushing this issue, but am I alone regarding this issue? > > Kalle Andersson wrote: > > > > > But I should've noticed that when using telnet/lynx? There couldn't be > > that much difference between check_http and telnet. > > I can't recall if there was a slight delay when trying to connect to > > those sites, but I'm certain that it didn't take 10 seconds, using lynx > > that is. > > > > By the way, I'm using IP-addresses when connecting, DNS is not an issue > > here. > > > > Once I get the error again I'll try and se if I can get some additional > > information by tracking the syscalls done by check_http. > > > > Marc Powell wrote: > > > >> It seems that it might be taking longer than 10 seconds for the plugin > >> to make the request and receive the response. Is that what you are > >> seeung during those times? You might consider extending you plugin > >> timeout value. > >> > >> > >> -- > >> Marc > >> > >> Sent from a very tiny wireless device with a very tiny unlit keyboard. > >> > >> > >> -----Original Message----- > >> From: Kalle Andersson > >> To: nagios-users at lists.sourceforge.net > >> > >> Sent: Fri Aug 29 05:44:46 2003 > >> Subject: [Nagios-users] check_http times out eventhough website is > >> accessible > >> > >> Hi everyone! > >> > >> I'm having a strange problem with my nagios setup. I'm running nagios > >> 1.0 on top of FreeBSD 4.7. > >> > >> Earlier this week I recieved alerts regarding two websites that I'm > >> monitoring, strange thing was that I could reach them from the > >> survelliance server by using telnet (against port 80) and lynx. > >> > >> check_http returned with "Socket timeout after 10 seconds" and State: > >> Critical > >> > >> This has happened three times, all during tuesday and wednesday this > >> week. I'd be very happy to hear about any ideas regarding this problem. > >> > >> Thanks in advance. > >> > >> -- > >> Best regards / Med v?nlig h?lsning > >> Kalle Andersson, CISSP > >> S?kerhetskonsult / Kontilint Data AB > >> Mail: kalle at kontilint.se > >> Tel: +46-702-420659 > >> > >> > >> > >> ------------------------------------------------------- > >> This sf.net email is sponsored by:ThinkGeek > >> Welcome to geek heaven. > >> http://thinkgeek.com/sf > >> _______________________________________________ > >> Nagios-users mailing list > >> Nagios-users at lists.sourceforge.net > >> https://lists.sourceforge.net/lists/listinfo/nagios-users > >> ::: Please include Nagios version, plugin version (-v) and OS when > >> reporting any issue. > >> ::: Messages without supporting info will risk being sent to /dev/null > >> > > > > > > > -- > Best regards / Med v?nlig h?lsning > Kalle Andersson, CISSP > S?kerhetskonsult / Kontilint Data AB > Mail: kalle at kontilint.se > Tel: +46-702-420659 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dshurett at alphaomegahosting.com Wed Sep 3 15:56:15 2003 From: dshurett at alphaomegahosting.com (Danny Shurett) Date: Wed, 3 Sep 2003 09:56:15 -0400 Subject: nrpe problem References: <1062594028.1691.76.camel@rh80-jsm.telaurus.net> Message-ID: <039601c37223$2606af60$6401a8c0@homexp> Just a few things I have been checking on my recent issues. only_from in /etc/xinetd.d/nrpe If check_nrpe was compiled with SSL, make sure nrpe was compiled with SSL ----- Original Message ----- From: "Jeff McKeon" To: "Nagios List" Sent: Wednesday, September 03, 2003 9:00 AM Subject: [Nagios-users] nrpe problem > I've got the nrpe remote daemon on a system but when I run it I get the > following error in my /var/log/message and the nagios host has a socket > timeout error. > > /var/log/message/ > > nrpe[2592]: Could not read request from client, Bailing out.... > > any ideas here? > -- > Jeff McKeon > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kalle at kontilint.se Wed Sep 3 16:05:04 2003 From: kalle at kontilint.se (Kalle Andersson) Date: Wed, 03 Sep 2003 16:05:04 +0200 Subject: check_http times out eventhough website is accessible In-Reply-To: <037f01c37222$6dd1daf0$6401a8c0@homexp> References: <5DB017510818EC468B05BD7BD9EACF83032D491C@mismail.ena.com> <3F4F4B89.6070009@kontilint.se> <3F55E254.5040704@kontilint.se> <037f01c37222$6dd1daf0$6401a8c0@homexp> Message-ID: <3F55F510.7090305@kontilint.se> I also could see that HTTP packets were being returned, but I couldn't see what type of packets it was. But I could use lynx to reach the sites. What platform are you running nagios on? It might be related though. HTTP continuation packets are packets that belong to an older TCP stream, right? I'll try to do more research as soon as the problem shows up again, I'd be thankful if you could do the same! Danny Shurett wrote: > Strange thing I am having today that may be related. I use nagios to > monitor about 20 servers. This morning at exactly 4:55, I lost http > connectivity to 3 of them. I also can't use lynx to get to them either. > According to a packet capture, instead of getting the http back from the > servers, i get an HTTP continuation message. > > Not sure if this is related, but just a thought. > > > ----- Original Message ----- > From: "Kalle Andersson" > To: > Sent: Wednesday, September 03, 2003 8:45 AM > Subject: Re: [Nagios-users] check_http times out eventhough website is > accessible > > > >>Sorry about pushing this issue, but am I alone regarding this issue? >> >>Kalle Andersson wrote: >> >> >>>But I should've noticed that when using telnet/lynx? There couldn't be >>>that much difference between check_http and telnet. >>>I can't recall if there was a slight delay when trying to connect to >>>those sites, but I'm certain that it didn't take 10 seconds, using lynx >>>that is. >>> >>>By the way, I'm using IP-addresses when connecting, DNS is not an issue >>>here. >>> >>>Once I get the error again I'll try and se if I can get some additional >>>information by tracking the syscalls done by check_http. >>> >>>Marc Powell wrote: >>> >>> >>>>It seems that it might be taking longer than 10 seconds for the plugin >>>>to make the request and receive the response. Is that what you are >>>>seeung during those times? You might consider extending you plugin >>>>timeout value. >>>> >>>> >>>>-- >>>>Marc >>>> >>>>Sent from a very tiny wireless device with a very tiny unlit keyboard. >>>> >>>> >>>>-----Original Message----- >>>>From: Kalle Andersson >>>>To: nagios-users at lists.sourceforge.net >>>> >>>>Sent: Fri Aug 29 05:44:46 2003 >>>>Subject: [Nagios-users] check_http times out eventhough website is >>>>accessible >>>> >>>>Hi everyone! >>>> >>>>I'm having a strange problem with my nagios setup. I'm running nagios >>>>1.0 on top of FreeBSD 4.7. >>>> >>>>Earlier this week I recieved alerts regarding two websites that I'm >>>>monitoring, strange thing was that I could reach them from the >>>>survelliance server by using telnet (against port 80) and lynx. >>>> >>>>check_http returned with "Socket timeout after 10 seconds" and State: >>>>Critical >>>> >>>>This has happened three times, all during tuesday and wednesday this >>>>week. I'd be very happy to hear about any ideas regarding this problem. >>>> >>>>Thanks in advance. >>>> >>>>-- >>>>Best regards / Med v?nlig h?lsning >>>>Kalle Andersson, CISSP >>>>S?kerhetskonsult / Kontilint Data AB >>>>Mail: kalle at kontilint.se >>>>Tel: +46-702-420659 >>>> >>>> >>>> >>>>------------------------------------------------------- >>>>This sf.net email is sponsored by:ThinkGeek >>>>Welcome to geek heaven. >>>>http://thinkgeek.com/sf >>>>_______________________________________________ >>>>Nagios-users mailing list >>>>Nagios-users at lists.sourceforge.net >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>>::: Please include Nagios version, plugin version (-v) and OS when >>>>reporting any issue. >>>>::: Messages without supporting info will risk being sent to /dev/null >>>> >>> >>> >> >>-- >>Best regards / Med v?nlig h?lsning >>Kalle Andersson, CISSP >>S?kerhetskonsult / Kontilint Data AB >>Mail: kalle at kontilint.se >>Tel: +46-702-420659 >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> >> >> > > > > -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andy at atcomputerconsulting.com Wed Sep 3 16:05:46 2003 From: andy at atcomputerconsulting.com (Andy Stein) Date: Wed, 3 Sep 2003 10:05:46 -0400 (EDT) Subject: Restart windows processes? In-Reply-To: References: Message-ID: <59382.63.102.39.70.1062597946.squirrel@www.atcomputerconsulting.com> Sure - But please be forewarned, I'm not a very modular coder. My efforts usually go to the task at hand and not always to the best reusability. Also, I beat my head against the wall for a while trying to figure out where to put the script so that when nagios authenticated to the windows box it would be part of the path so I resolved that by putting the path in the script. Anyway, here's a script that the netsaint service on windows. I used the sample code that the nagios docs provide and just modified a few things. This code goes on the windows box. I have a path identified in the script on the nagios side. net stop nsclient sleep 5 net start nsclient And this is on the nagios side. I have nagios authorized to login to the windows box as me (i'm a domain admin), and in my opinion since I'm using the keys this is pretty secure since only nagios is allowed to log in. #!/bin/sh # # Event handler script for restarting the nsclient service on the remote machine # # Note: This script will only restart the web server if the service is # retried 3 times (in a "soft" state) or if the web service somehow # manages to fall into a "hard" error state. # # What state is the HTTP service in? # ARG1=SERVICESTATE # ARG2=STATETYPE # ARG3=SERVICEATTEMPT # ARG4=HOSTNAME # SERVICE ALERT: usmnlm03;NS Client Version;CRITICAL;SOFT;2;Connection refused by host script_path=/cygdrive/c/docume~1/astein/nagios_scripts cmd="ssh -l astein usmnla45 $script_path/nsclient.cmd $4" case "$1" in OK) # The service just came back up, so don't do anything... ;; WARNING) # We don't really care about warning states, since the service is probably still running... ;; UNKNOWN) # We don't know what might be causing an unknown error, so don't do anything... ;; CRITICAL) # Aha! The HTTP service appears to have a problem - perhaps we should restart the server... # Is this a "soft" or a "hard" state? case "$2" in # We're in a "soft" state, meaning that Nagios is in the middle of retrying the # check before it turns into a "hard" state and contacts get notified... i SOFT) # What check attempt are we on? We don't want to restart the web server on the first # check, because it may just be a fluke! case "$3" in # If the check fails on the 2th time (after we restart the service), the state # type will turn to "hard" and contacts will be notified of the problem. # Hopefully this will restart the service successfully, so the 2th check will # result in a "soft" recovery. If that happens no one gets notified because we # fixed the problem! 2) # Call the init script to restart the service /usr/bin/printf "%b" "***** My NOC *****\n\n$cmd" | /bin/mail -s "ssh notification " andy_stein at mysmtpmailserver $cmd ;; esac ;; # It should have been restarted by the code above, but for some reason it didn't. # Let's give it one last try, shall we? # Note: Contacts have already been notified of a problem with the service at this # point (unless you disabled notifications for this service) HARD) /usr/bin/printf "%b" "***** Brown & Williamson NOC *****\n\n$cmd" | /bin/mail -s "ssh notification " andy_stein at usnotessmtp $cmd ;; esac ;; esac exit 0 > Andy, > Can you post a sample script ? > thanks > G > "Andy Stein" wrote in message > news:1973.192.168.1.5.1056826030.squirrel at www.atcomputerconsulting.com... >> I'd been looking for this for a while, and here is what I came up with >> and >> it works pretty darn good. >> >> Get openSSH installed on your windows box. >> http://lexa.mckenna.edu/sshwindows/ is a site that has a very simple >> install. Hurry up, site might be moving shortly. >> >> Get it configured so the Nagios process can use public key >> authentication >> on the box with the service to restart. And when it fails, have an >> event >> handler bounce the service. >> >> One problem that I ran into was running scripts from the ssh command >> originating from my linux box. I had pathing problems. When I would do >> something like: "ssh windowserver -l myid restartservice.cmd" it >> couldn't >> find it. So my solution was to just put the script in the system32 >> folder. I do this with each script for a restart that I need to >> perform. >> I also had problems with \ and a few other issues. So I basically do >> everything within the script and only pass a small set of parameters >> like >> host name with no \ in it. >> >> Hope this helps. >> >> > you could use Samba-TNG, to build a plugin that will restart a windows >> > service/process. >> > >> > Lane >> > >> > -----Original Message----- >> > From: Olivier Beauchemin >> > To: nagios-users at lists.sourceforge.net >> > Sent: 6/27/2003 5:15 PM >> > Subject: [Nagios-users] Restart windows processes? >> > >> > >> > ...I was hoping someone here will know of a Nagios plug-in that will >> > check and restart *Windows* processes? >> > >> > I've not been able to find anything that will do this, but I might >> just >> > have overlooked some nuance of some plug-in somewhere. >> > >> > Thanks, >> > Olivier >> > >> > >> > >> > ------------------------------------------------------- >> > This SF.Net email sponsored by: Free pre-built ASP.NET sites including >> > Data Reports, E-commerce, Portals, and Forums are available now. >> > Download today and enter to win an XBOX or Visual Studio .NET. >> > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: Please include Nagios version, plugin version (-v) and OS when >> > reporting any issue. >> > ::: Messages without supporting info will risk being sent to /dev/null >> > >> > >> > >> > >> >> >> >> ------------------------------------------------------- >> This SF.Net email sponsored by: Free pre-built ASP.NET sites including >> Data Reports, E-commerce, Portals, and Forums are available now. >> Download today and enter to win an XBOX or Visual Studio .NET. >> http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> > > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Sep 3 16:17:09 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 3 Sep 2003 09:17:09 -0500 Subject: Nagios repository locked by "jovi" Message-ID: <16213.63461.77460.488676@montanaro.dyndns.org> I waited for about five minutes for this to go away: cvs server: [07:02:52] waiting for anoncvs_nagios's lock in /cvsroot/nagios/nagios/module then was immediately greeted with: cvs server: [07:09:53] waiting for jovi's lock in /cvsroot/nagios/nagios/module I posted a SF request to get the lock cleared. I saw mention of a lock held by "jovi" in mail sent last night to nagios-users, so I suspect this lock has been held for quite awhile. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From dshurett at alphaomegahosting.com Wed Sep 3 16:10:44 2003 From: dshurett at alphaomegahosting.com (Danny Shurett) Date: Wed, 3 Sep 2003 10:10:44 -0400 Subject: check_http times out eventhough website is accessible References: <5DB017510818EC468B05BD7BD9EACF83032D491C@mismail.ena.com> <3F4F4B89.6070009@kontilint.se> <3F55E254.5040704@kontilint.se> <037f01c37222$6dd1daf0$6401a8c0@homexp> <3F55F510.7090305@kontilint.se> Message-ID: <03a601c37225$2c216b90$6401a8c0@homexp> My problem appears to be resolved after a few complaints to the data center that holds those 3 servers (as well as others that were uneffected). I am not sure as to what caused it. I am running nagios on RH9. ----- Original Message ----- From: "Kalle Andersson" To: "Danny Shurett" Cc: Sent: Wednesday, September 03, 2003 10:05 AM Subject: Re: [Nagios-users] check_http times out eventhough website is accessible > I also could see that HTTP packets were being returned, but I couldn't > see what type of packets it was. But I could use lynx to reach the sites. > > What platform are you running nagios on? > > It might be related though. HTTP continuation packets are packets that > belong to an older TCP stream, right? > > I'll try to do more research as soon as the problem shows up again, I'd > be thankful if you could do the same! > > Danny Shurett wrote: > > > Strange thing I am having today that may be related. I use nagios to > > monitor about 20 servers. This morning at exactly 4:55, I lost http > > connectivity to 3 of them. I also can't use lynx to get to them either. > > According to a packet capture, instead of getting the http back from the > > servers, i get an HTTP continuation message. > > > > Not sure if this is related, but just a thought. > > > > > > ----- Original Message ----- > > From: "Kalle Andersson" > > To: > > Sent: Wednesday, September 03, 2003 8:45 AM > > Subject: Re: [Nagios-users] check_http times out eventhough website is > > accessible > > > > > > > >>Sorry about pushing this issue, but am I alone regarding this issue? > >> > >>Kalle Andersson wrote: > >> > >> > >>>But I should've noticed that when using telnet/lynx? There couldn't be > >>>that much difference between check_http and telnet. > >>>I can't recall if there was a slight delay when trying to connect to > >>>those sites, but I'm certain that it didn't take 10 seconds, using lynx > >>>that is. > >>> > >>>By the way, I'm using IP-addresses when connecting, DNS is not an issue > >>>here. > >>> > >>>Once I get the error again I'll try and se if I can get some additional > >>>information by tracking the syscalls done by check_http. > >>> > >>>Marc Powell wrote: > >>> > >>> > >>>>It seems that it might be taking longer than 10 seconds for the plugin > >>>>to make the request and receive the response. Is that what you are > >>>>seeung during those times? You might consider extending you plugin > >>>>timeout value. > >>>> > >>>> > >>>>-- > >>>>Marc > >>>> > >>>>Sent from a very tiny wireless device with a very tiny unlit keyboard. > >>>> > >>>> > >>>>-----Original Message----- > >>>>From: Kalle Andersson > >>>>To: nagios-users at lists.sourceforge.net > >>>> > >>>>Sent: Fri Aug 29 05:44:46 2003 > >>>>Subject: [Nagios-users] check_http times out eventhough website is > >>>>accessible > >>>> > >>>>Hi everyone! > >>>> > >>>>I'm having a strange problem with my nagios setup. I'm running nagios > >>>>1.0 on top of FreeBSD 4.7. > >>>> > >>>>Earlier this week I recieved alerts regarding two websites that I'm > >>>>monitoring, strange thing was that I could reach them from the > >>>>survelliance server by using telnet (against port 80) and lynx. > >>>> > >>>>check_http returned with "Socket timeout after 10 seconds" and State: > >>>>Critical > >>>> > >>>>This has happened three times, all during tuesday and wednesday this > >>>>week. I'd be very happy to hear about any ideas regarding this problem. > >>>> > >>>>Thanks in advance. > >>>> > >>>>-- > >>>>Best regards / Med v?nlig h?lsning > >>>>Kalle Andersson, CISSP > >>>>S?kerhetskonsult / Kontilint Data AB > >>>>Mail: kalle at kontilint.se > >>>>Tel: +46-702-420659 > >>>> > >>>> > >>>> > >>>>------------------------------------------------------- > >>>>This sf.net email is sponsored by:ThinkGeek > >>>>Welcome to geek heaven. > >>>>http://thinkgeek.com/sf > >>>>_______________________________________________ > >>>>Nagios-users mailing list > >>>>Nagios-users at lists.sourceforge.net > >>>>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>>>::: Please include Nagios version, plugin version (-v) and OS when > >>>>reporting any issue. > >>>>::: Messages without supporting info will risk being sent to /dev/null > >>>> > >>> > >>> > >> > >>-- > >>Best regards / Med v?nlig h?lsning > >>Kalle Andersson, CISSP > >>S?kerhetskonsult / Kontilint Data AB > >>Mail: kalle at kontilint.se > >>Tel: +46-702-420659 > >> > >> > >> > >>------------------------------------------------------- > >>This sf.net email is sponsored by:ThinkGeek > >>Welcome to geek heaven. > >>http://thinkgeek.com/sf > >>_______________________________________________ > >>Nagios-users mailing list > >>Nagios-users at lists.sourceforge.net > >>https://lists.sourceforge.net/lists/listinfo/nagios-users > >>::: Please include Nagios version, plugin version (-v) and OS when > > > > reporting any issue. > > > >>::: Messages without supporting info will risk being sent to /dev/null > >> > >> > >> > > > > > > > > > > > -- > Best regards / Med v?nlig h?lsning > Kalle Andersson, CISSP > S?kerhetskonsult / Kontilint Data AB > Mail: kalle at kontilint.se > Tel: +46-702-420659 > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Wed Sep 3 16:20:58 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 03 Sep 2003 09:20:58 -0500 Subject: notifications re-enabling themselves? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF83032D4940@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF83032D4940@mismail.ena.com> Message-ID: <1062598858.32296.55.camel@localhost> On Wed, 2003-09-03 at 07:43, Marc Powell wrote: > The type of behavior you are seeing is caused by having multiple > nagios processes running at the same time. Its not a bug but more > operator error. Ah. Curious (and inexplicable) but excellent information nonetheless. Thank you for your help. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From tvilliers at lastminute.com Wed Sep 3 16:19:19 2003 From: tvilliers at lastminute.com (Tielman de Villiers) Date: Wed, 03 Sep 2003 15:19:19 +0100 Subject: tac.c etc Message-ID: <1062598758.10848.19.camel@lmn10631.lastminute.com> With reference to earlier posts today, and another patch, a bit more: Copy the *.c and .h file to ..src/nagios-1.1/cgi, make cgis && make install. Copy the 2 stylesheets to ../nagios/share/stylesheets and have a look. I haven't finished status.cgi yet, but at least host details and service details are displaying OK. -- Tielman de Villiers Perl Developer: Post Sales lastminute.com Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com -------------- next part -------------- A non-text attachment was scrubbed... Name: cgiutils.h Type: text/x-c-header Size: 16381 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tac.c Type: text/x-c Size: 52016 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: status.c Type: text/x-c Size: 127586 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.css Type: text/css Size: 1295 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: status.css Type: text/css Size: 7711 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: tac.css Type: text/css Size: 9072 bytes Desc: not available URL: From jmckeon at telaurus.com Wed Sep 3 16:37:26 2003 From: jmckeon at telaurus.com (Jeff McKeon) Date: Wed, 3 Sep 2003 10:37:26 -0400 Subject: nrpe problem Message-ID: I'm not sure the request is even going through. I don't believe I compliled nrpe on the host with SSL so that shouldn't be a problem. I just did the standard ./configure then make all. Jeff McKeon IT Manager Telaurus Communications LLC jmckeon at telaurus.com (973) 889-8990 ex 209 ***The information contained in this communication is confidential. It is intended only for the sole use of the recipient named above and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication, or any of its contents or attachments, is expressly prohibited. If you have received this communication in error, please re-send it to the sender and delete the original message, and any copy of it, from your computer system. Thank You.*** > -----Original Message----- > From: Danny Shurett [mailto:dshurett at alphaomegahosting.com] > Sent: Wednesday, September 03, 2003 9:56 AM > To: Jeff McKeon Personal; Nagios List > Subject: Re: [Nagios-users] nrpe problem > > > Just a few things I have been checking on my recent issues. > > only_from in /etc/xinetd.d/nrpe > If check_nrpe was compiled with SSL, make sure nrpe was > compiled with SSL > > > > > ----- Original Message ----- > From: "Jeff McKeon" > To: "Nagios List" > Sent: Wednesday, September 03, 2003 9:00 AM > Subject: [Nagios-users] nrpe problem > > > > I've got the nrpe remote daemon on a system but when I run it I get > > the following error in my /var/log/message and the nagios > host has a > > socket timeout error. > > > > /var/log/message/ > > > > nrpe[2592]: Could not read request from client, Bailing out.... > > > > any ideas here? > > -- > > Jeff McKeon > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Simon.McKay-Mills at corp.percepta-crm.com Wed Sep 3 16:39:57 2003 From: Simon.McKay-Mills at corp.percepta-crm.com (McKay-Mills, Simon) Date: Wed, 3 Sep 2003 15:39:57 +0100 Subject: Howto to compile ./contrib/check_blah.c modules? Message-ID: -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 All, Caveat: - Not a programmer... How can I compile the check_blah.c? I don't fancy editing the Makefile for all the contributed modules. I am really looking for the check_dhcp (and there are a couple of others I would like a play with...) The system is getting bigger (and more useful)...should really start documenting the setup... Regards SM? - -----Original Message----- From: Kalle Andersson [mailto:kalle at kontilint.se] Sent: 01 September 2003 17:49 To: Jonas Kalliokoski Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] check_dhcp It's in the contrib directory of your nagios-plugins Jonas Kalliokoski wrote: > Hi! > > Have anybody seen the plugin and know if it works ? check_dhcp > > where can I download it ? > > /jonas > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > - -- Best regards / Med v?nlig h?lsning Kalle Andersson, CISSP S?kerhetskonsult / Kontilint Data AB Mail: kalle at kontilint.se Tel: +46-702-420659 - ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 8.0 iQA/AwUBP1X861b1rXjosed5EQJwegCfRb3EUygMzfBkwZRm4BxppNsLKSkAn20h gGRnr4LkMez1cq2NOOzFGC1Y =RC66 -----END PGP SIGNATURE----- ............................................................... This electronic message transmission contains information that is deemed confidential or privileged by the sender. The information is intended to be for the use of the individual or entity named as recipient(s) above, only. If you are not the intended recipient, be aware that any disclosure, copying, distribution or use of the contents of this information is prohibited. If you have received this electronic transmission in error, please notify us by telephone (303-397-8100) or by electronic mail(Legal at TeleTech.Com) immediately. ............................................................... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Sep 3 16:36:26 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 3 Sep 2003 09:36:26 -0500 Subject: notifications re-enabling themselves? In-Reply-To: <1062598858.32296.55.camel@localhost> References: <5DB017510818EC468B05BD7BD9EACF83032D4940@mismail.ena.com> <1062598858.32296.55.camel@localhost> Message-ID: <16213.64618.934357.722696@montanaro.dyndns.org> >> The type of behavior you are seeing is caused by having multiple >> nagios processes running at the same time. Its not a bug but more >> operator error. jeff> Ah. Curious (and inexplicable) but excellent information jeff> nonetheless. Another data point. I see disabled services get reenabled without multiple instances of nagios running. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Wed Sep 3 16:44:47 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 03 Sep 2003 09:44:47 -0500 Subject: notifications re-enabling themselves? In-Reply-To: <16213.64618.934357.722696@montanaro.dyndns.org> References: <5DB017510818EC468B05BD7BD9EACF83032D4940@mismail.ena.com> <1062598858.32296.55.camel@localhost> <16213.64618.934357.722696@montanaro.dyndns.org> Message-ID: <1062600287.32308.64.camel@localhost> On Wed, 2003-09-03 at 09:36, Skip Montanaro wrote: > Another data point. I see disabled services get reenabled without multiple > instances of nagios running. Try the cvs tree. I am about 99% sure that I did not have multiple instances running, but I'm willing to give the benefit of the doubt that, say, '/etc/init.d/nagios reload' (which I had run) spawned a rogue duplicate process (which, assuming it needs to bind to a port like a normal listener, would be *impossible* under Unix - two processes cannot bind to a port like that). So regardless the duplication of processes, I built the cvs tree, shut down the nagios daemon (and I watched all the children die as well) and started the new version. Now it's fixed - I'm happy, my boss is happy, and the on-call NOC admin is *very* happy. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From RLAdams at Kelsey-Seybold.com Wed Sep 3 16:53:07 2003 From: RLAdams at Kelsey-Seybold.com (Russell Adams) Date: Wed, 3 Sep 2003 09:53:07 -0500 Subject: Nagios & Apache Configuration In-Reply-To: <1062546994.17150.11.camel@miles.debisschop.net> References: <1062031892.14667.7.camel@miles.debisschop.net> <20030902155230.GA2525@soja.ksnet.com.> <1062546994.17150.11.camel@miles.debisschop.net> Message-ID: <46681.5279949971$1062601594@news.gmane.org> Howdy Karl! ;] Actually, I asked the list as a last resort. I later found out why the config changes I made weren't taken, some of the specialized configs that came with gentoo were overriding my settings, and one of my file includes was commented out by an unintentional RCS revert to a prior version. My mistake, I overlooked it. It certainly explains why nothing seemed to be working for me, though everyone was saying the same thing. I've gotten everything working the way I want now based on one of the previous posts and the Apache manual. ;] Thanks anyway. Russell On Tue, Sep 02, 2003 at 07:56:35PM -0400, Karl DeBisschop wrote: > On Tue, 2003-09-02 at 11:52, Russell Adams wrote: > > The next question would be how to do that with SSL. ;] > > > > My standard http://server/nagios/ is SSL'd and requires a secure > > login. > > Forgive my bluntness, but RTFM. As apache configs go, this is not that > hard. And further, it is not a nagios issue, it is an apache config > issue. > > I will give you the info anyway, but please take the time to read the > apache docs. > > > Russell > > > > On Wed, Aug 27, 2003 at 08:51:33PM -0400, Karl DeBisschop wrote: > > > > The following works for me with an unmodified RPM install: > > > > > > ScriptAlias /nagios/cgi-bin/ /usr/lib/nagios/cgi/ > > > Alias /nagios/ /usr/share/nagios/ > > > > > > > > Instead use: > > > > > > ServerName nagios.example.com > > > ServerAlias nagios > > add: > > SSLRequireSSL > > > > > > > > > Options ExecCGI > > > order deny,allow > > > allow from aaa.bbb.ccc.ddd > > > AuthType Basic > > > AuthUserFile /site/cfg/passwd > > > AuthGroupFile /site/cfg/group > > > AuthName "user" > > > require group user > > > Satisfy Any > > > > > > > > > > > > Options None > > > order deny,allow > > > allow from aaa.bbb.ccc.ddd > > > AuthType Basic > > > AuthUserFile /site/cfg/passwd > > > AuthGroupFile /site/cfg/group > > > AuthName "user" > > > require group user > > > Satisfy Any > > > > > > > > > > > This assumes you have something like the following in your global > context: > > Listen 127.0.0.1:443 > Listen ${server_ip}:443 > AddType application/x-x509-ca-cert .crt > AddType application/x-pkcs7-crl .crl > SSLSessionCache none > SSLPassPhraseDialog builtin > SSLMutex file:/var/run/ssl_mutex > SSLRandomSeed startup builtin > SSLRandomSeed connect builtin > > > > > On Wed, 27 Aug 2003, Russell Adams wrote: > > > > > > > > > I'm trying to configure Apache to allow me to run Nagios on a > > > > > VirtualHost. Perhaps someone has some input into this process. > > > > > > > > > > I have a webserver, (ie: webserver.mydomain.com), with Nagios > > > > > currently running on it at http://webserver.mydomain.com/nagios/. I've > > > > > created a DNS alias for the webserver called nagios.mydomain.com, and > > > > > am trying to setup a virtual host to have nagios on > > > > > http://nagios.mydomain.com/. > > > > > > > > > > I have been unsuccessful so far at using url rewriting to redirect > > > > > queries, and not much luck with trying the direct approach. > > > > > > > > > > My ultimate goal is to have Nagios available on > > > > > http://webserver.mydomain.com/nagios/ and http://nagios.mydomain.com/. > > > > > > > > > > Any input would be appreciated. > > Hmmmmm... Don't see any mention of SSL here. > > -- > Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Sep 3 17:10:27 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 3 Sep 2003 10:10:27 -0500 Subject: notifications re-enabling themselves? In-Reply-To: <1062600287.32308.64.camel@localhost> References: <5DB017510818EC468B05BD7BD9EACF83032D4940@mismail.ena.com> <1062598858.32296.55.camel@localhost> <16213.64618.934357.722696@montanaro.dyndns.org> <1062600287.32308.64.camel@localhost> Message-ID: <16214.1123.826980.278111@montanaro.dyndns.org> >> Another data point. I see disabled services get reenabled without >> multiple instances of nagios running. jeff> Try the cvs tree. Thanks, that's my next step. As soon as SF clear's jovi's cvs lock... Skip ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dr at cubit.at Wed Sep 3 17:20:58 2003 From: dr at cubit.at (Dietmar Ruzicka) Date: Wed, 03 Sep 2003 17:20:58 +0200 Subject: Nagios 2.0 servicegroups Message-ID: <1062602457.825.9.camel@wcube4.in.cubit.at> Hi, How can I configure servicegroups in Nagios 2.0. What are the required Directives. Which are optional. many thanks Dietmar ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Sep 3 17:37:23 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 3 Sep 2003 10:37:23 -0500 Subject: notifications re-enabling themselves? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EC77@mismail.ena.com> > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Wednesday, September 03, 2003 9:45 AM > To: nagios-users > > On Wed, 2003-09-03 at 09:36, Skip Montanaro wrote: > > Another data point. I see disabled services get reenabled without > multiple > > instances of nagios running. > > Try the cvs tree. CVS is in a high state of flux right now due to the development on the 2.0 code branch. Ethan has stated that CVS is likely to be extremely volatile so use it at your own risk. It's only alpha quality at this point. > > I am about 99% sure that I did not have multiple instances running, but > I'm willing to give the benefit of the doubt that, say, > '/etc/init.d/nagios reload' (which I had run) spawned a rogue duplicate > process (which, assuming it needs to bind to a port like a normal > listener, would be *impossible* under Unix - two processes cannot bind > to a port like that). Nagios doesn't bind to any port and having multiple instances running is actually quite a common problem. So common in fact that I feel like a broken record responding but I'm usually right. > So regardless the duplication of processes, I built the cvs tree, shut > down the nagios daemon (and I watched all the children die as well) and > started the new version. Now it's fixed - I'm happy, my boss is happy, > and the on-call NOC admin is *very* happy. I'm glad that worked for you. -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Sep 3 17:40:30 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 3 Sep 2003 10:40:30 -0500 Subject: Howto to compile ./contrib/check_blah.c modules? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EC78@mismail.ena.com> [root at oscar contrib]# gcc -o check_dhcp check_dhcp.c [root at oscar contrib]# ls -l check_dhcp -rwxr-xr-x 1 root root 22910 Sep 3 10:48 check_dhcp -- Marc > -----Original Message----- > From: McKay-Mills, Simon [mailto:Simon.McKay-Mills at corp.percepta-crm.com] > Sent: Wednesday, September 03, 2003 9:40 AM > To: 'Jonas Kalliokoski'; 'nagios-users at lists.sourceforge.net' > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > All, > > Caveat: - Not a programmer... > > How can I compile the check_blah.c? I don't fancy editing the Makefile for > all the contributed modules. I am really looking for the check_dhcp (and > there are a couple of others I would like a play with...) > > The system is getting bigger (and more useful)...should really start > documenting the setup... > > Regards > > SM? > > - -----Original Message----- > From: Kalle Andersson [mailto:kalle at kontilint.se] > Sent: 01 September 2003 17:49 > To: Jonas Kalliokoski > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] check_dhcp > > > It's in the contrib directory of your nagios-plugins > > Jonas Kalliokoski wrote: > > > Hi! > > > > Have anybody seen the plugin and know if it works ? check_dhcp > > > > where can I download it ? > > > > /jonas > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > > - -- > Best regards / Med v?nlig h?lsning > Kalle Andersson, CISSP > S?kerhetskonsult / Kontilint Data AB > Mail: kalle at kontilint.se > Tel: +46-702-420659 > > > > - ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 8.0 > > iQA/AwUBP1X861b1rXjosed5EQJwegCfRb3EUygMzfBkwZRm4BxppNsLKSkAn20h > gGRnr4LkMez1cq2NOOzFGC1Y > =RC66 > -----END PGP SIGNATURE----- > > > > > ............................................................... > This electronic message transmission contains information that is deemed > confidential or privileged by > the sender. The information is intended to be for the use of the > individual > or entity named as recipient(s) > above, only. If you are not the intended recipient, be aware that any > disclosure, copying, distribution or use > of the contents of this information is prohibited. If you have received > this > electronic transmission in error, > please notify us by telephone (303-397-8100) or by electronic > mail(Legal at TeleTech.Com) immediately. > ............................................................... > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Wed Sep 3 17:44:51 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 03 Sep 2003 10:44:51 -0500 Subject: notifications re-enabling themselves? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EC77@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EC77@mismail.ena.com> Message-ID: <1062603891.32308.82.camel@localhost> On Wed, 2003-09-03 at 10:37, Marc Powell wrote: > CVS is in a high state of flux right now due to the development on the > 2.0 code branch. Ethan has stated that CVS is likely to be extremely > volatile so use it at your own risk. It's only alpha quality at this > point. In my original post re: the cvs tree, I specifically said the 1.1/stable branch. I forgot to re-specify that (the commit dates are all pretty old, notably). > > '/etc/init.d/nagios reload' (which I had run) spawned a rogue > > duplicate > > process (which, assuming it needs to bind to a port like a normal > > listener, would be *impossible* under Unix - two processes cannot bind > > to a port like that). > Nagios doesn't bind to any port and having multiple instances running is > actually quite a common problem. So common in fact that I feel like a > broken record responding but I'm usually right. Okay - then the init script managed to spawn a dupe daemon, then, via reload or restart. I've since found some warnings regarding the 'restart' argument. I'm going to re-write my init script to do a proper stop/start (with some pauses and checks in between) when give the 'restart' arg, I think. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Sep 3 18:17:05 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 3 Sep 2003 11:17:05 -0500 Subject: helix_check? Message-ID: <16214.5121.506398.864674@montanaro.dyndns.org> Does anyone know of a helix_check plugin for Nagios or something upon which one could be based? Helix is Real Networks' video streamer. A quick google scan returns links to www.helixcommunity.org which I have yet to check out (requires registration to download, yadda, yadda, yadda). If someone can short-circuit my investigation, I'd really appreciate it. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.avvisano at mail.regione.toscana.it Wed Sep 3 18:21:06 2003 From: m.avvisano at mail.regione.toscana.it (Marco Avvisano) Date: Wed, 3 Sep 2003 18:21:06 +0200 Subject: Apan - check warning/critical bandwidth utilization Message-ID: <006301c37237$60f2d2c0$2b01d59f@regione.toscana.it> Hi all I'm new to nagios and apan I'm tryng to colletc the bandwidth utilization for my router using Apan (Net-usage), and check the warning and critical treshold I collect the traffic but i don't know how to set the warn/critical check My apan.cfg is router;Net-usage;/usr/nagios/rrd/router_Net-usage.rrd;public:.1.3.6.1.2.1.2. 2.1.10.2|public:.1.3.6.1.2.1.2.2.1.16.2;IN:LINE2 OUT:LINE2;Network throughput;Bytes/sek; (It's correct for bandwidth utilization ?) My services.cfg is define service { host_name router1 service_description Net-usage is_volatile 0 check_period 24x7 max_check_attempts 2 normal_check_interval 2 retry_check_interval 1 contact_groups router-admins notification_interval 120 notification_period 24x7 notification_options w,c,r check_command apan!snmpget!15!25 use generic-service } 15 and 25 are the warning/critical treshold ? must be a % value? these treshold are for input and output? How to make a correlation between RTT and the network traffic (ex. bandwidth utilization < 75% and rtt > 3 sec. send me a notification)? My dependencies.cfg is define servicedependency{ host_name router1 service_description Ping dependent_host_name router1 dependent_service_description Net-usage execution_failure_criteria w notification_failure_criteria w,c } thanks for your help Marco ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jfitzhugh at macromedia.com Wed Sep 3 18:41:05 2003 From: jfitzhugh at macromedia.com (Justin Fitzhugh) Date: Wed, 3 Sep 2003 09:41:05 -0700 Subject: 2.0 release date? Message-ID: Any word on when 2.0 will go beta or be released? Thanks, -Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.saucier at dolanmedia.com Wed Sep 3 21:27:13 2003 From: jeff.saucier at dolanmedia.com (Jeff Saucier) Date: Wed, 3 Sep 2003 14:27:13 -0500 Subject: Newbie: Nagios email notificatoin Message-ID: <004601c37251$60d587f0$b702010a@dolanmedia.com> Hello, First time user of this list. Please feel free to let me know if I should be referencing another list. I just setup Nagios on FreeBSD 4.8. Nagios is sending alerts as expected, but the "From" field in the email is "Nagios pseudo-user". I let the setup routine create user: nagios and group: nagios because I didn't create them in advance. How can I change it to read something else? Thanks. Jeff Saucier Technical Infrastructure Analyst Dolan Media Company 612.317.9428 -------------- next part -------------- An HTML attachment was scrubbed... URL: From damian at sentex.net Wed Sep 3 21:41:13 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 3 Sep 2003 15:41:13 -0400 Subject: Newbie: Nagios email notificatoin In-Reply-To: <004601c37251$60d587f0$b702010a@dolanmedia.com> References: <004601c37251$60d587f0$b702010a@dolanmedia.com> Message-ID: <20030903194113.GH769@sentex.net> Thus spake Jeff Saucier (jeff.saucier at dolanmedia.com) [03/09/03 15:32]: > First time user of this list. Please feel free to let me know if I > should be referencing another list. I just setup Nagios on FreeBSD 4.8. > Nagios is sending alerts as expected, but the "From" field in the email > is "Nagios pseudo-user". I let the setup routine create user: nagios > and group: nagios because I didn't create them in advance. How can I > change it to read something else? (This is more of a FreeBSD question than a Nagios question.) Try this: % su Password: # chfn nagios And twiddle away. You're probably looking for the line that starts with 'Full Name:'. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Wed Sep 3 23:59:57 2003 From: David at feedroom.com (David Gitman) Date: Wed, 3 Sep 2003 17:59:57 -0400 Subject: NagMIN Table Edit Failure Message-ID: When I try to add a contact via NAGmin I get SQL insert into `Contact` values (NULL , 'dgitman' , 'David Gitman' , 'david at domain.com' , 'dgitman at domain.com' , NULL , NULL , NULL , NULL , NULL , NULL , NULL) failed : Is it not reaching the database? Thanks, David Gitman Network Engineer The FeedRoom -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Thu Sep 4 00:28:51 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 03 Sep 2003 18:28:51 -0400 Subject: notifications re-enabling themselves? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EC77@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EC77@mismail.ena.com> Message-ID: <1062628131.15442.0.camel@miles.debisschop.net> On Wed, 2003-09-03 at 11:37, Marc Powell wrote: > > -----Original Message----- > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > Sent: Wednesday, September 03, 2003 9:45 AM > > To: nagios-users > > > > On Wed, 2003-09-03 at 09:36, Skip Montanaro wrote: > > > Another data point. I see disabled services get reenabled without > > multiple > > > instances of nagios running. > > > > Try the cvs tree. > > CVS is in a high state of flux right now due to the development on the > 2.0 code branch. Ethan has stated that CVS is likely to be extremely > volatile so use it at your own risk. It's only alpha quality at this > point. There is a stable branch folks... -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Thu Sep 4 00:40:16 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Wed, 03 Sep 2003 18:40:16 -0400 Subject: check_radius Message-ID: <6.0.0.20.2.20030903182646.03aa5238@mail.acmecargo.com> I'm having trouble getting the check_radius to work. The following is --help: check_radius -H host -F config_file -u username -p password' [-P port] [-t timeout] [-r retries] [-e expect] Is the ' after password a typo? What about the blank space before the port option? The help makes it sound like the config_file is optional but when I try to manually invoke the command without the config_file, it doesn't work and comes back saying "Config file error". Can somebody help me with setting up this plugin? Dylan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Thu Sep 4 01:38:45 2003 From: morris at unc.edu (Joe Morris) Date: Wed, 3 Sep 2003 19:38:45 -0400 Subject: helix_check? In-Reply-To: <16214.5121.506398.864674@montanaro.dyndns.org> References: <16214.5121.506398.864674@montanaro.dyndns.org> Message-ID: On Wed, 3 Sep 2003, Skip Montanaro wrote: | Does anyone know of a helix_check plugin for Nagios or something upon which | one could be based? Helix is Real Networks' video streamer. A quick google | scan returns links to www.helixcommunity.org which I have yet to check out | (requires registration to download, yadda, yadda, yadda). If someone can | short-circuit my investigation, I'd really appreciate it. I'm using the 'check_real' included with the plugins. Seems to work just fine. It appears to make a true RTSP request, but have not dived in any further than that. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Thu Sep 4 01:41:43 2003 From: morris at unc.edu (Joe Morris) Date: Wed, 3 Sep 2003 19:41:43 -0400 Subject: Newbie: Nagios email notificatoin In-Reply-To: <004601c37251$60d587f0$b702010a@dolanmedia.com> References: <004601c37251$60d587f0$b702010a@dolanmedia.com> Message-ID: On Wed, 3 Sep 2003, Jeff Saucier wrote: | First time user of this list. Please feel free to let me know if I | should be referencing another list. I just setup Nagios on FreeBSD 4.8. | Nagios is sending alerts as expected, but the "From" field in the email | is "Nagios pseudo-user". I let the setup routine create user: nagios | and group: nagios because I didn't create them in advance. How can I | change it to read something else? Have a look at ~nagios/etc/misccommands.cfg if you installed the sample configs. The parameters/format are all set there. I had to make several adjustments myself for Solaris and my own tastes. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From e9627019 at student.tuwien.ac.at Thu Sep 4 13:03:44 2003 From: e9627019 at student.tuwien.ac.at (Dietmar Ruzicka) Date: Thu, 4 Sep 2003 13:03:44 +0200 Subject: Nagios 2.0 servicegroups Message-ID: <200309041303.44689.e9627019@student.tuwien.ac.at> Hi, I checked the Source it seems to necessary to define the servicegroup like this: (members HOST,SERVICE) define servicegroup{ servicegroup_name SGPING alias sgping members nagios,PING } define host{ use linux-host host_name nagios alias Networkmanagement Server address 127.0.0.1 } define service{ use network-service host_name .* service_description PING check_command check_ping!100.0,20%!500.0,60% } Regards Dietmar from xodtemplate.c /* add all members to servicegroup */ for(host_name=strtok(this_servicegroup->members,",");host_name!=NULL;host_name=strtok(NULL,",")){ strip(host_name); svc_description=strtok(NULL,","); if(svc_description==NULL){ ... return ERROR; } strip(svc_description); new_servicegroupmember=add_service_to_servicegroup(new_servicegroup,host_name,svc_description); if(new_servicegroupmember==NULL){ .... return ERROR; } } > Hi, > > How can I configure servicegroups in Nagios 2.0. What are the required > Directives. Which are optional. > > many thanks > > Dietmar ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sam_ml at spacething.org Thu Sep 4 14:10:51 2003 From: sam_ml at spacething.org (Sam Stickland) Date: Thu, 4 Sep 2003 13:10:51 +0100 Subject: XML-RPC/SOAP and ContactGroups Message-ID: <002e01c372dd$9852d4d0$fb00a8c0@office.toastedmedia.net> Hi, I'm looking to incorporate nagios into a couple of different applications (one of them web-based), so ideally I need an easy way to access the nagios state information. I've found the following NagiosWS: http://www.i-xs.de/nagiosws/ Nagios XML Engine: http://nxe.sourceforge.net/ They both appear to have roughly the same functionality, and are both pretty easy to use. However, they only provide access to the entire nagios state as a whole - neither of them has any notion of contacts or contact_groups. While it would be very useful for remote clients to be able to authenicate and only retrieve state information for the specified contact, I appreciate that's it's a lot of work. So, what I could get by with in the intern is some kind of parser for the nagios configuration files so I can pull out the hosts/host_groups that apply to the contact, and then just query that state information. Does such a beast exist? Sam -------------- next part -------------- An HTML attachment was scrubbed... URL: From aa at com-gate.com Thu Sep 4 15:21:58 2003 From: aa at com-gate.com (Achim Altmann) Date: Thu, 4 Sep 2003 13:21:58 -0000 Subject: configure a new plugin(check_load) ? Message-ID: <20030904152158.oeoj6uin8c3dw@com-gate.com> Hello, i have nagios installed and now i would like use some external plugins They are also installed under libexec Now i would like use check_load i have some new entries create in "services.cfg steht nun folgendes (plugins sind installiert unter libexec) define service{ use generic-service ; Name of service template to use host_name test.domain.de service_description check_load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15 } i have alos create some entries in checkcommands.cfg see the following lines # 'check_load' command definition define command{ command_name check_load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } if i start nagios with /usr/local/nagios/bin/nagios -v nagios.cfg the comes this error-message Error: Service check command 'check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15' specified in service 'check_load' for host ' test.domain.de' not defined anywhere! Why ? it's all defined or ? reagards Achim -- ________________________________________ Fa. Com-Gate Moltkestrasse 13 90429 N?rnberg Phone: +49 (0)911 277 43 77 Fax : +49 (0)911 395 74 96 Mobil: +49 172 834 56 26 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Thu Sep 4 16:52:23 2003 From: David at feedroom.com (David Gitman) Date: Thu, 4 Sep 2003 10:52:23 -0400 Subject: NagMIN Error Message-ID: Is there a NagMIN list? Anyway, any suggestions are appreciated. When I try to add a contact via NagMIN I receive an error. SQL insert into `Contact` values (NULL , 'dgitman' , 'David Gitman' , 'david at domain.com' , 'dgitman at domain.com' , NULL , NULL , NULL , NULL , NULL , NULL , NULL) failed : Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From skip at pobox.com Thu Sep 4 19:14:42 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 4 Sep 2003 12:14:42 -0500 Subject: NagMIN Error In-Reply-To: References: Message-ID: <16215.29442.851587.616105@montanaro.dyndns.org> David> I see the same fields. Must be a communication problem. Any ideas? Looked to me like the template field (the first one) in your INSERT stmt was NULL: David> SQL insert into `Contact` values (NULL , 'dgitman' , 'David Gitman' , 'david at domain.com' , 'dgitman at domain.com' , NULL , NULL , NULL , NULL , NULL , NULL , NULL) failed : It should refer to something. Try creating a contact template (even an empty one) and referring to it from your Contact entry. Skip ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Sep 4 17:27:59 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 4 Sep 2003 10:27:59 -0500 Subject: NagMIN Error In-Reply-To: References: Message-ID: <16215.23039.535087.166226@montanaro.dyndns.org> David> Is there a NagMIN list? Anyway, any suggestions are appreciated. yes, but it seems quiet. David> When I try to add a contact via NagMIN I receive an error. David> SQL insert into `Contact` values (NULL , 'dgitman' , 'David Gitman' , 'david at domain.com' , 'dgitman at domain.com' , NULL , NULL , NULL , NULL , NULL , NULL , NULL) failed : I don't think the template column can be NULL. MySQL tells me this about the Contact table. Note the lack of a "YES" in the Null column for the template field. mysql> describe Contact; +-------------------------------+--------------+------+-----+--------... | Field | Type | Null | Key | Default... +-------------------------------+--------------+------+-----+--------... | template | varchar(80) | | | ... | contact_name | varchar(80) | | PRI | ... | alias | varchar(80) | | | ... | email | varchar(80) | YES | | NULL ... | pager | varchar(80) | YES | | NULL ... | service_notification_period | varchar(80) | YES | | NULL ... | host_notification_period | varchar(80) | YES | | NULL ... | service_notification_options | varchar(20) | YES | | NULL ... | host_notification_options | varchar(20) | YES | | NULL ... | service_notification_commands | varchar(80) | YES | | NULL ... | host_notification_commands | varchar(80) | YES | | NULL ... | comment | varchar(255) | YES | | NULL ... +-------------------------------+--------------+------+-----+--------... 12 rows in set (0.00 sec) and my Contact record looks like this: | template | contact_name | alias | email ... +-----------------+--------------+----------------+------------------... | system-engineer | skip | Skip Montanaro | s-montanaro at north... -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Thu Sep 4 19:27:50 2003 From: morris at unc.edu (Joe Morris) Date: Thu, 4 Sep 2003 13:27:50 -0400 Subject: configure a new plugin(check_load) ? In-Reply-To: <20030904152158.oeoj6uin8c3dw@com-gate.com> References: <20030904152158.oeoj6uin8c3dw@com-gate.com> Message-ID: On Thu, 4 Sep 2003, Achim Altmann wrote: | i have some new entries create in | "services.cfg | steht nun folgendes (plugins sind installiert unter libexec) | | define service{ | use generic-service ; Name of | service template to use | | host_name test.domain.de | service_description check_load | is_volatile 0 | check_period 24x7 | max_check_attempts 3 | normal_check_interval 5 | retry_check_interval 1 | contact_groups linux-admins | notification_interval 120 | notification_period 24x7 | notification_options c,r | check_command check_load -w WLOAD1,WLOAD5,WLOAD15 -c | CLOAD1,CLOAD5,CLOAD15 | } | i have alos create some entries in | checkcommands.cfg | see the following lines | | # 'check_load' command definition | define command{ | command_name check_load | command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ | } | if i start nagios with | /usr/local/nagios/bin/nagios -v nagios.cfg | the comes this error-message | Error: Service check command 'check_load -w WLOAD1,WLOAD5,WLOAD15 -c | CLOAD1,CLOAD5,CLOAD15' specified in service 'check_load' for host ' | test.domain.de' not defined anywhere! In your service definition you need exclamation marks (!) to tell Nagios to parse out what the command is and the arguments. You are also confusing the arguments in general. So, it should read... check_load!-w 0,1,2!-c 2,3,4 ...as in... check_load!ARG1!ARG2 Check the documentation again as this is spelled out. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Thu Sep 4 18:13:53 2003 From: David at feedroom.com (David Gitman) Date: Thu, 4 Sep 2003 12:13:53 -0400 Subject: NagMIN Error Message-ID: I see the same fields. Must be a communication problem. Any ideas? [-d] -----Original Message----- From: Skip Montanaro [mailto:skip at pobox.com] Sent: Thursday, September 04, 2003 11:28 AM To: David Gitman Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] NagMIN Error David> Is there a NagMIN list? Anyway, any suggestions are appreciated. yes, but it seems quiet. David> When I try to add a contact via NagMIN I receive an error. David> SQL insert into `Contact` values (NULL , 'dgitman' , 'David Gitman' , 'david at domain.com' , 'dgitman at domain.com' , NULL , NULL , NULL , NULL , NULL , NULL , NULL) failed : I don't think the template column can be NULL. MySQL tells me this about the Contact table. Note the lack of a "YES" in the Null column for the template field. mysql> describe Contact; +-------------------------------+--------------+------+-----+--------... | Field | Type | Null | Key | Default... +-------------------------------+--------------+------+-----+--------... | template | varchar(80) | | | ... | contact_name | varchar(80) | | PRI | ... | alias | varchar(80) | | | ... | email | varchar(80) | YES | | NULL ... | pager | varchar(80) | YES | | NULL ... | service_notification_period | varchar(80) | YES | | NULL ... | host_notification_period | varchar(80) | YES | | NULL ... | service_notification_options | varchar(20) | YES | | NULL ... | host_notification_options | varchar(20) | YES | | NULL ... | service_notification_commands | varchar(80) | YES | | NULL ... | host_notification_commands | varchar(80) | YES | | NULL ... | comment | varchar(255) | YES | | NULL ... +-------------------------------+--------------+------+-----+--------... 12 rows in set (0.00 sec) and my Contact record looks like this: | template | contact_name | alias | email ... +-----------------+--------------+----------------+------------------... | system-engineer | skip | Skip Montanaro | s-montanaro at north... -- Skip Montanaro Got gigs? http://www.musi-cal.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From j_huettner at hotmail.com Thu Sep 4 19:09:37 2003 From: j_huettner at hotmail.com (Johnathan Huettner) Date: Thu, 04 Sep 2003 10:09:37 -0700 Subject: NSClient 16bit processes Message-ID: Does anyone know if it's possible to monitor 16bit processes on NT systems using NSClient (nsclient.ready2run.nl)? I can easily monitor regular NT processes and programs, however we have an older application running on the system that was originally designed for Windows 3.1. The processes show up in Task Manager under NTVDM which is the Windows On Windows 16 bit subsystem. I can see the process name, however Nagios and NSClient report it does not exist. Any help would be appreciated. Thanks! _________________________________________________________________ Need more e-mail storage? Get 10MB with Hotmail Extra Storage. http://join.msn.com/?PAGE=features/es ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Thu Sep 4 18:05:40 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Thu, 04 Sep 2003 12:05:40 -0400 Subject: check_radius Message-ID: <6.0.0.20.2.20030904120512.04183a30@mail.acmecargo.com> I'm having trouble getting the check_radius to work. The following is --help: check_radius -H host -F config_file -u username -p password' [-P port] [-t timeout] [-r retries] [-e expect] Is the ' after password a typo? What about the blank space before the port option? The help makes it sound like the config_file is optional but when I try to manually invoke the command without the config_file, it doesn't work and comes back saying "Config file error". Can somebody help me with setting up this plugin? Dylan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Thu Sep 4 21:10:32 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 04 Sep 2003 14:10:32 -0500 Subject: problems with Host Availability Report Message-ID: <1062702632.32637.6.camel@localhost> I am running 1.2 (cvs stable branch) with a MySQL backend, and seem to have a problem with the Reporting sections. Everything is coming up "Undetermined" or "Indeterminate" due to lack of data or something. Is there something I'm missing? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Thu Sep 4 19:57:19 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Thu, 4 Sep 2003 13:57:19 -0400 Subject: NagMIN Error Message-ID: <8A33B0D59EE5CD459FF98F7C5D49FFC6030546@patton.infosysnetworks.com> David, There is a Nagmin list. You can get to it from the nagmin.sourceforge.net and link from the project page. What version of Nagmin are you using and is it a new installation or an upgrade from a previous version. The current version is 1.6.0. Also, are you sure the entry is not already in the database. Sometimes, if the webpage does not refresh after I add something, I get a similar message when I click back and try to add again. If you upgraded from a previous version of Nagmin, I may have a database scheme problem. One other thought, Nagmin likes to use the DBD and DBI drivers to connect to Mysql. Do you have them installed and working? Brian -----Original Message----- From: David Gitman [mailto:David at feedroom.com] Sent: Thursday, September 04, 2003 10:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NagMIN Error Is there a NagMIN list? Anyway, any suggestions are appreciated. When I try to add a contact via NagMIN I receive an error. SQL insert into `Contact` values (NULL , 'dgitman' , 'David Gitman' , 'david at domain.com' , 'dgitman at domain.com' , NULL , NULL , NULL , NULL , NULL , NULL , NULL) failed : Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro.rebelo at tagus.ist.utl.pt Thu Sep 4 23:40:49 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Thu, 4 Sep 2003 23:40:49 WEST Subject: Host Status Information Output Results Message-ID: On Nagios, at the Host detail tab, some of the hosts have the results of the check-host-alive command under the Status Information collumm which are the responses from the ping command. Others have this: "( Host assumed to be up )". What can I do to change this last output to the first one? All of the hosts have PING services associated with them. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From list-nagios-users at acmefirewalls.com Fri Sep 5 00:54:45 2003 From: list-nagios-users at acmefirewalls.com (Ed Voncken) Date: Fri, 05 Sep 2003 00:54:45 +0200 Subject: Problem with tactical overview display In-Reply-To: References: Message-ID: <3F57C2B5.3030800@acmefirewalls.com> Joe Morris wrote: > When I go to the 'Tactical Overview' nearly everything displays correctly > except for the 'Services' section. Going from left to right underneath > the the colspan for the Services heading the Critical cell is stretched > WAY OUT with the warning, unknown, ok and pending cells on that same row > squished off the screen to the right. Unless I open the browser very > large, I must scroll the display to see those headings. I encountered the same problem a short while ago and got a recommendation from someone here to upgrade to the "nagios-1-x-bugfixes (1.x)" branch in CVS. It's downloadable from the website, see http://www.nagios.org/cvs.php This solved all cosmetic issues and probably some other bugs as well. I've upgraded both my Nagios servers to the bugfix branch and they work just fine now. -- Greetings, ACME Firewalls (info at acmefirewalls.com). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Fri Sep 5 01:15:21 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Fri, 5 Sep 2003 09:15:21 +1000 Subject: XML-RPC/SOAP and ContactGroups In-Reply-To: <002e01c372dd$9852d4d0$fb00a8c0@office.toastedmedia.net>; from sam_ml@spacething.org on Thu, Sep 04, 2003 at 01:10:51PM +0100 References: <002e01c372dd$9852d4d0$fb00a8c0@office.toastedmedia.net> Message-ID: <20030905091518.A278@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, On Thu, Sep 04, 2003 at 01:10:51PM +0100, Sam Stickland wrote: > Hi, > > > While it would be very useful for remote clients to be able to authenicate and only retrieve state information for the specified contact, I appreciate that's it's a lot of work. > So, what I could get by with in the intern is some kind of parser for > the nagios configuration files > so I can pull out the hosts/host_groups that apply to the contact, and > then just query that state information. > See the Nagios::Config module by Patrick LeBoutillier on CPAN. > Does such a beast exist? > I am not sure that it does contacts and contactgroups but a look at the POD on search.cpan.org should tell you. It's a sleek module. > Sam > Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From J.Madea at mdl.com Fri Sep 5 01:49:05 2003 From: J.Madea at mdl.com (Jeremy Madea) Date: Thu, 4 Sep 2003 16:49:05 -0700 Subject: check_radius Message-ID: nagios at acmecargo.com wrote: > I'm having trouble getting the check_radius to work. The > following is --help: > > check_radius -H host -F config_file -u username -p > password' [-P port] [-t timeout] [-r retries] [-e expect] > > Is the ' after password a typo? If there is only one, yeah. You should probably put quotes around the whole password though. Otherwise, you'll run into trouble with passwords that contain characters which are recognized as special by the shell. > What about the blank space before the port option? That will likely work with or without the space. > The help makes it sound like the config_file is > optional but when I try to manually invoke the > command without the config_file, it doesn't work > and comes back saying "Config file error". It's a common convention to show optional arguments in square brackets (such as [-P port] above) and to show mandatory options without any brackets. Based on that, I'd say that the "-F config_file" argument is mandatory according to the documentation you pasted above. -j -- Jeremy Madea Senior Systems Engineer MDL Information Systems ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Fri Sep 5 07:31:00 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Fri, 05 Sep 2003 01:31:00 -0400 Subject: check_radius In-Reply-To: References: Message-ID: <6.0.0.22.2.20030905003158.04244dc0@mail.acmecargo.com> For future reference (archival reasons) I had to do the following to get this to work: 1. edit my /etc/radiusclient/radiusclient.conf file to show the appropriate authserver. If you do not have a /etc/radiusclient directory, you will need to install the radiusclient and libraries (which you probably already did if you got the check_radius plugin to install in the first place. 2. add the following to the checkcommands.cfg file: # 'check_radius' command definition define command{ command_name check_radius command_line $USER1$/check_radius -H 209.208.xxx.xxx -F /etc/radiusclient/radiusclient.conf -u username at domain.dom -p userpass -P 1812 -t 10 } I'm sure you could just pull in the ARGs from the services.cfg file but this worked fine for me. 3. then of course add the check in the services.cfg file. I was able to run the check_radius -H 209.208.xxx.xxx -F /etc/radiusclient/radiusclient.conf -u username at domain.dom -p userpass -P 1812 command from the command line with the result "Auth OK". Even though it seems the -P (port) option isn't required, if you don't add it, you will get fussed at. Dylan At 07:49 PM 9/4/2003, you wrote: >nagios at acmecargo.com wrote: > > > I'm having trouble getting the check_radius to work. The > > following is --help: > > > > check_radius -H host -F config_file -u username -p > > password' [-P port] [-t timeout] [-r retries] [-e expect] > > > > Is the ' after password a typo? > >If there is only one, yeah. You should probably put quotes around the whole >password though. Otherwise, you'll run into trouble with passwords that >contain characters which are recognized as special by the shell. > > > > What about the blank space before the port option? > >That will likely work with or without the space. > > > > The help makes it sound like the config_file is > > optional but when I try to manually invoke the > > command without the config_file, it doesn't work > > and comes back saying "Config file error". > >It's a common convention to show optional arguments in square brackets (such >as [-P port] above) and to show mandatory options without any brackets. >Based on that, I'd say that the "-F config_file" argument is mandatory >according to the documentation you pasted above. > >-j >-- >Jeremy Madea >Senior Systems Engineer >MDL Information Systems ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From willy.macouillard at rfo.fr Fri Sep 5 09:02:52 2003 From: willy.macouillard at rfo.fr (MACOUILLARD Willy) Date: Fri, 5 Sep 2003 09:02:52 +0200 Subject: NSClient - ERROR Malformed request or internal error??? Message-ID: <200309050703.JAA04906@mail.rfo.fr> hello, I have a really strange "error" with the NSClient when checking the CPULOAD. one (only one) of my host is tag UNKNOWN by Nagios : NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 but he have the same definition of all the other host (about 150) and when I test the CPULOAD with the command line the host return a good answer and not : UNKNOWN...... Anybody have any ideas? thanks in advance willy ...................................... Willy Macouillard Service informatique: RFO-R?union willy.macouillard at rfo.fr tel 02.62.40.68.48 ************************************************************************************* Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, RFO decline toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. http://www.rfo.fr ************************************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From SteveH at brendata.co.uk Fri Sep 5 09:40:51 2003 From: SteveH at brendata.co.uk (Steve Hanselman) Date: Fri, 5 Sep 2003 08:40:51 +0100 Subject: NSClient - ERROR Malformed request or internal error??? Message-ID: <11720FFB22BED511A66800E07D923B3717221C@prodntsc2.brendata> What version of nsclient are you running? -----Original Message----- From: MACOUILLARD Willy [mailto:willy.macouillard at rfo.fr] Sent: 05 September 2003 08:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient - ERROR Malformed request or internal error??? hello, I have a really strange "error" with the NSClient when checking the CPULOAD. one (only one) of my host is tag UNKNOWN by Nagios : NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 but he have the same definition of all the other host (about 150) and when I test the CPULOAD with the command line the host return a good answer and not : UNKNOWN...... Anybody have any ideas? thanks in advance willy ...................................... Willy Macouillard Service informatique: RFO-R?union willy.macouillard at rfo.fr tel 02.62.40.68.48 **************************************************************************** ********* Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, RFO decline toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. http://www.rfo.fr **************************************************************************** ********** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aa at com-gate.com Fri Sep 5 09:58:23 2003 From: aa at com-gate.com (Achim Altmann) Date: Fri, 5 Sep 2003 07:58:23 -0000 Subject: Warning threshold must be float or float triplet Message-ID: <20030905095823.odot7hat6bz0g@com-gate.com> Hello, sorry, now run my check_load with the correct syntax but the folling message comes up Warning threshold must be float or float triplet i have that lines define service{ use generic-service ; Name of service template to use host_name test.domain.com service_description load is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups linux-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_load!-w WLOAD1,WLOAD5,WLOAD15!-c CLOAD1,CLOAD5,CLOAD15 } and in checkcommands.cfg # 'check_load' command definition define command{ command_name TEST Load command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ } Could any help. thank's a lot Reagards achim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Fri Sep 5 10:19:56 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Fri, 5 Sep 2003 09:19:56 +0100 Subject: NSClient - ERROR Malformed request or internal error??? In-Reply-To: <11720FFB22BED511A66800E07D923B3717221C@prodntsc2.brendata> References: <11720FFB22BED511A66800E07D923B3717221C@prodntsc2.brendata> Message-ID: I have the same thing with 1.084. I usually find that in the event viewer it also says 'NSClient - out of memory'. Restarting the Windows Service fixes it. M Steve Hanselman Sent by: nagios-users-admin at lists.sourceforge.net 05/09/2003 08:40 To "'MACOUILLARD Willy'" , nagios-users at lists.sourceforge.net cc Subject RE: [Nagios-users] NSClient - ERROR Malformed request or internal error??? What version of nsclient are you running? -----Original Message----- From: MACOUILLARD Willy [mailto:willy.macouillard at rfo.fr] Sent: 05 September 2003 08:03 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] NSClient - ERROR Malformed request or internal error??? hello, I have a really strange "error" with the NSClient when checking the CPULOAD. one (only one) of my host is tag UNKNOWN by Nagios : NSClient - ERROR:Malformed request or internal error. Check EventLog:None&2&10 but he have the same definition of all the other host (about 150) and when I test the CPULOAD with the command line the host return a good answer and not : UNKNOWN...... Anybody have any ideas? thanks in advance willy ...................................... Willy Macouillard Service informatique: RFO-R?union willy.macouillard at rfo.fr tel 02.62.40.68.48 **************************************************************************** ********* Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, RFO decline toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. http://www.rfo.fr **************************************************************************** ********** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null The information contained in this email is intended for the personal and confidential use of the addressee only. It may also be privileged information. If you are not the intended recipient then you are hereby notified that you have received this document in error and that any review, distribution or copying of this document is strictly prohibited. If you have received this communication in error, please notify Brendata immediately on: +44 (0)1268 466100, or email 'technical at brendata.co.uk' Brendata (UK) Ltd Nevendon Hall, Nevendon Road, Basildon, Essex. SS13 1BX UK Registered Office as above. Registered in England No. 2764339 See our current vacancies at www.brendata.co.uk ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.ciullini at datamar.it Fri Sep 5 10:24:55 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Fri, 05 Sep 2003 10:24:55 +0200 Subject: Warning threshold must be float or float triplet In-Reply-To: <20030905095823.odot7hat6bz0g@com-gate.com> References: <20030905095823.odot7hat6bz0g@com-gate.com> Message-ID: <3F584857.6060708@datamar.it> check_local_load!4.00,3.00,2.00!6.00,4.00,3.00 > Hello, > > check_command check_load!-w WLOAD1,WLOAD5,WLOAD15!-c -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aa at com-gate.com Fri Sep 5 11:27:30 2003 From: aa at com-gate.com (Achim Altmann) Date: Fri, 5 Sep 2003 09:27:30 -0000 Subject: Warning threshold must be float or float triplet Message-ID: <20030905112730.oeazejxb7okcg@com-gate.com> Hello, that's the same check_local_load!4.00,3.00,2.00!6.00,4.00,3.00 Hello, check_command check_load!-w WLOAD1,WLOAD5,WLOAD15!-c i have no checked that command libexec/check_load -w 4.00,3.00,2.00 -c 6.00,4.00,3.00 OK - load average: 0.15, 0.09, 0.03 and i have changed my entries in etc/services.cfg to check_command check_load!4.00,3.00,2.00!6.00,4.00,3.00 Info! i don't have check_local_load ! Thank's a lot reagards Achim -- ________________________________________ Fa. Com-Gate Moltkestrasse 13 90429 N?rnberg Phone: +49 (0)911 277 43 77 Fax : +49 (0)911 395 74 96 Mobil: +49 172 834 56 26 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Fri Sep 5 15:18:10 2003 From: morris at unc.edu (Joe Morris) Date: Fri, 5 Sep 2003 09:18:10 -0400 Subject: Warning threshold must be float or float triplet In-Reply-To: <20030905095823.odot7hat6bz0g@com-gate.com> References: <20030905095823.odot7hat6bz0g@com-gate.com> Message-ID: On Fri, 5 Sep 2003, Achim Altmann wrote: | sorry, now run my check_load with the correct syntax but the folling message | comes up | | Warning threshold must be float or float triplet | | i have that lines | define service{ | use generic-service ; Name of | service template to use | host_name test.domain.com | service_description load | is_volatile 0 | check_period 24x7 | max_check_attempts 3 | normal_check_interval 5 | retry_check_interval 1 | contact_groups linux-admins | notification_interval 120 | notification_period 24x7 | notification_options c,r | check_command check_load!-w WLOAD1,WLOAD5,WLOAD15!-c | CLOAD1,CLOAD5,CLOAD15 | } | | | and in checkcommands.cfg | | # 'check_load' command definition | define command{ | command_name TEST Load | command_line $USER1$/check_load -w $ARG1$ -c $ARG2$ | } Whoa, that won't work. You defined the command_name as "TEST load". This is the name that entries in our services.cfg will reference. Change that to read check_load, then your services.cfg can reference it correctly. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Sep 5 15:30:10 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 5 Sep 2003 08:30:10 -0500 Subject: check_mailq changes for exim? Message-ID: <16216.36834.20691.472201@montanaro.dyndns.org> Before I exercise my feeble Perl skills, does anyone have mods for the check_mailq plugin which will check exim's mail queue? Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cal at calevans.com Fri Sep 5 16:27:23 2003 From: cal at calevans.com (Cal Evans) Date: Fri, 05 Sep 2003 09:27:23 -0500 Subject: check_mailq changes for exim? In-Reply-To: <16216.36834.20691.472201@montanaro.dyndns.org> References: <16216.36834.20691.472201@montanaro.dyndns.org> Message-ID: <3F589D4B.60109@calevans.com> Skip Montanaro wrote: > Before I exercise my feeble Perl skills, does anyone have mods for the > check_mailq plugin which will check exim's mail queue? > > Thanks, > I actually wrote one, in bash, got completely finished with it and began testing before I remembered that you have to be an root to execute exim -bp? I'm not really keen on making nagios an admin for my mail server so I'm currently in 'thinking' mode on this one. I'm open to suggestions though. =C= ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Sep 5 16:40:13 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 5 Sep 2003 09:40:13 -0500 Subject: check_mailq changes for exim? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ECB7@mismail.ena.com> > -----Original Message----- > From: Cal Evans [mailto:cal at calevans.com] > Sent: Friday, September 05, 2003 9:27 AM > To: skip at pobox.com > Cc: nagios-users at lists.sourceforge.net > > Skip Montanaro wrote: > > > Before I exercise my feeble Perl skills, does anyone have mods for the > > check_mailq plugin which will check exim's mail queue? > > > > Thanks, > > > I actually wrote one, in bash, got completely finished with it and began > testing before I remembered that you have to be an root to execute exim > -bp? I'm not really keen on making nagios an admin for my mail server so > I'm currently in 'thinking' mode on this one. > > I'm open to suggestions though. Look at sudo. I'm sure that it'll fit the bill. -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JVanas at finncorp.com Fri Sep 5 16:42:49 2003 From: JVanas at finncorp.com (Josh Van As) Date: Fri, 5 Sep 2003 10:42:49 -0400 Subject: Checks don't wait the desired 5 minutes before becoming critical and paging Message-ID: <834D93DB7AA4004F893BB62597D5774C18D9A7@fcsrv0004.finncorp.com> I currently have my hosts / services setup to check every 60 seconds and to retry 5 times. By my understanding, it should take 5 minutes for me to be informed of a failed host. Is that correct? Below is an example of what is happening: I rebooted a host (quake). Nagios does retry 5 times as expected before paging. However, the retry interval ranges from 2 to 10 seconds, not 60. What can I do to force this back to 60 seconds? TIA! -Josh EXAMPLE: [09-05-2003 10:36:06] SERVICE ALERT: quake;homeseer;CRITICAL;HARD;1;Connection refused or timed out [09-05-2003 10:36:06] SERVICE ALERT: quake;smtp;CRITICAL;HARD;1;Connection refused or timed out [09-05-2003 10:36:06] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-email;Connection refused or timed out [09-05-2003 10:36:05] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-epager;Connection refused or timed out [09-05-2003 10:36:05] HOST ALERT: quake;DOWN;HARD;5;Connection refused or timed out [09-05-2003 10:36:02] HOST ALERT: quake;DOWN;SOFT;4;Connection refused or timed out [09-05-2003 10:35:59] HOST ALERT: quake;DOWN;SOFT;3;Connection refused or timed out [09-05-2003 10:35:58] SERVICE ALERT: quake;smtp;CRITICAL;HARD;1;Connection refused or timed out [09-05-2003 10:35:56] HOST ALERT: quake;DOWN;SOFT;2;Connection refused or timed out [09-05-2003 10:35:54] SERVICE ALERT: quake;homeseer;CRITICAL;HARD;1;Socket timeout after 10 seconds [09-05-2003 10:35:53] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-email;Connection refused or timed out [09-05-2003 10:35:53] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-epager;Connection refused or timed out [09-05-2003 10:35:53] HOST ALERT: quake;DOWN;HARD;5;Connection refused or timed out [09-05-2003 10:35:53] HOST ALERT: quake;DOWN;SOFT;1;Connection refused or timed out [09-05-2003 10:35:50] HOST ALERT: quake;DOWN;SOFT;4;Connection refused or timed out [09-05-2003 10:35:47] HOST ALERT: quake;DOWN;SOFT;3;Connection refused or timed out [09-05-2003 10:35:44] HOST ALERT: quake;DOWN;SOFT;2;Connection refused or timed out [09-05-2003 10:35:41] HOST ALERT: quake;DOWN;SOFT;1;Connection refused or timed out [09-05-2003 10:34:51] SERVICE ALERT: quake;homeseer;CRITICAL;SOFT;1;Connection refused by host [09-05-2003 10:34:28] SERVICE ALERT: quake;homeseer;CRITICAL;SOFT;1;Connection refused by host -------------- next part -------------- An HTML attachment was scrubbed... URL: From karoly.vegh at uta.at Fri Sep 5 16:57:39 2003 From: karoly.vegh at uta.at (VEGH Karoly) Date: Fri, 5 Sep 2003 16:57:39 +0200 Subject: NSClient Message-ID: <20030905145739.GK28216@marvin> On Fri, Jul 11, 2003 at 10:55:02AM -0500, Daniel Jimenez wrote: > All, > > Does the NSClient ( http://nsclient.ready2run.nl > ) work with Nagios? Do any features not > work? I have NSClient running on larger machines, but if it has much RAM, then begins to use it up ... hundreds of Megs of RAM. Did a bugreport, though the developers are quite busy in the last time: http://support.tsmgsoftware.com/viewtopic.php?t=23 just my 2 cents. charlie -- V?gh K?roly - System Engineer - UTA - TIS.SAS.BSS Don't worry. Everything is getting nicely out of control. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gwichman at zantaz.com Fri Sep 5 18:25:34 2003 From: gwichman at zantaz.com (Gerald Wichmann) Date: Fri, 5 Sep 2003 09:25:34 -0700 Subject: Out of bounds Error Message-ID: <12C7D768CC8ED4118A9200508BEEC6FB042F2CD9@zanexch.zantaz.com> Every week or two, one of my nagios distributed servers starts freaking out and throwing criticals all over.. Additional Info: (Return code of 127 is out of bounds - plugin may be missing) I can fix it by stopping the nagios service, killing any lingering nagios daemons, and then starting the nagios service (runs under inetd). Question is why is this occurring? Anyone else get this? My other distributed server doesn't do it so perhaps this was a bug in a previous version that I'm currently using as there could be a version mismatch between the two distributed servers (the one that behaves was installed more recently). Gerald This e-mail has been captured and archived by the ZANTAZ Digital Safe(tm) service. For more information, visit us at www.zantaz.com. IMPORTANT: This electronic mail message is intended only for the use of the individual or entity to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure under applicable law. If the reader of this message is not the intended recipient, or the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone or directly reply to the original message(s) sent. Thank you. -------------- next part -------------- An HTML attachment was scrubbed... URL: From vtran at emory.edu Fri Sep 5 18:50:05 2003 From: vtran at emory.edu (Vince Tran) Date: Fri, 5 Sep 2003 12:50:05 -0400 Subject: Load Average to CPU Message-ID: <00c101c373cd$c1fb7d00$a40a8caa@Eu.Emory.Edu> Nagios, Is there a way to correlate load average to CPU utilization? Thanks. Vince -------------- next part -------------- An HTML attachment was scrubbed... URL: From jason at teklabs.net Fri Sep 5 19:10:14 2003 From: jason at teklabs.net (Jason Lancaster) Date: Fri, 05 Sep 2003 13:10:14 -0400 Subject: Load Average to CPU In-Reply-To: <00c101c373cd$c1fb7d00$a40a8caa@Eu.Emory.Edu> References: <00c101c373cd$c1fb7d00$a40a8caa@Eu.Emory.Edu> Message-ID: <3F58C376.7030702@teklabs.net> Not that I'm aware of. The best way I know of monitoring cpu is to monitor vmstat and average the result via a shell script, or use mrtg or similar program. I'm sure there are a few scripts contributed in the contrib section of the plugins homepage. I have a vmstat perl script if you're interested but I found it was unnecessary for our implementation. Good luck, jpl Vince Tran wrote: > Nagios, > > > > Is there a way to correlate load average to CPU utilization? Thanks. > > > > Vince > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From antivirus01 at iia.cl Fri Sep 5 19:33:31 2003 From: antivirus01 at iia.cl (antivirus01 at iia.cl) Date: Fri, 05 Sep 2003 13:33:31 -0400 Subject: Virus Warning from MailScan to Mail-Sender! Message-ID: <1764914756905063832186826865109@iia.cl> El archivo adjunto al siguiente E-mail contiene virus y ha sido eliminado por Antivirus-IIA.Ltda =========================== 01 ================================== The Mail came from : nagios-users at lists.sourceforge.net The Mail recipient : pablo.villoch at proqualitas.com Subject of the Mail : Your details Message-ID : Attachment-Name Virus-Name Action-Taken ------------------------------------------------------------ document_9446.pif I-Worm.Sobig.f Deleted ============================================================= From newsletters at atcomputerconsulting.com Fri Sep 5 19:52:23 2003 From: newsletters at atcomputerconsulting.com (newsletters) Date: Fri, 5 Sep 2003 13:52:23 -0400 (EDT) Subject: advanced event handlers Message-ID: <39274.63.102.39.70.1062784343.squirrel@www.atcomputerconsulting.com> I am interested in doing some low level trouble resolution with event handlers. More specifically, today my cable modem crapped out and it needed to be power cycled. So I am interested in using nagios pings to figure out where the problem is and start rebooting things. I can easily reboot the firewall as it's running linux. But the cable modem is going to be tougher. I don't think there is a way I can remote to it and power cycle. So....... Using something like X10 to bouce an outlet. We have APC master switches here at work and I have just started thinking about writing some php code to bounce a switch if I need, but does anybody know how this might be accomplished on the cheap??? Thanks! Andy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dtulovsky at sbiandcompany.com Fri Sep 5 20:14:32 2003 From: dtulovsky at sbiandcompany.com (Dan Tulovsky) Date: Fri, 5 Sep 2003 14:14:32 -0400 Subject: advanced event handlers Message-ID: <876D16A9E7213C49BC987B31CFB7E474884B4F@mailnyc2.sbicorp.com> Most APC switches can be telneted into. Perhaps you can use expect to login and reset an outlet through the telnet interface. Dan -----Original Message----- From: newsletters [mailto:newsletters at atcomputerconsulting.com] Sent: Friday, September 05, 2003 1:52 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] advanced event handlers I am interested in doing some low level trouble resolution with event handlers. More specifically, today my cable modem crapped out and it needed to be power cycled. So I am interested in using nagios pings to figure out where the problem is and start rebooting things. I can easily reboot the firewall as it's running linux. But the cable modem is going to be tougher. I don't think there is a way I can remote to it and power cycle. So....... Using something like X10 to bouce an outlet. We have APC master switches here at work and I have just started thinking about writing some php code to bounce a switch if I need, but does anybody know how this might be accomplished on the cheap??? Thanks! Andy ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Fri Sep 5 20:51:14 2003 From: sean.perry at intransa.com (Sean Perry) Date: Fri, 05 Sep 2003 11:51:14 -0700 Subject: advanced event handlers In-Reply-To: <39274.63.102.39.70.1062784343.squirrel@www.atcomputerconsulting.com> References: <39274.63.102.39.70.1062784343.squirrel@www.atcomputerconsulting.com> Message-ID: <3F58DB22.9060200@intransa.com> newsletters wrote: > I am interested in doing some low level trouble resolution with event > handlers. > > More specifically, today my cable modem crapped out and it needed to be > power cycled. So I am interested in using nagios pings to figure out > where the problem is and start rebooting things. I can easily reboot the > firewall as it's running linux. But the cable modem is going to be > tougher. I don't think there is a way I can remote to it and power cycle. > So....... > > Using something like X10 to bouce an outlet. We have APC master switches > here at work and I have just started thinking about writing some php code > to bounce a switch if I need, but does anybody know how this might be > accomplished on the cheap??? > here at work we use these network enabled power switches. You just telnet to it and say 'boot 3' to reboot switch 3. Trivial to write expect scripts (or perl/python/whatever) against. Not sure what they cost but it saves us a fair amount when something goes wrong and an admin can fix it from wherever he happens to be. They can't be all that expensive. I have one here on my desk by "Black Box" which has 8 ports. It looks like a big KVM. We also have a few in the lab that look like standard rack powerstrips with a cat-5 sticking out one end. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cpurcell at maharam.com Fri Sep 5 23:02:54 2003 From: cpurcell at maharam.com (Purcell, Chris) Date: Fri, 5 Sep 2003 17:02:54 -0400 Subject: Nagios statusmap Message-ID: I'm having a problem getting the status map working in Nagios 1.1 on a Red Hat 9.0 box. When I compile Nagios with "./configure --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include --with-gd-lib=/usr/local/lib", I get the following when I run "make all"... /usr/local/src/nagios-1.1/cgi/statusmap.c:2222: undefined reference to `gdImageCreateFromJpeg' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/local/src/nagios_stuff/nagios-1.1/cgi' make: *** [all] Error 2 [root at nagios nagios-1.1]# Nagios is up and running right now, I just don't have the status map working. I also can't get any of the icons to show next to the hosts. A transparent box shows up where the icons should be. Thanks, Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: From David at feedroom.com Fri Sep 5 23:27:43 2003 From: David at feedroom.com (David Gitman) Date: Fri, 5 Sep 2003 17:27:43 -0400 Subject: Status of NagMIN Message-ID: Is NagMIN still actively developed? Will there be future releases? Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From jcarro10 at sprintspectrum.com Fri Sep 5 23:42:46 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [PCS]) Date: Fri, 5 Sep 2003 16:42:46 -0500 Subject: advanced event handlers Message-ID: Many years ago I recall reading about some trivial plans which could enable one to write a tiny script, monitor the serial port which has a home-built relay plugged into it. Assuming that the system had a battery backup, the relay would be connected to a power outlet. When the outlet power would stop, the relay would trip, thus permitting the script to follow through to running the shutdown command. It would seem possible that if you could use the appropriate pins on a serial port and connect them to a similar capacity (power-wise) relay, you could have it disable power to the cable modem for 10 seconds. Once you have that hardware and that script, connecting it to Nagios should be trivial. This means you get to play the role of engineer, so be careful that you don't underestimate your load requirements. Food for thought. Disclaimer: If you try this out and something breaks, you get to keep all the pieces. This includes (but is not limited to) starting an electrical fire. jc > -----Original Message----- > From: newsletters [mailto:newsletters at atcomputerconsulting.com] > Sent: Friday, September 05, 2003 12:52 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] advanced event handlers > > > I am interested in doing some low level trouble resolution with event > handlers. > > More specifically, today my cable modem crapped out and it > needed to be > power cycled. So I am interested in using nagios pings to figure out > where the problem is and start rebooting things. I can > easily reboot the > firewall as it's running linux. But the cable modem is going to be > tougher. I don't think there is a way I can remote to it and > power cycle. > So....... > > Using something like X10 to bouce an outlet. We have APC > master switches > here at work and I have just started thinking about writing > some php code > to bounce a switch if I need, but does anybody know how this might be > accomplished on the cheap??? > > Thanks! > Andy > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Fri Sep 5 23:38:51 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 5 Sep 2003 16:38:51 -0500 (CDT) Subject: Nagios statusmap In-Reply-To: References: Message-ID: <13060.64.219.133.155.1062797931.squirrel@xyzzy.homeip.net> http://www.nagios.org/faqs/viewfaq.php?faq_id=182 > I'm having a problem getting the status map working in Nagios 1.1 on a > Red Hat 9.0 box. When I compile Nagios with "./configure > --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include > --with-gd-lib=/usr/local/lib", I get the following when I run "make > all"... > > /usr/local/src/nagios-1.1/cgi/statusmap.c:2222: undefined reference to > `gdImageCreateFromJpeg' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios_stuff/nagios-1.1/cgi' > make: *** [all] Error 2 > [root at nagios nagios-1.1]# > > Nagios is up and running right now, I just don't have the status map > working. I also can't get any of the icons to show next to the hosts. > A transparent box shows up where the icons should be. > > Thanks, > Chris > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From aa at com-gate.com Fri Sep 5 23:45:31 2003 From: aa at com-gate.com (Achim Altmann) Date: Fri, 5 Sep 2003 21:45:31 -0000 Subject: check_mailq with postfix? Message-ID: <20030905234531.von2qe5tjqww0@com-gate.com> hello, check_mailq with postfix dosn't work i have patch the libexec/check_mailq from the latest nagios-versions-plugins with check_mailq.diff the output is Hunk #2 FAILED at 529. Hunk #3 FAILED at 561. 2 out of 3 hunks FAILED and if i include that plugin then comes this message syntax error at /usr/local/nagios/libexec/check_mailq line 180, near "elsif" Execution of /usr/local/nagios/libexec/check_mailq aborted due to compilation errors any idea? Thnak\'s a lot reagards Achim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Sep 5 23:54:17 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 5 Sep 2003 16:54:17 -0500 Subject: check_mailq changes for exim? In-Reply-To: <3F589D4B.60109@calevans.com> References: <16216.36834.20691.472201@montanaro.dyndns.org> <3F589D4B.60109@calevans.com> Message-ID: <16217.1545.661969.955661@montanaro.dyndns.org> >> Before I exercise my feeble Perl skills, does anyone have mods for >> the check_mailq plugin which will check exim's mail queue? Cal> I actually wrote one, in bash, got completely finished with it and Cal> began testing before I remembered that you have to be an root to Cal> execute exim -bp? I'm not really keen on making nagios an admin for Cal> my mail server so I'm currently in 'thinking' mode on this one. Cal> I'm open to suggestions though. I did a little reading of the exim spec.txt file today and saw that there's an option (queue_list_requires_admin) which, when set false, allows mere mortals to list the mail queue. I'm not an exim user, just trying to monitor a system that runs it, so take this suggestion with a grain of salt. I doubt there'd be a huge security hole opened up as a result, but the restriction is probably there for a reason. Skip ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pem at icdc.com Sat Sep 6 21:25:49 2003 From: pem at icdc.com (Patrick McShane) Date: Sat, 6 Sep 2003 15:25:49 -0400 Subject: Weird DNS error reported from check_dns References: <20030905234531.von2qe5tjqww0@com-gate.com> Message-ID: <00a201c374ac$ae1f2720$0200a8c0@bullit> Hi, We occasionally see the error below in our nagios event log reported from a DNS check of one of our Sun Solaris machines. Any way to fix this? A new version and bind and bind utils maybe? [09-06-2003 14:36:23] SERVICE ALERT: ns6;DNS;CRITICAL;SOFT;1;DNS CRITICAL - '/usr/bin/nslookup -sil' output parsing exited with no address Thanks, Pat ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cal at calevans.com Sun Sep 7 02:01:52 2003 From: cal at calevans.com (Cal Evans) Date: Sat, 06 Sep 2003 19:01:52 -0500 Subject: check_mailq changes for exim? In-Reply-To: <16217.1545.661969.955661@montanaro.dyndns.org> References: <16216.36834.20691.472201@montanaro.dyndns.org> <3F589D4B.60109@calevans.com> <16217.1545.661969.955661@montanaro.dyndns.org> Message-ID: <3F5A7570.2010704@calevans.com> Skip Montanaro wrote: > >> Before I exercise my feeble Perl skills, does anyone have mods for > >> the check_mailq plugin which will check exim's mail queue? > > Cal> I actually wrote one, in bash, got completely finished with it and > Cal> began testing before I remembered that you have to be an root to > Cal> execute exim -bp? I'm not really keen on making nagios an admin for > Cal> my mail server so I'm currently in 'thinking' mode on this one. > > Cal> I'm open to suggestions though. > > I did a little reading of the exim spec.txt file today and saw that there's > an option (queue_list_requires_admin) which, when set false, allows mere > mortals to list the mail queue. I'm not an exim user, just trying to > monitor a system that runs it, so take this suggestion with a grain of > salt. I doubt there'd be a huge security hole opened up as a result, but > the restriction is probably there for a reason. > > Skip > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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, this did the trick. Now my check_exim_queue.sh works like a charm. I'm still a little wary of the security ramifications of this but for now it seems to be ok. Thanks for the heads up. =C= -- * Cal Evans * http://www.eicc.com * We take care of your IT, * So you can take care of your business. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scdickey at sentry.corb.net Sun Sep 7 05:00:55 2003 From: scdickey at sentry.corb.net (Steve Dickey) Date: Sat, 6 Sep 2003 21:00:55 -0600 Subject: Performance data & other issues References: <16216.36834.20691.472201@montanaro.dyndns.org> <3F589D4B.60109@calevans.com> <16217.1545.661969.955661@montanaro.dyndns.org> <3F5A7570.2010704@calevans.com> Message-ID: <002001c374ec$41a0d8b0$821b130a@galaxy.meetingexperts.com> All: I am new to the list and hoping to get some help with a new installation. I have just setup and configured nagios and have a couple dozen hosts that have been monitored for about 48 hours. I have a couple of issues that I am hoping someone can help me with: 1. None of the hosts show any uptime when I go to look at the availability and trend reports. All time is shown as Indeterminate??? What am I missing here? 2. I have been unable to find the check process command that will allow for the nagios interface to correcly check the active process and also to restart it from the interface. I have been doing a "service nagios restart" after I make changes. 3. This is a Nagat question: I keep getting a Hostgroup of "Array" when I try to edit any of the hosts. This appears to be a bug but it seems that it would be prevalent in LOTS of installations and fixed so I am convinced I have done something wrong but can not figure it out. Anyone have any ideas about this? 4. Any suggestions for way to manage hosts & services other than Nagat? Thanks in advance. scd ----- Original Message ----- From: "Cal Evans" To: Cc: Sent: Saturday, September 06, 2003 6:01 PM Subject: Re: [Nagios-users] check_mailq changes for exim? > Skip Montanaro wrote: > > > >> Before I exercise my feeble Perl skills, does anyone have mods for > > >> the check_mailq plugin which will check exim's mail queue? > > > > Cal> I actually wrote one, in bash, got completely finished with it and > > Cal> began testing before I remembered that you have to be an root to > > Cal> execute exim -bp? I'm not really keen on making nagios an admin for > > Cal> my mail server so I'm currently in 'thinking' mode on this one. > > > > Cal> I'm open to suggestions though. > > > > I did a little reading of the exim spec.txt file today and saw that there's > > an option (queue_list_requires_admin) which, when set false, allows mere > > mortals to list the mail queue. I'm not an exim user, just trying to > > monitor a system that runs it, so take this suggestion with a grain of > > salt. I doubt there'd be a huge security hole opened up as a result, but > > the restriction is probably there for a reason. > > > > Skip > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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, this did the trick. Now my check_exim_queue.sh works like a charm. > I'm still a little wary of the security ramifications of this but for > now it seems to be ok. > > Thanks for the heads up. > > =C= > > -- > * Cal Evans > * http://www.eicc.com > * We take care of your IT, > * So you can take care of your business. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cpurcell at maharam.com Sun Sep 7 05:30:14 2003 From: cpurcell at maharam.com (Purcell, Chris) Date: Sat, 06 Sep 2003 23:30:14 -0400 Subject: Nagios statusmap In-Reply-To: <13060.64.219.133.155.1062797931.squirrel@xyzzy.homeip.net> References: <13060.64.219.133.155.1062797931.squirrel@xyzzy.homeip.net> Message-ID: <1062905414.4866.19.camel@tux.foo.org> Thanks for the link. I tried recompiling gd with --disable-shared and also recompiled jpeg-6b. I deleted the 3 shared libraries in /usr/local/lib listed in the FAQ. The configuration summary for gd is as follows... ** Configuration summary for gd 2.0.15: Support for PNG library: yes Support for JPEG library: yes Support for Freetype 2.x library: no Support for Xpm library: no I'm not sure if you need Freetype and Xpm installed?? gd installs okay, but Nagios is failing with a different error this time... /usr/local/lib/libgd.a(gd_jpeg.o)(.text+0x935): In function `jpeg_gdIOCtx_src': /usr/local/src/gd-2.0.15/gd_jpeg.c:715: undefined reference to `jpeg_resync_to_restart' collect2: ld returned 1 exit status make[1]: *** [statusmap.cgi] Error 1 make[1]: Leaving directory `/usr/local/src/nagios-1.1/cgi' make: *** [all] Error 2 Any idea's what this means? Thanks, Chris On Fri, 2003-09-05 at 17:38, Mike McClure wrote: > http://www.nagios.org/faqs/viewfaq.php?faq_id=182 > > > I'm having a problem getting the status map working in Nagios 1.1 on a > > Red Hat 9.0 box. When I compile Nagios with "./configure > > --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include > > --with-gd-lib=/usr/local/lib", I get the following when I run "make > > all"... > > > > /usr/local/src/nagios-1.1/cgi/statusmap.c:2222: undefined reference to > > `gdImageCreateFromJpeg' > > collect2: ld returned 1 exit status > > make[1]: *** [statusmap.cgi] Error 1 > > make[1]: Leaving directory `/usr/local/src/nagios_stuff/nagios-1.1/cgi' > > make: *** [all] Error 2 > > [root at nagios nagios-1.1]# > > > > Nagios is up and running right now, I just don't have the status map > > working. I also can't get any of the icons to show next to the hosts. > > A transparent box shows up where the icons should be. > > > > Thanks, > > Chris > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Sun Sep 7 06:00:11 2003 From: jason at teklabs.net (Jason Lancaster) Date: Sun, 07 Sep 2003 00:00:11 -0400 Subject: Performance data & other issues In-Reply-To: <002001c374ec$41a0d8b0$821b130a@galaxy.meetingexperts.com> References: <16216.36834.20691.472201@montanaro.dyndns.org> <3F589D4B.60109@calevans.com> <16217.1545.661969.955661@montanaro.dyndns.org> <3F5A7570.2010704@calevans.com> <002001c374ec$41a0d8b0$821b130a@galaxy.meetingexperts.com> Message-ID: <3F5AAD4B.4020009@teklabs.net> 2. If you installed the init scripts, you can use the init script with the 'reload' switch. On most systems this would be /etc/rc.d/init.d/nagios reload. I believe all the init script does is a HUP signal, so in theory you could just do a killall -HUP nagios (or similar). 4. You could write your own. That's what I did! :) Jason Steve Dickey wrote: > All: > > I am new to the list and hoping to get some help with a new installation. > I have just setup and configured nagios and have a couple dozen hosts that > have been monitored for about 48 hours. I have a couple of issues that I am > hoping someone can help me with: > > 1. None of the hosts show any uptime when I go to look at the availability > and trend reports. All time is shown as Indeterminate??? What am I missing > here? > > 2. I have been unable to find the check process command that will allow for > the nagios interface to correcly check the active process and also to > restart it from the interface. I have been doing a "service nagios restart" > after I make changes. > > 3. This is a Nagat question: I keep getting a Hostgroup of "Array" when I > try to edit any of the hosts. This appears to be a bug but it seems that it > would be prevalent in LOTS of installations and fixed so I am convinced I > have done something wrong but can not figure it out. Anyone have any ideas > about this? > > 4. Any suggestions for way to manage hosts & services other than Nagat? > > Thanks in advance. > > scd > ----- Original Message ----- > From: "Cal Evans" > To: > Cc: > Sent: Saturday, September 06, 2003 6:01 PM > Subject: Re: [Nagios-users] check_mailq changes for exim? > > > >>Skip Montanaro wrote: >> >> >>> >> Before I exercise my feeble Perl skills, does anyone have mods > > for > >>> >> the check_mailq plugin which will check exim's mail queue? >>> >>> Cal> I actually wrote one, in bash, got completely finished with it > > and > >>> Cal> began testing before I remembered that you have to be an root > > to > >>> Cal> execute exim -bp? I'm not really keen on making nagios an admin > > for > >>> Cal> my mail server so I'm currently in 'thinking' mode on this one. >>> >>> Cal> I'm open to suggestions though. >>> >>>I did a little reading of the exim spec.txt file today and saw that > > there's > >>>an option (queue_list_requires_admin) which, when set false, allows mere >>>mortals to list the mail queue. I'm not an exim user, just trying to >>>monitor a system that runs it, so take this suggestion with a grain of >>>salt. I doubt there'd be a huge security hole opened up as a result, > > but > >>>the restriction is probably there for a reason. >>> >>>Skip >>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by:ThinkGeek >>>Welcome to geek heaven. >>>http://thinkgeek.com/sf >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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, this did the trick. Now my check_exim_queue.sh works like a charm. >> I'm still a little wary of the security ramifications of this but for >>now it seems to be ok. >> >>Thanks for the heads up. >> >>=C= >> >>-- >>* Cal Evans >>* http://www.eicc.com >>* We take care of your IT, >>* So you can take care of your business. >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cpurcell at maharam.com Sun Sep 7 07:43:34 2003 From: cpurcell at maharam.com (Purcell, Chris) Date: Sun, 07 Sep 2003 01:43:34 -0400 Subject: Nagios statusmap & icons In-Reply-To: <1062905414.4866.19.camel@tux.foo.org> References: <13060.64.219.133.155.1062797931.squirrel@xyzzy.homeip.net> <1062905414.4866.19.camel@tux.foo.org> Message-ID: <1062913414.4867.30.camel@tux.foo.org> I got statusmap.cgi working by copying the statusmap.cgi file from the source directory of the failed installation below, into the sbin/ directory of the working Nagios installation. The only thing now is getting the icons to show in the statusmap and everywhere else. I guess it doesn't work because I can't compile Nagios with gd (below). Thanks, Chris On Sat, 2003-09-06 at 23:30, Purcell, Chris wrote: > Thanks for the link. I tried recompiling gd with --disable-shared and > also recompiled jpeg-6b. I deleted the 3 shared libraries in > /usr/local/lib listed in the FAQ. The configuration summary for gd is > as follows... > > ** Configuration summary for gd 2.0.15: > > Support for PNG library: yes > Support for JPEG library: yes > Support for Freetype 2.x library: no > Support for Xpm library: no > > I'm not sure if you need Freetype and Xpm installed?? gd installs okay, > but Nagios is failing with a different error this time... > > /usr/local/lib/libgd.a(gd_jpeg.o)(.text+0x935): In function > `jpeg_gdIOCtx_src': > /usr/local/src/gd-2.0.15/gd_jpeg.c:715: undefined reference to > `jpeg_resync_to_restart' > collect2: ld returned 1 exit status > make[1]: *** [statusmap.cgi] Error 1 > make[1]: Leaving directory `/usr/local/src/nagios-1.1/cgi' > make: *** [all] Error 2 > > > Any idea's what this means? > > Thanks, > Chris > > > > On Fri, 2003-09-05 at 17:38, Mike McClure wrote: > > http://www.nagios.org/faqs/viewfaq.php?faq_id=182 > > > > > I'm having a problem getting the status map working in Nagios 1.1 on a > > > Red Hat 9.0 box. When I compile Nagios with "./configure > > > --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include > > > --with-gd-lib=/usr/local/lib", I get the following when I run "make > > > all"... > > > > > > /usr/local/src/nagios-1.1/cgi/statusmap.c:2222: undefined reference to > > > `gdImageCreateFromJpeg' > > > collect2: ld returned 1 exit status > > > make[1]: *** [statusmap.cgi] Error 1 > > > make[1]: Leaving directory `/usr/local/src/nagios_stuff/nagios-1.1/cgi' > > > make: *** [all] Error 2 > > > [root at nagios nagios-1.1]# > > > > > > Nagios is up and running right now, I just don't have the status map > > > working. I also can't get any of the icons to show next to the hosts. > > > A transparent box shows up where the icons should be. > > > > > > Thanks, > > > Chris > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From redhat at cjp.us Sun Sep 7 08:39:25 2003 From: redhat at cjp.us (Chris Purcell) Date: Sun, 07 Sep 2003 02:39:25 -0400 Subject: Nagios statusmap & icons In-Reply-To: <1062913414.4867.30.camel@tux.foo.org> References: <13060.64.219.133.155.1062797931.squirrel@xyzzy.homeip.net> <1062905414.4866.19.camel@tux.foo.org> <1062913414.4867.30.camel@tux.foo.org> Message-ID: <1062916764.4867.33.camel@tux.foo.org> ...nevermind, everything is working now. I read some bad documentation that said to copy the logos to /usr/local/nagios/images/logos/, when it should have said /usr/local/nagios/share/images/logos. Chris On Sun, 2003-09-07 at 01:43, Purcell, Chris wrote: > I got statusmap.cgi working by copying the statusmap.cgi file from the > source directory of the failed installation below, into the sbin/ > directory of the working Nagios installation. The only thing now is > getting the icons to show in the statusmap and everywhere else. I guess > it doesn't work because I can't compile Nagios with gd (below). > > Thanks, > Chris > > On Sat, 2003-09-06 at 23:30, Purcell, Chris wrote: > > Thanks for the link. I tried recompiling gd with --disable-shared and > > also recompiled jpeg-6b. I deleted the 3 shared libraries in > > /usr/local/lib listed in the FAQ. The configuration summary for gd is > > as follows... > > > > ** Configuration summary for gd 2.0.15: > > > > Support for PNG library: yes > > Support for JPEG library: yes > > Support for Freetype 2.x library: no > > Support for Xpm library: no > > > > I'm not sure if you need Freetype and Xpm installed?? gd installs okay, > > but Nagios is failing with a different error this time... > > > > /usr/local/lib/libgd.a(gd_jpeg.o)(.text+0x935): In function > > `jpeg_gdIOCtx_src': > > /usr/local/src/gd-2.0.15/gd_jpeg.c:715: undefined reference to > > `jpeg_resync_to_restart' > > collect2: ld returned 1 exit status > > make[1]: *** [statusmap.cgi] Error 1 > > make[1]: Leaving directory `/usr/local/src/nagios-1.1/cgi' > > make: *** [all] Error 2 > > > > > > Any idea's what this means? > > > > Thanks, > > Chris > > > > > > > > On Fri, 2003-09-05 at 17:38, Mike McClure wrote: > > > http://www.nagios.org/faqs/viewfaq.php?faq_id=182 > > > > > > > I'm having a problem getting the status map working in Nagios 1.1 on a > > > > Red Hat 9.0 box. When I compile Nagios with "./configure > > > > --with-perlcache --enable-embedded-perl --with-gd-inc=/usr/local/include > > > > --with-gd-lib=/usr/local/lib", I get the following when I run "make > > > > all"... > > > > > > > > /usr/local/src/nagios-1.1/cgi/statusmap.c:2222: undefined reference to > > > > `gdImageCreateFromJpeg' > > > > collect2: ld returned 1 exit status > > > > make[1]: *** [statusmap.cgi] Error 1 > > > > make[1]: Leaving directory `/usr/local/src/nagios_stuff/nagios-1.1/cgi' > > > > make: *** [all] Error 2 > > > > [root at nagios nagios-1.1]# > > > > > > > > Nagios is up and running right now, I just don't have the status map > > > > working. I also can't get any of the icons to show next to the hosts. > > > > A transparent box shows up where the icons should be. > > > > > > > > Thanks, > > > > Chris > > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From starbase_947 at knesset.gov.il Sun Sep 7 13:57:29 2003 From: starbase_947 at knesset.gov.il (=?windows-1255?Q?=EE=F9=E4_=F8=E5=F4=E0?=) Date: Sun, 7 Sep 2003 13:57:29 +0200 Subject: icon problems Message-ID: <457CE430FA75D61193D90002A5F0CF89012E7D8B@ZAVITAN> greetings, I have compiled nagios 1.1 with the ability to use extended template base host infomation and included in the cgi.cfg file the name of the cfg file that contained the information. i called it extra.cfg. i have put in the /usr/local/nagios/share/images/logos directory the gif and jpf files, but no icon appears at the web site. nothing in the host details, services details of even in the statuscgi and vrml files. have i missed something? the compliation went fine and running nagios with -v option proved to be o.k. the gifs and jpg are there, what else to be done? thanks, Moshe Roffe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From David at feedroom.com Sun Sep 7 17:48:42 2003 From: David at feedroom.com (David Gitman) Date: Sun, 7 Sep 2003 11:48:42 -0400 Subject: Status of NagMIN Message-ID: Is NagMIN still actively developed? Will there be future releases? Thanks, David -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro.rebelo at tagus.ist.utl.pt Mon Sep 8 00:54:18 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Mon, 8 Sep 2003 00:54:18 WEST Subject: "Error: Service Status Not Found!" Message-ID: I am testing some cluster services/hosts with check_cluster. However, when I select the plugin from the Services Details, I mostly get "Error: Service Status Not Found!". There are also no output results from these plugins ( I've tested on the command line and it worked great.). Did anyone ever have a problem similar to this one ? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pedro.rebelo at tagus.ist.utl.pt Mon Sep 8 01:45:59 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Mon, 8 Sep 2003 01:45:59 WEST Subject: "Error: Service Status Not Found!" Message-ID: Hmmm...each time I click on the Services Details, the information provided by the cluster services is different...one time they are all OK, another they are all in a WARNING state with no output, another some of the services dont appear, another they are all OK again....whats wrong? -- Original Message -- From: Pedro Rebelo To: nagios-users at lists.sourceforge.net Send: 2003-09-08 Subject: [Nagios-users] "Error: Service Status Not Found!" I am testing some cluster services/hosts with check_cluster. However, when I select the plugin from the Services Details, I mostly get "Error: Service Status Not Found!". There are also no output results from these plugins ( I've tested on the command line and it worked great.). Did anyone ever have a problem similar to this one ? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.lovick at unitedip.net.au Mon Sep 8 03:34:18 2003 From: jamie.lovick at unitedip.net.au (Jamie Lovick) Date: Mon, 8 Sep 2003 11:34:18 +1000 Subject: Delaying email notifications Message-ID: <024001c375a9$52052ea0$abb6a8c0@jamie> Hi, We are using Nagios 1.1 to monitor around 300 sites over multiple WAN links. A lot of these sites tend to flap fairly often, and Nagios will often report them as down and send an Email notification. Management wishes us to set email notifications only if a site has been down for more than a specified time, such as 30 or 60 minutes. What would be the best way to achieve this? Thanks in advance. Regards Jamie -- Jamie Lovick Network Operations Supervisor United IP Phone: 02 8825 5586 Fax: 02 8825 5587 Email: jamie.lovick at unitedip.net.au ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 8 04:07:10 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 7 Sep 2003 22:07:10 -0400 (EDT) Subject: check_mailq changes for exim? In-Reply-To: <16217.1545.661969.955661@montanaro.dyndns.org> References: <16217.1545.661969.955661@montanaro.dyndns.org> Message-ID: On Fri, 5 Sep 2003, Skip Montanaro wrote: > >> Before I exercise my feeble Perl skills, does anyone have mods for > >> the check_mailq plugin which will check exim's mail queue? > > Cal> I actually wrote one, in bash, got completely finished with it and > Cal> began testing before I remembered that you have to be an root to > Cal> execute exim -bp? I'm not really keen on making nagios an admin for > Cal> my mail server so I'm currently in 'thinking' mode on this one. > > Cal> I'm open to suggestions though. > > I did a little reading of the exim spec.txt file today and saw that there's > an option (queue_list_requires_admin) which, when set false, allows mere > mortals to list the mail queue. I'm not an exim user, just trying to > monitor a system that runs it, so take this suggestion with a grain of > salt. I doubt there'd be a huge security hole opened up as a result, but > the restriction is probably there for a reason. > A similar restriction exists for other MTA - root only. The recommended work-around has been to enable adequate group permissions between the MTA user and Nagios user. A working patch for exim would be welcome. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 8 04:12:36 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Sun, 7 Sep 2003 22:12:36 -0400 (EDT) Subject: check_mailq with postfix? In-Reply-To: <20030905234531.von2qe5tjqww0@com-gate.com> References: <20030905234531.von2qe5tjqww0@com-gate.com> Message-ID: On Fri, 5 Sep 2003, Achim Altmann wrote: > > hello, > > check_mailq with postfix dosn't work > > i have patch the libexec/check_mailq from the latest nagios-versions-plugins > with check_mailq.diff > > the output is > Hunk #2 FAILED at 529. > Hunk #3 FAILED at 561. > 2 out of 3 hunks FAILED > > and if i include that plugin > then comes this message > > syntax error at /usr/local/nagios/libexec/check_mailq line 180, near "elsif" > Execution of /usr/local/nagios/libexec/check_mailq aborted due to compilation > errors > > any idea? > > Thnak\'s a lot > reagards > Achim > > which latest version (release? CVS?) Also we tend not to release patches between releases - so the origin of check_mailq.diff is not immediately understood. lastly - check_mailq (and most perl plugins) make use of utils.pm and initialize system specific stuff during the configure and make cycle, including which MTA and mailq command to use. If you could try a full release package and let us know if postfix is still causing problems... -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 8 06:43:59 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Mon, 8 Sep 2003 00:43:59 -0400 (EDT) Subject: Weird DNS error reported from check_dns In-Reply-To: <00a201c374ac$ae1f2720$0200a8c0@bullit> References: <00a201c374ac$ae1f2720$0200a8c0@bullit> Message-ID: On Sat, 6 Sep 2003, Patrick McShane wrote: > Hi, > > We occasionally see the error below in our nagios event log reported from a > DNS check of one of our Sun Solaris machines. Any way to fix this? A new > version and bind and bind utils maybe? > > [09-06-2003 14:36:23] SERVICE ALERT: ns6;DNS;CRITICAL;SOFT;1;DNS CRITICAL - > '/usr/bin/nslookup -sil' output parsing exited with no address > > Thanks, > Pat > > Looks like nslookup was hanging in attempting to resolve an address. May be either a local resource issue or delay in response from dns server. try check_dig to see it helps. -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Sep 8 17:16:07 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [OTH]) Date: Mon, 8 Sep 2003 10:16:07 -0500 Subject: Performance data & other issues Message-ID: The host only gets checked if a service on that host fails. jc > -----Original Message----- > From: Steve Dickey [mailto:scdickey at sentry.corb.net] > Sent: Saturday, September 06, 2003 10:01 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Performance data & other issues > > > All: > > I am new to the list and hoping to get some help with a new > installation. > I have just setup and configured nagios and have a couple > dozen hosts that > have been monitored for about 48 hours. I have a couple of > issues that I am > hoping someone can help me with: > > 1. None of the hosts show any uptime when I go to look at the > availability > and trend reports. All time is shown as Indeterminate??? > What am I missing > here? > > 2. I have been unable to find the check process command that > will allow for > the nagios interface to correcly check the active process and also to > restart it from the interface. I have been doing a "service > nagios restart" > after I make changes. > > 3. This is a Nagat question: I keep getting a Hostgroup of > "Array" when I > try to edit any of the hosts. This appears to be a bug but > it seems that it > would be prevalent in LOTS of installations and fixed so I am > convinced I > have done something wrong but can not figure it out. Anyone > have any ideas > about this? > > 4. Any suggestions for way to manage hosts & services other > than Nagat? > > Thanks in advance. > > scd > ----- Original Message ----- > From: "Cal Evans" > To: > Cc: > Sent: Saturday, September 06, 2003 6:01 PM > Subject: Re: [Nagios-users] check_mailq changes for exim? > > > > Skip Montanaro wrote: > > > > > >> Before I exercise my feeble Perl skills, does > anyone have mods > for > > > >> the check_mailq plugin which will check exim's mail queue? > > > > > > Cal> I actually wrote one, in bash, got completely > finished with it > and > > > Cal> began testing before I remembered that you have > to be an root > to > > > Cal> execute exim -bp? I'm not really keen on making > nagios an admin > for > > > Cal> my mail server so I'm currently in 'thinking' > mode on this one. > > > > > > Cal> I'm open to suggestions though. > > > > > > I did a little reading of the exim spec.txt file today > and saw that > there's > > > an option (queue_list_requires_admin) which, when set > false, allows mere > > > mortals to list the mail queue. I'm not an exim user, > just trying to > > > monitor a system that runs it, so take this suggestion > with a grain of > > > salt. I doubt there'd be a huge security hole opened up > as a result, > but > > > the restriction is probably there for a reason. > > > > > > Skip > > > > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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, this did the trick. Now my check_exim_queue.sh works > like a charm. > > I'm still a little wary of the security ramifications of > this but for > > now it seems to be ok. > > > > Thanks for the heads up. > > > > =C= > > > > -- > > * Cal Evans > > * http://www.eicc.com > > * We take care of your IT, > > * So you can take care of your business. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Mon Sep 8 23:34:21 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 08 Sep 2003 16:34:21 -0500 Subject: Time Undetermined Message-ID: <1063056861.32123.60.camel@localhost> Where is the "Time Undetermined" in the availability page coming from? *All* of my systems have the same "Time Undetermined" percentage listed; I *know* they've been up the entire time... I *think* it has to do with nagios not recognizing the initial state - if I switch (in the upper right) 'First assumed service state:' to be 'Current State', it *seems* to be correct. any help is greatly appreciated. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Tue Sep 9 05:46:32 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 08 Sep 2003 22:46:32 -0500 Subject: 2.0 release date? In-Reply-To: References: Message-ID: <3F5D06C8.23868.245E2E1@localhost> I keep having to push the date for a 2.0 beta back. I'm almost done coding and now have to start on the documentation (I've done nothing on this so far). Since a lot of config options have changed since 1.x, releasing 2.0 before docs are ready wouldn't be of much use. Anyway, mabye by early October I'll have something ready. On 3 Sep 2003 at 9:41, Justin Fitzhugh wrote: > > Any word on when 2.0 will go beta or be released? > > Thanks, > > -Justin > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Tue Sep 9 05:46:32 2003 From: nagios at nagios.org (Ethan Galstad) Date: Mon, 08 Sep 2003 22:46:32 -0500 Subject: Time Undetermined In-Reply-To: <1063056861.32123.60.camel@localhost> References: <1063056861.32123.60.camel@localhost> Message-ID: <3F5D06C8.30021.245E3CD@localhost> On 8 Sep 2003 at 16:34, jeff vier wrote: > Where is the "Time Undetermined" in the availability page coming from? > *All* of my systems have the same "Time Undetermined" percentage > listed; I *know* they've been up the entire time... > > I *think* it has to do with nagios not recognizing the initial state - > if I switch (in the upper right) 'First assumed service state:' to be > 'Current State', it *seems* to be correct. > > any help is greatly appreciated. > You are correct. Nagios could not find an entry in the log file that indicated the starting state of the host/service in question. Options you have would be to increase the backtracked archives option when you run the report and/or enable logging of initial states. This should get cleared up in 2.0, as Nagios logs the current state of all hosts/services each time the log file gets rotated. Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From atul_iet at rediffmail.com Mon Sep 8 13:39:32 2003 From: atul_iet at rediffmail.com (Atul Shrivastava) Date: 8 Sep 2003 11:39:32 -0000 Subject: Plot graph for one year using APAN without compression Message-ID: <20030908113932.19372.qmail@mailweb33.rediffmail.com> An HTML attachment was scrubbed... URL: -------------- next part -------------- Hello, I am working to have a graph for bandwidth utilization graph for one year with values plotted on X-axis with 5 min separated. It means that if I want to see the data 11 months back ,then I am able to see that data with the same separation that I am seeing currently for this day, means with separation of two values by 5 min only. If somebody has tried it earlier, pls let me know. I think that if I will change the storing of data in rrd by 5 min average then also I have to modify the front-end apan such that one year graph will fit in one single web-page with 5 min separation value. ANY COMMENTS INVITED ..... Actually this is helpful in taking the decision of Capacity Planning for the future because by the current graph, it becomes difficult for anybody to have a feel what is the previous utilization because it is too much compresses. I do not care whether the resolutoin of the web-page increases, but this has to work Regards and have a nice day, Atul Shrivastava From damian at sentex.net Tue Sep 9 00:08:28 2003 From: damian at sentex.net (Damian Gerow) Date: Mon, 8 Sep 2003 18:08:28 -0400 Subject: snmp_disk help Message-ID: <20030908220828.GT769@sentex.net> I've got Nagios 1.1 installed and working for a number of active checks (_http, _ftp, _pop, _imap, _smtp, ...). I'm starting to work with SNMP to be able to watch remote disk usage, CPU load, etc., but I've run into a few snags. Does anyone have a working check_snmp definition that will iterate through the various mounted disks, instead of needing to use one definition per disk? It'd be a fair bit faster, and put a little less load on everyone, I think. I'd like to avoid having six different snmp_disk definitions, and define as many as needed per host. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Tue Sep 9 06:01:16 2003 From: morris at unc.edu (Joe Morris) Date: Tue, 9 Sep 2003 00:01:16 -0400 Subject: contact_groups confusion Message-ID: It seems you can define (and in some cases required) contact_groups for a service, hostgroup and serviceescalation (and others). With these overlapping, I'm confused on what takes precedence. If I have services defined with a contact_group setting and that same group of related hosts with a different contact_group setting, which one take effect? Or maybe I'm confusing hosts with services which are different? If so, how do contact_groups work with each other when defined for a service and serviceescalation? _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Tue Sep 9 06:31:24 2003 From: morris at unc.edu (Joe Morris) Date: Tue, 9 Sep 2003 00:31:24 -0400 Subject: snmp_disk help In-Reply-To: <20030908220828.GT769@sentex.net> References: <20030908220828.GT769@sentex.net> Message-ID: On Mon, 8 Sep 2003, Damian Gerow wrote: | I've got Nagios 1.1 installed and working for a number of active checks | (_http, _ftp, _pop, _imap, _smtp, ...). I'm starting to work with SNMP | to be able to watch remote disk usage, CPU load, etc., but I've run into | a few snags. | Does anyone have a working check_snmp definition that will iterate | through the various mounted disks, instead of needing to use one | definition per disk? It'd be a fair bit faster, and put a little less | load on everyone, I think. I'd like to avoid having six different | snmp_disk definitions, and define as many as needed per host. I cobbled together a simple ksh script (meets most of the plugin standards) that uses snmpdf from the net-snmp package. It fetches all filesystem info via snmpdf and then looks up all of the parameters for the the filesystems I want to monitor for that host. It simply gives the all clear they all passed or warning/critical threshold information for that filesystem(s). This means I have one service defined for each host that checks all of the filesystems I'm interested in and I can update the configuration file on the fly. If you don't have the snmpdf tool, I'm sure there's an wasy way to get what you want with snmpwalk and the right oid. I'll be glad to share what I did with you and others. I've put a few other ksh scripts like this to monitor the load avg and remote processes by fetching the data I need with snmp. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wim.degeeter at bt.com Tue Sep 9 07:01:26 2003 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Tue, 9 Sep 2003 06:01:26 +0100 Subject: Error in hosts.cfg with check_command host-alive Message-ID: Hi, In the hosts.cfg file you can use the check_command host-alive . I get the error: Host Check command 'host-alive' specified for host *** is not defined anywhere. Were can is specify this command? Many thanks, Wim -------------- next part -------------- An HTML attachment was scrubbed... URL: From g.vickers at qut.edu.au Tue Sep 9 07:04:00 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 09 Sep 2003 15:04:00 +1000 Subject: Test please ignore Message-ID: <5.2.0.9.2.20030909150337.023180f0@imap.qut.edu.au> Sorry please ignore my test message ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From alan at zoolink.net Tue Sep 9 00:08:42 2003 From: alan at zoolink.net (Alan Murrell) Date: Mon, 8 Sep 2003 15:08:42 -0700 Subject: check_http : able to check authentication? Message-ID: Hello, We are running Nagios v1.0, and I had a question about the check_http plugin. One of our clients has a website they would like monitored, but it requires authentication (via the IIS popup box). It is normally possibly to get in with your web browser using a URL similar to: http://user:password at www.domain.tld I was wondering if it's possible to do something siliar in the Nagios setup, or if such a feature to the plugin is planned/feasible? I look forward to hearing back from you. TIA. Alan Murrell ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Sep 8 17:22:50 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [OTH]) Date: Mon, 8 Sep 2003 10:22:50 -0500 Subject: Delaying email notifications Message-ID: Read the most excellent docco regarding escalations. You could define the first (or first two, or...) notifications to go to a dummy user which sends e-mail to /dev/null. All subsequent notifications would then go to a real person. jc > -----Original Message----- > From: Jamie Lovick [mailto:jamie.lovick at unitedip.net.au] > Sent: Sunday, September 07, 2003 8:34 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Delaying email notifications > > > > Hi, > > We are using Nagios 1.1 to monitor around 300 sites over multiple WAN > links. A lot of these sites tend to flap fairly often, and Nagios will > often report them as down and send an Email notification. Management > wishes us to set email notifications only if a site has been down for > more than a specified time, such as 30 or 60 minutes. > > What would be the best way to achieve this? > > Thanks in advance. > > Regards > > Jamie > > -- > Jamie Lovick > Network Operations Supervisor > United IP > Phone: 02 8825 5586 Fax: 02 8825 5587 > Email: jamie.lovick at unitedip.net.au > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Mon Sep 8 17:20:24 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [OTH]) Date: Mon, 8 Sep 2003 10:20:24 -0500 Subject: "Error: Service Status Not Found!" Message-ID: You may have more than one instance of Nagios running. Do this: 1) Issue the command to gracefully stop Nagios. On my Red Hat 7.3 system, it's simply "service nagios stop" 2) Check for remaining Nagios processes. Give them 10-15 seconds to settle down. 3) If there are any processes left over at this point, kill them. 4) Make sure there are no Nagios processes remaining. 5) Gracefully start Nagios again, eg, "service nagios start" You should be fine now. (Yes, this is in the FAQ.) jc > -----Original Message----- > From: Pedro Rebelo [mailto:pedro.rebelo at tagus.ist.utl.pt] > Sent: Sunday, September 07, 2003 8:46 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] "Error: Service Status Not Found!" > > > Hmmm...each time I click on the Services Details, the > information provided by the cluster services is > different...one time they are all OK, another they are all in > a WARNING state with no output, another some of the services > dont appear, another they are all OK again....whats wrong? > > > -- Original Message -- > From: Pedro Rebelo > To: nagios-users at lists.sourceforge.net > Send: 2003-09-08 > Subject: [Nagios-users] "Error: Service Status Not Found!" > > I am testing some cluster services/hosts with check_cluster. > However, when I > select the plugin from the Services Details, I mostly get > "Error: Service > Status Not Found!". There are also no output results from > these plugins ( > I've tested on the command line and it worked great.). > Did anyone ever have a problem similar to this one ? > > Thanks. > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Tue Sep 9 08:59:05 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Tue, 09 Sep 2003 16:59:05 +1000 Subject: Checking partitions Message-ID: <5.2.0.9.2.20030909165127.021ba550@imap.qut.edu.au> Hi all, I was wondering if anyone out there is using a non-% based method for checking their partitions? We have many different sized partitions on different (Windows) servers and a %-based check means that I would have to write a check per partition almost! I am thinking along the lines of WARNING at >1Gb, CRITICAL at >750Mb, something like that. I am just seeing if anyone has come up with an elegant method of doing this rather than doing something like parsing the result from check_nt... We currently don't use SNMP on our Windows servers and I don't think that installing it just for this is something that I want to do... unless I have to :P Thanks, ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Snyder at worldgaming.com Tue Sep 9 09:35:23 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Tue, 9 Sep 2003 03:35:23 -0400 Subject: nrpe compile problem solaris 2.6 Message-ID: <44DEF9C222BF4A47B3A361765EC17337175FB0@anakin.worldgaming.local> > Having problems compiling and running make all. > nrpe 2.0b5 > openssl 0.9.7b > solaris 2.6 > > Can anyone shed some light on this problem? > > make all > cd ./src/; make ; cd .. > make[1]: Entering directory `/usr/local/nrpe-2.0b5/src' > gcc -g -O2 -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c > nrpe.c: In function `wait_for_connections': > nrpe.c:520: `socklen_t' undeclared (first use in this function) > nrpe.c:520: (Each undeclared identifier is reported only once > nrpe.c:520: for each function it appears in.) > nrpe.c:520: parse error before `addrlen' > nrpe.c:619: `addrlen' undeclared (first use in this function) > make[1]: *** [nrpe] Error 1 > make[1]: Leaving directory `/usr/local/nrpe-2.0b5/src' > > *** Compile finished *** > > > > Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elvis at webspace4you.ch Tue Sep 9 14:23:43 2003 From: elvis at webspace4you.ch (Elvis Altherr) Date: Tue, 9 Sep 2003 14:23:43 +0200 Subject: Nagios 1.1 and read only User Message-ID: Hi all One thing bevor: We use Nagios 1.1 to observe our Web Server Farm and have to say, that the tool is very great Question (to the developer of Nagios 1.1) is it possible to implement a read only User, which can view his own host configuration and can't change anything or not (we need this for our customers) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lao_deng at yahoo.com Tue Sep 9 15:31:05 2003 From: lao_deng at yahoo.com (=?gb2312?q?Dt?=) Date: Tue, 9 Sep 2003 21:31:05 +0800 (CST) Subject: check_swap problem Message-ID: <20030909133105.38700.qmail@web13310.mail.yahoo.com> We are using nagios 1.0, I am puzzled by the output of check_swap. There is 4Gb swap every node, why check_swap report there only 2147483647? Thanks in advance! ----------------------------------------------------------------- [root at rs0066 etc]# /usr/local/nagios/libexec/check_swap -w 80 -c 90 CRITICAL - Swap used: 100 (2147483647 bytes out of 2147483647) [root at rs0066 etc]# free total used free shared buffers cached Mem: 2059028 2053644 5384 0 176884 1578604 -/+ buffers/cache: 298156 1760872 Swap: 4192912 2563360 1629552 [root at rs0066 etc]# more /proc/meminfo total: used: free: shared: buffers: cached: Mem: 2108444672 2102931456 5513216 0 181129216 1639182336 Swap: 4293541888 2624880640 1668661248 MemTotal: 2059028 kB MemFree: 5384 kB MemShared: 0 kB Buffers: 176884 kB Cached: 1578604 kB SwapCached: 22160 kB Active: 504580 kB Inact_dirty: 927616 kB Inact_clean: 345452 kB Inact_target: 524272 kB HighTotal: 1179584 kB HighFree: 2216 kB LowTotal: 879444 kB LowFree: 3168 kB SwapTotal: 4192912 kB SwapFree: 1629552 kB ---------------------------------------------------------------------- Regards Dong Tao _________________________________________________________ Do You Yahoo!? ????????????[???????]?????????????+?????????? http://cn.rd.yahoo.com/mail_cn/tag/?http://cn.messenger.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Tue Sep 9 15:51:04 2003 From: David at feedroom.com (David Gitman) Date: Tue, 9 Sep 2003 09:51:04 -0400 Subject: check_http : able to check authentication? Message-ID: RTFM, http://nagios.sourceforge.net/docs/1_0/plugins.html Try running a check_http -help. The -a option should do the trick. ./check_http --help check_http (nagios-plugins 1.3.1) 1.24.2.4 The nagios plugins come with ABSOLUTELY NO WARRANTY. You may redistribute copies of the plugins under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING. Copyright (c) 1999-2001 Ethan Galstad/Karl DeBisschop This plugin tests the HTTP service on the specified host. It can test normal (http) and secure (https) servers, follow redirects, search for strings and regular expressions, check connection times, and report on certificate expiration times. Usage: check_http (-H | -I ) [-u ] [-p ] [-w ] [-c ] [-t ] [-L] [-a auth] [-f ] [-e ] [-s string] [-l] [-r | -R ] [-P string] check_http (-h | --help) for detailed help check_http (-V | --version) for version information NOTE: One or both of -H and -I must be specified Options: -H, --hostname=ADDRESS Host name argument for servers using host headers (virtual host) -I, --IP-address=ADDRESS IP address or name (use numeric address if possible to bypass DNS lookup). -e, --expect=STRING String to expect in first (status) line of server response (default: HTTP/1.) If specified skips all other status line logic (ex: 3xx, 4xx, 5xx processing) -s, --string=STRING String to expect in the content -u, --url=PATH URL to GET or POST (default: /) -p, --port=INTEGER Port number (default: 80) -P, --post=STRING URL encoded http POST data -w, --warning=INTEGER Response time to result in warning status (seconds) -c, --critical=INTEGER Response time to result in critical status (seconds) -t, --timeout=INTEGER Seconds before connection times out (default: 10) --authorization=AUTH_PAIR Username:password on sites with basic authentication -L, --link=URL Wrap output in HTML link (obsoleted by urlize) -f, --onredirect= How to handle redirected pages -S, --ssl Connect via SSL -C, --certificate=INTEGER Minimum number of days a certificate has to be valid. (when this option is used the url is not checked.) -l, --linespan Allow regex to span newlines (must precede -r or -R) -r, --regex, --ereg=STRING Search page for regex STRING -R, --eregi=STRING Search page for case-insensitive regex STRING -v, --verbose Show details for command-line debugging (do not use with nagios server) -h, --help Print detailed help screen -V, --version Print version information This plugin can also check whether an SSL enabled web server is able to serve content (optionally within a specified time) or whether the X509 certificate is still valid for the specified number of days. CHECK CONTENT: check_http -w 5 -c 10 --ssl www.verisign.com When the 'www.verisign.com' server returns its content within 5 seconds, a STATE_OK will be returned. When the server returns its content but exceeds the 5-second threshold, a STATE_WARNING will be returned. When an error occurs, a STATE_CRITICAL will be returned. 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. [-d] -----Original Message----- From: Alan Murrell [mailto:alan at zoolink.net] Sent: Monday, September 08, 2003 6:09 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_http : able to check authentication? Hello, We are running Nagios v1.0, and I had a question about the check_http plugin. One of our clients has a website they would like monitored, but it requires authentication (via the IIS popup box). It is normally possibly to get in with your web browser using a URL similar to: http://user:password at www.domain.tld I was wondering if it's possible to do something siliar in the Nagios setup, or if such a feature to the plugin is planned/feasible? I look forward to hearing back from you. TIA. Alan Murrell ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From David at feedroom.com Tue Sep 9 15:56:49 2003 From: David at feedroom.com (David Gitman) Date: Tue, 9 Sep 2003 09:56:49 -0400 Subject: snmp_disk help Message-ID: I'm very interested to see what you've done. Would you mind posting them? [-d] -----Original Message----- From: Joe Morris [mailto:morris at unc.edu] Sent: Tuesday, September 09, 2003 12:31 AM To: Damian Gerow Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] snmp_disk help On Mon, 8 Sep 2003, Damian Gerow wrote: | I've got Nagios 1.1 installed and working for a number of active checks | (_http, _ftp, _pop, _imap, _smtp, ...). I'm starting to work with SNMP | to be able to watch remote disk usage, CPU load, etc., but I've run into | a few snags. | Does anyone have a working check_snmp definition that will iterate | through the various mounted disks, instead of needing to use one | definition per disk? It'd be a fair bit faster, and put a little less | load on everyone, I think. I'd like to avoid having six different | snmp_disk definitions, and define as many as needed per host. I cobbled together a simple ksh script (meets most of the plugin standards) that uses snmpdf from the net-snmp package. It fetches all filesystem info via snmpdf and then looks up all of the parameters for the the filesystems I want to monitor for that host. It simply gives the all clear they all passed or warning/critical threshold information for that filesystem(s). This means I have one service defined for each host that checks all of the filesystems I'm interested in and I can update the configuration file on the fly. If you don't have the snmpdf tool, I'm sure there's an wasy way to get what you want with snmpwalk and the right oid. I'll be glad to share what I did with you and others. I've put a few other ksh scripts like this to monitor the load avg and remote processes by fetching the data I need with snmp. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elvis at webspace4you.ch Tue Sep 9 15:58:32 2003 From: elvis at webspace4you.ch (Elvis Altherr) Date: Tue, 9 Sep 2003 15:58:32 +0200 Subject: Nagios 1.1 and Read Only User Message-ID: Hi all We use Nagios 1.1 to observe our Web Server Farm and have to say, the tool is very great, go ahead Ethan Galstad, you made a product which is probably the best we ever seen! One question about Contacts: is there a possibility to define a contact, which can only view the status of a host? -> we need this to avoid customer changes to there servers, which we supervise! thanks in adavance for your trouble best regards E.Altherr ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gary.Blydenburgh at ftid.com Tue Sep 9 16:01:30 2003 From: Gary.Blydenburgh at ftid.com (Gary.Blydenburgh at ftid.com) Date: Tue, 9 Sep 2003 10:01:30 -0400 Subject: NSClient Message-ID: I am using Netsaint v0.0.7 monitoring NW5 SP6a servers. Is anybody out there have problems with "Socket Timeout After 10 Seconds" error messages? -------------- next part -------------- An HTML attachment was scrubbed... URL: From David at feedroom.com Tue Sep 9 16:01:38 2003 From: David at feedroom.com (David Gitman) Date: Tue, 9 Sep 2003 10:01:38 -0400 Subject: Error in hosts.cfg with check_command host-alive Message-ID: Read the Nagios documentation. http://nagios.sourceforge.net/docs/1_0/xodtemplate.html#command Anyway it's the check commands file, /pathtonagios/etc/checkcommands.cfg [-d] -----Original Message----- From: wim.degeeter at bt.com [mailto:wim.degeeter at bt.com] Sent: Tuesday, September 09, 2003 1:01 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Error in hosts.cfg with check_command host-alive Hi, In the hosts.cfg file you can use the check_command host-alive . I get the error: Host Check command 'host-alive' specified for host *** is not defined anywhere. Were can is specify this command? Many thanks, Wim -------------- next part -------------- An HTML attachment was scrubbed... URL: From creator at mindcreations.com Tue Sep 9 16:21:56 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Tue, 09 Sep 2003 16:21:56 +0200 Subject: Little proposal Message-ID: <3F5DE204.4080206@mindcreations.com> Hello everybody, I've realized a simple patch that has made my life with Nagios easier when trying to locate a host in the statusmap. The attached screenshots will make clear what I've done: shot1 : The red circle shows the new command (Host information page) shot2: After clicking the icon you'll be forwarded on the statusmap using "Depth Layers" method. shot3: Another point (Status Overview for example) from where you can use this function. This feature has been implemented by using the same code present in the Network Outages CGI... I thought it was good to have it for every host and not only for outages. This patch is more useful when you have many hosts (currently 600). I've read that on v2.0 there is a search function to locate hosts but I think this is different. Here we have many people using Nagios in the same environment and thus locating a host in a network is an important task: it must be easy and fast. I'll wait for comments before posting the patch to make it better than now reflecting the majority needs and not only my owns. Bye all -- Stefano Coletta http://www.mindcreations.com -------------- next part -------------- A non-text attachment was scrubbed... Name: shot3.jpg Type: image/jpeg Size: 11005 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot2.jpg Type: image/jpeg Size: 10024 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot1.jpg Type: image/jpeg Size: 70468 bytes Desc: not available URL: From GWCOOK at mactec.com Tue Sep 9 17:21:37 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 9 Sep 2003 09:21:37 -0600 Subject: Little proposal Message-ID: Very nice. How hard is it to forward to the statusmap WITHOUT using the depth layers method? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Stefano Coletta [mailto:creator at mindcreations.com] > Sent: Tuesday, September 09, 2003 8:22 AM > To: nagios-users at lists.sourceforge.net; > nagios-devel at lists.sourceforge.net > Subject: [Nagios-devel] Little proposal > > > Hello everybody, > > I've realized a simple patch that has made my life with Nagios easier > when trying to locate a host in the statusmap. > The attached screenshots will make clear what I've done: > > shot1 : The red circle shows the new command (Host information page) > shot2: After clicking the icon you'll be forwarded on the statusmap > using "Depth Layers" method. > shot3: Another point (Status Overview for example) from where you can > use this function. > > This feature has been implemented by using the same code > present in the > Network Outages CGI... > I thought it was good to have it for every host and not only > for outages. > > This patch is more useful when you have many hosts (currently > 600). I've read that on v2.0 there is a search function to > locate hosts but I > think this is different. > Here we have many people using Nagios in the same environment > and thus > locating a host in a network is an important task: it must be > easy and fast. > > I'll wait for comments before posting the patch to make it > better than > now reflecting the majority needs and not only my owns. > > Bye all > > -- > Stefano Coletta > http://www.mindcreations.com > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From damian at sentex.net Tue Sep 9 16:46:56 2003 From: damian at sentex.net (Damian Gerow) Date: Tue, 9 Sep 2003 10:46:56 -0400 Subject: snmp_disk help In-Reply-To: References: <20030908220828.GT769@sentex.net> Message-ID: <20030909144656.GE769@sentex.net> Thus spake Joe Morris (morris at unc.edu) [09/09/03 00:33]: > I cobbled together a simple ksh script (meets most of the plugin > standards) that uses snmpdf from the net-snmp package. It fetches all > filesystem info via snmpdf and then looks up all of the parameters for the > the filesystems I want to monitor for that host. It simply gives the all > clear they all passed or warning/critical threshold information for that > filesystem(s). This means I have one service defined for each host that > checks all of the filesystems I'm interested in and I can update the > configuration file on the fly. If you don't have the snmpdf tool, I'm > sure there's an wasy way to get what you want with snmpwalk and the right > oid. Sounds pretty much what I'm looking for. > I'll be glad to share what I did with you and others. I've put a few > other ksh scripts like this to monitor the load avg and remote processes > by fetching the data I need with snmp. Please do! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Tue Sep 9 16:47:22 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 9 Sep 2003 10:47:22 -0400 Subject: Question about nagios logs in /usr/local/nagios/var/archives Message-ID: <012401c376e1$46ac4500$2605020a@M24495.findquick.com> Hi, I?m put the nagios logs files into the /usr/local/nagios/var/archives when the rotation files occure, and the name of this files are something like that: nagios-09-03-2003-00.log nagios-09-03-2003-23.log I know that the format is nagios-mm-dd-yy-XX, but I don?t know what is the mine of XX, and why most of the time is 00 but sometime is other value. Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From creator at mindcreations.com Tue Sep 9 18:00:42 2003 From: creator at mindcreations.com (Stefano Coletta) Date: Tue, 09 Sep 2003 18:00:42 +0200 Subject: Little proposal In-Reply-To: References: Message-ID: <3F5DF92A.5070907@mindcreations.com> Very simple. But you have to choose *one* method because it is hardcoded, in fact it is a parameter passed to the CGI. Otherwise it has to be added to the nagios configuration file to make it changeable. I've chosen the depth layers method because it is very clear when you have a lot of hosts. The others methods are messy or too complex to look at. Cook, Garry wrote: >Very nice. >How hard is it to forward to the statusmap WITHOUT using the depth >layers method? > >Garry W. Cook, CCNA >Network Infrastructure Manager >MACTEC, Inc. - http://www.mactec.com/ >303.308.6228 (Office) - 720.220.1862 (Mobile) > > > >>-----Original Message----- >>From: Stefano Coletta [mailto:creator at mindcreations.com] >>Sent: Tuesday, September 09, 2003 8:22 AM >>To: nagios-users at lists.sourceforge.net; >>nagios-devel at lists.sourceforge.net >>Subject: [Nagios-devel] Little proposal >> >> >>Hello everybody, >> >>I've realized a simple patch that has made my life with Nagios easier >>when trying to locate a host in the statusmap. >>The attached screenshots will make clear what I've done: >> >>shot1 : The red circle shows the new command (Host information page) >>shot2: After clicking the icon you'll be forwarded on the statusmap >>using "Depth Layers" method. >>shot3: Another point (Status Overview for example) from where you can >>use this function. >> >>This feature has been implemented by using the same code >>present in the >>Network Outages CGI... >>I thought it was good to have it for every host and not only >>for outages. >> >>This patch is more useful when you have many hosts (currently >>600). I've read that on v2.0 there is a search function to >>locate hosts but I >>think this is different. >>Here we have many people using Nagios in the same environment >>and thus >>locating a host in a network is an important task: it must be >>easy and fast. >> >>I'll wait for comments before posting the patch to make it >>better than >>now reflecting the majority needs and not only my owns. >> >>Bye all >> >>-- >>Stefano Coletta >>http://www.mindcreations.com >> >> > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From jcarro10 at sprintspectrum.com Tue Sep 9 18:29:40 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [OTH]) Date: Tue, 9 Sep 2003 11:29:40 -0500 Subject: Performance data & other issues Message-ID: Good question. From an empirical sense, I would agree with you. I don't know what to tell you. Possibly having the service checks each updating the host status could mean a bunch of busy work, both from the perspective of coding as well as extra I/O. Imagine if you will a host with 30 service checks. For each service check, not only would it update the service status, but it would update the host status as well, not just once, but for every service check. Now imagine multiplying that by N hosts. This is pure speculation on my part. I don't really know for sure one way or the other why it was designed one way over the other. jc > -----Original Message----- > From: Sam Stickland [mailto:sam_ml at spacething.org] > Sent: Monday, September 08, 2003 6:02 PM > To: Carroll, Jim P [OTH]; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Performance data & other issues > > > If services on that host have passed their checks, shouldn't > the host state > for this period be 'UP' rather than indeterminate? > > Sam > > ----- Original Message ----- > From: "Carroll, Jim P [OTH]" > To: > Sent: Monday, September 08, 2003 4:16 PM > Subject: RE: [Nagios-users] Performance data & other issues > > > > The host only gets checked if a service on that host fails. > > > > jc > > > > > -----Original Message----- > > > From: Steve Dickey [mailto:scdickey at sentry.corb.net] > > > Sent: Saturday, September 06, 2003 10:01 PM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Performance data & other issues > > > > > > > > > All: > > > > > > I am new to the list and hoping to get some help with a new > > > installation. > > > I have just setup and configured nagios and have a couple > > > dozen hosts that > > > have been monitored for about 48 hours. I have a couple of > > > issues that I am > > > hoping someone can help me with: > > > > > > 1. None of the hosts show any uptime when I go to look at the > > > availability > > > and trend reports. All time is shown as Indeterminate??? > > > What am I missing > > > here? > > > > > > 2. I have been unable to find the check process command that > > > will allow for > > > the nagios interface to correcly check the active process > and also to > > > restart it from the interface. I have been doing a "service > > > nagios restart" > > > after I make changes. > > > > > > 3. This is a Nagat question: I keep getting a Hostgroup of > > > "Array" when I > > > try to edit any of the hosts. This appears to be a bug but > > > it seems that it > > > would be prevalent in LOTS of installations and fixed so I am > > > convinced I > > > have done something wrong but can not figure it out. Anyone > > > have any ideas > > > about this? > > > > > > 4. Any suggestions for way to manage hosts & services other > > > than Nagat? > > > > > > Thanks in advance. > > > > > > scd > > > ----- Original Message ----- > > > From: "Cal Evans" > > > To: > > > Cc: > > > Sent: Saturday, September 06, 2003 6:01 PM > > > Subject: Re: [Nagios-users] check_mailq changes for exim? > > > > > > > > > > Skip Montanaro wrote: > > > > > > > > > >> Before I exercise my feeble Perl skills, does > > > anyone have mods > > > for > > > > > >> the check_mailq plugin which will check exim's > mail queue? > > > > > > > > > > Cal> I actually wrote one, in bash, got completely > > > finished with it > > > and > > > > > Cal> began testing before I remembered that you have > > > to be an root > > > to > > > > > Cal> execute exim -bp? I'm not really keen on making > > > nagios an admin > > > for > > > > > Cal> my mail server so I'm currently in 'thinking' > > > mode on this one. > > > > > > > > > > Cal> I'm open to suggestions though. > > > > > > > > > > I did a little reading of the exim spec.txt file today > > > and saw that > > > there's > > > > > an option (queue_list_requires_admin) which, when set > > > false, allows mere > > > > > mortals to list the mail queue. I'm not an exim user, > > > just trying to > > > > > monitor a system that runs it, so take this suggestion > > > with a grain of > > > > > salt. I doubt there'd be a huge security hole opened up > > > as a result, > > > but > > > > > the restriction is probably there for a reason. > > > > > > > > > > Skip > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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, this did the trick. Now my check_exim_queue.sh works > > > like a charm. > > > > I'm still a little wary of the security ramifications of > > > this but for > > > > now it seems to be ok. > > > > > > > > Thanks for the heads up. > > > > > > > > =C= > > > > > > > > -- > > > > * Cal Evans > > > > * http://www.eicc.com > > > > * We take care of your IT, > > > > * So you can take care of your business. > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Snyder at worldgaming.com Tue Sep 9 18:44:13 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Tue, 9 Sep 2003 12:44:13 -0400 Subject: Solution: nrpe compile problem solaris 2.6 Message-ID: <44DEF9C222BF4A47B3A361765EC17337175FB2@anakin.worldgaming.local> > -----Original Message----- > > Having problems compiling and running make all. > nrpe 2.0b5 > openssl 0.9.7b > solaris 2.6 > Can anyone shed some light on this problem? > > make all > cd ./src/; make ; cd .. > make[1]: Entering directory `/usr/local/nrpe-2.0b5/src' > gcc -g -O2 -I/usr/local/ssl/include -I/usr/local/ssl/include/openssl -DHAVE_CONFIG_H -L/usr/local/ssl/lib -lssl -lcrypto -o nrpe -lnsl -lsocket nrpe.c utils.c > nrpe.c: In function `wait_for_connections': > nrpe.c:520: `socklen_t' undeclared (first use in this function) > nrpe.c:520: (Each undeclared identifier is reported only once > nrpe.c:520: for each function it appears in.) > nrpe.c:520: parse error before `addrlen' > nrpe.c:619: `addrlen' undeclared (first use in this function) > make[1]: *** [nrpe] Error 1 > make[1]: Leaving directory `/usr/local/nrpe-2.0b5/src' > > *** Compile finished *** > > -------------------------- To solve this problem I added the following line to config.h after running ./configuration #define socklen_t size_t Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anand at sslusa.com Tue Sep 9 19:10:59 2003 From: anand at sslusa.com (Deveriya, Anand) Date: Tue, 9 Sep 2003 10:10:59 -0700 Subject: email notifications are not working Message-ID: <3493915BAC97D31188B300508B6F9E450294B0A7@summer2.summervilleseniorliving.com> Friends, Successfully installed Nagios on RH9 to monitor the server farm and wan link. SCANEARIO -The server farm has private IP address (192.168.1.X/24) -MSexchange(5.5) as the only mail server (192.168.1.10) -all internal email clients connect the 192.168.1.10 address PROBLEM -Nagios is not sending email notifications through the internal exchange server.But notifications are successfully sent to the outside world(whatever at yahoo.com) - Already tried adding "192.168.1.10 mail.website.com" to the /etc/hosts Nagios is able to resolve mail.website.com with its internal IP of 192.168.1.10 and not the 12.34.45.XX address This is the topology [outside world] | [firewall] |-[MS-Exchange] |-[nagios box] |-[otherservers] Any ideas ? Thanks anand ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jcarro10 at sprintspectrum.com Tue Sep 9 18:56:22 2003 From: jcarro10 at sprintspectrum.com (Carroll, Jim P [OTH]) Date: Tue, 9 Sep 2003 11:56:22 -0500 Subject: Nagios 1.1 and read only User Message-ID: Yes. http://nagios.sourceforge.net/docs/1_0/cgiauth.html jc > -----Original Message----- > From: Elvis Altherr [mailto:elvis at webspace4you.ch] > Sent: Tuesday, September 09, 2003 7:24 AM > To: Nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios 1.1 and read only User > > > Hi all > > One thing bevor: > > We use Nagios 1.1 to observe our Web Server Farm and have to say, that > the tool is very great > > > Question (to the developer of Nagios 1.1) > > is it possible to implement a read only User, which can view his own > host configuration and can't change anything > or not (we need this for our customers) > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eric at eb.homelinux.org Tue Sep 9 20:32:24 2003 From: eric at eb.homelinux.org (Eric Bollengier) Date: Tue, 9 Sep 2003 20:32:24 +0200 (CEST) Subject: In-Reply-To: References: Message-ID: <43835.82.64.254.14.1063132344.squirrel@195.25.81.249> > Nagios-users -- confirmation of subscription -- request 613988 > > We have received a request from 82.64.254.14 for subscription of your > email address, , to the > nagios-users at lists.sourceforge.net mailing list. To confirm the > request, please send a message to > nagios-users-request at lists.sourceforge.net, and either: > > - maintain the subject line as is (the reply's additional "Re:" is > ok), > > - or include the following line - and only the following line - in the > message body: > confirm 613988 > > (Simply sending a 'reply' to this message should work from most email > interfaces, since that usually leaves the subject line in the right > form.) > > If you do not wish to subscribe to this list, please simply disregard > this message. Send questions to > nagios-users-admin at lists.sourceforge.net. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Tue Sep 9 20:48:41 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Tue, 9 Sep 2003 11:48:41 -0700 Subject: gd2 images not showing up Message-ID: I recently rebuilt nagios on a dedicated box. I tar'd up my logos and untar'd them on the new box. Chown'd and chgrp'd them for nagios. Some of the images in the statusmap (I think the statusmap images are the gd2 ones?!?) work but most are ? I have tried to pngtogd2 the png files but no success. Any ideas? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From pedro.rebelo at tagus.ist.utl.pt Tue Sep 9 19:24:05 2003 From: pedro.rebelo at tagus.ist.utl.pt (Pedro Rebelo) Date: Tue, 9 Sep 2003 19:24:05 WEST Subject: Status Information Output Message-ID: Is it possible for nagios to display multi-lined status information ? I tested a plugin like: #!/bin/bash echo -e "HELLO\nWORLD\nOF\nNAGIOS" exit 0; However, the Status information displays only the first line: -> Status Information: HELLO Is there a way (maybe altering status.c source-code) to make the desired output possible? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From cristian at alestraidc.net.mx Tue Sep 9 21:34:24 2003 From: cristian at alestraidc.net.mx (Cristian Trujillo G.) Date: Tue, 9 Sep 2003 14:34:24 -0500 Subject: check_mem ?? In-Reply-To: References: Message-ID: Hi, How can i check mem in Linux and solaris, whit treshold for example: check_mem -H host-linx -w 80% -c 90% how..?? exist plugin? thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: From hesdn at interbusiness.it Tue Sep 9 20:12:09 2003 From: hesdn at interbusiness.it (Gerd Meier) Date: Tue, 09 Sep 2003 11:12:09 -0700 Subject: Livecam Botschaft für Nagiosusers Message-ID: An HTML attachment was scrubbed... URL: From JBilder at netrixllc.com Tue Sep 9 21:42:38 2003 From: JBilder at netrixllc.com (Jeff Bilder) Date: Tue, 09 Sep 2003 14:42:38 -0500 Subject: Mandrake 9.1 Problem Message-ID: Hello group, I installed a Mandrake 9.1 system today and tried installing nagios. It installed successfully, but there is a problem when I try to run the executable file "nagios". I receive the error "Segmentation Fault". Any ideas? I tried recompiling/installing nagios 1.0 with the same results. Help Please! Thanks! - Jeff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Tue Sep 9 21:41:26 2003 From: jason at teklabs.net (Jason Lancaster) Date: Tue, 09 Sep 2003 15:41:26 -0400 Subject: Status Information Output In-Reply-To: References: Message-ID: <3F5E2CE6.5060100@teklabs.net> Not unless you want to take on a project that would be almost impossible. I don't see any reason this type of functionality would need to be implemented. The single line with a carriage return allows us to maintain a consistent delimiter through Nagios. If there is a reason you need something like this, you might try describing in a bit more detail what your needs are. I'm sure we could come up with something :) Good luck, Jason Pedro Rebelo wrote: > Is it possible for nagios to display multi-lined status information ? > I tested a plugin like: > > #!/bin/bash > > echo -e "HELLO\nWORLD\nOF\nNAGIOS" > exit 0; > > However, the Status information displays only the first line: > > -> Status Information: HELLO > > Is there a way (maybe altering status.c source-code) to make the desired output possible? > > Thanks. > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Tue Sep 9 21:45:13 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 9 Sep 2003 15:45:13 -0400 Subject: Question about nagios logs in /usr/local/nagios/var/archives Message-ID: <021d01c3770a$e2c7f780$2605020a@M24495.findquick.com> Hi, I?m put the nagios logs files into the /usr/local/nagios/var/archives when the rotation files occure, and the name of this files are something like that: nagios-09-03-2003-00.log nagios-09-03-2003-23.log I know that the format is nagios-mm-dd-yy-XX, but I don?t know what is the mine of XX, and why most of the time is 00 but sometime is other value. Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Sep 9 21:55:53 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 9 Sep 2003 14:55:53 -0500 Subject: Status Information Output Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ED17@mismail.ena.com> It goes against the design guides but you'd want to substitute '
' for \n. That should do it for you. -- Marc > -----Original Message----- > From: Pedro Rebelo [mailto:pedro.rebelo at tagus.ist.utl.pt] > Sent: Tuesday, September 09, 2003 2:24 PM > To: nagios-users at lists.sourceforge.net > > Is it possible for nagios to display multi-lined status information ? > I tested a plugin like: > > #!/bin/bash > > echo -e "HELLO\nWORLD\nOF\nNAGIOS" > exit 0; > > However, the Status information displays only the first line: > > -> Status Information: HELLO > > Is there a way (maybe altering status.c source-code) to make the desired > output possible? > > Thanks. > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From phasenjager at fzacpa.com Tue Sep 9 20:19:16 2003 From: phasenjager at fzacpa.com (Patrick Hasenjager) Date: Tue, 09 Sep 2003 13:19:16 -0500 Subject: email notifications are not working Message-ID: Do you have an MX record setup in your internal DNS for your mail server. If not, it won't know what mail server to use. Pat. >>> "Deveriya, Anand" 09/09/03 12:10:59 PM >>> Friends, Successfully installed Nagios on RH9 to monitor the server farm and wan link. SCANEARIO -The server farm has private IP address (192.168.1.X/24) -MSexchange(5.5) as the only mail server (192.168.1.10) -all internal email clients connect the 192.168.1.10 address PROBLEM -Nagios is not sending email notifications through the internal exchange server.But notifications are successfully sent to the outside world(whatever at yahoo.com) - Already tried adding "192.168.1.10 mail.website.com" to the /etc/hosts Nagios is able to resolve mail.website.com with its internal IP of 192.168.1.10 and not the 12.34.45.XX address This is the topology [outside world] | [firewall] |-[MS-Exchange] |-[nagios box] |-[otherservers] Any ideas ? Thanks anand ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 any attachments are intended only for the addressee. If you are not the addressee you should not disseminate, distribute or copy this e-mail or attachments. Please immediately notify the sender if you have received this e-mail by mistake and delete it from your system. E-mail transmission cannot be guaranteed secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender does not accept liability for errors or omissions in the contents of this message which arise or occur during transmission. We will provide a "hard-copy" version of the message and attachments upon request. This messages and/or attachments have been tested for viruses by Guinevere and Symantec AntiVirus. Although reasonable precautions are taken to assure this e-mail is virusfree, we do not accept responsibility for the loss or damage arising from the use of this e-mail or attachments. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 9 22:33:31 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 09 Sep 2003 15:33:31 -0500 Subject: Mandrake 9.1 Problem In-Reply-To: References: Message-ID: <1063139611.728.89.camel@localhost> On Tue, 2003-09-09 at 14:42, Jeff Bilder wrote: > I installed a Mandrake 9.1 system today and tried installing nagios. It installed successfully, but there is a problem when I try to run the executable file "nagios". I receive the error "Segmentation Fault". Any ideas? I tried recompiling/installing nagios 1.0 with the same results. Help Please! Thanks! The place I always start with a fussy app is running 'ldd /path/to/nagios' to see if it's freaking out about a library. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Tue Sep 9 22:48:34 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 10 Sep 2003 06:48:34 +1000 Subject: Little proposal In-Reply-To: <3F5DE204.4080206@mindcreations.com> References: <3F5DE204.4080206@mindcreations.com> Message-ID: <5.2.0.9.2.20030910064738.0208d8b8@imap.qut.edu.au> Stefano, I like it! This patch would make it a lot easier for end-users to locate a host in the status map. Greg At 12:21 AM 10/09/2003, Stefano Coletta wrote: >Hello everybody, > >I've realized a simple patch that has made my life with Nagios easier when >trying to locate a host in the statusmap. >The attached screenshots will make clear what I've done: > >shot1 : The red circle shows the new command (Host information page) >shot2: After clicking the icon you'll be forwarded on the statusmap using >"Depth Layers" method. >shot3: Another point (Status Overview for example) from where you can use >this function. > >This feature has been implemented by using the same code present in the >Network Outages CGI... >I thought it was good to have it for every host and not only for outages. > >This patch is more useful when you have many hosts (currently 600). >I've read that on v2.0 there is a search function to locate hosts but I >think this is different. >Here we have many people using Nagios in the same environment and thus >locating a host in a network is an important task: it must be easy and fast. > >I'll wait for comments before posting the patch to make it better than now >reflecting the majority needs and not only my owns. > >Bye all > >-- >Stefano Coletta >http://www.mindcreations.com > > > ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Tue Sep 9 22:55:59 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 10 Sep 2003 06:55:59 +1000 Subject: Nagios 1.1 and read only User In-Reply-To: References: Message-ID: <5.2.0.9.2.20030910065004.029bbea0@imap.qut.edu.au> Jim, Firstly thanks for all your replies in the past and present, I haven't been able to post to the list for a while due to issues wrt QUT mail system <-> Sourceforge mail system, but I have been able to receive nagios-users emails and I have seen you post regularly :) This question asked by Elvis is something I have been trying to implement and I have read completely the page you pointed out, previous to this email and since. Is there something I am missing (obviously there is! :D) because I can't see how I can configure a user to be an authenticated contact of a service/host, and not allow them to send service/host commands to Nagios! Your wisdom in this matter would be much appreciated *G* Thanks, Greg At 02:56 AM 10/09/2003, Carroll, Jim P [OTH] wrote: >Yes. > >http://nagios.sourceforge.net/docs/1_0/cgiauth.html > >jc > > > -----Original Message----- > > From: Elvis Altherr [mailto:elvis at webspace4you.ch] > > Sent: Tuesday, September 09, 2003 7:24 AM > > To: Nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Nagios 1.1 and read only User > > > > > > Hi all > > > > One thing bevor: > > > > We use Nagios 1.1 to observe our Web Server Farm and have to say, that > > the tool is very great > > > > > > Question (to the developer of Nagios 1.1) > > > > is it possible to implement a read only User, which can view his own > > host configuration and can't change anything > > or not (we need this for our customers) > > > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From eric-nagios at eb.homelinux.org Tue Sep 9 21:01:35 2003 From: eric-nagios at eb.homelinux.org (Eric Bollengier) Date: Tue, 9 Sep 2003 21:01:35 +0200 Subject: NSClient - ERROR Malformed request or internal error??? Message-ID: <200309092101.36008.eric-nagios@eb.homelinux.org> Hi, Are you using some ugly "shit" like window 2000 "anglais internationnalis? francais" ? You can have counters translation problem. Nsclient detect [0x040c] (see event log) but windows use [0x0409] You can try to copy/past [0x0409] section to [0x040c] (in counters.def) W2K_SystemTotalProcessorTime = "\Processor(_total)\% Processor Time" W2K_SystemSystemUpTime = "\System\System Up Time" W2K_MemoryCommitLimit = "\Memory\Commit Limit" W2K_MemoryCommitByte = "\Memory\Committed Bytes" It works for me a+ >I have a really strange "error" with the NSClient when checking the >CPULOAD. >NSClient - ERROR:Malformed request or internal error. Check >EventLog:None&2&10 >but he have the same definition of all the other host (about 150) >and when I test the CPULOAD with the command line the host return > a good answer and not : UNKNOWN...... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From EXCHANGE-SA at nrtc.org Wed Sep 10 01:30:17 2003 From: EXCHANGE-SA at nrtc.org (System Attendant) Date: Tue, 9 Sep 2003 19:30:17 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: <9366A6ACB518D511B54B0008C78609E0077E981F@exchange.servers.nrtc.coop> **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: eric-nagios at eb.homelinux.org Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Profanity Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2003-09-09\19-30-16.8916 Content filter has detected an e-mail that contains profanity ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JBilder at netrixllc.com Wed Sep 10 00:04:55 2003 From: JBilder at netrixllc.com (Jeff Bilder) Date: Tue, 09 Sep 2003 17:04:55 -0500 Subject: Mandrake 9.1 Problem Message-ID: [root at localhost lib]# ldd /usr/local/nagios/bin/nagios libperl.so => /usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE/libperl.so (0x40014000) libnsl.so.1 => /lib/libnsl.so.1 (0x4012d000) libdl.so.2 => /lib/libdl.so.2 (0x40141000) libm.so.6 => /lib/i686/libm.so.6 (0x40144000) libpthread.so.0 => /lib/i686/libpthread.so.0 (0x40167000) libc.so.6 => /lib/i686/libc.so.6 (0x401b7000) libcrypt.so.1 => /lib/libcrypt.so.1 (0x402ea000) libutil.so.1 => /lib/libutil.so.1 (0x40317000) /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000) Does there look to be a problem? Thanks! - Jeff >>> jeff vier 09/09/03 03:33PM >>> On Tue, 2003-09-09 at 14:42, Jeff Bilder wrote: > I installed a Mandrake 9.1 system today and tried installing nagios. It installed successfully, but there is a problem when I try to run the executable file "nagios". I receive the error "Segmentation Fault". Any ideas? I tried recompiling/installing nagios 1.0 with the same results. Help Please! Thanks! The place I always start with a fussy app is running 'ldd /path/to/nagios' to see if it's freaking out about a library. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From scdickey at sentry.corb.net Wed Sep 10 04:04:29 2003 From: scdickey at sentry.corb.net (Steve Dickey) Date: Tue, 9 Sep 2003 20:04:29 -0600 Subject: problem with service command Message-ID: <00ba01c3773f$df3bd070$821b130a@galaxy.meetingexperts.com> I have been unable to get Nagios to recognize that I have defined a service check command. This is what the nagios interface shows even though I have this (/usr/local/nagios/libexec/check_nagios -F /usr/local/nagios/var/status.log -e 5 -C nagios) in CGI.CFG for the process_check_command. Process Status: OK Check Command Output: No process check command has been defined in your CGI configuration file. Nagios process is assumed to be running properly. Any insight would be appreciated. scd Steve Dickey, President/CEO Corbett Systems 719-520-9962 x1007 http://www.corb.net "Who is John Galt?" NOTICE: This electronic mail transmission may contain confidential information and is intended only for the person(s) named. Any use, copying or disclosure by any other person is strictly prohibited. If you have received this transmission in error, please notify the sender via e-mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lshobbrook at fasttrack.net.au Wed Sep 10 05:24:58 2003 From: lshobbrook at fasttrack.net.au (Lewis Shobbrook) Date: Wed, 10 Sep 2003 13:24:58 +1000 Subject: 1.1 Install problems Message-ID: Hi all, I've recently installed nagios 1.1 on a debian system running the latest unstable release. I'm unable to start the seervice from inet.d Starting network monitor: nagios su: invalid option -- l Usage: su [OPTS] [-] [username [ARGS]] - make this a login shell -c, --command= pass command to the invoked shell using its -c option -m, -p, --preserve-environment do not reset environment variables, and keep the same shell -s, --shell= use shell instead of the default in /etc/passwd PID TTY TIME CMD I've had a look at the init.d script, but can't see how the su is getting passed with an invalid option. The nagios user was created and passwd blanked with passwd -d nagios. I've tried to use the init script from a sucessful 1.0 installation and find the error is the same. Everything was hunky dory during configure,compile and install... Is anyone aware of what might be causing this? Cheers, Lewis Shobbrook ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Wed Sep 10 05:43:40 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Tue, 09 Sep 2003 23:43:40 -0400 Subject: scheduled downtime Message-ID: <6.0.0.22.2.20030909234111.056d29f0@mail.acmecargo.com> I read in the FAQs there is no way to schedule reoccurring downtime within Nagios but to use cron to submit the command instead. Is anybody doing this? Can somebody help me with what the command is I need to submit to cron? Dylan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFrancis at nzaa.co.nz Wed Sep 10 06:23:22 2003 From: DFrancis at nzaa.co.nz (Dave Francis) Date: Wed, 10 Sep 2003 16:23:22 +1200 Subject: GD, PNG, and/or JPEG libraries could not be located Message-ID: Hi I am also having this problem, and have been through every idea on every mailing list everywhere, and still get the same message. GD, PNG, and/or JPEG libraries could not be located! I am using GD 2.0.15 currently, but tried with 1.8.* versions aswell. Ive tried different versions of libjpg, libpng, zlib, and all the devels, and still no joy. One thing i note is that libgd-devel-1.3.4 convlicts with gd-devel-2.0.15. Makes sense, but does that mean you dont need libgd-devel? Anyway, is someone able to list the versions of the libraries they have used successfully? Im running Redhat 9.0, Nagios 1.1 Any help with this would be hugely appreciated. Cheers Dave ____________________________________________________________________________ _____________________________________ Well, I ran the configure with the options mentioned, and it worked. So I then ran make clean and re-ran configure without the '--with-gd-lib' and '--with-gd-inc' options and this compiled just fine as well. So it appears as though I did not need them, but YMMV so it probably wouldn't hurt to use them. I did install new JPEG libs, although I attempted an rpm update on the zlibs and this did not install as it was the same version. I'm not sure what you mean by the last question. If I'm interpreting it correctly, then the answer is no, the gd and zlib files are not in the same directory. Don't be confused. If you haven't already tried what I mentioned earlier (make clean, configure, recompile), then try that now. If it still does not work, scroll up through the configure output until you see the point where it fails. There are notes there outlining the steps to take when encountering such a failure, such as running ldconfig to update the link db. You may need to do this as well. HTH. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Tuesday, July 15, 2003 8:15 AM To: Cook, Garry Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hi Garry, Thanks for the reply. When you re-run the configure, did you use any options such as "-with-gd-lib" and "-with-gd-inc" ? Did you have to install new JPEG libs? I already had installed, so I didn't bother. Also had the zlib, so I didn't get that. Do you need to have zlib in the same dir when you run configure for the GD? Very Confused... Pete -----Original Message----- From: Cook, Garry [mailto:GWCOOK at ma...] Sent: Tuesday, July 15, 2003 9:31 AM To: Heslin, Peter; nagios-users at li... Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located I just ran into this issue yesterday. Once you've downloaded and installed all of the required libraries, be sure to run a 'make clean' to remove leftover files from your previous compile. Then run 'configure' and recompile Nagios. This is what worked for me. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Monday, July 14, 2003 2:16 PM To: 'nagios-users at li...' Subject: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hello, I need help getting the GD libs detected during configure. I downloaded and installed the recommended gd,png libs and still nothing. I tried specifying at the command line with -with-gd-lib etc... and also nothing. I am running SUSE 8.2 and latest Nagios. Can anyone assist with this? Thanks, Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From rob at capband.net Wed Sep 10 13:27:34 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 10 Sep 2003 07:27:34 -0400 Subject: Network Outages permissions Message-ID: <5.2.1.1.0.20030910072652.01bc95a0@mail.capband.net> Hello, How do I give a contact access to the Network Outages page without giving them the all_services or all_hosts permissions? Thanks! Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Wed Sep 10 13:50:39 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 10 Sep 2003 07:50:39 -0400 Subject: Drop down service list In-Reply-To: References: <00ce01c36d6b$f25f3580$0214a8c0@bit.co.za> Message-ID: <5.2.1.1.0.20030910074956.01c83f28@mail.capband.net> At 03:19 PM 8/28/2003 -0700, Tedman Eng wrote: >There's a dynamic version available at: >http://apan.sourceforge.net/ (look in the downloads section) > > >"Grouplist is a small hack that will show all hostgroups in a 'treewiev' in >the left frame in Nagios web-interface." >The small cgi script automatically reflects any new configs added to your >CFG files without additional HTMl editing. To anyone else using this... groupview.cgi does a grep for "^hostgroup_name", which means if you indent your conf files it won't work. Remove the caret on line 23 and it should start working. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JVanas at finncorp.com Wed Sep 10 14:35:25 2003 From: JVanas at finncorp.com (Josh Van As) Date: Wed, 10 Sep 2003 08:35:25 -0400 Subject: Problems with nsclient ...Connection refused by host Message-ID: <834D93DB7AA4004F893BB62597D5774C18D9F1@fcsrv0004.finncorp.com> I am running nsclient 1.07.1 on about 10 different Windows 2000/2003 Servers. On 2 of the servers, after a reboot, the nsclient occasionally stops responding to checks..... I issue the command: ./check_nt -H server.domain -v CPULOAD -l 5,50,80 And the response is: Connection refused by host The service claims to be running on the Windows box. I even try restarting the service to no avail. Does anyone have any idea what might be causing this? TIA! -Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From JVanas at finncorp.com Wed Sep 10 14:39:44 2003 From: JVanas at finncorp.com (Josh Van As) Date: Wed, 10 Sep 2003 08:39:44 -0400 Subject: Checks don't wait the desired 5 minutes before becoming critical and paging Message-ID: <834D93DB7AA4004F893BB62597D5774C18D9F2@fcsrv0004.finncorp.com> Bump...... Has anyone seen this before? Does anyone have any idea how to correct this? Thanks! -----Original Message----- From: Josh Van As Sent: Friday, September 05, 2003 10:43 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Checks don't wait the desired 5 minutes before becoming critical and paging I currently have my hosts / services setup to check every 60 seconds and to retry 5 times. By my understanding, it should take 5 minutes for me to be informed of a failed host. Is that correct? Below is an example of what is happening: I rebooted a host (quake). Nagios does retry 5 times as expected before paging. However, the retry interval ranges from 2 to 10 seconds, not 60. What can I do to force this back to 60 seconds? TIA! -Josh EXAMPLE: [09-05-2003 10:36:06] SERVICE ALERT: quake;homeseer;CRITICAL;HARD;1;Connection refused or timed out [09-05-2003 10:36:06] SERVICE ALERT: quake;smtp;CRITICAL;HARD;1;Connection refused or timed out [09-05-2003 10:36:06] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-email;Connection refused or timed out [09-05-2003 10:36:05] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-epager;Connection refused or timed out [09-05-2003 10:36:05] HOST ALERT: quake;DOWN;HARD;5;Connection refused or timed out [09-05-2003 10:36:02] HOST ALERT: quake;DOWN;SOFT;4;Connection refused or timed out [09-05-2003 10:35:59] HOST ALERT: quake;DOWN;SOFT;3;Connection refused or timed out [09-05-2003 10:35:58] SERVICE ALERT: quake;smtp;CRITICAL;HARD;1;Connection refused or timed out [09-05-2003 10:35:56] HOST ALERT: quake;DOWN;SOFT;2;Connection refused or timed out [09-05-2003 10:35:54] SERVICE ALERT: quake;homeseer;CRITICAL;HARD;1;Socket timeout after 10 seconds [09-05-2003 10:35:53] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-email;Connection refused or timed out [09-05-2003 10:35:53] HOST NOTIFICATION: josh;quake;DOWN;host-notify-by-epager;Connection refused or timed out [09-05-2003 10:35:53] HOST ALERT: quake;DOWN;HARD;5;Connection refused or timed out [09-05-2003 10:35:53] HOST ALERT: quake;DOWN;SOFT;1;Connection refused or timed out [09-05-2003 10:35:50] HOST ALERT: quake;DOWN;SOFT;4;Connection refused or timed out [09-05-2003 10:35:47] HOST ALERT: quake;DOWN;SOFT;3;Connection refused or timed out [09-05-2003 10:35:44] HOST ALERT: quake;DOWN;SOFT;2;Connection refused or timed out [09-05-2003 10:35:41] HOST ALERT: quake;DOWN;SOFT;1;Connection refused or timed out [09-05-2003 10:34:51] SERVICE ALERT: quake;homeseer;CRITICAL;SOFT;1;Connection refused by host [09-05-2003 10:34:28] SERVICE ALERT: quake;homeseer;CRITICAL;SOFT;1;Connection refused by host -------------- next part -------------- An HTML attachment was scrubbed... URL: From JVanas at finncorp.com Wed Sep 10 14:43:08 2003 From: JVanas at finncorp.com (Josh Van As) Date: Wed, 10 Sep 2003 08:43:08 -0400 Subject: Is there a way to delay UP;HARD checks? Message-ID: <834D93DB7AA4004F893BB62597D5774C18D9F4@fcsrv0004.finncorp.com> In a different service monitoring solution I used there was a feature that allowed me to delay the UP Notifications until x number of retries were successful. It appears that Nagios notifies after the first successful host /service retry. Is there a way to delay the notification until after 5 sequential retries? Thanks for the help, Josh -------------- next part -------------- An HTML attachment was scrubbed... URL: From mav at juniper.net Wed Sep 10 14:58:33 2003 From: mav at juniper.net (Ian Davidson) Date: Wed, 10 Sep 2003 13:58:33 +0100 Subject: Urgent: nagios + apan memory chewing up Message-ID: What was the final conclusion to all of this? I've just hit the same problem of swap-space being chewed up to the point of distraction but cannot pinpoint from this thread what the exact -fix- is. Is it really the perl stuff that's causing it to barf? Cheers, Ian ________________________________ From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of ali Sent: 16 August 2003 08:30 To: chet at rcn.com; alikhalidi at excite.com; nagios-users at lists.sourceforge.net Cc: marcioqueiroz at vicom.com.br Thanks for the reply, and I realy appriciate your input. I have my nagios installed from an RPM, version 1.1 I've read somewhere in the posts about this recommendation (compile without embedded per and perl cache), but after I've checed the RPM spec built file, it seems that the person who built the RPM has disabled these two options for RedHat 8 and 9. so I am running a version with these two options off (any other suggestions), but I might have mis-read the sepc file!. So you're telling me that nagios (v 1.1) has this core problem, even without Embeded Perl and Perl Cache, or is it this factor that you eleminated to get around the problem, please clearify the issue pertaining to the nagios plugings (especially check_snmp)? Has the disabling of these two options solved the problem completely in your case (because if so, I can drop ! the RPMS and go for source)? thanks, --- On Thu 08/14, Chet Luther < chet at rcn.com > wrote: From: Chet Luther [mailto: chet at rcn.com] To: alikhalidi at excite.com, nagios-users at lists.sourceforge.net Cc: marcioqueiroz at vicom.com.br Date: Thu, 14 Aug 2003 11:00:13 -0400 Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing up Ali, Recompile Nagios without embedded perl or perl caching support. I had this same problem, and it was due to global namespace pollution in the embedded perl cache. The real solution to this problem would be rewriting all the perl plugins/extensions in a mod_perl safe way, but I don't see any initiative to get that done. Hope this helps, Chet Luther chet at rcn.com ----- Original Message ----- From: ali To: nagios-users at lists.sourceforge.net Sent: Thursday, August 14, 2003 5:40 AM Subject: [Nagios-users] Urgent: nagios + apan memory chewing up ! Greetings, I am experiencing a strange behaiviour for nagios and apan. I'de run nagios for a long time, using the standard plugins (check_host_alive for 50 services), and my system (CPU 1GHz, RAM 512, swap 512) was very stable. not untill I've installed apan (155 services) that the server starts chewing memory so fast that the system becomes cloged and the only way to regain control for the system is to REBOOT. I've read and practiced a lot with the tunning paramers of nagios, and reached a level where these parameters max_concurrent_checks (for concurrency) service_reaper_freq size of rrd files (to prevent caching of large databse files) added the -m to snmp_get (based on a recommendation of one of the users) to disable the loading of the mib with each call but all with no help. I can't put my hands on the problem.the system starts memory usage in almost a linear fashion, untill the free section of buffers/cache st! arts comming down, and the systems goes to swap till it exhast all system Memory. it is only the difference between the concurrency factor (max_concurrent_checks) that slows down the rate at which memory is lost. its a production system, and I really appriciate help thanks, ________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Wed Sep 10 15:15:45 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Wed, 10 Sep 2003 14:15:45 +0100 Subject: Problems with nsclient ...Connection refused by host In-Reply-To: <834D93DB7AA4004F893BB62597D5774C18D9F1@fcsrv0004.finncorp.com> References: <834D93DB7AA4004F893BB62597D5774C18D9F1@fcsrv0004.finncorp.com> Message-ID: Josh, I have upgraded a lot of my machines to NSClient 1.084 and that helped stability. Matthew "Josh Van As" Sent by: nagios-users-admin at lists.sourceforge.net 10/09/2003 13:35 To cc Subject [Nagios-users] Problems with nsclient ...Connection refused by host I am running nsclient 1.07.1 on about 10 different Windows 2000/2003 Servers. On 2 of the servers, after a reboot, the nsclient occasionally stops responding to checks?.. I issue the command: ./check_nt -H server.domain -v CPULOAD -l 5,50,80 And the response is: Connection refused by host The service claims to be running on the Windows box. I even try restarting the service to no avail. Does anyone have any idea what might be causing this? TIA! -Josh _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jbautista at icnet.com.ve Wed Sep 10 15:28:15 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Wed, 10 Sep 2003 09:28:15 -0400 Subject: Question about rotation logs Message-ID: <003801c3779f$63f6a600$2605020a@M24495.findquick.com> Hi, Anybody knows what script use the nagios program to rotate the nagios log file and record this in the /usr/local/nagios/var/archives/ Thanks, Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From jean_mourao at hotmail.com Wed Sep 10 16:08:23 2003 From: jean_mourao at hotmail.com (Jean Carlos Marques Mourao) Date: Wed, 10 Sep 2003 14:08:23 +0000 Subject: the syslog-ng integration tool for nagios Message-ID: An HTML attachment was scrubbed... URL: From JVanas at finncorp.com Wed Sep 10 16:17:11 2003 From: JVanas at finncorp.com (Josh Van As) Date: Wed, 10 Sep 2003 10:17:11 -0400 Subject: Problems with nsclient ...Connection refused by host Message-ID: <834D93DB7AA4004F893BB62597D5774C18D9FE@fcsrv0004.finncorp.com> Upgrade to 1.8.4 solved my problems as well... Thanks (everyone) for the help! -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: Wednesday, September 10, 2003 9:16 AM To: Josh Van As Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with nsclient ...Connection refused by host Josh, I have upgraded a lot of my machines to NSClient 1.084 and that helped stability. Matthew "Josh Van As" Sent by: nagios-users-admin at lists.sourceforge.net 10/09/2003 13:35 To cc Subject [Nagios-users] Problems with nsclient ...Connection refused by host I am running nsclient 1.07.1 on about 10 different Windows 2000/2003 Servers. On 2 of the servers, after a reboot, the nsclient occasionally stops responding to checks..... I issue the command: ./check_nt -H server.domain -v CPULOAD -l 5,50,80 And the response is: Connection refused by host The service claims to be running on the Windows box. I even try restarting the service to no avail. Does anyone have any idea what might be causing this? TIA! -Josh _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Wed Sep 10 16:29:17 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 10 Sep 2003 10:29:17 -0400 (EDT) Subject: 1.1 Install problems In-Reply-To: References: Message-ID: On Wed, 10 Sep 2003, Lewis Shobbrook wrote: > Hi all, > I've recently installed nagios 1.1 on a debian system running the > latest unstable release. I'm unable to start the seervice from inet.d > Starting network monitor: nagios > su: invalid option -- l The default init script runs this command just before starting nagios: su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" notice the -l as the first argument? Your su apparently doesn't want or need the -l to specify the login to su to. According to the usage information su is giving you, it seems you'd be okay simply changing that line to: su $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" HTH -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Sep 10 16:50:56 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 10 Sep 2003 10:50:56 -0400 (EDT) Subject: CGI auth: nagios not getting user from Apache Message-ID: I seem to be having a problem with authentication that I can't work out. I've done some searching of the list archives, but can't find any previous emails that depict quite this problem. Apache seems to be authenticating me properly. I'm presented with an HTTP Auth login, and Apache lets me see my nagios files once I've entered my password.. however, nagios doesn't seem to recognize me. At first, the Tactical Monitoring Overview reported me logged in as "?". Once I turned on default_user_name it started reporting me logged in as guest. Whatever I do, I can't seem to get nagios to see the username I actually logged in with ("mattp"). Anyone have any ideas what I'm missing? Here are the relevant config details: Nagios 1.1 Apache/1.3.27 use_authentication=1 default_user_name=guest authorized_for_system_information=* authorized_for_configuration_information=mattp authorized_for_system_commands=mattp authorized_for_all_services=mattp authorized_for_all_hosts=mattp authorized_for_all_service_commands=mattp authorized_for_all_host_commands=mattp .htaccess file (in 'bin' and 'share' directories) ---- AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user ---- There is only the user 'msttp' in htpasswd.users -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dusan.krasa at i.cz Wed Sep 10 16:57:25 2003 From: dusan.krasa at i.cz (Dusan Krasa) Date: Wed, 10 Sep 2003 16:57:25 +0200 Subject: Status Information Output In-Reply-To: References: Message-ID: <20030910145725.GB2210@dukr.i.cz> Read this the article about "Nagios plug-in development" Chapter: Plugin Output for Nagios. >> http://nagiosplug.sourceforge.net/developer-guidelines.html On ?t, 09 z?? 2003, Pedro Rebelo wrote: > Is it possible for nagios to display multi-lined status information ? > I tested a plugin like: > > #!/bin/bash > > echo -e "HELLO\nWORLD\nOF\nNAGIOS" > exit 0; > > However, the Status information displays only the first line: > > -> Status Information: HELLO > > Is there a way (maybe altering status.c source-code) to make the desired output possible? > > Thanks. > > > > > > Dusan Krasa -- ICZ a.s. V Olsinach 2300/75, 100 97 Praha 10, CZ http://www.i.cz ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Wed Sep 10 17:08:57 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Wed, 10 Sep 2003 12:08:57 -0300 Subject: RES: Urgent: nagios + apan memory chewing up Message-ID: I have 200 services using apan and i have the same problem, but it only happens when i increse the number_of_concurrent_checks for more than 30. The problem is that if i limit in 30, my check latency goes for something like 5 minutes. If the solution is to take off apan, i would like to know. Any ideias ? []s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Ian Davidson [SMTP:mav at juniper.net] > Enviada em: quarta-feira, 10 de setembro de 2003 09:59 > Para: alikhalidi at excite.com; chet at rcn.com; > nagios-users at lists.sourceforge.net > Cc: marcioqueiroz at vicom.com.br > Assunto: RE: [Nagios-users] Urgent: nagios + apan memory > chewing up > > What was the final conclusion to all of this? I've just hit the same > problem of swap-space being chewed up to the point of distraction but > cannot pinpoint from this thread what the exact -fix- is. Is it really > the perl stuff that's causing it to barf? > > Cheers, > > Ian > > > > ________________________________ > > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of ali > Sent: 16 August 2003 08:30 > To: chet at rcn.com; alikhalidi at excite.com; > nagios-users at lists.sourceforge.net > Cc: marcioqueiroz at vicom.com.br > > > > Thanks for the reply, and I realy appriciate your input. > I have my nagios installed from an RPM, version 1.1 > I've read somewhere in the posts about this recommendation (compile > without embedded per and perl cache), but after I've checed the RPM spec > built file, it seems that the person who built the RPM has disabled > these two options for RedHat 8 and 9. so I am running a version with > these two options off (any other suggestions), but I might have mis-read > the sepc file!. > > So you're telling me that nagios (v 1.1) has this core problem, even > without Embeded Perl and Perl Cache, or is it this factor that you > eleminated to get around the problem, please clearify the issue > pertaining to the nagios plugings (especially check_snmp)? > Has the disabling of these two options solved the problem completely in > your case (because if so, I can drop ! the RPMS and go for source)? > > thanks, > > > > > > --- On Thu 08/14, Chet Luther < chet at rcn.com > wrote: > > > From: Chet Luther [mailto: chet at rcn.com] > To: alikhalidi at excite.com, nagios-users at lists.sourceforge.net > Cc: marcioqueiroz at vicom.com.br > Date: Thu, 14 Aug 2003 11:00:13 -0400 > Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing > up > > Ali, > Recompile Nagios without embedded perl or perl caching support. > I had > this same problem, and it was due to global namespace pollution > in the > embedded perl cache. The real solution to this problem would be > rewriting > all the perl plugins/extensions in a mod_perl safe way, but I > don't see any > initiative to get that done. > > Hope this helps, > > Chet Luther > chet at rcn.com > > ----- Original Message ----- > From: ali > To: nagios-users at lists.sourceforge.net > Sent: Thursday, August 14, 2003 5:40 AM > Subject: [Nagios-users] Urgent: nagios + apan memory chewing up > > ! Greetings, > > I am experiencing a strange behaiviour for nagios and apan. > I'de run nagios for a long time, using the standard plugins > (check_host_alive for 50 services), and my system > (CPU 1GHz, RAM 512, swap 512) was very stable. > not untill I've installed apan (155 services) that the server > starts chewing > memory so fast that the system becomes cloged and the only way > to regain > control for the system is to REBOOT. > I've read and practiced a lot with the tunning paramers of > nagios, and > reached a level where these parameters > max_concurrent_checks (for concurrency) > service_reaper_freq > size of rrd files (to prevent caching of large databse files) > added the -m to snmp_get (based on a recommendation of one of > the users) to > disable the loading of the mib with each call > > but all with no help. I can't put my hands on the problem.the > system starts > memory usage in almost a linear fashion, untill the free section > of > buffers/cache st! arts comming down, and the systems goes to > swap till it > exhast all system Memory. > it is only the difference between the concurrency factor > (max_concurrent_checks) that slows down the rate at which memory > is lost. > > its a production system, and I really appriciate help > > thanks, > > > > > > > ________________________________ > > Join Excite! - http://www.excite.com > The most personalized portal on the Web! > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Sep 10 20:12:39 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 10 Sep 2003 14:12:39 -0400 (EDT) Subject: CGI auth: nagios not getting user from Apache In-Reply-To: References: Message-ID: On Wed, 10 Sep 2003, Marcio Queiroz wrote: > Matt, > > the only thing i can imagine, is some kind of misspeled or case sensitve > issues. You said that 'msttp' is the only user on htpasswd, and i assume > this was a type mismatch, right ? Ah, yes this was a typo in the email.. the user appears as "mattp" in the htpasswd file. > try create a new user and see if it work?s. sorry i can?t be any more help. Yeah, I've tried that.. didn't seem to help. Thanks though. It looks to me as if nagios isn't picking up the HTTP_USER env variable for some reason. Even if I'd misspelled the user in the htpasswd file nagios should pick that up as the user I've logged in as, and just not give me access to anything. Anyway, thanks for the suggestion... Matt -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From h.januschka at krone.at Wed Sep 10 20:41:32 2003 From: h.januschka at krone.at (Helmut Januschka) Date: Wed, 10 Sep 2003 20:41:32 +0200 Subject: (no subject) Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E0560D9@office1.online.krone.at> anybody knows where to contribute modules? i ve made about 20 or so for my own needs and want to share them with you cu klewan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From NAntone at ESNCC.com Wed Sep 10 20:30:02 2003 From: NAntone at ESNCC.com (Antone, Nick) Date: Wed, 10 Sep 2003 14:30:02 -0400 Subject: CGI auth: nagios not getting user from Apache Message-ID: <82681D63B37B9C4B955AAA4B04B3BF2C0AC4B0@twmail.esncc.com> I'm in the same boat. Problem description is almost EXACTLY the same But with Apache 2.x. Had things running fine on an old Mandrake Box. Loaded new RH9 machines, compiled Nagios and plugins with all defaults, moved the old config files over (with necessary mods) and Nagios itself is chugging away nicely. Just can't use web interface without the problems that Matt lists below. I'm still working on it, and if I find anything I'll share of course. If you fix yours, PLEASE share your findings! Yes, I'm Apache-configuration challenged, so for all I know it's Apache. I lived in the Windows world for so long that it's taking a while to "unlearn" all my bad habits! -Nick Nick Antone, Jr. Senior Network Engineer Engineering Services Network, Inc. nantone at esncc.com -----Original Message----- From: Matt Pounsett [mailto:matt.pounsett at cira.ca] Sent: Wednesday, September 10, 2003 10:51 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CGI auth: nagios not getting user from Apache I seem to be having a problem with authentication that I can't work out. I've done some searching of the list archives, but can't find any previous emails that depict quite this problem. Apache seems to be authenticating me properly. I'm presented with an HTTP Auth login, and Apache lets me see my nagios files once I've entered my password.. however, nagios doesn't seem to recognize me. At first, the Tactical Monitoring Overview reported me logged in as "?". Once I turned on default_user_name it started reporting me logged in as guest. Whatever I do, I can't seem to get nagios to see the username I actually logged in with ("mattp"). Anyone have any ideas what I'm missing? Here are the relevant config details: Nagios 1.1 Apache/1.3.27 use_authentication=1 default_user_name=guest authorized_for_system_information=* authorized_for_configuration_information=mattp authorized_for_system_commands=mattp authorized_for_all_services=mattp authorized_for_all_hosts=mattp authorized_for_all_service_commands=mattp authorized_for_all_host_commands=mattp .htaccess file (in 'bin' and 'share' directories) ---- AuthName "Nagios Access" AuthType Basic AuthUserFile /usr/local/nagios/etc/htpasswd.users require valid-user ---- There is only the user 'msttp' in htpasswd.users -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Sep 10 18:02:58 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 10 Sep 2003 11:02:58 -0500 (CDT) Subject: Is there a way to delay UP;HARD checks? In-Reply-To: <834D93DB7AA4004F893BB62597D5774C18D9F4@fcsrv0004.finncorp.com> References: <834D93DB7AA4004F893BB62597D5774C18D9F4@fcsrv0004.finncorp.com> Message-ID: <10950.64.219.133.155.1063209778.squirrel@xyzzy.homeip.net> > In a different service monitoring solution I used there was a feature > that allowed me to delay the UP Notifications until x number of retries > were successful. > > It appears that Nagios notifies after the first successful host /service > retry. Is there a way to delay the notification until after 5 > sequential retries? > Actually, that's not true. If you have flap detection enabled, it may not notify on the first successful retry, depending on the history. It sounds like your other solution's feature was a sort of "fixed" flap detection that just assumed that everything was flapping. The Nagios flap detection algorithm is much more sophisticated. Take a look at the docs on flap detection. -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Sep 10 18:08:11 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 10 Sep 2003 11:08:11 -0500 (CDT) Subject: Question about rotation logs In-Reply-To: <003801c3779f$63f6a600$2605020a@M24495.findquick.com> References: <003801c3779f$63f6a600$2605020a@M24495.findquick.com> Message-ID: <11541.64.219.133.155.1063210091.squirrel@xyzzy.homeip.net> > Anybody knows what script use the nagios program to rotate the nagios log file and > record this in the /usr/local/nagios/var/archives/ There's no script, it's entirely within the compiled Nagios C code. Are you asking how to make the logs rotate? Just turn it on. http://nagios.sourceforge.net/docs/1_0/configmain.html#log_rotation_method -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Sep 10 18:13:25 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 10 Sep 2003 11:13:25 -0500 (CDT) Subject: CGI auth: nagios not getting user from Apache In-Reply-To: References: Message-ID: <12084.64.219.133.155.1063210405.squirrel@xyzzy.homeip.net> > > .htaccess file (in 'bin' and 'share' directories) Do you have it in the "/usr/local/nagios/sbin" directory as well? -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JVanas at finncorp.com Wed Sep 10 21:36:39 2003 From: JVanas at finncorp.com (Josh Van As) Date: Wed, 10 Sep 2003 15:36:39 -0400 Subject: Is there a way to delay UP;HARD checks? Message-ID: <834D93DB7AA4004F893BB62597D5774C18DA17@fcsrv0004.finncorp.com> I guess I am at a bit of a loss here....I thought flap-detection was meant to handle a situation where tests of a service were slightly unreliable. The problem I am trying to solve is this: I reboot a host, Nagios correctly detects that the host is down. However when the host comes back up (ping) Nagios quickly detects that and changes the state to UP. However, not all of the services that are monitored are up yet (yes, TCP/IP stack is up so ping works, but maybe the DHCP server is still down) so Nagios now starts failing on all of the services. I end up getting notifications for failed services, which really aren't failed, just on their way up. Is this a problem that flap detection can solve? Thanks, Josh -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Wednesday, September 10, 2003 12:03 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is there a way to delay UP;HARD checks? > In a different service monitoring solution I used there was a feature > that allowed me to delay the UP Notifications until x number of retries > were successful. > > It appears that Nagios notifies after the first successful host /service > retry. Is there a way to delay the notification until after 5 > sequential retries? > Actually, that's not true. If you have flap detection enabled, it may not notify on the first successful retry, depending on the history. It sounds like your other solution's feature was a sort of "fixed" flap detection that just assumed that everything was flapping. The Nagios flap detection algorithm is much more sophisticated. Take a look at the docs on flap detection. -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Sep 10 21:23:42 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 10 Sep 2003 14:23:42 -0500 Subject: scheduled downtime In-Reply-To: <6.0.0.22.2.20030909234111.056d29f0@mail.acmecargo.com> References: <6.0.0.22.2.20030909234111.056d29f0@mail.acmecargo.com> Message-ID: <16223.31294.23468.292195@montanaro.dyndns.org> Dylan> I read in the FAQs there is no way to schedule reoccurring Dylan> downtime within Nagios but to use cron to submit the command Dylan> instead. Is anybody doing this? Can somebody help me with what Dylan> the command is I need to submit to cron? Something suggested to me (which I have yet to try) was to define a timeperiod object which doesn't include the scheduled downtime. That probably won't work if your scheduled downtimes are not every week. I don't know if there's a command-line tool which will schedule downtime for you. You should be able to figure out a URL which does the necessary form submission for the host in question using the existing submission form. You can then fetch that URL using wget or other command-line URL fetcher. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Sep 10 22:30:00 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 10 Sep 2003 16:30:00 -0400 (EDT) Subject: CGI auth: nagios not getting user from Apache In-Reply-To: <12084.64.219.133.155.1063210405.squirrel@xyzzy.homeip.net> References: <12084.64.219.133.155.1063210405.squirrel@xyzzy.homeip.net> Message-ID: On Wed, 10 Sep 2003, Mike McClure wrote: > > > > > .htaccess file (in 'bin' and 'share' directories) > > Do you have it in the "/usr/local/nagios/sbin" directory as well? I did not.. and it turns out that was my problem. Thanks! I knew it had to be something simple like that, otherwise there would be a lot more people having the same issue. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Wed Sep 10 22:17:36 2003 From: skip at pobox.com (Skip Montanaro) Date: Wed, 10 Sep 2003 15:17:36 -0500 Subject: disabled service checks don't stay disabled In-Reply-To: References: <16203.47676.611477.286768@montanaro.dyndns.org> Message-ID: <16223.34528.179277.433944@montanaro.dyndns.org> Tedman> Make sure you've got state retention turned on: Tedman> http://nagios.sourceforge.net/docs/1_0/configmain.html#retain_state_information Tedman> http://nagios.sourceforge.net/docs/1_0/configmain.html#use_retained_program_state Thanks for the pointer. I had set retain_state_information but was missing use_retained_program_state=1 -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Wed Sep 10 23:32:35 2003 From: rob at capband.net (Rob Nelson) Date: Wed, 10 Sep 2003 17:32:35 -0400 Subject: scheduled downtime In-Reply-To: <16223.31294.23468.292195@montanaro.dyndns.org> References: <6.0.0.22.2.20030909234111.056d29f0@mail.acmecargo.com> <6.0.0.22.2.20030909234111.056d29f0@mail.acmecargo.com> <16223.31294.23468.292195@montanaro.dyndns.org> Message-ID: <5.2.1.1.0.20030910173140.00b93818@mail.capband.net> >I read in the FAQs there is no way to schedule reoccurring >downtime within Nagios but to use cron to submit the command >instead. Is anybody doing this? Can somebody help me with what >the command is I need to submit to cron? There is a link on www.nagios.org, under downloads and contribs, to a set of cronjobs for doing this. Never used it, but thought it might help. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DFrancis at nzaa.co.nz Wed Sep 10 23:05:38 2003 From: DFrancis at nzaa.co.nz (Dave Francis) Date: Thu, 11 Sep 2003 09:05:38 +1200 Subject: GD, PNG, and/or JPEG libraries could not b e located Message-ID: Hi Steve Cheers for your reply. Yes i used the --with options with my configure. However, i didnt compile gd, i used rpm's. I tried compiliing, but got stuck in a circle of dependancies. Perhpas i will have to start it all afresh with the source. Has anyone successfuly used the RPM's for this?? Cheers Dave -----Original Message----- From: Steve OBrien [mailto:sobrien at ci.bend.or.us] Sent: Thursday, 11 September 2003 4:28 To: Dave Francis Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] RE: GD, PNG, and/or JPEG libraries could not be located I have it up and running on RH 9, initially with gd 1.8.4-11 but I built gd 2.0.15 from source and installed and then recompiled using gd 2.0.15 beacuse some of my gd2 icons were not showing up. Did you specify gd lib and include paths in your configure? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 Dave Francis Sent by: nagios-users-admin at lists.sourceforge.net 09/09/2003 09:23 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] RE: GD, PNG, and/or JPEG libraries could not be located Hi I am also having this problem, and have been through every idea on every mailing list everywhere, and still get the same message. GD, PNG, and/or JPEG libraries could not be located! I am using GD 2.0.15 currently, but tried with 1.8.* versions aswell. Ive tried different versions of libjpg, libpng, zlib, and all the devels, and still no joy. One thing i note is that libgd-devel-1.3.4 convlicts with gd-devel-2.0.15. Makes sense, but does that mean you dont need libgd-devel? Anyway, is someone able to list the versions of the libraries they have used successfully? Im running Redhat 9.0, Nagios 1.1 Any help with this would be hugely appreciated. Cheers Dave ____________________________________________________________________________ _____________________________________ Well, I ran the configure with the options mentioned, and it worked. So I then ran make clean and re-ran configure without the '--with-gd-lib' and '--with-gd-inc' options and this compiled just fine as well. So it appears as though I did not need them, but YMMV so it probably wouldn't hurt to use them. I did install new JPEG libs, although I attempted an rpm update on the zlibs and this did not install as it was the same version. I'm not sure what you mean by the last question. If I'm interpreting it correctly, then the answer is no, the gd and zlib files are not in the same directory. Don't be confused. If you haven't already tried what I mentioned earlier (make clean, configure, recompile), then try that now. If it still does not work, scroll up through the configure output until you see the point where it fails. There are notes there outlining the steps to take when encountering such a failure, such as running ldconfig to update the link db. You may need to do this as well. HTH. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Tuesday, July 15, 2003 8:15 AM To: Cook, Garry Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hi Garry, Thanks for the reply. When you re-run the configure, did you use any options such as "-with-gd-lib" and "-with-gd-inc" ? Did you have to install new JPEG libs? I already had installed, so I didn't bother. Also had the zlib, so I didn't get that. Do you need to have zlib in the same dir when you run configure for the GD? Very Confused... Pete -----Original Message----- From: Cook, Garry [mailto:GWCOOK at ma...] Sent: Tuesday, July 15, 2003 9:31 AM To: Heslin, Peter; nagios-users at li... Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located I just ran into this issue yesterday. Once you've downloaded and installed all of the required libraries, be sure to run a 'make clean' to remove leftover files from your previous compile. Then run 'configure' and recompile Nagios. This is what worked for me. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Monday, July 14, 2003 2:16 PM To: 'nagios-users at li...' Subject: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hello, I need help getting the GD libs detected during configure. I downloaded and installed the recommended gd,png libs and still nothing. I tried specifying at the command line with -with-gd-lib etc... and also nothing. I am running SUSE 8.2 and latest Nagios. Can anyone assist with this? Thanks, Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From vdidenko at Getcollc.com Wed Sep 10 18:28:24 2003 From: vdidenko at Getcollc.com (Vlad Didenko) Date: Wed, 10 Sep 2003 11:28:24 -0500 Subject: Monitoring number of preccesses with pNSClient Message-ID: We have a bunch of W2K servers which I try to monitor with pNSClient. What I was not able to figure out so far is how to ensure, that not less, than X number of certain processes are running. For example, if I run httpd.exe, I want the service to go Critical is there are less, than 6 copies of httpd.exe running, and go Warning, if less then 10. Am I missing something? Vlad. PS. For the ease of deployment I did package the pNSClient files into an Install Shield installation and tried to contace the plugin authors to see if they are interested to have it for distribution. However, the email bounced. Are you guys out there? Do you want it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Thu Sep 11 00:31:28 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 10 Sep 2003 18:31:28 -0400 (EDT) Subject: GD, PNG, and/or JPEG libraries could not b e located In-Reply-To: References: Message-ID: On Thu, 11 Sep 2003, Dave Francis wrote: > Perhpas i will have to start it all afresh with the source. > Has anyone successfuly used the RPM's for this?? I installed mine much like you did.. source for nagios, RPMs for dependancies. That seems to have worked fine for me. This is on RedHat 7.3 -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Wed Sep 10 18:28:19 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Wed, 10 Sep 2003 09:28:19 -0700 Subject: GD, PNG, and/or JPEG libraries could not be located In-Reply-To: References: Message-ID: I have it up and running on RH 9, initially with gd 1.8.4-11 but I built gd 2.0.15 from source and installed and then recompiled using gd 2.0.15 beacuse some of my gd2 icons were not showing up. Did you specify gd lib and include paths in your configure? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 Dave Francis Sent by: nagios-users-admin at lists.sourceforge.net 09/09/2003 09:23 PM To nagios-users at lists.sourceforge.net cc Subject [Nagios-users] RE: GD, PNG, and/or JPEG libraries could not be located Hi I am also having this problem, and have been through every idea on every mailing list everywhere, and still get the same message. GD, PNG, and/or JPEG libraries could not be located! I am using GD 2.0.15 currently, but tried with 1.8.* versions aswell. Ive tried different versions of libjpg, libpng, zlib, and all the devels, and still no joy. One thing i note is that libgd-devel-1.3.4 convlicts with gd-devel-2.0.15. Makes sense, but does that mean you dont need libgd-devel? Anyway, is someone able to list the versions of the libraries they have used successfully? Im running Redhat 9.0, Nagios 1.1 Any help with this would be hugely appreciated. Cheers Dave _________________________________________________________________________________________________________________ Well, I ran the configure with the options mentioned, and it worked. So I then ran make clean and re-ran configure without the '--with-gd-lib' and '--with-gd-inc' options and this compiled just fine as well. So it appears as though I did not need them, but YMMV so it probably wouldn't hurt to use them. I did install new JPEG libs, although I attempted an rpm update on the zlibs and this did not install as it was the same version. I'm not sure what you mean by the last question. If I'm interpreting it correctly, then the answer is no, the gd and zlib files are not in the same directory. Don't be confused. If you haven't already tried what I mentioned earlier (make clean, configure, recompile), then try that now. If it still does not work, scroll up through the configure output until you see the point where it fails. There are notes there outlining the steps to take when encountering such a failure, such as running ldconfig to update the link db. You may need to do this as well. HTH. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Tuesday, July 15, 2003 8:15 AM To: Cook, Garry Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hi Garry, Thanks for the reply. When you re-run the configure, did you use any options such as "-with-gd-lib" and "-with-gd-inc" ? Did you have to install new JPEG libs? I already had installed, so I didn't bother. Also had the zlib, so I didn't get that. Do you need to have zlib in the same dir when you run configure for the GD? Very Confused... Pete -----Original Message----- From: Cook, Garry [mailto:GWCOOK at ma...] Sent: Tuesday, July 15, 2003 9:31 AM To: Heslin, Peter; nagios-users at li... Subject: RE: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located I just ran into this issue yesterday. Once you've downloaded and installed all of the required libraries, be sure to run a 'make clean' to remove leftover files from your previous compile. Then run 'configure' and recompile Nagios. This is what worked for me. Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 303.881.5157 (Mobile) -----Original Message----- From: Heslin, Peter [mailto:peter.heslin at us.mizuho-sc.com] Sent: Monday, July 14, 2003 2:16 PM To: 'nagios-users at li...' Subject: [Nagios-users] GD, PNG, and/or JPEG libraries could not be located Hello, I need help getting the GD libs detected during configure. I downloaded and installed the recommended gd,png libs and still nothing. I tried specifying at the command line with -with-gd-lib etc... and also nothing. I am running SUSE 8.2 and latest Nagios. Can anyone assist with this? Thanks, Pete -------------- next part -------------- An HTML attachment was scrubbed... URL: From spam at nospam.com Thu Sep 11 01:53:02 2003 From: spam at nospam.com (Sto Rage!) Date: Wed, 10 Sep 2003 16:53:02 -0700 Subject: Is there a way to delay UP;HARD checks? References: <834D93DB7AA4004F893BB62597D5774C18DA17@fcsrv0004.finncorp.com> Message-ID: Define Service Dependency and make ping and other services dependent on the service that starts last. -G "Josh Van As" wrote in message news:834D93DB7AA4004F893BB62597D5774C18DA17 at fcsrv0004.finncorp.com... I guess I am at a bit of a loss here....I thought flap-detection was meant to handle a situation where tests of a service were slightly unreliable. The problem I am trying to solve is this: I reboot a host, Nagios correctly detects that the host is down. However when the host comes back up (ping) Nagios quickly detects that and changes the state to UP. However, not all of the services that are monitored are up yet (yes, TCP/IP stack is up so ping works, but maybe the DHCP server is still down) so Nagios now starts failing on all of the services. I end up getting notifications for failed services, which really aren't failed, just on their way up. Is this a problem that flap detection can solve? Thanks, Josh -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Wednesday, September 10, 2003 12:03 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Is there a way to delay UP;HARD checks? > In a different service monitoring solution I used there was a feature > that allowed me to delay the UP Notifications until x number of retries > were successful. > > It appears that Nagios notifies after the first successful host /service > retry. Is there a way to delay the notification until after 5 > sequential retries? > Actually, that's not true. If you have flap detection enabled, it may not notify on the first successful retry, depending on the history. It sounds like your other solution's feature was a sort of "fixed" flap detection that just assumed that everything was flapping. The Nagios flap detection algorithm is much more sophisticated. Take a look at the docs on flap detection. -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Sep 11 02:24:40 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 10 Sep 2003 20:24:40 -0400 Subject: GD, PNG, and/or JPEG libraries could not b e located In-Reply-To: References: Message-ID: <1063239880.1722.4.camel@miles.debisschop.net> On Wed, 2003-09-10 at 18:31, Matt Pounsett wrote: > On Thu, 11 Sep 2003, Dave Francis wrote: > > > Perhpas i will have to start it all afresh with the source. > > Has anyone successfuly used the RPM's for this?? > > I installed mine much like you did.. source for nagios, RPMs for dependancies. > That seems to have worked fine for me. This is on RedHat 7.3 On RH 7.3 I have always just used the RPM - no problmes. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabe at bdmedia.co.uk Thu Sep 11 11:20:36 2003 From: gabe at bdmedia.co.uk (Gabriel Granger) Date: Thu, 11 Sep 2003 10:20:36 +0100 Subject: help, nagios only half working Message-ID: <33FFFE1C-E439-11D7-B68E-000A95864E06@bdmedia.co.uk> Hi All, I've setup up nagios, using config files from our old monitoring server as my basis for a new monitoring server (this is my first install and setup). I thought I had got most of it right.... but this morning I was looking at the service details page, and noticed that although the Duration times are increasing(which is what I normally look at) the Last Check is set to 08-28-2003 18:19 which is about the time that I finally got rid of all the bugs stopping nagios from starting. I'm very new to nagios, and would really like some help, if any one could help me, I would be very very greatful. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From h.januschka at krone.at Thu Sep 11 11:29:07 2003 From: h.januschka at krone.at (Helmut Januschka) Date: Thu, 11 Sep 2003 11:29:07 +0200 Subject: All Passive services are flapping instantly HELP ME Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E0560DB@office1.online.krone.at> hi ok we have about 100 Passive Check Results in nagios since yesterday the nagios web interface and the "nsc" client Shows all 100 Services (+ Local Checks) as freshness threshold is over the given 180 Seconds after a reload in the web interface all is ok, and after a second third fourth reload the services are again over 180 (but it's just a few seconds between the rloads) seems that nagios has the bad results are anywhere stored in a cache, i deleted the var/status.log but the problem is comming up again and again please anybody knows about those syntoms???? help me out cu klewan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gabe at bdmedia.co.uk Thu Sep 11 11:58:27 2003 From: gabe at bdmedia.co.uk (Gabriel Granger) Date: Thu, 11 Sep 2003 10:58:27 +0100 Subject: Fwd: help, nagios only half working (Problem fixed) Message-ID: <7D7120A5-E43E-11D7-AE82-000A95864E06@bdmedia.co.uk> It turns out that, in /etc/init.d/nagios file it su's to the nagios user and touch's a file... somewhere along the line after compiling nagios i changed the username used with nagios and did not think it would cause any problems... How wrong was I! Begin forwarded message: > From: Gabriel Granger > Date: Thu Sep 11, 2003 10:20:36 Europe/London > To: nagios-users at lists.sourceforge.net > Subject: help, nagios only half working > > Hi All, > > I've setup up nagios, using config files from our old monitoring > server as my basis for a new monitoring server (this is my first > install and setup). I thought I had got most of it right.... but this > morning I was looking at the service details page, and noticed that > although the Duration times are increasing(which is what I normally > look at) the Last Check is set to 08-28-2003 18:19 which is about the > time that I finally got rid of all the bugs stopping nagios from > starting. > > I'm very new to nagios, and would really like some help, if any one > could help me, I would be very very greatful. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From h.januschka at krone.at Thu Sep 11 16:00:52 2003 From: h.januschka at krone.at (Helmut Januschka) Date: Thu, 11 Sep 2003 16:00:52 +0200 Subject: AW: All Passive services are flapping instantly HELP ME Message-ID: <481EAEA6BAED9A4EAF26BA149197AA3E0560DE@office1.online.krone.at> problem fixed there was a zombie nagios process running, wich has saved the bad status btw: Anyone interested on a bandwidth-usage module for nagios? cu -----Urspr?ngliche Nachricht----- Von: Helmut Januschka Gesendet: Donnerstag, 11. September 2003 11:29 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] All Passive services are flapping instantly HELP ME hi ok we have about 100 Passive Check Results in nagios since yesterday the nagios web interface and the "nsc" client Shows all 100 Services (+ Local Checks) as freshness threshold is over the given 180 Seconds after a reload in the web interface all is ok, and after a second third fourth reload the services are again over 180 (but it's just a few seconds between the rloads) seems that nagios has the bad results are anywhere stored in a cache, i deleted the var/status.log but the problem is comming up again and again please anybody knows about those syntoms???? help me out cu klewan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Sep 11 16:37:59 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 11 Sep 2003 09:37:59 -0500 Subject: All Passive services are flapping instantly HELP ME Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ED39@mismail.ena.com> Make sure you don't have multiple instances of nagios running. -- Marc > -----Original Message----- > From: Helmut Januschka [mailto:h.januschka at krone.at] > Sent: Thursday, September 11, 2003 4:29 AM > To: nagios-users at lists.sourceforge.net > > hi > ok we have about 100 Passive Check Results in nagios > since yesterday the nagios web interface and the "nsc" client Shows all > 100 Services (+ Local Checks) as freshness threshold is over the given 180 > Seconds > after a reload in the web interface all is ok, and after a second third > fourth reload the services are again over 180 (but it's just a few seconds > between the rloads) > > seems that nagios has the bad results are anywhere stored in a cache, i > deleted the var/status.log but the problem is comming up again and again > > > please anybody knows about those syntoms???? > help me out > > > cu > klewan > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.shapiro at bti.com Thu Sep 11 16:53:14 2003 From: david.shapiro at bti.com (Shapiro, David) Date: Thu, 11 Sep 2003 10:53:14 -0400 Subject: compilation error for 2.0-very-pre-alpha 08-18-2003 Message-ID: <86EA7FB4BC2FA54EA1E076F5F5298074B3E3F2@exchange_corp.btitele.com> Can anybody let me know what I should update/fix to get this compilation to work? Redhat Linux 2.4.2-2 gdchart0.94c i686-pc-linux-gnu rrdtool-1.1.0 gd-1.8.3 gdbm-1.8.0 gcc 3.0.4 I did a make clean first. Buildt with: /configure \ --with-template-objects \ --with-mysql-lib=/usr/lib/mysql \ --with-mysql-inc=/usr/include/mysql \ --with-mysql-xdata \ --enable-embedded-perl \ --with-perlcache \ --with-ping-command=/usr/local/sbin/fping nagios 2.0-very-pre-alpha 08-18-2003 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Database (MySQL) Comment data: Database (MySQL) Downtime data: Database (MySQL) Peformance data: Default (external commands) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. root at netsaint:/usr/local/nagios #make Please supply a command line argument (i.e. 'make all'). Other targets are: nagios cgis contrib modules clean install install-base install-cgis install-html install-config install-init install-commandmode fullinstall root at netsaint:/usr/local/nagios #make all cd ./base && make make[1]: Entering directory `/usr/local/nagios/base' gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddb.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddb.c ../xdata/xsddb.c: In function `xsddb_save_status_data': ../xdata/xsddb.c:902: `ERORR' undeclared (first use in this function) ../xdata/xsddb.c:902: (Each undeclared identifier is reported only once ../xdata/xsddb.c:902: for each function it appears in.) ../xdata/xsddb.c: In function `xsddb_save_program_status': ../xdata/xsddb.c:941: `last_update' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_save_host_status': ../xdata/xsddb.c:1054: `host_name' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_save_service_status': ../xdata/xsddb.c:1105: `host_name' undeclared (first use in this function) ../xdata/xsddb.c:1107: `description' undeclared (first use in this function) ../xdata/xsddb.c:1113: `temp_host' undeclared (first use in this function) make[1]: *** [xstatusdata-base.o] Error 1 make[1]: Leaving directory `/usr/local/nagios/base' make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.saucier at dolanmedia.com Thu Sep 11 19:09:04 2003 From: jeff.saucier at dolanmedia.com (Jeff Saucier) Date: Thu, 11 Sep 2003 12:09:04 -0500 Subject: Nagios Newbie: error "no lock file found" Message-ID: <006101c37887$6730df00$1802010a@dolanmedia.com> Not sure what I did. No problems initially after installing Nagios. Now, when I start / stop / reload using /usr/local/etc/rc.d/nagios.sh I get message "No lock file found in /var/spool/nagios/nagios.lock". I stop Nagios using /usr/local/etc/rc.d/nagios/nagios.sh stop and still see Nagios process running: nagios 1674 0.0 0.3 2316 1768 ?? Ss 11:57AM 0:00.03 /usr/local/bin/ I kill nagios' process. Thinking the lock file needs to exist, I create one: touch /var/spool/nagios/nagios.lock I start Nagios: /usr/local/etc/rc.d/Nagios.sh start and get the following: Starting network monitor: nagios ps: option requires an argument -- p usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user] [-M core] [-N system] ps [-L] I see the Nagios process and can view the web pages fine. I read nagios.lock is the location Nagios stores the process id. Not sure how that impacts Nagios. Any ideas? Thanks. Jeff Saucier Technical Infrastructure Analyst Dolan Media Company 612.317.9428 -------------- next part -------------- An HTML attachment was scrubbed... URL: From sobrien at ci.bend.or.us Thu Sep 11 19:09:24 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 11 Sep 2003 10:09:24 -0700 Subject: compilation error for 2.0-very-pre-alpha 08-18-2003 In-Reply-To: <86EA7FB4BC2FA54EA1E076F5F5298074B3E3F2@exchange_corp.btitele.com> References: <86EA7FB4BC2FA54EA1E076F5F5298074B3E3F2@exchange_corp.btitele.com> Message-ID: Looks like the same issue as I had with 1.1 and mysql. Whoops, no this is the solution that worked for me not the last.... Sorry. Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 tnelson at starpoint.com 08/21/2003 11:42 AM To Steve OBrien cc Subject Re: [Nagios-users] Errors making Nagios with mysql I got those same errors.. it has to do w/ the way the makefile is written (at least on slackware 9.0).. find the link lines in the make files.. and add -lmysqlclient -lz jusr before -o .. example.. from my base/Makefile nagios: nagios.c $(OBJS) nagios.h $(SRC_COMMON)/locations.h $(CC) $(CFLAGS) $(LDFLAGS) nagios.c $(OBJS) $(PERLLIBS) $(MATHLIBS) -lmysqlclient -lz -o $@ It seems that the version of ld we have doesn't hang on to the symbols unless the libs are at the end.. Tony Nelson Director of IT Operations Starpoint Solutions 115 Broadway, 2nd Fl. New York, NY 10006 Steve OBrien Sent by: nagios-users-admin at lists.sourceforge.net 08/21/2003 10:40 AM To: cc: Subject: [Nagios-users] Errors making Nagios with mysql I am getting errors when I make all after configuring Nagios with mysql support. I have seen references to these errors on google and the fix was to put LDFLAGS= -L/usr/lib/mysql -lmysqlclient in your Makefile, well mine already had it in there. Anyone else had this problem, I already know that DB support is questionable for the future but to me it makes no sense to log this data to flat files. [root at localhost nagios-1.1]# make all cd ./base && make make[1]: Entering directory `/home/system/src/nagios-1.1/base' gcc -g -O2 -I/usr/include/mysql -DHAVE_CONFIG_H -DNSCORE -L/usr/lib/mysql -lmysqlclient nagios.c checks.o config.o commands.o flapping.o logging.o notifications.o sehandlers.o utils.o sretention.o ../xdata/xrddb.c ../common/comments.c ../xdata/xcddb.c ../common/objects.c ../xdata/xodtemplate.c ../common/statusdata.c ../xdata/xsddb.c perfdata.o ../xdata/xpddefault.c ../common/downtime.c ../xdata/xdddb.c -lm -o nagios /tmp/cc1pKEPG.o(.text+0x378): In function `xrddb_initialize': ../xdata/xrddb.c:215: undefined reference to `mysql_init' /tmp/cc1pKEPG.o(.text+0x3f2): In function `xrddb_connect': ../xdata/xrddb.c:252: undefined reference to `mysql_real_connect' /tmp/cc1pKEPG.o(.text+0x40d):../xdata/xrddb.c:254: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x464): In function `xrddb_disconnect': ../xdata/xrddb.c:299: undefined reference to `mysql_close' /tmp/cc1pKEPG.o(.text+0x47c): In function `xrddb_query': ../xdata/xrddb.c:329: undefined reference to `mysql_query' /tmp/cc1pKEPG.o(.text+0xd98): In function `xrddb_read_program_information': ../xdata/xrddb.c:850: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xdb3):../xdata/xrddb.c:854: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0xe79):../xdata/xrddb.c:867: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0xf38): In function `xrddb_read_host_information': ../xdata/xrddb.c:951: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0xf62):../xdata/xrddb.c:951: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1124):../xdata/xrddb.c:1004: undefined reference to `mysql_free_result' /tmp/cc1pKEPG.o(.text+0x11b8): In function `xrddb_read_service_information': ../xdata/xrddb.c:1129: undefined reference to `mysql_store_result' /tmp/cc1pKEPG.o(.text+0x11e2):../xdata/xrddb.c:1129: undefined reference to `mysql_fetch_row' /tmp/cc1pKEPG.o(.text+0x1431):../xdata/xrddb.c:1195: undefined reference to `mysql_free_result' /tmp/ccTEGl8x.o(.text+0x378): In function `xcddb_initialize': ../xdata/xcddb.c:234: undefined reference to `mysql_init' /tmp/ccTEGl8x.o(.text+0x3ea): In function `xcddb_connect': ../xdata/xcddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccTEGl8x.o(.text+0x405):../xdata/xcddb.c:261: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x45c): In function `xcddb_disconnect': ../xdata/xcddb.c:303: undefined reference to `mysql_close' /tmp/ccTEGl8x.o(.text+0x474): In function `xcddb_query': ../xdata/xcddb.c:329: undefined reference to `mysql_query' /tmp/ccTEGl8x.o(.text+0x5c3): In function `xcddb_validate_host_comments': ../xdata/xcddb.c:477: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x5dd):../xdata/xcddb.c:477: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x673): In function `xcddb_validate_service_comments': ../xdata/xcddb.c:566: undefined reference to `mysql_store_result' /tmp/ccTEGl8x.o(.text+0x68d):../xdata/xcddb.c:566: undefined reference to `mysql_fetch_row' /tmp/ccTEGl8x.o(.text+0x806): In function `xcddb_save_host_comment': ../xdata/xcddb.c:748: undefined reference to `mysql_insert_id' /tmp/ccTEGl8x.o(.text+0x9da): In function `xcddb_save_service_comment': ../xdata/xcddb.c:847: undefined reference to `mysql_insert_id' /tmp/cciRZnh0.o(.text+0x3e4): In function `xsddb_initialize': ../xdata/xsddb.c:253: undefined reference to `mysql_init' /tmp/cciRZnh0.o(.text+0x45e): In function `xsddb_connect': ../xdata/xsddb.c:286: undefined reference to `mysql_real_connect' /tmp/cciRZnh0.o(.text+0x479):../xdata/xsddb.c:288: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4e0): In function `xsddb_disconnect': ../xdata/xsddb.c:335: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x4f8): In function `xsddb_check_connection': ../xdata/xsddb.c:363: undefined reference to `mysql_errno' /tmp/cciRZnh0.o(.text+0x571):../xdata/xsddb.c:369: undefined reference to `mysql_close' /tmp/cciRZnh0.o(.text+0x670): In function `xsddb_query': ../xdata/xsddb.c:463: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x378): In function `xdddb_initialize': ../xdata/xdddb.c:234: undefined reference to `mysql_init' /tmp/ccFlpGYl.o(.text+0x3ea): In function `xdddb_connect': ../xdata/xdddb.c:259: undefined reference to `mysql_real_connect' /tmp/ccFlpGYl.o(.text+0x405):../xdata/xdddb.c:261: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x45c): In function `xdddb_disconnect': ../xdata/xdddb.c:303: undefined reference to `mysql_close' /tmp/ccFlpGYl.o(.text+0x474): In function `xdddb_query': ../xdata/xdddb.c:329: undefined reference to `mysql_query' /tmp/ccFlpGYl.o(.text+0x574): In function `xdddb_validate_host_downtime': ../xdata/xdddb.c:473: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x58d):../xdata/xdddb.c:473: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x64c): In function `xdddb_validate_service_downtime': ../xdata/xdddb.c:587: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0x665):../xdata/xdddb.c:587: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0x80a): In function `xdddb_save_host_downtime': ../xdata/xdddb.c:788: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0x9e6): In function `xdddb_save_service_downtime': ../xdata/xdddb.c:887: undefined reference to `mysql_insert_id' /tmp/ccFlpGYl.o(.text+0xc1d): In function `xdddb_read_host_downtime': ../xdata/xdddb.c:1107: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xc41):../xdata/xdddb.c:1107: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xd23):../xdata/xdddb.c:1116: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd40):../xdata/xdddb.c:1149: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xd95): In function `xdddb_read_service_downtime': ../xdata/xdddb.c:1238: undefined reference to `mysql_store_result' /tmp/ccFlpGYl.o(.text+0xdb9):../xdata/xdddb.c:1238: undefined reference to `mysql_fetch_row' /tmp/ccFlpGYl.o(.text+0xe9f):../xdata/xdddb.c:1247: undefined reference to `mysql_free_result' /tmp/ccFlpGYl.o(.text+0xebc):../xdata/xdddb.c:1280: undefined reference to `mysql_free_result' collect2: ld returned 1 exit status make[1]: *** [nagios] Error 1 make[1]: Leaving directory `/home/system/src/nagios-1.1/base' make: *** [all] Error 2 Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 "Shapiro, David" Sent by: nagios-users-admin at lists.sourceforge.net 09/11/2003 07:53 AM To "'nagios-users at lists.sourceforge.net'" cc Subject [Nagios-users] compilation error for 2.0-very-pre-alpha 08-18-2003 Can anybody let me know what I should update/fix to get this compilation to work? Redhat Linux 2.4.2-2 gdchart0.94c i686-pc-linux-gnu rrdtool-1.1.0 gd-1.8.3 gdbm-1.8.0 gcc 3.0.4 I did a make clean first. Buildt with: /configure \ --with-template-objects \ --with-mysql-lib=/usr/lib/mysql \ --with-mysql-inc=/usr/include/mysql \ --with-mysql-xdata \ --enable-embedded-perl \ --with-perlcache \ --with-ping-command=/usr/local/sbin/fping nagios 2.0-very-pre-alpha 08-18-2003 ***: General Options: ------------------------- Nagios executable: nagios Nagios user/group: nagios,nagios Command user/group: nagios,nagios Embedded Perl: yes, with caching Event Broker: yes Install ${prefix}: /usr/local/nagios Lock file: ${prefix}/var/nagios.lock Init directory: /etc/rc.d/init.d Host OS: linux-gnu Web Interface Options: ------------------------ HTML URL: http://localhost/nagios/ CGI URL: http://localhost/nagios/cgi-bin/ Traceroute (used by WAP): /usr/sbin/traceroute External Data Routines: ------------------------ Status data: Database (MySQL) Comment data: Database (MySQL) Downtime data: Database (MySQL) Peformance data: Default (external commands) Review the options above for accuracy. If they look okay, type 'make all' to compile the main program and CGIs. root at netsaint:/usr/local/nagios #make Please supply a command line argument (i.e. 'make all'). Other targets are: nagios cgis contrib modules clean install install-base install-cgis install-html install-config install-init install-commandmode fullinstall root at netsaint:/usr/local/nagios #make all cd ./base && make make[1]: Entering directory `/usr/local/nagios/base' gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o broker.o broker.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o nebmods.o nebmods.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o checks.o checks.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o config.o config.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o commands.o commands.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o events.o events.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o flapping.o flapping.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o logging.o logging.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o notifications.o notifications.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o sehandlers.o sehandlers.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o utils.o utils.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o retention-base.o sretention.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xretention-base.o ../xdata/xrddefault.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o comments-base.o ../common/comments.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xcomments-base.o ../xdata/xcddb.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o objects-base.o ../common/objects.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xobjects-base.o ../xdata/xodtemplate.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o statusdata-base.o ../common/statusdata.c gcc -g -O2 -I/usr/include/mysql -D_REENTRANT -D_GNU_SOURCE -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -I/usr/local/lib/perl5/5.8.0/i686-linux-thread-multi/CORE -DHAVE_CONFIG_H -DNSCORE -c -o xstatusdata-base.o ../xdata/xsddb.c ../xdata/xsddb.c: In function `xsddb_save_status_data': ../xdata/xsddb.c:902: `ERORR' undeclared (first use in this function) ../xdata/xsddb.c:902: (Each undeclared identifier is reported only once ../xdata/xsddb.c:902: for each function it appears in.) ../xdata/xsddb.c: In function `xsddb_save_program_status': ../xdata/xsddb.c:941: `last_update' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_save_host_status': ../xdata/xsddb.c:1054: `host_name' undeclared (first use in this function) ../xdata/xsddb.c: In function `xsddb_save_service_status': ../xdata/xsddb.c:1105: `host_name' undeclared (first use in this function) ../xdata/xsddb.c:1107: `description' undeclared (first use in this function) ../xdata/xsddb.c:1113: `temp_host' undeclared (first use in this function) make[1]: *** [xstatusdata-base.o] Error 1 make[1]: Leaving directory `/usr/local/nagios/base' make: *** [all] Error 2 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lshobbrook at fasttrack.net.au Thu Sep 11 09:13:04 2003 From: lshobbrook at fasttrack.net.au (Lewis Shobbrook) Date: Thu, 11 Sep 2003 17:13:04 +1000 Subject: 1.1 Install problems Message-ID: Hi Matt, Thanks for the response! > -----Original Message----- > From: Matt Pounsett [mailto:matt.pounsett at cira.ca] > Sent: Thursday, 11 September 2003 00:29 > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] 1.1 Install problems > > > On Wed, 10 Sep 2003, Lewis Shobbrook wrote: > > > Hi all, > > I've recently installed nagios 1.1 on a debian system running the > > latest unstable release. I'm unable to start the seervice > from inet.d > > Starting network monitor: nagios > > su: invalid option -- l > > The default init script runs this command just before starting nagios: > > su -l $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" > > notice the -l as the first argument? Your su apparently > doesn't want or need the -l to specify the login to su to. > According to the usage information su is giving you, it seems > you'd be okay simply changing that line to: > > su $Nagios -c "touch $NagiosVar/nagios.log $NagiosSav" That did the trick! > > HTH > > -- > Matt Pounsett CIRA - Canadian Internet > Registration Authority > Technical Support Programmer 350 Sparks > Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, > Ontario, Canada > 613.237.5335 ext. 231 > http://www.cira.ca > Cheers, Lewis ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Thu Sep 11 19:18:27 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 11 Sep 2003 10:18:27 -0700 Subject: Nagios Newbie: error "no lock file found" In-Reply-To: <006101c37887$6730df00$1802010a@dolanmedia.com> References: <006101c37887$6730df00$1802010a@dolanmedia.com> Message-ID: Kind of a bogus error message. In my experience this means there is an error in your config file. run nagios -v -c /path/to/nagios.cfg to see where the errors are. "Jeff Saucier" Sent by: nagios-users-admin at lists.sourceforge.net 09/11/2003 10:09 AM To "'Nagios'" cc Subject [Nagios-users] Nagios Newbie: error "no lock file found" Not sure what I did. No problems initially after installing Nagios. Now, when I start / stop / reload using /usr/local/etc/rc.d/nagios.sh I get message ?No lock file found in /var/spool/nagios/nagios.lock?. I stop Nagios using /usr/local/etc/rc.d/nagios/nagios.sh stop and still see Nagios process running: nagios 1674 0.0 0.3 2316 1768 ?? Ss 11:57AM 0:00.03 /usr/local/bin/ I kill nagios? process. Thinking the lock file needs to exist, I create one: touch /var/spool/nagios/nagios.lock I start Nagios: /usr/local/etc/rc.d/Nagios.sh start and get the following: Starting network monitor: nagios ps: option requires an argument -- p usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user] [-M core] [-N system] ps [-L] I see the Nagios process and can view the web pages fine. I read nagios.lock is the location Nagios stores the process id. Not sure how that impacts Nagios. Any ideas? Thanks. Jeff Saucier Technical Infrastructure Analyst Dolan Media Company 612.317.9428 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Sep 11 19:32:16 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 11 Sep 2003 12:32:16 -0500 Subject: Nagios Newbie: error "no lock file found" Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ED4F@mismail.ena.com> The nagios.lock file is created by nagios when it starts. As you noticed, it contains the PID of the master nagios process. The PID is used by the stop process to know which nagios process to TERM. The ps error is a result of you touching the file by hand. Stop nagios, kill all the nagios processes you see remaining by hand, delete the nagios.lock file and start nagios. /usr/local/nagios/etc/rc.d/nagios.sh is an unusual file and location from my experience. What distro are you using? -- Marc ________________________________________ From: Jeff Saucier [mailto:jeff.saucier at dolanmedia.com] Sent: Thursday, September 11, 2003 12:09 PM To: 'Nagios' Not sure what I did.? No problems initially after installing Nagios.? Now, when I start / stop / reload using /usr/local/etc/rc.d/nagios.sh? I get message "No lock file found in /var/spool/nagios/nagios.lock".? I stop Nagios using /usr/local/etc/rc.d/nagios/nagios.sh stop and still see Nagios process running: nagios??? 1674? 0.0? 0.3? 2316 1768? ??? Ss?? 11:57AM?? 0:00.03 /usr/local/bin/ I kill nagios' process.? Thinking the lock file needs to exist, I create one:? touch /var/spool/nagios/nagios.lock I start Nagios: /usr/local/etc/rc.d/Nagios.sh start and get the following: Starting network monitor: nagios ps: option requires an argument -- p usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user] ????????? [-M core] [-N system] ?????? ps [-L] I see the Nagios process and can view the web pages fine. I read nagios.lock is the location Nagios stores the process id.? Not sure how that impacts Nagios. Any ideas? Thanks. Jeff Saucier Technical Infrastructure Analyst Dolan Media Company 612.317.9428 ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jean_mourao at hotmail.com Thu Sep 11 20:16:44 2003 From: jean_mourao at hotmail.com (Jean Carlos Marques Mourao) Date: Thu, 11 Sep 2003 18:16:44 +0000 Subject: syslog-ng integration tool Message-ID: An HTML attachment was scrubbed... URL: From Stanley.G.Martin at mail.sprint.com Thu Sep 11 20:16:08 2003 From: Stanley.G.Martin at mail.sprint.com (Martin, Stanley G [CC]) Date: Thu, 11 Sep 2003 13:16:08 -0500 Subject: NagMin Problem Message-ID: <516DA7BE5D87C8469D89F150CA0B491102565E81@PDAWB02C.ad.sprint.com> I went to Nagmin to add a service dependency and the execution_failure_criteria and notification_failure_criteria have the selections of: Up Down Unreachable Critical None According to the Nagios documentation, they should be: Ok Warning Unknown Critical None Any idea how to fix this? Stanley G. Martin System Administrator Sprint - EAS Business Intelligence Stanley.G.Martin at mail.sprint.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason.payne at iland.com Thu Sep 11 23:41:36 2003 From: jason.payne at iland.com (Jason Payne - iLand Internet Solutions Corp.) Date: Thu, 11 Sep 2003 16:41:36 -0500 Subject: Problems with nsclient ...Connection refused by host Message-ID: <7A626FF425518246801C933014AA98F009D4EE@hou-ex01.ihtx.iland.com> Is it possible to upgrade the service only, or is the service dependant on the check_nt script version? We have nsclient on many hosts and I wouldn't like having to upgrade all of them at once. -Jason -----Original Message----- From: Josh Van As [mailto:JVanas at finncorp.com] Sent: Wednesday, September 10, 2003 9:17 AM To: Matthew.Quinney at hollandandholland.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused by host Upgrade to 1.8.4 solved my problems as well... Thanks (everyone) for the help! -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: Wednesday, September 10, 2003 9:16 AM To: Josh Van As Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with nsclient ...Connection refused by host Josh, I have upgraded a lot of my machines to NSClient 1.084 and that helped stability. Matthew "Josh Van As" Sent by: nagios-users-admin at lists.sourceforge.net 10/09/2003 13:35 To cc Subject [Nagios-users] Problems with nsclient ...Connection refused by host I am running nsclient 1.07.1 on about 10 different Windows 2000/2003 Servers. On 2 of the servers, after a reboot, the nsclient occasionally stops responding to checks..... I issue the command: ./check_nt -H server.domain -v CPULOAD -l 5,50,80 And the response is: Connection refused by host The service claims to be running on the Windows box. I even try restarting the service to no avail. Does anyone have any idea what might be causing this? TIA! -Josh _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.saucier at dolanmedia.com Thu Sep 11 19:54:29 2003 From: jeff.saucier at dolanmedia.com (Jeff Saucier) Date: Thu, 11 Sep 2003 12:54:29 -0500 Subject: Nagios Newbie: error "no lock file found" In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7ED4F@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7ED4F@mismail.ena.com> Message-ID: <007a01c3788d$bfa8f9f0$1802010a@dolanmedia.com> FreeBSD4.8, PKG = nagios-1.1_3 with nagios-plugins-1.3.1. Thanks for the feedback. I got it figured out - still don't know when I broke it. Nagios.cfg was pointing to /usr/local/var/Nagios/Nagios.lock. I changed it to match the error path /var/spool/nagios/nagios.lock and all was fine. Baby steps for me. New to FreeBSD as well. Again - thanks for the help. Jeff Saucier Technical Infrastructure Analyst Dolan Media Company 612.317.9428 -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Thursday, September 11, 2003 12:32 PM To: Jeff Saucier; Nagios Subject: RE: [Nagios-users] Nagios Newbie: error "no lock file found" The nagios.lock file is created by nagios when it starts. As you noticed, it contains the PID of the master nagios process. The PID is used by the stop process to know which nagios process to TERM. The ps error is a result of you touching the file by hand. Stop nagios, kill all the nagios processes you see remaining by hand, delete the nagios.lock file and start nagios. /usr/local/nagios/etc/rc.d/nagios.sh is an unusual file and location from my experience. What distro are you using? -- Marc ________________________________________ From: Jeff Saucier [mailto:jeff.saucier at dolanmedia.com] Sent: Thursday, September 11, 2003 12:09 PM To: 'Nagios' Not sure what I did.? No problems initially after installing Nagios.? Now, when I start / stop / reload using /usr/local/etc/rc.d/nagios.sh? I get message "No lock file found in /var/spool/nagios/nagios.lock".? I stop Nagios using /usr/local/etc/rc.d/nagios/nagios.sh stop and still see Nagios process running: nagios??? 1674? 0.0? 0.3? 2316 1768? ??? Ss?? 11:57AM?? 0:00.03 /usr/local/bin/ I kill nagios' process.? Thinking the lock file needs to exist, I create one:? touch /var/spool/nagios/nagios.lock I start Nagios: /usr/local/etc/rc.d/Nagios.sh start and get the following: Starting network monitor: nagios ps: option requires an argument -- p usage: ps [-aChjlmrSTuvwx] [-O|o fmt] [-p pid] [-t tty] [-U user] ????????? [-M core] [-N system] ?????? ps [-L] I see the Nagios process and can view the web pages fine. I read nagios.lock is the location Nagios stores the process id.? Not sure how that impacts Nagios. Any ideas? Thanks. Jeff Saucier Technical Infrastructure Analyst Dolan Media Company 612.317.9428 ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Thu Sep 11 19:52:41 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Thu, 11 Sep 2003 10:52:41 -0700 Subject: check_dns/check_dig Message-ID: I am having problems configuring check_dns and check_dig as dynamic check commands. For instance check_ping accepts arguments passed from the service.cfg file. I have tried the same syntax with check_dns and check_dig but keep getting invalid host name errors. checkcommand.cfg: # 'check_dns' command definition define command{ command_name check_dns command_line $USER1$/check_dig -H $ARG1$ -l $ARG2$ service.cfg: # Service definition define service{ use generic-service ; Name of service template to use host_name sun-dmz-1 service_description DNS is_volatile 0 check_period 24x7 max_check_attempts 5 normal_check_interval 5 retry_check_interval 2 contact_groups server-admins notification_interval 30 notification_period 24x7 check_command check_dig!172.20.0.5,www.ci.bend.or.us } Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Shaun.Reitan at NDCHost.com Fri Sep 12 02:05:11 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Thu, 11 Sep 2003 17:05:11 -0700 Subject: Possible to have includes in hosts.cfg or services.cfg? Message-ID: <019801c378c1$8969cf20$7800000a@lunchbox> Rather than having a huge services or hosts file i would like to do somthing like include "./services/test.hostname.net" and have that file include all services for that host. is this possible? Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Fri Sep 12 02:16:11 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 11 Sep 2003 20:16:11 -0400 (EDT) Subject: check_dns/check_dig In-Reply-To: References: Message-ID: On Thu, 11 Sep 2003, Steve OBrien wrote: > check_command check_dig!172.20.0.5,www.ci.bend.or.us I believe the correct syntax for this is: check_command check_dig!172.20.0.5!www.ci.bend.or.us -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hertrick at neovera.com Fri Sep 12 02:59:30 2003 From: m.hertrick at neovera.com (Michael Hertrick) Date: Thu, 11 Sep 2003 20:59:30 -0400 Subject: Possible to have includes in hosts.cfg or services.cfg? In-Reply-To: <019801c378c1$8969cf20$7800000a@lunchbox> References: <019801c378c1$8969cf20$7800000a@lunchbox> Message-ID: <3F611A72.4060507@neovera.com> You could simply include ./services/test.hostname.net in nagios.cfg. Shaun Reitan :: NDC Host wrote: > Rather than having a huge services or hosts file i would like to do > somthing like include "./services/test.hostname.net" and have that > file include all services for that host. is this possible? > > > Best Regards, > > Shaun Reitan > CTO > Shaun.Reitan at NDCHost.com > www.NDCHost.com > www.cPlicensing.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Sep 12 03:41:10 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 11 Sep 2003 20:41:10 -0500 Subject: Possible to have includes in hosts.cfg or services.cfg? Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D4989@mismail.ena.com> Check out the cfg_dir directive. Using that, any file in the directory is read as an include. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Shaun Reitan :: NDC Host To: nagios-users at lists.sourceforge.net Sent: Thu Sep 11 19:05:11 2003 Subject: [Nagios-users] Possible to have includes in hosts.cfg or services.cfg? Rather than having a huge services or hosts file i would like to do somthing like include "./services/test.hostname.net" and have that file include all services for that host. is this possible? Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From Shaun.Reitan at NDCHost.com Fri Sep 12 10:11:32 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Fri, 12 Sep 2003 01:11:32 -0700 Subject: NSCA Message-ID: <013401c37905$7a9d1c60$7800000a@lunchbox> i have NSCA installed and want to be able to monitor things like diskspace, memory, cpu, mail queue, etc. I'm really confused about how it works. How do i setup the services for these? I saw a sample config had check_disk but if i use that, it checks the local disk on the nagios server. I read thru the documentation best i could but i'm still confused. Any help with this would be appriciated. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From tomas.hautala at adm.vxu.se Fri Sep 12 12:58:19 2003 From: tomas.hautala at adm.vxu.se (Tomas Hautala) Date: Fri, 12 Sep 2003 12:58:19 +0200 Subject: scheduling queue Message-ID: <3F61A6CB.3010002@adm.vxu.se> I've got a question reguarding the scheduling queue. Where is the queue writen to? Is there a file that contains every scheduled check? Thanks in advance ---------------------------------- Tomas Hautala University of V?xj?, It-department ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JVanas at finncorp.com Fri Sep 12 13:39:36 2003 From: JVanas at finncorp.com (Josh Van As) Date: Fri, 12 Sep 2003 07:39:36 -0400 Subject: Problems with nsclient ...Connection refused by host Message-ID: <834D93DB7AA4004F893BB62597D5774C18DA3B@fcsrv0004.finncorp.com> Don't know what the official answer here is. But I only upgraded a few of my services to 1.8.4, just the ones that were having problems. I am still using the same check_nt bin (from the 1.3.1 plug-in download). Seems to be working fine for us. -Josh -----Original Message----- From: Jason Payne - iLand Internet Solutions Corp. [mailto:jason.payne at iland.com] Sent: Thursday, September 11, 2003 5:42 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused by host Is it possible to upgrade the service only, or is the service dependant on the check_nt script version? We have nsclient on many hosts and I wouldn't like having to upgrade all of them at once. -Jason -----Original Message----- From: Josh Van As [mailto:JVanas at finncorp.com] Sent: Wednesday, September 10, 2003 9:17 AM To: Matthew.Quinney at hollandandholland.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused by host Upgrade to 1.8.4 solved my problems as well... Thanks (everyone) for the help! -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: Wednesday, September 10, 2003 9:16 AM To: Josh Van As Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with nsclient ...Connection refused by host Josh, I have upgraded a lot of my machines to NSClient 1.084 and that helped stability. Matthew "Josh Van As" Sent by: nagios-users-admin at lists.sourceforge.net 10/09/2003 13:35 To cc Subject [Nagios-users] Problems with nsclient ...Connection refused by host I am running nsclient 1.07.1 on about 10 different Windows 2000/2003 Servers. On 2 of the servers, after a reboot, the nsclient occasionally stops responding to checks..... I issue the command: ./check_nt -H server.domain -v CPULOAD -l 5,50,80 And the response is: Connection refused by host The service claims to be running on the Windows box. I even try restarting the service to no avail. Does anyone have any idea what might be causing this? TIA! -Josh _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri Sep 12 14:50:42 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 12 Sep 2003 07:50:42 -0500 Subject: NSCA Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D498A@mismail.ena.com> I think you want NRPE, not NSCA. NRPE allows you to execute plugins on remote machine (you'll need a copy of the plugins you are interested in on the remote machines. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Shaun Reitan :: NDC Host To: nagios-users at lists.sourceforge.net Sent: Fri Sep 12 03:11:32 2003 Subject: [Nagios-users] re: NSCA i have NSCA installed and want to be able to monitor things like diskspace, memory, cpu, mail queue, etc. I'm really confused about how it works. How do i setup the services for these? I saw a sample config had check_disk but if i use that, it checks the local disk on the nagios server. I read thru the documentation best i could but i'm still confused. Any help with this would be appriciated. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From lejert at hotmail.com Fri Sep 12 13:57:28 2003 From: lejert at hotmail.com (le jert) Date: Fri, 12 Sep 2003 13:57:28 +0200 Subject: problem with pluggin check_nt and libc.so.6 Message-ID: hello I have a problem with the check_nt pluggin I use with the NSClient. I run red hat 7.2 with with nagios and the last pluggins (1.3) and everything seems to be ok (ping, ports, bandwith ... ) but when it comes to check distant disk space I had a message "no output" ...so I ran the command in console to see what was wrong : ./check_nt -H 192.168.x.x -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 and I got the message : /lib/libc.so.6: version `GLIBC_2.3' not found (required by ...) (this message even comes if I type check_nt -help) I tried to download and install many rpms (even old pluggins versions) to so solve this problem but It don't work .... any idea ? thanks _________________________________________________________________ MSN Search, le moteur de recherche qui pense comme vous ! http://search.fr.msn.be ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lejert at hotmail.com Fri Sep 12 16:04:49 2003 From: lejert at hotmail.com (le jert) Date: Fri, 12 Sep 2003 16:04:49 +0200 Subject: problems with check_nt and libc.so.6 Message-ID: hello I have a problem with the check_nt pluggin I use with the NSClient. I run red hat 7.2 with with nagios and the last pluggins (1.3) and everything seems to be ok (ping, ports, bandwith ... ) but when it comes to check distant disk space I had a message "no output" ...so I ran the command in console to see what was wrong : ./check_nt -H 192.168.x.x -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 and I got the message : /lib/libc.so.6: version `GLIBC_2.3' not found (required by ...) (this message even comes if I type check_nt -help) I tried to download and install many rpms (even old pluggins versions) to so solve this problem but It don't work .... any idea ? thanks _________________________________________________________________ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Fri Sep 12 17:20:15 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Fri, 12 Sep 2003 09:20:15 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: When I try to access the CGI from the link on the nagios web page I am getting the error: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have been running nagios 1.0 for 5 months on Red Hat 7.3. I built rpms from the tar balls. Everything was working fine......... Then I upgraded to nagios 1.1, again building the rpms from the tar balls. Now I get the "It appears as though you do not have permission to view information for any of the hosts you requested... " Then I down-graded back to nagios 1.0 and I still get the above error! Even though I am using the same configs from the server that operated for 5 months without any problem! I then went to my lab where I now realize I should have started. I installed nagios 1.0 on one server and 1.1 on another and moved over all of my configs. Same results!!! Here are the possibe problems I have investigate: 1. .htaccess works on the main web page so I have to assume it also works for the CGI directory since I see no error messages for httpd. I have had our web developer look at my Apache configs to make sure I am not crazy!! He says my Apache configs are fine. 2. If I run the CGI scripts from the command line using my username, they generate html source that can be loaded into a browser and successfully viewed with all the ouput and no error. So I assume that my cgi.cfg file, which I haven't touched! is still correct. 3. I have toyed around with the permisions for the directory which contains the nagios.cmd file. I have followed the on line documentation step by step in this regaurd and I still get the same results. 4. The only conclusion I can come to is a file permission somewhere. I have made all of my CGIs 755 and everything is owned by nagios:apache. In my lab environment I have experimented with every possible combination of permissions, turning off authentication, using the nagiocmd group with apache and nagios as members as suggested by the documentation etc. etc. etc. etc.. Meanwhile nagios is running and collecting its data though I can not access it via CGI. Help, Help Help!!!!!!!! Rick Blair Network Engineer USFW 303.202.2687 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Jeff.Engstrom at fortix.net Fri Sep 12 17:44:21 2003 From: Jeff.Engstrom at fortix.net (Jeff Engstrom) Date: Fri, 12 Sep 2003 08:44:21 -0700 Subject: Nagios Remote Plugin Executor (NRPE) 2.0 Message-ID: <6DC8CB0C5A67744EB3D89E41BC429F95613759@fortix-exchange.fortix-office.com> Does anyone have a Solaris binary of NRPE 2.0 by chance? Thanks, Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: From Keith.Hochberg at mtvi.com Fri Sep 12 18:30:14 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Fri, 12 Sep 2003 12:30:14 -0400 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: <5F29693503507B4FB4032686ADF862673B5948@mtviny25.mtvi.com> Did you check out your cgi.cfg in /whereever nagios is/etc/? Make sure you have the user you are logged in as on the Web GUI specified for access or a '*' meaning all users. -Keith -----Original Message----- From: Rick_Blair at fws.gov [mailto:Rick_Blair at fws.gov] Sent: Friday, September 12, 2003 11:20 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] CGI permissions make me mad also! HELP!!!! When I try to access the CGI from the link on the nagios web page I am getting the error: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have been running nagios 1.0 for 5 months on Red Hat 7.3. I built rpms from the tar balls. Everything was working fine......... Then I upgraded to nagios 1.1, again building the rpms from the tar balls. Now I get the "It appears as though you do not have permission to view information for any of the hosts you requested... " Then I down-graded back to nagios 1.0 and I still get the above error! Even though I am using the same configs from the server that operated for 5 months without any problem! I then went to my lab where I now realize I should have started. I installed nagios 1.0 on one server and 1.1 on another and moved over all of my configs. Same results!!! Here are the possibe problems I have investigate: 1. .htaccess works on the main web page so I have to assume it also works for the CGI directory since I see no error messages for httpd. I have had our web developer look at my Apache configs to make sure I am not crazy!! He says my Apache configs are fine. 2. If I run the CGI scripts from the command line using my username, they generate html source that can be loaded into a browser and successfully viewed with all the ouput and no error. So I assume that my cgi.cfg file, which I haven't touched! is still correct. 3. I have toyed around with the permisions for the directory which contains the nagios.cmd file. I have followed the on line documentation step by step in this regaurd and I still get the same results. 4. The only conclusion I can come to is a file permission somewhere. I have made all of my CGIs 755 and everything is owned by nagios:apache. In my lab environment I have experimented with every possible combination of permissions, turning off authentication, using the nagiocmd group with apache and nagios as members as suggested by the documentation etc. etc. etc. etc.. Meanwhile nagios is running and collecting its data though I can not access it via CGI. Help, Help Help!!!!!!!! Rick Blair Network Engineer USFW 303.202.2687 -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Fri Sep 12 18:34:24 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 12 Sep 2003 11:34:24 -0500 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ED79@mismail.ena.com> When you are logged in, who does nagios display you are logged in as? If its '?', verify that your .htaccess file in your ~nagios/sbin directory is valid and readable by the web server. -- Marc ________________________________________ From: Rick_Blair at fws.gov [mailto:Rick_Blair at fws.gov] Sent: Friday, September 12, 2003 10:20 AM To: nagios-users at lists.sourceforge.net When I try to access the CGI from the link on the nagios web page I am getting the error: ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have been running nagios 1.0 for 5 months on Red Hat 7.3. ?I built rpms from the tar balls. Everything was working fine......... ? ? ? Then I upgraded to nagios 1.1, again building the rpms from the tar balls. Now I get the ? ?"It appears as though you do not have permission to view information for any of the hosts you requested... " Then I down-graded back to nagios 1.0 and I still get the above error! ? Even though I am using the same configs from the server that operated for 5 months without any problem! I then went to my lab where I now realize I should have started. I installed nagios 1.0 on one server and 1.1 on another and moved over all of my configs. ? ? Same results!!! Here are the possibe problems I have investigate: 1. ?.htaccess works on the main web page so I have to assume it also works for the CGI directory since I see no error messages for httpd. ?I have had our web developer look at my Apache configs to make sure I am not crazy!! ?He says my Apache configs are fine. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Sep 12 20:15:11 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 12 Sep 2003 13:15:11 -0500 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ED7A@mismail.ena.com> Please send all replies to the list. ________________________________________ From: Rick_Blair at fws.gov [mailto:Rick_Blair at fws.gov] Sent: Friday, September 12, 2003 11:47 AM To: Marc Powell "Marc Powell" 09/12/2003 10:34 AM ? ? ? ? ? ? ? ? To: ? ? ? ?, ? ? ? ? cc: ? ? ? ? ? ? ? ? Subject: ? ? ? ?RE: [Nagios-users] CGI permissions make me mad also! ?HELP!!!! ? ? ? ? When you are logged in, who does nagios display you are logged in as? The little box in the upper left corner of the browser has 'rblair'. Marc -> That's good. Is rblair a member of a contactgroup that is applied to the hosts in question? -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Fri Sep 12 19:25:37 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Fri, 12 Sep 2003 13:25:37 -0400 (EDT) Subject: statusmap layout algorithms Message-ID: I'm currently doing the initial setup of Nagios, and have found the status map useful for keeping an eye on what hosts are up/down and being monitored so far. A recent host I added increased the maximum "parents" depth from 1 to 2 levels, and immediately all automatic layout methods ceased to function. If I remove the host, all is well again. I can't find anything in the documentation that addresses this directly (no reference to a max depth in the standard algorithms). So.. I'm wondering if this is really because of the change of parent depth, or if there's something else in play here and I'm being distracted by the obvious. If this is a known limitation of the default algorithms I can live with that, and will start working on manually defined coordinates. However (and again assuming this limit is real) it would be a good idea if some reference was made to this limit in the CGI docs for default_statusmap_layout. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kit at keynote.com Fri Sep 12 21:12:35 2003 From: kit at keynote.com (Kit Burrows) Date: Fri, 12 Sep 2003 12:12:35 -0700 Subject: problem with pluggin check_nt and libc.so.6 Message-ID: <126EB155546EC04284E14649C578F1F70117D994@exchange02inhq.keynote.com> The RPM binaries you are trying to install were compiled with the higher GLIBC version. However, that glibc GLIBC isn't available by default on the earlier Redhat releases so you are seeing that error message. Trying compiling the plugins directly from source on the target system and see if that fixes your problem. > -----Original Message----- > From: le jert [mailto:lejert at hotmail.com] > Sent: Friday, September 12, 2003 4:57 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] problem with pluggin check_nt and libc.so.6 > > > hello > > I have a problem with the check_nt pluggin I use with the NSClient. > > I run red hat 7.2 with with nagios and the last pluggins (1.3) and > everything seems to be ok (ping, ports, bandwith ... ) but > when it comes to > check distant disk space I had a message "no output" ...so I > ran the command > in console to see what was wrong : > > ./check_nt -H 192.168.x.x -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 > > and I got the message : > > /lib/libc.so.6: version `GLIBC_2.3' not found (required by ...) > > (this message even comes if I type check_nt -help) > > I tried to download and install many rpms (even old pluggins > versions) to so > solve this problem but It don't work .... > > any idea ? > > thanks > > _________________________________________________________________ > MSN Search, le moteur de recherche qui pense comme vous ! > http://search.fr.msn.be > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 message, and any attachments to it, are for the sole use of the intended recipients, and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution of this email message or its attachments is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Fri Sep 12 20:59:32 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Fri, 12 Sep 2003 12:59:32 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: Matt, thanks, this is going above and beyond........... , I really appreciate it. I ran your cgi and this is what I get. AUTH_TYPE Basic DOCUMENT_ROOT /var/www/html/ GATEWAY_INTERFACE CGI/1.1 HTTP_ACCEPT image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/vnd.ms-powerpoint, application/vnd.ms-excel, application/msword, */* HTTP_ACCEPT_ENCODING gzip, deflate HTTP_ACCEPT_LANGUAGE en-us HTTP_CONNECTION Keep-Alive HTTP_COOKIE CFID=4524; CFTOKEN=34654484 HTTP_HOST ifw9bct-dude.den.fws.gov HTTP_USER_AGENT Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0) PATH /sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin QUERY_STRING REMOTE_ADDR 10.xx.xx.xx REMOTE_PORT 1208 REMOTE_USER rblair REQUEST_METHOD GET REQUEST_URI /nagios/cgi-bin/env.cgi SCRIPT_FILENAME /usr/local/nagios/lib/cgi/env.cgi SCRIPT_NAME /nagios/cgi-bin/env.cgi SERVER_ADDR 164.xx.xx.xx SERVER_ADMIN xx at localhost SERVER_NAME ifw9bct-dude.den.fws.gov SERVER_PORT 80 SERVER_PROTOCOL HTTP/1.1 SERVER_SIGNATURE Apache/1.3.27 Server at ifw9bct-dude.den.fws.gov Port 80 SERVER_SOFTWARE Apache/1.3.27 (Unix) (Red-Hat/Linux) 0 Rick Blair Network Engineer USFW 303.202.2687 Matt Pounsett Sent by: mattp at office-mail.cira.ca 09/12/2003 10:44 AM To: Rick_Blair at fws.gov cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CGI permissions make me mad also! HELP!!!! On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > When I try to access the CGI from the link on the nagios web page I am > getting the error: The thing that bit me here was that I had failed to put my .htaccess file in all the right places. What user does the "Tactical Monitoring Overview" table in the top left of the Tactical Overview page report you as being logged in with? Not sure if this is your problem or not.. but you might want to confirm that your .htaccess file is in both the CGI directory and the root of the HTML directory, and that it is readable by your web server user. While trying to solve my own problem, I threw together a quick little CGI to check that Apache was passing auth information properly... drop a copy of ftp://ftp.conundrum.com/pub/software/env.cgi in your Nagios cgi-bin directory and then try to run it. Make sure Apache is setting HTTP_USER correctly. Hope this helps somehow.. Matt -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony_brock at ous.edu Thu Sep 11 16:43:56 2003 From: anthony_brock at ous.edu (Anthony Brock) Date: Thu, 11 Sep 2003 07:43:56 -0700 Subject: scheduled downtime Message-ID: I modified one of the scripts included with the Nagios distribution. Under 'nagios-1.1/contrib/eventhandlers' there are several shell scripts to accomplish this task. In my case, I modified the 'disable_notifications' script for my purposes and then added the appropriate crontab entries. Not ideal, but it works. Also, you should read the documentation concerning "External Commands" for details. It can be found at http://nagios.sourceforge.net/docs/1_0/extcommands.html Tony >>> Skip Montanaro 09/10/03 12:23PM >>> Dylan> I read in the FAQs there is no way to schedule reoccurring Dylan> downtime within Nagios but to use cron to submit the command Dylan> instead. Is anybody doing this? Can somebody help me with what Dylan> the command is I need to submit to cron? Something suggested to me (which I have yet to try) was to define a timeperiod object which doesn't include the scheduled downtime. That probably won't work if your scheduled downtimes are not every week. I don't know if there's a command-line tool which will schedule downtime for you. You should be able to figure out a URL which does the necessary form submission for the host in question using the existing submission form. You can then fetch that URL using wget or other command-line URL fetcher. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Thu Sep 11 23:05:03 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Thu, 11 Sep 2003 15:05:03 -0600 Subject: CGI permissions problem Message-ID: When I try to access the CGI from the link on the nagios web page I am getting the error: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have run my CGIs from the command line with my user id and they generate html code with the proper data and I am allowed to run it. I think that rules out cgi.cfg as a problem, especially since I have not touched that file since I had it working before. .htaccess works on the main web page so I have to assume it also works for the CGI directory since I see no error messages for httpd. I have toyed around with the permisions for the directory which contains the nagios.cmd file. I have followed the on line documentation step by step in this regaurd and I still get the same results. The only conclusion I can come to is a file permission somewhere. I have made all of my CGIs 755 and everything is owned by nagios:apache. Rick Blair Network Engineer USFW 303.202.2687 -------------- next part -------------- An HTML attachment was scrubbed... URL: From lejert at hotmail.com Fri Sep 12 22:10:14 2003 From: lejert at hotmail.com (le jert) Date: Fri, 12 Sep 2003 22:10:14 +0200 Subject: problem with pluggin check_nt and libc.so.6 Message-ID: ok thank you for your help, I ll check that on monday morning ! this seems to be a very good idea I didn't have had ... >From: Kit Burrows >To: "'le jert'" , nagios-users at lists.sourceforge.net >Subject: RE: [Nagios-users] problem with pluggin check_nt and libc.so.6 >Date: Fri, 12 Sep 2003 12:12:35 -0700 > >The RPM binaries you are trying to install were compiled with the higher >GLIBC version. However, that glibc GLIBC isn't available by default on the >earlier Redhat releases so you are seeing that error message. > >Trying compiling the plugins directly from source on the target system and >see if that fixes your problem. > > > -----Original Message----- > > From: le jert [mailto:lejert at hotmail.com] > > Sent: Friday, September 12, 2003 4:57 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] problem with pluggin check_nt and libc.so.6 > > > > > > hello > > > > I have a problem with the check_nt pluggin I use with the NSClient. > > > > I run red hat 7.2 with with nagios and the last pluggins (1.3) and > > everything seems to be ok (ping, ports, bandwith ... ) but > > when it comes to > > check distant disk space I had a message "no output" ...so I > > ran the command > > in console to see what was wrong : > > > > ./check_nt -H 192.168.x.x -p 1248 -v USEDDISKSPACE -l C -w 80 -c 90 > > > > and I got the message : > > > > /lib/libc.so.6: version `GLIBC_2.3' not found (required by ...) > > > > (this message even comes if I type check_nt -help) > > > > I tried to download and install many rpms (even old pluggins > > versions) to so > > solve this problem but It don't work .... > > > > any idea ? > > > > thanks > > > > _________________________________________________________________ > > MSN Search, le moteur de recherche qui pense comme vous ! > > http://search.fr.msn.be > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 message, and any attachments to it, are for the sole use of the >intended recipients, and may contain confidential and privileged >information. Any unauthorized review, use, disclosure or distribution of >this email message or its attachments is prohibited. If you are not the >intended recipient, please contact the sender by reply email and destroy >all >copies of the original message. _________________________________________________________________ MSN Messenger : discutez en direct avec vos amis ! http://messenger.fr.msn.be ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Fri Sep 12 18:44:56 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Fri, 12 Sep 2003 12:44:56 -0400 (EDT) Subject: CGI permissions make me mad also! HELP!!!! In-Reply-To: References: Message-ID: On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > When I try to access the CGI from the link on the nagios web page I am > getting the error: The thing that bit me here was that I had failed to put my .htaccess file in all the right places. What user does the "Tactical Monitoring Overview" table in the top left of the Tactical Overview page report you as being logged in with? Not sure if this is your problem or not.. but you might want to confirm that your .htaccess file is in both the CGI directory and the root of the HTML directory, and that it is readable by your web server user. While trying to solve my own problem, I threw together a quick little CGI to check that Apache was passing auth information properly... drop a copy of ftp://ftp.conundrum.com/pub/software/env.cgi in your Nagios cgi-bin directory and then try to run it. Make sure Apache is setting HTTP_USER correctly. Hope this helps somehow.. Matt -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Fri Sep 12 20:44:31 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Fri, 12 Sep 2003 12:44:31 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: I have down graded back to 1.0 and am using /usr/local/nagios for everything. I have .htaccess located in share/ sbin/ lib/cgi/. Rick Blair Network Engineer USFW 303.202.2687 "Jim Greene" 09/12/2003 10:53 AM To: cc: Subject: Re: [Nagios-users] CGI permissions make me mad also! HELP!!!! Make sure you have a .htaccess in /share /bin and /sbin I ran into the same problem when I upgraded... ~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@~@ Jim Greene Unix Systems Administrator / Security Engineer Oxford Networks www.oxfordnetworks.com Dial-Up - Colo - Web Hosting - Bandwidth jim.greene at megalink.net "Working with UNIX is like wrestling a worthy opponent. Working with Windows is like attacking a small whining child who is carrying a .38." 303.202.2687 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rick_Blair at fws.gov Fri Sep 12 20:38:47 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Fri, 12 Sep 2003 12:38:47 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: "Hochberg, Keith" 09/12/2003 10:54 AM To: cc: Subject: RE: [Nagios-users] CGI permissions make me mad also! HELP!!!! have you shut down nagios and made sure you have no stale nagios processes running before starting back up? Many times. Rick Blair Network Engineer USFW 303.202.2687 -----Original Message----- From: Rick_Blair at fws.gov [mailto:Rick_Blair at fws.gov] Sent: Friday, September 12, 2003 12:40 PM To: Hochberg, Keith Subject: RE: [Nagios-users] CGI permissions make me mad also! HELP!!!! Did you check out your cgi.cfg in /whereever nagios is/etc/? Yes, my cgi.cfg has never changed from when I used on the working production nagios server. Make sure you have the user you are logged in as on the Web GUI specified for access or a '*' meaning all users. I have the user rblair as the user in the little box in the upper left hand corner of my web browser. I have either 'rblair' or '*' set for all authorized_for_.xxxxx options. -Keith -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Fri Sep 12 23:27:41 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Fri, 12 Sep 2003 17:27:41 -0400 (EDT) Subject: CGI permissions make me mad also! HELP!!!! In-Reply-To: References: Message-ID: On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > Matt, thanks, this is going above and beyond........... , I really > appreciate it. > > I ran your cgi and this is what I get. > > AUTH_TYPE Basic > REMOTE_USER rblair Okay.. so it would appear that you've at least got HTTP Auth working properly. If this CGI can pick up the user you're logging in with, then the Nagios CGI should be able to as well. Now I think you can concentrate on the cgi.cfg file itself. A couple questions.. What user does Nagios report you being logged in as? (In the little table top-right corner of the Tactical Overview) Is it 'rblair', 'guest', '?' or something else? Is default_user_name defined? If so, what is it set to? What are the authorized_for_* variables set to? -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Thu Sep 11 20:45:39 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Thu, 11 Sep 2003 12:45:39 -0600 Subject: CGI authentication makes me mad Message-ID: Here we go Tristan, it also make me mad. I have been running nagios 1.0 for 5 months on Red Hat 7.3. I built rpms from the tar balls. Everything was working fine......... Then I upgraded to nagios 1.1, again building the rpms from the tar balls. Now I get the "It appears as though you do not have permission to view information for any of the hosts you requested... " Then I down-graded back to nagios 1.0 and I still get the above error! Even though I am using the same configs from the server that operated for 5 months without any problem! I then went to my lab where I now realize I should have started. I installed nagios 1.0 on one server and 1.1 on another and moved over all of my configs. Same results!!! My .htaccess authentication is working. If I run the CGI scripts from the command line using my username, they generate html source that can be loaded into a browser and successfully viewed with all the ouput and no error. So I assume that my cgi.cfg file, which I haven't touched! is still correct. In my lab environment I have experimented with every possible combination of permissions, turning off authentication, using the nagiocmd group with apache and nagios as members as suggested by the documentation etc. etc. etc. etc.. I have had our web developer look at my Apache configs to make sure I am not crazy!! Meanwhile nagios is running and collecting its data though I can not access it via CGI. Help, Help Help!!!!!!!! Rick Blair Network Engineer USFW 303.202.2687 -------------- next part -------------- An HTML attachment was scrubbed... URL: From morris at unc.edu Thu Sep 11 17:18:52 2003 From: morris at unc.edu (Joe Morris) Date: Thu, 11 Sep 2003 11:18:52 -0400 Subject: snmp_disk help In-Reply-To: References: Message-ID: On Tue, 9 Sep 2003, David Gitman wrote: | I'm very interested to see what you've done. Would you mind posting them? I've attached a few scripts and sample configs. I'm sure these might be written better in Perl or C, but I don't have the time to learn Perl yet (yeah, I know, I need to). Some of them need to write a temporary file in /tmp (or some other location you desire). My net-snmp is configured so that I don't need to specify my community on the command line, so YMMV. Use at your own risk! ;) Tar file will expand about 9 files in your current directory (no paths stored). Remember that using the enterprises.ucdavis.extTable.extEntry.extOutput structure in net-snmp that you can configured to do just about anything. There are a few samples of that in here as well. Sorry for lack of elegance and delay in getting this out, but I've been in overdrive for a few weeks now and still lots of "beginning of the semester" problems are still ongoing. Hope to see folks again at LISA and chat some more. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill -------------- next part -------------- A non-text attachment was scrubbed... Name: UNC_Sample_Nagios_via_SNMP.tar.gz Type: application/x-gzip Size: 4976 bytes Desc: URL: From Shaun.Reitan at NDCHost.com Sat Sep 13 05:21:33 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Fri, 12 Sep 2003 20:21:33 -0700 Subject: NSCA References: <5DB017510818EC468B05BD7BD9EACF83032D498A@mismail.ena.com> Message-ID: <026301c379a6$2229c280$7800000a@lunchbox> Re: [Nagios-users] re: NSCAWhat should the config look like on the monitor end. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net ----- Original Message ----- From: Marc Powell To: Shaun.Reitan at NDCHost.com ; nagios-users at lists.sourceforge.net Sent: Friday, September 12, 2003 5:50 AM Subject: Re: [Nagios-users] re: NSCA I think you want NRPE, not NSCA. NRPE allows you to execute plugins on remote machine (you'll need a copy of the plugins you are interested in on the remote machines. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Shaun Reitan :: NDC Host To: nagios-users at lists.sourceforge.net Sent: Fri Sep 12 03:11:32 2003 Subject: [Nagios-users] re: NSCA i have NSCA installed and want to be able to monitor things like diskspace, memory, cpu, mail queue, etc. I'm really confused about how it works. How do i setup the services for these? I saw a sample config had check_disk but if i use that, it checks the local disk on the nagios server. I read thru the documentation best i could but i'm still confused. Any help with this would be appriciated. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From chad at waterz.net Thu Sep 11 21:06:05 2003 From: chad at waterz.net (Chad Waters) Date: Thu, 11 Sep 2003 15:06:05 -0400 Subject: Debian Unstable-> "Warning: Monitoring process may not be running!" Message-ID: <20030911190605.GA11934@bittwiddlers.com> I'm trying to get the nagios-mysql (nagios 1.1 with mysql support compiled) package running on Debian unstable/Sid. It doesn't seem like the backend CGIs are working I get this: "Warning: Monitoring process may not be running! Click here for more info." More info give's me this: "It appears as though Nagios is not running, so commands are temporarily unavailable..." The nagios process is indeed running, and I can run the scripts at the commandline as www-data (the apache user). The DB seems to be working as it should. Any ideas? -Chad -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From tstocking at insynccom.com Thu Sep 11 20:49:03 2003 From: tstocking at insynccom.com (Thomas Stocking) Date: Thu, 11 Sep 2003 11:49:03 -0700 Subject: check_nt FILEAGE returning odd dates and messages with NSClient 1084 Message-ID: <000a01c37895$5f057800$6a01a8c0@olympus.insynccom.com> Hi all, I'm using the 1.0.8.4 version of NSClient, which incorporates the FILEAGE check. It works on one system. On two others, I only get date 12/31/69 at 7pm for certain files. Same thing if I check a file I know is not there. Anyone seen this issue? Got a clue for me to look at? Some (sanitized) details: Errant Behavior: /usr/local/nagios/libexec/check_nt -H ntsrvr1 -v FILEAGE -l "e:\\files\\file.txt","Date: %D %I:%M:%S %p" -w 5 -c 10 Date: 12/31/69 07:00:00 PM Correct Behavior: /usr/local/nagios/libexec/check_nt -H ntsrvr1 -v FILEAGE -l "c:\\ntldr","Date: %D %I:%M:%S %p" -w 5 -c 10 Date: 08/12/03 01:44:01 PM Thanks, Thomas Thomas Stocking, GCIA, GCIH Captech Partners thomas at captech.com http://www.captech.com (415) 507-9267 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rickblair_mail at yahoo.com Thu Sep 11 23:23:13 2003 From: rickblair_mail at yahoo.com (Rick Blair) Date: Thu, 11 Sep 2003 14:23:13 -0700 (PDT) Subject: CGI permissions problem HELP! Message-ID: <20030911212313.21925.qmail@web21109.mail.yahoo.com> When I try to access the CGI from the link on the nagios web page I am getting the error: It appears as though you do not have permission to view information for any of the hosts you requested... If you believe this is an error, check the HTTP server authentication requirements for accessing this CGI and check the authorization options in your CGI configuration file. I have been running nagios 1.0 for 5 months on Red Hat 7.3. I built rpms from the tar balls. Everything was working fine......... Then I upgraded to nagios 1.1, again building the rpms from the tar balls. Now I get the "It appears as though you do not have permission to view information for any of the hosts you requested... " Then I down-graded back to nagios 1.0 and I still get the above error! Even though I am using the same configs from the server that operated for 5 months without any problem! I then went to my lab where I now realize I should have started. I installed nagios 1.0 on one server and 1.1 on another and moved over all of my configs. Same results!!! These are some things I have tested so far: 1. I have run my CGIs from the command line with my user id and they generate html code with the proper data and I am allowed to run it. I think that rules out cgi.cfg as a problem, especially since I have not touched that file since I had it working before. 2. .htaccess works on the main web page so I have to assume it also works for the CGI directory since I see no error messages for httpd. 3. I have toyed around with the permisions for the directory which contains the nagios.cmd file. I have followed the online documentation step by step in this regaurd and I still get the same results. The only conclusion I can come to is a file permission somewhere. I have made all of my CGIs 755 and everything is owned by nagios:apache. Thanks to anyone who sees this and has some helpful suggestions.! __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Matthew.Quinney at hollandandholland.com Fri Sep 12 00:38:30 2003 From: Matthew.Quinney at hollandandholland.com (Matthew.Quinney at hollandandholland.com) Date: Thu, 11 Sep 2003 23:38:30 +0100 Subject: Problems with nsclient ...Connection refused by host In-Reply-To: <7A626FF425518246801C933014AA98F009D4EE@hou-ex01.ihtx.iland.com> References: <7A626FF425518246801C933014AA98F009D4EE@hou-ex01.ihtx.iland.com> Message-ID: We have used the same check_nt script for v1.07 of nsclient as we have 1.084. However I guess if you run into problems you could always keep your existing check_nt script as is, call the newer version something else and then setup a seperate service for newer hosts. Matthew "Jason Payne - iLand Internet Solutions Corp." Sent by: nagios-users-admin at lists.sourceforge.net 11/09/2003 22:41 To cc Subject RE: [Nagios-users] Problems with nsclient ...Connection refused by host Is it possible to upgrade the service only, or is the service dependant on the check_nt script version? We have nsclient on many hosts and I wouldn't like having to upgrade all of them at once. -Jason -----Original Message----- From: Josh Van As [mailto:JVanas at finncorp.com] Sent: Wednesday, September 10, 2003 9:17 AM To: Matthew.Quinney at hollandandholland.com Cc: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused by host Upgrade to 1.8.4 solved my problems as well? Thanks (everyone) for the help! -----Original Message----- From: Matthew.Quinney at hollandandholland.com [mailto:Matthew.Quinney at hollandandholland.com] Sent: Wednesday, September 10, 2003 9:16 AM To: Josh Van As Cc: nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net Subject: Re: [Nagios-users] Problems with nsclient ...Connection refused by host Josh, I have upgraded a lot of my machines to NSClient 1.084 and that helped stability. Matthew "Josh Van As" Sent by: nagios-users-admin at lists.sourceforge.net 10/09/2003 13:35 To cc Subject [Nagios-users] Problems with nsclient ...Connection refused by host I am running nsclient 1.07.1 on about 10 different Windows 2000/2003 Servers. On 2 of the servers, after a reboot, the nsclient occasionally stops responding to checks?.. I issue the command: ./check_nt -H server.domain -v CPULOAD -l 5,50,80 And the response is: Connection refused by host The service claims to be running on the Windows box. I even try restarting the service to no avail. Does anyone have any idea what might be causing this? TIA! -Josh _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. _____________________________________________________________________ This e-mail has been scanned for viruses by the uuNet Internet Managed Scanning Service - powered by MessageLabs. -------------- next part -------------- An HTML attachment was scrubbed... URL: From morris at unc.edu Fri Sep 12 21:27:59 2003 From: morris at unc.edu (Joe Morris) Date: Fri, 12 Sep 2003 15:27:59 -0400 Subject: snmp_disk help In-Reply-To: References: Message-ID: On Tue, 9 Sep 2003, David Gitman wrote: | I'm very interested to see what you've done. Would you mind posting them? [Resending as the first post did not make it for some reason] I've attached a few scripts and sample configs. I'm sure these might be written better in Perl or C, but I don't have the time to learn Perl yet (yeah, I know, I need to). Some of them need to write a temporary file in /tmp (or some other location you desire). My net-snmp is configured so that I don't need to specify my community on the command line, so YMMV. Use at your own risk! ;) Tar file will expand about 9 files in your current directory (no paths stored). Remember that using the enterprises.ucdavis.extTable.extEntry.extOutput structure in net-snmp that you can configured to do just about anything. There are a few samples of that in here as well. Sorry for lack of elegance and delay in getting this out, but I've been in overdrive for a few weeks now and still lots of "beginning of the semester" problems are still ongoing. Hope to see folks again at LISA and chat some more. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill -------------- next part -------------- A non-text attachment was scrubbed... Name: UNC_Sample_Nagios_via_SNMP.tar.gz Type: application/x-gzip Size: 4976 bytes Desc: URL: From dalyr at vistatec.ie Fri Sep 12 20:07:43 2003 From: dalyr at vistatec.ie (dalyr at vistatec.ie) Date: Fri, 12 Sep 2003 19:07:43 +0100 Subject: Temptrax Message-ID: Hi, Has anyone got MRTG working with the Temptrax ethernet monitor? I've created a config file with the following data: ### Global Config Options # for UNIX WorkDir: /var/www/html/temptrax/ ### Global Defaults ################################################################### # TempTrax Model E Temperature Probes ################################################################### # Probe 1 Temperature Target[tte1-temp]: `/usr/bin/mrtg_temptraxe -H 10.0.0.1 -p 1 --celsius` MaxBytes[tte1-temp]: 200 Title[tte1-temp]: Server Room Temperature PageTop[tte1-temp]:

Server Room Temperature

Options[tte1-temp]: growright,gauge,nopercent YLegend[tte1-temp]: Deg Celsius ShortLegend[tte1-temp]:   LegendI[tte1-temp]:  Temperature: LegendO[tte1-temp]: Legend1[tte1-temp]: Temperature Legend3[tte1-temp]: Maximal 5 Minute Temperature When I run mrtg I get the following error: WARNING: Problem with External get '/usr/bin/mrtg_temptraxe -H 10.0.0.1 -p 1 --celsius': Expected a Number for 'out' but nothing' If I run the command itself it returns a value: [root at nagios mrtg]# /usr/bin/mrtg_temptraxe -H 10.0.0.1 -p 1 --celsius 16 Regards, Ronan ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. www.vistatec.ie ********************************************************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jasmine.chua at securecirt.com Sat Sep 13 16:55:47 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sat, 13 Sep 2003 22:55:47 +0800 Subject: weird problem Message-ID: <200309132255.54296.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all My distributed monitoring server just stops sending passive service check results back to the central monitoring server suddenly, though nagios is running. No one touched the configuration files and it used to work before. Strange thing is that manual execution of submit_check_result works and the central monitoring server is able to received the manual test. And I am able to telnet to the port 5667 of the central server. Any ideas for the failure? Disk space is checked and memory is fine. By doing an lsof on the distributed monitoring server, I could see the FIFO pipe and /dev/null..which I suppose is normal? nagios 1452 nagios 0r CHR 1,3 6 /dev/null nagios 1452 nagios 1w CHR 1,3 6 /dev/null nagios 1452 nagios 2w CHR 1,3 6 /dev/null nagios 1452 nagios 3u unix 0xc1365680 161697807 socket nagios 1452 nagios 4uW REG 3,3 5 783690 /var/nagios/nagios.lock nagios 1452 nagios 5r FIFO 0,5 161697816 pipe nagios 1452 nagios 6w FIFO 0,5 161697816 pipe Thanks, Jas -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Yy/5NgvTa7Hj2AURAhF1AJ0bO2fPCji0l6rtYfr1ydxeky7CRQCfXLte Zx+JeKf0dvMTiKzWGNhoGyY= =LXaZ -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zxcvbnm at tds.net Sat Sep 13 19:46:32 2003 From: zxcvbnm at tds.net (Bryan K. Walton) Date: Sat, 13 Sep 2003 12:46:32 -0500 Subject: Lack of "Additional Info" in alerts Message-ID: <20030913174632.GA13757@weccusa.org> I have a problem that I can't seem to fix regarding information provided in my email notifications. When I receive an email notification regarding a problem detected by Nagios, the details are missing from the "Additional Info" section. I have copied and pasted a recent alert below. The web interface and Nagios logs correctly show the details. They just don't get sent in the email. If anybody can point out where I might look to try and fix this, I would be appreciative. Thanks, Bryan Walton ***** Nagios ***** Notification Type: PROBLEM Service: HTTP Host: trabajo Address: 127.0.0.1 State: CRITICAL Date/Time: Sat Sept 13 12:36:04 CDT 2003 Additional Info: ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sat Sep 13 20:04:13 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 14 Sep 2003 02:04:13 +0800 Subject: Lack of "Additional Info" in alerts In-Reply-To: <20030913174632.GA13757@weccusa.org> References: <20030913174632.GA13757@weccusa.org> Message-ID: <200309140204.15217.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Sunday 14 September 2003 01:46, Bryan K. Walton wrote: > I have a problem that I can't seem to fix regarding information > provided in my email notifications. When I receive an email > notification regarding a problem detected by Nagios, the details are > missing from the "Additional Info" section. I have copied and > pasted a recent alert below. The web interface and Nagios logs > correctly show the details. They just don't get sent in the email. > If anybody can point out where I might look to try and fix this, I > would be appreciative. > > Thanks, > Bryan Walton > > > ***** Nagios ***** > > Notification Type: PROBLEM > > Service: HTTP > Host: trabajo > Address: 127.0.0.1 > State: CRITICAL > > Date/Time: Sat Sept 13 12:36:04 CDT 2003 > > Additional Info: > > > Hi Maybe you would like to check your command definition for notifying emails.. it should consist of this particular macro which should be there by default from the sample configuration files: Additional Info:\n\n$OUTPUT$" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Y1wdNgvTa7Hj2AURAsoWAKCyj6thvcRPNiLP5UU5qN9XsVb13gCdFcCC vxRrZMFeV6rXN/JMuz2Q+yQ= =2CiW -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zxcvbnm at tds.net Sat Sep 13 20:54:12 2003 From: zxcvbnm at tds.net (Bryan K. Walton) Date: Sat, 13 Sep 2003 13:54:12 -0500 Subject: Lack of "Additional Info" in alerts In-Reply-To: <200309140204.15217.jasmine.chua@securecirt.com> References: <20030913174632.GA13757@weccusa.org> <200309140204.15217.jasmine.chua@securecirt.com> Message-ID: <20030913185412.GA16507@weccusa.org> On Sun, Sep 14, 2003 at 02:04:13AM +0800, Jasmine wrote: > > Hi > > Maybe you would like to check your command definition for notifying emails.. > it should consist of this particular macro which should be there by default > from the sample configuration files: > Additional Info:\n\n$OUTPUT$" > Hi, thank you for the suggestion, but it looks like everything is as it should be in the misccommands.cfg file. Here is the relevant section from mine: # '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: $SERVIC EDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } Any other ideas? Thanks, Bryan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jasmine.chua at securecirt.com Sun Sep 14 01:16:01 2003 From: jasmine.chua at securecirt.com (Jasmine) Date: Sun, 14 Sep 2003 07:16:01 +0800 Subject: Lack of "Additional Info" in alerts In-Reply-To: <20030913185412.GA16507@weccusa.org> References: <20030913174632.GA13757@weccusa.org> <200309140204.15217.jasmine.chua@securecirt.com> <20030913185412.GA16507@weccusa.org> Message-ID: <200309140716.02930.jasmine.chua@securecirt.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 > Hi, thank you for the suggestion, but it looks like everything is as > it should be in the misccommands.cfg file. Here is the relevant > section from mine: > > # '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: $SERVIC > EDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: > $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" > > | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - > > $HOSTALIAS$/$SERVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > > Any other ideas? > > Thanks, > Bryan > Hi You are welcome. Try to debug it by running the actual `command_line` in your shell try using strace or something. Just my $0.02 cents. Jasmine -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQE/Y6UxNgvTa7Hj2AURAiFGAJwK0u8gw1l7djDB+GqKxs7SjPjXawCfdfIb EAoyPkhN+xeKRcNEzAPPhhk= =Yphq -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bibsen at bibsen.dk Sun Sep 14 14:41:26 2003 From: bibsen at bibsen.dk (Brian Ibsen) Date: Sun, 14 Sep 2003 14:41:26 +0200 Subject: Host down notification to different contacts within one hostgroup.. Message-ID: <002001c37abd$837b4f50$0601a8c0@bart> Hi all. Are there any way I setup Nagios so that each host in a hostgroup has seperat contacts for host down. As example: Hostgroup has 3 hosts A, B, C and 3 contacts contact_A, contact_B and contact_C If A is "host down" then contact_A should be nofitied.. (along with the hostgroup contact).... but NOT contact_B and contact_C Or is it really nessesary to split them info seperat hostgroups with only one host in each.. bg Brian Ibsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Mon Sep 15 16:18:42 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 10:18:42 -0400 (EDT) Subject: Debian Unstable-> "Warning: Monitoring process may not be running!" In-Reply-To: <20030911190605.GA11934@bittwiddlers.com> References: <20030911190605.GA11934@bittwiddlers.com> Message-ID: On Thu, 11 Sep 2003, Chad Waters wrote: > I'm trying to get the nagios-mysql (nagios 1.1 with mysql support compiled) package > running on Debian unstable/Sid. > > It doesn't seem like the backend CGIs are working There's a command in the cgi.cfg file which checks to see if nagios is running or not.. I'm not sure how the debian package is put together, but this command is commented out in the default config file. It needs to be cutomized for your particular OS and Nagios install, which is why it is commented out by default. Uncomment the 'nagios_check_command' variable in cgi.cfg and fix it up to match your system and things should start working as you expect. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Fri Sep 12 23:56:24 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Fri, 12 Sep 2003 15:56:24 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: Here's my cgi.cfg: use_authentication=1 authorized_for_configuration_information=rblair,jfedewa,mjones authorized_for_system_commands=rblair,jfedewa authorized_for_all_services=rblair authorized_for_all_hosts=rblair authorized_for_all_service_commands=rblair,jfedewa,mjones authorized_for_all_host_commands=rblair,jfedewa,mjones Here's the box in the upper left hand corner of my browser. Current Network Status Last Updated: Fri Sep 12 15:53:03 MDT 2003 Updated every 90 seconds Nagios? - www.nagios.org Logged in as rblair Rick Blair Network Engineer USFW 303.202.2687 |---------+---------------------------> | | Matt Pounsett | | | | | | Sent by: | | | mattp at office-mai| | | l.cira.ca | | | | | | | | | 09/12/2003 03:27| | | PM | | | | |---------+---------------------------> >------------------------------------------------------------------------------------------------------------------------| | | | To: Rick_Blair at fws.gov | | cc: nagios-users at lists.sourceforge.net | | Subject: Re: [Nagios-users] CGI permissions make me mad also! HELP!!!! | >------------------------------------------------------------------------------------------------------------------------| On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > Matt, thanks, this is going above and beyond........... , I really > appreciate it. > > I ran your cgi and this is what I get. > > AUTH_TYPE Basic > REMOTE_USER rblair Okay.. so it would appear that you've at least got HTTP Auth working properly. If this CGI can pick up the user you're logging in with, then the Nagios CGI should be able to as well. Now I think you can concentrate on the cgi.cfg file itself. A couple questions.. What user does Nagios report you being logged in as? (In the little table top-right corner of the Tactical Overview) Is it 'rblair', 'guest', '?' or something else? Is default_user_name defined? If so, what is it set to? What are the authorized_for_* variables set to? -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 15 16:30:48 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 10:30:48 -0400 (EDT) Subject: CGI permissions problem HELP! In-Reply-To: <20030911212313.21925.qmail@web21109.mail.yahoo.com> References: <20030911212313.21925.qmail@web21109.mail.yahoo.com> Message-ID: On Thu, 11 Sep 2003, Rick Blair wrote: > 2. .htaccess works on the main web page so I have to > assume it also works for the CGI directory since I see > no error messages for httpd. You shouldn't need to make this assumption. What user does nagios report you being logged in as? Check the "Tactical Minitoring Overview" table in the top left corner of the "Tactical Overview" page. > The only conclusion I can come to is a file permission > somewhere. I have made all of my CGIs 755 and > everything is owned by nagios:apache. There are still other things that might be at fault. Here are some questions I asked of someone last week which led to a fix of the same problem... these are things people will need to know in order to help you troubleshoot anyway: What user does Nagios think you're logged in as? (see above) Is default_user_name enabled? If so, what is it set to? What is your authorized_for_* variables set to? HTH -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 15 16:34:45 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 10:34:45 -0400 (EDT) Subject: Lack of "Additional Info" in alerts In-Reply-To: <20030913174632.GA13757@weccusa.org> References: <20030913174632.GA13757@weccusa.org> Message-ID: On Sat, 13 Sep 2003, Bryan K. Walton wrote: > correctly show the details. They just don't get sent in the email. > If anybody can point out where I might look to try and fix this, I > would be appreciative. The most obvious place to look is the definition of your notification command(s). That section is mostly likely trying to send the $OUPTUT$ variable.. depending on how your notification command is defined, it may need to be quoted. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Mon Sep 15 17:00:07 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 15 Sep 2003 10:00:07 -0500 (CDT) Subject: CGI permissions make me mad also! HELP!!!! In-Reply-To: References: Message-ID: <4456.192.168.1.15.1063638007.squirrel@xyzzy.homeip.net> I vaguely recall a problem with the parsing of configuration files in Nagios where some things would not work right because of weird characters in the files themselves. The fix was to start over with a new configuration file, like from the samples, and hand-edit it, without pasting, because the weird character would be copied over. So, here's what I would do if I were you, Rick: Copy the configuration files from the samples. Edit it by hand to add all your customizations, or alternatively use Nagwin or some other configuration front-end. Also, if you'll send me your config files, I can look for any weird characters. - Mike > > Here's my cgi.cfg: > > use_authentication=1 > > authorized_for_configuration_information=rblair,jfedewa,mjones > authorized_for_system_commands=rblair,jfedewa > authorized_for_all_services=rblair > authorized_for_all_hosts=rblair > authorized_for_all_service_commands=rblair,jfedewa,mjones > authorized_for_all_host_commands=rblair,jfedewa,mjones > > Here's the box in the upper left hand corner of my browser. > > > > > > > Current Network Status > Last Updated: Fri Sep 12 15:53:03 MDT 2003 > Updated every 90 seconds > Nagios? - www.nagios.org > Logged in as rblair > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 15 17:14:16 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 11:14:16 -0400 (EDT) Subject: CGI permissions make me mad also! HELP!!!! In-Reply-To: References: Message-ID: On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > > Here's my cgi.cfg: > > use_authentication=1 > > authorized_for_configuration_information=rblair,jfedewa,mjones > authorized_for_system_commands=rblair,jfedewa > authorized_for_all_services=rblair > authorized_for_all_hosts=rblair > authorized_for_all_service_commands=rblair,jfedewa,mjones > authorized_for_all_host_commands=rblair,jfedewa,mjones > > Here's the box in the upper left hand corner of my browser. > Logged in as rblair That certainly looks like all the right stuff to me. I'm a relatively new user to Nagios, so I don't know all the little pitfalls.. If I think of anything else I'll let you know. If you want to check permissions.. all my files are owned by nagios:daemon (I compiled nagios to use the daemon group instead of its own custom group). Config files and logs are mode 0644, directories and executables are 0755, and the nagios.cmd file is 2660. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From vtran at emory.edu Mon Sep 15 17:21:13 2003 From: vtran at emory.edu (Vince Tran) Date: Mon, 15 Sep 2003 11:21:13 -0400 Subject: Getting Trends and Status Map cgi to work Message-ID: <006701c37b9d$000734a0$a40a8caa@Eu.Emory.Edu> Nagios users: I was able to get all gd, png, zlib, etc. libraries to compile and install correctly, I think, but could never get trends.cgi and statusmap.cgi to work correctly. For trends.cgi, I would go thru the selection process for hosts or services, but could never get the graphics to display. Has anyone run into this? What am I missing? Thanks for your help in advance. Vince Tran -------------- next part -------------- An HTML attachment was scrubbed... URL: From anthony_brock at ous.edu Mon Sep 15 18:11:42 2003 From: anthony_brock at ous.edu (Anthony Brock) Date: Mon, 15 Sep 2003 09:11:42 -0700 Subject: Lack of "Additional Info" in alerts Message-ID: I'm was also experiencing this type of behavior with Nagios 1.1. After looking into it, it appears that my notify-by-email command was configured to use "/bin/printf". Since this command doesn't exist in RedHat 8, I had to change it to "/usr/bin/printf". Hope this helps! Tony >>> Matt Pounsett 09/15/03 07:34AM >>> On Sat, 13 Sep 2003, Bryan K. Walton wrote: > correctly show the details. They just don't get sent in the email. > If anybody can point out where I might look to try and fix this, I > would be appreciative. The most obvious place to look is the definition of your notification command(s). That section is mostly likely trying to send the $OUPTUT$ variable.. depending on how your notification command is defined, it may need to be quoted. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sobrien at ci.bend.or.us Mon Sep 15 18:54:30 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Mon, 15 Sep 2003 09:54:30 -0700 Subject: check_dns/check_dig In-Reply-To: References: Message-ID: Thanks! Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 Matt Pounsett Sent by: mattp at office-mail.cira.ca 09/11/2003 05:16 PM To Steve OBrien cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] check_dns/check_dig On Thu, 11 Sep 2003, Steve OBrien wrote: > check_command check_dig!172.20.0.5,www.ci.bend.or.us I believe the correct syntax for this is: check_command check_dig!172.20.0.5!www.ci.bend.or.us -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From sobrien at ci.bend.or.us Mon Sep 15 19:05:42 2003 From: sobrien at ci.bend.or.us (Steve OBrien) Date: Mon, 15 Sep 2003 10:05:42 -0700 Subject: Debian Unstable-> "Warning: Monitoring process may not be running!" In-Reply-To: References: Message-ID: When you say "fix it up" how do you tell it to look for the status data in mysql? Steve O'Brien City of Bend Network Administrator sobrien at ci.bend.or.us 541-322-6393 Matt Pounsett Sent by: nagios-users-admin at lists.sourceforge.net 09/15/2003 07:18 AM To Chad Waters cc nagios-users at lists.sourceforge.net Subject Re: [Nagios-users] Debian Unstable-> "Warning: Monitoring process may not be running!" On Thu, 11 Sep 2003, Chad Waters wrote: > I'm trying to get the nagios-mysql (nagios 1.1 with mysql support compiled) package > running on Debian unstable/Sid. > > It doesn't seem like the backend CGIs are working There's a command in the cgi.cfg file which checks to see if nagios is running or not.. I'm not sure how the debian package is put together, but this command is commented out in the default config file. It needs to be cutomized for your particular OS and Nagios install, which is why it is commented out by default. Uncomment the 'nagios_check_command' variable in cgi.cfg and fix it up to match your system and things should start working as you expect. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mpowell at ena.com Mon Sep 15 19:17:42 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 15 Sep 2003 12:17:42 -0500 Subject: Debian Unstable-> "Warning: Monitoring process may not be running!" Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ED95@mismail.ena.com> http://www.nagios.org/faqs/viewfaq.php?faq_id=131&expand=false&showdesc= true -- Marc ________________________________________ From: Steve OBrien [mailto:sobrien at ci.bend.or.us] Sent: Monday, September 15, 2003 12:06 PM To: Matt Pounsett Cc: Chad Waters; nagios-users at lists.sourceforge.net; nagios-users-admin at lists.sourceforge.net When you say "fix it up" how do you tell it to look for the status data in mysql? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Sep 15 19:27:02 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 15 Sep 2003 12:27:02 -0500 Subject: report data other than via HTML? Message-ID: <16229.63078.535355.92490@montanaro.dyndns.org> Is there a way to extract report data (e.g., the Host Availability Report) from Nagios other than by sifting the relevant web pages for that info? I thought I had saved a message about some XML-RPC mods, but I guess I didn't. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Mon Sep 15 19:24:29 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Mon, 15 Sep 2003 13:24:29 -0400 Subject: check_smtp Message-ID: The check_smtp plugin version 1.6, on Debian unstable has started giving me problems over the last week or so. No matter how long I set the timeout period, the check always times out. Checks of other services on the same boxes are fine. When I run check_smtp from the command line to a server that is not currently being monitored, it times out as well. The servers in question do have either inetd or sendmail itself listening at port 25. Any ideas? ---- Charles H. Baker Unix/Linux Systems Administrator chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 If you do what you have always done, you will get what you have always gotten. --Paul J. Meyer ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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+nagios at undergrid.net Mon Sep 15 19:44:29 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Mon, 15 Sep 2003 10:44:29 -0700 Subject: Debian Unstable-> "Warning: Monitoring process may not be running!" In-Reply-To: <20030911190605.GA11934@bittwiddlers.com> References: <20030911190605.GA11934@bittwiddlers.com> Message-ID: <20030915174429.GA23832@UnderGrid.net> As everyone else has already stated this is because of the check_nagios_command which tries to run a plugin which isn't available... I've been working to get the nagios-plugins package ready to upload to Debian unstable but it's been requiring the Nagios package maintainers (one maintainer handling nagios, one handling plugins)... I've waited for some time for the nagios maintainer (Turbo) to respond to my changes without a response... So given the length of time I'm preparing to just NMU it... This NMU includes changes to the depends so this should not be an issue any more as the nagios packages will depend on the the nagios-plugins package... With that change from Recommends to Depends on the plugins I've moved the Depends on the web server to a Recommends so that distributed monitoring servers can be setup on Debian without having the need to install a web server... I have had a few problems reported that I'm trying to fix in my test packages now... I've also had my main devel machine go tits up so I'm fixing that as well... I hope to have it all upload soon though... Regards, Jeremy T. Bouse Aka On Thu, Sep 11, 2003 at 03:06:05PM -0400, Chad Waters wrote: > I'm trying to get the nagios-mysql (nagios 1.1 with mysql support compiled) package > running on Debian unstable/Sid. > > It doesn't seem like the backend CGIs are working > > I get this: > "Warning: Monitoring process may not be running! > Click here for more info." > > More info give's me this: > "It appears as though Nagios is not running, so commands are temporarily > unavailable..." > > The nagios process is indeed running, and I can run the scripts at the > commandline as > www-data (the apache user). > > The DB seems to be working as it should. > > Any ideas? > > -Chad -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From EXCHANGE-SA at nrtc.org Mon Sep 15 19:49:45 2003 From: EXCHANGE-SA at nrtc.org (System Attendant) Date: Mon, 15 Sep 2003 13:49:45 -0400 Subject: ScanMail Message: To Recipient Match eManager setting and take ac tion. Message-ID: <9366A6ACB518D511B54B0008C78609E007ABBADB@exchange.servers.nrtc.coop> **************** eManager Notification ***************** The following mail was blocked since it contains sensitive content. Source mailbox: jeremy+nagios at undergrid.net Destination mailbox(es): nagios-users at lists.sourceforge.net Rule/Policy: Sexual Content Action: Quarantine to C:\Program Files\Trend\SMCF\Quarantine\2003-09-15\13-49-45.48535 Content filter has detected a sexual content e-mail. ******************* End of message ********************* ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 15 20:19:10 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 14:19:10 -0400 (EDT) Subject: Debian Unstable-> "Warning: Monitoring process may not be running!" In-Reply-To: References: Message-ID: On Mon, 15 Sep 2003, Steve OBrien wrote: > When you say "fix it up" how do you tell it to look for the status data in > mysql? Couldn't tell you that. The command that is there by default checks the system process list.. what I mean by "fix it up" is that you need to make sure the string it is searching for matches the way your system's process table lists nagios. I'm afraid I can't be more specific than that without knowing a lot more about what type of system you're running. Check the help details for the check_nagios plugin and the Nagios docs for more. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zxcvbnm at tds.net Mon Sep 15 22:09:21 2003 From: zxcvbnm at tds.net (Bryan K. Walton) Date: Mon, 15 Sep 2003 15:09:21 -0500 Subject: Lack of "Additional Info" in alerts In-Reply-To: References: Message-ID: <20030915200921.GB26552@weccusa.org> Hi Anthony, I got excited afte reading your email. I checked and sure enough, I also didn't have a /bin/printf. So I symlinked it to /usr/bin/printf. That didn't fix it for me however, and sure enough -- my misccommands.cfg was already pointing to /usr/bin/printf. Thanks anyway, Bryan On Mon, Sep 15, 2003 at 09:11:42AM -0700, Anthony Brock wrote: > I'm was also experiencing this type of behavior with Nagios 1.1. After > looking into it, it appears that my notify-by-email command was > configured to use "/bin/printf". Since this command doesn't exist in > RedHat 8, I had to change it to "/usr/bin/printf". > > Hope this helps! > > Tony > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zxcvbnm at tds.net Mon Sep 15 22:12:34 2003 From: zxcvbnm at tds.net (Bryan K. Walton) Date: Mon, 15 Sep 2003 15:12:34 -0500 Subject: Lack of "Additional Info" in alerts In-Reply-To: References: <20030913174632.GA13757@weccusa.org> Message-ID: <20030915201234.GC26552@weccusa.org> Hi Matt, Thank you for your email. I am a little confused. Here is the definition of my notification command below. I have some quotes in there already. Should I be quoting some things? Thanks, Bryan Walton # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /usr/bin/printf "%b" "***** Nagios *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SE RVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ } On Mon, Sep 15, 2003 at 10:34:45AM -0400, Matt Pounsett wrote: > On Sat, 13 Sep 2003, Bryan K. Walton wrote: > > > correctly show the details. They just don't get sent in the email. > > If anybody can point out where I might look to try and fix this, I > > would be appreciative. > > The most obvious place to look is the definition of your notification > command(s). That section is mostly likely trying to send the $OUPTUT$ > variable.. depending on how your notification command is defined, it may need > to be quoted. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zxcvbnm at tds.net Mon Sep 15 22:20:11 2003 From: zxcvbnm at tds.net (Bryan K. Walton) Date: Mon, 15 Sep 2003 15:20:11 -0500 Subject: Lack of "Additional Info" in alerts In-Reply-To: <20030915201234.GC26552@weccusa.org> References: <20030913174632.GA13757@weccusa.org> <20030915201234.GC26552@weccusa.org> Message-ID: <20030915202011.GD26552@weccusa.org> Hi everybody, Can someone tell me where $OUTPUT$ is defined? My notify-by-email command definition is looking for that, and I am wondering if perhaps I simply need to define it somewhere. Thanks, Bryan Walton On Mon, Sep 15, 2003 at 03:12:34PM -0500, Bryan K. Walton wrote: > Hi Matt, > Thank you for your email. I am a little confused. Here is > the definition of my notification command below. I have some quotes in > there already. Should I be quoting some things? > > Thanks, > Bryan Walton > > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SE > RVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > } > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 15 22:28:24 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 16:28:24 -0400 (EDT) Subject: Nagios failing to check services Message-ID: I'm doing some testing of our initial Nagios setup, and have come across a situation I can't find an explanation for. A little while ago, I shut down a host to see how Nagios would handle the loss of services, and whether it would properly report the host as being down instead of firing off a long list of service outage reports. The host has now been down for approximately 23 minutes; three of the six services have gone HARD CRITICAL, while the other three are still being reported as OK. Looking at nagios.log, it is clear that the three OK services have not been checked since the host was powered off, while the three CRITICAL services have each been checked at least 5 times each (max_check_attempts is 5 for the host and its services). The host's check_command hasn't been executed either, but I gather this is never executed until all services have failed (aside: is the host's check_command run when all services are in HARD failure, or all services in SOFT failure?). I can't find any config options that would account for this behavior. Unless the smart inter-check delay method has gone haywire, this seems entirely contrary to some of the basic intentions of the Nagios system. I've included here all the config variables that seem to me light they might be even remotely related to service check scheduling. Can anyone shed some light on this? check_external_commands=1 command_check_interval=-1 log_notifications=1 log_service_retries=1 log_host_retries=1 inter_check_delay_method=s service_interleave_factor=s max_concurrent_checks=0 service_reaper_frequency=10 sleep_time=1 interval_length=60 use_agressive_host_checking=0 execute_service_checks=1 obsess_over_services=0 check_for_orphaned_services=1 check_service_freshness=1 freshness_check_interval=60 aggregate_status_updates=1 status_update_interval=15 enable_flap_detection=1 -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Sep 15 22:31:36 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 15 Sep 2003 15:31:36 -0500 Subject: Lack of "Additional Info" in alerts Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7ED9F@mismail.ena.com> It's internal to the Nagios daemon and varies for every check done as it contains the output of the check command. If it helps, here is a variation that uses echo -- # 'notify-by-email' command definition define command{ command_name notify-by-email command_line /bin/echo -e '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: $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$' | /bin/mail Service $SERVICEDESC$ $SERVICESTATE$ alert for $HOSTNAME $CONTACTEMAIL$ } -- Marc > -----Original Message----- > From: Bryan K. Walton [mailto:zxcvbnm at tds.net] > Sent: Monday, September 15, 2003 3:20 PM > To: nagios-users at lists.sourceforge.net > > Hi everybody, > Can someone tell me where $OUTPUT$ is defined? My > notify-by-email command definition is looking for that, and I am > wondering if perhaps I simply need to define it somewhere. > > Thanks, > Bryan Walton > > On Mon, Sep 15, 2003 at 03:12:34PM -0500, Bryan K. Walton wrote: > > Hi Matt, > > Thank you for your email. I am a little confused. Here is > > the definition of my notification command below. I have some quotes in > > there already. Should I be quoting some things? > > > > Thanks, > > Bryan Walton > > > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** > > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SE > > RVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > } > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Sep 15 22:36:29 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 15 Sep 2003 15:36:29 -0500 Subject: status log documentation? Message-ID: <16230.8909.78414.609421@montanaro.dyndns.org> Is there any written documentation for various log files in /usr/local/nagios/var? They look like they might have (much of) the information I need to generate some local reports, but I'm not sure how to interpret the fields. I peeked at the source in xsddefault.c which looks like the file where some of that info is dumped. It writes out some variable names like time_up, time_down, time_unreachable, etc., but I can't tell how to figure out (for instance) that host X has been up 97.37% of the time in the past week. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 15 22:36:40 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 16:36:40 -0400 (EDT) Subject: Lack of "Additional Info" in alerts In-Reply-To: <20030915202011.GD26552@weccusa.org> References: <20030915202011.GD26552@weccusa.org> Message-ID: On Mon, 15 Sep 2003, Bryan K. Walton wrote: > Hi everybody, > Can someone tell me where $OUTPUT$ is defined? My > notify-by-email command definition is looking for that, and I am > wondering if perhaps I simply need to define it somewhere. $OUTPUT$ is the last line of data returned from a command's command_line.. Like $NOTIFICATIONTYPE$ or $SERVICESTATE$, it is set when a command is run, so you won't see a definition for it anywhere. > # 'notify-by-email' command definition > define command{ > command_name notify-by-email > command_line /usr/bin/printf "%b" "***** Nagios > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SE > RVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ Assuming that the line wraps are a result of your email client, and not the way this is entered into your commands file, and assuming the paths to 'printf' and 'mail' are correct for your system, I don't see any obvious problems with this. For testing purposes, you might want to try adding other data around $OUTPUT$ to see if anything else gets truncated. .$OUTPUT$. instead of $OUTPUT$ for example, and check to see if both periods turn up in your email. This sort of thing could lead you to conclude whether it is or is not the notification command syntax which is at fault, or the check command (which might not be returning any output). -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From zxcvbnm at tds.net Mon Sep 15 23:07:04 2003 From: zxcvbnm at tds.net (Bryan K. Walton) Date: Mon, 15 Sep 2003 16:07:04 -0500 Subject: Lack of "Additional Info" in alerts In-Reply-To: References: <20030915202011.GD26552@weccusa.org> Message-ID: <20030915210704.GE26552@weccusa.org> Hi Matt, Thanks for your reply. I had not thought to try the periods before and after $OUTPUT$. That got my brain thinking in the right direction After trying a couple of variations in the syntax, I found my problem -- I needed to add a "\n\n" immediately after $OUTPUT$. Not sure why, but that fixed it for me. Thanks everybody! Bryan On Mon, Sep 15, 2003 at 04:36:40PM -0400, Matt Pounsett wrote: > On Mon, 15 Sep 2003, Bryan K. Walton wrote: > > > Hi everybody, > > Can someone tell me where $OUTPUT$ is defined? My > > notify-by-email command definition is looking for that, and I am > > wondering if perhaps I simply need to define it somewhere. > > $OUTPUT$ is the last line of data returned from a command's command_line.. > Like $NOTIFICATIONTYPE$ or $SERVICESTATE$, it is set when a command is run, so > you won't see a definition for it anywhere. > > > # 'notify-by-email' command definition > > define command{ > > command_name notify-by-email > > command_line /usr/bin/printf "%b" "***** Nagios > > *****\n\nNotification Type: $NOTIFICATIONTYPE$\n\nService: > > $SERVICEDESC$\nHost: $HOSTALIAS$\nAddress: > > $HOSTADDRESS$\nState: $SERVICESTATE$\n\nDate/Time: > > $DATETIME$\n\nAdditional Info:\n\n$OUTPUT$" | /usr/bin/mail -s "** > > $NOTIFICATIONTYPE$ alert - $HOSTALIAS$/$SE > > RVICEDESC$ is $SERVICESTATE$ **" $CONTACTEMAIL$ > > Assuming that the line wraps are a result of your email client, and not the > way this is entered into your commands file, and assuming the paths to > 'printf' and 'mail' are correct for your system, I don't see any obvious > problems with this. > > For testing purposes, you might want to try adding other data around $OUTPUT$ > to see if anything else gets truncated. .$OUTPUT$. instead of $OUTPUT$ for > example, and check to see if both periods turn up in your email. This sort of > thing could lead you to conclude whether it is or is not the notification > command syntax which is at fault, or the check command (which might not be > returning any output). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Sep 15 23:12:33 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 15 Sep 2003 16:12:33 -0500 Subject: status log documentation? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EDA1@mismail.ena.com> Here's the format of status.sav -- http://www.nagios.org/faqs/viewfaq.php?faq_id=66&expand=false&showdesc=t rue that's only current info though. To determine historical data you would need to parse nagios.log and archives/*. While I'm not logging all data to nagios.log, the format looks pretty straightforward -- [[timestamp]] SERVICE ALERT: [hostname];[service];[STATE];[HARD | SOFT];[check attempt?];[plugin output] [[timestamp]] HOST ALERT: [hostname];[STATE];[HARD | SOFT];[check attempt?];[plugin output] -- Marc > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > Sent: Monday, September 15, 2003 3:36 PM > To: nagios-users at lists.sourceforge.net > > Is there any written documentation for various log files in > /usr/local/nagios/var? They look like they might have (much of) the > information I need to generate some local reports, but I'm not sure how to > interpret the fields. I peeked at the source in xsddefault.c which looks > like the file where some of that info is dumped. It writes out some > variable names like time_up, time_down, time_unreachable, etc., but I > can't > tell how to figure out (for instance) that host X has been up 97.37% of > the > time in the past week. > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > http://www.mojam.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Mon Sep 15 23:38:11 2003 From: skip at pobox.com (Skip Montanaro) Date: Mon, 15 Sep 2003 16:38:11 -0500 Subject: [Nagios-users] status log documentation? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EDA1@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EDA1@mismail.ena.com> Message-ID: <16230.12611.496915.837205@montanaro.dyndns.org> Marc> Here's the format of status.sav -- Marc> http://www.nagios.org/faqs/viewfaq.php?faq_id=66&expand=false&showdesc=true Much appreciated. Marc> that's only current info though. To determine historical data you Marc> would need to parse nagios.log and archives/*. While I'm not Marc> logging all data to nagios.log, the format looks pretty Marc> straightforward -- Marc> [[timestamp]] SERVICE ALERT: [hostname];[service];[STATE];[HARD | Marc> SOFT];[check attempt?];[plugin output] Marc> [[timestamp]] HOST ALERT: [hostname];[STATE];[HARD | SOFT];[check Marc> attempt?];[plugin output] What do you mean when you say, "While I'm not logging all data to nagios.log..."? I understand that you peeked at the nagios.log file and came up with a plausible description of the format, but don't understand how that phrase related to that fact. Maybe my internal English parser has a grouping error and I'm just reading that sentence wrong. Thanks for the clues on the format of the nagios.log files. That looks for the most part like what I need. I'm mostly after current service/host status and percent uptime for the past week. Note to the folks working on Nagios 2.0: It would be real nice if you made the log file format an actual CSV file (a semicolon delimiter is fine). You're about 90% of the way there as it is. For the most part, all you need to do is make sure each bit of data is in its own field and make sure the delimiter (semicolon in this case) is properly quoted wherever it appears. For example, instead of [1063642433] SERVICE ALERT: ns.northwestern.edu;PH;OK;SOFT;2;OK - query succeeded this would be nicer: 1063642433;SERVICE ALERT;ns.northwestern.edu;PH;OK;SOFT;2;OK - query succeeded and if the plugin output contained a semicolon, it would be quoted with "...". That would allow CSV parsers available for Python and Perl (and probably several other languages) to suck that data in with no muss or fuss. A first line containing column names in each file would also be useful. In situations where you log varying types of data to the file, e.g.: [1063643414] LOG ROTATION: DAILY [1063643951] Auto-save of retention data completed successfully. [1063644861] SERVICE ALERT: mojam;HTTP;CRITICAL;SOFT;1;Socket timeout after 10 seconds all you need to do is make sure that the second field always reflects the type of message: 1063643414;LOG ROTATION;DAILY 1063643951;Message;Auto-save of retention data completed successfully. 1063644861;SERVICE ALERT;mojam;HTTP;CRITICAL;SOFT;1;Socket timeout after 10 seconds -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From mpowell at ena.com Mon Sep 15 23:49:16 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 15 Sep 2003 16:49:16 -0500 Subject: [Nagios-users] status log documentation? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EDA2@mismail.ena.com> > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > > Marc> that's only current info though. To determine historical data > you > Marc> would need to parse nagios.log and archives/*. While I'm not > Marc> logging all data to nagios.log, the format looks pretty > Marc> straightforward -- > > Marc> [[timestamp]] SERVICE ALERT: [hostname];[service];[STATE];[HARD > | > Marc> SOFT];[check attempt?];[plugin output] > Marc> [[timestamp]] HOST ALERT: [hostname];[STATE];[HARD | > SOFT];[check > Marc> attempt?];[plugin output] > > What do you mean when you say, "While I'm not logging all data to > nagios.log..."? I understand that you peeked at the nagios.log file and > came up with a plausible description of the format, but don't understand > how > that phrase related to that fact. Maybe my internal English parser has a > grouping error and I'm just reading that sentence wrong. I'm not logging things like host retries, passive service checks or external commands. There are several other options in nagios.cfg related to logging to nagios.log that can be enabled or disabled in your environment. -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From Rick_Blair at fws.gov Mon Sep 15 18:27:21 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Mon, 15 Sep 2003 10:27:21 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: My files are nagios:apache and my permissions are the same as you have below. Rick Blair Network Engineer USFW 303.202.2687 Matt Pounsett Sent by: mattp at office-mail.cira.ca 09/15/2003 09:14 AM To: Rick_Blair at fws.gov cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CGI permissions make me mad also! HELP!!!! On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > > Here's my cgi.cfg: > > use_authentication=1 > > authorized_for_configuration_information=rblair,jfedewa,mjones > authorized_for_system_commands=rblair,jfedewa > authorized_for_all_services=rblair > authorized_for_all_hosts=rblair > authorized_for_all_service_commands=rblair,jfedewa,mjones > authorized_for_all_host_commands=rblair,jfedewa,mjones > > Here's the box in the upper left hand corner of my browser. > Logged in as rblair That certainly looks like all the right stuff to me. I'm a relatively new user to Nagios, so I don't know all the little pitfalls.. If I think of anything else I'll let you know. If you want to check permissions.. all my files are owned by nagios:daemon (I compiled nagios to use the daemon group instead of its own custom group). Config files and logs are mode 0644, directories and executables are 0755, and the nagios.cmd file is 2660. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca -------------- next part -------------- An HTML attachment was scrubbed... URL: From Rick_Blair at fws.gov Mon Sep 15 18:37:45 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Mon, 15 Sep 2003 10:37:45 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: Here's my cgi.cfg file, thanks for your help!!!! Rick Blair Network Engineer USFW 303.202.2687 "Mike McClure" Sent by: nagios-users-admin at lists.sourceforge.net 09/15/2003 09:00 AM To: nagios-users at lists.sourceforge.net cc: Subject: Re: [Nagios-users] CGI permissions make me mad also! HELP!!!! I vaguely recall a problem with the parsing of configuration files in Nagios where some things would not work right because of weird characters in the files themselves. The fix was to start over with a new configuration file, like from the samples, and hand-edit it, without pasting, because the weird character would be copied over. So, here's what I would do if I were you, Rick: Copy the configuration files from the samples. Edit it by hand to add all your customizations, or alternatively use Nagwin or some other configuration front-end. Also, if you'll send me your config files, I can look for any weird characters. - Mike > > Here's my cgi.cfg: > > use_authentication=1 > > authorized_for_configuration_information=rblair,jfedewa,mjones > authorized_for_system_commands=rblair,jfedewa > authorized_for_all_services=rblair > authorized_for_all_hosts=rblair > authorized_for_all_service_commands=rblair,jfedewa,mjones > authorized_for_all_host_commands=rblair,jfedewa,mjones > > Here's the box in the upper left hand corner of my browser. > > > > > > > Current Network Status > Last Updated: Fri Sep 12 15:53:03 MDT 2003 > Updated every 90 seconds > Nagios? - www.nagios.org > Logged in as rblair > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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: cgi.cfg Type: application/octet-stream Size: 17219 bytes Desc: not available URL: From Mark.Snyder at worldgaming.com Mon Sep 15 23:59:36 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Mon, 15 Sep 2003 17:59:36 -0400 Subject: Monitoring mirroring Message-ID: <44DEF9C222BF4A47B3A361765EC17337175FC4@anakin.worldgaming.local> Is there a check for monitoring mirrored disks? Maybe monitoring the output from a metastat command? Mark ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 16 01:29:49 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 15 Sep 2003 19:29:49 -0400 (EDT) Subject: user-defined resources not properly expanded as command arguments Message-ID: Another interesting problem I can't seem to trace. Late yesterday, my check_mysql command suddenly started failing. A check of my logs indicated that Nagios was suddenly trying to login as $@localhost. Further testing has narrowed down the problem to expansion of user-defined resources when used as command arguments. Here are the particulars: in resources.cfg -------- $USER1$=/usr/local/libexec/nagios/ $USER2$=/usr/local/site/nagios/ $USER3$=mysqluser $USER4$=sqlpassword -------- in checkcommands.cfg -------- define command { command_name check_mysql command_line $USER1$/check_mysql -u $ARG1$ -p $ARG2$ } -------- in hosts.cfg -------- define service { use templateService host_name myhost.dom.com service_description MySQL check_command check_mysql!$USER3$!$USER4$ } -------- When check_mysql executes, Nagios is running the following command: /usr/local/nagios/libexec/check_mysql -u $ -p $ This begins to work correctly if I put the user/pass directly into the MySQL service definition, or if I replace the ARGx entries with USERx entries in the check_mysql command definition. I've tried rebuilding the hosts file from scratch to rule out the nebulous "strange characters" bug (even though vim would warn me if anything non printable were in the file) with no luck. If this hadn't worked at one point I would just assume that USERx variables couldn't be used in service definitions... but it did work up until last night. Any thoughts? -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stripp at myclearwave.net Tue Sep 16 03:02:31 2003 From: stripp at myclearwave.net (Yoder the Sheepherder) Date: Mon, 15 Sep 2003 20:02:31 -0500 Subject: check_smtp In-Reply-To: References: Message-ID: <3F666127.1010106@myclearwave.net> I've had the same problem with it on Redhat. It was working for quite some time, then stopped. I'm using check_smtp from nagios plugins 1.3.1 on Redhat 9. chbaker at powersystems.rockwell.com wrote: > The check_smtp plugin version 1.6, on Debian unstable has started giving me > problems over the last week or so. No matter how long I set the timeout > period, the check always times out. Checks of other services on the same > boxes are fine. When I run check_smtp from the command line to a server > that is not currently being monitored, it times out as well. The servers in > question do have either inetd or sendmail itself listening at port 25. Any > ideas? > > ---- > Charles H. Baker > Unix/Linux Systems Administrator > chbaker at powersystems dot rockwell dot com > work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 > If you do what you have always done, you will get what you have always > gotten. --Paul J. Meyer > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- In a time of universal lies, Telling the Truth is a revolutionary act - George Orwell ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Tue Sep 16 03:40:15 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Mon, 15 Sep 2003 20:40:15 -0500 (CDT) Subject: CGI permissions make me mad also! HELP!!!! In-Reply-To: References: Message-ID: <1220.192.168.1.32.1063676415.squirrel@xyzzy.homeip.net> Sorry, no weird characters found. Your config looks fine, as far as I can tell. - Mike > Here's my cgi.cfg file, thanks for your help!!!! > > > > Rick Blair > Network Engineer > USFW > 303.202.2687 > > > > > "Mike McClure" > Sent by: nagios-users-admin at lists.sourceforge.net > 09/15/2003 09:00 AM > > > To: nagios-users at lists.sourceforge.net > cc: > Subject: Re: [Nagios-users] CGI permissions make me mad also! > HELP!!!! > > > I vaguely recall a problem with the parsing of configuration files in > Nagios where > some things would not work right because of weird characters in the files > themselves. > > The fix was to start over with a new configuration file, like from the > samples, and > hand-edit it, without pasting, because the weird character would be copied > over. > > So, here's what I would do if I were you, Rick: Copy the configuration > files from > the samples. Edit it by hand to add all your customizations, or > alternatively use > Nagwin or some other configuration front-end. > > Also, if you'll send me your config files, I can look for any weird > characters. > > - Mike > > >> >> Here's my cgi.cfg: >> >> use_authentication=1 >> >> authorized_for_configuration_information=rblair,jfedewa,mjones >> authorized_for_system_commands=rblair,jfedewa >> authorized_for_all_services=rblair >> authorized_for_all_hosts=rblair >> authorized_for_all_service_commands=rblair,jfedewa,mjones >> authorized_for_all_host_commands=rblair,jfedewa,mjones >> >> Here's the box in the upper left hand corner of my browser. >> >> >> >> >> >> >> Current Network Status >> Last Updated: Fri Sep 12 15:53:03 MDT 2003 >> Updated every 90 seconds >> Nagios? - www.nagios.org >> Logged in as rblair >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure [at] pneservices [dot] com > mobile: 913-636-5590 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ward at hawaii.edu Tue Sep 16 03:40:02 2003 From: ward at hawaii.edu (Ward Takamiya) Date: Mon, 15 Sep 2003 15:40:02 -1000 Subject: Comment/Downtime and Case Sensitivity Message-ID: After many frustrating days of wondering why I couldn't post a comment or downtime message (I had been getting the infamous "Sorry, but you are not authorized to commit the specified command" message), I have discovered that it will only work if I enter the host name exactly as defined (paying attention to upper and lower case characters). I'm not sure if it's just my server (Nagios 1.1 on Darwin, Mac OS X) or it's the general case. I think it's more than a nuisance because the host names I have defined have upper and lower case characters and if the other users with try to post a comment and enter the name in all lower case (as I had been doing), they'll only get the quite useless error message. I tried to change the cmd.cgi to use strcasecmp instead of strcmp, but my C is quite rusty and it didn't seem to make any difference. Is this something particular to my setup? If anyone has any ideas of what else I can try, please let me know. Thanks in advance. -Ward %// %// Ward I. Takamiya Information Technology Services %// ward at hawaii.edu University of Hawai`i %// phone: 808.956.8144 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 16 06:31:52 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 16 Sep 2003 00:31:52 -0400 (EDT) Subject: check_smtp In-Reply-To: References: Message-ID: On Mon, 15 Sep 2003 chbaker at powersystems.rockwell.com wrote: > The check_smtp plugin version 1.6, on Debian unstable has started giving me > problems over the last week or so. No matter how long I set the timeout > period, the check always times out. Checks of other services on the same > boxes are fine. When I run check_smtp from the command line to a server > that is not currently being monitored, it times out as well. The servers in > question do have either inetd or sendmail itself listening at port 25. Any > ideas? > umm - sendmail or any MTA probably should not be run form inetd... If sendmail it self is listening to port 25 - can you run check_tcp from nagios to the mail server to verify tcp connectivity? Are there any tools running on the mail server that help you establish the "normal" delay before the MTA prints out the initial message? -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 16 06:35:46 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 16 Sep 2003 00:35:46 -0400 (EDT) Subject: report data other than via HTML? In-Reply-To: <16229.63078.535355.92490@montanaro.dyndns.org> References: <16229.63078.535355.92490@montanaro.dyndns.org> Message-ID: On Mon, 15 Sep 2003, Skip Montanaro wrote: > Is there a way to extract report data (e.g., the Host Availability Report) > from Nagios other than by sifting the relevant web pages for that info? I > thought I had saved a message about some XML-RPC mods, but I guess I didn't. > > Thanks, > > http://nxe.sourceforge.net/ -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 16 06:44:22 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 16 Sep 2003 00:44:22 -0400 (EDT) Subject: [Nagios-users] status log documentation? In-Reply-To: <16230.12611.496915.837205@montanaro.dyndns.org> References: <16230.12611.496915.837205@montanaro.dyndns.org> Message-ID: On Mon, 15 Sep 2003, Skip Montanaro wrote: > > Note to the folks working on Nagios 2.0: It would be real nice if you made > the log file format an actual CSV file (a semicolon delimiter is fine). > You're about 90% of the way there as it is. For the most part, all you need > to do is make sure each bit of data is in its own field and make sure the > delimiter (semicolon in this case) is properly quoted wherever it appears. > For example, instead of Nagios 2 should be able to suport a number of formats with the NXE add-on nxe.sf.net -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From sghosh at sghosh.org Tue Sep 16 06:41:22 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 16 Sep 2003 00:41:22 -0400 (EDT) Subject: check_smtp In-Reply-To: <3F666127.1010106@myclearwave.net> References: <3F666127.1010106@myclearwave.net> Message-ID: What are the args to check_smtp in your config? On Mon, 15 Sep 2003, Yoder the Sheepherder wrote: > I've had the same problem with it on Redhat. It was working for quite > some time, then stopped. I'm using check_smtp from nagios plugins 1.3.1 > on Redhat 9. > > chbaker at powersystems.rockwell.com wrote: > > > The check_smtp plugin version 1.6, on Debian unstable has started giving me > > problems over the last week or so. No matter how long I set the timeout > > period, the check always times out. Checks of other services on the same > > boxes are fine. When I run check_smtp from the command line to a server > > that is not currently being monitored, it times out as well. The servers in > > question do have either inetd or sendmail itself listening at port 25. Any > > ideas? > > -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 16 06:39:29 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 16 Sep 2003 00:39:29 -0400 (EDT) Subject: scheduling queue In-Reply-To: <3F61A6CB.3010002@adm.vxu.se> References: <3F61A6CB.3010002@adm.vxu.se> Message-ID: On Fri, 12 Sep 2003, Tomas Hautala wrote: > I've got a question reguarding the scheduling queue. > Where is the queue writen to? > Is there a file that contains every scheduled check? > Only kept in memory... -- -sg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 16 06:47:50 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Tue, 16 Sep 2003 00:47:50 -0400 (EDT) Subject: Monitoring mirroring In-Reply-To: <44DEF9C222BF4A47B3A361765EC17337175FC4@anakin.worldgaming.local> References: <44DEF9C222BF4A47B3A361765EC17337175FC4@anakin.worldgaming.local> Message-ID: On Mon, 15 Sep 2003, Mark Snyder wrote: > Is there a check for monitoring mirrored disks? Maybe monitoring the output from a metastat command? A couple of version that quite haven't made there way into the distribution. -- -sg -------------- next part -------------- #!/usr/bin/perl -w # check_metastat Nagios Plugin - Version 1.0 # Last Updated: 5/12/2003 # # Report any bugs/questions to Russell Scibetti at nagios at quadrix.com use Getopt::Long; &Getopt::Long::config('bundling'); #YOU MUST SET YOUR PATH PROPERLY! $ENV{PATH} = "/usr/opt/SUNWmd/sbin:/usr/sbin:$ENV{PATH}"; GetOptions ("V" => \$version, "version" => \$version, "h" => \$help, "help" => \$help, "v" => \$verbose, "verbose" => \$verbose, "e=s" => \$error, "error=s" => \$error); if ($version) { printVersion(); exit 3; } if ($help) { printVersion(); printHelp(); exit 3; } if (!$error) { $error = "Matinenance|Error"; } my $disk = ""; my $cmd = "metastat"; foreach $_ (`$cmd`) { chomp; if (/$error/) { $failure = 1; if (!(/State:/)) { @data = split; if ($disk) { $disk .= ", $data[0]"; } else { $disk = $data[0]; } } } $lastline = $_; } $exitcode = $? >> 8; if ($exitcode == 0) { if ($failure) { if ($disk) { printf "CRITICAL - Error on disk $disk\n"; exit 2; } else { printf "CRITICAL - MetaStat Disk Error Found\n"; exit 2; } } else { printf "OK - No Disk Errors\n"; exit 0; } } else { printf "Metastat command error: $lastline\n"; exit $exitcode; } ################################ # # Version and Help Information # ################################ sub printVersion { printf <) $0 --help $0 --version NOTE: -H and -C must BOTH be specified Options: -e, --error= Regular Expression to match for as an Error (Default = "Maintenance|Error") -v, --verbose Show each line of output from metastat -h, --help Print detailed help screen -V, --version Print version information EOF } -------------- next part -------------- A non-text attachment was scrubbed... Name: check_metadisk.sh Type: application/x-sh Size: 4180 bytes Desc: URL: From alikhalidi at excite.com Tue Sep 16 08:21:42 2003 From: alikhalidi at excite.com (ali) Date: Tue, 16 Sep 2003 02:21:42 -0400 (EDT) Subject: RES: Urgent: nagios + apan memory chewing up Message-ID: <20030916062142.ACCBE1E43A@xmxpita.excite.com> sorry for taking too long to answer.I have a bit more than your number of services now, and the end result that I've reached is that I've used NAGIOS version 1.0 compiled from source along with apan, and its working perfectly fine. I've played with concurrent_checks parameter to the extent where the:nagios -s /usr/local/nagios/etc, but always used the value proposed value. Ali Al-Khalidi--- On Wed 09/10, Marcio Queiroz < marcioqueiroz at vicom.com.br > wrote:From: Marcio Queiroz [mailto: marcioqueiroz at vicom.com.br]To: mav at juniper.net, alikhalidi at excite.com, chet at rcn.com, nagios-users at lists.sourceforge.netCc: marcioqueiroz at vicom.com.brDate: Wed, 10 Sep 2003 12:08:57 -0300Subject: RES: [Nagios-users] Urgent: nagios + apan memory chewing upI have 200 services using apan and i have the same problem, but it onlyhappens when i increse the number_of_concurrent_checks for more than 30. Theproblem is that if i limit in 30, my check latency goes for something like 5minutes. If the solution is to take off apan, i would like to know. Anyideias ?[]sMarcio Q. Dall Agnolphone : 55-21-3873-5826Fax : 55-21-3873-5845marcioqueiroz at vicom.com.brVICOMNet Servi?os de Comunica??o S/AVisite nossas p?ginas:Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com> ----- Mensagem original -----> De: Ian Davidson [SMTP:mav at juniper.net]> Enviada em: quarta-feira, 10 de setembro de 2003 09:59> Para: alikhalidi at excite.com; chet at rcn.com;> nagios-users at lists.sourceforge.net> Cc: marcioqueiroz at vicom.com.br> Assunto: RE: [Nagios-users] Urgent: nagios + apan memory> chewing up> > What was the final conclusion to all of this? I've just hit the same> problem of swap-space being chewed up to the point of distraction but> cannot pinpoint from this thread what the exact -fix- is. Is it really> the perl stuff that's causing it to barf?> > Cheers,> > Ian> > > > ______________ __________________> > From: nagios-users-admin at lists.sourceforge.net> [mailto:nagios-users-admin at lists.sourceforge.net] On Behalf Of ali> Sent: 16 August 2003 08:30> To: chet at rcn.com; alikhalidi at excite.com;> nagios-users at lists.sourceforge.net> Cc: marcioqueiroz at vicom.com.br> > > > Thanks for the reply, and I realy appriciate your input.> I have my nagios installed from an RPM, version 1.1> I've read somewhere in the posts about this recommendation (compile> without embedded per and perl cache), but after I've checed the RPM spec> built file, it seems that the person who built the RPM has disabled> these two options for RedHat 8 and 9. so I am running a version with> these two options off (any other suggestions), but I might have mis-read> the sepc file!.> > So you're telling me that nagios (v 1.1) has this core problem, even> without Embeded Perl and Perl Cache, or is it this factor that you> eleminated to ge t around the problem, please clearify the issue> pertaining to the nagios plugings (especially check_snmp)?> Has the disabling of these two options solved the problem completely in> your case (because if so, I can drop ! the RPMS and go for source)?> > thanks,> > > > > > --- On Thu 08/14, Chet Luther < chet at rcn.com > wrote:> > > From: Chet Luther [mailto: chet at rcn.com]> To: alikhalidi at excite.com, nagios-users at lists.sourceforge.net> Cc: marcioqueiroz at vicom.com.br> Date: Thu, 14 Aug 2003 11:00:13 -0400> Subject: Re: [Nagios-users] Urgent: nagios + apan memory chewing> up> > Ali,> Recompile Nagios without embedded perl or perl caching support.> I had> this same problem, and it was due to global namespace pollution> in the> embedded perl cache. The real solution to this problem would be> rewriting> all the perl plugins/extensions in a mod_perl safe way, but I> don't see any> initiati ve to get that done.> > Hope this helps,> > Chet Luther> chet at rcn.com> > ----- Original Message ----- > From: ali> To: nagios-users at lists.sourceforge.net> Sent: Thursday, August 14, 2003 5:40 AM> Subject: [Nagios-users] Urgent: nagios + apan memory chewing up> > ! Greetings,> > I am experiencing a strange behaiviour for nagios and apan.> I'de run nagios for a long time, using the standard plugins> (check_host_alive for 50 services), and my system> (CPU 1GHz, RAM 512, swap 512) was very stable.> not untill I've installed apan (155 services) that the server> starts chewing> memory so fast that the system becomes cloged and the only way> to regain> control for the system is to REBOOT.> I've read and practiced a lot with the tunning paramers of> nagios, and> reached a level where these parameters> max_concurrent_checks (for concurrency)> service_reaper_freq> size of rrd files (to prevent caching of large databse files)> added the -m to snmp_get (based on a recommendation of one of> the users) to> disable the loading of the mib with each call> > but all with no help. I can't put my hands on the problem.the> system starts> memory usage in almost a linear fashion, untill the free section> of> buffers/cache st! arts comming down, and the systems goes to> swap till it> exhast all system Memory.> it is only the difference between the concurrency factor> (max_concurrent_checks) that slows down the rate at which memory> is lost.> > its a production system, and I really appriciate help> > thanks,> > > > > > > ________________________________> > Join Excite! - http://www.excite.com> The most personalized portal on the Web! > > > -------------------------------------------------------> This sf.net email is sponsored by:ThinkGeek> Welcome to geek heaven.> http://thinkgeek.com/sf> _______________________________________________> Nagios-users mailing list> Nagios-users at lists.sourceforge.net> https://lis ts.sourceforge.net/lists/listinfo/nagios-users> ::: Please include Nagios version, plugin version (-v) and OS when> reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null _______________________________________________ Join Excite! - http://www.excite.com The most personalized portal on the Web! -------------- next part -------------- An HTML attachment was scrubbed... URL: From marco.ciullini at datamar.it Tue Sep 16 12:22:49 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Tue, 16 Sep 2003 12:22:49 +0200 Subject: check_ping from 2 interfaces Message-ID: <3F66E479.20702@datamar.it> Hi all, I am running nagios 1.1 on a RH7.3 All is workin fine, but due to a "restriction" of one of my ISP, I'am having a problem that I am going to explain: I have 2 ISP connected to my nagios box (through a firewall). One is for inbound traffic, 1 for outbound. To manage routing more easily, I created a virtual network device eth0:1. By default, all outgoing traffic use eth0, and I set up nat on firewall to connect the second IP (eth0:1) for incoming traffic. All was working fine: active checks originated from eth0 are routed to one ISP, and passive checks results (nsca) are received via the second ISP. Problem: the first ISP has configured their router to limit the ICMP traffic. So, after a couple of days working fine, nagios check alive (and check_ping) does not work properly (timeout). Temp solution: turn off icmp traffic for 2 or 3 ours, and then turn it on: ithe check_ping works again. the command ping has the option -I, so that you can specify what interface to originate packets. Is there something similar in check_ping? Other solutions? Thanks a lot. -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stripp at myclearwave.net Tue Sep 16 14:51:49 2003 From: stripp at myclearwave.net (Yoder the Sheepherder) Date: Tue, 16 Sep 2003 07:51:49 -0500 Subject: check_smtp In-Reply-To: References: Message-ID: <3F670765.4050305@myclearwave.net> The only arg I'm using is -H although I have tried it with -p, -e, and -f. I'm going back and checking to see if sendmail was updated around the time this happened, but I do not believe so. Subhendu Ghosh wrote: > What are the args to check_smtp in your config? > > On Mon, 15 Sep 2003, Yoder the Sheepherder wrote: > > >>I've had the same problem with it on Redhat. It was working for quite >>some time, then stopped. I'm using check_smtp from nagios plugins 1.3.1 >>on Redhat 9. >> >>chbaker at powersystems.rockwell.com wrote: >> >> >>>The check_smtp plugin version 1.6, on Debian unstable has started giving me >>>problems over the last week or so. No matter how long I set the timeout >>>period, the check always times out. Checks of other services on the same >>>boxes are fine. When I run check_smtp from the command line to a server >>>that is not currently being monitored, it times out as well. The servers in >>>question do have either inetd or sendmail itself listening at port 25. Any >>>ideas? >>> > > -- In a time of universal lies, Telling the Truth is a revolutionary act - George Orwell ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris at peaknetworks.com Tue Sep 16 15:06:50 2003 From: chris at peaknetworks.com (Chris Hale) Date: Tue, 16 Sep 2003 09:06:50 -0400 Subject: $$$$ - looking for quote to build a Nagios system... Message-ID: <3F670AEA.2070207@peaknetworks.com> All, I'm looking to get a Nagios system up and running. We don't have the time to get it running ourselves, but would like to see some quotes on getting Nagios up and running for some basic monitoring and alerting. We'd like to see and learn how to manage and grow Nagios once you've built the system for us, so please include 3 months of support with your quote. Support will only include such things as break/fix, teaching us how to add new devices to the monitoring and alerting list, etc. If you have any questions or have a document and/or checklist that will help us better aid you in delivering your quote, please feel free to forward this to me off-list. Thanks, Chris -- Chris Hale Peak Networks, Inc. Motorola Authorized Canopy Solutions Provider 32 Third Avenue Burlington, MA 01803 TEL: 781-425-6500 FAX: 603-484-4770 chris_at_peaknetworks.com http://www.peaknetworks.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Sep 16 15:19:21 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 16 Sep 2003 08:19:21 -0500 Subject: Monitoring mirroring In-Reply-To: <44DEF9C222BF4A47B3A361765EC17337175FC4@anakin.worldgaming.local> References: <44DEF9C222BF4A47B3A361765EC17337175FC4@anakin.worldgaming.local> Message-ID: <16231.3545.412487.80009@montanaro.dyndns.org> Mark> Is there a check for monitoring mirrored disks? Maybe monitoring Mark> the output from a metastat command? What sort of conditions do you have in mind to check, the State field of the various submirrors? What values are possible other than "Okay"? -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lyra at pop-pr.rnp.br Tue Sep 16 15:20:21 2003 From: lyra at pop-pr.rnp.br (Christian Lyra) Date: Tue, 16 Sep 2003 10:20:21 -0300 Subject: nagios and rrdtool Message-ID: <200309161020.21965.lyra@pop-pr.rnp.br> Hi all, I?m looking for a plugin like the check_mrtg one but instead of looking in mrtg log files I would like to look in rrd files. Is there such thing? -- Christian Lyra POP-PR - RNP http://lyra.soueu.com.br http://wecanstopspam.org Thus spake the master programmer: ``You can demonstrate a program for a corporate executive, but you can't make him computer literate.'' The Tao Of Programing ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Tue Sep 16 15:38:22 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Tue, 16 Sep 2003 14:38:22 +0100 Subject: Monitoring mirroring Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51CF6@abe-s-039.europe.shell.com> Mark If you are using the netsaint_statd (perl) version for remote monitoring the following may help. You would need to change the netsaint_statd perl script on the clients to allow this to work. If you are let me know and I can supply a working copy to you. Note : I would recommend trying to use something like nrpe as in the long run it is easy to maintain. I am just starting to use nrep Version 2 Matt Matthew Garrett Unix System Support 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: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com > -----Original Message----- > From: Mark Snyder [mailto:Mark.Snyder at worldgaming.com] > Sent: 15 September 2003 23:00 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring mirroring > > > > > Is there a check for monitoring mirrored disks? Maybe > monitoring the output from a metastat command? > > > Mark > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: check_meta.ZIP Type: application/x-zip-compressed Size: 1059 bytes Desc: check_meta.ZIP URL: From thiago at ntime.com.br Tue Sep 16 16:16:38 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Tue, 16 Sep 2003 11:16:38 -0300 Subject: check_ping from 2 interfaces In-Reply-To: <3F66E479.20702@datamar.it> References: <3F66E479.20702@datamar.it> Message-ID: <20030916111638.655c737c.thiago@ntime.com.br> On Tue, 16 Sep 2003 12:22:49 +0200 Marco Ciullini wrote: > Hi all, > > I am running nagios 1.1 on a RH7.3 > All is workin fine, but due to a "restriction" of one of my ISP, I'am > having a problem that I am going to explain: (...) check_ping is implemented using the ping command. It should be fairly easy to add another command to it. Just edit check_ping.c and add the option to process_arguments(). Then add the variable to the asprintf (&command_line,...) lines. good luck. -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 16 16:26:11 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 16 Sep 2003 10:26:11 -0400 (EDT) Subject: check_ping from 2 interfaces In-Reply-To: <3F66E479.20702@datamar.it> References: <3F66E479.20702@datamar.it> Message-ID: On Tue, 16 Sep 2003, Marco Ciullini wrote: > Temp solution: turn off icmp traffic for 2 or 3 ours, and then turn it > on: ithe check_ping works again. If you have any coding experience, you could try writing your own check_ping_tcp.. a TCP ping (rather than ICMP) would probably get through your ISP's filters. If you have any perl coding experience you should be able to do this very quickly using Net::Ping. If you want to be able to check latency well, make sure you've got v2.31 -- that's where high resolution timing was introduced. You'll also need Time::HiRes installed. HTH Matt -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Tue Sep 16 16:36:25 2003 From: skip at pobox.com (Skip Montanaro) Date: Tue, 16 Sep 2003 09:36:25 -0500 Subject: report data other than via HTML? In-Reply-To: References: <16229.63078.535355.92490@montanaro.dyndns.org> Message-ID: <16231.8169.464775.434451@montanaro.dyndns.org> Subhendu> On Mon, 15 Sep 2003, Skip Montanaro wrote: >> Is there a way to extract report data (e.g., the Host Availability >> Report) from Nagios other than by sifting the relevant web pages for >> that info? I thought I had saved a message about some XML-RPC mods, >> but I guess I didn't. Subhendu> http://nxe.sourceforge.net/ Thanks, I eventually found and installed nxe. Unfortunately, it doesn't do what you would expect when using XML-RPC. Instead of returning a structured bit of data representing what you asked for, it returns a big string of XML which must be parsed. Kind of defeats the purpose of using XML-RPC. Skip ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 16 16:58:36 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 16 Sep 2003 10:58:36 -0400 (EDT) Subject: Nagios failing to check services In-Reply-To: References: Message-ID: This issue I reported yesterday is still going on. The host in question has now been down for almost 19 hours, and Nagios still hasn't reported it as offline. This seems to be a pretty spactactular failure of Nagios. What would happen if the three services on this box still reported as up were the only three? The only indication I would have of this box being down would be the complaints of my users. Is this sort of wedging a known problem? Is there a configuration error on my part at fault, or is Nagios actually failing here? I'd love to see a response from someone more familiar with Nagios than I. Thanks folks, Matt Pounsett On Mon, 15 Sep 2003, Matt Pounsett wrote: > > I'm doing some testing of our initial Nagios setup, and have come across a > situation I can't find an explanation for. A little while ago, I shut down a > host to see how Nagios would handle the loss of services, and whether it would > properly report the host as being down instead of firing off a long list of > service outage reports. > > The host has now been down for approximately 23 minutes; three of the six > services have gone HARD CRITICAL, while the other three are still being > reported as OK. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Tue Sep 16 17:36:57 2003 From: damian at sentex.net (Damian Gerow) Date: Tue, 16 Sep 2003 11:36:57 -0400 Subject: Monitoring multi-homed boxen Message-ID: <20030916153657.GL66001@sentex.net> We've recently set up Nagios, and aside from getting dependancies working fully, it's been a breeze. I just have one 'what are people doing to...' question: How are people monitoring multi-homed boxen? Do you set one IP as the primary, and just monitor reachability on the other interfaces, with those interfaces depending on the primary IP? Do you monitor every service on every interface? Do you even /use/ dependancies? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spetty at iConnect-corp.com Tue Sep 16 17:42:59 2003 From: spetty at iConnect-corp.com (Steven E. Petty) Date: Tue, 16 Sep 2003 11:42:59 -0400 Subject: Odd Problem with 'SOFT' up alert Message-ID: <14EE0E012FFD224D82BE7569CBA134DE0465BCD4@dedport-137-19.idealapps.com> I had an odd problem that occurred after restarting a system that lead to a 'SOFT' up alert being logged. Apparently it was on the second retry that it managed to pass the host check. The problem is that several of the reports ignore 'SOFT' events, and there was never a 'HARD' event following that to indicate the host came up for those reports. This makes the availability report continue to believe that the host is down. Obviously there are several approaches to correcting this behavior, but I'm not sure I'm familiar enough with the overall system to decide which would be the correct approach. Should all 'UP' events be 'HARD'? (IE. Is a 'SOFT' 'UP' even valid? Maybe for flap detection or something?) Should nagios follow up a 'SOFT' 'UP' event with a definitive 'HARD' 'UP' event? (IE. Firmly schedule a follow up host check on the 'SOFT' 'UP' event) Should the report(s) be modified to treat 'SOFT' 'UP' events as 'HARD' 'UP' events? Steve ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Tue Sep 16 18:01:25 2003 From: jason at teklabs.net (Jason Lancaster) Date: Tue, 16 Sep 2003 12:01:25 -0400 Subject: Comment/Downtime and Case Sensitivity In-Reply-To: References: Message-ID: <3F6733D5.1020603@teklabs.net> I ran into this problem when first using Nagios. While it's not a core fix at the program's level, my suggestion would be to use all lowercase in host names and definitions. There's no need for upper case. Just do a simple conversion on your existing lines and you'll have a standard to follow from this point forward. Jason Ward Takamiya wrote: > After many frustrating days of wondering why I couldn't post a comment > or downtime message (I had been getting the infamous "Sorry, but you are > not authorized to commit the specified command" message), I have > discovered that it will only work if I enter the host name exactly as > defined (paying attention to upper and lower case characters). I'm not > sure if it's just my server (Nagios 1.1 on Darwin, Mac OS X) or it's the > general case. > > > I think it's more than a nuisance because the host names I have defined > have upper and lower case characters and if the other users with try to > post a comment and enter the name in all lower case (as I had been > doing), they'll only get the quite useless error message. I tried to > change the cmd.cgi to use strcasecmp instead of strcmp, but my C is > quite rusty and it didn't seem to make any difference. > > Is this something particular to my setup? If anyone has any ideas of > what else I can try, please let me know. > > Thanks in advance. > > -Ward > > > %// > %// Ward I. Takamiya Information Technology Services > %// ward at hawaii.edu University of Hawai`i > %// phone: 808.956.8144 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.ciullini at datamar.it Tue Sep 16 18:08:38 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Tue, 16 Sep 2003 18:08:38 +0200 Subject: check_ping from 2 interfaces In-Reply-To: <20030916111638.655c737c.thiago@ntime.com.br> References: <3F66E479.20702@datamar.it> <20030916111638.655c737c.thiago@ntime.com.br> Message-ID: <3F673586.5090400@datamar.it> Thanks all, I solved the problem. I am not a programmer, so I solved it at routing level. I configured iproute2 and iptables on the firewall, so that icmp packets coming from nagios are marked and routed to the correct ISP. However, I think that something similar to ping -I could be useful... > > check_ping is implemented using the ping command. > > It should be fairly easy to add another command to it. Just edit > check_ping.c and add the option to process_arguments(). Then add the > variable to the asprintf (&command_line,...) lines. > -- Marco Ciullini Datamar s.r.l. Via Corsica 9/4 E 16128 Genova tel +39 0105705806 fax +39 0105451440 http://www.datamar.it mailto:marco.ciullini at datamar.it Please avoid sending me Word, Excel or PowerPoint attachments. See http://www.fsf.org/philosophy/no-word-attachments.html ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Tue Sep 16 18:05:09 2003 From: jason at teklabs.net (Jason Lancaster) Date: Tue, 16 Sep 2003 12:05:09 -0400 Subject: check_smtp In-Reply-To: <3F670765.4050305@myclearwave.net> References: <3F670765.4050305@myclearwave.net> Message-ID: <3F6734B5.8080709@teklabs.net> Can you post your exact check command definition? The only other thought I have is you're hitting the Nagios plugin execution time limit (default is 30s I believe) defined in nagios.cfg. Jason Yoder the Sheepherder wrote: > The only arg I'm using is -H although I have tried it with -p, -e, and > -f. I'm going back and checking to see if sendmail was updated around > the time this happened, but I do not believe so. > > Subhendu Ghosh wrote: > >> What are the args to check_smtp in your config? >> >> On Mon, 15 Sep 2003, Yoder the Sheepherder wrote: >> >> >>> I've had the same problem with it on Redhat. It was working for >>> quite some time, then stopped. I'm using check_smtp from nagios >>> plugins 1.3.1 on Redhat 9. >>> >>> chbaker at powersystems.rockwell.com wrote: >>> >>> >>>> The check_smtp plugin version 1.6, on Debian unstable has started >>>> giving me >>>> problems over the last week or so. No matter how long I set the timeout >>>> period, the check always times out. Checks of other services on the >>>> same >>>> boxes are fine. When I run check_smtp from the command line to a server >>>> that is not currently being monitored, it times out as well. The >>>> servers in >>>> question do have either inetd or sendmail itself listening at port >>>> 25. Any >>>> ideas? >>>> >> >> > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Tue Sep 16 18:16:51 2003 From: jason at teklabs.net (Jason Lancaster) Date: Tue, 16 Sep 2003 12:16:51 -0400 Subject: Nagios failing to check services In-Reply-To: References: Message-ID: <3F673773.8050607@teklabs.net> I know this does not really help, but you asked the question if this was a known problem... I'm sure there are many "little" bugs to Nagios but primarily, if you have a problem, it's because you configured it wrong. I'd begin by investigating dependencies (It sounds to me like you are using them) Are you suppressing checks if a master service is down? If you are, that might be a big problem. Jason Matt Pounsett wrote: > This issue I reported yesterday is still going on. The host in question has > now been down for almost 19 hours, and Nagios still hasn't reported it as > offline. > > This seems to be a pretty spactactular failure of Nagios. What would happen > if the three services on this box still reported as up were the only three? > The only indication I would have of this box being down would be the > complaints of my users. > > Is this sort of wedging a known problem? Is there a configuration error on my > part at fault, or is Nagios actually failing here? > > I'd love to see a response from someone more familiar with Nagios than I. > > Thanks folks, > Matt Pounsett > > > > On Mon, 15 Sep 2003, Matt Pounsett wrote: > > >>I'm doing some testing of our initial Nagios setup, and have come across a >>situation I can't find an explanation for. A little while ago, I shut down a >>host to see how Nagios would handle the loss of services, and whether it would >>properly report the host as being down instead of firing off a long list of >>service outage reports. >> >>The host has now been down for approximately 23 minutes; three of the six >>services have gone HARD CRITICAL, while the other three are still being >>reported as OK. > > > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thiago at ntime.com.br Tue Sep 16 18:23:29 2003 From: thiago at ntime.com.br (Thiago Conde =?ISO-8859-1?Q?Figueir=F3?=) Date: Tue, 16 Sep 2003 13:23:29 -0300 Subject: check_ping from 2 interfaces In-Reply-To: <3F66E479.20702@datamar.it> References: <3F66E479.20702@datamar.it> Message-ID: <20030916132329.3242e805.thiago@ntime.com.br> Here it goes. Have fun. You might have some portability problems, but the major part is done. I used nagios-plugins-1.3.0. [thiago at careca plugins]$ ./check_ping -v -H demeter -w 100,50% -c 200,80% -I eth0 /bin/ping -n -U -c 5 demeter -I eth0 ==> PING OK - Packet loss = 0%, RTA = 0.24 ms 100.000000:50% 200.000000:80% Files description: check_ping.c.diff: patch for check_ping.c (1.3.0) and my modified check_ping-interface.c config.h: changes needed in config.h (PING_COMMAND) check_ping-interface.c: my modified version of check_ping.c Regards, -- Thiago Figueir? Ger?ncia de Opera??es thiago at ntime.com.br Cel.: (21) 8817-3632 -------------- next part -------------- A non-text attachment was scrubbed... Name: check_ping.c.diff Type: application/octet-stream Size: 2032 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: config.h Type: application/octet-stream Size: 17131 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: check_ping-interface.c Type: application/octet-stream Size: 13537 bytes Desc: not available URL: From matt.pounsett at cira.ca Tue Sep 16 18:37:57 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 16 Sep 2003 12:37:57 -0400 (EDT) Subject: Nagios failing to check services In-Reply-To: <3F673773.8050607@teklabs.net> References: <3F673773.8050607@teklabs.net> Message-ID: On Tue, 16 Sep 2003, Jason Lancaster wrote: > I'd begin by investigating dependencies (It sounds to me like you are > using them) Are you suppressing checks if a master service is down? If > you are, that might be a big problem. No, I haven't got to the point of testing dependancies yet. I've got (what I believe is) a very simple setup checking 67 services on 13 hosts. The closest I've got to using any sort of dependancies is to set appropriate 'parents' for my hosts. I've been doing more poking around, and I've found that after about 15 minutes up and running, Nagios begins to log a lot of stale service errors. My log between midnight and 10am today (when I restarted Nagios last) consisted of about 58% 'stale service' and 'orphan' error messages. Many of the 'rescheduled' checks were never being executed. It seems almost as if there's a resources issue, but aside from the web server, Nagios is the only thing running on this 1.2GHz PIII.. it only has 256MB of RAM, but only about 150MB is used and there's still all that swap... Anyway, I posted most of my main configuration. If this /is/ a config error on my part, I'd sure like to know what it is. I'll be happy to provide further details of the config to anyone who has any specific questions to ask. I've already supplied all the stuff that looks relevant to me. Thanks Jason, Matt -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Tue Sep 16 18:51:19 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Tue, 16 Sep 2003 10:51:19 -0600 Subject: CGI permissions make me mad also! HELP!!!! Message-ID: I really feel like I am spinning my wheels here. I reinstalled the OS (redhat 7.3) on a test box twice and reinstalled nagios on that test box. I have used config files (*.cfg) that I know have worked in the past because I had this thing running for 5 months without a problem. During my reinstalls I have gone through the Nagios documentation step by step and everything I have seems fine. I have seen different postings in different places on the web with the same problem and no one seems to have a fix for these people. I have also been contacted by someone who had the same problem which was never fixed. Is there any way to turn logging on for the cgi scripts? I keep getting this "It appears as though you do not have permission to view information for any of the hosts you requested." but there is absolutely no logging available telling me why I get this error. Rick Blair Network Engineer USFW 303.202.2687 Matt Pounsett Sent by: nagios-users-admin at lists.sourceforge.net 09/15/2003 09:14 AM To: Rick_Blair at fws.gov cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CGI permissions make me mad also! HELP!!!! On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > > Here's my cgi.cfg: > > use_authentication=1 > > authorized_for_configuration_information=rblair,jfedewa,mjones > authorized_for_system_commands=rblair,jfedewa > authorized_for_all_services=rblair > authorized_for_all_hosts=rblair > authorized_for_all_service_commands=rblair,jfedewa,mjones > authorized_for_all_host_commands=rblair,jfedewa,mjones > > Here's the box in the upper left hand corner of my browser. > Logged in as rblair That certainly looks like all the right stuff to me. I'm a relatively new user to Nagios, so I don't know all the little pitfalls.. If I think of anything else I'll let you know. If you want to check permissions.. all my files are owned by nagios:daemon (I compiled nagios to use the daemon group instead of its own custom group). Config files and logs are mode 0644, directories and executables are 0755, and the nagios.cmd file is 2660. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 jason at teklabs.net Tue Sep 16 19:27:08 2003 From: jason at teklabs.net (Jason Lancaster) Date: Tue, 16 Sep 2003 13:27:08 -0400 Subject: Nagios failing to check services In-Reply-To: References: Message-ID: <3F6747EC.4040908@teklabs.net> Matt, You might want to log into the nagios web interface and load up all services. Then sort by "Last Check" with the newest at the top. Watch it for a few hours and see if the checks are never getting updated (or very very slow) Also check the performance info button in the web interface for average check latency/execution time. Maybe you have a pretty hefty latency time? If you are indeed hitting a bottleneck in performance, it would most likely be due to the core nagios.cfg options. I don't see a copy of your config files. If you'd like, you can forward me a copy of your nagios.cfg. Good luck! Jason Matt Pounsett wrote: > On Tue, 16 Sep 2003, Jason Lancaster wrote: > > >>I'd begin by investigating dependencies (It sounds to me like you are >>using them) Are you suppressing checks if a master service is down? If >>you are, that might be a big problem. > > > No, I haven't got to the point of testing dependancies yet. I've got (what I > believe is) a very simple setup checking 67 services on 13 hosts. The > closest I've got to using any sort of dependancies is to set appropriate > 'parents' for my hosts. > > I've been doing more poking around, and I've found that after about 15 minutes > up and running, Nagios begins to log a lot of stale service errors. My log > between midnight and 10am today (when I restarted Nagios last) consisted of > about 58% 'stale service' and 'orphan' error messages. Many of the > 'rescheduled' checks were never being executed. > > It seems almost as if there's a resources issue, but aside from the web > server, Nagios is the only thing running on this 1.2GHz PIII.. it only has > 256MB of RAM, but only about 150MB is used and there's still all that swap... > > Anyway, I posted most of my main configuration. If this /is/ a config error > on my part, I'd sure like to know what it is. I'll be happy to provide > further details of the config to anyone who has any specific questions to ask. > I've already supplied all the stuff that looks relevant to me. > > Thanks Jason, > Matt > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 16 19:49:31 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 16 Sep 2003 13:49:31 -0400 (EDT) Subject: Nagios failing to check services In-Reply-To: <3F6747EC.4040908@teklabs.net> References: <3F6747EC.4040908@teklabs.net> Message-ID: On Tue, 16 Sep 2003, Jason Lancaster wrote: > Matt, > You might want to log into the nagios web interface and load up all > services. Then sort by "Last Check" with the newest at the top. Watch it > for a few hours and see if the checks are never getting updated (or very > very slow) Also check the performance info button in the web interface > for average check latency/execution time. Maybe you have a pretty hefty > latency time? Right this minute, the oldest 'last check' stat is about 13 minutes old.. not impressive. Something interesting about this stat: I noted earlier that when I restarted Nagios it updated the Last Check (and logged a successfull check!) for the SSH and NTP services on the server I had powered off. As for latency, nothing seriously out of whack is being reported there right now. Min Max Avg Check Execution Time: <1sec 9sec 1.448sec Check Latency: <1sec <1sec 0.000sec Percent State Change: 0.00% 0.00% 0.00% Active checks is a bit disconcerting.. Time Frame Checks Completed <= 1 minute 6 (9.0%) -- not a big deal <= 5 minutes 49 (73.1%) -- this is an issue <= 15 minutes 62 (92.5%) -- really bugs me <= 1 hour 67 (100.0%) Since program start: 67 (100.0%) There are no passive checks running... so all zero's there. > If you are indeed hitting a bottleneck in performance, it would most > likely be due to the core nagios.cfg options. I don't see a copy of your > config files. If you'd like, you can forward me a copy of your nagios.cfg. I included all the apparently relevant nagios.cfg entries in my first email on the subject.. but I'm attaching the whole file here. Hopefully someone has some ideas. thanks again Jason Matt -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca -------------- next part -------------- ############################################################################## # # NAGIOS.CFG - Sample Main Config File for Nagios # # Read the documentation for more information on this configuration # file. I've provided some comments here, but things may not be so # clear without further explanation. # # Last Modified: 07-04-2002 # ############################################################################## # LOG FILE # This is the main log file where service and host events are logged # for historical purposes. This should be the first option specified # in the config file!!! log_file=/usr/local/nagios/var/nagios.log # OBJECT CONFIGURATION FILE(S) # This is the configuration file in which you define hosts, host # groups, contacts, contact groups, services, etc. I guess it would # be better called an object definition file, but for historical # reasons it isn't. You can split object definitions into several # different config files by using multiple cfg_file statements here. # Nagios will read and process all the config files you define. # This can be very useful if you want to keep command definitions # separate from host and contact definitions... # Plugin commands (service and host check commands) # Arguments are likely to change between different releases of the # plugins, so you should use the same config file provided with the # plugin release rather than the one provided with Nagios. #cfg_file=/usr/local/nagios/etc/checkcommands.cfg # Misc commands (notification and event handler commands, etc) #cfg_file=/usr/local/nagios/etc/misccommands.cfg # You can split other types of object definitions across several # config files if you wish (as done here), or keep them all in a # single config file. #cfg_file=/usr/local/nagios/etc/contactgroups.cfg #cfg_file=/usr/local/nagios/etc/contacts.cfg #cfg_file=/usr/local/nagios/etc/dependencies.cfg #cfg_file=/usr/local/nagios/etc/escalations.cfg #cfg_file=/usr/local/nagios/etc/hostgroups.cfg #cfg_file=/usr/local/nagios/etc/hosts.cfg #cfg_file=/usr/local/nagios/etc/services.cfg #cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/commands.cfg cfg_file=/usr/local/nagios/etc/contacts.cfg cfg_file=/usr/local/nagios/etc/object-templates.cfg cfg_file=/usr/local/nagios/etc/timeperiods.cfg cfg_file=/usr/local/nagios/etc/hostgroups.cfg cfg_dir=/usr/local/nagios/etc/hosts-primary/ cfg_dir=/usr/local/nagios/etc/hosts-backup/ cfg_dir=/usr/local/nagios/etc/hosts-sparks/ # RESOURCE FILE # This is an optional resource file that contains $USERx$ macro # definitions. Multiple resource files can be specified by using # multiple resource_file definitions. The CGIs will not attempt to # read the contents of resource files, so information that is # considered to be sensitive (usernames, passwords, etc) can be # defined as macros in this file and restrictive permissions (600) # can be placed on this file. resource_file=/usr/local/nagios/etc/resources.cfg # STATUS FILE # This is where the current status of all monitored services and # hosts is stored. Its contents are read and processed by the CGIs. # The contentsof the status file are deleted every time Nagios # restarts. status_file=/usr/local/nagios/var/status.log # NAGIOS USER # This determines the effective user that Nagios should run as. # You can either supply a username or a UID. nagios_user=nagios # NAGIOS GROUP # This determines the effective group that Nagios should run as. # You can either supply a group name or a GID. nagios_group=daemon # EXTERNAL COMMAND OPTION # This option allows you to specify whether or not Nagios should check # for external commands (in the command file defined below). By default # Nagios will *not* check for external commands, just to be on the # cautious side. If you want to be able to use the CGI command interface # you will have to enable this. Setting this value to 0 disables command # checking (the default), other values enable it. check_external_commands=1 # EXTERNAL COMMAND CHECK INTERVAL # This is the interval at which Nagios should check for external commands. # This value works of the interval_length you specify later. If you leave # that at its default value of 60 (seconds), a value of 1 here will cause # Nagios to check for external commands every minute. If you specify a # number followed by an "s" (i.e. 15s), this will be interpreted to mean # actual seconds rather than a multiple of the interval_length variable. # Note: In addition to reading the external command file at regularly # scheduled intervals, Nagios will also check for external commands after # event handlers are executed. # NOTE: Setting this value to -1 causes Nagios to check the external # command file as often as possible. #command_check_interval=1 #command_check_interval=15s command_check_interval=-1 # 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=/usr/local/nagios/var/rw/nagios.cmd # COMMENT FILE # This is the file that Nagios will use for storing host and service # comments. comment_file=/usr/local/nagios/var/comment.log # DOWNTIME FILE # This is the file that Nagios will use for storing host and service # downtime data. downtime_file=/usr/local/nagios/var/downtime.log # LOCK FILE # This is the lockfile that Nagios will use to store its PID number # in when it is running in daemon mode. lock_file=/usr/local/nagios/var/nagios.lock # TEMP FILE # This is a temporary file that is used as scratch space when Nagios # updates the status log, cleans the comment file, etc. This file # is created, used, and deleted throughout the time that Nagios is # running. temp_file=/usr/local/nagios/var/nagios.tmp # LOG ROTATION METHOD # This is the log rotation method that Nagios should use to rotate # the main log file. Values are as follows.. # n = None - don't rotate the log # h = Hourly rotation (top of the hour) # d = Daily rotation (midnight every day) # w = Weekly rotation (midnight on Saturday evening) # m = Monthly rotation (midnight last day of month) log_rotation_method=d # LOG ARCHIVE PATH # This is the directory where archived (rotated) log files should be # placed (assuming you've chosen to do log rotation). log_archive_path=/usr/local/nagios/var/archives # LOGGING OPTIONS # If you want messages logged to the syslog facility, as well as the # NetAlarm log file set this option to 1. If not, set it to 0. use_syslog=0 # NOTIFICATION LOGGING OPTION # If you don't want notifications to be logged, set this value to 0. # If notifications should be logged, set the value to 1. log_notifications=1 # SERVICE RETRY LOGGING OPTION # If you don't want service check retries to be logged, set this value # to 0. If retries should be logged, set the value to 1. log_service_retries=1 # HOST RETRY LOGGING OPTION # If you don't want host check retries to be logged, set this value to # 0. If retries should be logged, set the value to 1. log_host_retries=1 # EVENT HANDLER LOGGING OPTION # If you don't want host and service event handlers to be logged, set # this value to 0. If event handlers should be logged, set the value # to 1. log_event_handlers=1 # INITIAL STATES LOGGING OPTION # If you want Nagios to log all initial host and service states to # the main log file (the first time the service or host is checked) # you can enable this option by setting this value to 1. If you # are not using an external application that does long term state # statistics reporting, you do not need to enable this option. In # this case, set the value to 0. log_initial_states=1 # EXTERNAL COMMANDS LOGGING OPTION # If you don't want Nagios to log external commands, set this value # to 0. If external commands should be logged, set this value to 1. # Note: This option does not include logging of passive service # checks - see the option below for controlling whether or not # passive checks are logged. log_external_commands=1 # PASSIVE SERVICE CHECKS LOGGING OPTION # If you don't want Nagios to log passive service checks, set this # value to 0. If passive service checks should be logged, set this # value to 1. log_passive_service_checks=1 # GLOBAL HOST AND SERVICE EVENT HANDLERS # These options allow you to specify a host and service event handler # command that is to be run for every host or service state change. # The global event handler is executed immediately prior to the event # handler that you have optionally specified in each host or # service definition. The command argument is the short name of a # command definition that you define in your host configuration file. # Read the HTML docs for more information. #global_host_event_handler=somecommand #global_service_event_handler=somecommand # INTER-CHECK DELAY METHOD # This is the method that Nagios should use when initially # "spreading out" service checks when it starts monitoring. The # default is to use smart delay calculation, which will try to # space all service checks out evenly to minimize CPU load. # Using the dumb setting will cause all checks to be scheduled # at the same time (with no delay between them)! This is not a # good thing for production, but is useful when testing the # parallelization functionality. # n = None - don't use any delay between checks # d = Use a "dumb" delay of 1 second between checks # s = Use "smart" inter-check delay calculation # x.xx = Use an inter-check delay of x.xx seconds inter_check_delay_method=s # SERVICE CHECK INTERLEAVE FACTOR # This variable determines how service checks are interleaved. # Interleaving the service checks allows for a more even # distribution of service checks and reduced load on remote # hosts. Setting this value to 1 is equivalent to how versions # of Nagios previous to 0.0.5 did service checks. Set this # value to s (smart) for automatic calculation of the interleave # factor unless you have a specific reason to change it. # s = Use "smart" interleave factor calculation # x = Use an interleave factor of x, where x is a # number greater than or equal to 1. service_interleave_factor=s # MAXIMUM CONCURRENT SERVICE CHECKS # This option allows you to specify the maximum number of # service checks that can be run in parallel at any given time. # Specifying a value of 1 for this variable essentially prevents # any service checks from being parallelized. A value of 0 # will not restrict the number of concurrent checks that are # being executed. max_concurrent_checks=0 # SERVICE CHECK REAPER FREQUENCY # This is the frequency (in seconds!) that Nagios will process # the results of services that have been checked. service_reaper_frequency=10 # SLEEP TIME # This is the number of seconds to sleep between checking for system # events and service checks that need to be run. I would recommend # *not* changing this from its default value of 1 second. sleep_time=1 # TIMEOUT VALUES # These options control how much time Nagios will allow various # types of commands to execute before killing them off. Options # are available for controlling maximum time allotted for # service checks, host checks, event handlers, notifications, the # ocsp command, and performance data commands. All values are in # seconds. service_check_timeout=60 host_check_timeout=30 event_handler_timeout=30 notification_timeout=30 ocsp_timeout=5 perfdata_timeout=5 # RETAIN STATE INFORMATION # This setting determines whether or not Nagios will save state # information for services and hosts before it shuts down. Upon # startup Nagios will reload all saved service and host state # information before starting to monitor. This is useful for # maintaining long-term data on state statistics, etc, but will # slow Nagios down a bit when it (re)starts. Since its only # a one-time penalty, I think its well worth the additional # startup delay. retain_state_information=1 # STATE RETENTION FILE # This is the file that Nagios should use to store host and # service state information before it shuts down. The state # information in this file is also read immediately prior to # starting to monitor the network when Nagios is restarted. # This file is used only if the preserve_state_information # variable is set to 1. state_retention_file=/usr/local/nagios/var/status.sav # RETENTION DATA UPDATE INTERVAL # This setting determines how often (in minutes) that Nagios # will automatically save retention data during normal operation. # If you set this value to 0, Nagios will not save retention # data at regular interval, but it will still save retention # data before shutting down or restarting. If you have disabled # state retention, this option has no effect. retention_update_interval=60 # USE RETAINED PROGRAM STATE # This setting determines whether or not Nagios will set # program status variables based on the values saved in the # retention file. If you want to use retained program status # information, set this value to 1. If not, set this value # to 0. use_retained_program_state=0 # INTERVAL LENGTH # This is the seconds per unit interval as used in the # host/contact/service configuration files. Setting this to 60 means # that each interval is one minute long (60 seconds). Other settings # have not been tested much, so your mileage is likely to vary... interval_length=60 # AGRESSIVE HOST CHECKING OPTION # If you don't want to turn on agressive host checking features, set # this value to 0 (the default). Otherwise set this value to 1 to # enable the agressive check option. Read the docs for more info # on what agressive host check is or check out the source code in # base/checks.c use_agressive_host_checking=0 # SERVICE CHECK EXECUTION OPTION # This determines whether or not Nagios will actively execute # service checks when it initially starts. If this option is # disabled, checks are not actively made, but Nagios can still # receive and process passive check results that come in. Unless # you're implementing redundant hosts or have a special need for # disabling the execution of service checks, leave this enabled! # Values: 1 = enable checks, 0 = disable checks execute_service_checks=1 # PASSIVE CHECK ACCEPTANCE OPTION # This determines whether or not Nagios will accept passive # service checks results when it initially (re)starts. # Values: 1 = accept passive checks, 0 = reject passive checks accept_passive_service_checks=1 # NOTIFICATIONS OPTION # This determines whether or not Nagios will sent out any host or # service notifications when it is initially (re)started. # Values: 1 = enable notifications, 0 = disable notifications enable_notifications=1 # EVENT HANDLER USE OPTION # This determines whether or not Nagios will run any host or # service event handlers when it is initially (re)started. Unless # you're implementing redundant hosts, leave this option enabled. # Values: 1 = enable event handlers, 0 = disable event handlers enable_event_handlers=1 # PROCESS PERFORMANCE DATA OPTION # This determines whether or not Nagios will process performance # data returned from service and host checks. If this option is # enabled, host performance data will be processed using the # host_perfdata_command (defined below) and service performance # data will be processed using the service_perfdata_command (also # defined below). Read the HTML docs for more information on # performance data. # Values: 1 = process performance data, 0 = do not process performance data process_performance_data=0 # HOST AND SERVICE PERFORMANCE DATA PROCESSING COMMANDS # These commands are run after every host and service check is # performed. These commands are executed only if the # enable_performance_data option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on performance data. #host_perfdata_command=process-host-perfdata #service_perfdata_command=process-service-perfdata # OBSESS OVER SERVICE CHECKS OPTION # This determines whether or not Nagios will obsess over service # checks and run the ocsp_command defined below. Unless you're # planning on implementing distributed monitoring, do not enable # this option. Read the HTML docs for more information on # implementing distributed monitoring. # Values: 1 = obsess over services, 0 = do not obsess (default) obsess_over_services=0 # OBSESSIVE COMPULSIVE SERVICE PROCESSOR COMMAND # This is the command that is run for every service check that is # processed by Nagios. This command is executed only if the # obsess_over_service option (above) is set to 1. The command # argument is the short name of a command definition that you # define in your host configuration file. Read the HTML docs for # more information on implementing distributed monitoring. #ocsp_command=somecommand # ORPHANED SERVICE CHECK OPTION # This determines whether or not Nagios will periodically # check for orphaned services. Since service checks are not # rescheduled until the results of their previous execution # instance are processed, there exists a possibility that some # checks may never get rescheduled. This seems to be a rare # problem and should not happen under normal circumstances. # If you have problems with service checks never getting # rescheduled, you might want to try enabling this option. # Values: 1 = enable checks, 0 = disable checks check_for_orphaned_services=1 # SERVICE FRESHNESS CHECK OPTION # This option determines whether or not Nagios will periodically # check the "freshness" of service results. Enabling this option # is useful for ensuring passive checks are received in a timely # manner. # Values: 1 = enabled freshness checking, 0 = disable freshness checking check_service_freshness=1 # FRESHNESS CHECK INTERVAL # This setting determines how often (in seconds) Nagios will # check the "freshness" of service check results. If you have # disabled service freshness checking, this option has no effect. freshness_check_interval=60 # AGGREGATED STATUS UPDATES # This option determines whether or not Nagios will # aggregate updates of host, service, and program status # data. Normally, status data is updated immediately when # a change occurs. This can result in high CPU loads if # you are monitoring a lot of services. If you want Nagios # to only refresh status data every few seconds, disable # this option. # Values: 1 = enable aggregate updates, 0 = disable aggregate updates aggregate_status_updates=1 # AGGREGATED STATUS UPDATE INTERVAL # Combined with the aggregate_status_updates option, # this option determines the frequency (in seconds!) that # Nagios will periodically dump program, host, and # service status data. If you are not using aggregated # status data updates, this option has no effect. status_update_interval=15 # FLAP DETECTION OPTION # This option determines whether or not Nagios will try # and detect hosts and services that are "flapping". # Flapping occurs when a host or service changes between # states too frequently. When Nagios detects that a # host or service is flapping, it will temporarily supress # notifications for that host/service until it stops # flapping. Flap detection is very experimental, so read # the HTML documentation before enabling this feature! # Values: 1 = enable flap detection # 0 = disable flap detection (default) enable_flap_detection=1 # FLAP DETECTION THRESHOLDS FOR HOSTS AND SERVICES # Read the HTML documentation on flap detection for # an explanation of what this option does. This option # has no effect if flap detection is disabled. low_service_flap_threshold=5.0 high_service_flap_threshold=20.0 low_host_flap_threshold=5.0 high_host_flap_threshold=20.0 # DATE FORMAT OPTION # This option determines how short dates are displayed. Valid options # include: # us (MM-DD-YYYY HH:MM:SS) # euro (DD-MM-YYYY HH:MM:SS) # iso8601 (YYYY-MM-DD HH:MM:SS) # strict-iso8601 (YYYY-MM-DDTHH:MM:SS) # date_format=iso8601 # ILLEGAL OBJECT NAME CHARACTERS # This options allows you to specify illegal characters that cannot # be used in host names, service descriptions, or names of other # object types. illegal_object_name_chars=`~!$%^&*|'"<>?,()= # ILLEGAL MACRO OUTPUT CHARACTERS # This options allows you to specify illegal characters that are # stripped from macros before being used in notifications, event # handlers, etc. This DOES NOT affect macros used in service or # host check commands. # The following macros are stripped of the characters you specify: # $OUTPUT$, $PERFDATA$ illegal_macro_output_chars=`~$&|'"<> # ADMINISTRATOR EMAIL ADDRESS # The email address of the administrator of *this* machine (the one # doing the monitoring). Nagios never uses this value itself, but # you can access this value by using the $ADMINEMAIL$ macro in your # notification commands. admin_email=nagios at cira.ca # ADMINISTRATOR PAGER NUMBER/ADDRESS # The pager number/address for the administrator of *this* machine. # Nagios never uses this value itself, but you can access this # value by using the $ADMINPAGER$ macro in your notification # commands. admin_pager=pagenagios # EOF (End of file) From jeff.vier at tradingtechnologies.com Tue Sep 16 20:06:52 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 16 Sep 2003 13:06:52 -0500 Subject: CGI permissions make me mad! In-Reply-To: References: Message-ID: <1063735608.16059.79.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> While not ideal, have you tried opening up permissions on things? a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd want to leave live, but it'll at least "fix" the problem enough to let you know if it's a file permissions problem On Tue, 2003-09-16 at 11:51, Rick_Blair at fws.gov wrote: > I really feel like I am spinning my wheels here. > > I reinstalled the OS (redhat 7.3) on a test box twice and reinstalled > nagios on that test box. > > I have used config files (*.cfg) that I know have worked in the past > because I had this thing running for 5 months without a problem. > > During my reinstalls I have gone through the Nagios documentation step > by step and everything I have seems fine. > > I have seen different postings in different places on the web with the > same problem and no one seems to have a fix for these people. I have > also been contacted by someone who had the same problem which was > never fixed. > > Is there any way to turn logging on for the cgi scripts? I keep > getting this "It appears as though you do not have permission to view > information for any of the hosts you requested." but there is > absolutely no logging available telling me why I get this error. > > Rick Blair > Network Engineer > USFW > 303.202.2687 > > > > Matt Pounsett > > Sent by: > nagios-users-admin at lists.sourceforge.net > > 09/15/2003 09:14 AM > > To: > Rick_Blair at fws.gov > cc: > nagios-users at lists.sourceforge.net > Subject: > Re: [Nagios-users] CGI > permissions make me mad > also! HELP!!!! > > > On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: > > > > > Here's my cgi.cfg: > > > > use_authentication=1 > > > > authorized_for_configuration_information=rblair,jfedewa,mjones > > authorized_for_system_commands=rblair,jfedewa > > authorized_for_all_services=rblair > > authorized_for_all_hosts=rblair > > authorized_for_all_service_commands=rblair,jfedewa,mjones > > authorized_for_all_host_commands=rblair,jfedewa,mjones > > > > Here's the box in the upper left hand corner of my browser. > > Logged in as rblair > > That certainly looks like all the right stuff to me. > I'm a relatively new user to Nagios, so I don't know all the little > pitfalls.. > If I think of anything else I'll let you know. > > If you want to check permissions.. all my files are owned by > nagios:daemon (I > compiled nagios to use the daemon group instead of its own custom > group). > Config files and logs are mode 0644, directories and executables are > 0755, and > the nagios.cmd file is 2660. > > > -- > Matt Pounsett CIRA - Canadian Internet Registration > Authority > Technical Support Programmer 350 Sparks Street, > Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, > Canada > 613.237.5335 ext. 231 > http://www.cira.ca > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From reinaldo at vexbr.com.br Tue Sep 16 20:57:36 2003 From: reinaldo at vexbr.com.br (Reinaldo Silva) Date: Tue, 16 Sep 2003 15:57:36 -0300 Subject: check_radius - Message-ID: <200309161557.36282.reinaldo@vexbr.com.br> Hi, I am using the extra plugin check_radius. When I run it from the shell as nagios it returns Auth Ok. But when nagios runs it, it returns . But if I remove the permission to read, nagios shows Auth Error. Can anyone help me? Thanks. -- Reinaldo Silva Vex Wi Fi 11 3444 7921 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Tue Sep 16 21:00:24 2003 From: larry.bills at mci.com (Larry Bills) Date: Tue, 16 Sep 2003 14:00:24 -0500 Subject: CGI permissions make me mad! In-Reply-To: <1063735608.16059.79.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> References: <1063735608.16059.79.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> Message-ID: <3F675DC8.701@mci.com> Have you checked out your webserver, since you did a resinstall of everything. If mod_auto.so is not loaded, you will not be able to authorize, also check all other web server switches that may affect this item. Problem might not be Nagios at all, I have never had a problem on Red Hat or Sun Solaris 6,8 or 9 if one sets the Apache web server conf file up correctly, and the permissions on Nagios per the docs. Sincerely Larry Bills jeff vier wrote: >While not ideal, have you tried opening up permissions on things? > >a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd >want to leave live, but it'll at least "fix" the problem enough to let >you know if it's a file permissions problem > >On Tue, 2003-09-16 at 11:51, Rick_Blair at fws.gov wrote: > > >>I really feel like I am spinning my wheels here. >> >>I reinstalled the OS (redhat 7.3) on a test box twice and reinstalled >>nagios on that test box. >> >>I have used config files (*.cfg) that I know have worked in the past >>because I had this thing running for 5 months without a problem. >> >>During my reinstalls I have gone through the Nagios documentation step >>by step and everything I have seems fine. >> >>I have seen different postings in different places on the web with the >>same problem and no one seems to have a fix for these people. I have >>also been contacted by someone who had the same problem which was >>never fixed. >> >>Is there any way to turn logging on for the cgi scripts? I keep >>getting this "It appears as though you do not have permission to view >>information for any of the hosts you requested." but there is >>absolutely no logging available telling me why I get this error. >> >>Rick Blair >>Network Engineer >>USFW >>303.202.2687 >> >> >> >>Matt Pounsett >> >>Sent by: >>nagios-users-admin at lists.sourceforge.net >> >>09/15/2003 09:14 AM >> >> To: >>Rick_Blair at fws.gov >> cc: >>nagios-users at lists.sourceforge.net >> Subject: >>Re: [Nagios-users] CGI >>permissions make me mad >>also! HELP!!!! >> >> >>On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: >> >> >> >>>Here's my cgi.cfg: >>> >>> use_authentication=1 >>> >>> authorized_for_configuration_information=rblair,jfedewa,mjones >>> authorized_for_system_commands=rblair,jfedewa >>> authorized_for_all_services=rblair >>> authorized_for_all_hosts=rblair >>> authorized_for_all_service_commands=rblair,jfedewa,mjones >>> authorized_for_all_host_commands=rblair,jfedewa,mjones >>> >>>Here's the box in the upper left hand corner of my browser. >>> Logged in as rblair >>> >>> >>That certainly looks like all the right stuff to me. >>I'm a relatively new user to Nagios, so I don't know all the little >>pitfalls.. >>If I think of anything else I'll let you know. >> >>If you want to check permissions.. all my files are owned by >>nagios:daemon (I >>compiled nagios to use the daemon group instead of its own custom >>group). >>Config files and logs are mode 0644, directories and executables are >>0755, and >>the nagios.cmd file is 2660. >> >> >>-- >>Matt Pounsett CIRA - Canadian Internet Registration >>Authority >>Technical Support Programmer 350 Sparks Street, >>Suite 1110 >>matt.pounsett at cira.ca Ottawa, Ontario, >>Canada >>613.237.5335 ext. 231 >>http://www.cira.ca >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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 larry.bills at mci.com Tue Sep 16 21:39:53 2003 From: larry.bills at mci.com (Larry Bills) Date: Tue, 16 Sep 2003 14:39:53 -0500 Subject: CGI permissions make me mad! In-Reply-To: <3F675DC8.701@mci.com> References: <1063735608.16059.79.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> <3F675DC8.701@mci.com> Message-ID: <3F676709.60800@mci.com> Correction...should have read mod_auth.so Larry Larry Bills wrote: > Have you checked out your webserver, since you did a resinstall of > everything. If mod_auto.so is not loaded, you will not be able to > authorize, also check all other web server switches that may affect > this item. Problem might not be Nagios at all, I have never had a > problem on Red Hat or Sun Solaris 6,8 or 9 if one sets the Apache web > server conf file up correctly, and the permissions on Nagios per the docs. > > Sincerely > > Larry Bills > > jeff vier wrote: > >>While not ideal, have you tried opening up permissions on things? >> >>a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd >>want to leave live, but it'll at least "fix" the problem enough to let >>you know if it's a file permissions problem >> >>On Tue, 2003-09-16 at 11:51, Rick_Blair at fws.gov wrote: >> >> >>>I really feel like I am spinning my wheels here. >>> >>>I reinstalled the OS (redhat 7.3) on a test box twice and reinstalled >>>nagios on that test box. >>> >>>I have used config files (*.cfg) that I know have worked in the past >>>because I had this thing running for 5 months without a problem. >>> >>>During my reinstalls I have gone through the Nagios documentation step >>>by step and everything I have seems fine. >>> >>>I have seen different postings in different places on the web with the >>>same problem and no one seems to have a fix for these people. I have >>>also been contacted by someone who had the same problem which was >>>never fixed. >>> >>>Is there any way to turn logging on for the cgi scripts? I keep >>>getting this "It appears as though you do not have permission to view >>>information for any of the hosts you requested." but there is >>>absolutely no logging available telling me why I get this error. >>> >>>Rick Blair >>>Network Engineer >>>USFW >>>303.202.2687 >>> >>> >>> >>>Matt Pounsett >>> >>>Sent by: >>>nagios-users-admin at lists.sourceforge.net >>> >>>09/15/2003 09:14 AM >>> >>> To: >>>Rick_Blair at fws.gov >>> cc: >>>nagios-users at lists.sourceforge.net >>> Subject: >>>Re: [Nagios-users] CGI >>>permissions make me mad >>>also! HELP!!!! >>> >>> >>>On Fri, 12 Sep 2003 Rick_Blair at fws.gov wrote: >>> >>> >>> >>>>Here's my cgi.cfg: >>>> >>>> use_authentication=1 >>>> >>>> authorized_for_configuration_information=rblair,jfedewa,mjones >>>> authorized_for_system_commands=rblair,jfedewa >>>> authorized_for_all_services=rblair >>>> authorized_for_all_hosts=rblair >>>> authorized_for_all_service_commands=rblair,jfedewa,mjones >>>> authorized_for_all_host_commands=rblair,jfedewa,mjones >>>> >>>>Here's the box in the upper left hand corner of my browser. >>>> Logged in as rblair >>>> >>>> >>>That certainly looks like all the right stuff to me. >>>I'm a relatively new user to Nagios, so I don't know all the little >>>pitfalls.. >>>If I think of anything else I'll let you know. >>> >>>If you want to check permissions.. all my files are owned by >>>nagios:daemon (I >>>compiled nagios to use the daemon group instead of its own custom >>>group). >>>Config files and logs are mode 0644, directories and executables are >>>0755, and >>>the nagios.cmd file is 2660. >>> >>> >>>-- >>>Matt Pounsett CIRA - Canadian Internet Registration >>>Authority >>>Technical Support Programmer 350 Sparks Street, >>>Suite 1110 >>>matt.pounsett at cira.ca Ottawa, Ontario, >>>Canada >>>613.237.5335 ext. 231 >>>http://www.cira.ca >>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by:ThinkGeek >>>Welcome to geek heaven. >>>http://thinkgeek.com/sf >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: 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:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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 tim at mintoskatingclub.com Tue Sep 16 22:12:55 2003 From: tim at mintoskatingclub.com (Tim Shouldice) Date: Tue, 16 Sep 2003 16:12:55 -0400 (EDT) Subject: Problems with nsclient ...Connection refused by host Message-ID: <200309162012.h8GKCt2j027823@webmail2.magma.ca> The current version of check_nt is compatible with all old versions of NSClient, however new versions of NSClient require the current check_nt for all functions to work properly. Tim Shouldice On Sep 12, "Josh Van As" wrote: > Don't know what the official answer here is. But I only upgraded a few > > of my services to 1.8.4, just the ones that were having problems. I am > > still using the same check_nt bin (from the 1.3.1 plug-in download). > > > > > > > > Seems to be working fine for us. > > > > > > > > -Josh > > > > > > > > -----Original Message----- > > From: Jason Payne - iLand Internet Solutions Corp. > > [mailto:jason.payne at iland.com] > > Sent: Thursday, September 11, 2003 5:42 PM > > To: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused > > by host > > > > > > > > Is it possible to upgrade the service only, or is the service dependant > > on the check_nt script version? We have nsclient on many hosts and I > > wouldn't like having to upgrade all of them at once. > > > > > > > > -Jason > > > > -----Original Message----- > > From: Josh Van As [mailto:JVanas at finncorp.com] > > Sent: Wednesday, September 10, 2003 9:17 AM > > To: Matthew.Quinney at hollandandholland.com > > Cc: nagios-users at lists.sourceforge.net > > Subject: RE: [Nagios-users] Problems with nsclient ...Connection refused > > by host > > > > Upgrade to 1.8.4 solved my problems as well... > > > > > > > > Thanks (everyone) for the help! > > > > > > > > -----Original Message----- > > From: Matthew.Quinney at hollandandholland.com > > [mailto:Matthew.Quinney at hollandandholland.com] > > Sent: Wednesday, September 10, 2003 9:16 AM > > To: Josh Van As > > Cc: nagios-users at lists.sourceforge.net; > > nagios-users-admin at lists.sourceforge.net > > Subject: Re: [Nagios-users] Problems with nsclient ...Connection refused > > by host > > > > > > > > > > Josh, > > > > I have upgraded a lot of my machines to NSClient 1.084 and that helped > > stability. > > > > Matthew > > > > > > > > > > "Josh Van As" > > Sent by: nagios-users-admin at lists.sourceforge.net > > > > 10/09/2003 13:35 > > > > > > To > > > > > > > > > > cc > > > > > > > > > > Subject > > > > [Nagios-users] Problems with nsclient ...Connection refused by host > > > > > > > > > > > > > > > > > > > > > > > > I am running nsclient 1.07.1 on about 10 different Windows 2000/2003 > > Servers. On 2 of the servers, after a reboot, the nsclient occasionally > > stops responding to checks..... > > > > I issue the command: > > > > ./check_nt -H server.domain -v CPULOAD -l 5,50,80 > > > > And the response is: > > > > Connection refused by host > > > > The service claims to be running on the Windows box. I even try > > restarting the service to no avail. > > > > Does anyone have any idea what might be causing this? > > > > TIA! > > > > -Josh > > > > > > _____________________________________________________________________ > > This e-mail has been scanned for viruses by the uuNet Internet Managed > > Scanning Service - powered by MessageLabs. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > >
> > > >

style='font-size: > > 10.0pt;font-family:Arial;color:navy'>Don’t know what the official > answer > > here is.  But I only upgraded a few of my services to 1.8.4, just > the ones that > > were having problems.  I am still using the same check_nt bin (from > the 1.3.1 plug-in > > download).

> > > >

style='font-size: > > 10.0pt;font-family:Arial;color:navy'> 

> > > >

style='font-size: > > 10.0pt;font-family:Arial;color:navy'>Seems to be working fine for > us.

> > > >

style='font-size: > > 10.0pt;font-family:Arial;color:navy'> 

> > > >

style='font-size: > > 10.0pt;font-family:Arial;color:navy'>-Josh

> > > >

style='font-size: > > 10.0pt;font-family:Arial;color:navy'> 

> > > >

face=Tahoma> > style='font-size:10.0pt;font-family:Tahoma'>-----Original > Message-----
> > From: Jason Payne - iLand > Internet > > Solutions Corp. [mailto:jason.payne at iland.com]
> > Sent: Thursday, September > 11, 2003 > > 5:42 PM
> > To: > > nagios-users at lists.sourceforge.net
> > Subject: RE: > [Nagios-users] > > Problems with nsclient ...Connection refused by host

> > > >

face="Times New Roman"> > style='font-size:12.0pt'> 

> > > >
> > > >

color=blue face=Arial> > style='font-size:10.0pt;font-family:Arial;color:blue'>Is it possible > to upgrade > > the service only, or is the service dependant on the check_nt script > > version?  We have nsclient on many hosts and I wouldn't like having > to > > upgrade all of them at once.

> > > >
> > > >
> > > >

face="Times New Roman"> > style='font-size:12.0pt'> 

> > > >
> > > >
> > > >

color=blue face=Arial> > style='font-size:10.0pt;font-family:Arial;color:blue'>-Jason nt>

> > > >
> > > >
style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'> > > > >

style='margin-right:0in;margin-bottom:12.0pt;margin-left: > > .5in'> style='font-size:10.0pt;font-family:Tahoma'>-----Original > > Message-----
> > From: Josh Van As > [mailto:JVanas at finncorp.com]
> > Sent: Wednesday, > September 10, > > 2003 9:17 AM
> > To: > > Matthew.Quinney at hollandandholland.com
> > Cc: > > nagios-users at lists.sourceforge.net
> > Subject: RE: > [Nagios-users] > > Problems with nsclient ...Connection refused by host

> > > >

color=navy face=Arial> > style='font-size:10.0pt;font-family:Arial;color:navy'>Upgrade to 1.8.4 > solved > > my problems as well…

> > > >

face="Times New Roman"> > style='font-size:12.0pt'> 

> > > >

color=navy face=Arial> > style='font-size:10.0pt;font-family:Arial;color:navy'>Thanks > (everyone) for the > > help!

> > > >

face="Times New Roman"> > style='font-size:12.0pt'> 

> > > >

face=Tahoma> > style='font-size:10.0pt;font-family:Tahoma'>-----Original > Message-----
> > From: > > Matthew.Quinney at hollandandholland.com > > [mailto:Matthew.Quinney at hollandandholland.com]
> > Sent: Wednesday, > September 10, > > 2003 9:16 AM
> > To: Josh Van As
> > Cc: > nagios-users at lists.sourceforge.net; > > nagios-users-admin at lists.sourceforge.net
> > Subject: Re: > [Nagios-users] > > Problems with nsclient ...Connection refused by host

> > > >

face="Times New Roman"> > style='font-size:12.0pt'> 

> > > >

style='margin-right:0in;margin-bottom:12.0pt;margin-left: > > 1.0in'> style='font-size:12.0pt'>
> >
style='font-size:10.0pt;font-family: > > Arial'>Josh,
> >
> > style='font-size:10.0pt;font-family:Arial'>I have > > upgraded a lot of my machines to NSClient 1.084 and that helped > stability. > >
> >
> > style='font-size:10.0pt;font-family:Arial'>Matthew
> >
> >

> > > > > style='width:100.0%;margin-left:1.0in'> > > > > > > > > > >
> >

style='font-size:7.5pt; > > font-family:Arial;font-weight:bold'>"Josh Van As" > > <JVanas at finncorp.com> face=Arial> > style='font-size:7.5pt;font-family:Arial'>
> > style='font-size:7.5pt;font-family:Arial'>Sent > > by: nagios-users-admin at lists.sourceforge.net

> >

style='font-size:7.5pt;font-family:Arial'>10/09/2003 > > 13:35

> >
> > width="100%" > > style='width:100.0%'> > > > > > > > > > > > > > > > > > > > > > > > > > >
> >

size=1 > > face=Arial> style='font-size:7.5pt;font-family:Arial'>To

> >
> >

style='font-size:7.5pt; > > > font-family:Arial'><nagios-users at lists.sourceforge.net> t> > >

> >
> >

size=1 > > face=Arial> style='font-size:7.5pt;font-family:Arial'>cc

> >
> >

> style='font-size:12.0pt'> 

> >
> >

size=1 > > face=Arial> style='font-size:7.5pt;font-family:Arial'>Subject

> >
> >

style='font-size:7.5pt; > > font-family:Arial'>[Nagios-users] Problems with nsclient > ...Connection > > refused by host

> >
> >

> style='font-size:12.0pt'> 

> > > > > > > > > > > >
> >

> style='font-size:12.0pt'> 

> >
> >

> style='font-size:12.0pt'> 

> >
> >

> >
> > > >

face="Times New Roman"> > style='font-size:12.0pt'>
> >
> >
> >
style='font-size:10.0pt;font-family: > > Arial'>I am running nsclient 1.07.1 on about 10 different Windows > 2000/2003 > > Servers.  On 2 of the servers, after a reboot, the > nsclient > size=2 face=Arial> style='font-size:10.0pt;font-family:Arial'>occasionally > > stops responding to checks…..

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>I issue the command:

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>./check_nt -H face=Arial> > style='font-size:10.0pt;font-family:Arial'>server.domain -v CPULOAD -l > 5,50,80 > >

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>And the response is:

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>Connection refused by host

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>The service claims to be running on the > Windows box. > >  I even try restarting the service to no avail.

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>Does anyone have any idea what might be > causing this? > >

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>TIA!

> > > >

style='font-size: > > 10.0pt;font-family:Arial'>-Josh

> > > >

> style='font-size:12.0pt'>
> > _____________________________________________________________________
> > > This e-mail has been scanned for viruses by the uuNet Internet Managed > Scanning > > Service - powered by MessageLabs.

> > > >
> > > >
> > > > > > > > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Tue Sep 16 23:11:02 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Tue, 16 Sep 2003 15:11:02 -0600 Subject: CGI permissions make me mad! Message-ID: I have set up a new test server and made the permissions as wide open as possible. I still get a cgi error: "It appears as though you do not have permission to view information for any of the hosts you requested..." 1. All cgi files in /usr/local/nagios/lib/cgi are 0755 owned by nagios:apache. 2. My cgi.cfg looks like this: main_config_file=/usr/local/nagios/etc/nagios.cfg physical_html_path=/usr/local/nagios/share url_html_path=/nagios show_context_help=0 use_authentication=0 default_user_name=guest authorized_for_system_information=* authorized_for_configuration_information=* authorized_for_system_commands=* authorized_for_all_services=* authorized_for_all_hosts=* authorized_for_all_service_commands=* 3. My httpd Include file for nagios (/etc/httpd/conf.d/nagios.conf) looks like this: ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/lib/cgi/ Options ExecCGI order deny,allow deny from all allow from all Alias /nagios/ /usr/local/nagios/share/ Options None order deny,allow deny from all allow from all 4. The web page shows me logged in as 'guest'. Rick Blair Network Engineer USFW Rick Blair Network Engineer USFW 303.202.2687 Larry Bills Sent by: nagios-users-admin at lists.sourceforge.net 09/16/2003 01:39 PM To: cc: jeff vier , nagios-users Subject: Re: [Nagios-users] CGI permissions make me mad! Correction...should have read mod_auth.so Larry Larry Bills wrote: Have you checked out your webserver, since you did a resinstall of everything. If mod_auto.so is not loaded, you will not be able to authorize, also check all other web server switches that may affect this item. Problem might not be Nagios at all, I have never had a problem on Red Hat or Sun Solaris 6,8 or 9 if one sets the Apache web server conf file up correctly, and the permissions on Nagios per the docs. Sincerely Larry Bills jeff vier wrote: While not ideal, have you tried opening up permissions on things? a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd want to leave live, but it'll at least "fix" the problem enough to let you know if it's a file permissions problem -------------- next part -------------- An HTML attachment was scrubbed... URL: From benny at bennyvision.com Tue Sep 16 23:25:17 2003 From: benny at bennyvision.com (C. Bensend) Date: Tue, 16 Sep 2003 16:25:17 -0500 (CDT) Subject: CGI permissions make me mad! In-Reply-To: References: Message-ID: <2921.134.244.169.17.1063747539.squirrel@webmail.stinkweasel.net> > > 3. My httpd Include file for nagios (/etc/httpd/conf.d/nagios.conf) looks > like this: > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/lib/cgi/ > > Options ExecCGI > order deny,allow > deny from all > allow from all > Hey Rick, I haven't been following the play-by-play on your problem, but a quick glance through your latest message made me curious - did you actually modify the ./configure parameter for the CGI executables (sbindir, IIRC)? Out of the box, Nagios doesn't install the CGIs in ${PREFIX}/lib/cgi... If you have, then never mind me. :) Benny -- Outlook, the exploding Pinto on the information superhighway. --Sean Donelan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 16 23:31:07 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 16 Sep 2003 17:31:07 -0400 (EDT) Subject: CGI permissions make me mad! In-Reply-To: References: Message-ID: On Tue, 16 Sep 2003 Rick_Blair at fws.gov wrote: > I have set up a new test server and made the permissions as wide open as > possible. I still get a cgi error: > "It appears as though you do not have permission to view information for > any of the hosts you requested..." Another possible red-herring.. but something to look at anyway.. I've noticed that all of the Nagios CGIs process ALL of the nagios config files every time they are run... and they don't (appear to) use exactly the same parser as the nagios binary itself. I've found that if I'm in the middle of adding a new host config file, for example, the CGIs will start complaining that I don't have permission to view anything, when really what they mean is that they have tried (and failed) to parse an incomplete config file. If Nagios starts up properly, this may not be your issue.. but I thought I'd mention it anyway. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From larry.bills at mci.com Wed Sep 17 01:30:03 2003 From: larry.bills at mci.com (NetViper) Date: Tue, 16 Sep 2003 18:30:03 -0500 Subject: CGI permissions make me mad! In-Reply-To: References: Message-ID: <3F679CFB.1090209@mci.com> Your httpd.conf file is not correct...you do not have authorizations set PER THE DOCS... AllowOverride AuthConfig order allow,deny allow from all Options ExecCGI Yours should read... AllowOveride AuthConfig Options ExecCGI order deny,allow deny from all allow from all also of course you need a .htaccess in the /lib/cgi directory pointing to your htaccessuers file L. Bills Rick_Blair at fws.gov wrote: > > I have set up a new test server and made the permissions as wide open > as possible. I still get a cgi error: > > "It appears as though you do not have permission to view information > for any of the hosts you requested..." > > 1. All cgi files in /usr/local/nagios/lib/cgi are 0755 owned by > nagios:apache. > > 2. My cgi.cfg looks like this: > > main_config_file=/usr/local/nagios/etc/nagios.cfg > physical_html_path=/usr/local/nagios/share > url_html_path=/nagios > show_context_help=0 > use_authentication=0 > default_user_name=guest > authorized_for_system_information=* > authorized_for_configuration_information=* > authorized_for_system_commands=* > authorized_for_all_services=* > authorized_for_all_hosts=* > authorized_for_all_service_commands=* > > 3. My httpd Include file for nagios (/etc/httpd/conf.d/nagios.conf) > looks like this: > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/lib/cgi/ > > Options ExecCGI > order deny,allow > deny from all > allow from all > > > Alias /nagios/ /usr/local/nagios/share/ > > Options None > order deny,allow > deny from all > allow from all > > > 4. The web page shows me logged in as 'guest'. > > Rick Blair > Network Engineer > USFW > > Rick Blair > Network Engineer > USFW > 303.202.2687 > > > > > Larry Bills > Sent by: nagios-users-admin at lists.sourceforge.net > > 09/16/2003 01:39 PM > > > To: > cc: jeff vier , > nagios-users > Subject: Re: [Nagios-users] CGI permissions make me mad! > > > > > Correction...should have read mod_auth.so > > Larry > > Larry Bills wrote: > Have you checked out your webserver, since you did a resinstall of > everything. If mod_auto.so is not loaded, you will not be able to > authorize, also check all other web server switches that may affect > this item. Problem might not be Nagios at all, I have never had a > problem on Red Hat or Sun Solaris 6,8 or 9 if one sets the Apache web > server conf file up correctly, and the permissions on Nagios per the docs. > > Sincerely > > Larry Bills > > jeff vier wrote: > While not ideal, have you tried opening up permissions on things? > > a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd > want to leave live, but it'll at least "fix" the problem enough to let > you know if it's a file permissions problem > -------------- next part -------------- An HTML attachment was scrubbed... URL: From karl at debisschop.net Wed Sep 17 01:37:45 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Tue, 16 Sep 2003 19:37:45 -0400 Subject: CGI permissions make me mad! In-Reply-To: References: Message-ID: <1063755465.10455.8.camel@miles.debisschop.net> On Tue, 2003-09-16 at 17:11, Rick_Blair at fws.gov wrote: > I have set up a new test server and made the permissions as wide open > as possible. I still get a cgi error: > "It appears as though you do not have permission to view information > for any of the hosts you requested..." > > 1. All cgi files in /usr/local/nagios/lib/cgi are 0755 owned by > nagios:apache. > > 2. My cgi.cfg looks like this: > > main_config_file=/usr/local/nagios/etc/nagios.cfg > physical_html_path=/usr/local/nagios/share > url_html_path=/nagios > show_context_help=0 > use_authentication=0 > default_user_name=guest > authorized_for_system_information=* > authorized_for_configuration_information=* > authorized_for_system_commands=* > authorized_for_all_services=* > authorized_for_all_hosts=* > authorized_for_all_service_commands=* > > 3. My httpd Include file for nagios (/etc/httpd/conf.d/nagios.conf) > looks like this: > > ScriptAlias /nagios/cgi-bin/ /usr/local/nagios/lib/cgi/ > > Options ExecCGI > order deny,allow > deny from all > allow from all > > > Alias /nagios/ /usr/local/nagios/share/ > > Options None > order deny,allow > deny from all > allow from all > > > 4. The web page shows me logged in as 'guest'. Which means that you haven't logged into HTTP. You are showing up as the unauthenticated default user. Try changing '*' to 'guest' I don't know for sure that it will work but I read: # SYSTEM/PROCESS INFORMATION ACCESS # This option is a comma-delimited list of all usernames that # have access to viewing the Nagios process information as # provided by the Extended Information CGI (extinfo.cgi). By # default, *no one* has access to this unless you choose to # not use authorization. You may use an asterisk (*) to # authorize any user who has authenticated to the web server. Since guest has not authenticated, accrding to the comments it should be denied. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rickblair_mail at yahoo.com Wed Sep 17 04:38:58 2003 From: rickblair_mail at yahoo.com (Rick Blair) Date: Tue, 16 Sep 2003 19:38:58 -0700 (PDT) Subject: CGI permissions make me mad! In-Reply-To: <3F679CFB.1090209@mci.com> References: <3F679CFB.1090209@mci.com> Message-ID: <20030917023858.45021.qmail@web21109.mail.yahoo.com> I did this on perpose on my test server. I left everything open with no authentication. The other server I have this running on has the httpd authentication set up. --- NetViper wrote: > Your httpd.conf file is not correct...you do not > have authorizations set > > PER THE DOCS... > > > AllowOverride AuthConfig > order allow,deny > allow from all > Options ExecCGI > > > Yours should read... > > > AllowOveride AuthConfig > Options ExecCGI > order deny,allow > deny from all > allow from all > > > also of course you need a .htaccess in the /lib/cgi > directory pointing > to your htaccessuers file > > L. Bills > > Rick_Blair at fws.gov wrote: > > > > > I have set up a new test server and made the > permissions as wide open > > as possible. I still get a cgi error: > > > > "It appears as though you do not have permission > to view information > > for any of the hosts you requested..." > > > > 1. All cgi files in /usr/local/nagios/lib/cgi are > 0755 owned by > > nagios:apache. > > > > 2. My cgi.cfg looks like this: > > > > > main_config_file=/usr/local/nagios/etc/nagios.cfg > > physical_html_path=/usr/local/nagios/share > > url_html_path=/nagios > > show_context_help=0 > > use_authentication=0 > > default_user_name=guest > > authorized_for_system_information=* > > authorized_for_configuration_information=* > > authorized_for_system_commands=* > > authorized_for_all_services=* > > authorized_for_all_hosts=* > > authorized_for_all_service_commands=* > > > > 3. My httpd Include file for nagios > (/etc/httpd/conf.d/nagios.conf) > > looks like this: > > > > ScriptAlias /nagios/cgi-bin/ > /usr/local/nagios/lib/cgi/ > > > > Options ExecCGI > > order deny,allow > > deny from all > > allow from all > > > > > > Alias /nagios/ /usr/local/nagios/share/ > > > > Options None > > order deny,allow > > deny from all > > allow from all > > > > > > 4. The web page shows me logged in as 'guest'. > > > > Rick Blair > > Network Engineer > > USFW > > > > Rick Blair > > Network Engineer > > USFW > > 303.202.2687 > > > > > > > > > > Larry Bills > > Sent by: nagios-users-admin at lists.sourceforge.net > > > > 09/16/2003 01:39 PM > > > > > > To: > > cc: jeff vier > , > > nagios-users > > Subject: Re: [Nagios-users] CGI > permissions make me mad! > > > > > > > > > > Correction...should have read mod_auth.so > > > > Larry > > > > Larry Bills wrote: > > Have you checked out your webserver, since you did > a resinstall of > > everything. If mod_auto.so is not loaded, you will > not be able to > > authorize, also check all other web server > switches that may affect > > this item. Problem might not be Nagios at all, I > have never had a > > problem on Red Hat or Sun Solaris 6,8 or 9 if one > sets the Apache web > > server conf file up correctly, and the permissions > on Nagios per the docs. > > > > Sincerely > > > > Larry Bills > > > > jeff vier wrote: > > While not ideal, have you tried opening up > permissions on things? > > > > a `chmod -R 777 /path/to/cgis /path/to/nagios` > isn't something you'd > > want to leave live, but it'll at least "fix" the > problem enough to let > > you know if it's a file permissions problem > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From teng at dataway.com Wed Sep 17 04:52:11 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 16 Sep 2003 19:52:11 -0700 Subject: Monitoring multi-homed boxen References: <20030916153657.GL66001@sentex.net> Message-ID: It sort of depends on how the services are set up on the multi-homed host. Do the different interfaces have services specific to each interface? (For example, DHCP in one side, DNS on the other side). If so I'd monitor each interface as a separate host. Do you have to go through one interface to get to the other? (For example, a box set up as a gateway, which Nagios is allowed to route through). If so, I'd set up the near interface as parent, and the far side interface as a child. This would mark the far side interface 'unreachable' if the near interface goes down. Is the same service bound to multiple ports? If so, monitoring one interface should suffice, since you'll now that if the service itself dies, it's likely dead for all the interfaces. "Damian Gerow" wrote in message news:20030916153657.GL66001 at sentex.net... > We've recently set up Nagios, and aside from getting dependancies working > fully, it's been a breeze. I just have one 'what are people doing to...' > question: > > How are people monitoring multi-homed boxen? Do you set one IP as the > primary, and just monitor reachability on the other interfaces, with those > interfaces depending on the primary IP? Do you monitor every service on > every interface? Do you even /use/ dependancies? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp.thompson at qut.edu.au Wed Sep 17 05:11:25 2003 From: rp.thompson at qut.edu.au (Russell Thompson) Date: Wed, 17 Sep 2003 13:11:25 +1000 Subject: Nagios web page doesn't show any images In-Reply-To: <20030917023858.45021.qmail@web21109.mail.yahoo.com> References: <3F679CFB.1090209@mci.com> <20030917023858.45021.qmail@web21109.mail.yahoo.com> Message-ID: <5.1.1.5.2.20030917130335.029a3de8@imap.qut.edu.au> I have a problem with images when I access the nagios cgi's via a web browser. It gives me the information in text only (I do get some .png images). The broken link for images icon flashes up briefly then goes away and displays text only. No colors either. I have installed the jpeg, png, gd libraries successfully (I assume). After installing the gd libraries, it tells me it has found the png and jpeg libraries, but only png images show up on the web page. Anyone had this problem before, or has any ideas? Thanks Russell Thompson PC Support Faculty of Information Technology QUT x1172 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rp.thompson at qut.edu.au Wed Sep 17 06:07:43 2003 From: rp.thompson at qut.edu.au (Russell Thompson) Date: Wed, 17 Sep 2003 14:07:43 +1000 Subject: Nagios web page doesn't show any images In-Reply-To: <5.1.1.5.2.20030917130335.029a3de8@imap.qut.edu.au> References: <20030917023858.45021.qmail@web21109.mail.yahoo.com> <3F679CFB.1090209@mci.com> <5.1.1.5.2.20030917130335.029a3de8@imap.qut.edu.au> Message-ID: <5.1.1.5.2.20030917140643.029a67e0@imap.qut.edu.au> It's ok I have found the problem. The URL HTML PATH in cgi.cfg was wrong. Thanks, Russell. At 01:11 PM 17/09/2003 +1000, Russell Thompson wrote: >I have a problem with images when I access the nagios cgi's via a web >browser. It gives me the information in text only (I do get some .png >images). The broken link for images icon flashes up briefly then goes away >and displays text only. No colors either. I have installed the jpeg, png, >gd libraries successfully (I assume). After installing the gd libraries, >it tells me it has found the png and jpeg libraries, but only png images >show up on the web page. > >Anyone had this problem before, or has any ideas? > >Thanks > >Russell Thompson >PC Support >Faculty of Information Technology >QUT >x1172 > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null Russell Thompson PC Support Faculty of Information Technology QUT x1172 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Wed Sep 17 06:57:42 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Tue, 16 Sep 2003 21:57:42 -0700 Subject: With NSCA what check_command do you use? Message-ID: <022801c37cd8$3a2c5570$7800000a@lunchbox> ok, i got NSCA working but i'm confused what check_command to use. Since NSCA works by receiving results via externals i really dont need a check_command on the nagios monitor but it wont let me not have one. I setup libexec/check_dummy in it's place but that gives unaccurate results becasue nagios still runs that check_command and it's returning OK and overwriting the info it received via externals. At the moment i'm wondering if i should use NRPE or whatever but i hate the idea of having this server on every server. NSCA doesnt seam like it was well thoughout. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From starbase_947 at KNESSET.GOV.IL Wed Sep 17 08:45:05 2003 From: starbase_947 at KNESSET.GOV.IL (=?WINDOWS-1255?Q?=EE=F9=E4_=F8=E5=F4=E0?=) Date: Wed, 17 Sep 2003 08:45:05 +0200 Subject: check_dhcp Message-ID: <457CE430FA75D61193D90002A5F0CF89012E7DA1@ZAVITAN> hello. in the contrib folder i had found check_dhcp.c file. it compiled and seemed ok but it can only run from a priviliged user like root. nagios runs against a different user. how can i utilize check_dhcp plugin with a normal user? which permission must i change in order for the plugin to work? thanks' moshe. -------------- next part -------------- An HTML attachment was scrubbed... URL: From garrick at usc.edu Wed Sep 17 08:22:25 2003 From: garrick at usc.edu (Garrick Staples) Date: Tue, 16 Sep 2003 23:22:25 -0700 Subject: check_dhcp In-Reply-To: <457CE430FA75D61193D90002A5F0CF89012E7DA1@ZAVITAN> References: <457CE430FA75D61193D90002A5F0CF89012E7DA1@ZAVITAN> Message-ID: <20030917062225.GL1637@polop.usc.edu> On Wed, Sep 17, 2003 at 08:45:05AM +0200, ??? ???? alleged: > how can i utilize check_dhcp plugin with a normal user? which permission > must i change in order for the plugin to work? chmod 4750 check_dhcp chown root:nagios check_dhcp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From gert.lindstrom at brevik.nu Wed Sep 17 10:37:32 2003 From: gert.lindstrom at brevik.nu (Gert Lindstrom) Date: Wed, 17 Sep 2003 10:37:32 +0200 Subject: Larger networks Message-ID: <001401c37cf6$f27c5760$3bc8a8c0@gerts> Hello group. I would like some advice regarding setting up Nagios for monitoring larger networks. We have been running Nagios at our main location for almost a year. Everyone is quite exited how good it works and the managers now wants to expand the monitoring to all our locations worldwide. Is this possible to do with one Nagios server ? Is there a way to "mirror" the Nagios servers ? Can a distributed Nagios server also act as a stand alone ? ( some checks to be relayed to the mother server and others not ). Is there any special things to take in consideration when monitoring larger networks. To give you som clues about how many servers we want to monitor here are som numbers: Windows servers about 500 pcs AS/400 about 60 pcs Network eqipment yes :-) lots of switches, routers and VPN gates. Locations about 100 spread arund the world in about 40 countrys. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Goran.Nilsson at fmhs.mil.se Wed Sep 17 11:47:18 2003 From: Goran.Nilsson at fmhs.mil.se (Goran.Nilsson at fmhs.mil.se) Date: Wed, 17 Sep 2003 11:47:18 +0200 Subject: Getting check_snmp to work properly under Freebsd5/nagios/apan Message-ID: Hi there i have a strange problem, im trying to check out he bw on some nt-server but i don't recive anything so it could be putted in to my rrd record if i try to run snmpget with the default command all i get is "SNMP problem - No data recieved from host" . I have dubbel and tripple checked rights,case sensitive , spelling. dns lookup. And still nothing.. if someone have @ least the smallest think of what it can be you would make me very glad!!! With regards /Goran (Embedded image moved to file: pic18605.gif) G?ran Nilsson IT-Ingenj?r FMLOG, LedTek Halmstad Tel 035-266 2133 Fax 035-266 2109 goran.nilsson at fmhs.mil.se -------------- next part -------------- A non-text attachment was scrubbed... Name: pic18605.gif Type: image/gif Size: 4021 bytes Desc: not available URL: From Sam at Luna.nl Wed Sep 17 12:20:55 2003 From: Sam at Luna.nl (Sam Terburg) Date: Wed, 17 Sep 2003 12:20:55 +0200 Subject: multiple parents Message-ID: <404FDD57B6C6D2119E0700902735F524019F9D46@lavazza.office.luna.net> We have a ring network. ----- | A | ----- | | ----- ----- | B | | C | ----- ----- | | ----- | N | ----- meaning that if one router goes down, the computers behind it are still reachable via the other side of the ring. in the diagram above N=Nagios. A has parents B & C. how will nagios handle the unreachability of host A? wil it report 'host a unreachable' when both B & C are down (which is correct) or as soon as just one them is down or doesn't nagios support multiple parents at all? and what if both B & C are down, but A is still up and reachable via a transit line (thus outside our ring). Greetings, Sam Terburg Operations @ Luna.nl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From erhard.wais at vie.boehringer-ingelheim.com Wed Sep 17 12:23:23 2003 From: erhard.wais at vie.boehringer-ingelheim.com (erhard.wais at vie.boehringer-ingelheim.com) Date: Wed, 17 Sep 2003 12:23:23 +0200 Subject: nagios & hp openview Message-ID: at the moment we are evaluating nagios in combination with hp openview. now, what kind of communication between openview and nagios is possible, especially the way from nagios to openview ? thanks in advance ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mike.simkins at sungard.com Wed Sep 17 12:13:42 2003 From: mike.simkins at sungard.com (mike.simkins at sungard.com) Date: Wed, 17 Sep 2003 11:13:42 +0100 Subject: CGI permissions make me mad! Message-ID: <8CDB06CA7F958E4F954699DF820E965406BF0C@e2klon1.internal.sungard.corp> This probably will not work anyway because of the apache config - you are denying access to all machines, before allowing access from all machines..... > > > AllowOveride AuthConfig > Options ExecCGI > order deny,allow <<<<<<<< > deny from all > allow from all > Try : order allow,deny Mike -----Original Message----- From: Rick Blair [mailto:rickblair_mail at yahoo.com] Sent: Wednesday, September 17, 2003 3:39 AM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] CGI permissions make me mad! I did this on perpose on my test server. I left everything open with no authentication. The other server I have this running on has the httpd authentication set up. --- NetViper wrote: > Your httpd.conf file is not correct...you do not > have authorizations set > > PER THE DOCS... > > > AllowOverride AuthConfig > order allow,deny > allow from all > Options ExecCGI > > > Yours should read... > > > AllowOveride AuthConfig > Options ExecCGI > order deny,allow > deny from all > allow from all > > > also of course you need a .htaccess in the /lib/cgi > directory pointing > to your htaccessuers file > > L. Bills > > Rick_Blair at fws.gov wrote: > > > > > I have set up a new test server and made the > permissions as wide open > > as possible. I still get a cgi error: > > > > "It appears as though you do not have permission > to view information > > for any of the hosts you requested..." > > > > 1. All cgi files in /usr/local/nagios/lib/cgi are > 0755 owned by > > nagios:apache. > > > > 2. My cgi.cfg looks like this: > > > > > main_config_file=/usr/local/nagios/etc/nagios.cfg > > physical_html_path=/usr/local/nagios/share > > url_html_path=/nagios > > show_context_help=0 > > use_authentication=0 > > default_user_name=guest > > authorized_for_system_information=* > > authorized_for_configuration_information=* > > authorized_for_system_commands=* > > authorized_for_all_services=* > > authorized_for_all_hosts=* > > authorized_for_all_service_commands=* > > > > 3. My httpd Include file for nagios > (/etc/httpd/conf.d/nagios.conf) > > looks like this: > > > > ScriptAlias /nagios/cgi-bin/ > /usr/local/nagios/lib/cgi/ > > > > Options ExecCGI > > order deny,allow > > deny from all > > allow from all > > > > > > Alias /nagios/ /usr/local/nagios/share/ > > > > Options None > > order deny,allow > > deny from all > > allow from all > > > > > > 4. The web page shows me logged in as 'guest'. > > > > Rick Blair > > Network Engineer > > USFW > > > > Rick Blair > > Network Engineer > > USFW > > 303.202.2687 > > > > > > > > > > Larry Bills > > Sent by: nagios-users-admin at lists.sourceforge.net > > > > 09/16/2003 01:39 PM > > > > > > To: > > cc: jeff vier > , > > nagios-users > > Subject: Re: [Nagios-users] CGI > permissions make me mad! > > > > > > > > > > Correction...should have read mod_auth.so > > > > Larry > > > > Larry Bills wrote: > > Have you checked out your webserver, since you did > a resinstall of > > everything. If mod_auto.so is not loaded, you will > not be able to > > authorize, also check all other web server > switches that may affect > > this item. Problem might not be Nagios at all, I > have never had a > > problem on Red Hat or Sun Solaris 6,8 or 9 if one > sets the Apache web > > server conf file up correctly, and the permissions > on Nagios per the docs. > > > > Sincerely > > > > Larry Bills > > > > jeff vier wrote: > > While not ideal, have you tried opening up > permissions on things? > > > > a `chmod -R 777 /path/to/cgis /path/to/nagios` > isn't something you'd > > want to leave live, but it'll at least "fix" the > problem enough to let > > you know if it's a file permissions problem > > > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sfranks at zixcorp.com Wed Sep 17 12:49:32 2003 From: sfranks at zixcorp.com (Steven Franks) Date: Wed, 17 Sep 2003 05:49:32 -0500 Subject: Command-specific authorization. Message-ID: <2AC6E353C807C6418DE650D05F6334C4131977@zixit-exch-01d.dev.zixadmin.com> Is there a way to assign a user specific access to individual host/service commands? I've read the documentation and searched the faqs for information on whether this is possible but have come up empty-handed. It seems that a user is either authenticated to use all of the commands available for a service/host or none at all. What I want to do is restrict access to the commands that enable/disable passive and active checks for hosts and services without impeding an authenticated user's ability to use other tools they might need when responding to issues (acknowledgement, comments, etc.). Can this be done? Thanks in advance for any helpful info. -Steven -------------- next part -------------- An HTML attachment was scrubbed... URL: From jim.mozley at exponential-e.com Wed Sep 17 14:22:03 2003 From: jim.mozley at exponential-e.com (Jim Mozley) Date: Wed, 17 Sep 2003 13:22:03 +0100 Subject: nagios & hp openview References: Message-ID: <049201c37d16$4d89b9d0$03bff40a@Exponentiale.com> > at the moment we are evaluating nagios in combination with hp openview. > now, what kind of communication between openview and nagios is possible, > especially the way from nagios to openview ? > thanks in advance You could submit events from Nagios to Network Node Manager (which is what I assume you mean by OpenView) using ovevent (it has a man page). This could be run by an event handler or notification commands. Jim ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Sep 17 15:37:35 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 17 Sep 2003 08:37:35 -0500 Subject: With NSCA what check_command do you use? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EDBE@mismail.ena.com> ________________________________________ From: Shaun Reitan :: NDC Host [mailto:Shaun.Reitan at NDCHost.com] Sent: Tuesday, September 16, 2003 11:58 PM To: nagios-users at lists.sourceforge.net ok, i got NSCA working but i'm confused what check_command to use.? Since NSCA works by receiving results via externals i really dont need a check_command on the nagios monitor but it wont let me not have one.? I setup libexec/check_dummy in it's place but that gives unaccurate results becasue nagios still runs that check_command and it's returning OK and overwriting the info it received via externals. ? At the moment i'm wondering if i should use NRPE or whatever but i hate the idea of having this server on every server. NSCA doesnt seam like it was well thoughout. ? ? --- NSCA was design to be used in a distributed Nagios environment where you have multiple Nagios servers in multiple locations all reporting the results of their checks back to one or more other Nagios servers for display, archiving, etc. Because of this, the host_name and service_description for a submitted check result must match a service definition on the central server. I don't think that the actual check_command matters. In your case, it sounds like you haven't disabled active checks for the specific services that you are submitting results for. The cleanest way in my experience is to set the check_period to 'none' for each service you are submitting passive results for. An alternate way is to set active_checks_enabled to 0 (but I believe you'll see a red 'P' for each service set like this. This is done of course on the central Nagios machine. You'll still need a check_command definition but it will never get executed. NRPE is designed to work with an active central Nagios server to execute plugins on remote machines running the NRPE daemon with the specific nagios plugins you are interested in. You can think of it as a proxy for the check_command. A full installation of nagios isn't necessary on each machine you want to monitor local resources on, only those plugins you are interested in. -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Wed Sep 17 17:03:46 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Wed, 17 Sep 2003 09:03:46 -0600 Subject: CGI permissions make me mad! Message-ID: Here is something I have tried on my own. # su - nagios $ export REQUEST_METHOD=GET $ export REMOTE_USER=rblair $ export QUERY_STRING="?hostgroup=all&style=summary" $ /usr/local/nagios/lib/cgi/status.cgi > /tmp/output.html This produces the proper html code that I can load into a browser. I then changed apache to allow logins and did the same steps up above as 'su - apache'. The cgi generated the error! I do not understand this however since I have made all ownership nagios:apache and even added apache to nagios group. Does this make sense to anyone? Rick Blair Network Engineer USFW 303.202.2687 jeff vier Sent by: nagios-users-admin at lists.sourceforge.net 09/16/2003 12:06 PM To: nagios-users cc: Subject: Re: [Nagios-users] CGI permissions make me mad! While not ideal, have you tried opening up permissions on things? a `chmod -R 777 /path/to/cgis /path/to/nagios` isn't something you'd want to leave live, but it'll at least "fix" the problem enough to let you know if it's a file permissions problem -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.pounsett at cira.ca Wed Sep 17 17:42:17 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 17 Sep 2003 11:42:17 -0400 (EDT) Subject: CGI permissions make me mad! In-Reply-To: References: Message-ID: On Wed, 17 Sep 2003 Rick_Blair at fws.gov wrote: > I then changed apache to allow logins and did the same steps up above as > 'su - apache'. > The cgi generated the error! > I do not understand this however since I have made all ownership > nagios:apache and even added apache to nagios group. Hrm... maybe check the permissions on each and every directory leading up to your config and cgi files? I ran into this in one install test.. a directory I'd picked for local plugins had a parent which was not world readable, and set group 'staff'. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Wed Sep 17 17:43:40 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 17 Sep 2003 11:43:40 -0400 Subject: Monitoring multi-homed boxen In-Reply-To: References: <20030916153657.GL66001@sentex.net> Message-ID: <20030917154340.GW66001@sentex.net> Thus spake Tedman Eng (teng at dataway.com) [16/09/03 22:53]: > It sort of depends on how the services are set up on the multi-homed host. > > Do the different interfaces have services specific to each interface? (For > example, DHCP in one side, DNS on the other side). If so I'd monitor each > interface as a separate host. > > Do you have to go through one interface to get to the other? (For example, a > box set up as a gateway, which Nagios is allowed to route through). If so, > I'd set up the near interface as parent, and the far side interface as a > child. This would mark the far side interface 'unreachable' if the near > interface goes down. For the most part, I'm talking about routers here. Some of them are internal to our network, some of them have an interface on an external network. The services they run will (for the most part) be the same on every interface -- a remote connection daemon (telnet, ssh), and a routing daemon. So it /is/ important to monitor every daemon on every interface (we need to know if peering with Company X goes down, but the rest of the box is up). I suppose to clarify, what I was trying to avoid is, with ten routers, three interfaces per router, that's thirty host objects. There's no way to specify multiple IP addresses in a host object, is there? Because technically they /are/ all the same machine; every interface runs the same service. The only thing that's changed is the IP address of the interface. Having multiple IP's per host object would really un-clutter the visual display, but would probably be a PITA to get working properly, especially with dependancies. For hosts that provide different services on different interfaces, yes, I would easily consider each interface to be a separate host object. Just not for one host that essentially would be duplicated n times. > Is the same service bound to multiple ports? If so, monitoring one > interface should suffice, since you'll now that if the service itself dies, > it's likely dead for all the interfaces. Ah, but if the non-monitored /interface/ dies, we won't get an error. If there's routing problems to an external interface, or if the card suddenly dies, or if the cable is unplugged, we'd need to know for that interface. Yes, I know, in this case we only really need to monitor connectivity to the interface, and not the individual services. But that brings me back to the headache of having many, many more host objects than actual hosts. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Wed Sep 17 18:21:49 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 17 Sep 2003 11:21:49 -0500 (CDT) Subject: Monitoring multi-homed boxen In-Reply-To: <20030917154340.GW66001@sentex.net> References: <20030916153657.GL66001@sentex.net> <20030917154340.GW66001@sentex.net> Message-ID: <4933.192.168.1.15.1063815709.squirrel@xyzzy.homeip.net> Just define each interface on the router as a service. Use SNMP to check the interface status, or you can just ping the IP address(es) bound to that interface. Use loopback IP addresses on the routers for the host checks. That is the best model for a multi-interface host anyway, IMHO. > Thus spake Tedman Eng (teng at dataway.com) [16/09/03 22:53]: >> It sort of depends on how the services are set up on the multi-homed host. >> >> Do the different interfaces have services specific to each interface? (For >> example, DHCP in one side, DNS on the other side). If so I'd monitor each >> interface as a separate host. >> >> Do you have to go through one interface to get to the other? (For example, a >> box set up as a gateway, which Nagios is allowed to route through). If so, >> I'd set up the near interface as parent, and the far side interface as a >> child. This would mark the far side interface 'unreachable' if the near >> interface goes down. > > For the most part, I'm talking about routers here. Some of them are > internal to our network, some of them have an interface on an external > network. The services they run will (for the most part) be the same on > every interface -- a remote connection daemon (telnet, ssh), and a routing > daemon. > > So it /is/ important to monitor every daemon on every interface (we need to > know if peering with Company X goes down, but the rest of the box is up). > > I suppose to clarify, what I was trying to avoid is, with ten routers, three > interfaces per router, that's thirty host objects. There's no way to > specify multiple IP addresses in a host object, is there? Because > technically they /are/ all the same machine; every interface runs the same > service. The only thing that's changed is the IP address of the interface. > Having multiple IP's per host object would really un-clutter the visual > display, but would probably be a PITA to get working properly, especially > with dependancies. > > For hosts that provide different services on different interfaces, yes, I > would easily consider each interface to be a separate host object. Just not > for one host that essentially would be duplicated n times. > >> Is the same service bound to multiple ports? If so, monitoring one >> interface should suffice, since you'll now that if the service itself dies, >> it's likely dead for all the interfaces. > > Ah, but if the non-monitored /interface/ dies, we won't get an error. If > there's routing problems to an external interface, or if the card suddenly > dies, or if the cable is unplugged, we'd need to know for that interface. > > Yes, I know, in this case we only really need to monitor connectivity to the > interface, and not the individual services. But that brings me back to the > headache of having many, many more host objects than actual hosts. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rick_Blair at fws.gov Wed Sep 17 18:35:41 2003 From: Rick_Blair at fws.gov (Rick_Blair at fws.gov) Date: Wed, 17 Sep 2003 10:35:41 -0600 Subject: I made nagio mad - I solved it !!!!!!!!!!!!!!!! Message-ID: I changed the group permissions on all the file in nagios' var to be writable from r-x to rwx. I new I was overlooking something simple. Thanks for all of your help everyone!!!!. Rick Blair Network Engineer USFW 303.202.2687 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed Sep 17 18:41:07 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 17 Sep 2003 12:41:07 -0400 Subject: Larger networks Message-ID: <5F29693503507B4FB4032686ADF86267214D61@mtviny25.mtvi.com> Gert, Read up on nsca and nrpe. I use nsca for a distributed monitoring system... although not as spread out geographically as you.. but I have over 400 hosts defined and 3,300 services. I use 192-bit encryption and have had no issues so far. I would think about things like connectivity and bandwidth when making your decision on how to proceed. How is your network set up at your company? Do you have one central lcoation which has direct connectivity to each of your offices? To answer your question below regarding a distributed nagios server acting as a stand alone... are you asking if a nagios server can receive passive checks along with processing active checks itself? If that is the question, than yes, it can be done. You could have your one central server (which would have to be at an office which had connectivity to most of your offices) accept passive checks from ceratin offices and do active checks at other offices. Hope this helps! -Keith -----Original Message----- From: Gert Lindstrom [mailto:gert.lindstrom at brevik.nu] Sent: Wednesday, September 17, 2003 4:38 AM To: Nagios-users at lists.sourceforge.net Subject: [Nagios-users] Larger networks Hello group. I would like some advice regarding setting up Nagios for monitoring larger networks. We have been running Nagios at our main location for almost a year. Everyone is quite exited how good it works and the managers now wants to expand the monitoring to all our locations worldwide. Is this possible to do with one Nagios server ? Is there a way to "mirror" the Nagios servers ? Can a distributed Nagios server also act as a stand alone ? ( some checks to be relayed to the mother server and others not ). Is there any special things to take in consideration when monitoring larger networks. To give you som clues about how many servers we want to monitor here are som numbers: Windows servers about 500 pcs AS/400 about 60 pcs Network eqipment yes :-) lots of switches, routers and VPN gates. Locations about 100 spread arund the world in about 40 countrys. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Sep 17 19:02:36 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 17 Sep 2003 12:02:36 -0500 Subject: Larger networks Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EDD4@mismail.ena.com> How do you handle major network outages? We monitor 1810 hosts and 2348 services currently and it's been my experience that when there is an outage of over approximately 100 hosts that check latency skyrockets and Nagios is pretty useless for realtime status until the problem is resolved and Nagios restarted. It's not unusual for us to have between 20 and 40 hosts down on the network at any given time (construction, circuit issues, end user error, etc.) I've tried modifying my host check command to only ping once but I still had issues. I've been able to get around it by disabling host checking entirely, which is ok for the time being, but I sacrifice some of the more interesting functionality like parenting, etc. I utilize a distributed environment (4 data collectors reporting back to 2 central hosts) and I expect that the passive host checks in 2.0 will help me out significantly but until then I'm kind of stuck. Don't get me wrong, I love Nagios and it's a wonderfully effective tool. I just wish I could get it just right in my environment when in crisis mode with all the features active ;) -- Marc ________________________________________ From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Wednesday, September 17, 2003 11:41 AM To: Gert Lindstrom; Nagios-users at lists.sourceforge.net Gert, ? Read up on nsca and nrpe.? I use nsca for a distributed monitoring system... although not as spread out geographically as you.. but I have over 400 hosts defined and 3,300 services.? I use 192-bit encryption and have had no issues so far.? ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Wed Sep 17 19:55:58 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 17 Sep 2003 13:55:58 -0400 Subject: Monitoring multi-homed boxen In-Reply-To: <4933.192.168.1.15.1063815709.squirrel@xyzzy.homeip.net> References: <20030916153657.GL66001@sentex.net> <20030917154340.GW66001@sentex.net> <4933.192.168.1.15.1063815709.squirrel@xyzzy.homeip.net> Message-ID: <20030917175558.GH66001@sentex.net> Thus spake Mike McClure (mmcclure at pneservices.com) [17/09/03 12:26]: > Just define each interface on the router as a service. Use SNMP to check the > interface status, or you can just ping the IP address(es) bound to that interface. > Use loopback IP addresses on the routers for the host checks. > > That is the best model for a multi-interface host anyway, IMHO. Well, slap my ass and call me Sally. That makes *perfect* sense! I'll be a-workin' on that right away. - Damian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed Sep 17 20:31:29 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 17 Sep 2003 14:31:29 -0400 Subject: Larger networks Message-ID: <5F29693503507B4FB4032686ADF86267214D62@mtviny25.mtvi.com> Marc, Unfortunately, I have the same issue. When I have network outages and more than 15 hosts are down I do experience check latency and nsca does go crazy, things don't return to normal until I restart. I did disable host checking for many of my hosts to try and combat this but we do lose some functionality as you say. I am hoping with 2.0 accepting passive host checks this does get better but I would not discourage anyone from using nagios in a distibuted manner because of these issues that occur once in a while. I think I remember seeing Ethan saying the docs were being written and he was expecting to release it in mid Oct. so we'll see! -Keith -----Original Message----- From: Marc Powell [mailto:mpowell at ena.com] Sent: Wednesday, September 17, 2003 1:03 PM To: Hochberg, Keith; Nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] Larger networks How do you handle major network outages? We monitor 1810 hosts and 2348 services currently and it's been my experience that when there is an outage of over approximately 100 hosts that check latency skyrockets and Nagios is pretty useless for realtime status until the problem is resolved and Nagios restarted. It's not unusual for us to have between 20 and 40 hosts down on the network at any given time (construction, circuit issues, end user error, etc.) I've tried modifying my host check command to only ping once but I still had issues. I've been able to get around it by disabling host checking entirely, which is ok for the time being, but I sacrifice some of the more interesting functionality like parenting, etc. I utilize a distributed environment (4 data collectors reporting back to 2 central hosts) and I expect that the passive host checks in 2.0 will help me out significantly but until then I'm kind of stuck. Don't get me wrong, I love Nagios and it's a wonderfully effective tool. I just wish I could get it just right in my environment when in crisis mode with all the features active ;) -- Marc ________________________________________ From: Hochberg, Keith [mailto:Keith.Hochberg at mtvi.com] Sent: Wednesday, September 17, 2003 11:41 AM To: Gert Lindstrom; Nagios-users at lists.sourceforge.net Gert, ? Read up on nsca and nrpe.? I use nsca for a distributed monitoring system... although not as spread out geographically as you.. but I have over 400 hosts defined and 3,300 services.? I use 192-bit encryption and have had no issues so far.? ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Wed Sep 17 20:52:43 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Wed, 17 Sep 2003 14:52:43 -0400 Subject: multiple parents Message-ID: <5F29693503507B4FB4032686ADF862673B5994@mtviny25.mtvi.com> It sounds like you are confusing dependencies with parents. You can define multiple parents for a host in hosts.cfg and that will affect the status map. You can create a dependencies.cfg with a host dependency A being dependent on B & C. -Keith -----Original Message----- From: Sam Terburg [mailto:Sam at Luna.nl] Sent: Wednesday, September 17, 2003 6:21 AM To: 'Nagios-users at lists.sourceforge.net' Subject: [Nagios-users] multiple parents We have a ring network. ----- | A | ----- | | ----- ----- | B | | C | ----- ----- | | ----- | N | ----- meaning that if one router goes down, the computers behind it are still reachable via the other side of the ring. in the diagram above N=Nagios. A has parents B & C. how will nagios handle the unreachability of host A? wil it report 'host a unreachable' when both B & C are down (which is correct) or as soon as just one them is down or doesn't nagios support multiple parents at all? and what if both B & C are down, but A is still up and reachable via a transit line (thus outside our ring). Greetings, Sam Terburg Operations @ Luna.nl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Wed Sep 17 21:04:39 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Wed, 17 Sep 2003 12:04:39 -0700 Subject: With NSCA what check_command do you use? Message-ID: <02f001c37d4e$8b543aa0$7800000a@lunchbox> ok, i got NSCA working but i'm confused what check_command to use. Since NSCA works by receiving results via externals i really dont need a check_command on the nagios monitor but it wont let me not have one. I setup libexec/check_dummy in it's place but that gives unaccurate results becasue nagios still runs that check_command and it's returning OK and overwriting the info it received via externals. At the moment i'm wondering if i should use NRPE or whatever but i hate the idea of having this server on every server. NSCA doesnt seam like it was well thoughout. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Sep 17 21:23:22 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 17 Sep 2003 14:23:22 -0500 Subject: With NSCA what check_command do you use? Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D49BC@mismail.ena.com> See my previous response to this very question. You have a number of options and what you are trying to do will work. -- Marc Sent from a very tiny wireless device with a very tiny unlit keyboard. -----Original Message----- From: Shaun Reitan :: NDC Host To: nagios-users at lists.sourceforge.net Sent: Wed Sep 17 14:04:39 2003 Subject: [Nagios-users] With NSCA what check_command do you use? ok, i got NSCA working but i'm confused what check_command to use. Since NSCA works by receiving results via externals i really dont need a check_command on the nagios monitor but it wont let me not have one. I setup libexec/check_dummy in it's place but that gives unaccurate results becasue nagios still runs that check_command and it's returning OK and overwriting the info it received via externals. At the moment i'm wondering if i should use NRPE or whatever but i hate the idea of having this server on every server. NSCA doesnt seam like it was well thoughout. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From chris.stankaitis at datawire.net Wed Sep 17 21:39:26 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Wed, 17 Sep 2003 15:39:26 -0400 Subject: With NSCA what check_command do you use? In-Reply-To: <02f001c37d4e$8b543aa0$7800000a@lunchbox> References: <02f001c37d4e$8b543aa0$7800000a@lunchbox> Message-ID: <3F68B86E.1000207@datawire.net> in the doc's somewhere there is a small "check" for freshness checking... since all your NSCA checks are passive you'll want to disable ACTIVE checks for the services that are using NSCA this will stop the weird results... then you may want to enable freshness checking on the Passive services, and using the doc-provided freshness-check script switch your NSCA services' check command to the 'check-fresh' or whatever you choose to name it Shaun Reitan :: NDC Host wrote: > ok, i got NSCA working but i'm confused what check_command to use. Since NSCA works by receiving results via externals i really dont need a check_command on the nagios monitor but it wont let me not have one. I setup libexec/check_dummy in it's place but that gives unaccurate results becasue nagios still runs that check_command and it's returning OK and overwriting the info it received via externals. > > At the moment i'm wondering if i should use NRPE or whatever but i hate the idea of having this server on every server. NSCA doesnt seam like it was well thoughout. > > Best Regards, > > Shaun Reitan > CTO > Shaun.Reitan at NDCHost.com > www.NDCHost.com > www.cPlicensing.net -- Chris Stankaitis Systems Administrator Datawire Communication Networks Inc. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Wed Sep 17 22:45:40 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Wed, 17 Sep 2003 13:45:40 -0700 Subject: With NSCA what check_command do you use? References: <02f001c37d4e$8b543aa0$7800000a@lunchbox> <3F68B86E.1000207@datawire.net> Message-ID: <043801c37d5c$a85e9560$7800000a@lunchbox> Chris, Thanks i'll check it out. NSCA has been a pain in the ass so far, i'm having to write scripts just just parse the data for the send process. Am i missing something or is this normal? :) Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net ----- Original Message ----- From: "Chris Stankaitis" To: "Shaun Reitan :: NDC Host" Cc: Sent: Wednesday, September 17, 2003 12:39 PM Subject: Re: [Nagios-users] With NSCA what check_command do you use? > in the doc's somewhere there is a small "check" for freshness > checking... since all your NSCA checks are passive you'll want to > disable ACTIVE checks for the services that are using NSCA this will > stop the weird results... then you may want to enable freshness checking > on the Passive services, and using the doc-provided freshness-check > script switch your NSCA services' check command to the 'check-fresh' or > whatever you choose to name it > > > Shaun Reitan :: NDC Host wrote: > > ok, i got NSCA working but i'm confused what check_command to use. Since NSCA works by receiving results via externals i really dont need a check_command on the nagios monitor but it wont let me not have one. I setup libexec/check_dummy in it's place but that gives unaccurate results becasue nagios still runs that check_command and it's returning OK and overwriting the info it received via externals. > > > > At the moment i'm wondering if i should use NRPE or whatever but i hate the idea of having this server on every server. NSCA doesnt seam like it was well thoughout. > > > > Best Regards, > > > > Shaun Reitan > > CTO > > Shaun.Reitan at NDCHost.com > > www.NDCHost.com > > www.cPlicensing.net > > -- > Chris Stankaitis > Systems Administrator > Datawire Communication Networks Inc. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Sep 17 23:22:10 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 17 Sep 2003 16:22:10 -0500 Subject: With NSCA what check_command do you use? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EDE5@mismail.ena.com> Shaun, You haven't really given a lot of detail about what you're really trying to accomplish but from the scattering of email going around it seems that you should probably be using NRPE instead of NSCA. NSCA took me about 10 minutes to get set up and working for my distributed Nagios boxen (what it's designed for). If you're trying to set up multiple Nagios boxes polling other remote hosts and all reporting back to a central server, NSCA is the ticket. If you're trying to monitor local resources on remote boxes (CPU, disk, RAM, etc), NRPE is what you want. -- Marc > -----Original Message----- > From: Shaun Reitan :: NDC Host [mailto:Shaun.Reitan at NDCHost.com] > Sent: Wednesday, September 17, 2003 3:46 PM > To: Chris Stankaitis > Cc: nagios-users at lists.sourceforge.net > > Chris, > > Thanks i'll check it out. NSCA has been a pain in the ass so far, i'm > having to write scripts just just parse the data for the send process. Am > i > missing something or is this normal? :) > > Best Regards, > > Shaun Reitan > CTO > Shaun.Reitan at NDCHost.com > www.NDCHost.com > www.cPlicensing.net > > > ----- Original Message ----- > From: "Chris Stankaitis" > To: "Shaun Reitan :: NDC Host" > Cc: > Sent: Wednesday, September 17, 2003 12:39 PM > Subject: Re: [Nagios-users] With NSCA what check_command do you use? > > > > in the doc's somewhere there is a small "check" for freshness > > checking... since all your NSCA checks are passive you'll want to > > disable ACTIVE checks for the services that are using NSCA this will > > stop the weird results... then you may want to enable freshness checking > > on the Passive services, and using the doc-provided freshness-check > > script switch your NSCA services' check command to the 'check-fresh' or > > whatever you choose to name it > > > > > > Shaun Reitan :: NDC Host wrote: > > > ok, i got NSCA working but i'm confused what check_command to use. > Since NSCA works by receiving results via externals i really dont need a > check_command on the nagios monitor but it wont let me not have one. I > setup libexec/check_dummy in it's place but that gives unaccurate results > becasue nagios still runs that check_command and it's returning OK and > overwriting the info it received via externals. > > > > > > At the moment i'm wondering if i should use NRPE or whatever but i > hate > the idea of having this server on every server. NSCA doesnt seam like it > was > well thoughout. > > > > > > Best Regards, > > > > > > Shaun Reitan > > > CTO > > > Shaun.Reitan at NDCHost.com > > > www.NDCHost.com > > > www.cPlicensing.net > > > > -- > > Chris Stankaitis > > Systems Administrator > > Datawire Communication Networks Inc. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Wed Sep 17 23:38:40 2003 From: Shaun.Reitan at NDCHost.com (Shaun.Reitan at NDCHost.com) Date: Wed, 17 Sep 2003 14:38:40 -0700 Subject: With NSCA what check_command do you use? References: <5DB017510818EC468B05BD7BD9EACF8303E7EDE5@mismail.ena.com> Message-ID: <003301c37d64$62e34910$7800000a@lunchbox> Marc, I'm using NSCA because I don't like the idea of opening another port on my box's. I'd rather have those box's make the connection into the monitor. I have been temped to switch to NRPE, because NSCA just seams unreliable at times but the more I learn about things the better it's looking. ----- Original Message ----- From: "Marc Powell" To: "Shaun Reitan :: NDC Host" ; "Chris Stankaitis" Cc: Sent: Wednesday, September 17, 2003 2:22 PM Subject: RE: [Nagios-users] With NSCA what check_command do you use? Shaun, You haven't really given a lot of detail about what you're really trying to accomplish but from the scattering of email going around it seems that you should probably be using NRPE instead of NSCA. NSCA took me about 10 minutes to get set up and working for my distributed Nagios boxen (what it's designed for). If you're trying to set up multiple Nagios boxes polling other remote hosts and all reporting back to a central server, NSCA is the ticket. If you're trying to monitor local resources on remote boxes (CPU, disk, RAM, etc), NRPE is what you want. -- Marc > -----Original Message----- > From: Shaun Reitan :: NDC Host [mailto:Shaun.Reitan at NDCHost.com] > Sent: Wednesday, September 17, 2003 3:46 PM > To: Chris Stankaitis > Cc: nagios-users at lists.sourceforge.net > > Chris, > > Thanks i'll check it out. NSCA has been a pain in the ass so far, i'm > having to write scripts just just parse the data for the send process. Am > i > missing something or is this normal? :) > > Best Regards, > > Shaun Reitan > CTO > Shaun.Reitan at NDCHost.com > www.NDCHost.com > www.cPlicensing.net > > > ----- Original Message ----- > From: "Chris Stankaitis" > To: "Shaun Reitan :: NDC Host" > Cc: > Sent: Wednesday, September 17, 2003 12:39 PM > Subject: Re: [Nagios-users] With NSCA what check_command do you use? > > > > in the doc's somewhere there is a small "check" for freshness > > checking... since all your NSCA checks are passive you'll want to > > disable ACTIVE checks for the services that are using NSCA this will > > stop the weird results... then you may want to enable freshness checking > > on the Passive services, and using the doc-provided freshness-check > > script switch your NSCA services' check command to the 'check-fresh' or > > whatever you choose to name it > > > > > > Shaun Reitan :: NDC Host wrote: > > > ok, i got NSCA working but i'm confused what check_command to use. > Since NSCA works by receiving results via externals i really dont need a > check_command on the nagios monitor but it wont let me not have one. I > setup libexec/check_dummy in it's place but that gives unaccurate results > becasue nagios still runs that check_command and it's returning OK and > overwriting the info it received via externals. > > > > > > At the moment i'm wondering if i should use NRPE or whatever but i > hate > the idea of having this server on every server. NSCA doesnt seam like it > was > well thoughout. > > > > > > Best Regards, > > > > > > Shaun Reitan > > > CTO > > > Shaun.Reitan at NDCHost.com > > > www.NDCHost.com > > > www.cPlicensing.net > > > > -- > > Chris Stankaitis > > Systems Administrator > > Datawire Communication Networks Inc. > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Thu Sep 18 00:05:48 2003 From: creator at mindcreations.com (Creator) Date: Thu, 18 Sep 2003 00:05:48 +0200 Subject: Patch to locate hosts on status map in a fast way Message-ID: <000801c37d67$d9ff0c20$7100a8c0@mindcreations.com> Hi there, here is the patch as promised to locate any host in the status map by single clicking the detailed host page. Look at the attached screenshots to see a little demo: shot1: The red circle shows the new command (Host information page) shot2: After clicking the icon you'll be forwarded on the statusmap using "Depth Layers" method. shot3: Another point (Status Overview for example) from where you can use this function. Before applying to Nagios v1.1 code you may want to change a variable to reflect your preferred Status Map default display mode. Here it is the list as defined in cgi/statusmap.c: #define LAYOUT_USER_SUPPLIED 0 #define LAYOUT_SUBLAYERS 1 #define LAYOUT_COLLAPSED_TREE 2 #define LAYOUT_BALANCED_TREE 3 #define LAYOUT_CIRCULAR 4 #define LAYOUT_CIRCULAR_MARKUP 5 #define LAYOUT_CIRCULAR_BALLOON 6 Look at the diff file and substitute the "layout=1" string with "layout=?" where ? is a number from 0 to 6 to be chosen from the above list or just skip this step if you are comfortable with the default setting. Apply the patch by typing: cd /cgi patch status.c /locate-on-map.diff make;strip status.cgi;cp status.cgi /sbin Now set /sbin/status.cgi permissions as those of the other files in that dir and you have finished. Enjoy! ------------ Stefano Coletta http://www.mindcreations.com -------------- next part -------------- A non-text attachment was scrubbed... Name: locate-on-map.diff Type: application/octet-stream Size: 1141 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot3.jpg Type: image/jpeg Size: 11005 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot2.jpg Type: image/jpeg Size: 10024 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot1.jpg Type: image/jpeg Size: 70468 bytes Desc: not available URL: From jchall at mtntel.com Thu Sep 18 01:39:38 2003 From: jchall at mtntel.com (J.C. Hall) Date: Wed, 17 Sep 2003 16:39:38 -0700 Subject: checking BGP states on Cisco routers Message-ID: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com> Is there a plugin to check the state of a BGP peer on a Cisco router, and how would I obtain it? Thanks ~j.c. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Thu Sep 18 03:20:07 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 17 Sep 2003 20:20:07 -0500 (CDT) Subject: checking BGP states on Cisco routers In-Reply-To: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com> References: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com> Message-ID: <1982.192.168.1.9.1063848007.squirrel@xyzzy.homeip.net> There are two ways to do it. The first is set up check_snmp to watch a particular MIB object. The fundamental idea is described here: http://www.cctec.com/maillists/nanog/historical/9706/msg00097.html The second way is to set up logging of BGP states in your router, and use logwatch or swatch to send a passive update to Nagios. Don't forget that you have to do: router bgp nnnn bgp log-neighbor-changes on your router, in addition to setting up the syslog stuff. Actually, there's one more way, by setting up an SNMP trap collector and getting the trap from the router. I don't like that method myself, but YMMV. - Mike -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 > Is there a plugin to check the state of a BGP peer on a Cisco router, and > how would I obtain it? > > Thanks > > ~j.c. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > 0 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Stanley.Hopcroft at IPAustralia.Gov.AU Thu Sep 18 07:20:24 2003 From: Stanley.Hopcroft at IPAustralia.Gov.AU (Stanley Hopcroft) Date: Thu, 18 Sep 2003 15:20:24 +1000 Subject: checking BGP In-Reply-To: ; from nagios-users-request@lists.sourceforge.net on Wed, Sep 17, 2003 at 08:13:25PM -0700 References: Message-ID: <20030918152017.F16152@IPAustralia.Gov.AU> Dear Sir, I am writing to thank you for your letter and say, > > From: "Mike McClure" > > The second way is to set up logging of BGP states in your router, and use logwatch > or swatch to send a passive update to Nagios. Don't forget that you have to do: > .. or if you want more power and reliability (than swatch at least) you can do the same with 'sec' (by Risto) on Source Forge. Sec is extremely nice in my view since it lets you manipulate and filter the log records with Perl. Yours sincerely -- ------------------------------------------------------------------------ Stanley Hopcroft ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjohnson at got.wedgie.org Thu Sep 18 08:58:31 2003 From: bjohnson at got.wedgie.org (Brad Johnson) Date: Thu, 18 Sep 2003 02:58:31 -0400 (EDT) Subject: Latency ok but last check of service hours old? Message-ID: Okay, I give up. I've tried to look everywhere save digging through the source code. Can anyone explain how Nagios calculates its latency? My box is performing 301 service checks and they are all active checks. Earlier I had max_concurrent_checks set to 0, service_reaper_frequency to 10, and aggergate_status_updates to 1. My nagios box was launching a huge load of processes, and some checks were just plain getting forgotten. If I looked at the scheduling queue, I'd see services that had last been checked an hour ago with the "next check" scheduled for 55 minutes in the past. Yet my latency numbers according to Performance Info were only at a few seconds. I don't see how that could be. I double-checked to make sure no old nagios "boss" processes were running (I know this can confuse it sometimes). No luck. I tried turning on the "check for orphans" thing, and that just seemed to make it worse because it kept re-scheduling old "forgotten" checks before they got run. It makes me think that maybe the checks are actually executing on time (so that Nagios's concept of latency is still okay), but the service reaper isn't updating the status properly. Would that explain what I'm seeing? On the mailing list archives I saw a couple of people who were asking similar questions and experiencing similar problems to mine, but no one seemed to have a good answer. I tried a number of different things, and I seem to have finally got something that is working for me. I set up all my checks so they would time out in no more than 15 seconds. My normal check intervals are 5 minutes. I turned off aggregate_status_updates and changed my max_concurrent_checks to something reasonable like 30 (whatever nagios -s suggested). I also disabled some checks that I knew would fail cause the hosts are down right now. At the moment, my "oldest" service check is only five minutes old. That's good. It makes me happy. Can anyone shed some light on what might be going on? I'm gonna go delve into the source code hoping to find some clues. If I find anything, I'll post back. But I'm kinda hoping someone has already done the hard work. :-) Thanks, Brad Johnson P.S. I tinkered with almost every setting at one point or another today with no real change. Only after I disabled aggregate_status_updates did my "oldest" service checks start looking more reasonable. I noticed that in my old netsaint config, I had aggregate_status_updates disabled as well. Could this be the culprit? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marco.ciullini at datamar.it Thu Sep 18 09:06:39 2003 From: marco.ciullini at datamar.it (Marco Ciullini) Date: Thu, 18 Sep 2003 09:06:39 +0200 Subject: check_ping from 2 interfaces In-Reply-To: <20030916132329.3242e805.thiago@ntime.com.br> References: <3F66E479.20702@datamar.it> <20030916132329.3242e805.thiago@ntime.com.br> Message-ID: <3F69597F.9010809@datamar.it> thank you! I will test it ASAP. > Here it goes. Have fun. > > You might have some portability problems, but the major part is done. > I used nagios-plugins-1.3.0. > > [thiago at careca plugins]$ ./check_ping -v -H demeter -w 100,50% -c > 200,80% -I eth0 > > /bin/ping -n -U -c 5 demeter -I eth0 ==> PING OK - Packet > loss = 0%, RTA = 0.24 ms 100.000000:50% 200.000000:80% > > > Files description: > check_ping.c.diff: patch for check_ping.c (1.3.0) and my modified > check_ping-interface.c > > config.h: changes needed in config.h (PING_COMMAND) > > check_ping-interface.c: my modified version of check_ping.c > > Regards, > -- Marco Ciullini ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpttdi at yahoo.fr Thu Sep 18 09:38:38 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Thu, 18 Sep 2003 09:38:38 +0200 (CEST) Subject: Remove service and host commands from user interface. Message-ID: <20030918073838.45539.qmail@web41009.mail.yahoo.com> Hi, I would like to know if it's possible to hide the hosts and services commands in the user interface for particular user. I have set up an account for monitoring users, and i don't want them to be able to disable checks of a service or to disable notifications (all that you can do with services and hosts commands) I found in the manual a lot of options to grant additionnal rights to user but nothing about retrieving the right to disable notifications or checks ! Is there any way to do that ? Thanks. Jpt. --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From dirkjan at capcave.com Thu Sep 18 10:05:28 2003 From: dirkjan at capcave.com (Dirk-Jan Wemmers) Date: Thu, 18 Sep 2003 10:05:28 +0200 Subject: checking BGP states on Cisco routers In-Reply-To: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com > References: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com > Message-ID: <5.2.1.1.0.20030918100259.03ad0818@mail.capcave.nl> J.C., At 16:39 17-09-2003 -0700, you wrote: >Is there a plugin to check the state of a BGP peer on a Cisco router, and >how would I obtain it? Check the contrib/ dir in the nagios-plugins package, you will find check_bgpstate.pl :) Regards, Dirk-Jan -- Dirk-Jan Wemmers, Capcave B.V. Zonnebaan 17, 3542EA Utrecht T +31(0)30-2149670, F +31(0)30-2149679 M +31(0)651 063040, E dirkjan at capcave.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Sep 18 12:27:59 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Thu, 18 Sep 2003 06:27:59 -0400 Subject: Monitoring multi-homed boxen In-Reply-To: <20030917154340.GW66001@sentex.net> References: <20030916153657.GL66001@sentex.net> <20030917154340.GW66001@sentex.net> Message-ID: <1063880879.3479.4.camel@miles.debisschop.net> On Wed, 2003-09-17 at 11:43, Damian Gerow wrote: > Thus spake Tedman Eng (teng at dataway.com) [16/09/03 22:53]: > > It sort of depends on how the services are set up on the multi-homed host. > > > > Do the different interfaces have services specific to each interface? (For > > example, DHCP in one side, DNS on the other side). If so I'd monitor each > > interface as a separate host. > > > > Do you have to go through one interface to get to the other? (For example, a > > box set up as a gateway, which Nagios is allowed to route through). If so, > > I'd set up the near interface as parent, and the far side interface as a > > child. This would mark the far side interface 'unreachable' if the near > > interface goes down. > > For the most part, I'm talking about routers here. Some of them are > internal to our network, some of them have an interface on an external > network. The services they run will (for the most part) be the same on > every interface -- a remote connection daemon (telnet, ssh), and a routing > daemon. > > So it /is/ important to monitor every daemon on every interface (we need to > know if peering with Company X goes down, but the rest of the box is up). > > I suppose to clarify, what I was trying to avoid is, with ten routers, three > interfaces per router, that's thirty host objects. There's no way to > specify multiple IP addresses in a host object, is there? Because > technically they /are/ all the same machine; every interface runs the same > service. The only thing that's changed is the IP address of the interface. > Having multiple IP's per host object would really un-clutter the visual > display, but would probably be a PITA to get working properly, especially > with dependancies. define host{ name generic-host notifications_enabled 1 event_handler_enabled 1 flap_detection_enabled 1 process_perf_data 1 retain_status_information 1 retain_nonstatus_information 1 check_command check-host-alive max_check_attempts 10 notification_interval 120 notification_period 24x7 notification_options d,r register 0 } define host{ use generic-host host_name lin04 alias lin04 address 10.160.3.169,165.193.123.156,165.193.123.157 } define command{ command_name check-host-alive command_line /usr/lib/nagios/plugins/check_ping -H $HOSTADDRESS$ -w 3000.0,80% -c 5000.0,100% -p 1 } But you have to use the plugins from CVS HEAD. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Sep 18 12:42:28 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Thu, 18 Sep 2003 06:42:28 -0400 Subject: checking BGP states on Cisco routers In-Reply-To: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com> References: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com> Message-ID: <1063881748.3525.0.camel@miles.debisschop.net> On Wed, 2003-09-17 at 19:39, J.C. Hall wrote: > Is there a plugin to check the state of a BGP peer on a Cisco router, and > how would I obtain it? contrib/check_bgpstate.pl -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Thu Sep 18 13:41:00 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 18 Sep 2003 06:41:00 -0500 (CDT) Subject: checking BGP states on Cisco routers In-Reply-To: <1063881748.3525.0.camel@miles.debisschop.net> References: <137874D5DA6FD511864E0090279C2BE1AE71A8@exchange.mtntel.com> <1063881748.3525.0.camel@miles.debisschop.net> Message-ID: <4099.192.168.1.9.1063885260.squirrel@xyzzy.homeip.net> Oops! Forget what I said then. :) > On Wed, 2003-09-17 at 19:39, J.C. Hall wrote: >> Is there a plugin to check the state of a BGP peer on a Cisco router, and >> how would I obtain it? > > contrib/check_bgpstate.pl > > -- > Karl > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chris.stankaitis at datawire.net Thu Sep 18 14:24:01 2003 From: chris.stankaitis at datawire.net (Chris Stankaitis) Date: Thu, 18 Sep 2003 08:24:01 -0400 Subject: With NSCA what check_command do you use? In-Reply-To: <043801c37d5c$a85e9560$7800000a@lunchbox> References: <02f001c37d4e$8b543aa0$7800000a@lunchbox> <3F68B86E.1000207@datawire.net> <043801c37d5c$a85e9560$7800000a@lunchbox> Message-ID: <3F69A3E1.3070908@datawire.net> Nope, your right it's a pain in the ass... we had to write a script to massage the data also.. but I personally think that the pain is worth it's 2 main advantages, we monitor close to 1000 services over our various servers, other then some ping, ssh, http etc checks all are passive... and our Nagios box is still very busy.. passive checks through NSCA are encrypted (a very big plus over other methods) and take a good chunk of the load off our main Nagios server, as it is we have had to play around with timings and thresholds to get all of our active checks to run in our check_interval :) Once you get it working adding new servers, and the upkeep becomes negligible but yes.. it is a pain to get going initially. Chris Shaun Reitan :: NDC Host wrote: > Chris, > > Thanks i'll check it out. NSCA has been a pain in the ass so far, i'm > having to write scripts just just parse the data for the send process. Am i > missing something or is this normal? :) > > Best Regards, > > Shaun Reitan > CTO > Shaun.Reitan at NDCHost.com > www.NDCHost.com > www.cPlicensing.net > > > ----- Original Message ----- > From: "Chris Stankaitis" > To: "Shaun Reitan :: NDC Host" > Cc: > Sent: Wednesday, September 17, 2003 12:39 PM > Subject: Re: [Nagios-users] With NSCA what check_command do you use? > > > >>in the doc's somewhere there is a small "check" for freshness >>checking... since all your NSCA checks are passive you'll want to >>disable ACTIVE checks for the services that are using NSCA this will >>stop the weird results... then you may want to enable freshness checking >>on the Passive services, and using the doc-provided freshness-check >>script switch your NSCA services' check command to the 'check-fresh' or >>whatever you choose to name it >> >> >>Shaun Reitan :: NDC Host wrote: >> >>>ok, i got NSCA working but i'm confused what check_command to use. > > Since NSCA works by receiving results via externals i really dont need a > check_command on the nagios monitor but it wont let me not have one. I > setup libexec/check_dummy in it's place but that gives unaccurate results > becasue nagios still runs that check_command and it's returning OK and > overwriting the info it received via externals. > >>>At the moment i'm wondering if i should use NRPE or whatever but i hate > > the idea of having this server on every server. NSCA doesnt seam like it was > well thoughout. > >>>Best Regards, >>> >>>Shaun Reitan >>>CTO >>>Shaun.Reitan at NDCHost.com >>>www.NDCHost.com >>>www.cPlicensing.net >> >>-- >>Chris Stankaitis >>Systems Administrator >>Datawire Communication Networks Inc. >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. > >>::: Messages without supporting info will risk being sent to /dev/null >> -- Chris Stankaitis Systems Administrator Datawire Communication Networks Inc. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JFountain at rbinc.com Thu Sep 18 16:30:49 2003 From: JFountain at rbinc.com (Jennifer Fountain) Date: Thu, 18 Sep 2003 10:30:49 -0400 Subject: Info about scheduled downtime Message-ID: <4986B9AA97C37D4D91E554CA8D84415B02003DAC@rbnt1.rb.net> I emailed a few weeks ago asking for a script or process that automatically checks for scheduled downtimes. Well, what I ended up doing was installing swatch and checking the /var/log/messages file for SCHEDULED_* and shooting an email if an event occurs. Works great! FYI only :) Cheers, Jenn ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Thu Sep 18 16:46:37 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 18 Sep 2003 10:46:37 -0400 (EDT) Subject: Latency ok but last check of service hours old? In-Reply-To: References: Message-ID: On Thu, 18 Sep 2003, Brad Johnson wrote: > Okay, I give up. I've tried to look everywhere save digging through the > source code. Hi Brad.. I'm in about the same state as you are, except that my C isn't good enough to actually search the source. :) I've got 13 hosts being checked for a total of 66 services (still evaluating, so I haven't plugged in everything yet).. and I've found that some instances of Nagios will fall behind by hours as well. It seems like restarting nagios periodically will clean up the scheduler for a little while, but it doesn't last forever. My current instance is only about 25 minutes behind, but that's unfortunately the best that I've seen it lately. It's been running for about two days now. I'm also running a fairly default configuration -- if anyone's interested, check my last post on the subject for my full nagios.cfg (or, I can forward it to anyone who'd like to see it). Someone earlier indicated that if Nagios is behaving this badly it's likely something wrong in my config file, but he wasn't able to find any problems in my config either. I originally noticed this problem when I decided to test Nagios' ability to send one report of a host being down rather than a dozen reports of all its services being down. I powered off a machine and waited... 36 hours later, three of the services on the host were still being reported as 'ok' since they hadn't been checked yet. If you come across anything, I'd really love to hear about it.. Nagios looks great, but if it's unable to check services in a timely manner I won't be able to use it. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjohnson at got.wedgie.org Thu Sep 18 16:58:50 2003 From: bjohnson at got.wedgie.org (Brad Johnson) Date: Thu, 18 Sep 2003 10:58:50 -0400 (EDT) Subject: Remove service and host commands from user interface. In-Reply-To: <20030918073838.45539.qmail@web41009.mail.yahoo.com> References: <20030918073838.45539.qmail@web41009.mail.yahoo.com> Message-ID: Can't you just use the authorized_for_all_host_commands and authorized_for_all_service_commands variables in cgi.cfg? If you don't want your user to be able to issue commands, just make sure the account's username isn't listed in those variables. Users will still be able to see the commands, even issue them. But as soon as they submit a command for processing, nagios will ignore it and give them an error message unless the username is listed in those variables. I think that should accomplish what you're looking for. Hope it helps. - Brad On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > Hi, > > I would like to know if it's possible to hide the hosts and services commands in the user interface for particular user. > > I have set up an account for monitoring users, and i don't want them to be able to disable checks of a service or to disable notifications (all that you can do with services and hosts commands) > > I found in the manual a lot of options to grant additionnal rights to user but nothing about retrieving the right to disable notifications or checks ! > > Is there any way to do that ? > > > > Thanks. > Jpt. > > > > > --------------------------------- > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Testez le nouveau Yahoo! Mail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Sep 18 17:27:21 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 18 Sep 2003 10:27:21 -0500 Subject: Read-only view? Message-ID: <16233.52953.817394.235638@montanaro.dyndns.org> My boss asked me to see about enabling a user to view only selected hosts and get notifications by email. That wasn't too tough. However, he also requested that this user effectively be read-only. No comments, no acknowledgements, etc. Is that possible? None of the CGI configuration parameters jumped out at me. Thanks, -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpttdi at yahoo.fr Thu Sep 18 17:35:32 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Thu, 18 Sep 2003 17:35:32 +0200 (CEST) Subject: Remove service and host commands from user interface. In-Reply-To: References: Message-ID: <20030918153532.51807.qmail@web41005.mail.yahoo.com> Hi Brad, I have already check the account listed in those variable and there is only the admin account in it. When i'm logged with the account for monitoring users, i'm still able to issue services and hosts commands, no error messages from nagios and the action is done ! The account is named "supervision", it is the only member of the "supervision" contact group. ?????? Thanks. Jpt. Brad Johnson wrote: Can't you just use the authorized_for_all_host_commands and authorized_for_all_service_commands variables in cgi.cfg? If you don't want your user to be able to issue commands, just make sure the account's username isn't listed in those variables. Users will still be able to see the commands, even issue them. But as soon as they submit a command for processing, nagios will ignore it and give them an error message unless the username is listed in those variables. I think that should accomplish what you're looking for. Hope it helps. - Brad On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > Hi, > > I would like to know if it's possible to hide the hosts and services commands in the user interface for particular user. > > I have set up an account for monitoring users, and i don't want them to be able to disable checks of a service or to disable notifications (all that you can do with services and hosts commands) > > I found in the manual a lot of options to grant additionnal rights to user but nothing about retrieving the right to disable notifications or checks ! > > Is there any way to do that ? > > > > Thanks. > Jpt. > > > > > --------------------------------- > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Testez le nouveau Yahoo! Mail --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpttdi at yahoo.fr Thu Sep 18 17:35:26 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Thu, 18 Sep 2003 17:35:26 +0200 (CEST) Subject: Remove service and host commands from user interface. In-Reply-To: References: Message-ID: <20030918153526.86955.qmail@web41013.mail.yahoo.com> Hi Brad, I have already check the account listed in those variable and there is only the admin account in it. When i'm logged with the account for monitoring users, i'm still able to issue services and hosts commands, no error messages from nagios and the action is done ! The account is named "supervision", it is the only member of the "supervision" contact group. ?????? Thanks. Jpt. Brad Johnson wrote: Can't you just use the authorized_for_all_host_commands and authorized_for_all_service_commands variables in cgi.cfg? If you don't want your user to be able to issue commands, just make sure the account's username isn't listed in those variables. Users will still be able to see the commands, even issue them. But as soon as they submit a command for processing, nagios will ignore it and give them an error message unless the username is listed in those variables. I think that should accomplish what you're looking for. Hope it helps. - Brad On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > Hi, > > I would like to know if it's possible to hide the hosts and services commands in the user interface for particular user. > > I have set up an account for monitoring users, and i don't want them to be able to disable checks of a service or to disable notifications (all that you can do with services and hosts commands) > > I found in the manual a lot of options to grant additionnal rights to user but nothing about retrieving the right to disable notifications or checks ! > > Is there any way to do that ? > > > > Thanks. > Jpt. > > > > > --------------------------------- > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Testez le nouveau Yahoo! Mail --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From Samba at guidemail.com Thu Sep 18 17:41:53 2003 From: Samba at guidemail.com (Samba) Date: Thu, 18 Sep 2003 10:41:53 -0500 Subject: Latency ok but last check of service hours old ? Message-ID: What kernel you guys using ? I'm having the same problems with a new box I setup. My old box was SuSE 8.0 and it had no problems, I've noticed the problems more on my Suse 8.2 box (2.4.20). -----Original Message----- From: Matt Pounsett [mailto:matt.pounsett at cira.ca] Sent: Thursday, September 18, 2003 9:47 AM To: Brad Johnson Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Latency ok but last check of service hours old? On Thu, 18 Sep 2003, Brad Johnson wrote: > Okay, I give up. I've tried to look everywhere save digging through the > source code. Hi Brad.. I'm in about the same state as you are, except that my C isn't good enough to actually search the source. :) I've got 13 hosts being checked for a total of 66 services (still evaluating, so I haven't plugged in everything yet).. and I've found that some instances of Nagios will fall behind by hours as well. It seems like restarting nagios periodically will clean up the scheduler for a little while, but it doesn't last forever. My current instance is only about 25 minutes behind, but that's unfortunately the best that I've seen it lately. It's been running for about two days now. I'm also running a fairly default configuration -- if anyone's interested, check my last post on the subject for my full nagios.cfg (or, I can forward it to anyone who'd like to see it). Someone earlier indicated that if Nagios is behaving this badly it's likely something wrong in my config file, but he wasn't able to find any problems in my config either. I originally noticed this problem when I decided to test Nagios' ability to send one report of a host being down rather than a dozen reports of all its services being down. I powered off a machine and waited... 36 hours later, three of the services on the host were still being reported as 'ok' since they hadn't been checked yet. If you come across anything, I'd really love to hear about it.. Nagios looks great, but if it's unable to check services in a timely manner I won't be able to use it. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 message and accompanying documents are covered by the Electronic Communications Privacy Act, 18 U.S.C. ?? 2510-2521, and contains information intended for the specified individual(s) only. This information is confidential. If you are not the intended recipient or an agent responsible for delivering it to the intended recipient, you are hereby notified that you have received this document in error and that any review, dissemination, copying, or the taking of any action based on the contents of this information is strictly prohibited. If you have received this communication in error, please notify us immediately by e-mail, and delete the original message. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Sep 18 17:44:44 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 18 Sep 2003 10:44:44 -0500 Subject: Read-only view? Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EDF7@mismail.ena.com> Not really, at least not via Nagios configuration directives. An option, while not exactly elegant but effective is to create a separate vhost with a copy of the CGI's and replace cmd.cgi with a static 'You do not have permission' page. They'll still read all the standard configs and logs but when a user tries to execute a command they'll get your static page instead. If you really wanted to get sophisticated you could create a wrapper cmd.cgi that looked at the REMOTE_USER environment variable and then redirected them either to the proper cmd.cgi (renamed cmd_authed.cgi or something and appending QUERY_STRING of course) or to the static page above depending on their access level. Just some ramblings.... marc > -----Original Message----- > From: Skip Montanaro [mailto:skip at pobox.com] > Sent: Thursday, September 18, 2003 10:27 AM > To: nagios-users at lists.sourceforge.net > > My boss asked me to see about enabling a user to view only selected hosts > and get notifications by email. That wasn't too tough. However, he also > requested that this user effectively be read-only. No comments, no > acknowledgements, etc. Is that possible? None of the CGI configuration > parameters jumped out at me. > > Thanks, > > -- > Skip Montanaro > Got gigs? http://www.musi-cal.com/ > http://www.mojam.com/ > Got spam? http://spambayes.sf.net/ > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Thu Sep 18 17:46:45 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 18 Sep 2003 11:46:45 -0400 (EDT) Subject: Latency ok but last check of service hours old ? In-Reply-To: References: Message-ID: On Thu, 18 Sep 2003, Samba wrote: > What kernel you guys using ? I'm having the same problems with a new box I > setup. My old box was SuSE 8.0 and it had no problems, I've noticed the > problems more on my Suse 8.2 box (2.4.20). This is under RedHat 7.3, kernel 2.4.18-27.7.x -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Thu Sep 18 18:09:24 2003 From: skip at pobox.com (Skip Montanaro) Date: Thu, 18 Sep 2003 11:09:24 -0500 Subject: Read-only view? In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EDF7@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EDF7@mismail.ena.com> Message-ID: <16233.55476.334176.404689@montanaro.dyndns.org> >> My boss asked me to see about enabling a user to view only selected >> hosts and get notifications by email. That wasn't too tough. >> However, he also requested that this user effectively be read-only. Marc> Not really, at least not via Nagios configuration directives. An Marc> option, while not exactly elegant but effective is to create a Marc> separate vhost with a copy of the CGI's and replace cmd.cgi with a Marc> static 'You do not have permission' page... If you really wanted Marc> to get sophisticated you could create a wrapper cmd.cgi ... Thanks for the quick response. I think I'll leave things as they are for the time being, rather than have a one-off version of Nagios which will just create problems when I need to upgrade. We're not giving this guy access to the NagMIN interface, so the amount of damage he can do is limited to the machines he's a contact for. -- Skip Montanaro Got gigs? http://www.musi-cal.com/ http://www.mojam.com/ Got spam? http://spambayes.sf.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bryan.irvine at kingcountyjournal.com Thu Sep 18 18:29:16 2003 From: bryan.irvine at kingcountyjournal.com (Bryan Irvine) Date: 18 Sep 2003 09:29:16 -0700 Subject: naughty host Message-ID: <1063902556.2271.21.camel@elvis> I have a host that occasionally reports as being down when it really isn't, nagios corrects it about 5 or 10 minutes later, but it's just annoying to get paged by that host every so often and know that I just need to ignore it. Is there a way to have nagios wait 10 minutes and check it again before notifying me? --Bryan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsandell at voyager.net Thu Sep 18 18:36:35 2003 From: dsandell at voyager.net (Denise Sandell) Date: Thu, 18 Sep 2003 11:36:35 -0500 Subject: naughty host In-Reply-To: <1063902556.2271.21.camel@elvis> References: <1063902556.2271.21.camel@elvis> Message-ID: <20030918163634.GA25993@shell.voyager.net> On Thu, 18 Sep 2003, Bryan Irvine wrote: For a host, you would use the "max_check_attempts" option. Setting max_check_attempts = 10 if your interval_length=60 would achieve the desired results. > I have a host that occasionally reports as being down when it really > isn't, nagios corrects it about 5 or 10 minutes later, but it's just > annoying to get paged by that host every so often and know that I just > need to ignore it. Is there a way to have nagios wait 10 minutes and > check it again before notifying me? > > --Bryan > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Denise Sandell network operations - - dsandell at voyager.net voyager.net, a CoreComm company - ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dsandell at voyager.net Thu Sep 18 19:04:43 2003 From: dsandell at voyager.net (Denise Sandell) Date: Thu, 18 Sep 2003 12:04:43 -0500 Subject: naughty host In-Reply-To: <20030918163634.GA25993@shell.voyager.net> References: <1063902556.2271.21.camel@elvis> <20030918163634.GA25993@shell.voyager.net> Message-ID: <20030918170443.GC25993@shell.voyager.net> On Thu, 18 Sep 2003, Denise Sandell wrote: > On Thu, 18 Sep 2003, Bryan Irvine wrote: er...I should have mentioned this really isn't the best possible solution since Host checks take precedence over service checks...yadda yadda. If there is only one service defined for this host, your better solution might be to use the retry_check_interval wiht the max_attempts option for the service instead. > > For a host, you would use the "max_check_attempts" option. Setting > max_check_attempts = 10 if your interval_length=60 would achieve > the desired results. > > > I have a host that occasionally reports as being down when it really > > isn't, nagios corrects it about 5 or 10 minutes later, but it's just > > annoying to get paged by that host every so often and know that I just > > need to ignore it. Is there a way to have nagios wait 10 minutes and > > check it again before notifying me? > > > > --Bryan > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > > ::: Messages without supporting info will risk being sent to /dev/null > > > > -- > - Denise Sandell network operations - > - dsandell at voyager.net voyager.net, a CoreComm company - > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- - Denise Sandell network operations - - dsandell at voyager.net voyager.net, a CoreComm company - ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Sep 18 19:17:13 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 18 Sep 2003 12:17:13 -0500 Subject: Remove service and host commands from user interface. Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EDFC@mismail.ena.com> Respectfully, that's not the functionality of those options. The default is for a user to be able to see and issue any commands against any hosts and services for which they are listed as a contact. The authorized_for_* commands grant additional permissions to specific users for _all_ hosts and services monitored, not just for the ones they are listed as a contact for. -- Marc > -----Original Message----- > From: Brad Johnson [mailto:bjohnson at got.wedgie.org] > Sent: Thursday, September 18, 2003 9:59 AM > To: jpttdi > Cc: nagios-users at lists.sourceforge.net > > Can't you just use the authorized_for_all_host_commands and > authorized_for_all_service_commands variables in cgi.cfg? If you don't > want your user to be able to issue commands, just make sure the account's > username isn't listed in those variables. Users will still be able to see > the commands, even issue them. But as soon as they submit a command for > processing, nagios will ignore it and give them an error message unless > the username is listed in those variables. > > I think that should accomplish what you're looking for. Hope it helps. > > - Brad > > On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > > > Hi, > > > > I would like to know if it's possible to hide the hosts and services > commands in the user interface for particular user. > > > > I have set up an account for monitoring users, and i don't want them to > be able to disable checks of a service or to disable notifications (all > that you can do with services and hosts commands) > > > > I found in the manual a lot of options to grant additionnal rights to > user but nothing about retrieving the right to disable notifications or > checks ! > > > > Is there any way to do that ? > > > > > > > > Thanks. > > Jpt. > > > > > > > > > > --------------------------------- > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > Testez le nouveau Yahoo! Mail > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchall at mtntel.com Thu Sep 18 20:31:07 2003 From: jchall at mtntel.com (J.C. Hall) Date: Thu, 18 Sep 2003 11:31:07 -0700 Subject: checking BGP states on Cisco routers Message-ID: <137874D5DA6FD511864E0090279C2BE1AE71B3@exchange.mtntel.com> Thank you to those who responded. I admit I am a newbie :-( to this! I found check_bgpstate.pl in the contrib/ dir. My question now is must it be compiled, or what do I do to integrate it with Nagios to my libexec/ dir? Is that a dumb question? TIA, ~j.c. -----Original Message----- From: Dirk-Jan Wemmers [mailto:dirkjan at capcave.com] Sent: Thursday, September 18, 2003 1:05 AM To: nagios-users at lists.sourceforge.net Cc: J.C. Hall Subject: Re: [Nagios-users] checking BGP states on Cisco routers J.C., At 16:39 17-09-2003 -0700, you wrote: >Is there a plugin to check the state of a BGP peer on a Cisco router, and >how would I obtain it? Check the contrib/ dir in the nagios-plugins package, you will find check_bgpstate.pl :) Regards, Dirk-Jan -- Dirk-Jan Wemmers, Capcave B.V. Zonnebaan 17, 3542EA Utrecht T +31(0)30-2149670, F +31(0)30-2149679 M +31(0)651 063040, E dirkjan at capcave.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjohnson at got.wedgie.org Thu Sep 18 20:40:19 2003 From: bjohnson at got.wedgie.org (Brad Johnson) Date: Thu, 18 Sep 2003 14:40:19 -0400 (EDT) Subject: Remove service and host commands from user interface. In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EDFC@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EDFC@mismail.ena.com> Message-ID: Marc, Good point Marc - thanks for correcting me on that. That would explain why it isn't working in your situation, Jpt. You could always create some user called "observer" that wasn't a nagios contact. Then in the cgi.cfg file you could give observer access to host and service status info, but not commands. Might that work? - Brad On Thu, 18 Sep 2003, Marc Powell wrote: > Respectfully, that's not the functionality of those options. The > default is for a user to be able to see and issue any commands against > any hosts and services for which they are listed as a contact. The > authorized_for_* commands grant additional permissions to specific > users for _all_ hosts and services monitored, not just for the ones > they are listed as a contact for. > > -- > Marc > > > -----Original Message----- > > From: Brad Johnson [mailto:bjohnson at got.wedgie.org] > > Sent: Thursday, September 18, 2003 9:59 AM > > To: jpttdi > > Cc: nagios-users at lists.sourceforge.net > > > > Can't you just use the authorized_for_all_host_commands and > > authorized_for_all_service_commands variables in cgi.cfg? If you don't > > want your user to be able to issue commands, just make sure the account's > > username isn't listed in those variables. Users will still be able to see > > the commands, even issue them. But as soon as they submit a command for > > processing, nagios will ignore it and give them an error message unless > > the username is listed in those variables. > > > > I think that should accomplish what you're looking for. Hope it helps. > > > > - Brad > > > > On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > > > > > Hi, > > > > > > I would like to know if it's possible to hide the hosts and services > > commands in the user interface for particular user. > > > > > > I have set up an account for monitoring users, and i don't want them to > > be able to disable checks of a service or to disable notifications (all > > that you can do with services and hosts commands) > > > > > > I found in the manual a lot of options to grant additionnal rights to > > user but nothing about retrieving the right to disable notifications or > > checks ! > > > > > > Is there any way to do that ? > > > > > > > > > > > > Thanks. > > > Jpt. > > > > > > > > > > > > > > > --------------------------------- > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > > Testez le nouveau Yahoo! Mail > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Thu Sep 18 20:40:57 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 18 Sep 2003 14:40:57 -0400 (EDT) Subject: checking BGP states on Cisco routers In-Reply-To: <137874D5DA6FD511864E0090279C2BE1AE71B3@exchange.mtntel.com> References: <137874D5DA6FD511864E0090279C2BE1AE71B3@exchange.mtntel.com> Message-ID: On Thu, 18 Sep 2003, J.C. Hall wrote: > Thank you to those who responded. I admit I am a newbie :-( to this! > > I found check_bgpstate.pl in the contrib/ dir. My question now is must it > be compiled, or what do I do to integrate it with Nagios to my libexec/ dir? > Is that a dumb question? It's a perl script.. you can just copy it over. If it fails to work, just check the first line of the script (load it into a text editor) and make sure the path to perl is correct. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Thu Sep 18 21:55:41 2003 From: td3201 at yahoo.com (Terry) Date: Thu, 18 Sep 2003 12:55:41 -0700 (PDT) Subject: process numbers Message-ID: <20030918195541.14908.qmail@web80511.mail.yahoo.com> I am seeing, on a consistent basis, the number of nagios processes increases to around 100 to 150. A restart of nagios of course knocks this down and it takes a while for it to get back up to those high numbers, days that is. What causes this and how can I stop it? Thanks. ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stripp at myclearwave.net Thu Sep 18 23:04:53 2003 From: stripp at myclearwave.net (Yoder the Sheepherder) Date: Thu, 18 Sep 2003 16:04:53 -0500 Subject: check_smtp In-Reply-To: <3F6734B5.8080709@teklabs.net> References: <3F670765.4050305@myclearwave.net> <3F6734B5.8080709@teklabs.net> Message-ID: <3F6A1DF5.3050809@myclearwave.net> What I have is: in checkcommands.cfg # 'check_smtp' command definition define command{ command_name check_smtp command_line $USER1$/check_smtp -H $HOSTADDRESS$ } and in services.cfg # Service definition define service{ use generic-service ; Name of service template to use host_name clrwv-mail service_description SMTP is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups admin notification_interval 10 notification_period 24x7 notification_options w,u,c,r check_command check_smtp } I've set up check_tcp on port 25 for now, but am still looking at what caused this. A sendmail upgrade may be causing this, but not sure. Thank you much. Jason Lancaster wrote: > Can you post your exact check command definition? The only other thought > I have is you're hitting the Nagios plugin execution time limit (default > is 30s I believe) defined in nagios.cfg. > > Jason > > Yoder the Sheepherder wrote: > >> The only arg I'm using is -H although I have tried it with -p, -e, and >> -f. I'm going back and checking to see if sendmail was updated around >> the time this happened, but I do not believe so. >> >> Subhendu Ghosh wrote: >> >>> What are the args to check_smtp in your config? >>> >>> On Mon, 15 Sep 2003, Yoder the Sheepherder wrote: >>> >>> >>>> I've had the same problem with it on Redhat. It was working for >>>> quite some time, then stopped. I'm using check_smtp from nagios >>>> plugins 1.3.1 on Redhat 9. >>>> >>>> chbaker at powersystems.rockwell.com wrote: >>>> >>>> >>>>> The check_smtp plugin version 1.6, on Debian unstable has started >>>>> giving me >>>>> problems over the last week or so. No matter how long I set the >>>>> timeout >>>>> period, the check always times out. Checks of other services on the >>>>> same >>>>> boxes are fine. When I run check_smtp from the command line to a >>>>> server >>>>> that is not currently being monitored, it times out as well. The >>>>> servers in >>>>> question do have either inetd or sendmail itself listening at port >>>>> 25. Any >>>>> ideas? >>>>> >>> >>> >> > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > -- In a time of universal lies, Telling the Truth is a revolutionary act - George Orwell ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Sep 18 23:34:08 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 18 Sep 2003 16:34:08 -0500 Subject: process numbers Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EE0A@mismail.ena.com> There could be a lot of reasons for this. For specifics we'd need to know more about your setup (i.e. OS, nagios version, how many hosts and services, types of checks you are doing, using a DB backend, etc). More generally, nagios is designed to spawn multiple checks at any given time. This is controlled by the max_concurrent_checks setting in nagios.cfg. If you have a lot of slow-to-complete checks, nagios won't wait for them to terminate before spawning additional checks. You can control how long nagios will wait before terminating a check command with the *_check_timeout variables. Lowering your service_reaper_frequency will likely help too. Running 'nagios -s can provide a guideline for max_concurrent_checks based on your other settings and number of hosts and services you are monitoring. You could always use strace (linux) or truss (solaris) to actively look at one of the long-standing processes and see exactly what it's doing. -- Marc > -----Original Message----- > From: Terry [mailto:td3201 at yahoo.com] > Sent: Thursday, September 18, 2003 2:56 PM > To: nagios-users at lists.sourceforge.net > > I am seeing, on a consistent basis, the number of > nagios processes increases to around 100 to 150. A > restart of nagios of course knocks this down and it > takes a while for it to get back up to those high > numbers, days that is. > > What causes this and how can I stop it? > > Thanks. > > ===== > Terry > > __________________________________ > Do you Yahoo!? > Yahoo! SiteBuilder - Free, easy-to-use web site design software > http://sitebuilder.yahoo.com > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Thu Sep 18 23:40:59 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 18 Sep 2003 16:40:59 -0500 Subject: check_smtp Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EE0B@mismail.ena.com> This seems reminiscent of an old issue with 'QUIT\r'. If you manually telnet to the machine on port 25 and then QUIT, how long does that process take? -- Marc > -----Original Message----- > From: Yoder the Sheepherder [mailto:stripp at myclearwave.net] > Sent: Thursday, September 18, 2003 4:05 PM > To: Jason Lancaster > Cc: nagios-users at lists.sourceforge.net > > What I have is: > in checkcommands.cfg > # 'check_smtp' command definition > define command{ > command_name check_smtp > command_line $USER1$/check_smtp -H $HOSTADDRESS$ > } > > and in services.cfg > # Service definition > define service{ > use generic-service ; Name > of service template to use > > host_name clrwv-mail > service_description SMTP > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 3 > retry_check_interval 1 > contact_groups admin > notification_interval 10 > notification_period 24x7 > notification_options w,u,c,r > check_command check_smtp > } > > > I've set up check_tcp on port 25 for now, but am still looking at what > caused this. A sendmail upgrade may be causing this, but not sure. > Thank you much. > > Jason Lancaster wrote: > > Can you post your exact check command definition? The only other thought > > I have is you're hitting the Nagios plugin execution time limit (default > > is 30s I believe) defined in nagios.cfg. > > > > Jason > > > > Yoder the Sheepherder wrote: > > > >> The only arg I'm using is -H although I have tried it with -p, -e, and > >> -f. I'm going back and checking to see if sendmail was updated around > >> the time this happened, but I do not believe so. > >> > >> Subhendu Ghosh wrote: > >> > >>> What are the args to check_smtp in your config? > >>> > >>> On Mon, 15 Sep 2003, Yoder the Sheepherder wrote: > >>> > >>> > >>>> I've had the same problem with it on Redhat. It was working for > >>>> quite some time, then stopped. I'm using check_smtp from nagios > >>>> plugins 1.3.1 on Redhat 9. > >>>> > >>>> chbaker at powersystems.rockwell.com wrote: > >>>> > >>>> > >>>>> The check_smtp plugin version 1.6, on Debian unstable has started > >>>>> giving me > >>>>> problems over the last week or so. No matter how long I set the > >>>>> timeout > >>>>> period, the check always times out. Checks of other services on the > >>>>> same > >>>>> boxes are fine. When I run check_smtp from the command line to a > >>>>> server > >>>>> that is not currently being monitored, it times out as well. The > >>>>> servers in > >>>>> question do have either inetd or sendmail itself listening at port > >>>>> 25. Any > >>>>> ideas? > >>>>> > >>> > >>> > >> > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > -- > In a time of universal lies, Telling the Truth is a revolutionary act - > George Orwell > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jchall at mtntel.com Fri Sep 19 02:10:14 2003 From: jchall at mtntel.com (J.C. Hall) Date: Thu, 18 Sep 2003 17:10:14 -0700 Subject: checking BGP states on Cisco routers Message-ID: <137874D5DA6FD511864E0090279C2BE1AE71C1@exchange.mtntel.com> Can anyone answer this? When I use the check_bgpstate.pl script I get the error below. Net-SNMP is installed and SNMP.pm is in /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/SNMP.pm. Do I need to modify the script in some way? TIA! ./check_bgpstate.pl x.x.x.x -c commnity Can't locate Net/SNMP.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at ./check_bgpstate.pl line 30. BEGIN failed--compilation aborted at ./check_bgpstate.pl line 30. On Thu, 18 Sep 2003, J.C. Hall wrote: > Thank you to those who responded. I admit I am a newbie :-( to this! > > I found check_bgpstate.pl in the contrib/ dir. My question now is must it > be compiled, or what do I do to integrate it with Nagios to my libexec/ dir? > Is that a dumb question? It's a perl script.. you can just copy it over. If it fails to work, just check the first line of the script (load it into a text editor) and make sure the path to perl is correct. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 19 05:59:11 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 18 Sep 2003 20:59:11 -0700 Subject: naughty host References: <1063902556.2271.21.camel@elvis> Message-ID: We have a similar situation, but in this case, the host is actually DOWN for brief intervals. So the solution I decided on using was to use service escalations. I replaced the normal contact with a dummy contact. If after the first notification interval it's still down, the second (and escalated) notification tells me that it's been down for an extended period of time. This way, I could still use the same templates for all the host/service definitions and just add escalation definitions for the naughty hosts. "Bryan Irvine" wrote in message news:1063902556.2271.21.camel at elvis... > I have a host that occasionally reports as being down when it really > isn't, nagios corrects it about 5 or 10 minutes later, but it's just > annoying to get paged by that host every so often and know that I just > need to ignore it. Is there a way to have nagios wait 10 minutes and > check it again before notifying me? > > --Bryan > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sum at outblaze.com Fri Sep 19 05:01:31 2003 From: sum at outblaze.com (sum) Date: Fri, 19 Sep 2003 11:01:31 +0800 Subject: Latency ok but last check of service hours old? Message-ID: <3F6A718B.2070005@outblaze.com> Brad & Matt I always have these problems, and tried to change all configuration, but i always found that the service reaper isn't updating the status properly. I setup it for distributed monitoring. Three servers are distributed servers. It checks about 2222 services for 207 hosts. ~ /var/log/messsgaes result Sep 19 02:03:18 monitor nsca[11965]: SERVICE CHECK -> Host Name: 'authbackup4.us4', Service Description: 'FS', Return Code: '1', Output: '/var S(96%) I(2%)
Action' Sep 19 02:03:39 monitor nagios: EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;authbackup4.us4;FS;1;/var S(96%) I(2%)
Action ~ status.log [1063939166] SERVICE;authbackup4.us4;FS;WARNING;3/3;HARD;1063884102;1063941400;PASSIVE;0;1;1;1063778378;0;WARNING;5089;0;155860;4822;1063867491;4;1;760;0;1;0;0.00;0;1;1;1;/var S(96%) I(2%)
Action ~ Service State Information Current Status: WARNING Status Information: /var S(96%) I(2%) Current Attempt: 3/3 State Type: HARD Last Check Type: PASSIVE Last Check Time: 18-09-2003 11:21:42 Status Data Age: 0d 14h 48m 47s Next Scheduled Active Check: N/A Latency: N/A Check Duration: < 1 second Last State Change: 17-09-2003 05:59:38 Current State Duration: 1d 20h 10m 51s Last Service Notification: 18-09-2003 06:44:51 Current Notification Number: 4 Is This Service Flapping? N/A Percent State Change: N/A In Scheduled Downtime? NO Last Update: 19-09-2003 02:10:27 ~ Program-Wide Performance Information Passive Checks: Time FrameChecks Completed <= 1 minute:5 (0.6%) <= 5 minutes:14 (1.6%) <= 15 minutes:117 (13.3%) <= 1 hour:528 (60.1%) Since program start: 517 (58.9%) On the /var/log/messages, you can find checking result send from distributed servers to central. And the PROCESS_SERVICE_CHECK_RESULT get the result. But you will find that the last check time of this service has not updated. The status log file has not updated it ! Don't know the reason ?? Is it bugs ?? When i solved the service problems, the warning or critial need many long time to update it. Anyone has ideas to fix it . I tried the nagios-cvs version , it does not work to fix it. Please give us some ideas to fix it . Thanks a lot. Sum outblaze Remark, my central box is redhat 7.3, and kernel is 2.4.20-18.7smp ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 19 10:23:40 2003 From: teng at dataway.com (Tedman Eng) Date: Fri, 19 Sep 2003 01:23:40 -0700 Subject: Nagios failing to check services References: <3F6747EC.4040908@teklabs.net> Message-ID: Here's something to chew on: Are all you checks set for the same check interval? If not, this is the source of your problem. Nagios calculates 's'mart intercheck delay assuming the simplest of set-ups. It totals all check times and divides by # of checks. So, if you have a few services that are only checked once per hour, they'll skew the average fairly far. To solve this, manually calculate the intercheck-delay instead of using the 's' setting and see if that helps. http://nagios.sourceforge.net/docs/1_0/checkscheduling.html#inter_check_delay inter-check delay = (total normal check interval for all services) / (total number of services)2 For your calculations use the _shortest_ check interval defined of all your services as the "normal" check interval. For example, if you have 60 services, 20 of which are 1-hour checks and the other 40 being 5-minute checks, the formula would yield (calculate using 5-minutes): inter-check delay = # services x normal check interval (in seconds) / # services ^2 60 x 300 secs / 60^2 = 5 seconds So in the main config file: intercheck_delay_method=5.00 Hope this helps. "Matt Pounsett" wrote in message news:Pine.LNX.4.44.0309161338230.3342-200000 at office-mail.cira.ca... > As for latency, nothing seriously out of whack is being reported there right > now. > Min Max Avg > Check Execution Time: <1sec 9sec 1.448sec > Check Latency: <1sec <1sec 0.000sec > Percent State Change: 0.00% 0.00% 0.00% > > Active checks is a bit disconcerting.. > > Time Frame Checks Completed > <= 1 minute 6 (9.0%) -- not a big deal > <= 5 minutes 49 (73.1%) -- this is an issue > <= 15 minutes 62 (92.5%) -- really bugs me > <= 1 hour 67 (100.0%) > Since program start: 67 (100.0%) > > There are no passive checks running... so all zero's there. > > > If you are indeed hitting a bottleneck in performance, it would most > > likely be due to the core nagios.cfg options. I don't see a copy of your > > config files. If you'd like, you can forward me a copy of your nagios.cfg. > > I included all the apparently relevant nagios.cfg entries in my first email on > the subject.. but I'm attaching the whole file here. Hopefully someone has > some ideas. > > thanks again Jason > Matt > > -- > Matt Pounsett CIRA - Canadian Internet Registration Authority > Technical Support Programmer 350 Sparks Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, Canada > 613.237.5335 ext. 231 http://www.cira.ca > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpttdi at yahoo.fr Fri Sep 19 10:06:35 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Fri, 19 Sep 2003 10:06:35 +0200 (CEST) Subject: Remove service and host commands from user interface. In-Reply-To: References: Message-ID: <20030919080635.26181.qmail@web41011.mail.yahoo.com> Brad, I have created an user account which is not a nagios contact but which is listed in the authorized_for_all_hosts/service directive in cgi.cfg. Yes, it works by this way, but this setting comes with other problems: -This account can see all the hosts and services set up in nagios , i want them to see only a part of them (the production server for which nagios configuration is ok). -As they are not contacts for any hosts or services, they don't receive any notifications (email...), which is a problem for me. If someone have another workaround... Thanks, Jpt. Brad Johnson wrote: Marc, Good point Marc - thanks for correcting me on that. That would explain why it isn't working in your situation, Jpt. You could always create some user called "observer" that wasn't a nagios contact. Then in the cgi.cfg file you could give observer access to host and service status info, but not commands. Might that work? - Brad On Thu, 18 Sep 2003, Marc Powell wrote: > Respectfully, that's not the functionality of those options. The > default is for a user to be able to see and issue any commands against > any hosts and services for which they are listed as a contact. The > authorized_for_* commands grant additional permissions to specific > users for _all_ hosts and services monitored, not just for the ones > they are listed as a contact for. > > -- > Marc > > > -----Original Message----- > > From: Brad Johnson [mailto:bjohnson at got.wedgie.org] > > Sent: Thursday, September 18, 2003 9:59 AM > > To: jpttdi > > Cc: nagios-users at lists.sourceforge.net > > > > Can't you just use the authorized_for_all_host_commands and > > authorized_for_all_service_commands variables in cgi.cfg? If you don't > > want your user to be able to issue commands, just make sure the account's > > username isn't listed in those variables. Users will still be able to see > > the commands, even issue them. But as soon as they submit a command for > > processing, nagios will ignore it and give them an error message unless > > the username is listed in those variables. > > > > I think that should accomplish what you're looking for. Hope it helps. > > > > - Brad > > > > On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > > > > > Hi, > > > > > > I would like to know if it's possible to hide the hosts and services > > commands in the user interface for particular user. > > > > > > I have set up an account for monitoring users, and i don't want them to > > be able to disable checks of a service or to disable notifications (all > > that you can do with services and hosts commands) > > > > > > I found in the manual a lot of options to grant additionnal rights to > > user but nothing about retrieving the right to disable notifications or > > checks ! > > > > > > Is there any way to do that ? > > > > > > > > > > > > Thanks. > > > Jpt. > > > > > > > > > > > > > > > --------------------------------- > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > > Testez le nouveau Yahoo! Mail > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From dwarner at ctinetworks.com Fri Sep 19 23:49:54 2003 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Fri, 19 Sep 2003 17:49:54 -0400 Subject: Is there a way to delay UP;HARD checks? In-Reply-To: References: <834D93DB7AA4004F893BB62597D5774C18DA17@fcsrv0004.finncorp.com> Message-ID: <200309191750.11062.dwarner@ctinetworks.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 10 September 2003 19:53, Sto Rage! wrote: > Define Service Dependency and make ping and other services dependent on the > service that starts last. Unfortunately, that won't always work; what if that service just stays down? Then the whole box is considered 'down' just because that service failed to start. I think what Josh is looking for is a way to suppress notifications for a certain period after a box becomes up for certain services. I know I have the exact same problem with some dialup equipment I maintain; The modems take about 2 minutes longer to boot than the ethernet card, so the box is 'up' about two minutes before the cards become okay. But if one of the cards is dead, and I make the ping check dependant on that card, then the whole pop is down, when really I just have one card to fix. Any ideas on what could be done in these instances? - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/a3oTJV36su0A0xIRAjNGAKDtZn6XOVnu5bSjujVEMq7NAi2jTACg4utv jXZXgR0xn/23r3yuxsUZx78= =FAfB -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stripp at myclearwave.net Fri Sep 19 15:49:25 2003 From: stripp at myclearwave.net (Yoder the Sheepherder) Date: Fri, 19 Sep 2003 08:49:25 -0500 Subject: check_smtp In-Reply-To: <5DB017510818EC468B05BD7BD9EACF8303E7EE0B@mismail.ena.com> References: <5DB017510818EC468B05BD7BD9EACF8303E7EE0B@mismail.ena.com> Message-ID: <3F6B0964.7000007@myclearwave.net> It was a timing issue after all. I set -t 15 and it's working again. There must have been a change on the network itself, as telneting to port 25 now takes right at 10 seconds. Many thanks for the help. Much appreciated. Marc Powell wrote: > This seems reminiscent of an old issue with 'QUIT\r'. If you manually > telnet to the machine on port 25 and then QUIT, how long does that > process take? > > -- > Marc > > >>-----Original Message----- >>From: Yoder the Sheepherder [mailto:stripp at myclearwave.net] >>Sent: Thursday, September 18, 2003 4:05 PM >>To: Jason Lancaster >>Cc: nagios-users at lists.sourceforge.net >> >>What I have is: >>in checkcommands.cfg >># 'check_smtp' command definition >>define command{ >> command_name check_smtp >> command_line $USER1$/check_smtp -H $HOSTADDRESS$ >> } >> >>and in services.cfg >># Service definition >>define service{ >> use generic-service ; > > Name > >>of service template to use >> >> host_name clrwv-mail >> service_description SMTP >> is_volatile 0 >> check_period 24x7 >> max_check_attempts 3 >> normal_check_interval 3 >> retry_check_interval 1 >> contact_groups admin >> notification_interval 10 >> notification_period 24x7 >> notification_options w,u,c,r >> check_command check_smtp >> } >> >> >>I've set up check_tcp on port 25 for now, but am still looking at what >>caused this. A sendmail upgrade may be causing this, but not sure. >>Thank you much. >> >>Jason Lancaster wrote: >> >>>Can you post your exact check command definition? The only other > > thought > >>>I have is you're hitting the Nagios plugin execution time limit > > (default > >>> is 30s I believe) defined in nagios.cfg. >>> >>>Jason >>> >>>Yoder the Sheepherder wrote: >>> >>> >>>>The only arg I'm using is -H although I have tried it with -p, -e, > > and > >>>>-f. I'm going back and checking to see if sendmail was updated > > around > >>>>the time this happened, but I do not believe so. >>>> >>>>Subhendu Ghosh wrote: >>>> >>>> >>>>>What are the args to check_smtp in your config? >>>>> >>>>>On Mon, 15 Sep 2003, Yoder the Sheepherder wrote: >>>>> >>>>> >>>>> >>>>>>I've had the same problem with it on Redhat. It was working for >>>>>>quite some time, then stopped. I'm using check_smtp from nagios >>>>>>plugins 1.3.1 on Redhat 9. >>>>>> >>>>>>chbaker at powersystems.rockwell.com wrote: >>>>>> >>>>>> >>>>>> >>>>>>>The check_smtp plugin version 1.6, on Debian unstable has > > started > >>>>>>>giving me >>>>>>>problems over the last week or so. No matter how long I set the >>>>>>>timeout >>>>>>>period, the check always times out. Checks of other services on > > the > >>>>>>>same >>>>>>>boxes are fine. When I run check_smtp from the command line to a >>>>>>>server >>>>>>>that is not currently being monitored, it times out as well. The >>>>>>>servers in >>>>>>>question do have either inetd or sendmail itself listening at > > port > >>>>>>>25. Any >>>>>>>ideas? >>>>>>> >>>>> >>>>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by:ThinkGeek >>>Welcome to geek heaven. >>>http://thinkgeek.com/sf >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >>>reporting any issue. ::: Messages without supporting info will risk >>>being sent to /dev/null >>> >> >>-- >>In a time of universal lies, Telling the Truth is a revolutionary act > > - > >>George Orwell >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null > -- In a time of universal lies, Telling the Truth is a revolutionary act - George Orwell ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean at visionary-networks.com Sat Sep 20 00:10:32 2003 From: sean at visionary-networks.com (Sean Whitney) Date: Fri, 19 Sep 2003 15:10:32 -0700 Subject: [Fwd: Nagios mysql and cgi] Message-ID: <1064009432.30003.11.camel@curie> So I've compiled nagios to use mysql. I started from scratch and have recompiled all of it. I used the following flags for configure --with-mysql-xdata \ --with-mysql-status \ --with-mysql-comments \ --with-mysql-extinfo \ --with-mysql-retention \ --with-mysql-downtime \ --with-mysql-inc="/usr/include/mysql" \ --with-mysql-lib="/usr/lib/mysql" Everything compiled fine after I moved some linking statements around. Nagios starts and I am getting data inserted into the hostretention, programretention and serviceretention tables. However all the cgi scripts give me a Whoops! Error: Could not read host and service status information! When I start nagios I also get a NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log error as well. As I understand it all the status entries should now be written to the 'programstatus', 'hoststatus', and 'servicestatus' tables in the database. I would really like to buy a clue right about now... TIA Sean -- ======================================= Sean Whitney PMB #435, 1901 NE 162nd Ave, Suite D105 Vancouver, WA 98684 T. 360.607.7945 F. 815.364.0687 sean at visionary-networks.com ======================================= ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Fri Sep 19 16:30:04 2003 From: rob at capband.net (Rob Nelson) Date: Fri, 19 Sep 2003 10:30:04 -0400 Subject: Network Outages permissions Message-ID: <5.2.1.1.0.20030919102848.00b8e420@mail.capband.net> I asked a while back and haven't seen a response. I have a user who I don't want to add to the authorize for all hosts/services list, but I want them to see the "Network Outages" page. Where do I do that at? Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Fri Sep 19 04:47:48 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Thu, 18 Sep 2003 19:47:48 -0700 Subject: more NSCA stuff Message-ID: <015801c37e58$699ec320$7800000a@lunchbox> Anybody know why when i have Active_Checks_enabled = 1 why nagios is still automatically changing the state to 'Status is OK' which it grabed from the check_command (which is check_dummy!0). I only want to accept passive checks for this service. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From sean.perry at intransa.com Sat Sep 20 01:07:25 2003 From: sean.perry at intransa.com (Sean Perry) Date: Fri, 19 Sep 2003 16:07:25 -0700 Subject: [Fwd: Nagios mysql and cgi] In-Reply-To: <1064009432.30003.11.camel@curie> References: <1064009432.30003.11.camel@curie> Message-ID: <3F6B8C2D.8010301@intransa.com> Sean Whitney wrote: > So I've compiled nagios to use mysql. I started from scratch and have > recompiled all of it. > > Everything compiled fine after I moved some linking statements around. > Nagios starts and I am getting data inserted into the hostretention, > programretention and serviceretention tables. However all the cgi > scripts give me a > > Whoops! > Error: Could not read host and service status information! > > When I start nagios I also get a > NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log > > error as well. As I understand it all the status entries should now be > written to the 'programstatus', 'hoststatus', and 'servicestatus' tables > in the database. > > I would really like to buy a clue right about now... > You need to edit etc/cgi.cfg to tell the various cgi's how to get at the data. There are plenty of comments to follow, just walk the file. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mmcclure at pneservices.com Fri Sep 19 02:24:10 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 18 Sep 2003 19:24:10 -0500 (CDT) Subject: checking BGP states on Cisco routers In-Reply-To: <137874D5DA6FD511864E0090279C2BE1AE71C1@exchange.mtntel.com> References: <137874D5DA6FD511864E0090279C2BE1AE71C1@exchange.mtntel.com> Message-ID: <3642.192.168.1.15.1063931050.squirrel@xyzzy.homeip.net> SNMP.pm does not appear to be in the correct place. How did you install it? Anyway, this should fix your problem: cd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi mkdir Net cd Net ln -s ../SNMP.pm . > Can anyone answer this? When I use the check_bgpstate.pl script I get the > error below. Net-SNMP is installed and SNMP.pm is in > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/SNMP.pm. > > Do I need to modify the script in some way? > > TIA! > > ./check_bgpstate.pl x.x.x.x -c commnity > Can't locate Net/SNMP.pm in @INC (@INC contains: > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at > ./check_bgpstate.pl line 30. > BEGIN failed--compilation aborted at ./check_bgpstate.pl line 30. > > > > On Thu, 18 Sep 2003, J.C. Hall wrote: > >> Thank you to those who responded. I admit I am a newbie :-( to this! >> >> I found check_bgpstate.pl in the contrib/ dir. My question now is must it >> be compiled, or what do I do to integrate it with Nagios to my libexec/ > dir? >> Is that a dumb question? > > It's a perl script.. you can just copy it over. If it fails to work, just > check the first line of the script (load it into a text editor) and make > sure > the path to perl is correct. > > -- > Matt Pounsett CIRA - Canadian Internet Registration > Authority > Technical Support Programmer 350 Sparks Street, Suite > 1110 > matt.pounsett at cira.ca Ottawa, Ontario, > Canada > 613.237.5335 ext. 231 > http://www.cira.ca > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bdunn at rdac.com.au Fri Sep 19 07:30:40 2003 From: bdunn at rdac.com.au (Brad Dunn) Date: Fri, 19 Sep 2003 13:30:40 +0800 Subject: Authentication Message-ID: Hi there, I setup a nagios system on a debian box a while back, and am now just having an issue remembering all the fixes for things on this new RH box. My current setup is on a RH9 [2.4.20-8] My issue is in regards to the web interface in particular the authentication. I've setup my hta password file for a user called nagiosadmin and set a password for the user but its not authenticating me when I try to log into the site. I have gone over the FAQ's on authentication setup a couple of times to double check I haven't just made a simple mistake, but I'm at a loss to see what's wrong. Just thought id check to see if anyone might be able to see what's wrong with the configs. Here is my files. My httpd.conf includes a "Include /etc/httpd/conf.d/nagios.conf" my Include file consists of the following ScriptAlias /nagios/cgi-bin /usr/lib/nagios/cgi/ AllowOverride AuthConfig Order allow,deny Allow from all Options ExecCGI Alias /nagios/ /usr/share/nagios/ AllowOverride AuthConfig Order allow,deny Allow from all the permissions on the htaccess file are -rw-r--r-- root root the password is correct in the file the permissions on the cgi directory itself is drwxr-xr-x the permissions on the website content in /usr/share/nagios are fine. I also have use_authentication set to 1 All the paths to the CGI's etc seem correct. I'm sure I had a similar problem last time on the debian box, but I grabbed another persons httpd.conf fie and it just went away. Any ideas on what I can try would be great. Thanks Brad ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bakkerl at lamp.xs4all.nl Sat Sep 20 01:14:38 2003 From: bakkerl at lamp.xs4all.nl (Lennard Bakker) Date: Sat, 20 Sep 2003 01:14:38 +0200 Subject: apan eats up memory Message-ID: <1064013277.3441.218.camel@tyche.home.mercurius96.nl> Because it looks like the apan hasn't done anything after jan 19. If i enbale apan, it is eating up all my memory. More users which have these problems? and is there a solution for this. Lennard ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From spam at nospam.com Sat Sep 20 01:25:38 2003 From: spam at nospam.com (Sto Rage®) Date: Fri, 19 Sep 2003 16:25:38 -0700 Subject: Is there a way to delay UP;HARD checks? References: <834D93DB7AA4004F893BB62597D5774C18DA17@fcsrv0004.finncorp.com> <200309191750.11062.dwarner@ctinetworks.com> Message-ID: Well, isn't that the point of your monitoring? Each host has a purpose (service) on your network, so if its not serving that purpose (service not running) then shouldn't you consider that host as being down? E.g. I have a Win2k Fax Server, if its not running the fax service I consider the host as down, even if I am able to ping it, and other services are running. So in your case, if its not critical for you if a card is down, then why monitor that card in the first place? -G "Douglas E. Warner" wrote in message news:200309191750.11062.dwarner at ctinetworks.com... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 10 September 2003 19:53, Sto Rage! wrote: > Define Service Dependency and make ping and other services dependent on the > service that starts last. Unfortunately, that won't always work; what if that service just stays down? Then the whole box is considered 'down' just because that service failed to start. I think what Josh is looking for is a way to suppress notifications for a certain period after a box becomes up for certain services. I know I have the exact same problem with some dialup equipment I maintain; The modems take about 2 minutes longer to boot than the ethernet card, so the box is 'up' about two minutes before the cards become okay. But if one of the cards is dead, and I make the ping check dependant on that card, then the whole pop is down, when really I just have one card to fix. Any ideas on what could be done in these instances? - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/a3oTJV36su0A0xIRAjNGAKDtZn6XOVnu5bSjujVEMq7NAi2jTACg4utv jXZXgR0xn/23r3yuxsUZx78= =FAfB -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Sat Sep 20 02:23:58 2003 From: sean.perry at intransa.com (Sean Perry) Date: Fri, 19 Sep 2003 17:23:58 -0700 Subject: [Fwd: Nagios mysql and cgi] In-Reply-To: <1064016863.20661.8.camel@curie> References: <1064009432.30003.11.camel@curie> <3F6B8C2D.8010301@intransa.com> <1064016863.20661.8.camel@curie> Message-ID: <3F6B9E1E.90301@intransa.com> Sean Whitney wrote: > Sorry I didn't include that, it's all set up as far as I can tell. > yeah, looks good. Ok 2 things. 1) did you stop and start nagios after changing the cfg file? They are only read on startup. 2) can the username you specified actually access the database? Try doing 'mysql -u -p' at the command prompt *ON* the nagios host. After entering the password you should be able to do 'use nagios; show tables; select * from ;'. Perhaps the cgis are failing due to an access problem. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwarner at ctinetworks.com Sat Sep 20 02:15:18 2003 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Fri, 19 Sep 2003 20:15:18 -0400 Subject: Is there a way to delay UP;HARD checks? In-Reply-To: References: <834D93DB7AA4004F893BB62597D5774C18DA17@fcsrv0004.finncorp.com> <200309191750.11062.dwarner@ctinetworks.com> Message-ID: <200309192015.33459.dwarner@ctinetworks.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 19 September 2003 19:25, Sto Rage? wrote: > Well, isn't that the point of your monitoring? Each host has a purpose > (service) on your network, so if its not serving that purpose (service not > running) then shouldn't you consider that host as being down? > E.g. I have a Win2k Fax Server, if its not running the fax service I > consider the host as down, even if I am able to ping it, and other services > are running. > So in your case, if its not critical for you if a card is down, then why > monitor that card in the first place? No, its not the same. If I have more than enough modem cards (failover) to handle calls, the NAS still works despite one being down. The fact that the one card is down is still bad, but not so bad that the function of the box is nullified. People run multiple services on their boxes; sometimes these services fail to start or stop working, that's why we check them. Sometimes these services also take 7 minutes to boot, and I don't want to hear that they're still down until they've been down for 15 minutes. Also, this can't be the same as setting a adjusting max_check_attempts and *_check_interval, because if it goes down after the box has been running correctly for awhile, I care immediately; only if the box has JUST come out of a DOWN state do I care that it's taking so long for the service to come up. - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/a5wlJV36su0A0xIRAoVxAKDTurfpY9o++YgKNXi+VK3t6UyEkQCeOmCK 6+OSgG1hE49CrzvLy43MB6g= =eC/j -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean at visionary-networks.com Sat Sep 20 02:14:23 2003 From: sean at visionary-networks.com (Sean Whitney) Date: Fri, 19 Sep 2003 17:14:23 -0700 Subject: [Fwd: Nagios mysql and cgi] In-Reply-To: <3F6B8C2D.8010301@intransa.com> References: <1064009432.30003.11.camel@curie> <3F6B8C2D.8010301@intransa.com> Message-ID: <1064016863.20661.8.camel@curie> Sorry I didn't include that, it's all set up as far as I can tell. Sean ## DG EXTENDED DATA ## Note: These config directives are only used if you compiled ## in database support for extended data! ## The user you specify here only needs SELECT privileges on the ## 'hostextinfo' table in the database. # xeddb_host=nemos-ds xeddb_port=3306 xeddb_database= xeddb_username= xeddb_password= # # # ## DB STATUS DATA (Read-Only For CGIs) ## Note: These config directives are only used if you compiled ## in database support for status data! ## The user you specify here only needs SELECT privileges on the ## 'programstatus', 'hoststatus', and 'servicestatus' tables ## in the database, as these values are only used by the CGIs. ## The core program will read the directives you specify in ## in a resource file. # xsddb_host=nemos-ds xsddb_port=3306 xsddb_database= xsddb_username= xsddb_password= # # # ## DB COMMENT DATA (Read-Only For CGIs) ## Note: These config directives are only used if you compiled ## in database support for comment data! ## The user you specify here only needs SELECT privileges on the ## 'hostcomments', and 'servicecomments' tables in the database, ## as these values are only used by the CGIs. The core program ## will read the directives you specify in a resource file. # xcddb_host=nemos-ds xcddb_port=3306 xcddb_database= xcddb_username= xcddb_password= # # # ## DB DOWNTIME DATA (Read-Only For CGIs) ## Note: These config directives are only used if you compiled ## in database support for downtime data! ## The user you specify here only needs SELECT privileges on the ## 'hostdowntime', and 'servicedowntime' tables in the database, ## as these values are only used by the CGIs. The core program ## will read the directives you specify in a resource file. # xdddb_host=nemos-ds xdddb_port=3306 xdddb_database= xdddb_username= xdddb_password= # On Fri, 2003-09-19 at 16:07, Sean Perry wrote: > Sean Whitney wrote: > > > So I've compiled nagios to use mysql. I started from scratch and have > > recompiled all of it. > > > > Everything compiled fine after I moved some linking statements around. > > Nagios starts and I am getting data inserted into the hostretention, > > programretention and serviceretention tables. However all the cgi > > scripts give me a > > > > Whoops! > > Error: Could not read host and service status information! > > > > When I start nagios I also get a > > NAGIOS CRITICAL - could not find status log: /var/log/nagios/status.log > > > > error as well. As I understand it all the status entries should now be > > written to the 'programstatus', 'hoststatus', and 'servicestatus' tables > > in the database. > > > > I would really like to buy a clue right about now... > > > > You need to edit etc/cgi.cfg to tell the various cgi's how to get at the > data. There are plenty of comments to follow, just walk the file. > > > > > -- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ======================================= Sean Whitney PMB #435, 1901 NE 162nd Ave, Suite D105 Vancouver, WA 98684 T. 360.607.7945 F. 815.364.0687 sean at visionary-networks.com ======================================= ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean at visionary-networks.com Sat Sep 20 03:25:14 2003 From: sean at visionary-networks.com (Sean Whitney) Date: Fri, 19 Sep 2003 18:25:14 -0700 Subject: [Fwd: Nagios mysql and cgi] In-Reply-To: <3F6B9E1E.90301@intransa.com> References: <1064009432.30003.11.camel@curie> <3F6B8C2D.8010301@intransa.com> <1064016863.20661.8.camel@curie> <3F6B9E1E.90301@intransa.com> Message-ID: <1064021114.20661.12.camel@curie> Right now the nagios program and the cgi program are using the same username/password. The nagios program has more privileges than the cgi needs, but it is working. My plan was to create a more restricted user. but this problem needs to be solved first. The cgi program just can't access the database. Sean On Fri, 2003-09-19 at 17:23, Sean Perry wrote: > Sean Whitney wrote: > > > Sorry I didn't include that, it's all set up as far as I can tell. > > > > yeah, looks good. > > Ok 2 things. > > 1) did you stop and start nagios after changing the cfg file? They are > only read on startup. > > 2) can the username you specified actually access the database? Try > doing 'mysql -u -p' at the command prompt *ON* the nagios > host. After entering the password you should be able to do 'use nagios; > show tables; select * from ;'. Perhaps the cgis are failing > due to an access problem. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ======================================= Sean Whitney PMB #435, 1901 NE 162nd Ave, Suite D105 Vancouver, WA 98684 T. 360.607.7945 F. 815.364.0687 sean at visionary-networks.com ======================================= ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Sat Sep 20 04:17:04 2003 From: sean.perry at intransa.com (Sean Perry) Date: Fri, 19 Sep 2003 19:17:04 -0700 Subject: [Fwd: Nagios mysql and cgi] In-Reply-To: <1064021114.20661.12.camel@curie> References: <1064009432.30003.11.camel@curie> <3F6B8C2D.8010301@intransa.com> <1064016863.20661.8.camel@curie> <3F6B9E1E.90301@intransa.com> <1064021114.20661.12.camel@curie> Message-ID: <3F6BB8A0.9020007@intransa.com> Sean Whitney wrote: > Right now the nagios program and the cgi program are using the same > username/password. The nagios program has more privileges than the cgi > needs, but it is working. My plan was to create a more restricted user. > but this problem needs to be solved first. The cgi program just can't > access the database. > I have a similar config. There is a nagioscgi user who has select access and a nagios user who has write access. If you read through the install docs they document which script needs access to what and how much access they need. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sat Sep 20 05:33:19 2003 From: sghosh at sghosh.org (Subhendu Ghosh) Date: Fri, 19 Sep 2003 23:33:19 -0400 (EDT) Subject: checking BGP states on Cisco routers In-Reply-To: <3642.192.168.1.15.1063931050.squirrel@xyzzy.homeip.net> References: <3642.192.168.1.15.1063931050.squirrel@xyzzy.homeip.net> Message-ID: no no no.... check_bgpstate use the Net::SNMP perl modules not the SNMP.pm module from Net-SNMP project. "perl -MCPAN -i net::SNMP" -sg On Thu, 18 Sep 2003, Mike McClure wrote: > SNMP.pm does not appear to be in the correct place. How did you install it? > > Anyway, this should fix your problem: > > cd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > mkdir Net > cd Net > ln -s ../SNMP.pm . > > > > Can anyone answer this? When I use the check_bgpstate.pl script I get the > > error below. Net-SNMP is installed and SNMP.pm is in > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/SNMP.pm. > > > > Do I need to modify the script in some way? > > > > TIA! > > > > ./check_bgpstate.pl x.x.x.x -c commnity > > Can't locate Net/SNMP.pm in @INC (@INC contains: > > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl > > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at > > ./check_bgpstate.pl line 30. > > BEGIN failed--compilation aborted at ./check_bgpstate.pl line 30. > > > > > > > > On Thu, 18 Sep 2003, J.C. Hall wrote: > > > >> Thank you to those who responded. I admit I am a newbie :-( to this! > >> > >> I found check_bgpstate.pl in the contrib/ dir. My question now is must it > >> be compiled, or what do I do to integrate it with Nagios to my libexec/ > > dir? > >> Is that a dumb question? > > > > It's a perl script.. you can just copy it over. If it fails to work, just > > check the first line of the script (load it into a text editor) and make > > sure > > the path to perl is correct. > > > > -- > > Matt Pounsett CIRA - Canadian Internet Registration > > Authority > > Technical Support Programmer 350 Sparks Street, Suite > > 1110 > > matt.pounsett at cira.ca Ottawa, Ontario, > > Canada > > 613.237.5335 ext. 231 > > http://www.cira.ca > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Sat Sep 20 05:52:06 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Fri, 19 Sep 2003 20:52:06 -0700 Subject: more NSCA stuff References: <5DB017510818EC468B05BD7BD9EACF83032D49CE@mismail.ena.com> Message-ID: <006c01c37f2a$8f7131a0$7800000a@lunchbox> Re: [Nagios-users] re: more NSCA stuffdefine service{ host_name zoe.*****************.net service_description drive space check_command check_dummy!0 active_checks_enabled no passive_checks_enabled 1 max_check_attempts 2 normal_check_interval 5 retry_check_interval 1 check_period 24x7 notification_interval 30 notification_period 24x7 notification_options w,c,r contact_groups oncall } This is what i got... Doesnt work, nagios still returns "Status is OK" after a cupple min. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net ----- Original Message ----- From: Marc Powell To: Shaun.Reitan at NDCHost.com Sent: Friday, September 19, 2003 7:13 PM Subject: Re: [Nagios-users] re: more NSCA stuff Set active_checks_enabled=no. -- Marc -----Original Message----- From: Shaun Reitan :: NDC Host To: nagios-users at lists.sourceforge.net Sent: Thu Sep 18 21:47:48 2003 Subject: [Nagios-users] re: more NSCA stuff Anybody know why when i have Active_Checks_enabled = 1 why nagios is still automatically changing the state to 'Status is OK' which it grabed from the check_command (which is check_dummy!0). I only want to accept passive checks for this service. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Sat Sep 20 06:12:36 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 19 Sep 2003 23:12:36 -0500 (CDT) Subject: checking BGP states on Cisco routers In-Reply-To: References: <3642.192.168.1.15.1063931050.squirrel@xyzzy.homeip.net> Message-ID: <4152.192.168.1.15.1064031156.squirrel@xyzzy.homeip.net> Oops, sorry. What happened to the "Simple" in SNMP? :) > no no no.... > > check_bgpstate use the Net::SNMP perl modules not the SNMP.pm module from > Net-SNMP project. > > "perl -MCPAN -i net::SNMP" > > -sg > > On Thu, 18 Sep 2003, Mike McClure wrote: > >> SNMP.pm does not appear to be in the correct place. How did you install it? >> >> Anyway, this should fix your problem: >> >> cd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi >> mkdir Net >> cd Net >> ln -s ../SNMP.pm . >> >> >> > Can anyone answer this? When I use the check_bgpstate.pl script I get the >> > error below. Net-SNMP is installed and SNMP.pm is in >> > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/SNMP.pm. >> > >> > Do I need to modify the script in some way? >> > >> > TIA! >> > >> > ./check_bgpstate.pl x.x.x.x -c commnity >> > Can't locate Net/SNMP.pm in @INC (@INC contains: >> > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 >> > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi >> > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl >> > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi >> > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl >> > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at >> > ./check_bgpstate.pl line 30. >> > BEGIN failed--compilation aborted at ./check_bgpstate.pl line 30. >> > >> > >> > >> > On Thu, 18 Sep 2003, J.C. Hall wrote: >> > >> >> Thank you to those who responded. I admit I am a newbie :-( to this! >> >> >> >> I found check_bgpstate.pl in the contrib/ dir. My question now is must it >> >> be compiled, or what do I do to integrate it with Nagios to my libexec/ >> > dir? >> >> Is that a dumb question? >> > >> > It's a perl script.. you can just copy it over. If it fails to work, just >> > check the first line of the script (load it into a text editor) and make >> > sure >> > the path to perl is correct. >> > >> > -- >> > Matt Pounsett CIRA - Canadian Internet Registration >> > Authority >> > Technical Support Programmer 350 Sparks Street, Suite >> > 1110 >> > matt.pounsett at cira.ca Ottawa, Ontario, >> > Canada >> > 613.237.5335 ext. 231 >> > http://www.cira.ca >> > >> > >> > >> > ------------------------------------------------------- >> > This sf.net email is sponsored by:ThinkGeek >> > Welcome to geek heaven. >> > http://thinkgeek.com/sf >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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:ThinkGeek >> > Welcome to geek heaven. >> > http://thinkgeek.com/sf >> > _______________________________________________ >> > Nagios-users mailing list >> > Nagios-users at lists.sourceforge.net >> > https://lists.sourceforge.net/lists/listinfo/nagios-users >> > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Fri Sep 19 15:31:36 2003 From: jason at teklabs.net (Jason Lancaster) Date: Fri, 19 Sep 2003 09:31:36 -0400 Subject: Nagios in the news... Message-ID: <3F6B0538.5030008@teklabs.net> Anyone see the October 2003 issue of Sysadmin Magazine? There's a nice 7 page write-up of Nagios in there. It's great to see coverage of such a great tool. http://www.sysadminmag.com/current/ Jason ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From elvis at webspace4you.ch Sun Sep 21 13:01:29 2003 From: elvis at webspace4you.ch (elvis at webspace4you.ch) Date: Sun, 21 Sep 2003 13:01:29 +0200 Subject: qmail and nagios integration Message-ID: <1064142089.3f6d850972f15@mail01.webspace4you.ch> Hi all Is it possible to check qmail Mailservers with nagios, so we can see, if there is failure on qmail (not the host himself), nagios will send then a warning SMS thanks in advance best regards E.Altherr ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ric at nkn.net Sun Sep 21 22:38:58 2003 From: ric at nkn.net (Ric Moseley) Date: Sun, 21 Sep 2003 15:38:58 -0500 Subject: NSCA question In-Reply-To: <015801c37e58$699ec320$7800000a@lunchbox> References: <015801c37e58$699ec320$7800000a@lunchbox> Message-ID: <009101c38080$623dc390$1bd010ac@theplanet.com> I am trying to set up distributed monitoring using nsca but I am having some trouble. I am not able to pipe any output to the send_nsca command so nothing is sent to the central server. Any ideals? I compiled it successfully on FreeBSD. /bin/echo -e "test\ttest\ttest\ttest\n" | send_nsca -H 192.168.1.13 -c send_nsca.cfg 0 data packet(s) sent to host successfully. Thanks. Ric. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lists at bauchi.de Sun Sep 21 14:44:58 2003 From: lists at bauchi.de (bauchi) Date: Sun, 21 Sep 2003 14:44:58 +0200 Subject: qmail and nagios integration In-Reply-To: <1064142089.3f6d850972f15@mail01.webspace4you.ch> References: <1064142089.3f6d850972f15@mail01.webspace4you.ch> Message-ID: <4610658311.20030921144458@bauchi.de> ewc> Hi all ewc> Is it possible to check qmail Mailservers with nagios, so we can see, if there ewc> is failure on qmail (not the host himself), nagios will send then a warning SMS ewc> thanks in advance ewc> best regards ewc> E.Altherr one of the default answers: it depends ... on what you're trying to monitor - you can use check_smtp to check qmail's smtp *service* - you can also use check_procs to see if your qmail process is running - and you can use check_mailq to see if your mailqueue is overflown ... we use check_smtp and check_mailq to monitor our mailservers ;) cheers basti -- "In god we trust, the rest we monitor" ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Snyder at worldgaming.com Mon Sep 22 07:01:34 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Mon, 22 Sep 2003 01:01:34 -0400 Subject: Pluggin - Exit code always 1 Message-ID: <44DEF9C222BF4A47B3A361765EC173370EF1BC@anakin.worldgaming.local> Please help with this pluggin. The exit code is always 1 but the error message is correct. I have include the test output and relevent parts of the code. Test commands and output ./check_ssp -w 30 -c 33; echo $? OK - E10K Temperature at: 26.1 (Waring:30 Critical:33) 1 ./check_ssp -w 20 -c 33; echo $? WARNING - E10K Temperature at: 26.1 (Waring:20 Critical:33) 1 [./check_ssp -w 20 -c 23; echo $? CRITICAL - E10K Temperature at: 26.1 (Waring:20 Critical:23) 1 Included as suggested in Nagios plug-in development guidlines use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); Here is the code that determines the exit code $result = 'OK'; if ($temp > $warning) { $result = 'WARNING'; } if ($temp > $critical) { $result = 'CRITICAL'; } print "$result - E10K Temperature at: $temp (Waring:$warning Critical:$critical)\n"; exit $ERRORS{$result}; Mark Snyder ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Mon Sep 22 12:51:17 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Mon, 22 Sep 2003 06:51:17 -0400 Subject: Pluggin - Exit code always 1 In-Reply-To: <44DEF9C222BF4A47B3A361765EC173370EF1BC@anakin.worldgaming.local> References: <44DEF9C222BF4A47B3A361765EC173370EF1BC@anakin.worldgaming.local> Message-ID: <1064227877.31522.0.camel@miles.debisschop.net> On Mon, 2003-09-22 at 01:01, Mark Snyder wrote: > Please help with this pluggin. The exit code is always 1 but the error message is correct. > I have include the test output and relevent parts of the code. > > > Test commands and output > > ./check_ssp -w 30 -c 33; echo $? > OK - E10K Temperature at: 26.1 (Waring:30 Critical:33) > 1 > > ./check_ssp -w 20 -c 33; echo $? > WARNING - E10K Temperature at: 26.1 (Waring:20 Critical:33) > 1 > > [./check_ssp -w 20 -c 23; echo $? > CRITICAL - E10K Temperature at: 26.1 (Waring:20 Critical:23) > 1 > > Included as suggested in Nagios plug-in development guidlines > > use utils qw($TIMEOUT %ERRORS &print_revision &support &usage); > > > Here is the code that determines the exit code > > $result = 'OK'; > > if ($temp > $warning) { > $result = 'WARNING'; > } > if ($temp > $critical) { > $result = 'CRITICAL'; > } > > print "$result - E10K Temperature at: $temp (Waring:$warning Critical:$critical)\n"; > exit $ERRORS{$result}; In perl, when the words WARNING and CRITICAL are cast to integers, 1 is the result. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 22 16:46:38 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 22 Sep 2003 10:46:38 -0400 (EDT) Subject: Nagios failing to check services In-Reply-To: References: Message-ID: On Fri, 19 Sep 2003, Tedman Eng wrote: > Here's something to chew on: > > Are all you checks set for the same check interval? If not, this is the > source of your problem. Nagios calculates 's'mart intercheck delay assuming > the simplest of set-ups. It totals all check times and divides by # of > checks. So, if you have a few services that are only checked once per hour, > they'll skew the average fairly far. To solve this, manually calculate the > intercheck-delay instead of using the 's' setting and see if that helps. Thanks for the formula... however, all my checks (hosts and services) are set for the same interval (1). I'd much rather continue using the smart delay, but if problems persist I'll try switching to manual. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Mon Sep 22 16:55:37 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Mon, 22 Sep 2003 10:55:37 -0400 (EDT) Subject: more NSCA stuff In-Reply-To: <015801c37e58$699ec320$7800000a@lunchbox> References: <015801c37e58$699ec320$7800000a@lunchbox> Message-ID: On Thu, 18 Sep 2003, Shaun Reitan :: NDC Host wrote: > Anybody know why when i have Active_Checks_enabled = 1 why nagios is still > automatically changing the state to 'Status is OK' which it grabed from the > check_command (which is check_dummy!0). You're getting Status OK for two reasons: 1) You have active checks enabled. If you don't want active checks, then disable them. (active_checks_enabled=0) 2) You have told check_dummy to return an OK state. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Gary.Blydenburgh at ftid.com Mon Sep 22 18:17:04 2003 From: Gary.Blydenburgh at ftid.com (Gary.Blydenburgh at ftid.com) Date: Mon, 22 Sep 2003 12:17:04 -0400 Subject: Problems with Scheduling Downtime Message-ID: Excuse me if this has been asked a million times in the past, I tried using the search feature on the website. Scheduling downtime for a host is flaky on my system, sometime it will work sometimes not. I am using Netsaint v0.0.7, on RH 7.2, Mozilla 1.4. I go thru all the steps in the GUI and nothing changes, I don't get the zzz icon next to the host in Status Details, and when I go into the host details the "In Scheduled Downtime" says NO. I have waited for approx 20 minutes with no change in status. Any ideas???? -------------- next part -------------- An HTML attachment was scrubbed... URL: From danslists at conpoint.com Mon Sep 22 18:38:22 2003 From: danslists at conpoint.com (Dan Spray) Date: Mon, 22 Sep 2003 11:38:22 -0500 Subject: Problem getting NRPE to collect data on client Message-ID: <309765CC7547D7119FF30050DA7A3BD7205229@EXCH> Hello, I am getting the following error in the messages log file on the client. Sep 22 11:34:39 MACHINENAME nrpe[23904]: Unable to open config file '/usr/local/nagios/nrpe.cfg' for reading Sep 22 11:34:39 MACHINENAME nrpe[23904]: Config file '/usr/local/nagios/nrpe.cfg' contained errors, bailing out... I am running the latest plugins/nrpe deamon, as I just downloaded/installed them today. I am sure that this is a permissions thing but I seem to be missing it. Any help with this would be great. Thanks in advance. Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From JVanas at finncorp.com Mon Sep 22 18:59:43 2003 From: JVanas at finncorp.com (Josh Van As) Date: Mon, 22 Sep 2003 12:59:43 -0400 Subject: Is there a way to delay UP;HARD checks? Message-ID: <834D93DB7AA4004F893BB62597D5774C18DB46@fcsrv0004.finncorp.com> MY problem is similar to yours. I know that it takes certain services longer than 1 minute (my normal check interval) to start after the box would reply to a ping (while coming back up from a reboot). I really just want to be able to control HARD UP notifications be forcing a retry on HARD Ups. Just like you currently set a retry interval for SOFT DOWNs before they become HARD, I desire a retry interval before SOFT Ups before they become HARD. Just a thought. -Josh -----Original Message----- From: Douglas E. Warner [mailto:dwarner at ctinetworks.com] Sent: Friday, September 19, 2003 8:15 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Re: Re: Is there a way to delay UP;HARD checks? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Friday 19 September 2003 19:25, Sto Rage(r) wrote: > Well, isn't that the point of your monitoring? Each host has a purpose > (service) on your network, so if its not serving that purpose (service not > running) then shouldn't you consider that host as being down? > E.g. I have a Win2k Fax Server, if its not running the fax service I > consider the host as down, even if I am able to ping it, and other services > are running. > So in your case, if its not critical for you if a card is down, then why > monitor that card in the first place? No, its not the same. If I have more than enough modem cards (failover) to handle calls, the NAS still works despite one being down. The fact that the one card is down is still bad, but not so bad that the function of the box is nullified. People run multiple services on their boxes; sometimes these services fail to start or stop working, that's why we check them. Sometimes these services also take 7 minutes to boot, and I don't want to hear that they're still down until they've been down for 15 minutes. Also, this can't be the same as setting a adjusting max_check_attempts and *_check_interval, because if it goes down after the box has been running correctly for awhile, I care immediately; only if the box has JUST come out of a DOWN state do I care that it's taking so long for the service to come up. - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/a5wlJV36su0A0xIRAoVxAKDTurfpY9o++YgKNXi+VK3t6UyEkQCeOmCK 6+OSgG1hE49CrzvLy43MB6g= =eC/j -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Sep 22 19:33:59 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 22 Sep 2003 12:33:59 -0500 Subject: Problem getting NRPE to collect data on client Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EE36@mismail.ena.com> What are the permissions on the file nrpe.cfg and the directory /usr/local/nagios. Also, typically I would expect nrpe.cfg to be in /usr/local/nagios/etc. Are you looking for it in the right place? -- Marc ________________________________________ From: Dan Spray [mailto:danslists at conpoint.com] Sent: Monday, September 22, 2003 11:38 AM To: Nagios-Users Hello, ? I am getting the following error in the messages log file on the client... ? Sep 22 11:34:39 MACHINENAME nrpe[23904]: Unable to open config file '/usr/local/nagios/nrpe.cfg' for reading Sep 22 11:34:39 MACHINENAME nrpe[23904]: Config file '/usr/local/nagios/nrpe.cfg' contained errors, bailing out... ? I am running the latest plugins/nrpe deamon, as I just downloaded/installed them today.? I am sure that this is a permissions thing but I seem to be missing it. ? Any help with this would be great.? Thanks in advance. ? Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From itamarf at pbh.gov.br Mon Sep 22 19:45:52 2003 From: itamarf at pbh.gov.br (itamarf) Date: Mon, 22 Sep 2003 14:45:52 -0300 Subject: Ajuda_bibliografica_nagios Message-ID: <3F6F3550.EF1CCD5F@pbh.gov.br> pessoal, Estava precisando de uma ajuda, ? que estou fazendo um trabalho na faculdade onde vou mostrar o MRTG e o NAGIOS, programas que utilizo para monitora?aodo trafego na rede da empresa onde trabalho. ate a? tudo bem, j? venho mexendo comos porgramas h? alguns meses e acho q j? adquiri bons conhecimnentos na sua utiliza??o. O problema ? que em meu trabalho na faculdade ? necessario que eu apresente o trabalho baseado em alguma referencia bibliogarfica que possa comprovar o que ser? mostrado. S? que nao ? aceito artigos encontrados na internet, que o que estou encontrando com maior frequencia. Alaguem sabe de algum livro que trate do NAGIOS? Se souberem, por favor, me passem a referencia que ser? de grande ajuda em meu trabalho. Valeu!! Itamar ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jwright at perelson.com Mon Sep 22 20:07:19 2003 From: Jwright at perelson.com (Jim Wright) Date: Mon, 22 Sep 2003 12:07:19 -0600 Subject: Contract in Utah Message-ID: <36983F63159ED44EB97E2F019AACA51D98C5@server2k.perelson.local> I have a 9 month contract in Utah doing Nagios support work. If you are interested in a job description email me at jwright at perelson.com or call me at the number listed below. Thanks, Jim Wright Prince, Perelson (801)365-0407 (Direct) http://www.perelson.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Mon Sep 22 20:44:29 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Mon, 22 Sep 2003 14:44:29 -0400 Subject: Problems with Scheduling Downtime Message-ID: <5F29693503507B4FB4032686ADF862673B59D8@mtviny25.mtvi.com> I definitely have an idea.... upgrade to Nagios! :) -----Original Message----- From: Gary.Blydenburgh at ftid.com [mailto:Gary.Blydenburgh at ftid.com] Sent: Monday, September 22, 2003 12:17 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with Scheduling Downtime Excuse me if this has been asked a million times in the past, I tried using the search feature on the website. Scheduling downtime for a host is flaky on my system, sometime it will work sometimes not. I am using Netsaint v0.0.7, on RH 7.2, Mozilla 1.4. I go thru all the steps in the GUI and nothing changes, I don't get the zzz icon next to the host in Status Details, and when I go into the host details the "In Scheduled Downtime" says NO. I have waited for approx 20 minutes with no change in status. Any ideas???? -------------- next part -------------- An HTML attachment was scrubbed... URL: From lyra at pop-pr.rnp.br Mon Sep 22 23:59:20 2003 From: lyra at pop-pr.rnp.br (Christian Lyra) Date: Mon, 22 Sep 2003 18:59:20 -0300 Subject: nagios and rrdtool In-Reply-To: <200309161020.21965.lyra@pop-pr.rnp.br> References: <200309161020.21965.lyra@pop-pr.rnp.br> Message-ID: <200309221859.20837.lyra@pop-pr.rnp.br> > > I?m looking for a plugin like the check_mrtg one but instead of looking in > mrtg log files I would like to look in rrd files. Is there such thing? Hi all, Answering myself, yes, there?s now a check_rrd plugin :-). Consider it a early alpha stage. Grab it from http://www6.pop-pr.rnp.br/tiki-download_file.php?fileId=3 For those of you who like me use to use nagios AND cacti this script could be very helpful. Please help me to improve it. -- Christian Lyra POP-PR - RNP http://lyra.soueu.com.br http://wecanstopspam.org Thus spake the master programmer: ``It is time for you to leave.'' The Tao Of Programing ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marnold at freightgate.com Tue Sep 23 01:35:11 2003 From: marnold at freightgate.com (Mark Arnold) Date: Mon, 22 Sep 2003 16:35:11 -0700 Subject: Services per hostgroups Message-ID: Hi, I just installed Nagios for the first ime and I am impressed! But I am missing one thing: A service can be defined per host - the sample file shows about 20 or even more different hosts (servers, printers, routers, etc). Now for each of these hosts, there is the same ping service defined over and over again... This seems like a huge pain to maintain... Even if it is possible to use only one with a list of hostnames like hostname linux_box1,linuxbox2 (I dont know if this works or not) it would still be rather complex to maintain this for a big number of servers. Isn't it possible to use hostgroups instead? What else are the hostgroups for, if not for this? So there would be one ping service setup for hostgroup all_nodes and a hostgroup "all_nodes" would be configured accordingly. SMTP and POP could be configured for "all_mailservers", etc... I tried to just use a hostgroup name instead of the hostname, but Nagios didn't like that, it said the groupname was not a valid host name... Is there anything like this already there that I don't know of? Thanks, MARK ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msalists at gmx.net Tue Sep 23 01:35:34 2003 From: msalists at gmx.net (Mark Arnold) Date: Mon, 22 Sep 2003 16:35:34 -0700 Subject: Services per hostgroups Message-ID: Hi, I just installed Nagios for the first ime and I am impressed! But I am missing one thing: A service can be defined per host - the sample file shows about 20 or even more different hosts (servers, printers, routers, etc). Now for each of these hosts, there is the same ping service defined over and over again... This seems like a huge pain to maintain... Even if it is possible to use only one with a list of hostnames like hostname linux_box1,linuxbox2 (I dont know if this works or not) it would still be rather complex to maintain this for a big number of servers. Isn't it possible to use hostgroups instead? What else are the hostgroups for, if not for this? So there would be one ping service setup for hostgroup all_nodes and a hostgroup "all_nodes" would be configured accordingly. SMTP and POP could be configured for "all_mailservers", etc... I tried to just use a hostgroup name instead of the hostname, but Nagios didn't like that, it said the groupname was not a valid host name... Is there anything like this already there that I don't know of? Thanks, MARK ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 23 02:30:05 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 22 Sep 2003 19:30:05 -0500 Subject: Services per hostgroups In-Reply-To: References: Message-ID: <1064276999.16059.165.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> hostgroup_name and either host_name or hostgroup_name can have many (comma-separated) entries. like: define service{ use generic-service host_name host1,host2,host3 hostgroup_name grp1,grp2,grp3 service_description Current Users is_volatile 0 parallelize_check 1 check_period 24x7 max_check_attempts 3 normal_check_interval 10 retry_check_interval 2 contact_groups admins notification_interval 240 notification_period 24x7 notification_options w,u,c,r check_command check_local_users!75!150 } On Mon, 2003-09-22 at 18:35, Mark Arnold wrote: > Hi, > > I just installed Nagios for the first ime and I am impressed! > > But I am missing one thing: > A service can be defined per host - the sample file shows about 20 or even more different hosts (servers, printers, routers, etc). > Now for each of these hosts, there is the same ping service defined over and over again... > This seems like a huge pain to maintain... Even if it is possible to use only one with a list of hostnames like > > hostname linux_box1,linuxbox2 > > (I dont know if this works or not) it would still be rather complex to maintain this for a big number of servers. > > Isn't it possible to use hostgroups instead? What else are the hostgroups for, if not for this? > So there would be one ping service setup for > > hostgroup all_nodes > > and a hostgroup "all_nodes" would be configured accordingly. SMTP and POP could be configured for "all_mailservers", etc... > > I tried to just use a hostgroup name instead of the hostname, but Nagios didn't like that, it said the groupname was not a valid > host name... > > Is there anything like this already there that I don't know of? > > Thanks, > > MARK > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jpttdi at yahoo.fr Tue Sep 23 09:25:29 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Tue, 23 Sep 2003 09:25:29 +0200 (CEST) Subject: Remove service and host commands from user interface. In-Reply-To: <20030919080635.26181.qmail@web41011.mail.yahoo.com> References: <20030919080635.26181.qmail@web41011.mail.yahoo.com> Message-ID: <20030923072529.69520.qmail@web41004.mail.yahoo.com> Hi all, Can someone help me ??? I would like to set up an user account which cannot access services or hosts commands but which can be managed like every other users account (be a contact for some hostgroups, receive notifications ...) I've never seen a monitoring tool which allow any operator to disable services or hosts checks, does nagios assume that every user is a system administrator ? Feel free to tell me "you should buy a real tool"... if there's no other solution... Thanks. Jpt. jpttdi wrote: Brad, I have created an user account which is not a nagios contact but which is listed in the authorized_for_all_hosts/service directive in cgi.cfg. Yes, it works by this way, but this setting comes with other problems: -This account can see all the hosts and services set up in nagios , i want them to see only a part of them (the production server for which nagios configuration is ok). -As they are not contacts for any hosts or services, they don't receive any notifications (email...), which is a problem for me. If someone have another workaround... Thanks, Jpt. Brad Johnson wrote: Marc, Good point Marc - thanks for correcting me on that. That would explain why it isn't working in your situation, Jpt. You could always create some user called "observer" that wasn't a nagios contact. Then in the cgi.cfg file you could give observer access to host and service status info, but not commands. Might that work? - Brad On Thu, 18 Sep 2003, Marc Powell wrote: > Respectfully, that's not the functionality of those options. The > default is for a user to be able to see and issue any commands against > any hosts and services for which they are listed as a contact. The > authorized_for_* commands grant additional permissions to specific > users for _all_ hosts and services monitored, not just for the ones > they are listed as a contact for. > > -- > Marc > > > -----Original Message----- > > From: Brad Johnson [mailto:bjohnson at got.wedgie.org] > > Sent: Thursday, September 18, 2003 9:59 AM > > To: jpttdi > > Cc: nagios-users at lists.sourceforge.net > > > > Can't you just use the authorized_for_all_host_commands and > > authorized_for_all_service_commands variables in cgi.cfg? If you don't > > want your user to be able to issue commands, just make sure the account's > > username isn't listed in those variables. Users will still be able to see > > the commands, even issue them. But as soon as they submit a command for > > processing, nagios will ignore it and give them an error message unless > > the username is listed in those variables. > > > > I think that should accomplish what you're looking for. Hope it helps. > > > > - Brad > > > > On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > > > > > Hi, > > > > > > I would like to know if it's possible to hide the hosts and services > > commands in the user interface for particular user. > > > > > > I have set up an account for monitoring users, and i don't want them to > > be able to disable checks of a service or to disable notifications (all > > that you can do with services and hosts commands) > > > > > > I found in the manual a lot of options to grant additionnal rights to > > user but nothing about retrieving the right to disable notifications or > > checks ! > > > > > > Is there any way to do that ? > > > > > > > > > > > > Thanks. > > > Jpt. > > > > > > > > > > > > > > > --------------------------------- > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > > Testez le nouveau Yahoo! Mail > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From jamie.baddeley at vpc.co.nz Tue Sep 23 11:29:09 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Tue, 23 Sep 2003 21:29:09 +1200 Subject: Remove service and host commands from user interface. In-Reply-To: <20030923072529.69520.qmail@web41004.mail.yahoo.com> References: <20030923072529.69520.qmail@web41004.mail.yahoo.com> Message-ID: <200309230920.h8N9KK914386@spectre.freeparking.co.nz> On Tue, 23 Sep 2003 19:25, jpttdi wrote: "..Feel free to tell me "you should buy a real tool"... if there's no other solution..." Umm. This statement makes no sense to me. In fact I am not sure if a statement like this belongs here. At all. Nagios is a *real* tool. And since when does buying something make it real? I've bought software in the past that was a complete waste of money. I've also wasted money on software that created more problems than it solved. Back to school. http://www.gnu.org/philosophy/free-sw.html http://www.debian.org/social_contract.html http://www.opensource.org/advocacy/recommended.php http://www.perens.com/Articles/OSD.html sigh. jamie (apologies if I'm over-reacting to something that I am passionate about) On Tue, 23 Sep 2003 19:25, jpttdi wrote: > Hi all, > > Can someone help me ??? > > I would like to set up an user account which cannot access services or > hosts commands but which can be managed like every other users account (be > a contact for some hostgroups, receive notifications ...) > > I've never seen a monitoring tool which allow any operator to disable > services or hosts checks, does nagios assume that every user is a system > administrator ? > > Feel free to tell me "you should buy a real tool"... if there's no other > solution... > > > Thanks. > > Jpt. > > > > > jpttdi wrote: > Brad, > > I have created an user account which is not a nagios contact but which is > listed in the authorized_for_all_hosts/service directive in cgi.cfg. > > Yes, it works by this way, but this setting comes with other problems: > > -This account can see all the hosts and services set up in nagios , i want > them to see only a part of them (the production server for which nagios > configuration is ok). > > -As they are not contacts for any hosts or services, they don't receive any > notifications (email...), which is a problem for me. > > If someone have another workaround... > > > Thanks, > Jpt. > > > > Brad Johnson wrote: > Marc, > > Good point Marc - thanks for correcting me on that. That would explain why > it isn't working in your situation, Jpt. You could always create some user > called "observer" that wasn't a nagios contact. Then in the cgi.cfg file > you could give observer access to host and service status info, but not > commands. > > Might that work? > > - Brad > > On Thu, 18 Sep 2003, Marc Powell wrote: > > Respectfully, that's not the functionality of those options. The > > default is for a user to be able to see and issue any commands against > > any hosts and services for which they are listed as a contact. The > > authorized_for_* commands grant additional permissions to specific > > users for _all_ hosts and services monitored, not just for the ones > > they are listed as a contact for. > > > > -- > > Marc > > > > > -----Original Message----- > > > From: Brad Johnson [mailto:bjohnson at got.wedgie.org] > > > Sent: Thursday, September 18, 2003 9:59 AM > > > To: jpttdi > > > Cc: nagios-users at lists.sourceforge.net > > > > > > Can't you just use the authorized_for_all_host_commands and > > > authorized_for_all_service_commands variables in cgi.cfg? If you don't > > > want your user to be able to issue commands, just make sure the > > > account's username isn't listed in those variables. Users will still be > > > able to see the commands, even issue them. But as soon as they submit a > > > command for processing, nagios will ignore it and give them an error > > > message unless the username is listed in those variables. > > > > > > I think that should accomplish what you're looking for. Hope it helps. > > > > > > - Brad > > > > > > On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > > > > Hi, > > > > > > > > I would like to know if it's possible to hide the hosts and services > > > > > > commands in the user interface for particular user. > > > > > > > I have set up an account for monitoring users, and i don't want them > > > > to > > > > > > be able to disable checks of a service or to disable notifications (all > > > that you can do with services and hosts commands) > > > > > > > I found in the manual a lot of options to grant additionnal rights to > > > > > > user but nothing about retrieving the right to disable notifications or > > > checks ! > > > > > > > Is there any way to do that ? > > > > > > > > > > > > > > > > Thanks. > > > > Jpt. > > > > > > > > > > > > > > > > > > > > --------------------------------- > > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > > > Testez le nouveau Yahoo! Mail > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk being > ::: sent to /dev/null > > --------------------------------- > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Testez le nouveau Yahoo! Mail > > > --------------------------------- > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > Testez le nouveau Yahoo! Mail ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From igor.kurtovic at qsc.de Tue Sep 23 11:19:42 2003 From: igor.kurtovic at qsc.de (Igor Kurtovic) Date: Tue, 23 Sep 2003 11:19:42 +0200 Subject: Services per hostgroups In-Reply-To: References: Message-ID: <1064308781.4345.3.camel@qsclap888.sl.qsc.de> Howdy, all you need is this: hostgroup_name yourhstgroup instead of host_name yourhost and there you go Regards, Igor On Tue, 2003-09-23 at 01:35, Mark Arnold wrote: > Hi, > > I just installed Nagios for the first ime and I am impressed! > > But I am missing one thing: > A service can be defined per host - the sample file shows about 20 or even more different hosts (servers, printers, routers, etc). > Now for each of these hosts, there is the same ping service defined over and over again... > This seems like a huge pain to maintain... Even if it is possible to use only one with a list of hostnames like > > hostname linux_box1,linuxbox2 > > (I dont know if this works or not) it would still be rather complex to maintain this for a big number of servers. > > Isn't it possible to use hostgroups instead? What else are the hostgroups for, if not for this? > So there would be one ping service setup for > > hostgroup all_nodes > > and a hostgroup "all_nodes" would be configured accordingly. SMTP and POP could be configured for "all_mailservers", etc... > > I tried to just use a hostgroup name instead of the hostname, but Nagios didn't like that, it said the groupname was not a valid > host name... > > Is there anything like this already there that I don't know of? > > Thanks, > > MARK > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- ******************************** Igor Kurtovic Technische Systeml?sungen QSC AG Phone: +49 221 6698 404 Mobile: +49 163 6698 075 Fax: +49 221 6698 469 WWW: www.q-dsl.de Email: igor.kurtovic at qsc.de ******************************** -------------- next part -------------- An HTML attachment was scrubbed... URL: From jpttdi at yahoo.fr Tue Sep 23 11:37:48 2003 From: jpttdi at yahoo.fr (=?iso-8859-1?q?jpttdi?=) Date: Tue, 23 Sep 2003 11:37:48 +0200 (CEST) Subject: Remove service and host commands from user interface. In-Reply-To: <20030923072529.69520.qmail@web41004.mail.yahoo.com> References: <20030923072529.69520.qmail@web41004.mail.yahoo.com> Message-ID: <20030923093748.92981.qmail@web41012.mail.yahoo.com> Before my mailbox blown up, please don't read in my last message: "Feel free to tell me "you should buy a real tool"... if there's no other solution..." But read: "Feel free to tell me "you should use another tool"... if there's no other solution..." ;-) ... Thanks. Jpt. jpttdi wrote: Hi all, Can someone help me ??? I would like to set up an user account which cannot access services or hosts commands but which can be managed like every other users account (be a contact for some hostgroups, receive notifications ...) I've never seen a monitoring tool which allow any operator to disable services or hosts checks, does nagios assume that every user is a system administrator ? Feel free to tell me "you should buy a real tool"... if there's no other solution... Thanks. Jpt. jpttdi wrote: Brad, I have created an user account which is not a nagios contact but which is listed in the authorized_for_all_hosts/service directive in cgi.cfg. Yes, it works by this way, but this setting comes with other problems: -This account can see all the hosts and services set up in nagios , i want them to see only a part of them (the production server for which nagios configuration is ok). -As they are not contacts for any hosts or services, they don't receive any notifications (email...), which is a problem for me. If someone have another workaround... Thanks, Jpt. Brad Johnson wrote: Marc, Good point Marc - thanks for correcting me on that. That would explain why it isn't working in your situation, Jpt. You could always create some user called "observer" that wasn't a nagios contact. Then in the cgi.cfg file you could give observer access to host and service status info, but not commands. Might that work? - Brad On Thu, 18 Sep 2003, Marc Powell wrote: > Respectfully, that's not the functionality of those options. The > default is for a user to be able to see and issue any commands against > any hosts and services for which they are listed as a contact. The > authorized_for_* commands grant additional permissions to specific > users for _all_ hosts and services monitored, not just for the ones > they are listed as a contact for. > > -- > Marc > > > -----Original Message----- > > From: Brad Johnson [mailto:bjohnson at got.wedgie.org] > > Sent: Thursday, September 18, 2003 9:59 AM > > To: jpttdi > > Cc: nagios-users at lists.sourceforge.net > > > > Can't you just use the authorized_for_all_host_commands and > > authorized_for_all_service_commands variables in cgi.cfg? If you don't > > want your user to be able to issue commands, just make sure the account's > > username isn't listed in those variables. Users will still be able to see > > the commands, even issue them. But as soon as they submit a command for > > processing, nagios will ignore it and give them an error message unless > > the username is listed in those variables. > > > > I think that should accomplish what you're looking for. Hope it helps. > > > > - Brad > > > > On Thu, 18 Sep 2003, [iso-8859-1] jpttdi wrote: > > > > > Hi, > > > > > > I would like to know if it's possible to hide the hosts and services > > commands in the user interface for particular user. > > > > > > I have set up an account for monitoring users, and i don't want them to > > be able to disable checks of a service or to disable notifications (all > > that you can do with services and hosts commands) > > > > > > I found in the manual a lot of options to grant additionnal rights to > > user but nothing about retrieving the right to disable notifications or > > checks ! > > > > > > Is there any way to do that ? > > > > > > > > > > > > Thanks. > > > Jpt. > > > > > > > > > > > > > > > --------------------------------- > > > Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! > > > Testez le nouveau Yahoo! Mail > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail --------------------------------- Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en fran?ais ! Testez le nouveau Yahoo! Mail -------------- next part -------------- An HTML attachment was scrubbed... URL: From Gary.Blydenburgh at ftid.com Tue Sep 23 13:51:13 2003 From: Gary.Blydenburgh at ftid.com (Gary.Blydenburgh at ftid.com) Date: Tue, 23 Sep 2003 07:51:13 -0400 Subject: Problems with Scheduling Downtime In-Reply-To: References: Message-ID: Did Netsaint v.0.0.7 have a problem with scheduling downtime, or are you just throwing something out there? I am working on upgrading to Nagios but I need this fix now. Gary Blydenburgh Senior Network Support Specialist FT Interactive Data 99 Third Ave Waltham, MA 02454 Phone: 781.895.4121 Fax: 781.895.4101 Email: gary_blydenburgh at intdata.com "Hochberg, Keith" 09/22/2003 02:44 PM To: Gary.Blydenburgh at ftid.com, nagios-users at lists.sourceforge.net cc: (bcc: Gary Blydenburgh/Intdata) Subject: RE: [Nagios-users] Problems with Scheduling Downtime I definitely have an idea.... upgrade to Nagios! :) -----Original Message----- From: Gary.Blydenburgh at ftid.com [mailto:Gary.Blydenburgh at ftid.com] Sent: Monday, September 22, 2003 12:17 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Problems with Scheduling Downtime Excuse me if this has been asked a million times in the past, I tried using the search feature on the website. Scheduling downtime for a host is flaky on my system, sometime it will work sometimes not. I am using Netsaint v0.0.7, on RH 7.2, Mozilla 1.4. I go thru all the steps in the GUI and nothing changes, I don't get the zzz icon next to the host in Status Details, and when I go into the host details the "In Scheduled Downtime" says NO. I have waited for approx 20 minutes with no change in status. Any ideas???? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 196 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/gif Size: 65 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Snyder at worldgaming.com Tue Sep 23 15:49:48 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Tue, 23 Sep 2003 09:49:48 -0400 Subject: Pluggin - Exit code always 1 Message-ID: <44DEF9C222BF4A47B3A361765EC173370EF1BF@anakin.worldgaming.local> I am not sure what is meant by "cast to integers". If you could please explain. Setting the exit code to exit 0; does not work either. I modified the code to print out the value of "$ERRORS{$result}". Below is the test output and the relevant part of the code. Test Output: ./check_ssp -w 30 -c 33; echo $? 0 - OK - E10K Temperature at: 26.1 (Waring:30 Critical:33) 1 ./check_ssp -w 20 -c 33; echo $? 1 - WARNING - E10K Temperature at: 26.1 (Waring:20 Critical:33) 1 ./check_ssp -w 20 -c 23; echo $? 2 - CRITICAL - E10K Temperature at: 26.1 (Waring:20 Critical:23) 1 Relevant Code $result = 'OK'; if ($temp > $warning) { $result = 'WARNING'; } if ($temp > $critical) { $result = 'CRITICAL'; } print "$ERRORS{$result} - $result - E10K Temperature at: $temp (Waring:$warning Critical:$critical)\n"; exit $ERRORS{$result}; -----Original Message----- From: Karl DeBisschop [mailto:karl at debisschop.net] In perl, when the words WARNING and CRITICAL are cast to integers, 1 is the result. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 23 16:22:27 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 23 Sep 2003 10:22:27 -0400 (EDT) Subject: more NSCA stuff In-Reply-To: <005801c38133$2ed5e1f0$7800000a@lunchbox> References: <005801c38133$2ed5e1f0$7800000a@lunchbox> Message-ID: On Mon, 22 Sep 2003, Shaun Reitan :: NDC Host wrote: > Below is what my service looks like. Active checks are still running and > returning that state ok. check_dummy should not even be executed now from > what i understand. http://nagios.sourceforge.net/docs/1_0/configmain.html#retain_state_information -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pctech at mybellybutton.com Tue Sep 23 16:49:54 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Tue, 23 Sep 2003 07:49:54 -0700 (PDT) Subject: Stupid check_http Question Message-ID: <20030923144954.97726.qmail@web13406.mail.yahoo.com> I am checking a site, with Basic authentication. I have a user and password specifically set up using htpasswd, and have this user added to the appripriate group file for the site. When I issue the ./check_http -I 10.1.1.5 -a nagios:nagios command I get HTTP WARNING: HTTP/1.1 403 Forbidden. Why am I getting this instead of the happy little green light? Thank you for your assistance. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Tue Sep 23 16:56:52 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Tue, 23 Sep 2003 08:56:52 -0600 Subject: Contact Notification Options Message-ID: I've setup Nagios in a NOC that wishes to have service critical/warning and host down notifications sent to a particular email address that will generate a trouble ticket. This was easy enough to setup, by making the NOC contact use 'c,w' for services and 'd' for host notification options. Now they would like to have the remaining down/unreachable messages arrive at a different email address. Again, I thought this would not be a big deal, I would just create a new contact that has the opposite notification options. However, when I verify the configuration, I receive this error message: Checking contacts... Warning: Service recovery notification option for contact 'noc_recover' doesn't make any sense - specify critical and/or warning options as well Checked 5 contacts. Since this is just a 'warning', it should still work as intended, right? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 23 17:06:12 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 23 Sep 2003 11:06:12 -0400 (EDT) Subject: Host assumed to be up? In-Reply-To: References: Message-ID: On Tue, 23 Sep 2003, Jain, Rajeev - Contingent Staff wrote: > I looked in to FAQ but didn't find an answer which would help permanently. > Can someone please suggest how to change "host Assumed to be up" to actual > information? I'm not sure that you can... the host's active check is never executed as long as at least one service is up and running. The assumption is that if some services are running, the host must be online. If you need to collect stats from that check command, you can duplicate it as a service. For example, my host check command is a ping.. but I've also got a PING service defined for all hosts. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danb at mojolin.com Tue Sep 23 19:04:03 2003 From: danb at mojolin.com (Dan Barber) Date: Tue, 23 Sep 2003 13:04:03 -0400 (EDT) Subject: statusmap patch reflects service status In-Reply-To: References: Message-ID: Hello all, Here is a patch to statusmap.c which will refelect the status of services in the background color. IE, the background color will change to yellow if there are any service warnings. The word "Up" will remain green as long as connectivity is still good. Here's the patch... should be a simple: copy patch to cgi dir in your nagios source directory: nagios-1.1/cgi patch -p0 < patch_file.diff recompile and reinstall or just copy the new statusmap.cgi to your working cgi-bin Thanks go to Jason Woodward (http://jaos.org) for the coding. The patch (patch_file.diff): --- statusmap.c 2002-10-25 04:58:17.000000000 +0000 +++ modified_statusmap.c 2003-09-23 10:54:06.000000000 +0000 @@ -2882,8 +2882,23 @@ temp_hoststatus=find_hoststatus(temp_host->name); if(temp_hoststatus==NULL) bgcolor=color_lightgrey; - else if(temp_hoststatus->status==HOST_DOWN || temp_hoststatus->status==HOST_UNREACHABLE) + else if(temp_hoststatus->status==HOST_DOWN || temp_hoststatus->status==HOST_UNREACHABLE || + ( + ( + get_servicestatus_count(temp_host->name,SERVICE_CRITICAL) + + get_servicestatus_count(temp_host->name,SERVICE_UNREACHABLE) + + get_servicestatus_count(temp_host->name,SERVICE_HOST_DOWN) + ) > 0 + ) + ) bgcolor=color_lightred; + else if( + ( + get_servicestatus_count(temp_host->name,SERVICE_WARNING) + + get_servicestatus_count(temp_host->name,SERVICE_UNKNOWN) + ) > 0 + ) + bgcolor=color_yellow; else bgcolor=color_lightgreen; ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From lena__m at hotmail.com Tue Sep 23 20:37:52 2003 From: lena__m at hotmail.com (Lena M) Date: Tue, 23 Sep 2003 14:37:52 -0400 Subject: email acknowledgements Message-ID: Hello, I would like to be able to reply to nagios warnings/critical messages with an email acknowledgement. What do I need to configure for that? Thank you very much Lena -------------- next part -------------- An HTML attachment was scrubbed... URL: From Mark.Snyder at worldgaming.com Tue Sep 23 21:24:09 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Tue, 23 Sep 2003 15:24:09 -0400 Subject: Solved: Pluggin - Exit code always 1 Message-ID: <44DEF9C222BF4A47B3A361765EC17337175FE5@anakin.worldgaming.local> My apologies for wasting bandwith with this problem. Everything that is shown works 100%. The problem was with a spawned process that gave the exit code of 1. Mark Snyder -----Original Message----- From: Mark Snyder I am not sure what is meant by "cast to integers". If you could please explain. Setting the exit code to exit 0; does not work either. I modified the code to print out the value of "$ERRORS{$result}". Below is the test output and the relevant part of the code. Test Output: ./check_ssp -w 30 -c 33; echo $? 0 - OK - E10K Temperature at: 26.1 (Waring:30 Critical:33) 1 ./check_ssp -w 20 -c 33; echo $? 1 - WARNING - E10K Temperature at: 26.1 (Waring:20 Critical:33) 1 ./check_ssp -w 20 -c 23; echo $? 2 - CRITICAL - E10K Temperature at: 26.1 (Waring:20 Critical:23) 1 Relevant Code $result = 'OK'; if ($temp > $warning) { $result = 'WARNING'; } if ($temp > $critical) { $result = 'CRITICAL'; } print "$ERRORS{$result} - $result - E10K Temperature at: $temp (Waring:$warning Critical:$critical)\n"; exit $ERRORS{$result}; -----Original Message----- From: Karl DeBisschop [mailto:karl at debisschop.net] In perl, when the words WARNING and CRITICAL are cast to integers, 1 is the result. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 23 23:25:59 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 23 Sep 2003 17:25:59 -0400 (EDT) Subject: more NSCA stuff In-Reply-To: <070f01c38218$a97c2fa0$7800000a@lunchbox> References: <070f01c38218$a97c2fa0$7800000a@lunchbox> Message-ID: On Tue, 23 Sep 2003, Shaun Reitan :: NDC Host wrote: > I dont think retain_state is the problem, cuz i'm not > stoping/starting/restarting nagios. I sends the checks, it reads the > correct data for a min or so and then i assume it runs the dummy command and > returned state ok. > > i'm really confused why nagios is running the check_command, with nsca i > dont understand why the check_command is even required. i've been stuck > on/with this problem for days now, i hope i can get this resolved soon. > > Thanks for the help so far. If you have disabled active checks in the config file, and restarted nagios, but it is still doing the active checks, the only reason left (as far as I'm aware) is that retain state is on.. this would retain the ENABLED state of active checks across restarts of nagios. You can use the web interface to disable active checks for that service, so that the active state of the configuration matches what you have in the config file. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Tue Sep 23 23:21:31 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Tue, 23 Sep 2003 14:21:31 -0700 Subject: more NSCA stuff References: Message-ID: <070f01c38218$a97c2fa0$7800000a@lunchbox> I dont think retain_state is the problem, cuz i'm not stoping/starting/restarting nagios. I sends the checks, it reads the correct data for a min or so and then i assume it runs the dummy command and returned state ok. i'm really confused why nagios is running the check_command, with nsca i dont understand why the check_command is even required. i've been stuck on/with this problem for days now, i hope i can get this resolved soon. Thanks for the help so far. ----Summary of what i need/the problem---- I'm using nsca and nagios is running active service checks locally rather than waiting for the pasive check. i need it to stop running the check_command. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net ----- Original Message ----- From: "Matt Pounsett" To: "Shaun Reitan :: NDC Host" Cc: Sent: Tuesday, September 23, 2003 7:22 AM Subject: Re: [Nagios-users] re: more NSCA stuff > On Mon, 22 Sep 2003, Shaun Reitan :: NDC Host wrote: > > > Below is what my service looks like. Active checks are still running and > > returning that state ok. check_dummy should not even be executed now from > > what i understand. > > http://nagios.sourceforge.net/docs/1_0/configmain.html#retain_state_informat ion > > -- > Matt Pounsett CIRA - Canadian Internet Registration Authority > Technical Support Programmer 350 Sparks Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, Canada > 613.237.5335 ext. 231 http://www.cira.ca > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Wed Sep 24 05:44:42 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Tue, 23 Sep 2003 20:44:42 -0700 Subject: more NSCA stuff References: Message-ID: <007901c3824e$31070730$7800000a@lunchbox> Turns out you where right, in nagios.cfg retain_state_information was set to 1 and for some reason active checks where enabled. Now here's a new question. I want it to retain state information, but in the future if i wanted to clear all this information how would i? Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net ----- Original Message ----- From: "Matt Pounsett" To: "Shaun Reitan :: NDC Host" Cc: Sent: Tuesday, September 23, 2003 2:25 PM Subject: Re: [Nagios-users] re: more NSCA stuff > On Tue, 23 Sep 2003, Shaun Reitan :: NDC Host wrote: > > > I dont think retain_state is the problem, cuz i'm not > > stoping/starting/restarting nagios. I sends the checks, it reads the > > correct data for a min or so and then i assume it runs the dummy command and > > returned state ok. > > > > i'm really confused why nagios is running the check_command, with nsca i > > dont understand why the check_command is even required. i've been stuck > > on/with this problem for days now, i hope i can get this resolved soon. > > > > Thanks for the help so far. > > If you have disabled active checks in the config file, and restarted nagios, > but it is still doing the active checks, the only reason left (as far as I'm > aware) is that retain state is on.. this would retain the ENABLED state of > active checks across restarts of nagios. > > You can use the web interface to disable active checks for that service, so > that the active state of the configuration matches what you have in the config > file. > > -- > Matt Pounsett CIRA - Canadian Internet Registration Authority > Technical Support Programmer 350 Sparks Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, Canada > 613.237.5335 ext. 231 http://www.cira.ca > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Straka at avl.com Wed Sep 24 07:46:31 2003 From: Philipp.Straka at avl.com (Philipp.Straka at avl.com) Date: Wed, 24 Sep 2003 06:46:31 +0100 Subject: nagios compilation problems Message-ID: I need help. -- When I try to compile, the compiler tells me, that the files ./xdata/x?ddb.c at line xx produce the error "no such file". -- In the specified line of the c files, there is an include statement requesting the files "mysql.h" and "errmsg.h". -- I altered the include statement there from "mysql/mysql.h" to "mysql.h" and supplied the configure script with "-with-mysql-inc=/usr/local/include" (left the dir mysql away) -- The new error is coming from "mysql.h". This file has an include statement in line 107 requesting for the file "my_alloc.h" -- The file "my_alloc.h" I found in the include directory of the src distribution of mysql. -- When I tried to compile after having copied this file to the location specified in "mysql.h:107", there was another error. It is an "undefined reference to mysql_init()", most probably because the "my_alloc.c" file is not there with the corresponding header file. But I could not find the .c file anywhere! What can I do to get Nagios up'n'running? I would be glad for help! :o) Phil Straka -------------- next part -------------- An HTML attachment was scrubbed... URL: From jens.kruse at mobilcom.de Wed Sep 24 08:23:54 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Wed, 24 Sep 2003 08:23:54 +0200 Subject: Bye! Message-ID: <3F71387A.40202@mobilcom.de> Hi everyone! So finally Nagios lost the race against Big Brother, the Solaris people took over the command and my (final?) job for this company will be migrating Nagios to BB within the next monthes. I'd like to thank everyone who gave me a hand with netsaint/nagios and its plugins within the last two and half years and let me experience to be part of the community. With sad regards, Jens P.S.: Any job offers as a Linux-/Unix-Admin within Schleswig-Holstein, Hamburg or Southern Danmark are heartly welcomed! -- Mit freundlichen Gr??en Jens Kruse Monitoring/Middleware MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf From g.vickers at qut.edu.au Wed Sep 24 09:09:15 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Wed, 24 Sep 2003 17:09:15 +1000 Subject: Bye! In-Reply-To: <3F71387A.40202@mobilcom.de> References: <3F71387A.40202@mobilcom.de> Message-ID: <5.2.0.9.2.20030924170607.02531578@imap.qut.edu.au> Jens, That's not good that you've lost your job - I hope you get another one soon. I've seen BB and have thought that it's a less flexible product. I was wondering if you could post to this list the reasons that your employer moved to BB? Thanks, Greg At 04:23 PM 24/09/2003, Jens Kruse wrote: >Hi everyone! > >So finally Nagios lost the race against Big Brother, the Solaris people >took over the command and my (final?) job for this company will be >migrating Nagios to BB within the next monthes. > >I'd like to thank everyone who gave me a hand with netsaint/nagios and its >plugins within the last two and half years and let me experience to be >part of the community. > >With sad regards, > >Jens > >P.S.: Any job offers as a Linux-/Unix-Admin within Schleswig-Holstein, >Hamburg or Southern Danmark are heartly welcomed! >-- >Mit freundlichen Gr??en > >Jens Kruse >Monitoring/Middleware > >MobilCom AG >Hollerstra?e 126 >24782 B?delsdorf >Telefon: +49 (0)4331/ 447 - 2168 >Telefax: +49 (0)4331/ 434 - 4010 >jens.kruse at mobilcom.de > >Besucher: >Am Friedrichsbrunnen > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. ::: Messages without supporting info will risk being >sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jens.kruse at mobilcom.de Wed Sep 24 10:23:09 2003 From: jens.kruse at mobilcom.de (Jens Kruse) Date: Wed, 24 Sep 2003 10:23:09 +0200 Subject: Bye! In-Reply-To: <5.2.0.9.2.20030924170607.02531578@imap.qut.edu.au> References: <5.2.0.9.2.20030924170607.02531578@imap.qut.edu.au> Message-ID: <3F71546D.4020900@mobilcom.de> Hi Greg! Greg Vickers wrote: > That's not good that you've lost your job - I hope you get another one > soon. greg, I haven't lost my job, at least - not yet ;-) > I've seen BB and have thought that it's a less flexible product. I was > wondering if you could post to this list the reasons that your employer > moved to BB? I have the same opinion, BB is less flexible than Nagios. The advantages of BB in the eyes of my employer are - the amount of already through BB monitored hosts, appr. 400 (compared to appr. 200 monitored hosts through Nagios) - the base of productive scripts which monitor especially our big Solaris systems and database installations (Oracle, Informix) - the variety of already existing scripts for BB The main reason from my very personal view was: they decided it this way, they don't want Linux systems. And - it easier to train one Nagios Admin then three BB Admins :-) Regards, Jens -- Mit freundlichen Gr??en Jens Kruse Monitoring/Middleware MobilCom AG Hollerstra?e 126 24782 B?delsdorf Telefon: +49 (0)4331/ 447 - 2168 Telefax: +49 (0)4331/ 434 - 4010 jens.kruse at mobilcom.de Besucher: Am Friedrichsbrunnen ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Wed Sep 24 09:37:18 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: Wed, 24 Sep 2003 19:37:18 +1200 Subject: Bye! In-Reply-To: <3F71387A.40202@mobilcom.de> References: <3F71387A.40202@mobilcom.de> Message-ID: <200309240728.h8O7SRY12654@spectre.freeparking.co.nz> Commiserations my friend. For those of us who may come up against the army of Big Brother (good grief that's orwellian) in the future what were the key points as to why the race was lost? i.e what parts of the nagger are weak? Cheers jamie On Wed, 24 Sep 2003 18:23, Jens Kruse wrote: > Hi everyone! > > So finally Nagios lost the race against Big Brother, the Solaris people > took over the command and my (final?) job for this company will be > migrating Nagios to BB within the next monthes. > > I'd like to thank everyone who gave me a hand with netsaint/nagios and > its plugins within the last two and half years and let me experience to > be part of the community. > > With sad regards, > > Jens > > P.S.: Any job offers as a Linux-/Unix-Admin within Schleswig-Holstein, > Hamburg or Southern Danmark are heartly welcomed! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luis.alberto at uam.es Wed Sep 24 11:52:40 2003 From: luis.alberto at uam.es (Luis-Alberto Garcia) Date: Wed, 24 Sep 2003 11:52:40 +0200 Subject: Dropping mysql suport from an instalation Message-ID: <200309241152.40832.luis.alberto@uam.es> I've decided to drop mysql support from my running nagios installation. Am I right? Hope so. How could I do it efficiently and with no data lost? Where can I get a script to dump the db data into the corresponding template-based files? Any advice? Thanks. -- Luis-Alberto Garc?a Luc?a ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From theuser at medien-service.net Wed Sep 24 14:35:19 2003 From: theuser at medien-service.net (Heuser Tobias) Date: Wed, 24 Sep 2003 14:35:19 +0200 Subject: NRPE and APAN Message-ID: <11B93F7CB824D411B5610050DA09A2F102E7F9D0@MSU-NTSVR01> Hi all, can anyone tell me how can I configure NRPE graph using APAN... I am running Nagios 1.0 on Suse Linux 8.2 with Apan 0.2.1 and Nagios Plugins 1.3.1 Apan is running and monitoring a few ping- and disk-checks of my Nagios-Server(localhost) for testing :) NRPE is running and does a few disk-checks and works properly on different servers with the following commands: for example: On remote server in nrpe.cfg: command[check_sda1]=/usr/lib/nagios/plugins/check_disk -w 20 -c 10 -p /dev/sda1 On Nagios: check_command check_nrpe!check_sda1 Now my aim is to monitor Linux servers with NRPE and APAN, I tried to configure it but it does not work (: commands like this: check_command apan!check_nrpe!check_sda1 Then get the following apan.debug: Wed Sep 24 13:54:18 CEST 2003 Args: check_nrpe server Disks 1064404457 check_sda1 Unknown service Could not insert '' , '1064404457' into /usr/share/nagios/apan/rrdtool/server_disk_usage.rrd I'm not sure doing the right commands, please give me some hints to find out the specials... maybe some of you have an example for me? Thanks a lot, Tobias Heuser Technical Service Medien-Service Untermain GmbH Tel. +49 (0) 6021 / 396-167 Fax +49 (0) 6021 / 396-155 Weichertstr. 20 63741 Aschaffenburg email: heuser at msu.biz www: http://www.msu.biz HRB 2996 Aschaffenburg Gesch?ftsf?hrer: Ulrich Eymann, Reinhard Golembiewski, Dr. Helmut Teufel, Eric Dauphin ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Sep 24 14:29:38 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 24 Sep 2003 08:29:38 -0400 Subject: Bye! Message-ID: I once used big brother. Nice product for a small shop with few technical admins. We switched to Nagios because Big Brother couldn't handle the load. We would have had to implement 3 different servers, handling the various task. Plus when I look at the possible development aspects of Nagios, I can see a tool comparable to Tivoli if not one step better. I believe your management will have new found respect for Nagios when BB begins to drop emails or sends false alerts because it is backed-up. Good luck on your down-grade, you'll need a very nice server to handle all of those synchronized shell scripts. I still have a bitter taste in my mouth from managing that product. It was so bad that most admins just stopped paying attention to the alerts and constantly complained to me. Now that we use Nagios I get constant kudo's and the world is nearly perfect...:-). Lane -----Original Message----- From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] Sent: Wednesday, September 24, 2003 3:37 AM To: jens at kruse-kiel.de; nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Bye! Commiserations my friend. For those of us who may come up against the army of Big Brother (good grief that's orwellian) in the future what were the key points as to why the race was lost? i.e what parts of the nagger are weak? Cheers jamie On Wed, 24 Sep 2003 18:23, Jens Kruse wrote: > Hi everyone! > > So finally Nagios lost the race against Big Brother, the Solaris people > took over the command and my (final?) job for this company will be > migrating Nagios to BB within the next monthes. > > I'd like to thank everyone who gave me a hand with netsaint/nagios and > its plugins within the last two and half years and let me experience to > be part of the community. > > With sad regards, > > Jens > > P.S.: Any job offers as a Linux-/Unix-Admin within Schleswig-Holstein, > Hamburg or Southern Danmark are heartly welcomed! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DMelczer at WLRK.com Wed Sep 24 14:51:57 2003 From: DMelczer at WLRK.com (DMelczer at WLRK.com) Date: Wed, 24 Sep 2003 08:51:57 -0400 Subject: Check Duration Question Message-ID: Sorry if this is a really simple question, I'm a Nagios beginner... I have noticed that by default the check duration on Nagios is set to 10 seconds. I've attempted to set the service_check_timeout in Nagios.cfg, but that doesn't appear to have an affect on services. Basically, I have an NRPE command running on a Windows machine that takes 15-20 seconds to process everything that I need it to. So, Nagios is reporting the following error on the service: CHECK_NRPE: Socket timeout after 10 seconds. And is sending the service alert state to critical...any way to extend this value through a config file? Here is what a view of the service reveals: Current Status: CRITICAL Status Information: CHECK_NRPE: Socket timeout after 10 seconds. Current Attempt: 3/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 09-24-2003 08:47:45 Status Data Age: 0d 0h 0m 46s Next Scheduled Active Check: 09-24-2003 08:52:45 Latency: 30 seconds Check Duration: 10 seconds Last State Change: 09-24-2003 08:46:15 Current State Duration: 0d 0h 2m 16s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 12.11% In Scheduled Downtime? NO Last Update: 09-24-2003 08:48:30 Thanks in advance for any insight. -Dave Melczer dmelczer at wlrk.com ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CrowderLG at ldschurch.org Wed Sep 24 15:27:32 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Wed, 24 Sep 2003 07:27:32 -0600 Subject: Questions about check_traffic plugin Message-ID: Hello, I am fairly new to both Nagios and Linux, but have set up a fairly good Nagios system and understand fairly well the plug-in concept. However, I have been trying for about a week now to get the check_traffic plugin working. I have looked at the maillist archives for help, but am still stuck. (I have tried to contact Adrian Wieczorek but cannot find a valid e-mail for him) 1) Besides the info that comes with the plugin, does anyone have some additional info about configuring it? 2) At least initially I do not want to used RRD, and have disabled that in the Make Config that comes with check_traffic. (Has someone tried it without RRD?) 3) Do I need to recomplie (configure) Nagios after adding the plugin or just restart? Thanks ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== -------------- next part -------------- An HTML attachment was scrubbed... URL: From matt.garrett at shell.com Wed Sep 24 15:42:56 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Wed, 24 Sep 2003 14:42:56 +0100 Subject: Bye! Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51D29@abe-s-039.europe.shell.com> I would second that. BB was installed for over 2 years with no one using it and junking the SPAM email's it generated. Nagios in place no false alarms , very easy to add new checks or even your own checks. and ties in very nicely to 3rd party fault logging systems. Matt Matthew Garrett Unix System Support 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: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com > -----Original Message----- > From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] > Sent: 24 September 2003 13:30 > To: jens at kruse-kiel.de; nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] Bye! > > > I once used big brother. Nice product for a small shop with > few technical > admins. We switched to Nagios because Big Brother couldn't > handle the load. > We would have had to implement 3 different servers, handling > the various > task. Plus when I look at the possible development aspects > of Nagios, I can > see a tool comparable to Tivoli if not one step better. > > I believe your management will have new found respect for > Nagios when BB > begins to drop emails or sends false alerts because it is > backed-up. Good > luck on your down-grade, you'll need a very nice server to > handle all of > those synchronized shell scripts. > > I still have a bitter taste in my mouth from managing that > product. It was > so bad that most admins just stopped paying attention to the > alerts and > constantly complained to me. Now that we use Nagios I get > constant kudo's > and the world is nearly perfect...:-). > > Lane > > -----Original Message----- > From: Jamie Baddeley [mailto:jamie.baddeley at vpc.co.nz] > Sent: Wednesday, September 24, 2003 3:37 AM > To: jens at kruse-kiel.de; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Bye! > > > Commiserations my friend. > > For those of us who may come up against the army of Big > Brother (good grief > that's orwellian) in the future what were the key points as > to why the race > was lost? > > i.e what parts of the nagger are weak? > > Cheers > > jamie > > > On Wed, 24 Sep 2003 18:23, Jens Kruse wrote: > > Hi everyone! > > > > So finally Nagios lost the race against Big Brother, the > Solaris people > > took over the command and my (final?) job for this company will be > > migrating Nagios to BB within the next monthes. > > > > I'd like to thank everyone who gave me a hand with > netsaint/nagios and > > its plugins within the last two and half years and let me > experience to > > be part of the community. > > > > With sad regards, > > > > Jens > > > > P.S.: Any job offers as a Linux-/Unix-Admin within > Schleswig-Holstein, > > Hamburg or Southern Danmark are heartly welcomed! > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 x509security.com Wed Sep 24 15:53:25 2003 From: oliver at x509security.com (Oliver Bode) Date: Wed, 24 Sep 2003 23:53:25 +1000 Subject: GD, PNG, and/or JPEG libraries could not be located Message-ID: <018201c382a3$3b194da0$0200a8c0@x509security> Hello, I'm rebuilding my OpenBSD 3.0 nagios box and am now running the latest OpenBSD snapshot I am unable to get GD to compile with nagios. I compile --with-gd-lib=/usr/local/lib and --with-gd-include=/usr/local/include . Gd is working fine with php and I have the png and jpg libraries installed. Mysql compiles and the libraries are in the same directory as gd png and jpg. I've searched through the mailing list and can't quite figure out what the solution is. Any ideas? Thanks, Oliver ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Sep 24 15:59:07 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 24 Sep 2003 09:59:07 -0400 Subject: side.html Message-ID: For those interested. I had a request to add a simple host search to the Nagios side bar. I thought that someone else may find use in it. I added the snippet (below) to the end of the side.html file under ~nagios/share/ before . Lane ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From DMelczer at WLRK.com Wed Sep 24 16:05:56 2003 From: DMelczer at WLRK.com (DMelczer at WLRK.com) Date: Wed, 24 Sep 2003 10:05:56 -0400 Subject: Check Duration Question Message-ID: Never mind...I realized that I had to change the NRPE_CHECK command and add a timeout entry so it didn't default to 10. Thank you anyway. -Dave Melczer dmelczer at wlrk.com -----Original Message----- From: DMelczer at WLRK.com [mailto:DMelczer at WLRK.com] Sent: Wednesday, September 24, 2003 8:52 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Check Duration Question Sorry if this is a really simple question, I'm a Nagios beginner... I have noticed that by default the check duration on Nagios is set to 10 seconds. I've attempted to set the service_check_timeout in Nagios.cfg, but that doesn't appear to have an affect on services. Basically, I have an NRPE command running on a Windows machine that takes 15-20 seconds to process everything that I need it to. So, Nagios is reporting the following error on the service: CHECK_NRPE: Socket timeout after 10 seconds. And is sending the service alert state to critical...any way to extend this value through a config file? Here is what a view of the service reveals: Current Status: CRITICAL Status Information: CHECK_NRPE: Socket timeout after 10 seconds. Current Attempt: 3/3 State Type: HARD Last Check Type: ACTIVE Last Check Time: 09-24-2003 08:47:45 Status Data Age: 0d 0h 0m 46s Next Scheduled Active Check: 09-24-2003 08:52:45 Latency: 30 seconds Check Duration: 10 seconds Last State Change: 09-24-2003 08:46:15 Current State Duration: 0d 0h 2m 16s Last Service Notification: N/A Current Notification Number: 0 Is This Service Flapping? NO Percent State Change: 12.11% In Scheduled Downtime? NO Last Update: 09-24-2003 08:48:30 Thanks in advance for any insight. -Dave Melczer dmelczer at wlrk.com ********************************************************************** Please be advised that this transmittal may be a confidential attorney-client communication or may otherwise be privileged or confidential. If you are not the intended recipient, please do not read, copy or re-transmit this communication. If you have received this communication in error, please notify us by e-mail (postmaster at wlrk.com) or by telephone (call us collect at 212-403-4357) and delete this message and any attachments. Thank you in advance for your cooperation and assistance. www.wlrk.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Wed Sep 24 16:08:46 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Wed, 24 Sep 2003 07:08:46 -0700 Subject: more NSCA stuff In-Reply-To: <007901c3824e$31070730$7800000a@lunchbox> References: <007901c3824e$31070730$7800000a@lunchbox> Message-ID: <20030924140846.GD56799@radix.cryptio.net> Shaun Reitan :: NDC Host said on Tue, Sep 23, 2003 at 08:44:42PM -0700: > Turns out you where right, in nagios.cfg retain_state_information was set to > 1 and for some reason active checks where enabled. Now here's a new > question. I want it to retain state information, but in the future if i > wanted to clear all this information how would i? Shut down nagios, and remove the status.sav file. On my systems, it's in /var/log/nagios/status.sav, but I'm pretty sure it won't be there for you. This will clear everything, including host status. Nagios will then just re-check things on startup; if you have many hosts, this could take a while. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From matt.pounsett at cira.ca Wed Sep 24 16:34:57 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 24 Sep 2003 10:34:57 -0400 (EDT) Subject: more NSCA stuff In-Reply-To: <007901c3824e$31070730$7800000a@lunchbox> References: <007901c3824e$31070730$7800000a@lunchbox> Message-ID: On Tue, 23 Sep 2003, Shaun Reitan :: NDC Host wrote: > Turns out you where right, in nagios.cfg retain_state_information was set to > 1 and for some reason active checks where enabled. Now here's a new > question. I want it to retain state information, but in the future if i > wanted to clear all this information how would i? I think I answered that in my last email: use the web interface to disable active checks for that service. Go to Service Detail, click on the service you want, then click on "Disable checks of this service." The other option is to delete your status.sav file, but that will remove all of your other saved status information as well. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From morris at unc.edu Wed Sep 24 16:36:18 2003 From: morris at unc.edu (Joe Morris) Date: Wed, 24 Sep 2003 10:36:18 -0400 Subject: Stupid check_http Question In-Reply-To: <20030923144954.97726.qmail@web13406.mail.yahoo.com> References: <20030923144954.97726.qmail@web13406.mail.yahoo.com> Message-ID: On Tue, 23 Sep 2003, Frank Tanner III wrote: | I am checking a site, with Basic authentication. I | have a user and password specifically set up using | htpasswd, and have this user added to the appripriate | group file for the site. | | When I issue the ./check_http -I 10.1.1.5 -a | nagios:nagios command I get HTTP WARNING: HTTP/1.1 403 | Forbidden. | | Why am I getting this instead of the happy little | green light? You're getting a "403 Forbidden" error from the web server. The check_http program considers this a warning (as it should). Sounds like your authentication is getting through (otherwise it would be a 401 error), but hitting some other access violation with your web configuration. You need a "200 OK" response for it to go green. _______________________________________________ Joe Morris, Web Systems Manager Academic Technology and Networks The University of North Carolina at Chapel Hill ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Sep 24 16:37:06 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 24 Sep 2003 09:37:06 -0500 Subject: side.html Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EE68@mismail.ena.com> That's pretty slick =) Thanks for sharing! -- Marc > -----Original Message----- > From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] > Sent: Wednesday, September 24, 2003 8:59 AM > To: nagios-users at lists.sourceforge.net > > For those interested. I had a request to add a simple host search to the > Nagios side bar. I thought that someone else may find use in it. I added > the snippet (below) to the end of the side.html file under ~nagios/share/ > before . > > Lane > > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Thorsten.Henrici at amann.com Wed Sep 24 16:44:29 2003 From: Thorsten.Henrici at amann.com (Thorsten.Henrici at amann.com) Date: Wed, 24 Sep 2003 16:44:29 +0200 Subject: passive checks - delayed processing of PROCESS_SERVICE_CHECK_RESULT Message-ID: <92C010E4C18B4248855B5E40679366067973B1@BOEXC040> Hi All, I'm experiencing a problem with processing PROCESS_SERVICE_CHECK_RESULT from send_nsca. Nagios fetches up the external commands from the external command file as expected. LOG: [09-24-2003 16:35:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;H_server_agnag001;check_nagios-ON-H_server_agnag001;0;PING OK - Packet loss = 0%, RTA = 2.59 ms [09-24-2003 16:35:54] EXTERNAL COMMAND: PROCESS_SERVICE_CHECK_RESULT;H_switch_agvt06-01;check_host_alive-ON-HG_switches_aug_userlan;0;PING OK - Packet loss = 0%, RTA = 4.47 ms (...) The problem is, that in the "Service Detail" overview it takes about 15 to 20 minutes, that the "Last Check" field changes it's value. To me it seems, that the "PROCESS_SERVICE_CHECK_RESULT" is not processed immediately. Is there any parameter to influence the behaviour, when external commands are actually processed. Bye and many thanks Thorsten -------------------------------------------- Thorsten Henrici Tel.: +49 (0) 7143/277-302 Fax: +49 (0) 7143/277901-302 Mail: henricit at amann.com Abteilung: Informationssysteme - Systemtechnik Informationsystems - Systems Engineering AMANN & S?hne GmbH & Co. Hauptstra?e 1 D-74357 B?nnigheim -------------------------------------------- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From willipl1 at jhuapl.edu Wed Sep 24 16:50:35 2003 From: willipl1 at jhuapl.edu (Williams, P. Lane) Date: Wed, 24 Sep 2003 10:50:35 -0400 Subject: syslog-ng stuff In-Reply-To: References: Message-ID: <1064415035.14611.7.camel@lenny.jhuapl.edu> On Wed, 2003-09-24 at 09:59, Williams, P. Lane wrote: For those interested. I currently use a combination of Event Sentry and Syslog-ng for Microsoft Eventlog Monitoring. To make my job a little easier I wrote a little PERL script that would generate the syslog-ng configuration data for me. I prepend all of my Microsoft hostgroups with "Microsoft", so it makes the pattern matching a little easier. Here's the script, I apologize up front for the email program messing up the format of the script: #!/usr/bin/perl open (LOG, "/usr/local/nagios/etc/hostgroups.cfg") or die "You either do not have rights or the log file does not exist:$! \n"; while () { if (/hostgroup_name/ && /Microsoft/) { $begin = 1; } if ($begin) { if (/members/) { $members = $_; ($m1,$m2) = split ' ',$members; $hosts = "$m2,"; $hosts =~ s/,/ /g; push (@hosts, split ' ',$hosts); $end ++; if ($end) { $begin = 0; $end = 0;} } } } close LOG; foreach $entry(@hosts){ @name = `ping $entry -c 1 | grep "64 bytes from" | awk {'print \$4'}`; chomp @name; foreach $x (@name){ $x =~ s/\.\w+//g; print "######## $x syslog-ng definition ########\n"; print "filter $entry \{ host (\"$x\")\;\}\;","\n"; print "destination $entry\{file(\"/var/log/syslog-ng/$entry\")\;\}\;","\n"; print "log \{source(net)\; filter($entry)\; destination ($entry)\;\}\;","\n\n"; } } > For those interested. I had a request to add a simple host search to > the > Nagios side bar. I thought that someone else may find use in it. I > added > the snippet (below) to the end of the side.html file under > ~nagios/share/ > before . > > Lane > >
class="NavBarItem" > METHOD="GET"> >

> > > > >
Host Search
>
> >

>
> > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Sep 24 17:20:04 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 24 Sep 2003 11:20:04 -0400 (EDT) Subject: Stupid check_http Question In-Reply-To: References: Message-ID: On Wed, 24 Sep 2003, Joe Morris wrote: > On Tue, 23 Sep 2003, Frank Tanner III wrote: > > | I am checking a site, with Basic authentication. I > | have a user and password specifically set up using > | htpasswd, and have this user added to the appripriate > | group file for the site. > | > | When I issue the ./check_http -I 10.1.1.5 -a > | nagios:nagios command I get HTTP WARNING: HTTP/1.1 403 > | Forbidden. > | > | Why am I getting this instead of the happy little > | green light? > > You're getting a "403 Forbidden" error from the web server. The > check_http program considers this a warning (as it should). Sounds like > your authentication is getting through (otherwise it would be a 401 > error), but hitting some other access violation with your web > configuration. You need a "200 OK" response for it to go green. The 403 Forbidden is the same error you'd get if authentication failed as well. 401 is only given if the resource can't be found. Frank, If you're sure that you have the correct HTTP user and password, check your web server log files for some indication of why access is being denied. It could be due to source IP limitations, permissions of the filesystem.. all sorts of things. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Wed Sep 24 17:20:48 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 24 Sep 2003 10:20:48 -0500 Subject: side.html In-Reply-To: References: Message-ID: <1064416844.18559.3.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> Not to be fussy, but TYPE="TEST" isn't legitimate HTML. I distilled it down for my sidebar - cut out a good amount of the spacing, dropped the "Submit" button (hitting Enter works just fine) and just added it to the existing table set instead of starting a new one. An excellent idea, though, and I am definitely stealing it from you :) I put mine just above "Comments" (so, at the resolution I run at, it's right at the bottom of the bar), FYI. Here is my version: --------- On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote: > For those interested. I had a request to add a simple host search to the > Nagios side bar. I thought that someone else may find use in it. I added > the snippet (below) to the end of the side.html file under ~nagios/share/ > before . > > Lane > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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+nagios at undergrid.net Wed Sep 24 17:28:29 2003 From: jeremy+nagios at undergrid.net (Jeremy T. Bouse) Date: Wed, 24 Sep 2003 08:28:29 -0700 Subject: Bye! In-Reply-To: <3F71387A.40202@mobilcom.de> References: <3F71387A.40202@mobilcom.de> Message-ID: <20030924152829.GB16115@UnderGrid.net> This is truly a shame... We moved from BB to Netsaint/Nagios as soon as our team took over the network operations because we were tired of tall the false-positive results from BB and the fact BB had no concept of "schedule maintainence" and would send emails while you knew the machine was down because you took it down for schedule maintainence window... I also found BB more of a hassle to setup than Netsaint/Nagios... Regards, Jeremy On Wed, Sep 24, 2003 at 08:23:54AM +0200, Jens Kruse wrote: > Hi everyone! > > So finally Nagios lost the race against Big Brother, the Solaris people > took over the command and my (final?) job for this company will be > migrating Nagios to BB within the next monthes. > > I'd like to thank everyone who gave me a hand with netsaint/nagios and > its plugins within the last two and half years and let me experience to > be part of the community. > > With sad regards, > > Jens > > P.S.: Any job offers as a Linux-/Unix-Admin within Schleswig-Holstein, > Hamburg or Southern Danmark are heartly welcomed! > -- > Mit freundlichen Gr??en > > Jens Kruse > Monitoring/Middleware > > MobilCom AG > Hollerstra?e 126 > 24782 B?delsdorf > Telefon: +49 (0)4331/ 447 - 2168 > Telefax: +49 (0)4331/ 434 - 4010 > jens.kruse at mobilcom.de > > Besucher: > Am Friedrichsbrunnen > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: From Lane.Williams at jhuapl.edu Wed Sep 24 17:35:15 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 24 Sep 2003 11:35:15 -0400 Subject: side.html Message-ID: Sorry that should have been "TEXT". -----Original Message----- From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] Sent: Wednesday, September 24, 2003 11:21 AM To: Williams, P. Lane Cc: nagios-users Subject: Re: [Nagios-users] side.html Not to be fussy, but TYPE="TEST" isn't legitimate HTML. I distilled it down for my sidebar - cut out a good amount of the spacing, dropped the "Submit" button (hitting Enter works just fine) and just added it to the existing table set instead of starting a new one. An excellent idea, though, and I am definitely stealing it from you :) I put mine just above "Comments" (so, at the resolution I run at, it's right at the bottom of the bar), FYI. Here is my version: --------- On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote: > For those interested. I had a request to add a simple host search to the > Nagios side bar. I thought that someone else may find use in it. I added > the snippet (below) to the end of the side.html file under ~nagios/share/ > before . > > Lane > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From danslists at conpoint.com Wed Sep 24 17:37:54 2003 From: danslists at conpoint.com (Dan Spray) Date: Wed, 24 Sep 2003 10:37:54 -0500 Subject: Checking for perticular procs Message-ID: <309765CC7547D7119FF30050DA7A3BD7205261@EXCH> Hello, Is there a script that will check if certain processes are running? I need to make sure that there is at least one instance of ssh, 5 instances of httpd, sendmail.etc. I have been using Big Brother for such things but would really like to get everything under one program. Any help would be appreciated. Dan -- Dan Spray, Director of Internet Operations dan at conpoint.com Connecting Point Norfolk, NE < http://www.conpoint.com/> Voice - 402.371.4530 x208 Fax - 402.371.4515 "The trouble with doing anything right the first time is that nobody appreciates how difficult it was!" -- -------------- next part -------------- An HTML attachment was scrubbed... URL: From damian at sentex.net Wed Sep 24 17:56:01 2003 From: damian at sentex.net (Damian Gerow) Date: Wed, 24 Sep 2003 11:56:01 -0400 Subject: Bye! In-Reply-To: <20030924152829.GB16115@UnderGrid.net> References: <3F71387A.40202@mobilcom.de> <20030924152829.GB16115@UnderGrid.net> Message-ID: <20030924155601.GS48714@sentex.net> Thus spake Jeremy T. Bouse (jeremy+nagios at undergrid.net) [24/09/03 11:35]: > This is truly a shame... We moved from BB to Netsaint/Nagios as > soon as our team took over the network operations because we were tired > of tall the false-positive results from BB and the fact BB had no > concept of "schedule maintainence" and would send emails while you knew > the machine was down because you took it down for schedule maintainence > window... I also found BB more of a hassle to setup than > Netsaint/Nagios... I'm currently working on a move from BB to Nagios for exactly the same reasons. BB has a rather high false positive rate, whereas I have yet to see one come from Nagios in the past two months -- and both are monitoring the same systems. In fact, Nagios has validly complained about services that BB has just blindly accepted (mostly SMTP). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Lane.Williams at jhuapl.edu Wed Sep 24 17:59:08 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Wed, 24 Sep 2003 11:59:08 -0400 Subject: syslog-ng stuff Message-ID: Sorry for the repost. On Wed, 2003-09-24 at 09:59, Williams, P. Lane wrote: For those interested. I currently use a combination of Event Sentry and Syslog-ng for Microsoft Eventlog Monitoring. To make my job a little easier I wrote a little PERL script that would generate the syslog-ng configuration data for me. I prepend all of my Microsoft hostgroups with "Microsoft", so it makes the pattern matching a little easier. Here's the script, I apologize up front for the email program messing up the format of the script: #!/usr/bin/perl open (LOG, "/usr/local/nagios/etc/hostgroups.cfg") or die "You either do not have rights or the log file does not exist:$! \n"; while () { if (/hostgroup_name/ && /Microsoft/) { $begin = 1; } if ($begin) { if (/members/) { $members = $_; ($m1,$m2) = split ' ',$members; $hosts = "$m2,"; $hosts =~ s/,/ /g; push (@hosts, split ' ',$hosts); $end ++; if ($end) { $begin = 0; $end = 0;} } } } close LOG; foreach $entry(@hosts){ @name = `ping $entry -c 1 | grep "64 bytes from" | awk {'print \$4'}`; chomp @name; foreach $x (@name){ $x =~ s/\.\w+//g; print "######## $x syslog-ng definition ########\n"; print "filter $entry \{ host (\"$x\")\;\}\;","\n"; print "destination $entry\{file(\"/var/log/syslog-ng/$entry\")\;\}\;","\n"; print "log \{source(net)\; filter($entry)\; destination ($entry)\;\}\;","\n\n"; } } ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Wed Sep 24 18:05:29 2003 From: visigoth at home.nl (R. F.) Date: Wed, 24 Sep 2003 18:05:29 +0200 Subject: Nagios Plugin and Mail errors Message-ID: <000001c382b5$afa98600$524178d9@cp132919a> Hi there, I am getting the following errors when starting Nagios: --- /usr/lib/nagios/plugins/check_ftp: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory sh: line 1: /bin/mail: Permission denied /bin/mail -s "Host DOWN alert for sv09!" visigoth at home.nl" resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists... Warning: Return code of 127 for check of service 'HTTP' on host 'sv09' was out of bounds. Make sure the plugin you're trying to run actually exists. --- So my first question is.. I have OpenSSL installed (as RPM) but it still asks for libssl.so.4. Where do I get it? It's a RedHat 8. How come it's not allowed to mail? And why don't my plugins work? They all give an error and the Status Information says: "(Return code of 127 is out of bounds - plugin may be missing)" - except ping, which says "/bin/ping -n -U -c 5 " (and status is 'unknown') and SMTP (running fine). The plugins directory is correct (as you can see from the first error), I installed the RPM versions of Nagios and the plugins. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Wed Sep 24 18:42:07 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 24 Sep 2003 11:42:07 -0500 Subject: Nagios Plugin and Mail errors Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EE6C@mismail.ena.com> > -----Original Message----- > From: R. F. [mailto:visigoth at home.nl] > Sent: Wednesday, September 24, 2003 11:05 AM > To: nagios-users at lists.sourceforge.net > > Hi there, I am getting the following errors when starting Nagios: > > --- > /usr/lib/nagios/plugins/check_ftp: error while loading shared libraries: > libssl.so.4: cannot open shared object file: No such file or directory > > sh: line 1: /bin/mail: Permission denied > > /bin/mail -s "Host DOWN alert for sv09!" visigoth at home.nl" resulted in a > return code of 126. Make sure the script or binary you are trying to > execute actually exists... > > Warning: Return code of 127 for check of service 'HTTP' on host 'sv09' > was out of bounds. Make sure the plugin you're trying to run actually > exists. > --- > > So my first question is.. I have OpenSSL installed (as RPM) but it still > asks for libssl.so.4. Where do I get it? It's a RedHat 8. According to rpmfind.net, libssl.so.4 appears in openssl-0.9.7a. Is that installed on your system? Was that listed as a pre-requisite by whoever built the RPM for you? > > How come it's not allowed to mail? > And why don't my plugins work? They all give an error and the Status > Information says: "(Return code of 127 is out of bounds - plugin may be > missing)" - except ping, which says "/bin/ping -n -U -c 5 " (and > status is 'unknown') and SMTP (running fine). Google is your friend -- http://www.faqs.org/docs/abs/HTML/exitcodes.html return code of 126 means that the specified file is not executable. Is /bin/mail executable by the nagios user on your system? > > The plugins directory is correct (as you can see from the first error), > I installed the RPM versions of Nagios and the plugins. Correct for your installation maybe. I have mine in the standard location of /usr/local/nagios/libexec. A return code of 127 means that the command you are trying to execute was not found. Verify that the $USER1$ macro in resource.cfg points to /usr/lib/nagios/plugins and/or that your command definitions in commands.cfg are using the $USER1$ macro or have the full path to the command specified. Depending on who built the RPM, those may be incorrect. There are copious amounts of documentation on http://www.nagios.org that will likely be of value. -- Marc ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Sep 24 18:45:07 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 24 Sep 2003 12:45:07 -0400 (EDT) Subject: Checking for perticular procs In-Reply-To: <309765CC7547D7119FF30050DA7A3BD7205261@EXCH> References: <309765CC7547D7119FF30050DA7A3BD7205261@EXCH> Message-ID: On Wed, 24 Sep 2003, Dan Spray wrote: > Hello, > > > > Is there a script that will check if certain processes are running? I need > to make sure that there is at least one instance of ssh, 5 instances of > httpd, sendmail.etc. I have been using Big Brother for such things but > would really like to get everything under one program. Any help would be > appreciated. Yes, one of the standard Nagios plugins is check_procs, which will allow you to check for certain numbers of processes running, or certain numbers of a specific process running. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Wed Sep 24 18:54:43 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Wed, 24 Sep 2003 12:54:43 -0400 (EDT) Subject: Nagios Plugin and Mail errors In-Reply-To: <000001c382b5$afa98600$524178d9@cp132919a> References: <000001c382b5$afa98600$524178d9@cp132919a> Message-ID: It looks like you have a whole bunch of unrelated errors here. I'll address the ones I can immediately recognize: On Wed, 24 Sep 2003, R. F. wrote: > sh: line 1: /bin/mail: Permission denied > > /bin/mail -s "Host DOWN alert for sv09!" visigoth at home.nl" resulted in a > return code of 126. Make sure the script or binary you are trying to > execute actually exists... You (nagios) don't have permission to execute /bin/mail. Check the permissions on the binary. It also looks as if you may have unbalanced quotes in the command.. double check your command syntax. '126' is the exit code of the call to /bin/mail.. Nagios normally expects a return code in the range 0 -> 3 (OK, WARNING, CRITICAL, UNKNOWN). > Warning: Return code of 127 for check of service 'HTTP' on host 'sv09' > was out of bounds. Make sure the plugin you're trying to run actually > exists. Again, check the syntax of your command. check_http failed to run for some reason. I find I get error code 127 if I mistype the path to the binary, or if I have unbalanced quotes. > Information says: "(Return code of 127 is out of bounds - plugin may be > missing)" - except ping, which says "/bin/ping -n -U -c 5 " (and > status is 'unknown') and SMTP (running fine). Possibly you're getting usage information back from your call to your ping plugin. Whenever you get errors like these, take a careful look at your command syntax.. that's usually the culprit. If you can't figure it out, then please cut and paste your check command into any requests for help.. it makes it a lot easier to point out the problems. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From pctech at mybellybutton.com Wed Sep 24 18:51:16 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Wed, 24 Sep 2003 09:51:16 -0700 (PDT) Subject: Stupid check_http Question In-Reply-To: References: Message-ID: <20030924165116.56589.qmail@web13406.mail.yahoo.com> If I manually type in the line it works. But when I configure it in the checkcommands.cfg it fails. I even have it hardcoded as check_http -H $HOSTNAME$ -a nagios:nagios Also tried check_http -H $HOSTNAME$ -a $ARG1$ and check_http -H $HOSTNAME$ -a $ARG1$:$ARG2$ It's odd that it works manually. --- Matt Pounsett wrote: > On Wed, 24 Sep 2003, Joe Morris wrote: > > > On Tue, 23 Sep 2003, Frank Tanner III wrote: > > > > | I am checking a site, with Basic authentication. > I > > | have a user and password specifically set up > using > > | htpasswd, and have this user added to the > appripriate > > | group file for the site. > > | > > | When I issue the ./check_http -I 10.1.1.5 -a > > | nagios:nagios command I get HTTP WARNING: > HTTP/1.1 403 > > | Forbidden. > > | > > | Why am I getting this instead of the happy > little > > | green light? > > > > You're getting a "403 Forbidden" error from the > web server. The > > check_http program considers this a warning (as it > should). Sounds like > > your authentication is getting through (otherwise > it would be a 401 > > error), but hitting some other access violation > with your web > > configuration. You need a "200 OK" response for > it to go green. > > The 403 Forbidden is the same error you'd get if > authentication failed as > well. 401 is only given if the resource can't be > found. > > > Frank, > > If you're sure that you have the correct HTTP user > and password, check your > web server log files for some indication of why > access is being denied. It > could be due to source IP limitations, permissions > of the filesystem.. all > sorts of things. > > -- > Matt Pounsett CIRA - Canadian > Internet Registration Authority > Technical Support Programmer 350 > Sparks Street, Suite 1110 > matt.pounsett at cira.ca > Ottawa, Ontario, Canada > 613.237.5335 ext. 231 > http://www.cira.ca > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Wed Sep 24 19:02:36 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 24 Sep 2003 11:02:36 -0600 Subject: side.html Message-ID: These are both very cool. However I only seem to be able to search using the full hostname. Is there any way to search using a partial name, or wildcards? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Wednesday, September 24, 2003 9:21 AM > To: Williams, P. Lane > Cc: nagios-users > Subject: Re: [Nagios-users] side.html > > > Not to be fussy, but TYPE="TEST" isn't legitimate HTML. > > I distilled it down for my sidebar - cut out a good amount of > the spacing, dropped the "Submit" button (hitting Enter works > just fine) and just added it to the existing table set > instead of starting a new one. > An excellent idea, though, and I am definitely stealing it from you :) > > I put mine just above "Comments" (so, at the resolution I run > at, it's right at the bottom of the bar), FYI. > > Here is my version: > > > >
target="main" class="NavBarItem" METHOD="GET"> > Host Search >
> > > --------- > > On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote: > > For those interested. I had a request to add a simple host > search to > > the Nagios side bar. I thought that someone else may find > use in it. > > I added the snippet (below) to the end of the side.html file under > > ~nagios/share/ before . > > > > Lane > > > >
> class="NavBarItem" METHOD="GET">

> > > > > > > > > >
Host Search
> >
> > > >

> >
> > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 24 19:01:59 2003 From: matt.garrett at shell.com (Garrett, Matt M SITI-ITDIEEE) Date: Wed, 24 Sep 2003 18:01:59 +0100 Subject: side.html Message-ID: <4E88F6699E4BAE41B724A3EC3CC457D5B51D2C@abe-s-039.europe.shell.com> Real cool Such a simple idea , but so useful. Try and do that with BB Matt Matthew Garrett Unix System Support 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: Matt.M.Garrett at is.shell.com Internet: http://www.shell.com > -----Original Message----- > From: Williams, P. Lane [mailto:Lane.Williams at jhuapl.edu] > Sent: 24 September 2003 16:35 > Cc: nagios-users > Subject: RE: [Nagios-users] side.html > > > Sorry that should have been "TEXT". > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Wednesday, September 24, 2003 11:21 AM > To: Williams, P. Lane > Cc: nagios-users > Subject: Re: [Nagios-users] side.html > > > Not to be fussy, but TYPE="TEST" isn't legitimate HTML. > > I distilled it down for my sidebar - cut out a good amount of the > spacing, dropped the "Submit" button (hitting Enter works > just fine) and > just added it to the existing table set instead of starting a > new one. > An excellent idea, though, and I am definitely stealing it from you :) > > I put mine just above "Comments" (so, at the resolution I run at, it's > right at the bottom of the bar), FYI. > > Here is my version: > > > >
class="NavBarItem" METHOD="GET"> > Host Search >
> > > --------- > > On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote: > > For those interested. I had a request to add a simple host > search to the > > Nagios side bar. I thought that someone else may find use > in it. I added > > the snippet (below) to the end of the side.html file under > ~nagios/share/ > > before . > > > > Lane > > > >
class="NavBarItem" > > METHOD="GET"> > >

> > > > > > > > > >
Host Search
> >
> > > >

> >
> > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Wed Sep 24 19:09:06 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Wed, 24 Sep 2003 12:09:06 -0500 Subject: side.html In-Reply-To: References: Message-ID: <1064423342.18859.8.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> It's not smart like that. it's a super simple little form that's just pushing a single variable (host) to the status.cgi - there's no "brains" in there. I want to be able to search by IP (we are very IP-centric, here). I'm going to hack status.cgi a bit and see what I can whip up to that end. On Wed, 2003-09-24 at 12:02, Cook, Garry wrote: > These are both very cool. However I only seem to be able to search using > the full hostname. Is there any way to search using a partial name, or > wildcards? > > Garry W. Cook, CCNA > Network Infrastructure Manager > MACTEC, Inc. - http://www.mactec.com/ > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > -----Original Message----- > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > Sent: Wednesday, September 24, 2003 9:21 AM > > To: Williams, P. Lane > > Cc: nagios-users > > Subject: Re: [Nagios-users] side.html > > > > > > Not to be fussy, but TYPE="TEST" isn't legitimate HTML. > > > > I distilled it down for my sidebar - cut out a good amount of > > the spacing, dropped the "Submit" button (hitting Enter works > > just fine) and just added it to the existing table set > > instead of starting a new one. > > An excellent idea, though, and I am definitely stealing it from you :) > > > > I put mine just above "Comments" (so, at the resolution I run > > at, it's right at the bottom of the bar), FYI. > > > > Here is my version: > > > > > > > >
> target="main" class="NavBarItem" METHOD="GET"> > > Host Search > >
> > > > > > --------- > > > > On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote: > > > For those interested. I had a request to add a simple host > > search to > > > the Nagios side bar. I thought that someone else may find > > use in it. > > > I added the snippet (below) to the end of the side.html file under > > > ~nagios/share/ before . > > > > > > Lane > > > > > >
> > class="NavBarItem" METHOD="GET">

> > > > > > > > > > > > > > >
Host Search
> > >
> > > > > >

> > >
> > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From BSnead at infosysnetworks.com Wed Sep 24 19:08:01 2003 From: BSnead at infosysnetworks.com (Brian Snead) Date: Wed, 24 Sep 2003 13:08:01 -0400 Subject: nagios compilation problems Message-ID: <17AB77FB5F32F140BE3517E7FBAF82B5386BC3@patton.infosysnetworks.com> I had the same problems you are describing. I tried several different ways of installing mysql, libraries and clients. Finally, the only way I could get Nagios 1.1 to compile with mysql support was to remove mysql and install the version that came with Redhat 9.0. Then I let Redhat up2date upgrade the version to 3.23.56-9. This still would not work, so I downloaded the mysql-devel-3.23.56-9 from rpmfind.net. Then, go into the nagios-1.1 source directory and 'make clean' then ./configure --with-mysql-xdata --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql then make all Hope this helps. Brian. -----Original Message----- From: Philipp.Straka at avl.com [mailto:Philipp.Straka at avl.com] Sent: Wednesday, September 24, 2003 1:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios compilation problems I need help. -- When I try to compile, the compiler tells me, that the files ./xdata/x?ddb.c at line xx produce the error "no such file". -- In the specified line of the c files, there is an include statement requesting the files "mysql.h" and "errmsg.h". -- I altered the include statement there from "mysql/mysql.h" to "mysql.h" and supplied the configure script with "-with-mysql-inc=/usr/local/include" (left the dir mysql away) -- The new error is coming from "mysql.h". This file has an include statement in line 107 requesting for the file "my_alloc.h" -- The file "my_alloc.h" I found in the include directory of the src distribution of mysql. -- When I tried to compile after having copied this file to the location specified in "mysql.h:107", there was another error. It is an "undefined reference to mysql_init()", most probably because the "my_alloc.c" file is not there with the corresponding header file. But I could not find the .c file anywhere! What can I do to get Nagios up'n'running? I would be glad for help! :o) Phil Straka -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Wed Sep 24 19:19:54 2003 From: mpowell at ena.com (Marc Powell) Date: Wed, 24 Sep 2003 12:19:54 -0500 Subject: nagios compilation problems Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EE6E@mismail.ena.com> As a general rule, if you're compiling a program that depends on another program, you're probably going to need the lib and include files for the other program. In this case the -devel rpms. -- marc _____ From: Brian Snead [mailto:BSnead at infosysnetworks.com] Sent: Wednesday, September 24, 2003 12:08 PM To: Philipp.Straka at avl.com; nagios-users at lists.sourceforge.net I had the same problems you are describing. I tried several different ways of installing mysql, libraries and clients. Finally, the only way I could get Nagios 1.1 to compile with mysql support was to remove mysql and install the version that came with Redhat 9.0. Then I let Redhat up2date upgrade the version to 3.23.56-9. This still would not work, so I downloaded the mysql-devel-3.23.56-9 from rpmfind.net. Then, go into the nagios-1.1 source directory and 'make clean' then ./configure --with-mysql-xdata --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql then make all Hope this helps. Brian. -----Original Message----- From: Philipp.Straka at avl.com [mailto:Philipp.Straka at avl.com] Sent: Wednesday, September 24, 2003 1:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios compilation problems I need help. -- When I try to compile, the compiler tells me, that the files ./xdata/x?ddb.c at line xx produce the error "no such file". -- In the specified line of the c files, there is an include statement requesting the files "mysql.h" and "errmsg.h". -- I altered the include statement there from "mysql/mysql.h" to "mysql.h" and supplied the configure script with "-with-mysql-inc=/usr/local/include" (left the dir mysql away) -- The new error is coming from "mysql.h". This file has an include statement in line 107 requesting for the file "my_alloc.h" -- The file "my_alloc.h" I found in the include directory of the src distribution of mysql. -- When I tried to compile after having copied this file to the location specified in "mysql.h:107", there was another error. It is an "undefined reference to mysql_init()", most probably because the "my_alloc.c" file is not there with the corresponding header file. But I could not find the .c file anywhere! What can I do to get Nagios up'n'running? I would be glad for help! :o) Phil Straka -------------- next part -------------- An HTML attachment was scrubbed... URL: From GWCOOK at mactec.com Wed Sep 24 20:23:11 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Wed, 24 Sep 2003 12:23:11 -0600 Subject: statusmap patch reflects service status Message-ID: Has anyone been able to make this work? I've got a client that has been asking for this feature for months now, I'd really like to be able to give it to him. I patched statusmap.c, recompiled, and copied the statusmap.cgi to nagios/sbin, however I don't see any difference in the statusmap and I have plenty of services in a warning state. Just to be clear, this patch should change the background color of the HOST, right? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: Dan Barber [mailto:danb at mojolin.com] > Sent: Tuesday, September 23, 2003 11:04 AM > To: nagios-users at lists.sourceforge.net > Cc: jaos at jaos.org > Subject: [Nagios-users] statusmap patch reflects service status > > > Hello all, > > Here is a patch to statusmap.c which will refelect the status > of services in the background color. IE, the background > color will change to yellow if there are any service > warnings. The word "Up" will remain green as long as > connectivity is still good. > > Here's the patch... should be a simple: > copy patch to cgi dir in your nagios source directory: > nagios-1.1/cgi patch -p0 < patch_file.diff recompile and > reinstall or just copy the new statusmap.cgi to your working cgi-bin > > Thanks go to Jason Woodward (http://jaos.org) for the coding. > > The patch (patch_file.diff): > > --- statusmap.c 2002-10-25 04:58:17.000000000 +0000 > +++ modified_statusmap.c 2003-09-23 10:54:06.000000000 +0000 > @@ -2882,8 +2882,23 @@ > temp_hoststatus=find_hoststatus(temp_host->name); > if(temp_hoststatus==NULL) > bgcolor=color_lightgrey; > - else if(temp_hoststatus->status==HOST_DOWN || > temp_hoststatus->status==HOST_UNREACHABLE) > + else if(temp_hoststatus->status==HOST_DOWN || > temp_hoststatus->status==HOST_UNREACHABLE || > + ( > + ( > + get_servicestatus_count(temp_host->name,SERVICE_CRITICAL) > + + > get_servicestatus_count(temp_host->name,SERVICE_UNREACHABLE) > + + > get_servicestatus_count(temp_host->name,SERVICE_HOST_DOWN) > + ) > 0 > + ) > + ) > bgcolor=color_lightred; > + else if( > + ( > + get_servicestatus_count(temp_host->name,SERVICE_WARNING) > + + get_servicestatus_count(temp_host->name,SERVICE_UNKNOWN) > + ) > 0 > + ) > + bgcolor=color_yellow; > else > bgcolor=color_lightgreen; > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dvn at campana.com Wed Sep 24 20:49:28 2003 From: dvn at campana.com (Dave van Nierop) Date: Wed, 24 Sep 2003 14:49:28 -0400 Subject: CHECK_NRPE: Error - Could not complete SSL handshake Message-ID: <005f01c382cc$956ace90$41051bac@csi.campana.com> I have seen a few posts in August w.r.t. this error but cannot find a resolution. I recently upgraded to nrpe-2.0 and Nagios 1.1 I am now experiencing this problem. Anybody have any ideas? Thanks - Dave -------------- next part -------------- An HTML attachment was scrubbed... URL: From jchall at mtntel.com Wed Sep 24 21:37:23 2003 From: jchall at mtntel.com (J.C. Hall) Date: Wed, 24 Sep 2003 12:37:23 -0700 Subject: checking BGP states on Cisco routers Message-ID: <137874D5DA6FD511864E0090279C2BE1AE71EB@exchange.mtntel.com> I resolved one issues with net-snmp and have run into another trying to use check_bgpstate.pl. ./check_bgpstate.pl -c {community} -p 161 {ip_address} Can't locate object method "session" via package "Net::SNMP" (perhaps you forgot to load "Net::SNMP"?) at ./check_bgpstate.pl line 127. Any suggestion? I'm lost. TIA, /JC -----Original Message----- From: Mike McClure [mailto:mmcclure at pneservices.com] Sent: Thursday, September 18, 2003 5:24 PM To: nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] checking BGP states on Cisco routers SNMP.pm does not appear to be in the correct place. How did you install it? Anyway, this should fix your problem: cd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi mkdir Net cd Net ln -s ../SNMP.pm . > Can anyone answer this? When I use the check_bgpstate.pl script I get the > error below. Net-SNMP is installed and SNMP.pm is in > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/SNMP.pm. > > Do I need to modify the script in some way? > > TIA! > > ./check_bgpstate.pl x.x.x.x -c commnity > Can't locate Net/SNMP.pm in @INC (@INC contains: > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 > /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl > /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi > /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl > /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at > ./check_bgpstate.pl line 30. > BEGIN failed--compilation aborted at ./check_bgpstate.pl line 30. > > > > On Thu, 18 Sep 2003, J.C. Hall wrote: > >> Thank you to those who responded. I admit I am a newbie :-( to this! >> >> I found check_bgpstate.pl in the contrib/ dir. My question now is must it >> be compiled, or what do I do to integrate it with Nagios to my libexec/ > dir? >> Is that a dumb question? > > It's a perl script.. you can just copy it over. If it fails to work, just > check the first line of the script (load it into a text editor) and make > sure > the path to perl is correct. > > -- > Matt Pounsett CIRA - Canadian Internet Registration > Authority > Technical Support Programmer 350 Sparks Street, Suite > 1110 > matt.pounsett at cira.ca Ottawa, Ontario, > Canada > 613.237.5335 ext. 231 > http://www.cira.ca > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.hertrick at neovera.com Wed Sep 24 22:21:34 2003 From: m.hertrick at neovera.com (m.hertrick at neovera.com) Date: Wed, 24 Sep 2003 15:21:34 -0500 Subject: checking BGP states on Cisco routers Message-ID: <200309242021.h8OKLYo26172@smapp01.siteprotect.com> JC, I've been watching this thread since the beginning and I think you've been creating more work for yourself than necessary. I have an alternative you might consider trying that perhaps will put the simple back into SNMP. Cisco provides details on the bgp mib you can use to finish the script. (I don't know if these are vendor specific or not, but other vendors should freely provide their MIBs.) http://www.cisco.com/pcgi-bin/Support/Mibbrowser/unity.pl?o=1.3.6.1.2.1.15&t=yes&st=3#oid Here's a rough example: (By no means should this be considered a working script... it's just to demonstrate the use of programs probably already on your monitoring system instead of heaps of unnecessary code. With a little thought and effort, one could have a production worthy shell script in a reasonably short time.) #!/bin/sh # # Template for monitoring BGP; # Possible usage: "./bgpquery.sh 192.168.0.1 as 65233" # Possible output: "bgpLocalAs 65233 - OK" # # # By Michael Hertrick # License: Just give me credit in the final script if you use this, or any portions of it. # ok=$3 warning=$4 critical=$5 # # Path sp=/usr/pkg/bin # Binary sb=snmpwalk # Arguments sa='-Ov -c public -v1' # Target st=$1 # Relative OID sr=15 # Actual OIDs case $2 in ver) msg=bgpVersion oid=1 ;; as) msg=bgpLocalAs oid=2 ;; esac output=`$sp/$sb $sa $st $sr.$oid` case $output in $ok) echo "$msg $output - OK" exit 0 ;; $warning) echo "$msg $output - WARNING" exit 1 ;; $critical) echo "$msg $output - CRITICAL" exit 2 ;; *) echo "Something didn't work right. - $output" exit 1 ;; esac If you have questions, feel free to ask. ~Mike. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcady at pingtone.com Wed Sep 24 22:57:48 2003 From: jrcady at pingtone.com (Jeffrey Cady) Date: Wed, 24 Sep 2003 16:57:48 -0400 Subject: Multipul Host IP in Version 1.1 on redhat Message-ID: <3F72054C.9040307@pingtone.com> I have tried the following formats I always get host not found error. If I remove all the other addresses from the hosts the monitoring becomes good. Here is what I have tried. address 172.31.0.21,172.31.0.20 Status Information:PING CRITICAL - Host not found (172.31.0.21,172.31.0.20) address 172.31.0.21, 172.31.0.20 Status Information:PING CRITICAL - Host not found (172.31.0.21,) address 172.31.0.21 , 172.31.0.20 (No Information Returned From Host Check) The first one is the one recommended in the FAQ's the rest were me trying other combinations because what was recommended in the FAQ's was not working. Thanks Jeff ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From creator at mindcreations.com Thu Sep 25 00:07:46 2003 From: creator at mindcreations.com (Creator) Date: Thu, 25 Sep 2003 00:07:46 +0200 Subject: Patch to locate hosts on status map in a fast way (complete) In-Reply-To: <1064431334.2347.3.camel@localhost.localdomain> References: <1064431334.2347.3.camel@localhost.localdomain> Message-ID: <002101c382e8$491e1e40$7100a8c0@mindcreations.com> Hi Chosson, you are right. I forgot to include the extinfo.c patch :) Here it is along with the old patch and the updated instructions. ------------------------ Here is the patch to locate any host in the status map by single clicking the detailed host page. Look at the attached screenshots to see a little demo: shot1: The red circle shows the new command (Host information page) shot2: After clicking the icon you'll be forwarded on the statusmap using "Depth Layers" method. shot3: Another point (Status Overview for example) from where you can use this function. Before applying to Nagios v1.1 code you may want to change a variable to reflect your preferred Status Map default display mode. Here it is the list as defined in cgi/statusmap.c: #define LAYOUT_USER_SUPPLIED 0 #define LAYOUT_SUBLAYERS 1 #define LAYOUT_COLLAPSED_TREE 2 #define LAYOUT_BALANCED_TREE 3 #define LAYOUT_CIRCULAR 4 #define LAYOUT_CIRCULAR_MARKUP 5 #define LAYOUT_CIRCULAR_BALLOON 6 Look at the diff files and substitute the "layout=1" string with "layout=?" where ? is a number from 0 to 6 to be chosen from the above list or just skip this step if you are comfortable with the default setting. Apply the patch by typing: cd /cgi patch status.c /locate-on-map.diff patch extinfo.c /locate-on-map-extinfo.diff make;strip status.cgi extinfo.cgi;cp status.cgi extinfo.cgi /sbin Now set /sbin/status.cgi and extinfo.cgi permissions as those of the other files in that dir and you have finished. Enjoy! > -----Messaggio originale----- > Da: CHOSSON [mailto:divers.chosson at wanadoo.fr] > Inviato: mercoled? 24 settembre 2003 21.22 > A: Creator > Oggetto: Re: [Nagios-users] Patch to locate hosts on status > map in a fastway > > > Hello, > > i successfully patch status.c > > But, where is the patch to obtain the result show in > shot1.jpg, because i'm very interested about it. > > PS: sorry for my poor english. > > bye, > > Le jeu 18/09/2003 ? 00:05, Creator a ?crit : > > Hi there, > > > > here is the patch as promised to locate any host in the > status map by > > single clicking the detailed host page. > > > > Look at the attached screenshots to see a little demo: > > > > shot1: The red circle shows the new command (Host information page) > > shot2: After clicking the icon you'll be forwarded on the statusmap > > using "Depth Layers" method. > > shot3: Another point (Status Overview for example) from > where you can > > use this function. > > > > Before applying to Nagios v1.1 code you may want to change > a variable > > to reflect your preferred Status Map default display mode. > > > > Here it is the list as defined in cgi/statusmap.c: > > > > #define LAYOUT_USER_SUPPLIED 0 > > #define LAYOUT_SUBLAYERS 1 > > #define LAYOUT_COLLAPSED_TREE 2 > > #define LAYOUT_BALANCED_TREE 3 > > #define LAYOUT_CIRCULAR 4 > > #define LAYOUT_CIRCULAR_MARKUP 5 > > #define LAYOUT_CIRCULAR_BALLOON 6 > > > > Look at the diff file and substitute the "layout=1" string with > > "layout=?" where ? is a number from 0 to 6 to be chosen > from the above > > list or just skip this step if you are comfortable with the default > > setting. > > > > Apply the patch by typing: > > > > cd /cgi > > patch status.c /locate-on-map.diff make;strip > > status.cgi;cp status.cgi /sbin > > > > Now set /sbin/status.cgi permissions as > > those of the other files in that dir and you have finished. > > > > Enjoy! > > > > > > ------------ > > > > Stefano Coletta > > http://www.mindcreations.com > -------------- next part -------------- A non-text attachment was scrubbed... Name: locate-on-map.diff Type: application/octet-stream Size: 1141 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: locate-on-map-extinfo.diff Type: application/octet-stream Size: 414 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot1.jpg Type: image/jpeg Size: 70468 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot2.jpg Type: image/jpeg Size: 10024 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: shot3.jpg Type: image/jpeg Size: 11005 bytes Desc: not available URL: From mmcclure at pneservices.com Wed Sep 24 23:23:40 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Wed, 24 Sep 2003 16:23:40 -0500 (CDT) Subject: checking BGP states on Cisco routers In-Reply-To: <137874D5DA6FD511864E0090279C2BE1AE71EB@exchange.mtntel.com> References: <137874D5DA6FD511864E0090279C2BE1AE71EB@exchange.mtntel.com> Message-ID: <1292.192.168.1.15.1064438620.squirrel@xyzzy.homeip.net> Did you install it via CPAN, like Subhendu described? The way I described to fix it was wrong. > I resolved one issues with net-snmp and have run into another trying to use > check_bgpstate.pl. > > ./check_bgpstate.pl -c {community} -p 161 {ip_address} > > Can't locate object method "session" via package "Net::SNMP" (perhaps you > forgot to load "Net::SNMP"?) at ./check_bgpstate.pl line 127. > > Any suggestion? I'm lost. > > TIA, > > /JC > > -----Original Message----- > From: Mike McClure [mailto:mmcclure at pneservices.com] > Sent: Thursday, September 18, 2003 5:24 PM > To: nagios-users at lists.sourceforge.net > Subject: RE: [Nagios-users] checking BGP states on Cisco routers > > SNMP.pm does not appear to be in the correct place. How did you install it? > > Anyway, this should fix your problem: > > cd /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi > mkdir Net > cd Net > ln -s ../SNMP.pm . > > >> Can anyone answer this? When I use the check_bgpstate.pl script I get the >> error below. Net-SNMP is installed and SNMP.pm is in >> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/SNMP.pm. >> >> Do I need to modify the script in some way? >> >> TIA! >> >> ./check_bgpstate.pl x.x.x.x -c commnity >> Can't locate Net/SNMP.pm in @INC (@INC contains: >> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 >> /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi >> /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl >> /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi >> /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl >> /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at >> ./check_bgpstate.pl line 30. >> BEGIN failed--compilation aborted at ./check_bgpstate.pl line 30. >> >> >> >> On Thu, 18 Sep 2003, J.C. Hall wrote: >> >>> Thank you to those who responded. I admit I am a newbie :-( to this! >>> >>> I found check_bgpstate.pl in the contrib/ dir. My question now is must > it >>> be compiled, or what do I do to integrate it with Nagios to my libexec/ >> dir? >>> Is that a dumb question? >> >> It's a perl script.. you can just copy it over. If it fails to work, just >> check the first line of the script (load it into a text editor) and make >> sure >> the path to perl is correct. >> >> -- >> Matt Pounsett CIRA - Canadian Internet Registration >> Authority >> Technical Support Programmer 350 Sparks Street, Suite >> 1110 >> matt.pounsett at cira.ca Ottawa, Ontario, >> Canada >> 613.237.5335 ext. 231 >> http://www.cira.ca >> >> >> >> ------------------------------------------------------- >> This sf.net email is sponsored by:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: 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:ThinkGeek >> Welcome to geek heaven. >> http://thinkgeek.com/sf >> _______________________________________________ >> Nagios-users mailing list >> Nagios-users at lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/nagios-users >> ::: Please include Nagios version, plugin version (-v) and OS when > reporting any >> issue. >> ::: Messages without supporting info will risk being sent to /dev/null >> >> > > > -- > Mike McClure, CCIE # 5125, CISSP # 30232 > PNE Services, Inc. - http://www.pneservices.com > mmcclure [at] pneservices [dot] com > mobile: 913-636-5590 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 acmecargo.com Wed Sep 24 23:40:20 2003 From: nagios at acmecargo.com (nagios at acmecargo.com) Date: Wed, 24 Sep 2003 17:40:20 -0400 Subject: reverse DNS on list servers Message-ID: <6.0.0.22.2.20030924173844.01e96f60@mail.acmecargo.com> I'm suddenly (as of today) getting list emails junked due to lack of reverse DNS (66.35.250.206). Anybody know why suddenly sourceforge.net's list servers (or at least the one sending the Nagios list emails) don't have reverse DNS? Dylan ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Sep 25 01:06:21 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Wed, 24 Sep 2003 19:06:21 -0400 Subject: Multipul Host IP in Version 1.1 on redhat In-Reply-To: <3F72054C.9040307@pingtone.com> References: <3F72054C.9040307@pingtone.com> Message-ID: <1064444780.7253.1.camel@miles.debisschop.net> On Wed, 2003-09-24 at 16:57, Jeffrey Cady wrote: > I have tried the following formats I always get host not found error. > > If I remove all the other addresses from the hosts the monitoring > becomes good. Here is what I have tried. > > address 172.31.0.21,172.31.0.20 > Status Information:PING CRITICAL - Host not found (172.31.0.21,172.31.0.20) > > address 172.31.0.21, 172.31.0.20 > Status Information:PING CRITICAL - Host not found (172.31.0.21,) > > address 172.31.0.21 , 172.31.0.20 > (No Information Returned From Host Check) > > The first one is the one recommended in the FAQ's the rest were me > trying other combinations because what was recommended in the FAQ's was > not working. What version of the plugins are you using? I think you must get the plugins from CVS HEAD or its snapshot. It might be realisitc to have 1.4.0-alpha1 released by the end of September, but 1.3.x doe not cut it, if I correctly understand what you are trying to do. > Thanks > > Jeff > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Rodrigo.Magalhaes at infoglobo.com.br Thu Sep 25 01:36:12 2003 From: Rodrigo.Magalhaes at infoglobo.com.br (Rodrigo.Magalhaes at infoglobo.com.br) Date: Wed, 24 Sep 2003 20:36:12 -0300 Subject: Hosts.cfg Message-ID: <987467FDD65E604BBA52DD6C9FD2C8FF083EAB84@infodata1.ogmaster.local> Hello, I?m trying to install and configure nagios in a Red Hat 9.0 distribution. When I edit the hosts.cfg and save, the modifications are not saved. Why? Thanks Rodrigo Magalh?es Analista de Suporte - Tecnologia - Infoglobo Infoglobo Comunica??es Ltda e-mail: rodrigo.magalhaes at infoglobo.com.br Telefone: +55 (21) 2534-5335 - - - - - - - - - - - - - - - - - AVISO IMPORTANTE- - - - - - - - - - - - - - - - Esta mensagem, incluindo seus anexos, pode conter informa??es privilegiadas e/ou de car?ter confidencial e seu conte?do ? para conhecimento exclusivo do destinat?rio. O seu uso, divulga??o, reprodu??o e/ou c?pia s?o proibidos. This message is intended only for the individual or organization to which it is addressed and contains confidential and privileged information. Any retransmission, dissemination or other use of this information by anyone other than the intended recipient is prohibited. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Thu Sep 25 02:28:29 2003 From: visigoth at home.nl (R. F.) Date: Thu, 25 Sep 2003 02:28:29 +0200 Subject: libssl.so.4 issues Message-ID: <000001c382fb$f14e2b60$524178d9@cp132919a> Hi, whenever I try to run Nagios, I get an error: /usr/lib/nagios/plugins/check_ftp: error while loading shared libraries: libssl.so.4: cannot open shared object file: No such file or directory Libssl.so.4 is part of openssl-0.9.7a. So I downloaded openssl-0.9.7a-2.i686.rpm and when I install it with -U I get a bunch of results like these: libssl.so.2 is needed by (installed) samba-client-2.2.7-5.8.0 libssl.so.2 is needed by (installed) samba-common-2.2.7-5.8.0 libssl.so.2 is needed by (installed) stunnel-3.22-5.8.0 libssl.so.2 is needed by (installed) wget-1.8.2-5 openssl = 0.9.6b-33 is needed by (installed) openssl-devel-0.9.6b-33 And I still get the error for check_ftp. Openssl-devel-0.9.6b-33 is already installed. It must be a stupid question but I have no idea, sorry. Can someone help me out please? It's a RedHat 8, thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From salsbury at sculptors.com Thu Sep 25 03:44:52 2003 From: salsbury at sculptors.com (Patrick Salsbury) Date: Wed, 24 Sep 2003 18:44:52 -0700 Subject: Trying to grok parent/child relationship configuration - FAQ is broken In-Reply-To: References: Message-ID: <20030925014452.GA26264@bootstrap.sculptors.com> Hi, all. I'm looking for info on how to configure parent/child relationships, and FAQ 145 (http://www.nagios.org/faqs/viewfaq.php?faq_id=145) says this at the end: "You should read http://nagios.sourceforge.net/docs/1_0/dependencies.html and http://nagios.sourceforge.net/docs/1_0/networkreachability.html for a better understanding." Neither of these links work, however. Where is the current place to look for info on how to configure parent/child relationships? Thanks in advance! -- Pat ___________________Think For Yourself____________________ Patrick G. Salsbury - http://reality.sculptors.com/~salsbury/ The Reality Sculptors Wiki is at http://reality.sculptors.com/cgi-bin/wiki --------------------------------------------------------- /\_/\ 'Tis better to have loved and lost In memory of Misty: ( o.o ) Than never to have loved at all... Aug 11, 2002-Oct 8, 2002 > ^ < http://reality.sculptors.com/~salsbury/Misty/ -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 249 bytes Desc: not available URL: From cristian at alestraidc.net.mx Thu Sep 25 04:31:00 2003 From: cristian at alestraidc.net.mx (Cristian Trujillo G.) Date: Wed, 24 Sep 2003 21:31:00 -0500 Subject: never i see notification host down In-Reply-To: <20030925014452.GA26264@bootstrap.sculptors.com> References: <20030925014452.GA26264@bootstrap.sculptors.com> Message-ID: Hi, I monitoring around 5 services peer server, but when the server is shutdown, only recive notifications for each services, but never notificacion host down notification via pager or mail.... ej services.cfg define service{ use generic-service host_name igshw005 service_description Uso Disco E is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command nt-disk!E!85%!90% } gracias ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Shaun.Reitan at NDCHost.com Thu Sep 25 05:33:47 2003 From: Shaun.Reitan at NDCHost.com (Shaun Reitan :: NDC Host) Date: Wed, 24 Sep 2003 20:33:47 -0700 Subject: pluggin for exim? Message-ID: <015401c38315$d49544d0$7800000a@lunchbox> I'm looking for a exim pluggin for nagios. I want to be able to monitor the exim queue size. Best Regards, Shaun Reitan CTO Shaun.Reitan at NDCHost.com www.NDCHost.com www.cPlicensing.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From noah at mac.com Thu Sep 25 07:35:24 2003 From: noah at mac.com (Noah Leaman) Date: Wed, 24 Sep 2003 22:35:24 -0700 Subject: Nagios replacing OpenView Message-ID: <0FE71A1E-EF1A-11D7-B1AE-000393ACBF0C@mac.com> Hi everyone, I am currently investigating using Nagios as a complete replacement for OpenView (NNM and ITO/VPO/OVO with mySAP.com Smart Plug-in) to monitor our environment which is made up of AIX, Solaris, OS X, and a few lowly NT boxes. Almost 800 servers and about another 600 network devices (mostly Cisco, Foundry and NetScreens). My only question right now is in regards to network performance and health monitoring. Maybe I missed references to that topic in the docs or in previous mail list emails, but I couldn't find much mention of it. Please forgive me if I simply missed it. my question: To produce alarms on, say high router CPU utilization, is it just a matter of setting up a check_snmp command that collects the SNMP OID for CPU%, or am I barking up the wrong tree here? -- Noah ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From stefanj at eastpoint.se Thu Sep 25 08:31:30 2003 From: stefanj at eastpoint.se (Stefan Jakobsson) Date: Thu, 25 Sep 2003 08:31:30 +0200 Subject: Nagios + SMS = TRUE? Message-ID: Hello all! We are in the process of setting up an SMS-gateway for our customers, and I want to know if and how you can get Nagios to use that for alerting us during "non-work" hours? I assume that since the SMS-gateway accepts e-mails as source I can just set up a new contactgroup for off-hours and have the mail posted to the SMS-gateway instead? Anyone have experience in setting up this kind of function and ready to share some experiences? Regards, Stefan Jakobsson ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From wim.degeeter at bt.com Thu Sep 25 10:14:53 2003 From: wim.degeeter at bt.com (wim.degeeter at bt.com) Date: Thu, 25 Sep 2003 09:14:53 +0100 Subject: Help: make all error when trying to compile the nrpe deamon Message-ID: Hi, After './configure' without any errors I tried to 'make all' the nrpe daemon but I've got always this error: gcc -g -O2 -DHAVE_CONFIG_H -lnsl -lsocket nrpe.c netutils.c -o nrpe ld.so.1: make: fatal: relocation error: file /usr/lib/libposix4.so.1: symbol _libaio_close: referenced symbol not found I tried to install the daemon on a Solaris 2.6. Many thanks ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Philipp.Straka at avl.com Thu Sep 25 11:47:41 2003 From: Philipp.Straka at avl.com (Philipp.Straka at avl.com) Date: Thu, 25 Sep 2003 10:47:41 +0100 Subject: nagios compilation problems >> SOLUTION Message-ID: Hi Brian! Thx - you brought up an idea in my head. Up to now, I only had the devel rpms and the client rpms installed. When I installed the shared library rpms from www.mysql.com additionally to the first two rpms, compilation worked out! Summary of installed RPM packages: MySQL-devel-4.0.15-0 MySQL-client-4.0.15-0 MySQL-shared-4.0.15-0 ...all from www.mysql.com , working fine on Red Hat 9 Thanx a lot also to Marc for his support! All the best, Phil -----Original Message----- From: Brian Snead [mailto:BSnead at infosysnetworks.com] Sent: Wednesday, September 24, 2003 10:38 PM To: Straka Philipp GUR; nagios-users at lists.sourceforge.net Subject: RE: [Nagios-users] nagios compilation problems I had the same problems you are describing. I tried several different ways of installing mysql, libraries and clients. Finally, the only way I could get Nagios 1.1 to compile with mysql support was to remove mysql and install the version that came with Redhat 9.0. Then I let Redhat up2date upgrade the version to 3.23.56-9. This still would not work, so I downloaded the mysql-devel-3.23.56-9 from rpmfind.net. Then, go into the nagios-1.1 source directory and 'make clean' then ./configure --with-mysql-xdata --with-mysql-lib=/usr/lib/mysql --with-mysql-inc=/usr/include/mysql then make all Hope this helps. Brian. -----Original Message----- From: Philipp.Straka at avl.com [mailto:Philipp.Straka at avl.com] Sent: Wednesday, September 24, 2003 1:47 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios compilation problems I need help. -- When I try to compile, the compiler tells me, that the files ./xdata/x?ddb.c at line xx produce the error "no such file". -- In the specified line of the c files, there is an include statement requesting the files "mysql.h" and "errmsg.h". -- I altered the include statement there from "mysql/mysql.h" to "mysql.h" and supplied the configure script with "-with-mysql-inc=/usr/local/include" (left the dir mysql away) -- The new error is coming from "mysql.h". This file has an include statement in line 107 requesting for the file "my_alloc.h" -- The file "my_alloc.h" I found in the include directory of the src distribution of mysql. -- When I tried to compile after having copied this file to the location specified in "mysql.h:107", there was another error. It is an "undefined reference to mysql_init()", most probably because the "my_alloc.c" file is not there with the corresponding header file. But I could not find the .c file anywhere! What can I do to get Nagios up'n'running? I would be glad for help! :o) Phil Straka -------------- next part -------------- An HTML attachment was scrubbed... URL: From nleaman at apple.com Thu Sep 25 12:45:14 2003 From: nleaman at apple.com (Noah Leaman) Date: Thu, 25 Sep 2003 03:45:14 -0700 Subject: Monitoring R/3 SAP Message-ID: <582A8B17-EF45-11D7-B1AE-000393ACBF0C@apple.com> Anyone out there use nagios to monitor their R/3 SAP on AIX instances? My primary requirement is focused around job monitoring - aborted jobs, job max run time thresholds, jobs starting late, and the like - but performance and instance status monitoring are also needed. Just wondering if there is anyone out there whose doing this or wanting to. -- Noah ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Thu Sep 25 12:49:22 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Thu, 25 Sep 2003 06:49:22 -0400 Subject: libssl.so.4 issues In-Reply-To: <000001c382fb$f14e2b60$524178d9@cp132919a> References: <000001c382fb$f14e2b60$524178d9@cp132919a> Message-ID: <1064486961.7253.11.camel@miles.debisschop.net> On Wed, 2003-09-24 at 20:28, R. F. wrote: > Hi, whenever I try to run Nagios, I get an error: > > > > /usr/lib/nagios/plugins/check_ftp: error while loading shared > libraries: > > libssl.so.4: cannot open shared object file: No such file or directory > > > > Libssl.so.4 is part of openssl-0.9.7a. So I downloaded > openssl-0.9.7a-2.i686.rpm and when I install it with -U I get a bunch > of results like these: > > > > libssl.so.2 is needed by (installed) samba-client-2.2.7-5.8.0 > > libssl.so.2 is needed by (installed) samba-common-2.2.7-5.8.0 > > libssl.so.2 is needed by (installed) stunnel-3.22-5.8.0 > > libssl.so.2 is needed by (installed) wget-1.8.2-5 > > openssl = 0.9.6b-33 is needed by (installed) openssl-devel-0.9.6b-33 > > > > And I still get the error for check_ftp. Openssl-devel-0.9.6b-33 is > already installed. It must be a stupid question but I have no idea, > sorry. Can someone help me out please? It?s a RedHat 8, thanks. The RPMs at sourceforge are for RedHat 9. Sorry, but that what I have right now. Try these: http://dag.wieers.com/packages/nagios-plugins/ He has an RH8 version. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juris at lf.lv Thu Sep 25 12:54:34 2003 From: juris at lf.lv (Juris Grinbergs) Date: Thu, 25 Sep 2003 13:54:34 +0300 Subject: never i see notification host down Message-ID: > Message: 5 > From: "Cristian Trujillo G." > To: > Date: Wed, 24 Sep 2003 21:31:00 -0500 > Subject: [Nagios-users] never i see notification host down > Hi, > I monitoring around 5 services peer server, but when the server is > shutdown, > only recive notifications for each services, but never notificacion host > down > notification via pager or mail.... Try add icmp-service to host igshw005 > > ej services.cfg > define service{ > use generic-service > host_name igshw005 > service_description Uso Disco E > is_volatile 0 > check_period 24x7 > max_check_attempts 3 > normal_check_interval 5 > retry_check_interval 1 > contact_groups nt-admins > notification_interval 120 > notification_period 24x7 > notification_options w,u,c,r > check_command nt-disk!E!85%!90% > } > > gracias > > > -- With best regards, Juris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From juris at lf.lv Thu Sep 25 12:54:39 2003 From: juris at lf.lv (Juris Grinbergs) Date: Thu, 25 Sep 2003 13:54:39 +0300 Subject: Hosts.cfg In-Reply-To: References: Message-ID: > From: Rodrigo.Magalhaes at infoglobo.com.br > To: nagios-users at lists.sourceforge.net > Date: Wed, 24 Sep 2003 20:36:12 -0300 > Subject: [Nagios-users] Hosts.cfg > > > Hello, > > I=B4m trying to install and configure nagios in a Red Hat 9.0 > distribution. When I edit the hosts.cfg and save, the modifications are = > not > saved. > Why? May U haven't premissions to modify this file? Try as root! > > Thanks -- With best regards, Juris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Thu Sep 25 13:57:56 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 25 Sep 2003 07:57:56 -0400 (EDT) Subject: Hosts.cfg In-Reply-To: <987467FDD65E604BBA52DD6C9FD2C8FF083EAB84@infodata1.ogmaster.local> References: <987467FDD65E604BBA52DD6C9FD2C8FF083EAB84@infodata1.ogmaster.local> Message-ID: On Wed, 24 Sep 2003 Rodrigo.Magalhaes at infoglobo.com.br wrote: > > Hello, > > I?m trying to install and configure nagios in a Red Hat 9.0 > distribution. When I edit the hosts.cfg and save, the modifications are not > saved. Do you mean that the changes to the file aren't saved, or do you mean that the changes to the file aren't reflected in Nagios? If it's the former.. that's a unix file permissions issue. Talk to your systems administrator about getting access to modify those files. If it's the latter.. Like most daemons, Nagios doesn't automatically notice changes to its configuration files. A restart will get it to reload. Some daemons will also re-read config files if they receive a sig HUP, without restarting. I'm not sure if Nagios is one of these or not. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Thu Sep 25 14:02:28 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 25 Sep 2003 08:02:28 -0400 (EDT) Subject: Nagios replacing OpenView In-Reply-To: <0FE71A1E-EF1A-11D7-B1AE-000393ACBF0C@mac.com> References: <0FE71A1E-EF1A-11D7-B1AE-000393ACBF0C@mac.com> Message-ID: On Wed, 24 Sep 2003, Noah Leaman wrote: > my question: To produce alarms on, say high router CPU utilization, is > it just a matter of setting up a check_snmp command that collects the > SNMP OID for CPU%, or am I barking up the wrong tree here? Yes, that's exactly right. By giving the check_snmp plugin the hostname, community string, OID, and the thresholds for WARNING and CRITICAL, you can get it to alarm on any information in your MIBs. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chbaker at powersystems.rockwell.com Thu Sep 25 15:21:39 2003 From: chbaker at powersystems.rockwell.com (chbaker at powersystems.rockwell.com) Date: Thu, 25 Sep 2003 09:21:39 -0400 Subject: Hosts.cfg Message-ID: I've found update-nagios to be the tool for this. On my Debian Gnu/Linux box it's /usr/sbin/update-nagios. ---- Charles H. Baker Unix/Linux Systems Administrator chbaker at powersystems dot rockwell dot com work: 864.281.2409 fax: 864.281.2487 cell: 864.363.5302 If you do what you have always done, you will get what you have always gotten. --Paul J. Meyer Matt Pounsett To: nagios-users at lists.sourceforge.net Sent by: cc: nagios-users-admin at lists.sour Subject: Re: [Nagios-users] Hosts.cfg ceforge.net 09/25/2003 07:57 AM On Wed, 24 Sep 2003 Rodrigo.Magalhaes at infoglobo.com.br wrote: > > Hello, > > I?m trying to install and configure nagios in a Red Hat 9.0 > distribution. When I edit the hosts.cfg and save, the modifications are not > saved. Do you mean that the changes to the file aren't saved, or do you mean that the changes to the file aren't reflected in Nagios? If it's the former.. that's a unix file permissions issue. Talk to your systems administrator about getting access to modify those files. If it's the latter.. Like most daemons, Nagios doesn't automatically notice changes to its configuration files. A restart will get it to reload. Some daemons will also re-read config files if they receive a sig HUP, without restarting. I'm not sure if Nagios is one of these or not. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Karl.Yost at mptotalcare.com Thu Sep 25 15:57:42 2003 From: Karl.Yost at mptotalcare.com (Karl.Yost at mptotalcare.com) Date: Thu, 25 Sep 2003 09:57:42 -0400 Subject: Hosts.cfg Message-ID: <7190FBD21CA2D111B7EA00805F9F4C0307AEF4EC@em_exchange.express-med.com> If it is the daemon, and you use the default Nagios install paths. Switch to /etc/rc.d/init.d and execute ./nagios reload and that will load your most recent changes. You must reload or restart nagios for the changes to take affect. Regards, Karl Yost Sys Admin -----Original Message----- From: Matt Pounsett [mailto:matt.pounsett at cira.ca] Sent: Thursday, September 25, 2003 7:58 AM To: Subject: Re: [Nagios-users] Hosts.cfg On Wed, 24 Sep 2003 Rodrigo.Magalhaes at infoglobo.com.br wrote: > > Hello, > > I?m trying to install and configure nagios in a Red Hat 9.0 > distribution. When I edit the hosts.cfg and save, the modifications are not > saved. Do you mean that the changes to the file aren't saved, or do you mean that the changes to the file aren't reflected in Nagios? If it's the former.. that's a unix file permissions issue. Talk to your systems administrator about getting access to modify those files. If it's the latter.. Like most daemons, Nagios doesn't automatically notice changes to its configuration files. A restart will get it to reload. Some daemons will also re-read config files if they receive a sig HUP, without restarting. I'm not sure if Nagios is one of these or not. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 pctech at mybellybutton.com Thu Sep 25 15:59:01 2003 From: pctech at mybellybutton.com (Frank Tanner III) Date: Thu, 25 Sep 2003 06:59:01 -0700 (PDT) Subject: Odd Multiple IP Address Problem Message-ID: <20030925135901.97776.qmail@web13403.mail.yahoo.com> In the FAQ, it says that if you have a device, such as a router, with multiple IP address that you can enter them in the address field as 192.168.8.1,192.168.8.2 etc. This does not work. It gives an "Invalid Host" error in the host status screen and shows the host as down. I ahve also tried it with a space between the comma and the second IP address. No luck. What am I doing wrong? Thank you. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Thu Sep 25 16:06:28 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Thu, 25 Sep 2003 15:06:28 +0100 Subject: server alive = server with service running ? Message-ID: <9CE577193CB1344E9F9315263C7172DE432911@perceval.london.courtsplc.com> Hi, I'd like to know if we can receive some notifications to know if host are alive, WITHOUT adding a service to the host. Regards alexis ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Thu Sep 25 16:28:38 2003 From: visigoth at home.nl (R. F.) Date: Thu, 25 Sep 2003 16:28:38 +0200 Subject: Plugins RPM Message-ID: <000001c38371$52b9fe90$524178d9@cp132919a> I've tried to install the RadHat 8 RPM of the plugins on http://dag.wieers.com/packages/nagios-plugins/ But got the following error: error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.3.1-2.dag.rh80 fping is needed by nagios-plugins-1.3.1-2.dag.rh80 So I installed Net::SNMP and the latest fping, still getting the same error. Anyone know why? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From lonny at bangtherockstogether.net Thu Sep 25 16:39:58 2003 From: lonny at bangtherockstogether.net (Lonny Selinger) Date: Thu, 25 Sep 2003 08:39:58 -0600 (CST) Subject: Monitoring R/3 SAP In-Reply-To: <582A8B17-EF45-11D7-B1AE-000393ACBF0C@apple.com> References: <582A8B17-EF45-11D7-B1AE-000393ACBF0C@apple.com> Message-ID: <47086.24.72.31.206.1064500798.squirrel@webmail.bangtherockstogether.net> > Anyone out there use nagios to monitor their R/3 SAP on AIX instances? > My primary requirement is focused around job monitoring - aborted jobs, > job max run time thresholds, jobs starting late, and the like - but > performance and instance status monitoring are also needed. > > Just wondering if there is anyone out there whose doing this or wanting > to. I looked into this a couple years ago using a perl module for R/3 but it was decided to roll it in to different monitoring. Time permitting I'd be interested in helping get something going however. I'm not actually part of a basis team but I might be able to get an account in R/3 which would give me read access to the needed data. As far as I ever got (quite a while ago) I was able to make connections to SAP ... just never got as far as *checking* anything. -- Lonny Selinger ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Thu Sep 25 16:59:37 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Thu, 25 Sep 2003 07:59:37 -0700 Subject: Nagios + SMS = TRUE? In-Reply-To: References: Message-ID: <20030925145937.GC52772@radix.cryptio.net> Stefan Jakobsson said on Thu, Sep 25, 2003 at 08:31:30AM +0200: > Hello all! > > We are in the process of setting up an SMS-gateway for our customers, > and I want to know if and how you can get Nagios to use that for alerting > us during "non-work" hours? > > I assume that since the SMS-gateway accepts e-mails as source I can just set > up a new contactgroup for off-hours and have the mail posted to the > SMS-gateway > instead? > > Anyone have experience in setting up this kind of function and ready to > share > some experiences? If it accepts email as source, then just have nagios send email to it. I do that and it works well. The only thing I'd add is that we use a rate-limiter script for alerting to not overwhelm the pagers/SMS phones... we only will send 5 pages in 5 minutes; any more than that, we don't send them, and just send a "Too many pages" page, which everyone understands to mean "Bad things have happened". :) M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From andre.bergei at ementor.no Thu Sep 25 17:07:11 2003 From: andre.bergei at ementor.no (andre.bergei at ementor.no) Date: Thu, 25 Sep 2003 17:07:11 +0200 Subject: server alive = server with service running ? Message-ID: <3C8515D9676BF9479F7EF3545B63AA220AF4F4@100NOOSLMSG001.common.alpharoot.net> from FAQ "Can I monitor a host without defining any services for it?" http://www.nagios.org/faqs/viewfaq.php?faq_id=39&expand=true&showdesc=true /andr? -----Original Message----- From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] Sent: 25. september 2003 16:06 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] server alive = server with service running ? Hi, I'd like to know if we can receive some notifications to know if host are alive, WITHOUT adding a service to the host. Regards alexis ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From andre.bergei at ementor.no Thu Sep 25 17:09:49 2003 From: andre.bergei at ementor.no (andre.bergei at ementor.no) Date: Thu, 25 Sep 2003 17:09:49 +0200 Subject: Nagios showcase project ! Message-ID: <3C8515D9676BF9479F7EF3545B63AA220B2095@100NOOSLMSG001.common.alpharoot.net> Hi guys, i'm new to the list and nagios. I'm playing around with template config files, and i'm wondering if it is possible to add hostgroups to the hostextinfo.cfg file? Im trying to add the group "Switches" to the "host_name" field, but I cant get i to work. Only real hostnames seems to get the right image file; -snip define hostextinfo{ host_name Switches, switch01, switches, switch-hosts icon_image switch40.png icon_image_alt Network switches vrml_image switch40.png statusmap_image switch40.gd2 2d_coords 100,250 3d_coords 100.0,50.0,75.0 } as you see I tried alias, groupname, host-template-name... Only hostname works. -snip cheers /andr? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Thu Sep 25 17:32:23 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Thu, 25 Sep 2003 16:32:23 +0100 Subject: (no subject) Message-ID: <9CE577193CB1344E9F9315263C7172DE2815B6@perceval.london.courtsplc.com> Hi, I have check in the documentation and in the FAQ, But I can't find what's the relation between host and service. Explaination : I didn't define any check command in the host.cfg file. So "Pending" is written in the web interface. After a while, when services are checked as OK, every "Host assumed to be up". But, when I turn down the service, and when I have only one service running on the machine, The service become critical (simple ping for example), but the host is still up !! Any idea ? Thanks very much Alexis Chauvin International IT tel +44(0)2084109476 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Alexis.chauvin at courtsplc.com Thu Sep 25 17:52:23 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Thu, 25 Sep 2003 16:52:23 +0100 Subject: Plugins RPM Message-ID: <9CE577193CB1344E9F9315263C7172DE2815B7@perceval.london.courtsplc.com> Hi, Did you install the RPM VERSION of net::snmp and fping ? I bet no. it's because rpm doesn't have these packages in its database. Try install the nagios plugins without checking for dependancies, or force the install. Or install nagios and its plugins via the sources. alexis -----Original Message----- From: R. F. [mailto:visigoth at home.nl] Sent: 25 September 2003 15:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugins RPM I've tried to install the RadHat 8 RPM of the plugins on http://dag.wieers.com/packages/nagios-plugins/ But got the following error: error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.3.1-2.dag.rh80 fping is needed by nagios-plugins-1.3.1-2.dag.rh80 So I installed Net::SNMP and the latest fping, still getting the same error. Anyone know why? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Thu Sep 25 18:12:46 2003 From: mpowell at ena.com (Marc Powell) Date: Thu, 25 Sep 2003 11:12:46 -0500 Subject: (no subject) Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EE92@mismail.ena.com> The host is still up because, as you said, you didn't define a host check command for it. Since nagios has no active test defined to see if a host is up, the state will never change. The hosts are 'assumed to be up' initially because if the very first check of any service on that host is OK then the host is assumed to be OK. It's only when a service on that host changes state (i.e. goes CRITICAL), only then is the host actively checked with the command specified (or not in your case). In short, you _must_ define a host check command if you expect your host states to be accurately reflected. -- Marc ________________________________________ From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] Sent: Thursday, September 25, 2003 10:32 AM To: nagios-users at lists.sourceforge.net Hi, I have check in the documentation and in the FAQ, But I can't find what's the relation between host and service. ? Explaination : ? I didn't define any check command in the host.cfg file. So "Pending" is written in the web interface. After a while, when services are checked as OK, ?every "Host assumed to be up". But, when I turn down the service, and when I have only one service running on the machine, The service become critical (simple ping for example), but the host is still up !! ? Any idea ? ? Thanks very much ? ? ? Alexis Chauvin International IT tel +44(0)2084109476 ? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjohnson at got.wedgie.org Thu Sep 25 18:12:51 2003 From: bjohnson at got.wedgie.org (Brad Johnson) Date: Thu, 25 Sep 2003 12:12:51 -0400 (EDT) Subject: Host Extended Info Template broken? Message-ID: I'm having a problem using the templates with the host extended info. Here's what's going on. I've defined a couple of templates for different system types (such as Windows and RedHat Linux): define hostextinfo { name windows icon_image windows.gif register 0 } Then if I define two Windows hosts using the windows template: define hostextinfo { use windows host_name win1 } define hostextinfo { use windows host_name win2 notes_url /moreinfo/windows.html } You would think that only win2 would have additional notes, but both win1 AND win2 have additional notes. If I remove the notes_url from win2, the additional notes disappear from both win1 and win2. The odd thing is that I've only noticed this behavior with the notes_url configuration directive. Everything else seems okay. I'm assuming this is a bug - or am I missing something here? Has anyone else seen this? Thanks, Brad ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjohnson at got.wedgie.org Thu Sep 25 18:18:29 2003 From: bjohnson at got.wedgie.org (Brad Johnson) Date: Thu, 25 Sep 2003 12:18:29 -0400 (EDT) Subject: Nagios showcase project ! In-Reply-To: <3C8515D9676BF9479F7EF3545B63AA220B2095@100NOOSLMSG001.common.alpharoot.net> References: <3C8515D9676BF9479F7EF3545B63AA220B2095@100NOOSLMSG001.common.alpharoot.net> Message-ID: I think the only thing you can do is create a template for each "type" of host and have each host definition use the template. Will save you some typing, but you'll still need to create a hostextinfo entry for each individual host. Anyone else got an idea for this? - Brad On Thu, 25 Sep 2003 andre.bergei at ementor.no wrote: > Hi guys, i'm new to the list and nagios. > > I'm playing around with template config files, and i'm wondering if it is possible to add hostgroups to the hostextinfo.cfg file? > > Im trying to add the group "Switches" to the "host_name" field, but I cant get i to work. Only real hostnames seems to get the right image file; > > -snip > > define hostextinfo{ > host_name Switches, switch01, switches, switch-hosts > icon_image switch40.png > icon_image_alt Network switches > vrml_image switch40.png > statusmap_image switch40.gd2 > 2d_coords 100,250 > 3d_coords 100.0,50.0,75.0 > } > > as you see I tried alias, groupname, host-template-name... Only hostname works. > > -snip > > > cheers > /andr? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rajeev.jain.contractor at bcbsa.com Tue Sep 23 16:55:46 2003 From: rajeev.jain.contractor at bcbsa.com (Jain, Rajeev - Contingent Staff) Date: Tue, 23 Sep 2003 09:55:46 -0500 Subject: Host assumed to be up? Message-ID: I looked in to FAQ but didn't find an answer which would help permanently. Can someone please suggest how to change "host Assumed to be up" to actual information? This is giving us a hard time in creating reports Rajeev -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Thu Sep 25 14:59:23 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Thu, 25 Sep 2003 07:59:23 -0500 (CDT) Subject: Nagios replacing OpenView In-Reply-To: References: <0FE71A1E-EF1A-11D7-B1AE-000393ACBF0C@mac.com> Message-ID: <3595.192.168.1.15.1064494763.squirrel@xyzzy.homeip.net> Alternatively, you can use an agent if one is available, such as NCSA or NSClient. That's important if you have a system that is missing good SNMP support. It's also usually simpler to encrypt and secure the agent communication than SNMP. > On Wed, 24 Sep 2003, Noah Leaman wrote: > >> my question: To produce alarms on, say high router CPU utilization, is >> it just a matter of setting up a check_snmp command that collects the >> SNMP OID for CPU%, or am I barking up the wrong tree here? > > Yes, that's exactly right. By giving the check_snmp plugin the hostname, > community string, OID, and the thresholds for WARNING and CRITICAL, you can > get it to alarm on any information in your MIBs. > > -- > Matt Pounsett CIRA - Canadian Internet Registration Authority > Technical Support Programmer 350 Sparks Street, Suite 1110 > matt.pounsett at cira.ca Ottawa, Ontario, Canada > 613.237.5335 ext. 231 http://www.cira.ca > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Markus.Saner at antalis.ch Thu Sep 25 15:04:13 2003 From: Markus.Saner at antalis.ch (Saner, Markus) Date: Thu, 25 Sep 2003 15:04:13 +0200 Subject: AW: Monitoring R/3 SAP Message-ID: <491A5F682BEFA742B21EF20AD4A81733E93C0A@chluex01.ch.antalis.local> Noah, i ones thouth abouth monitoring SAP R/3 with Nagios. There was a special, extended Nagios version to monitor over CCMS. What is the right way and may covers all your needs. Developed by SAP and SuSE, (i guess). The last information i found was from 2002-10-08, if you rpm search for it. eg: http://rpm.pbone.net/index.php3/stat/4/idpl/223179/com/nagios-plugins-sap-ccms-0.7-24.i586.rpm.html I never found time to compile and install and dont know the status of this project. Somehow didnt like there special Nagios version, but they needed it to get extra large, multiple line status information. Would be interested, if you get over something newer. Regards, Markus -----Urspr?ngliche Nachricht----- Von: Noah Leaman [mailto:nleaman at apple.com] Gesendet: Donnerstag, 25. September 2003 12:45 An: nagios-users at lists.sourceforge.net Betreff: [Nagios-users] Monitoring R/3 SAP Anyone out there use nagios to monitor their R/3 SAP on AIX instances? My primary requirement is focused around job monitoring - aborted jobs, job max run time thresholds, jobs starting late, and the like - but performance and instance status monitoring are also needed. Just wondering if there is anyone out there whose doing this or wanting to. -- Noah ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From GWCOOK at mactec.com Thu Sep 25 18:26:29 2003 From: GWCOOK at mactec.com (Cook, Garry) Date: Thu, 25 Sep 2003 10:26:29 -0600 Subject: Nagios showcase project ! Message-ID: I don't know if you can add a hostgroup to the extended info file. You can certainly add an entire hostgroup to be monitored by a single service, by defining hostgroup_name Switches in the service definition. I suppose you could try this in the extended info file. With that said, the extended info doesn't do much more than add hosts/services to your network map. How would you display a hostgroup on the statusmap? Why would you? Garry W. Cook, CCNA Network Infrastructure Manager MACTEC, Inc. - http://www.mactec.com/ 303.308.6228 (Office) - 720.220.1862 (Mobile) > -----Original Message----- > From: andre.bergei at ementor.no [mailto:andre.bergei at ementor.no] > Sent: Thursday, September 25, 2003 9:10 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Nagios showcase project ! > > > Hi guys, i'm new to the list and nagios. > > I'm playing around with template config files, and i'm > wondering if it is possible to add hostgroups to the > hostextinfo.cfg file? > > Im trying to add the group "Switches" to the "host_name" > field, but I cant get i to work. Only real hostnames seems to > get the right image file; > > -snip > > define hostextinfo{ > host_name Switches, switch01, switches, switch-hosts > icon_image switch40.png > icon_image_alt Network switches > vrml_image switch40.png > statusmap_image switch40.gd2 > 2d_coords 100,250 > 3d_coords 100.0,50.0,75.0 > } > > as you see I tried alias, groupname, host-template-name... > Only hostname works. > > -snip > > > cheers > /andr? > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From thomas.fischer at quadriga.com Thu Sep 25 18:32:28 2003 From: thomas.fischer at quadriga.com (Fischer, Thomas) Date: Thu, 25 Sep 2003 17:32:28 +0100 Subject: Plugins RPM Message-ID: <5D339AE687B0C8438185AE62ED06697D035BA0@ukchmail01.mail.quadriga.com> Install it with --nodeps (rpm -i --nodeps ). Or even better get the source, run configure and compile it yourself and then take the binaries and build your own RPM. Is dead easy. You can also get rid of unwanted plugins and pack your own scripts into the RPM. If you want to monitor multiple systems and also provide certain default configs this is the only way. The advantage.... you decide where the files go. I personally prefer to have everything in a clear structure and not splattered all over the file system. I usually install nagios in /usr/local/nagios and the plugins in /usr/local/nagios/libexec. Config files go on my systems into /etc/nagios. Makes finding things allot easier after a while. The RPMs from dag use when i remember right many different directories. So for example the plugins end up in /usr/lib/nagios, nagios in a total different directory and the web-interface again in another directory....... administrative nightmare jumps to my mind. If i wanted that i would run Windows . Tom -----Original Message----- From: R. F. [mailto:visigoth at home.nl] Sent: 25 September 2003 15:29 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Plugins RPM I've tried to install the RadHat 8 RPM of the plugins on http://dag.wieers.com/packages/nagios-plugins/ But got the following error: error: Failed dependencies: perl(Net::SNMP) is needed by nagios-plugins-1.3.1-2.dag.rh80 fping is needed by nagios-plugins-1.3.1-2.dag.rh80 So I installed Net::SNMP and the latest fping, still getting the same error. Anyone know why? Thanks. This e-mail is the property of Quadriga Worldwide Ltd The message (and any associated files) is intended only for the use of the individual or entity to which it is addressed and may contain information that is confidential, subject to copyright or constitutes a trade secret. If you are not the intended recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify us immediately by replying to the message and deleting it from your computer. Messages sent to and from us may be monitored. Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the company. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Lane.Williams at jhuapl.edu Thu Sep 25 18:40:55 2003 From: Lane.Williams at jhuapl.edu (Williams, P. Lane) Date: Thu, 25 Sep 2003 12:40:55 -0400 Subject: Nagios showcase project ! Message-ID: Because of the number of host that I have and to save a little time and effort, I loop through the host file and generate my extended info config using this little perl script. As far as assigning the images I have to do that manually. .....Although since I tag my hostgroup names with OS specific names (i.e. Microsoft-Print-Servers) I could loop through the hostgroup file and add an 'if' statement that could assign the images based off that. My main concern was the use of the notes_url portion. #!/usr/bin/perl @hosts = `cat /usr/local/nagios/etc/hosts.cfg | grep host_name | awk {'print \$2'}`; chomp @hosts; foreach $host (@hosts){ print "define hostextinfo{\n"; print "\thost_name\t\t$host\n"; print "\tnotes_url\t\thttp://someserver/scripts/nodes2.pl?QUERY_STRING=$host\n"; print "\ticon_image\t\t\n"; print "\tstatusmap_image\t\t\n"; print "\t}\n\n";} Lane ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Thu Sep 25 18:59:23 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 25 Sep 2003 11:59:23 -0500 Subject: Nagios showcase project ! In-Reply-To: References: Message-ID: <1064509159.455.19.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> Use MySQL, script a quick loop. That's how I did it, anyway. Then I decided it needed to be a smarter system, and I wront a proper script. Takes about 5 seconds to add a new host's hostextinfo and serviceextinfo. and it's dynamic. I can post it, if anyone's interested. it's pretty simple (to me, anyway). On Thu, 2003-09-25 at 11:18, Brad Johnson wrote: > This message uses a character set that is not supported by the Internet > Service. To view the original message content, open the attached > message. If the text doesn't display correctly, save the attachment to > disk, and then open it using a viewer that can display the original > character set. <> ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bjohnson at got.wedgie.org Thu Sep 25 19:14:27 2003 From: bjohnson at got.wedgie.org (Brad Johnson) Date: Thu, 25 Sep 2003 13:14:27 -0400 (EDT) Subject: Possible check logic bug Message-ID: Hi again... While trying to debug my hostextinfo problem I just posted about, I ran into a little problem when I reloaded nagios's configuration using /etc/rc.d/init.d/nagios reload. For some reason, half of my disabled checks just automatically got re-enabled. I re-disabled them, but after tweaking the config file some more, I had to restart Nagios again. I'm not positive, but it looked like those same checks got re-enabled again. I have nagios retaining state information in the nagios.cfg and for each individual host and service. Nagios is set to use retained program state. This shouldn't be happening. After some thought, I think I may have found a correlation. When I started up Nagios for the first time, there were several machines in the configuration that weren't online yet. So after nagios was up and running and started performing checks, I used the web interface to disable checks for the down hosts. I was able to disable most of them before they ever got executed, leaving them in a PENDING state. I'm not 100% positive (and I can't toy around too much with this because it's a production system), but I believe when I restarted Nagios, it scheduled all of my PENDING checks first, even though they had been disabled. It appears Nagios ignores whether a check is disabled or not if it has never been executed. Can anyone else confirm this? Thanks, Brad ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msalists at gmx.net Thu Sep 25 19:25:20 2003 From: msalists at gmx.net (Mark Arnold) Date: Thu, 25 Sep 2003 10:25:20 -0700 Subject: Dropping mysql suport from an instalation In-Reply-To: <200309241152.40832.luis.alberto@uam.es> References: <200309241152.40832.luis.alberto@uam.es> Message-ID: Sorry, no advice but rather a question: Why do you want to switch "back" to rather "unintelligent" files instead of having a high-level data storage like a database? Did you encounter any problems with storing the data in the database? I am planning to set up Nagios for our network within the next weeks ( if time permits :( ) and I am planning on using database support rather than just flat files. It seems that there are many advantages to a database: - better performance - better scalability - easier to use the data independently from nagios in you own scripts if necessary (just some SQL-queries rather than having to write a full parser) The only reason I could think of that could be held against going the database way is that using the file system might seem a little more stable since you have less components that might cause problems compared to the db-way (here you have the sockets, db server process, maybe even networking issues if the db is on a remote host). But I think as long as you keep nagios and the db on the same physical server so that network problems will not be an issue, you should be really safe. We have been working with mysql for years and never had one single problem that was really caused by the database system itself as far as I remember. If we had problems at all, it was in a remote db-server environment caused by networking issues (DNS changes, network down, firewall, etc) or the harddisk crashing - but that will kill you anyway, no matter what route you go... So without having practical nagios experience yet, I would say keep the db - move it to the same server you are running the nagios process on if it is not there yet). MARK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Luis-Alberto Garcia > Sent: Wednesday, September 24, 2003 2:53 AM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Dropping mysql suport from an instalation > > > I've decided to drop mysql support from my running nagios installation. > Am I right? Hope so. > How could I do it efficiently and with no data lost? > Where can I get a script to dump the db data into the corresponding > template-based files? > Any advice? Thanks. > -- > Luis-Alberto Garc?a Luc?a > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ghaygood at brightlane.com Thu Sep 25 19:18:44 2003 From: ghaygood at brightlane.com (Greg Haygood) Date: Thu, 25 Sep 2003 13:18:44 -0400 Subject: NRPE/SSL error - solution Message-ID: <3F732374.3020100@brightlane.com> RE: CHECK_NRPE: Error - Could not complete SSL handshake I ran into this NRPEv2 / SSL error in my environment yesterday, but only with my Solaris 7 & 8 systems. After wringing my hair out and digging around with truss, I figured out the problem on my Solaris 8 boxen. The files /devices/pseudo/random* (linked through /dev/*random, and provided by Sun patch 111238) were not readable by the nagios user I use to launch NRPE. Making the character devices world-readable solved it. My lone sol7 box is still a mystery, since it's using the prng stuff and no the Sun patch. But the sol8 systems are more important, anyway. Maybe I'll use it as an excuse to update that guy .... Hope this helps some other frustrated folks .... -g -- Greg Haygood ghaygood at brightlane.com v) 678.385.2837 Director of Operations BrightLane, a TeamStaff, Inc. Company ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Thu Sep 25 19:42:14 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 25 Sep 2003 13:42:14 -0400 (EDT) Subject: Possible check logic bug In-Reply-To: References: Message-ID: On Thu, 25 Sep 2003, Brad Johnson wrote: > Can anyone else confirm this? I can't confirm it for you, but I can add some data from my own experience. I've periodically run into a similar issue where I have 1) added hosts 2) restarted nagios 3) made changes to those hosts' configs via the web interface 4) then for some unrelated reason restarted nagios again before the retention_update_interval had elapsed. Since the state file hadn't been updated yet, the changes I made via the web interface were lost. Maybe not relevant to your particular case, but something to consider anyway. -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From sean.perry at intransa.com Thu Sep 25 19:58:33 2003 From: sean.perry at intransa.com (Sean Perry) Date: Thu, 25 Sep 2003 10:58:33 -0700 Subject: Nagios showcase project ! In-Reply-To: <1064509159.455.19.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> References: <1064509159.455.19.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> Message-ID: <3F732CC9.6000502@intransa.com> jeff vier wrote: > Use MySQL, script a quick loop. > > That's how I did it, anyway. > > Then I decided it needed to be a smarter system, and I wront a proper > script. Takes about 5 seconds to add a new host's hostextinfo and > serviceextinfo. and it's dynamic. > > I can post it, if anyone's interested. it's pretty simple (to me, > anyway). > Yeah I did something similar as well. I have a xml file which defines hosts and a script which reads it and outputs the nagios .cfg files. terminator linux engr-srv http My script takes groups and types and automatically adds service checks for things like memory, cpu, etc. If the host is a win2k machine it also use check_nt to find out which drives it has and lists them for disk usage checks. One of the things that drove me crazy about the nagios cfg format is there is so much duplication. This lets me easily define and change machines and not forget to update one of the files. As for the XML itself, well I had never written an XML based app and this seemed like a good project to learn with. Not one of those XML everywhere types, honest. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.Bolden at sterlingsavings.com Thu Sep 25 20:26:24 2003 From: Jeff.Bolden at sterlingsavings.com (Jeff Bolden) Date: Thu, 25 Sep 2003 11:26:24 -0700 Subject: APAN & Mandrake 9.1 problems? Message-ID: <9C6850E058139C4FB8846E6E482367AB0314430C@exchange2000.sterlingsavings.com> Been awhile since I've had to write to the list, but I'm really banging my head against the wall here and thought it was time to ask for some help. I have an existing Nagios 1.0/APAN setup installed on Mandrake 9.0. The box has been acting rather flakey the last few months, so I'm currently building a brand new server with Nagios 1.1 and Mandrake 9.1. The box is built and all my config files have been moved over to the new box, and Nagios is running well. A lot of my APAN checks however, are not. I use APAN in combo with NSClient to pull data such as System Load, Drive Usage, etc. from our Win2k boxes. This has always worked great in the past, but I cannot get all the checks to run correctly on the new server. Actually, let me rephrase that, I get no errors in apan.debug, but I'm not getting any info back on the checks. The RRD files are getting touched, but it's like the script is not passing all the data, so the graphs show blank. So to begin with, is anyone having any problems with the Mandrake 9.1/APAN combo? This box is almost a mirror image of the original box, same permissions, passwords, configs, RRDs, everything. The only difference at this point is the newer OS and dependencies. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Thu Sep 25 20:26:15 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Thu, 25 Sep 2003 14:26:15 -0400 (EDT) Subject: Nagios showcase project ! In-Reply-To: <3F732CC9.6000502@intransa.com> References: <3F732CC9.6000502@intransa.com> Message-ID: On Thu, 25 Sep 2003, Sean Perry wrote: > One of the things that drove me crazy about the nagios cfg format is > there is so much duplication. This lets me easily define and change > machines and not forget to update one of the files. I haven't been following the Nagios 2.0 discussions at all.. but perhaps this is something for the devo group to look at, if they aren't/haven't already. It seems like steps were made with 1.0 toward inheritance, with the template system... this has certainly improved the readability of config files, but defining new hosts is still not as quick and easy as it could be. With some slight rearrangement of the relationship between host and service definitions we could have a proper inheritance system that would make a lot of this much easier to deal with. For example, if a host's services and extinfo were part of the host definition, it would be easy to define new servers.. 1) define templates for the various services you want checked 2) define a generic host template which includes common services such as PING, SSH, disk and memory checks... maybe also a set of Windows and UNIX host templates that inherit the generic host and modify or add to those services.. Then, all you need to add new hosts is define a host with its unique name and IP Address, inherit the proper generic server type. The only services or other information one would need to define are those which are unique to that host. For larger installations, one might add another layer of templates and define generic web servers, mail servers, etc. In short, I envision each of the current object definitions remaining as they are except for the 'service' and 'host' definitions... 'service' would no longer relate a service to a particular host, but simply relate a service name to the relevant command. The host definition would need a new directive which adds a service to that host or host template. There's probably a better place for this discussion... and perhaps it's too late to consider changes to the config format for 2.0.. but I thought I'd share my thoughts anyway. Cheers, all. Matt -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sep 25 20:41:21 2003 From: teng at dataway.com (Tedman Eng) Date: Thu, 25 Sep 2003 11:41:21 -0700 Subject: Stupid check_http Question References: <20030923144954.97726.qmail@web13406.mail.yahoo.com> Message-ID: Are you using check_http with the -H or the -I? It's possible that your web server is partitioned using vhosts, and accessing it by IP is different than accessing it by name. Your follow-up emails show you using both interchangably, but they are subtly differnt. "Frank Tanner III" wrote in message news:20030923144954.97726.qmail at web13406.mail.yahoo.com... > I am checking a site, with Basic authentication. I > have a user and password specifically set up using > htpasswd, and have this user added to the appripriate > group file for the site. > > When I issue the ./check_http -I 10.1.1.5 -a > nagios:nagios command I get HTTP WARNING: HTTP/1.1 403 > Forbidden. > > Why am I getting this instead of the happy little > green light? > > Thank you for your assistance. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Thu Sep 25 21:02:54 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 25 Sep 2003 14:02:54 -0500 Subject: Possible check logic bug In-Reply-To: References: Message-ID: <1064516574.2704.6.camel@localhost> that usually means there's another instance running. using the init script to reload/restart OFTEN causes this. The solution (as lame as it is) is "don't do that". reload with the web interface, or do a full stop/start with the init (verifying the processes are all dead in between). On Thu, 2003-09-25 at 12:14, Brad Johnson wrote: > Hi again... > > While trying to debug my hostextinfo problem I just posted about, I ran > into a little problem when I reloaded nagios's configuration using > /etc/rc.d/init.d/nagios reload. For some reason, half of my disabled > checks just automatically got re-enabled. I re-disabled them, but after > tweaking the config file some more, I had to restart Nagios again. I'm not > positive, but it looked like those same checks got re-enabled again. > > I have nagios retaining state information in the nagios.cfg and for each > individual host and service. Nagios is set to use retained program state. > This shouldn't be happening. > > After some thought, I think I may have found a correlation. When I started > up Nagios for the first time, there were several machines in the > configuration that weren't online yet. So after nagios was up and running > and started performing checks, I used the web interface to disable checks > for the down hosts. I was able to disable most of them before they ever > got executed, leaving them in a PENDING state. > > I'm not 100% positive (and I can't toy around too much with this because > it's a production system), but I believe when I restarted Nagios, it > scheduled all of my PENDING checks first, even though they had been > disabled. It appears Nagios ignores whether a check is disabled or not if > it has never been executed. > > Can anyone else confirm this? > > Thanks, > Brad > > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Thu Sep 25 21:25:05 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 25 Sep 2003 14:25:05 -0500 Subject: Dropping mysql suport from an instalation In-Reply-To: References: Message-ID: <1064517905.2704.10.camel@localhost> I completely concur. I'm just sad that it still takes even *some* upper-level config files (like hosts.cfg and services.cfg - obviously SOME have to be files. Like "where-is-the-MySQL-server.cfg"). But, then, I have used and loved MySQL since (I realize now) it sucked. On Thu, 2003-09-25 at 12:25, Mark Arnold wrote: > Sorry, no advice but rather a question: > Why do you want to switch "back" to rather "unintelligent" files instead of having a high-level data storage like a database? Did > you encounter any problems with storing the data in the database? > > I am planning to set up Nagios for our network within the next weeks ( if time permits :( ) and I am planning on using database > support rather than just flat files. It seems that there are many advantages to a database: > - better performance > - better scalability > - easier to use the data independently from nagios in you own scripts if necessary (just some SQL-queries rather than having to > write a full parser) > > The only reason I could think of that could be held against going the database way is that using the file system might seem a little > more stable since you have less components that might cause problems compared to the db-way (here you have the sockets, db server > process, maybe even networking issues if the db is on a remote host). But I think as long as you keep nagios and the db on the same > physical server so that network problems will not be an issue, you should be really safe. We have been working with mysql for years > and never had one single problem that was really caused by the database system itself as far as I remember. If we had problems at > all, it was in a remote db-server environment caused by networking issues (DNS changes, network down, firewall, etc) or the harddisk > crashing - but that will kill you anyway, no matter what route you go... > > So without having practical nagios experience yet, I would say keep the db - move it to the same server you are running the nagios > process on if it is not there yet). > > MARK > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Luis-Alberto Garcia > > Sent: Wednesday, September 24, 2003 2:53 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Dropping mysql suport from an instalation > > > > > > I've decided to drop mysql support from my running nagios installation. > > Am I right? Hope so. > > How could I do it efficiently and with no data lost? > > Where can I get a script to dump the db data into the corresponding > > template-based files? > > Any advice? Thanks. > > -- > > Luis-Alberto Garc?a Luc?a > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Thu Sep 25 21:31:11 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Thu, 25 Sep 2003 14:31:11 -0500 Subject: Nagios showcase project ! In-Reply-To: <3F732CC9.6000502@intransa.com> References: <1064509159.455.19.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> <3F732CC9.6000502@intransa.com> Message-ID: <1064518271.2704.17.camel@localhost> On Thu, 2003-09-25 at 12:58, Sean Perry wrote: > Yeah I did something similar as well. I have a xml file which defines > hosts and a script which reads it and outputs the nagios .cfg files. > > > terminator > linux > engr-srv > > http > > > > My script takes groups and types and automatically adds service checks > for things like memory, cpu, etc. If the host is a win2k machine it > also use check_nt to find out which drives it has and lists them for > disk usage checks. > > One of the things that drove me crazy about the nagios cfg format is > there is so much duplication. This lets me easily define and change > machines and not forget to update one of the files. > > As for the XML itself, well I had never written an XML based app and > this seemed like a good project to learn with. Not one of those XML > everywhere types, honest. The only reason I didn't make an "spawner" type script (by that I mean a script that takes one format and uses it to spawn another) is because things were still in flux at the time as to what hosts needed what monitoring. I've not looked into nagios 2.0 much, but I really hope it is moving towards more template-based configuration. The repetition is killing me. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From darrenh at gallagher.co.nz Thu Sep 25 22:19:58 2003 From: darrenh at gallagher.co.nz (Darren Harrison) Date: Fri, 26 Sep 2003 08:19:58 +1200 Subject: Nagios + SMS = TRUE? In-Reply-To: References: Message-ID: Hi Stefan, Yes it is possible to have alerting just for non-work hours. There is a "nonworkhours" timeperiod set up by default but you can define any timeperiods that you need. In our setup I have nonworkhours messages being sent to an email address provided by the cell phone company which is an email -> sms gateway. So we have after hours text messages... You probably need to also create a specific "notify-by-sms" and "host-notify-by-sms" command since you have a limited number of characters to work with. I haven't done it yet but it might be a good idea to look at txt'ing message on escalation as well... Darren. > From: "Stefan Jakobsson" > Hello all! > > We are in the process of setting up an SMS-gateway for our customers, > and I want to know if and how you can get Nagios to use that for alerting > us during "non-work" hours? > > I assume that since the SMS-gateway accepts e-mails as source I can just set > up a new contactgroup for off-hours and have the mail posted to the > SMS-gateway > instead? > > Anyone have experience in setting up this kind of function and ready to > share > some experiences? > > Regards, > Stefan Jakobsson ########################################################################### This e-mail is confidential and may contain information subject to legal privilege. If you are not the intended recipient please advise us of our error by return e-mail then delete this e-mail and any attached files. You may not copy, disclose or use the contents in any way. The views expressed in this e-mail may not be those of Gallagher Group Ltd or subsidiary companies thereof. ########################################################################### -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeld at bnl.gov Thu Sep 25 22:59:37 2003 From: jeld at bnl.gov (Dmitriy Kropivnitskiy) Date: Thu, 25 Sep 2003 16:59:37 -0400 Subject: Plugin output question Message-ID: <3F735739.6050706@bnl.gov> Hello all. I have just signed up for nagios maiiling lists, and I am not sure if this question belongs here or somewhere else. I am setting up nagios on our site, to monitor few hundreds UNIX boxes. I have created a plugin to monitor disk usage, different from the default in the way that it monitors all the localy mounted file systems. As output I have included something like this: ------------------------------------------------------------------------------ OK: / (/dev/sda2) - 76% (2.4G of 3.3G)
OK: /var (/dev/sda3) - 7% (321M of 4.8G)
------------------------------------------------------------------------------ where it would change the service state if any of the FSs went beyond the limit and highlight the line with the particular mount point in red. Since some of our Sun servers have quite a few mount points, I ran into the plugin output limit. I have changed the value of MAX_PLUGINOUTPUT_LENGTH to 1024, recompiled and everything seems working nicely. I have following questions: 1. Is this change of limit going to bite me in the arse at some other place in the program? 2. Would it be a good idea to make mandatory --verbose switch for plugins to provide more or less information depending on the context (i.e. provide a one-liner in Service Status Details screen and a long description in Service State Information screen). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crowderlg at ldschurch.org Fri Sep 26 01:00:16 2003 From: crowderlg at ldschurch.org (Larry Crowder) Date: Thu, 25 Sep 2003 17:00:16 -0600 Subject: Host Status not updating Message-ID: Has someone seen a situation where the status of some hosts (about 10 or so out of three hundred) is not updating correctly? These hosts do not seem to be consistently the same ones, but several seem to not correctly realize that the host is actually up not down. I have defined the hosts very much the same way, as far as check and notification. I have researched this quite a bit today, without any good ideas. Any help appreciated, Larry C ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Fri Sep 26 01:05:07 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 25 Sep 2003 18:05:07 -0500 Subject: NRPE/SSL error - solution In-Reply-To: <3F732374.3020100@brightlane.com> References: <3F732374.3020100@brightlane.com> Message-ID: <3F732E53.23566.45A595@localhost> Good digging - I'll get this added to the FAQs. On 25 Sep 2003 at 13:18, Greg Haygood wrote: > RE: CHECK_NRPE: Error - Could not complete SSL handshake > > I ran into this NRPEv2 / SSL error in my environment yesterday, but > only with my Solaris 7 & 8 systems. > > After wringing my hair out and digging around with truss, I figured > out the problem on my Solaris 8 boxen. The files > /devices/pseudo/random* (linked through /dev/*random, and provided by > Sun patch 111238) were not readable by the nagios user I use to launch > NRPE. Making the character devices world-readable solved it. > > My lone sol7 box is still a mystery, since it's using the prng stuff > and no the Sun patch. But the sol8 systems are more important, > anyway. Maybe I'll use it as an excuse to update that guy .... > > Hope this helps some other frustrated folks .... > > -g > > -- > Greg Haygood > ghaygood at brightlane.com > v) 678.385.2837 > Director of Operations > BrightLane, a TeamStaff, Inc. Company > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kagoryu at cssr.edu.ph Fri Sep 26 02:16:49 2003 From: kagoryu at cssr.edu.ph (Federico A. Gregorio) Date: Fri, 26 Sep 2003 08:16:49 +0800 Subject: NRPE/SSL error - solution References: <3F732E53.23566.45A595@localhost> Message-ID: <009701c383c3$7d96ebd0$e76517d2@hoshi> guys, how do i do this in debian? thanks. ----- Original Message ----- From: "Ethan Galstad" To: Sent: Friday, September 26, 2003 7:05 AM Subject: Re: [Nagios-users] NRPE/SSL error - solution > Good digging - I'll get this added to the FAQs. > > > On 25 Sep 2003 at 13:18, Greg Haygood wrote: > > > RE: CHECK_NRPE: Error - Could not complete SSL handshake > > > > I ran into this NRPEv2 / SSL error in my environment yesterday, but > > only with my Solaris 7 & 8 systems. > > > > After wringing my hair out and digging around with truss, I figured > > out the problem on my Solaris 8 boxen. The files > > /devices/pseudo/random* (linked through /dev/*random, and provided by > > Sun patch 111238) were not readable by the nagios user I use to launch > > NRPE. Making the character devices world-readable solved it. > > > > My lone sol7 box is still a mystery, since it's using the prng stuff > > and no the Sun patch. But the sol8 systems are more important, > > anyway. Maybe I'll use it as an excuse to update that guy .... > > > > Hope this helps some other frustrated folks .... > > > > -g > > > > -- > > Greg Haygood > > ghaygood at brightlane.com > > v) 678.385.2837 > > Director of Operations > > BrightLane, a TeamStaff, Inc. Company > > > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 26 02:59:18 2003 From: james at lovedthanlost.net (James Turnbull) Date: Fri, 26 Sep 2003 10:59:18 +1000 Subject: Nagios + SMS = TRUE? References: <20030925145937.GC52772@radix.cryptio.net> Message-ID: <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> >that and it works well. The only thing I'd add is that we use a rate-limiter >script for alerting to not overwhelm the pagers/SMS phones... we only will send >5 pages in 5 minutes; any more than that, we don't send them, and just send a ">Too many pages" page, which everyone understands to mean "Bad things have >happened". This is a great idea - we have just started looking at this ourselves. Would you be adverse to sharing the script? Regards James Turnbull ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From shane at emphasys.net Fri Sep 26 04:17:54 2003 From: shane at emphasys.net (Shane Allen) Date: Thu, 25 Sep 2003 21:17:54 -0500 Subject: Global event handlers appear not to work Message-ID: <20030926021754.GA16305@sell.com> Below should be everything necessary to diagnose my problem, I hope. I have written two perl scripts, both of which are installed in /usr/local/bin. jabber-send.pl establishes a connection to our jabber server and sends $ARGV[0] to $ARGV[1]. for example: jabber-send.pl "jabber.test.com/announce/online" "This is a test" nagios-jabber-event-handler formats a message based on stuff it gets from nagios, and sends in the event of a HARD state: for example: nagios-jabber-event-handler "CRITICAL" "HARD" "5" "host" "svc" "blah" "foobar" it sends the message by calling jabber-send.pl. everything looks okay. The pre-flight check finds no problems. I never receive jabbers, unless I change the config below to point directly at jabber-send.pl. The problem with this is that I then get a jabber for every soft state as well as the hard states, which can be annoying to say the least. Also notice the debug file I generate (/var/log/nagios/blah) in my event handler script. In theory it is supposed to dump the ARGV array into that file when the script is called. If I run the script by hand, it works. Nagios' invocation of the script, however, never results in the creation of that file, in addition to the fact that I never get a jabber. Thoughts? jabber-send.pl: ------------------------------------------------------------------------------------------ #!/usr/bin/perl -w use strict; use Net::Jabber qw(Client); my $username = "foobar"; my $password = "baz"; my $server = "jabber.test.com"; my $to = $ARGV[0]; my $message = $ARGV[1]; my $resource = `hostname`;#.substr(rand(), 3, 6); #my $Con = new Net::Jabber::Client( debuglevel => 2, debugfile => "stdout" ); my $Con = new Net::Jabber::Client(); my $status = $Con->Connect(hostname => $server); if(!$Con->Connected()) { die "Error connecting to Jabber server\n"; } my @result = $Con->AuthSend(username => $username, password => $password, resource => $resource, ); if($result[0] ne "ok") { die "Error authenticating: $result[0], $result[1]\n"; } $Con->MessageSend( to => $to, body => $message, type => "chat", priority => 1000, ); $Con->Disconnect() if $Con->Connected(); ------------------------------------------------------------------------------------------ nagios-jabber-event-handler: ------------------------------------------------------------------------------------------ #!/usr/bin/perl -w use strict; use Data::Dumper; open(FILE, '>/var/log/nagios/blah')||die('wtf'); print FILE Dumper(\@ARGV); close FILE; my $state = $ARGV[0]; my $type = $ARGV[1]; my $attempt = $ARGV[2]; my $user = $ARGV[3]; my $host = $ARGV[4]; my $svc = $ARGV[5]; my $msg = $ARGV[8]; if($svc eq "none") { $msg = "$host is $state $msg"; } else { $msg = "$host/$svc is $state $msg"; } #send message if($type eq "HARD") { `/usr/local/bin/jabber-send.pl "$user" '$msg'`; } else { `/usr/local/bin/jabber-send.pl "$user" 'Not a hard error state: $msg'`; } ------------------------------------------------------------------------------------------ relevant lines from nagios.cfg: ------------------------------------------------------------------------------------------ global_host_event_handler=jabber-host-event-handler global_service_event_handler=jabber-service-event-handler ------------------------------------------------------------------------------------------ relevant lines from command.cfg: ------------------------------------------------------------------------------------------ define command{ command_name jabber-host-event-handler command_line /usr/local/bin/nagios-jabber-event-handler "$SERVICESTATE$" "$STATETYPE$" "$SERVICEATTEMPT$" "jabber.sell.com/announce/online" "$HOSTALIAS$" "$SERVICEDESC$" "at $DATETIME$: $HOSTADDRESS$; $OUTPUT$" } define command{ command_name jabber-service-event-handler command_line /usr/local/bin/nagios-jabber-event-handler "$HOSTSTATE$" "$STATETYPE$" "$HOSTATTEMPT$" "jabber.sell.com/announce/online" "$HOSTALIAS$" "none" "at $DATETIME$: $HOSTADDRESS$; $OUTPUT$" } ------------------------------------------------------------------------------------------ -- Shane Allen http://www.emphasys.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Sep 26 05:20:47 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Thu, 25 Sep 2003 23:20:47 -0400 Subject: Plugin output question In-Reply-To: <3F735739.6050706@bnl.gov> References: <3F735739.6050706@bnl.gov> Message-ID: <1064546446.8803.3.camel@miles.debisschop.net> On Thu, 2003-09-25 at 16:59, Dmitriy Kropivnitskiy wrote: > Hello all. > > I have just signed up for nagios maiiling lists, and I am not sure if > this question belongs here or somewhere else. > I am setting up nagios on our site, to monitor few hundreds UNIX boxes. > I have created a plugin to monitor disk usage, different from the > default in the way that it monitors all the localy mounted file systems. > As output I have included something like this: > ------------------------------------------------------------------------------ > OK: / (/dev/sda2) - 76% (2.4G of > 3.3G)
OK: /var (/dev/sda3) - 7% (321M of > 4.8G)
> ------------------------------------------------------------------------------ Try the check_disk on CVS HEAD -- it does what you want, but a tighter output format. (Except thet you have to look for asterick to see whihc partition is the problem (because html exceeds the line lentgh limit) > where it would change the service state if any of the FSs went beyond > the limit and highlight the line with the particular mount point in red. > Since some of our Sun servers have quite a few mount points, I ran into > the plugin output limit. I have changed the value of > MAX_PLUGINOUTPUT_LENGTH to 1024, recompiled and everything seems working > nicely. I have following questions: > > 1. Is this change of limit going to bite me in the arse at some other > place in the program? > 2. Would it be a good idea to make mandatory --verbose switch for > plugins to provide more or less information depending on the context > (i.e. provide a one-liner in Service Status Details screen and a long > description in Service State Information screen). The plugins strive to keep below 384 unless the --verbose switch is given - it's a reasonable practive and had precedent. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Fri Sep 26 06:03:33 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 25 Sep 2003 23:03:33 -0500 Subject: side.html In-Reply-To: <1064423342.18859.8.camel@ttnet-c0s0-clws-122.site0.cust0.ttnet> References: Message-ID: <3F737445.17987.156EBAD@localhost> This sounded like a good idea, so I'm committing the patch to the HEAD of CVS (2.0). I hacked the status CGI a bit to take a host name or host address for the search. Wildcard support isn't available (it might be later), but the status CGI only displays details for one host at a time, so I don't know how useful it would be (other than to shorten keystrokes). Perhaps the first host name that matches the pattern would be the one to get displayed... BTW, someone else (I don't recall who) had posted this search feature patch a few months back, but I forgot to incorporate it at the time. On 24 Sep 2003 at 12:09, jeff vier wrote: > It's not smart like that. it's a super simple little form that's just > pushing a single variable (host) to the status.cgi - there's no > "brains" in there. > > I want to be able to search by IP (we are very IP-centric, here). I'm > going to hack status.cgi a bit and see what I can whip up to that end. > > On Wed, 2003-09-24 at 12:02, Cook, Garry wrote: > > These are both very cool. However I only seem to be able to search > > using the full hostname. Is there any way to search using a partial > > name, or wildcards? > > > > Garry W. Cook, CCNA > > Network Infrastructure Manager > > MACTEC, Inc. - http://www.mactec.com/ > > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > > > -----Original Message----- > > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > > Sent: Wednesday, September 24, 2003 9:21 AM > > > To: Williams, P. Lane > > > Cc: nagios-users > > > Subject: Re: [Nagios-users] side.html > > > > > > > > > Not to be fussy, but TYPE="TEST" isn't legitimate HTML. > > > > > > I distilled it down for my sidebar - cut out a good amount of the > > > spacing, dropped the "Submit" button (hitting Enter works just > > > fine) and just added it to the existing table set instead of > > > starting a new one. An excellent idea, though, and I am definitely > > > stealing it from you :) > > > > > > I put mine just above "Comments" (so, at the resolution I run at, > > > it's right at the bottom of the bar), FYI. > > > > > > Here is my version: > > > > > > > > > > > >
> > target="main" class="NavBarItem" METHOD="GET"> > > > Host Search > > >
> > > > > > > > > --------- > > > > > > On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote: > > > > For those interested. I had a request to add a simple host > > > search to > > > > the Nagios side bar. I thought that someone else may find > > > use in it. > > > > I added the snippet (below) to the end of the side.html file > > > > under ~nagios/share/ before . > > > > > > > > Lane > > > > > > > >
> > > class="NavBarItem" METHOD="GET">

> > > > > > > > > > > > > > > > > > > >
Host Search
> > > >
> > > > > > > >

> > > >
> > > > > > > > > > > > ------------------------------------------------------- > > > > This sf.net email is sponsored by:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 nagios.org Fri Sep 26 06:08:23 2003 From: nagios at nagios.org (Ethan Galstad) Date: Thu, 25 Sep 2003 23:08:23 -0500 Subject: Odd Multiple IP Address Problem In-Reply-To: <20030925135901.97776.qmail@web13403.mail.yahoo.com> References: <20030925135901.97776.qmail@web13403.mail.yahoo.com> Message-ID: <3F737567.2418.15B596A@localhost> You can define the address anyway you'd like. What you'll have to make sure of is that the plugins/scripts you're using know how to understand/process the address format you're using. The $HOSTADDRESS$ macro will contain whatever text you enter in the address field. On 25 Sep 2003 at 6:59, Frank Tanner III wrote: > In the FAQ, it says that if you have a device, such as > a router, with multiple IP address that you can enter > them in the address field as 192.168.8.1,192.168.8.2 > etc. This does not work. It gives an "Invalid Host" > error in the host status screen and shows the host as > down. > > I ahve also tried it with a space between the comma > and the second IP address. No luck. What am I doing > wrong? > > Thank you. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bdunn at rdac.com.au Fri Sep 26 09:27:35 2003 From: bdunn at rdac.com.au (Brad Dunn) Date: Fri, 26 Sep 2003 15:27:35 +0800 Subject: inability to locate plugins Message-ID: <47287D7F1C9A1C4B99EB7D407FCEE696017603@rdaex01.rdac.com.au> Hi, I'm running Nagios on a Redhat 9 box and have selected a bunch of test hosts to run a couple of checks against (mostly ping) and when I check it out to see if its checking the hosts. It indicates to me that my plugin may be missing. [Return code 127]. I checked out all the articles and from what I can gather, my issue is in relation to it not being able to find out where check_ping is or where its defined. I've double checked my resource.cfg file and made sure its pointing to the check_* files. Everything looks ok. Its not giving me any config errors either when I start it up so I think most of my config files are correct. Ive actually copied most of my config's from a previous nagios box I had running. Any ideas on what I can check, I cant find anything but "cant locate plugin" in any of the log files. - Brad -----Original Message----- From: Ethan Galstad [mailto:nagios at nagios.org] Sent: Friday, 26 September 2003 12:08 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Odd Multiple IP Address Problem You can define the address anyway you'd like. What you'll have to make sure of is that the plugins/scripts you're using know how to understand/process the address format you're using. The $HOSTADDRESS$ macro will contain whatever text you enter in the address field. On 25 Sep 2003 at 6:59, Frank Tanner III wrote: > In the FAQ, it says that if you have a device, such as > a router, with multiple IP address that you can enter > them in the address field as 192.168.8.1,192.168.8.2 > etc. This does not work. It gives an "Invalid Host" > error in the host status screen and shows the host as > down. > > I ahve also tried it with a space between the comma > and the second IP address. No luck. What am I doing > wrong? > > Thank you. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ciriarte at personal.com.py Fri Sep 26 11:17:47 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Fri, 26 Sep 2003 05:17:47 -0400 Subject: No fresh data Message-ID: <04256DAD.00341BF5.00@asusis-mx1.personal.com.py> I've setup Nagios to run various test, the critical ones every 1 minute and the other every 5, it schedules the check, but some stay sometimes near an hour unchecked, I need to get fresher checks!!! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From g.vickers at qut.edu.au Fri Sep 26 10:30:33 2003 From: g.vickers at qut.edu.au (Greg Vickers) Date: Fri, 26 Sep 2003 18:30:33 +1000 Subject: inability to locate plugins In-Reply-To: <47287D7F1C9A1C4B99EB7D407FCEE696017603@rdaex01.rdac.com.au > References: <47287D7F1C9A1C4B99EB7D407FCEE696017603@rdaex01.rdac.com.au > Message-ID: <5.2.0.9.2.20030926182723.00bb3fe8@imap.qut.edu.au> Brad, This most often happens when your command definitions are not pointing to your executables, or there is a permission problem on your executables, i.e. nagios doesn't have permission to execute them. Double-check your command definitions and make sure they are pointing to your executables (expand out the command_line manually and run it from the command prompt for example) and check that your executables are in group 'nagios' or that the user nagios in in the group associated with your executables. HTH, Greg At 05:27 PM 26/09/2003, Brad Dunn wrote: >Hi, I'm running Nagios on a Redhat 9 box and have selected a bunch of >test hosts to run a couple of checks against (mostly ping) and when I >check it out to see if its checking the hosts. It indicates to me that >my plugin may be missing. [Return code 127]. I checked out all the >articles and from what I can gather, my issue is in relation to it not >being able to find out where check_ping is or where its defined. I've >double checked my resource.cfg file and made sure its pointing to the >check_* files. Everything looks ok. Its not giving me any config errors >either when I start it up so I think most of my config files are >correct. Ive actually copied most of my config's from a previous nagios >box I had running. > >Any ideas on what I can check, I cant find anything but "cant locate >plugin" in any of the log files. > >- Brad > >-----Original Message----- >From: Ethan Galstad [mailto:nagios at nagios.org] >Sent: Friday, 26 September 2003 12:08 PM >To: nagios-users at lists.sourceforge.net >Subject: Re: [Nagios-users] Odd Multiple IP Address Problem > >You can define the address anyway you'd like. What you'll have to >make sure of is that the plugins/scripts you're using know how to >understand/process the address format you're using. The >$HOSTADDRESS$ macro will contain whatever text you enter in the >address field. > >On 25 Sep 2003 at 6:59, Frank Tanner III wrote: > > > In the FAQ, it says that if you have a device, such as > > a router, with multiple IP address that you can enter > > them in the address field as 192.168.8.1,192.168.8.2 > > etc. This does not work. It gives an "Invalid Host" > > error in the host status screen and shows the host as > > down. > > > > I ahve also tried it with a space between the comma > > and the second IP address. No luck. What am I doing > > wrong? > > > > Thank you. > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > >Ethan Galstad, >Nagios Developer >--- >Email: nagios at nagios.org >Website: http://www.nagios.org > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null ================================= Greg Vickers Computer Systems Officer Student Support and Systems, Teaching and Learning Support Systems, Queensland University of Technology, Kelvin Grove Campus, Brisbane, Australia CRICOS No 00213J Ph: 07 3864 8276 Fax: 07 3864 5425 Mob: 0416 001 674 SD: #66147 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ciriarte at personal.com.py Fri Sep 26 11:37:46 2003 From: ciriarte at personal.com.py (Ciro Arnaldo Iriarte) Date: Fri, 26 Sep 2003 05:37:46 -0400 Subject: SNMP check & Tru64 Message-ID: <04256DAD.00353F82.00@asusis-mx1.personal.com.py> I'm not getting true info from ram and swap on our Tru64 servers, i guess i should add the compaq mibs to the servers to get that info, swap, ram, cpu load and temperature, etc. I want to get ride of f (sorry if my english is not good) rsh. Anybody worked in this scenario before?? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.sargent at webgravity.co.uk Fri Sep 26 10:54:57 2003 From: dan.sargent at webgravity.co.uk (Dan Sargent) Date: Fri, 26 Sep 2003 09:54:57 +0100 Subject: inability to locate plugins In-Reply-To: <47287D7F1C9A1C4B99EB7D407FCEE696017603@rdaex01.rdac.com.au> References: <47287D7F1C9A1C4B99EB7D407FCEE696017603@rdaex01.rdac.com.au> Message-ID: <01bd01c3840b$dd330180$7d65000a@ibnetplc.com> If you have installed the rpm package for the nagios-plugins, you will need to rebuild it, as the pathing is wrong for ping, and smbclient, on most of them. Dan -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Brad Dunn Sent: 26 September 2003 08:28 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] inability to locate plugins Hi, I'm running Nagios on a Redhat 9 box and have selected a bunch of test hosts to run a couple of checks against (mostly ping) and when I check it out to see if its checking the hosts. It indicates to me that my plugin may be missing. [Return code 127]. I checked out all the articles and from what I can gather, my issue is in relation to it not being able to find out where check_ping is or where its defined. I've double checked my resource.cfg file and made sure its pointing to the check_* files. Everything looks ok. Its not giving me any config errors either when I start it up so I think most of my config files are correct. Ive actually copied most of my config's from a previous nagios box I had running. Any ideas on what I can check, I cant find anything but "cant locate plugin" in any of the log files. - Brad -----Original Message----- From: Ethan Galstad [mailto:nagios at nagios.org] Sent: Friday, 26 September 2003 12:08 PM To: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Odd Multiple IP Address Problem You can define the address anyway you'd like. What you'll have to make sure of is that the plugins/scripts you're using know how to understand/process the address format you're using. The $HOSTADDRESS$ macro will contain whatever text you enter in the address field. On 25 Sep 2003 at 6:59, Frank Tanner III wrote: > In the FAQ, it says that if you have a device, such as > a router, with multiple IP address that you can enter > them in the address field as 192.168.8.1,192.168.8.2 > etc. This does not work. It gives an "Invalid Host" > error in the host status screen and shows the host as > down. > > I ahve also tried it with a space between the comma > and the second IP address. No luck. What am I doing > wrong? > > Thank you. > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when > reporting any issue. ::: Messages without supporting info will risk > being sent to /dev/null > Ethan Galstad, Nagios Developer --- Email: nagios at nagios.org Website: http://www.nagios.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 in-bound email has been scanned for all viruses by the MessageLabs SkyScan service. For more information, visit http://www.messagelabs.com ________________________________________________________________________ begin 666 winmail.dat M>)\^(CH(`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <` M& ```$E032Y-:6-R;W-O9G0 at 36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$& M@ ,`#@```-,'"0`:``D`-@````4`00$!`Y &`,0,```E````"P`"``$````+ M`",```````,`)@``````"P`I```````#`"X```````,`-@``````'@!P``$` M```K````6TYA9VEO_ZU39YU MNS+ [^NLPH ```,`% X!````"P`?#@$````"`0D0`0```+\(``"[" ``!1,` M`$Q:1G44GLY6`P`*`')C<&0A@(!/@=F5*( N M`!_ ">#%'C%O'H!E8G4#$!XP]&ET(+!A!" >4 at JP'E#M"X!G M': $('<#8"-A'U)6<"-1(H%N'C!S!M!CWFP(D (P(+ "(" $8!W0YR6@'0`> M46TN"J(*A J UD0`<":Z+2AB3P40('%W!T %T >0$C4C@$):)A3P?P M"8 3X 5 .2 &X'C_)+,=8Q00'A WL!XA/5 B`+YN$] F(2:T#K F`6 at E\=\B ML2'!,> ]006@=0M0'9#W)C$3T 60:P0@'Q +<28!6B at EXFPY8"1B*22S=WL> M8 . at 22:T0D,B426@=?\%0"&Q%! =D1T`(F $($)#=R-2'E) LRX% \P> 'D$C(":T;?=#D2!3)=!A.6 S8"70! 'K(U%'X%L]<'0(< .@ M!:#E`0`@#B W74?A0C0>(=]%HAWQ'D(FM K = W@'A#_0I$DT0-21$$]L4RA M`Y%"P/T>47(@L$G1! $*4"."2D$_&" +8$YP);$AL45Q;F^_+34S8"-2`:!! MX2&Q9D at Q[T631%$8($(T7R1B(X(%L;]4A$:"`0$+@ F 1^$G'8#])K1D"&!3 M at DS&2=$8(#84^"YC9B0!`Q =D"3"`,#G3!%0\%8E<&\+@$YP1R*W(P;T*!7C!'XN<$(%*!4!!I=B-220$`O*+\ISD5) M,0. at 1P= UQW1'C MK$ ?U"XLP3C ?S(:*F!LD$J (+ RWTPQ.O$S\"!0331/ M-5\V;S=VDSUP-]]/9!XP374MX/,%($'A25 0P(&06.$$(-90`V!3 at 6TFNED= M,4_BWU:4'D,N\(*D7]%W2H$=(9XG'C E0$T`1^ @5SVBWX92(3$=8R&Q275A M30!:A-\F,2.123(BQ"!4+P3T!"#OAE)4L2Z0(U)K4H 'X$"POP?@B#82:T)$A/4U0`041$4D534R3_ M2F$%`"' (1-@$0&02D%/!YB:5&4?\=)SU0`0!?4'ZP(+!0\#^Q_R*@FH8]4 - at 1;!0 M8@/P'E#_)="!V85FB<,=(D_BE&.:A@\F8I2VE9LBDC$Y,BZ0,38X+J3@,2RD MB/<.4)J5%"!CD&,CD5? !Y']7O)W!;!>@4?R7S%.LV_ 39L`=@= ;) @2"7Q M(O^E]V"2E+9 LF(22Z $( 3Q?PGA)+2,<2*TJQ.>2%? =]YN)J6:X)J'(I!H M9D)WL-];P0B!(D*?=#U09R31'E(4$& 1 M'C"@:(;QWDXYD1K0I^*'(V$>L$R@[U? (U&:AB/#/ZYND)"8TO\=(:Y?FH9T MT[JON[^\SK?(^2.13JFT6- at ZD<)X&N: MAE<^X+)!4Z._'R# X!U0;+ =@*Y(: ) \' Z+R]C,\(R66 #*P#_UFN!? MQ6_&?\=*FH;_. I*83DA7>)^(P<*(6*==%+;(J MIG=X^2:TP8!B`)"9\<-F=__D8"T`XGWE3W3$YP_H'[S?_WRTOF^_?\",P8_" MFL-_Q(K_QT_R3\>/WW;)/\I&RN_.3__O&,W/SM_/[V#&T9_2K].__]3/)M+6 M/]="_)C7S]C?V>;_VM_;Z^8/".\)_^D_ZD_K7__L;^U_[H_OG_"O$X\4G_/? M__3O]?_W#_@?^2_Z/_M/_%___6_^?_^/U3;6+P)_`X\$G_\%KP:_W=85#RK? M*^\L_\@8^Z;3<7 M:G"-00TE/:!"D/]*L$1QBM"9(D\!JG%- at E]0OSPP&. P M$3EALV%UM4PY`.%"D%-K>5-MD9#4&.'[G9)'X$:J<6=P5B(=<8]2_R"S7U#C MD>/J7Z!UTU&PXX"_Q'(I?SC_.@\['\>^?3U `!X`0A !````/0```#PT-S(X M-T0W1C%#.4$Q0S1".3E%0C=$-# W1D-%138Y-C Q-S8P,T!R9&%E># Q+G)D M86,N8V]M+F%U/@`````#``E9`0````L``( (( 8``````, ```````!&```` M``.%`````````P`"@ @@!@``````P ```````$8`````$(4````````#``> M"" &``````# ````````1@````!2A0``?6X!`!X`"8 (( 8``````, ````` M``!&`````%2%```!````! ```#DN, `+`!& "" &``````# ````````1@`` M```&A0````````,`$H (( 8``````, ```````!&``````&%````````"P`; M@ @@!@``````P ```````$8`````#H4````````#`!R "" &``````# ```` M````1@`````1A0````````,`'H (( 8``````, ```````!&`````!B%```` M`````@'X#P$````0````D8=;KGO^M4V>=;LRP._KK (!^@\!````$ ```)&' M6ZY[_K5-GG6[,L#OZZP"`?L/`0```$P`````````.*&[$ 7E$!JANP@`*RI6 MP@``;7-P"YP >Use MySQL, script a quick loop. > >That's how I did it, anyway. > >Then I decided it needed to be a smarter system, and I wront a proper >script. Takes about 5 seconds to add a new host's hostextinfo and >serviceextinfo. and it's dynamic. > >I can post it, if anyone's interested. it's pretty simple (to me, >anyway). I would be interested to look at your script, would appreciate it if you posted it. -Thanx for all input, seems like templates suggested by Brad is the way to go. I like to have my config parameters in text files, and it does not seem to hard to write some logic to automate it. cheers /andr? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Fri Sep 26 13:23:09 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 26 Sep 2003 07:23:09 -0400 Subject: inability to locate plugins In-Reply-To: <01bd01c3840b$dd330180$7d65000a@ibnetplc.com> References: <01bd01c3840b$dd330180$7d65000a@ibnetplc.com> Message-ID: <1064575388.22945.4.camel@miles.debisschop.net> On Fri, 2003-09-26 at 04:54, Dan Sargent wrote: > If you have installed the rpm package for the nagios-plugins, you will need > to rebuild it, as the pathing is wrong for ping, and smbclient, on most of > them. After building the RPM, I have installed it on 3 different RH9 servers. I have no indication that the paths compiled into the plugins are wrong. Nor have I heard any reports to that effect. Either you know something I don't, or I am not undertsanding you. Since this bears upon creating uasble RPMs in the future, could you elaborate? Perhap you nean that the config file in nagios may not point to the same file path as the plugins? If so, editing the config file (which is part of nagios in the default install anyway) might be easier than rebuilding. -- Karl > Dan > > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Brad Dunn > Sent: 26 September 2003 08:28 > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] inability to locate plugins > > > Hi, I'm running Nagios on a Redhat 9 box and have selected a bunch of > test hosts to run a couple of checks against (mostly ping) and when I > check it out to see if its checking the hosts. It indicates to me that > my plugin may be missing. [Return code 127]. I checked out all the > articles and from what I can gather, my issue is in relation to it not > being able to find out where check_ping is or where its defined. I've > double checked my resource.cfg file and made sure its pointing to the > check_* files. Everything looks ok. Its not giving me any config errors > either when I start it up so I think most of my config files are > correct. Ive actually copied most of my config's from a previous nagios > box I had running. > > Any ideas on what I can check, I cant find anything but "cant locate > plugin" in any of the log files. > > - Brad > > -----Original Message----- > From: Ethan Galstad [mailto:nagios at nagios.org] > Sent: Friday, 26 September 2003 12:08 PM > To: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Odd Multiple IP Address Problem > > You can define the address anyway you'd like. What you'll have to > make sure of is that the plugins/scripts you're using know how to > understand/process the address format you're using. The > $HOSTADDRESS$ macro will contain whatever text you enter in the > address field. > > On 25 Sep 2003 at 6:59, Frank Tanner III wrote: > > > In the FAQ, it says that if you have a device, such as > > a router, with multiple IP address that you can enter > > them in the address field as 192.168.8.1,192.168.8.2 > > etc. This does not work. It gives an "Invalid Host" > > error in the host status screen and shows the host as > > down. > > > > I ahve also tried it with a space between the comma > > and the second IP address. No luck. What am I doing > > wrong? > > > > Thank you. > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 in-bound email has been scanned for all viruses by the MessageLabs > SkyScan > service. For more information, visit http://www.messagelabs.com > ________________________________________________________________________ > > > begin 666 winmail.dat > M>)\^(CH(`0:0" `$```````!``$``0>0!@`(````Y 0```````#H``$(@ <` > M& ```$E032Y-:6-R;W-O9G0 at 36%I;"Y.;W1E`#$(`0V ! `"`````@`"``$& > M@ ,`#@```-,'"0`:``D`-@````4`00$!`Y &`,0,```E````"P`"``$````+ > M`",```````,`)@``````"P`I```````#`"X```````,`-@``````'@!P``$` > M```K````6TYA9VEO M:6YS```"`7$``0```!8````!PX0+W'U#NM-NI9Y''J<`=I@%J4C)```"`1T, > M`0```"(```!33510.D1!3BY305)'14Y40%=%0D=2059)5%DN0T\N54L````+ > M``$.`````$ `!@X`1#2Z"X3#`0(!"@X!````& ````````"1AUNN>_ZU39YU > MNS+ [^NLPH ```,`% X!````"P`?#@$````"`0D0`0```+\(``"[" ``!1,` > M`$Q:1G44GLY6`P`*`')C<& M\P!0!%8_"%4'LA$E#E$#`0(`8VCA"L!S970R!@`&PQ$E]C,$1A.W,!(L$3,( > M[PGWMCL8'PXP-1$B#&!C`% S"PD!9#,V%E +IB!)*&8@>0A@(!/@=F5*( N > M M\ " +!T3`_ >`!_ ">#%'C%O'H!E8G4#$!XP]&ET(+!A!" >4 at JP'E#M"X!G > M': $('<#8"-A'U)6<"-1(H%N'C!S!M!CWFP(D (P(+ "(" $8!W0YR6@'0`> > M46TN"J(*A J UD0`<":Z+2AB3P40('%W!T %T >0 M%! 4`"UA-&1M"X! )4 =T',NNG,(86,!$ 6P'R N(6"Z=":T6P# `Q AL#HJ > MSY,KWRSD74\#H$)E$^!*;!T`3QT`0G(N\"!X1'5N)Y4&8 (P*J R;C8&404P > M)H!B$H$!T#" ,R P.#HR.":T'E0N`"J[+T\L^5-U8J9J!9 RH5M.+CE=':&W > M`: #$")@>2&B%[!C(R!/(O$@5":Z)K1(:2"P27HG'K!R,>$C4C@$):)A3P?P > M"8 3X 5 .2 &X'C_)+,=8Q00'A WL!XA/5 B`+YN$] F(2:T#K F`6 at E\=\B > ML2'!,> ]006@=0M0'9#W)C$3T 60:P0@'Q +<28!6B at EXFPY8"1B*22S=WL> > M8 . at 22:T0D,B426@=?\%0"&Q%! =D1T`(F $($)#=R-2'E) LRX M?PW at .>% \P> 'D$C(":T;?=#D2!3)=!A.6 S8"70! 'K(U%'X%L]<'0(< .@ > M!:#E`0`@#B W74?A0C0>(=]%HAWQ'D(FM K = W@'A#_0I$DT0-21$$]L4RA > M`Y%"P/T>47(@L$G1! $*4"."2D$_&" +8$YP);$AL45Q;F^_+34S8"-2`:!! > MX2&Q9D at Q[T631%$8($(T7R1B(X(%L;]4A$:"`0$+@ F 1^$G'8#])K1D"&!3 > M at DS&2=$8(#84^"YC9B0!`Q =D"3"`,#G3!%0\%8E<&\+@$YP1R*W( M*EFC1]%%'8#LP;T*!7C!'XN<$(%*!4!!I=B-220$` M(W $D -@% #_)K13(%!"1$4D\ &0`"!%8O]!P"3P( M7/,BD!@@1+4%L!@@-[#_1^$=@0#02Z =\5_R)&!8 at MUCKB<$($\C/5!P&"!? > M4/\(8%[1'^-2M3X13* 3X!XPZSPU)JM!7^%I`0`BH26Q_T]Y0D,[T4_2!4!3 > M\U_1(S1[(@`%0")N8SFT)K0 at 1"*_45)?TB8T.:%DE2:K+3%SMR>O*+\ISD5) > M,0. at 1P= UQW1'C MK$ ?U"XLP3C ?S(:*F!LD$J (+ RWTPQ.O$S\"!0331/ > M-5\V;S=VDSUP-]]/9!XP374MX/,%($'A25 0P(&06.$$(-90`V!3 at 6TFNED= > M,4_BWU:4'D,N\(*D7]%W2H$=(9XG'C E0$T`1^ @5SVBWX92(3$=8R&Q275A > M30!:A-\F,2.123(BQ"!4+P3T!"#OAE)4L2Z0(U)K4H 'X$"POP?@B# M'=$DT"]I(/\YP(+"A2H?40# AU2+EH;Q!E0>82:T)$A/4U0`041$4D534R3_ > M2F$%`"' (1-@$0&02D%/ ML0XP,O+#,Y0]L38Z-3D at L"I at NP!P15!4`' A8 7 29F :R.R#K Z)KH^'."4 > MU$;<05$@L$5Q=>!YB:5&4?\=)SU0`0!?4'ZP(+!0\#^Q_R*@FH8]4 - at 1;!0 > M8@/P'E#_)="!V85FB<,=(D_BE&.:A@\F8I2VE9LBDC$Y,BZ0,38X+J3@,2RD > MB/<.4)J5%"!CD&,CD5? !Y']7O)W!;!>@4?R7S%.LV_ 39L`=@= ;) @2"7Q > M(O^E]V"2E+9 LF(22Z $( 3Q?PGA)+2,<2*TJQ.>2%? =]YN)J6:X)J'(I!H > M9D)WL-];P0B!(D*?=#U09R31'E(4$& 1 > M'C"@:(;QWDXYD1K0I^*'(V$>L$R@[U? (U&:AB/#/ZYND)"8TO\=(:Y?FH9T > MT[JON[^\SK?(^2.13JFT6- at ZD<)X&N: > MAE<^X+)!4Z._'R# X!U0;+ =@*Y(: ) \' Z+R]C,\(R66 #*P#_UFN!? > MQ6_&?\=*FH;_. I*83DA7>)^( M+BJ:ACK1D'QP'A#W(J =DB4P=4P1/+5=<0"0GP(@(+!*!=,U0R M=D/T_Y%0 > M1$.:AA@@6R!.85-";&+_4.)'X-&2=;4CH6%11:)0\-YPUE;0`B$$!1!SP/=3 > M%/<4$&Z!(;$OG7'00('0& !KKGOP<*(6*==%+;(J > MIG=X^2:TP8!B`)"9\<-F=__D8"T`XGWE3W3$YP_H'[S?_WRTOF^_?\",P8_" > MFL-_Q(K_QT_R3\>/WW;)/\I&RN_.3__O&,W/SM_/[V#&T9_2K].__]3/)M+6 > M/]="_)C7S]C?V>;_VM_;Z^8/".\)_^D_ZD_K7__L;^U_[H_OG_"O$X\4G_/? > M__3O]?_W#_@?^2_Z/_M/_%___6_^?_^/U3;6+P)_`X\$G_\%KP:_W=85#RK? > M*^\L_\@8^Z;3<7 M:G"-00TE/:!"D/]*L$1QBM"9(D\!JG%- at E]0OSPP&. P > M$3EALV%UM4PY`.%"D%-K>5-MD9#4&.'[G9)'X$:J<6=P5B(=<8]2_R"S7U#C > MD>/J7Z!UTU&PXX"_Q'(I?SC_.@\['\>^?3U `!X`0A !````/0```#PT-S(X > M-T0W1C%#.4$Q0S1".3E%0C=$-# W1D-%138Y-C Q-S8P,T!R9&%E># Q+G)D > M86,N8V]M+F%U/@`````#``E9`0````L``( (( 8``````, ```````!&```` > M``.%`````````P`"@ @@!@``````P ```````$8`````$(4````````#``> > M"" &``````# ````````1@````!2A0``?6X!`!X`"8 (( 8``````, ````` > M``!&`````%2%```!````! ```#DN, `+`!& "" &``````# ````````1@`` > M```&A0````````,`$H (( 8``````, ```````!&``````&%````````"P`; > M@ @@!@``````P ```````$8`````#H4````````#`!R "" &``````# ```` > M````1@`````1A0````````,`'H (( 8``````, ```````!&`````!B%```` > M`````@'X#P$````0````D8=;KGO^M4V>=;LRP._KK (!^@\!````$ ```)&' > M6ZY[_K5-GG6[,L#OZZP"`?L/`0```$P`````````.*&[$ 7E$!JANP@`*RI6 > MP@``;7-P M;6%I;&)O>"YP M,# P.3$X-S5"044W0D9%0C4T1#E%-S5"0C,R0S!%1D5"04,T-#1%,T$P, `` > M```#``80X_]S70,`!Q /# ```P`0$ `````#`!$02 ```!X`"! !````90`` > M`$E&64]52$%614E.4U1!3$Q%1%1(15)035!!0TM!1T5&3U)42$5.04=)3U,M > M4$Q51TE.4RQ93U5724Q,3D5%1%1/4D5"54E,1$E4+$%35$A%4$%42$E.1TE3 > 15U)/3D=&3U)024X````` ` > end > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 mattb.net.nz Fri Sep 26 14:00:31 2003 From: nagios at mattb.net.nz (Matt Brown) Date: Sat, 27 Sep 2003 00:00:31 +1200 (NZST) Subject: Nagios with a Ring Topology Network Message-ID: Hi, I have a ring topology network as shown below that I wish to monitor with nagios. If i try to configure this network in nagios using the parents field of the host definition i get an error about circular parents. Can nagios handle a network of this type? If so what sort of configuration do I need? I am running Nagios 1.1 with the new templated config file. Example Network A ------ B ------ C | | | | D ------ E ------- F | | N Nodes A-E are the routers in the ring network, Node N is the nagios host. Regards -- Matt Brown ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From luis.alberto at uam.es Fri Sep 26 14:11:01 2003 From: luis.alberto at uam.es (Luis-Alberto Garcia) Date: Fri, 26 Sep 2003 14:11:01 +0200 Subject: Dropping mysql suport from an instalation In-Reply-To: References: Message-ID: <200309261411.01667.luis.alberto@uam.es> El Jue 25 Sep 2003 19:25, Mark Arnold escribi?: > Sorry, no advice but rather a question: > Why do you want to switch "back" to rather "unintelligent" files > instead of having a high-level data storage like a database? Did you > encounter any problems with storing the data in the database? > DB support sounds good, but unfortunately only a few tables are maintained (actually 12 and even less in Nagios 2.0) and without historical records! I am concerned about generating pretty "services availability reports" and, for that purpose, the relevant data is NOT in the DB but in "nagios.log" flat file (with daily rotation). From this point of view, DB data is absolutely irrelevant and do not justified the effort of maintaining mysql. Actually I'll not be the Nagios system manager and I should keep things as simple as possible. No way I could "sell" MySQL support. Make sense? If so, how could I get rid of mysql support efficiently and with no data lost? I might well try a reinstallation of Nagios without mysql support and add then the config and log files previously saved. It does not sound very clever, but being new to mysql that's all I can thing of, apart from asking for advice to this list. > I am planning to set up Nagios for our network within the next weeks > ( if time permits :( ) and I am planning on using database support > rather than just flat files. It seems that there are many advantages > to a database: - better performance > - better scalability > - easier to use the data independently from nagios in you own scripts > if necessary (just some SQL-queries rather than having to write a > full parser) > > The only reason I could think of that could be held against going the > database way is that using the file system might seem a little more > stable since you have less components that might cause problems > compared to the db-way (here you have the sockets, db server process, > maybe even networking issues if the db is on a remote host). But I > think as long as you keep nagios and the db on the same physical > server so that network problems will not be an issue, you should be > really safe. We have been working with mysql for years and never had > one single problem that was really caused by the database system > itself as far as I remember. If we had problems at all, it was in a > remote db-server environment caused by networking issues (DNS > changes, network down, firewall, etc) or the harddisk crashing - but > that will kill you anyway, no matter what route you go... > > So without having practical nagios experience yet, I would say keep > the db - move it to the same server you are running the nagios > process on if it is not there yet). > > MARK > > > -----Original Message----- > > From: nagios-users-admin at lists.sourceforge.net > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > Luis-Alberto Garcia > > Sent: Wednesday, September 24, 2003 2:53 AM > > To: nagios-users at lists.sourceforge.net > > Subject: [Nagios-users] Dropping mysql suport from an instalation > > > > > > I've decided to drop mysql support from my running nagios > > installation. Am I right? Hope so. > > How could I do it efficiently and with no data lost? > > Where can I get a script to dump the db data into the corresponding > > template-based files? > > Any advice? Thanks. > > -- > > Luis-Alberto Garc?a Luc?a > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > ::: reporting any issue. Messages without supporting info will risk > ::: being sent to /dev/null -- Luis-Alberto Garc?a Luc?a Grupo Ingenier?a de Software Tecnolog?as de la Informaci?n Universidad Aut?noma de Madrid Telf.- 34-912073352 / Fax.- 34-913973914 luis.alberto at uam.es http://rincon.uam.es/dir?cw=787332153320312 Nadie tiene libertad para ser libre, sino que, al no ser libre lucha por conseguir su libertad. Paulo Freire. ?NO A LA GUERRA! ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ghaygood at brightlane.com Fri Sep 26 14:21:18 2003 From: ghaygood at brightlane.com (Greg Haygood) Date: Fri, 26 Sep 2003 08:21:18 -0400 Subject: NRPE/SSL error - solution In-Reply-To: <009701c383c3$7d96ebd0$e76517d2@hoshi> References: <3F732E53.23566.45A595@localhost> <009701c383c3$7d96ebd0$e76517d2@hoshi> Message-ID: <3F742F3E.6020904@brightlane.com> I don't have a debian box to check, but you should have the char devices /dev/random and /dev/urandom. Make sure they are world-readable (0644). -g Federico A. Gregorio wrote: > guys, > > how do i do this in debian? > > thanks. > ----- Original Message ----- > From: "Ethan Galstad" > To: > Sent: Friday, September 26, 2003 7:05 AM > Subject: Re: [Nagios-users] NRPE/SSL error - solution > > > >>Good digging - I'll get this added to the FAQs. >> >> >>On 25 Sep 2003 at 13:18, Greg Haygood wrote: >> >> >>>RE: CHECK_NRPE: Error - Could not complete SSL handshake >>> >>>I ran into this NRPEv2 / SSL error in my environment yesterday, but >>>only with my Solaris 7 & 8 systems. >>> >>>After wringing my hair out and digging around with truss, I figured >>>out the problem on my Solaris 8 boxen. The files >>>/devices/pseudo/random* (linked through /dev/*random, and provided by >>>Sun patch 111238) were not readable by the nagios user I use to launch >>>NRPE. Making the character devices world-readable solved it. >>> >>>My lone sol7 box is still a mystery, since it's using the prng stuff >>>and no the Sun patch. But the sol8 systems are more important, >>>anyway. Maybe I'll use it as an excuse to update that guy .... >>> >>>Hope this helps some other frustrated folks .... >>> >>>-g >>> >>>-- >>>Greg Haygood >>>ghaygood at brightlane.com >>>v) 678.385.2837 >>>Director of Operations >>>BrightLane, a TeamStaff, Inc. Company >>> >>> >>> >>> >>>------------------------------------------------------- >>>This sf.net email is sponsored by:ThinkGeek >>>Welcome to geek heaven. >>>http://thinkgeek.com/sf >>>_______________________________________________ >>>Nagios-users mailing list >>>Nagios-users at lists.sourceforge.net >>>https://lists.sourceforge.net/lists/listinfo/nagios-users >>>::: Please include Nagios version, plugin version (-v) and OS when >>>reporting any issue. ::: Messages without supporting info will risk >>>being sent to /dev/null >>> >> >> >> >>Ethan Galstad, >>Nagios Developer >>--- >>Email: nagios at nagios.org >>Website: http://www.nagios.org >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Greg Haygood ghaygood at brightlane.com v) 678.385.2837 Director of Operations BrightLane, a TeamStaff, Inc. Company ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jeld at bnl.gov Fri Sep 26 15:37:52 2003 From: jeld at bnl.gov (Dmitriy Kropivnitskiy) Date: Fri, 26 Sep 2003 09:37:52 -0400 Subject: Plugin output question In-Reply-To: <1064546446.8803.3.camel@miles.debisschop.net> References: <3F735739.6050706@bnl.gov> <1064546446.8803.3.camel@miles.debisschop.net> Message-ID: <3F744130.7010502@bnl.gov> Karl DeBisschop wrote: >Try the check_disk on CVS HEAD -- it does what you want, but a tighter >output format. (Except thet you have to look for asterick to see whihc >partition is the problem (because html exceeds the line lentgh limit) > > But, this doesn't answer my question, my plugin works, I like the way it colors things in HTML, I just wanted to know if there is someplace in the code where something will screw up because of the changed limit. BTW, stripping HTML doesn't help much on a system with 40+ mounted partitions :) I might have to raise the limit to 2K to accomodate some of these monsters or do some more serious patching. >The plugins strive to keep below 384 unless the --verbose switch is >given - it's a reasonable practive and had precedent. > > Yes, that is what I am talking about, but AFAIU, Nagios never calls check scripts with --verbose unless specified at command_line and never captures any output beyond the firs line break. What I was thinking about is having 2 separate outputs stored depending on weather we need a short status on-liner or a nice description of the service state. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Fri Sep 26 15:41:02 2003 From: r.ford at pindar.com (Rob Ford) Date: 26 Sep 2003 14:41:02 +0100 Subject: APAN not displaying check disk results Message-ID: <3147432060r.ford@pindar.com> Hi All I'm having a few problems getting APAN to output disk data collected from nagios-stat. I have used the examples on the APAN site and so far I have the ping example working ...it shows correctly in the service detail screen and shows a selection of graphs when I click on the graph icon. I have again used the example in the APAN documentation and although it reports the disk usage as ok in the service screen, when I click on the graph icon it displays all the text but shows red crosses instead of the graphs. I have enclosed all the relevent files: apan.cfg #host ; service ; rrd-file ; args ; ds-names ; Comment ; Y-unit ; extra comm vanguard;Ping;/usr/local/nagios/rrds/vanguard-ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds beagle;disk_usage;/usr/local/nagios/rrds/beagle_disk_usage.rrd;/|/export/home;root:lINE2 home:LINE2;Disk usage;%; apan.defs #Base-directory for nagios: NAGIOSDIR=/usr/local/nagios #The directory where apan is installed APANDIR=$NAGIOSDIR/apan #The directory where Nagios plugins resides PLUGINSDIR=$NAGIOSDIR/libexec #The directory where Nagios .cfg-files resides ETCDIR=$NAGIOSDIR/etc # The directory where apans plugins resides PLUGSDIR=$APANDIR/plugs # The main config-file for apan CFGFILE=$APANDIR/apan.cfg # Path to rrdtool RRDTOOL=/usr/local/rrdtool/bin/rrdtool # Set DEBUG to 1 and define a DEBUGFILE to get debug-info from apan DEBUG=1 DEBUGFILE=/tmp/apan.debug # Set CGIDEBUG to 1 and define a CGIDEBUGFILE to get debug-info from the cgi's CGIDEBUG=1 CGIDEBUGFILE=/tmp/apancgi.debug # A list of colors that are used to draw the lines in the graphs. # Beware of the syntax!! COLS=("#ff0000" "#00ff00" "#0000ff" "#ffff00" "#ff00ff" "#00ffff" "#ff8080" "#808080" "#8080ff" ) # The type of image that is created. Valid values are PNG, GIF or GD IMGTYPE=PNG # #End Configuration checkcommands.cfg # 'apan' command definition define command{ command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ $SERVICEDESC$ $TIMET$ $ARG2$ $ARG3$ } services.cfg # Service definition for APAN ping define service { use generic-service host_name beagle service_description disk_usage name disk_usage check_command apan!disk!85!95 normal_check_interval 1 is_volatile 0 check_period 24x7 max_check_attempts 3 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options c,r } serviceextinfo.cfg define serviceextinfo{ host_name vanguard service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=vanguard&service=Ping icon_image graph.png icon_image_alt View graphs } define serviceextinfo{ host_name beagle service_description disk_usage notes_url /nagios/cgi-bin/apan.cgi?host=beagle&service=disk_usage icon_image graph.png icon_image_alt View graphs } /tmp/apan.debug Fri Sep 26 14:30:28 BST 2003 Args: ping vanguard Ping 1064583028 100.0,20% 500.0,60% Inserting 'ping' , '1064583028:' into /usr/local/nagios/rrds/vanguard-ping.rrd Fri Sep 26 14:30:30 BST 2003 Args: disk beagle disk_usage 1064583030 85 95 Inserting 'root:home' , '1064583030:30:8' into /usr/local/nagios/rrds/beagle_disk_usage.rrd /tmp/apancgi.debug /usr/local/rrdtool/bin/rrdtool graph - -s -600 -a PNG -v % DEF:var0=/usr/local/nagios/rrds/beagle_disk_usage.rrd:root:AVERAGE lINE2:var0#ff0000:root: DEF:var1=/usr/local/nagios/rrds/beagle_disk_usage.rrd:home:AVERAGE LINE2:var1#00ff00:home: CONF: beagle;disk_usage;/usr/local/nagios/rrds/beagle_disk_usage.rrd;/|/export/home;root:lINE2 home:LINE2;Disk usage;%; I have checked through the mailing lists and changed the apan/generate.cgi's to use the #!/bin/bash shell. I can't see anything else wrong, so any help anybody can give me would great. Thanks Rob ********************************************************************** This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error, you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Security Warning: Please note that this email has been created in the knowledge that the internet email is not a 100% secure communications medium. We advise that you understand and observe this lack of security when emailing us. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. If you have received this email in error please notify: postmaster at pindar.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Ned at geneva.com Fri Sep 26 15:53:58 2003 From: Ned at geneva.com (Ned Hanks) Date: Fri, 26 Sep 2003 07:53:58 -0600 Subject: Monitoring R/3 SAP Message-ID: <6E2F5D19CB27D4118E1900B0D02220D501BA024B@nt2.geneva.com> I'm the Basis Admin at my company. I would like to monitor R/3 also. I have not started on that project yet, but want to in the next month or so. I would be glad to share information on how and what to monitor. I use HP-UX systems and am monitoring the servers with Nagios currently. Thanks Ned -----Original Message----- From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] Sent: Thursday, September 25, 2003 8:40 AM To: Noah Leaman Cc: nagios-users at lists.sourceforge.net Subject: Re: [Nagios-users] Monitoring R/3 SAP > Anyone out there use nagios to monitor their R/3 SAP on AIX instances? > My primary requirement is focused around job monitoring - aborted jobs, > job max run time thresholds, jobs starting late, and the like - but > performance and instance status monitoring are also needed. > > Just wondering if there is anyone out there whose doing this or wanting > to. I looked into this a couple years ago using a perl module for R/3 but it was decided to roll it in to different monitoring. Time permitting I'd be interested in helping get something going however. I'm not actually part of a basis team but I might be able to get an account in R/3 which would give me read access to the needed data. As far as I ever got (quite a while ago) I was able to make connections to SAP ... just never got as far as *checking* anything. -- Lonny Selinger ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Fri Sep 26 16:11:44 2003 From: visigoth at home.nl (R. F.) Date: Fri, 26 Sep 2003 16:11:44 +0200 Subject: Permission denied for /bin/mail Message-ID: <000001c38438$1dc87fa0$524178d9@cp132919a> Hi, I'm getting the following errors when I start Nagios: ----- sh: line 1: /bin/mail: Permission denied /bin/mail -s "Host DOWN alert for sv09!" visigoth at home.nl" resulted in a return code of 126. Make sure the script or binary you are trying to execute actually exists... ----- /bin/mail is: -rwxrwx--- 1 bin mail 83905 Jun 23 2002 /bin/mail* I asume I need to give user 'nagios' permission to execute that binary? How do I do that? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Sep 26 16:28:47 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 26 Sep 2003 09:28:47 -0500 Subject: Permission denied for /bin/mail Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EEB0@mismail.ena.com> 'man chmod' Then after you've read that, 'chmod 775 /bin/mail' or add nagios to the mail group, whichever works best in your environment and meets your security policies. -- Marc > -----Original Message----- > From: R. F. [mailto:visigoth at home.nl] > Sent: Friday, September 26, 2003 9:12 AM > To: nagios-users at lists.sourceforge.net > > Hi, I'm getting the following errors when I start Nagios: > > ----- > sh: line 1: /bin/mail: Permission denied > > /bin/mail -s "Host DOWN alert for sv09!" visigoth at home.nl" resulted in a > return code of 126. Make sure the script or binary you are trying to > execute actually exists... > ----- > > /bin/mail is: -rwxrwx--- 1 bin mail 83905 Jun 23 2002 > /bin/mail* > I asume I need to give user 'nagios' permission to execute that binary? > How do I do that? > > Thanks. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From A.Weinberger at ebv.com Fri Sep 26 16:57:59 2003 From: A.Weinberger at ebv.com (Weinberger Andreas) Date: Fri, 26 Sep 2003 16:57:59 +0200 Subject: Monitoring R/3 SAP Message-ID: <51420C40A341F14499B8C5A488BEDA58259D36@EXSRV02.int.ebv.com> hi there, > I'm the Basis Admin at my company. I would like to monitor > R/3 also. I have not started on that project yet, but want to in the next > month or so. same here. i talk yesterday with our sap guys about this ccms thingi (see http://rpm.pbone.net/index.php3/stat/4/idpl/223179/com/nagios-plugins-sap-ccms-0.7-24.i586.rpm.html) and they told me, that would be the best way to monitor sap. you can everything monitor you want, down into the deepest layers of sap (e.g. running services, responsetimes of user actions, memory, cpuload - simply everthing). has anyone this plugin in production? i'm a n00b with sap, so a sample config would be great ;) of course i will share my config if it's running like i want (and what our admins want). TIA, -- randy :::: :: andreas 'randy' weinberger :: hq networking group :: ebv elektronik gmbh&co. kg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From A.Weinberger at ebv.com Fri Sep 26 16:59:12 2003 From: A.Weinberger at ebv.com (Weinberger Andreas) Date: Fri, 26 Sep 2003 16:59:12 +0200 Subject: Permission denied for /bin/mail Message-ID: <51420C40A341F14499B8C5A488BEDA58259D37@EXSRV02.int.ebv.com> hey, > > /bin/mail is: -rwxrwx--- 1 bin mail 83905 Jun 23 2002 > /bin/mail* > I asume I need to give user 'nagios' permission to execute > that binary? > How do I do that? > > Thanks. randy at schnuller:~ > ls -la /usr/bin/mail -rwxr-xr-x 1 root root 73104 Jan 19 2001 /usr/bin/mail do a chmod 755 /bin/mail - should help. -- randy :::: :: andreas 'randy' weinberger :: hq networking group :: ebv elektronik gmbh&co. kg ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Schimpke at Lenze.de Fri Sep 26 17:08:55 2003 From: Schimpke at Lenze.de (Schimpke, Dr. Thomas / bhn) Date: Fri, 26 Sep 2003 17:08:55 +0200 Subject: Monitoring R/3 SAP Message-ID: <485F35F57B04694B9BA467CBC8AE0DA705998B@zde009.lenze.com> Hi Ned, I looked into the SAP plugins for nagios today. As far as I can see, at least check_sap works as one would expect. So, in principle, it should be possible to read out any value of the the whole CCMS tree (if one knows the name of the MTE). It's not so nice, that you have to use a special nagios version -- but the additional functionality could be worth it: at least there is the chance, that you manage the all SAP Systems/CCMS from one place. I haven't found the appropriate nagios version yet -- I'll take a closer look on Monday. If everything fails, I'll go ahead and patch the plugins -- the important point (in my opinion) of monitoring is the notification in case of an alert, not "click here and change values somewhere"...But as I said: it's a nice feature We are reunning SAP 4.6c on HP/UX 11.11 with an Orcale Database (fairly standard). I'll go ahead and set up the solution manager/web application server as a central monitoring instance next week. So it's possible to get the alerts from all systems by simply querying the CCMS on the Web application server. A while ago, we've decided to monitor the following (the list is not at hand -- sorry -- but it was very short, anyway): - tablespaces (no more extentts...) - aborted jobs (you'll need only a small fraction of all jobs...but it seems, that a couple of jobs is really important) - mean dialog response time - There are some slog messages, that also need to be monitored (Sorry...cannot remember the Codes...) - If you haven't already done it: you'll have to monitor the filesystem space at least of the saparch filesystem ! No space left on device -> SAP halted ! Bye Thomas > -----Original Message----- > From: Ned Hanks [mailto:Ned at geneva.com] > Sent: Friday, September 26, 2003 3:54 PM > To: 'Lonny Selinger'; Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Monitoring R/3 SAP > > > I'm the Basis Admin at my company. I would like to monitor > R/3 also. I > have not started on that project yet, but want to in the next > month or so. > I would be glad to share information on how and what to > monitor. I use > HP-UX systems and am monitoring the servers with Nagios currently. > > Thanks > Ned > > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Thursday, September 25, 2003 8:40 AM > To: Noah Leaman > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring R/3 SAP > > > > Anyone out there use nagios to monitor their R/3 SAP on AIX > instances? > > My primary requirement is focused around job monitoring - > aborted jobs, > > job max run time thresholds, jobs starting late, and the like - but > > performance and instance status monitoring are also needed. > > > > Just wondering if there is anyone out there whose doing > this or wanting > > to. > > I looked into this a couple years ago using a perl module for > R/3 but it was > decided to roll it in to different monitoring. Time permitting I'd be > interested in helping get something going however. I'm not > actually part of > a > basis team but I might be able to get an account in R/3 which > would give me > read access to the needed data. As far as I ever got (quite a > while ago) I > was > able to make connections to SAP ... just never got as far as > *checking* > anything. > > -- > Lonny Selinger > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 comcast.net Fri Sep 26 18:17:07 2003 From: nagios at comcast.net (Nagios) Date: Fri, 26 Sep 2003 11:17:07 -0500 Subject: GD Message-ID: <001e01c38449$de309230$ca01a8c0@gamers.edw> Has anyone had a problem with the default install of GD on a RH9.0 box working with Nagios? Thanks. -------------- next part -------------- An HTML attachment was scrubbed... URL: From jeff.vier at tradingtechnologies.com Fri Sep 26 18:32:09 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 26 Sep 2003 11:32:09 -0500 Subject: MySQL *extinfo script (was: Nagios showcase project !) In-Reply-To: <3C8515D9676BF9479F7EF3545B63AA220B2097@100NOOSLMSG001.common.alpharoot.net> References: <3C8515D9676BF9479F7EF3545B63AA220B2097@100NOOSLMSG001.common.alpharoot.net> Message-ID: <1064593928.2684.54.camel@localhost> Please offer any comments/improvements you might have - I certainly don't think this is the end-all be-all of mysql gen scripts. Run it without args for usage (of course, check it first to make sure I'm not sending a trojan :)) Notably - I use another script, mysql.nagios.sh (referenced in the attached script). it is simply: mysql -A -h xx.xx.xx.x -u nagios --password= -P 3306 nagios (obviously, changed the host IP and password for security). No #! line or anything as it doesn't need to be a subshell. -------------- next part -------------- A non-text attachment was scrubbed... Name: nagios.mysql.entry.maker.sh Type: text/x-sh Size: 5458 bytes Desc: not available URL: From jeff.vier at tradingtechnologies.com Fri Sep 26 18:26:26 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Fri, 26 Sep 2003 11:26:26 -0500 Subject: side.html In-Reply-To: <3F737445.17987.156EBAD@localhost> References: <3F737445.17987.156EBAD@localhost> Message-ID: <1064593586.2684.47.camel@localhost> could I have the patch for status.cgi so I can try to backport it to 1.1? (as that's what we're using now - production critial== !2.0 for us. :)) On Thu, 2003-09-25 at 23:03, Ethan Galstad wrote: > This sounded like a good idea, so I'm committing the patch to the > HEAD of CVS (2.0). I hacked the status CGI a bit to take a host name > or host address for the search. Wildcard support isn't available (it > might be later), but the status CGI only displays details for one > host at a time, so I don't know how useful it would be (other than to > shorten keystrokes). Perhaps the first host name that matches the > pattern would be the one to get displayed... > > BTW, someone else (I don't recall who) had posted this search feature > patch a few months back, but I forgot to incorporate it at the time. > > > On 24 Sep 2003 at 12:09, jeff vier wrote: > > > It's not smart like that. it's a super simple little form that's just > > pushing a single variable (host) to the status.cgi - there's no > > "brains" in there. > > > > I want to be able to search by IP (we are very IP-centric, here). I'm > > going to hack status.cgi a bit and see what I can whip up to that end. > > > > On Wed, 2003-09-24 at 12:02, Cook, Garry wrote: > > > These are both very cool. However I only seem to be able to search > > > using the full hostname. Is there any way to search using a partial > > > name, or wildcards? > > > > > > Garry W. Cook, CCNA > > > Network Infrastructure Manager > > > MACTEC, Inc. - http://www.mactec.com/ > > > 303.308.6228 (Office) - 720.220.1862 (Mobile) > > > > > > > -----Original Message----- > > > > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > > > > Sent: Wednesday, September 24, 2003 9:21 AM > > > > To: Williams, P. Lane > > > > Cc: nagios-users > > > > Subject: Re: [Nagios-users] side.html > > > > > > > > > > > > Not to be fussy, but TYPE="TEST" isn't legitimate HTML. > > > > > > > > I distilled it down for my sidebar - cut out a good amount of the > > > > spacing, dropped the "Submit" button (hitting Enter works just > > > > fine) and just added it to the existing table set instead of > > > > starting a new one. An excellent idea, though, and I am definitely > > > > stealing it from you :) > > > > > > > > I put mine just above "Comments" (so, at the resolution I run at, > > > > it's right at the bottom of the bar), FYI. > > > > > > > > Here is my version: > > > > > > > > > > > > > > > >
> > > target="main" class="NavBarItem" METHOD="GET"> > > > > Host Search > > > >
> > > > > > > > > > > > --------- > > > > > > > > On Wed, 2003-09-24 at 08:59, Williams, P. Lane wrote: > > > > > For those interested. I had a request to add a simple host > > > > search to > > > > > the Nagios side bar. I thought that someone else may find > > > > use in it. > > > > > I added the snippet (below) to the end of the side.html file > > > > > under ~nagios/share/ before . > > > > > > > > > > Lane > > > > > > > > > >
> > > > class="NavBarItem" METHOD="GET">

> > > > > > > > > > > > > > > > > > > > > > > > >
Host Search
> > > > >
> > > > > > > > > >

> > > > >
> > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This sf.net email is sponsored by:ThinkGeek > > > > > Welcome to geek heaven. > > > > > http://thinkgeek.com/sf > > > > > _______________________________________________ > > > > > Nagios-users mailing list > > > > > Nagios-users at lists.sourceforge.net > > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > ::: 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:ThinkGeek > > > > Welcome to geek heaven. > > > > http://thinkgeek.com/sf > > > > _______________________________________________ > > > > Nagios-users mailing list > > > > Nagios-users at lists.sourceforge.net > > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: 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:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: Please include Nagios version, plugin version (-v) and OS when > > reporting any issue. ::: Messages without supporting info will risk > > being sent to /dev/null > > > > > > Ethan Galstad, > Nagios Developer > --- > Email: nagios at nagios.org > Website: http://www.nagios.org > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Sep 26 18:25:35 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 26 Sep 2003 11:25:35 -0500 Subject: GD Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EEB6@mismail.ena.com> I remember a lot of chatter about that. I'm sure you'll find something in the archives or perhaps someone more in the know will respond. -- Marc ________________________________________ From: Nagios [mailto:nagios at comcast.net] Sent: Friday, September 26, 2003 11:17 AM To: Nagios-Users (E-mail) Has anyone had a problem with the default install of GD on a RH9.0 box working with Nagios? ? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From JLeTortorec at healthcore.com Fri Sep 26 18:48:45 2003 From: JLeTortorec at healthcore.com (LeTortorec, Jean-Louis) Date: Fri, 26 Sep 2003 12:48:45 -0400 Subject: HP JetDirect status Message-ID: <615315231286D21182E40008C7B1EED29FF84D@COMPAQ3000> Hello everyone, Is there anyone who has already setup a HP Jet Direct service, through check_hpjd? When I do so, I got a time out. Thanks. Jean-Louis ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msalists at gmx.net Fri Sep 26 18:36:09 2003 From: msalists at gmx.net (Mark Arnold) Date: Fri, 26 Sep 2003 09:36:09 -0700 Subject: Dropping mysql suport from an instalation In-Reply-To: <200309261411.01667.luis.alberto@uam.es> References: <200309261411.01667.luis.alberto@uam.es> Message-ID: I haven't really looked into this as I said - what kind of data is missing in the database-stored tables? I'm hoping to get this installed over the weekend on my test system to see whats going on there. When I went through the configuration files I saw some parameters to enable storing of the various statuses and other data in db-tables. I don't remember which file that was in - I dont have access to the system right now... I would guess that you can just uncomment those parameters to deactivate db-data storage and then you should be fine. Especially since you said that "DB data is absolutely irrelevant". I am hoping to get some more info on what data is stored in the database vs. what is stored in files only from the developers at Nagios - any responses ?!? Thanks, MARK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > Luis-Alberto Garcia > Sent: Friday, September 26, 2003 5:11 AM > To: Mark Arnold; nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Dropping mysql suport from an instalation > > > El Jue 25 Sep 2003 19:25, Mark Arnold escribi?: > > Sorry, no advice but rather a question: > > Why do you want to switch "back" to rather "unintelligent" files > > instead of having a high-level data storage like a database? Did you > > encounter any problems with storing the data in the database? > > > > DB support sounds good, but unfortunately only a few tables are > maintained (actually 12 and even less in Nagios 2.0) and without > historical records! > > I am concerned about generating pretty "services availability reports" > and, for that purpose, the relevant data is NOT in the DB but in > "nagios.log" flat file (with daily rotation). From this point of view, > DB data is absolutely irrelevant and do not justified the effort of > maintaining mysql. Actually I'll not be the Nagios system manager and I > should keep things as simple as possible. No way I could "sell" MySQL > support. > > Make sense? If so, how could I get rid of mysql support efficiently and > with no data lost? I might well try a reinstallation of Nagios without > mysql support and add then the config and log files previously saved. > It does not sound very clever, but being new to mysql that's all I can > thing of, apart from asking for advice to this list. > > > I am planning to set up Nagios for our network within the next weeks > > ( if time permits :( ) and I am planning on using database support > > rather than just flat files. It seems that there are many advantages > > to a database: - better performance > > - better scalability > > - easier to use the data independently from nagios in you own scripts > > if necessary (just some SQL-queries rather than having to write a > > full parser) > > > > The only reason I could think of that could be held against going the > > database way is that using the file system might seem a little more > > stable since you have less components that might cause problems > > compared to the db-way (here you have the sockets, db server process, > > maybe even networking issues if the db is on a remote host). But I > > think as long as you keep nagios and the db on the same physical > > server so that network problems will not be an issue, you should be > > really safe. We have been working with mysql for years and never had > > one single problem that was really caused by the database system > > itself as far as I remember. If we had problems at all, it was in a > > remote db-server environment caused by networking issues (DNS > > changes, network down, firewall, etc) or the harddisk crashing - but > > that will kill you anyway, no matter what route you go... > > > > So without having practical nagios experience yet, I would say keep > > the db - move it to the same server you are running the nagios > > process on if it is not there yet). > > > > MARK > > > > > -----Original Message----- > > > From: nagios-users-admin at lists.sourceforge.net > > > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of > > > Luis-Alberto Garcia > > > Sent: Wednesday, September 24, 2003 2:53 AM > > > To: nagios-users at lists.sourceforge.net > > > Subject: [Nagios-users] Dropping mysql suport from an instalation > > > > > > > > > I've decided to drop mysql support from my running nagios > > > installation. Am I right? Hope so. > > > How could I do it efficiently and with no data lost? > > > Where can I get a script to dump the db data into the corresponding > > > template-based files? > > > Any advice? Thanks. > > > -- > > > Luis-Alberto Garc?a Luc?a > > > > > > > > > ------------------------------------------------------- > > > This sf.net email is sponsored by:ThinkGeek > > > Welcome to geek heaven. > > > http://thinkgeek.com/sf > > > _______________________________________________ > > > Nagios-users mailing list > > > Nagios-users at lists.sourceforge.net > > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > > > ::: 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:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > > > ::: Please include Nagios version, plugin version (-v) and OS when > > ::: reporting any issue. Messages without supporting info will risk > > ::: being sent to /dev/null > > -- > Luis-Alberto Garc?a Luc?a > Grupo Ingenier?a de Software > Tecnolog?as de la Informaci?n > Universidad Aut?noma de Madrid > Telf.- 34-912073352 / Fax.- 34-913973914 > luis.alberto at uam.es > http://rincon.uam.es/dir?cw=787332153320312 > > Nadie tiene libertad para ser libre, sino que, > al no ser libre lucha por conseguir su libertad. Paulo Freire. > > ?NO A LA GUERRA! > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Markus.Saner at antalis.ch Fri Sep 26 18:10:15 2003 From: Markus.Saner at antalis.ch (Saner, Markus) Date: Fri, 26 Sep 2003 18:10:15 +0200 Subject: AW: Monitoring R/3 SAP Message-ID: <491A5F682BEFA742B21EF20AD4A81733E93C0D@chluex01.ch.antalis.local> Hi all, because this plugin was developed by SAP and SuSE linux, the latest version i found, (0.7.1-16), is on the SuSE FTP server. ftp://ftp.suse.com/pub/suse/i386/8.2/suse/i586 executables and ftp://ftp.suse.com/pub/suse/i386/8.2/suse/src source tree including saprfc libraries unfortunately the plugin documentation is in german. There are several plugins, some without depending on a special Nagios version. The special nagios version is more like controlling SAP, (stopping/starting), load a SAP client inside nagios and connect to SAP and setting SAP CCMS values inside SAP. Guess, when you dont need this features a special nagios version is not required. You may need the latest bc-xal manuals from SAP to get into this topics. Spent some time installing the plugin, but got only as far as a valid login. Dont know yet if it is a config or a version problem, But im not a CCMS specialist. I will never get the chance to monitor SAP that way, but still would like to know if some one has got it to work. Regards, Markus -----Urspr?ngliche Nachricht----- Von: Schimpke, Dr. Thomas / bhn [mailto:Schimpke at Lenze.de] Gesendet: Freitag, 26. September 2003 17:09 An: 'Ned Hanks'; 'Lonny Selinger'; Nagios-Users (E-mail) Betreff: RE: [Nagios-users] Monitoring R/3 SAP Hi Ned, I looked into the SAP plugins for nagios today. As far as I can see, at least check_sap works as one would expect. So, in principle, it should be possible to read out any value of the the whole CCMS tree (if one knows the name of the MTE). It's not so nice, that you have to use a special nagios version -- but the additional functionality could be worth it: at least there is the chance, that you manage the all SAP Systems/CCMS from one place. I haven't found the appropriate nagios version yet -- I'll take a closer look on Monday. If everything fails, I'll go ahead and patch the plugins -- the important point (in my opinion) of monitoring is the notification in case of an alert, not "click here and change values somewhere"...But as I said: it's a nice feature We are reunning SAP 4.6c on HP/UX 11.11 with an Orcale Database (fairly standard). I'll go ahead and set up the solution manager/web application server as a central monitoring instance next week. So it's possible to get the alerts from all systems by simply querying the CCMS on the Web application server. A while ago, we've decided to monitor the following (the list is not at hand -- sorry -- but it was very short, anyway): - tablespaces (no more extentts...) - aborted jobs (you'll need only a small fraction of all jobs...but it seems, that a couple of jobs is really important) - mean dialog response time - There are some slog messages, that also need to be monitored (Sorry...cannot remember the Codes...) - If you haven't already done it: you'll have to monitor the filesystem space at least of the saparch filesystem ! No space left on device -> SAP halted ! Bye Thomas > -----Original Message----- > From: Ned Hanks [mailto:Ned at geneva.com] > Sent: Friday, September 26, 2003 3:54 PM > To: 'Lonny Selinger'; Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Monitoring R/3 SAP > > > I'm the Basis Admin at my company. I would like to monitor > R/3 also. I > have not started on that project yet, but want to in the next > month or so. > I would be glad to share information on how and what to > monitor. I use > HP-UX systems and am monitoring the servers with Nagios currently. > > Thanks > Ned > > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Thursday, September 25, 2003 8:40 AM > To: Noah Leaman > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring R/3 SAP > > > > Anyone out there use nagios to monitor their R/3 SAP on AIX > instances? > > My primary requirement is focused around job monitoring - > aborted jobs, > > job max run time thresholds, jobs starting late, and the like - but > > performance and instance status monitoring are also needed. > > > > Just wondering if there is anyone out there whose doing > this or wanting > > to. > > I looked into this a couple years ago using a perl module for > R/3 but it was > decided to roll it in to different monitoring. Time permitting I'd be > interested in helping get something going however. I'm not > actually part of > a > basis team but I might be able to get an account in R/3 which > would give me > read access to the needed data. As far as I ever got (quite a > while ago) I > was > able to make connections to SAP ... just never got as far as > *checking* > anything. > > -- > Lonny Selinger > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CrowderLG at ldschurch.org Fri Sep 26 18:40:09 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Fri, 26 Sep 2003 10:40:09 -0600 Subject: Host Status not updating Message-ID: FYI Yesterday I sent an e-mail asking if anyone had some more insight into why Nagios would show a host was down, when it really wasn't - as far as I could tell. Just to let you all know that I had configuration problems outside of Nagios control - IP addresses had changed or similar issues. (I should have checked more thoroughly first) Larry C ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Fri Sep 26 19:53:01 2003 From: rob at capband.net (Rob Nelson) Date: Fri, 26 Sep 2003 13:53:01 -0400 Subject: Dropping mysql suport from an instalation In-Reply-To: References: <200309261411.01667.luis.alberto@uam.es> Message-ID: <5.2.1.1.0.20030926135004.00b89240@mail.capband.net> >I am hoping to get some more info on what data is stored in the database >vs. what is stored in files only from the developers at >Nagios - any responses ?!? I could be wrong, but what I got from reading the database documentation was that the status data that is written to the database is current status only. Previous states are only stored in the log files. I personally haven't used it myself, just trying to interpret the documentation. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jrcady at pingtone.com Fri Sep 26 18:02:20 2003 From: jrcady at pingtone.com (Jeffrey Cady) Date: Fri, 26 Sep 2003 12:02:20 -0400 Subject: Multipul Host IP in Version 1.1 on redhat In-Reply-To: <1064444780.7253.1.camel@miles.debisschop.net> References: <3F72054C.9040307@pingtone.com> <1064444780.7253.1.camel@miles.debisschop.net> Message-ID: <3F74630C.3080208@pingtone.com> Well I tried nagios-plugins-r1_3_0-200309261207 (the only one in the nightly build directory). I get this error: $ make all make: *** No rule to make target `lib/getloadavg.m4', needed by `aclocal.m4'. Stop. Hope that helps with getting the 1.4. Jeff Karl DeBisschop wrote: >On Wed, 2003-09-24 at 16:57, Jeffrey Cady wrote: > > >>I have tried the following formats I always get host not found error. >> >>If I remove all the other addresses from the hosts the monitoring >>becomes good. Here is what I have tried. >> >>address 172.31.0.21,172.31.0.20 >>Status Information:PING CRITICAL - Host not found (172.31.0.21,172.31.0.20) >> >>address 172.31.0.21, 172.31.0.20 >>Status Information:PING CRITICAL - Host not found (172.31.0.21,) >> >>address 172.31.0.21 , 172.31.0.20 >>(No Information Returned From Host Check) >> >>The first one is the one recommended in the FAQ's the rest were me >>trying other combinations because what was recommended in the FAQ's was >>not working. >> >> > >What version of the plugins are you using? I think you must get the >plugins from CVS HEAD or its snapshot. It might be realisitc to have >1.4.0-alpha1 released by the end of September, but 1.3.x doe not cut it, >if I correctly understand what you are trying to do. > > > >>Thanks >> >>Jeff >> >> >> >> >> >>------------------------------------------------------- >>This sf.net email is sponsored by:ThinkGeek >>Welcome to geek heaven. >>http://thinkgeek.com/sf >>_______________________________________________ >>Nagios-users mailing list >>Nagios-users at lists.sourceforge.net >>https://lists.sourceforge.net/lists/listinfo/nagios-users >>::: 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:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From CStamper at pivot.com Fri Sep 26 19:57:46 2003 From: CStamper at pivot.com (Casey Stamper) Date: Fri, 26 Sep 2003 13:57:46 -0400 Subject: HP JetDirect status Message-ID: Sure. services.cfg entry looks like this: # Service definition define service{ use generic-service ; Name of service template to use host_name 4000,5000,6000,8000,phaser service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins,ptrnotify notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_ping!800.0,30%!1500.0,75% } and: # Service definition define service{ use generic-service ; Name of service template to use host_name 4000,5000,6000,8000 service_description hpjd is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups nt-admins,ptrnotify notification_interval 0 notification_period 24x7 notification_options w,u,c,r check_command check_hpjd!public } And it returns this: PING OK - Packet loss = 0%, RTA = 1.51 ms and: Printer ok - ("TRAY 3 EMPTY") -----Original Message----- From: LeTortorec, Jean-Louis [mailto:JLeTortorec at healthcore.com] Sent: Friday, September 26, 2003 12:49 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HP JetDirect status Hello everyone, Is there anyone who has already setup a HP Jet Direct service, through check_hpjd? When I do so, I got a time out. Thanks. Jean-Louis ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Fri Sep 26 19:38:21 2003 From: visigoth at home.nl (R. F.) Date: Fri, 26 Sep 2003 19:38:21 +0200 Subject: Ping issue Message-ID: <000501c38454$fecea260$524178d9@cp132919a> I finally got Nagios running, everything is fine except PING, which stays 'UNKNOWN' (orange). In status information it just says: /bin/ping -n -U -c 5 69.31.73.146 Though it works fine when I run that command myself. Why? Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Fri Sep 26 17:46:33 2003 From: jason at teklabs.net (Jason Lancaster) Date: Fri, 26 Sep 2003 11:46:33 -0400 Subject: nagios reload status retention bug Message-ID: <3F745F59.9000004@teklabs.net> Note: This is not a request for help, I'm just hoping my experiences can help someone else in the future. Periodically, during a Nagios reload, "odd flapping issues" may occur. The flapping issues only affect new passive services previously not in the status retention file. A bug causes these services to become active services, causing the specified check_command (stale_check) to be executed at the check_interval in addition to any passive submission you may be making. This problem will remain until the status.sav file is cleared (and Nagios restarted) /etc/rc.d/init.d/nagios stop echo "" > /usr/local/nagios/var/status.sav /etc/rc.d/init.d/nagios start I have not tested (I can't duplicate this problem on purpose), but I believe a reload will also work. echo "" > /usr/local/nagios/var/status.sav /etc/rc.d/init.d/nagios/reload This problem is very easy to identify (you'll see active services in your web-interface or status.log that are indeed not active) and the posted resolutions are fast and virtually unnoticeable. The only side affect for the first solution is that email notifications for any down service will be redelivered and some data may show up as pending until the first service check has been performed. Jason ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Jason.Ahrens at TELUS.COM Fri Sep 26 21:43:21 2003 From: Jason.Ahrens at TELUS.COM (Jason Ahrens) Date: Fri, 26 Sep 2003 15:43:21 -0400 Subject: Multi-user nagios Message-ID: I've been trying to figure out the best way to do this, with no luck yet. I have a Nagios implementation used by my group here. We have another group that has asked us to monitor some of their things for them, sending alerts to them. That's no problem. Easy to do. What I can't figure out is a security thing. Depending who logs into the interface (my team or them) I'd like them to only see the things they are interested in. For example, I have network gear in a group, and servers in another. I want it so the network group can only see items in the network group. Short of having two instances of nagios running so each maintains it's own records and force a physical separation like that, is there a way to configure a single instance of Nagios/Apache so that certain users get access only to view certain hosts? Thanks Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From CrowderLG at ldschurch.org Fri Sep 26 20:52:41 2003 From: CrowderLG at ldschurch.org (Larry Crowder) Date: Fri, 26 Sep 2003 12:52:41 -0600 Subject: Can Nagios force status of Host? Message-ID: I have a situation where a service has problems, (PING drops packets or server IP address is actually changed) at which time Nagios correctly sets the Service status to "Critical". It does not however, set the Host status to 'HOST DOWN". When the server comes back up again, Nagios sets the Service status to "OK" but Host status is not affected. Q: Shouldn't Nagios set the Host status to "HOST DOWN" when the services totally fail and are set to a "CRITICAL" status? If not, any ideas on how I can force it? I have looked at the documentation (and will continue to do so). This is significant to us because we want to correctly alert co-workers about up and down of hosts. Thanks Larry ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jamie.baddeley at vpc.co.nz Fri Sep 26 22:38:47 2003 From: jamie.baddeley at vpc.co.nz (Jamie Baddeley) Date: 27 Sep 2003 08:38:47 +1200 Subject: Nagios with a Ring Topology Network In-Reply-To: References: Message-ID: <1064608740.702.5.camel@munter> Ki ora Matt, You've probably defined reciprocal parent/child relationships. That won't work. Just make the parent/child relationship 1 way. b > a,c a > d d > e c > f f > e e > n hth jamie On Sat, 2003-09-27 at 00:00, Matt Brown wrote: > Hi, > > I have a ring topology network as shown below that I wish to monitor with > nagios. If i try to configure this network in nagios using the parents > field of the host definition i get an error about circular parents. Can > nagios handle a network of this type? If so what sort of configuration do > I need? > > I am running Nagios 1.1 with the new templated config file. > > Example Network > > > A ------ B ------ C > | | > | | > D ------ E ------- F > | > | > N > > Nodes A-E are the routers in the ring network, Node N is the nagios host. > > Regards > > -- > Matt Brown > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Fri Sep 26 23:21:59 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 26 Sep 2003 16:21:59 -0500 Subject: Can Nagios force status of Host? Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D49FE@mismail.ena.com> When one or more services on a host fails, nagios will execute your specified host check command (and not before). It is the result of this command that determines the host state. Even if all your defined services on a host were critical, if your check-host-alive command returns OK (or isn't even defined) then the status of the host will be OK. -- Marc -----Original Message----- From: Larry Crowder To: nagios-users at lists.sourceforge.net Sent: Fri Sep 26 13:52:41 2003 Subject: [Nagios-users] Can Nagios force status of Host? I have a situation where a service has problems, (PING drops packets or server IP address is actually changed) at which time Nagios correctly sets the Service status to "Critical". It does not however, set the Host status to 'HOST DOWN". When the server comes back up again, Nagios sets the Service status to "OK" but Host status is not affected. Q: Shouldn't Nagios set the Host status to "HOST DOWN" when the services totally fail and are set to a "CRITICAL" status? If not, any ideas on how I can force it? I have looked at the documentation (and will continue to do so). This is significant to us because we want to correctly alert co-workers about up and down of hosts. Thanks Larry ------------------------------------------------------------------------------ This message may contain confidential information, and is intended only for the use of the individual(s) to whom it is addressed. ============================================================================== ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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 mpowell at ena.com Fri Sep 26 23:14:53 2003 From: mpowell at ena.com (Marc Powell) Date: Fri, 26 Sep 2003 16:14:53 -0500 Subject: Multi-user nagios Message-ID: <5DB017510818EC468B05BD7BD9EACF83032D49FD@mismail.ena.com> Nagios does this natively. Read up on cgi authentication. With auth enabled people can only see devices and services that they are contacts for. -- Marc -----Original Message----- From: Jason Ahrens To: nagios-users at lists.sourceforge.net Sent: Fri Sep 26 14:43:21 2003 Subject: [Nagios-users] Multi-user nagios I've been trying to figure out the best way to do this, with no luck yet. I have a Nagios implementation used by my group here. We have another group that has asked us to monitor some of their things for them, sending alerts to them. That's no problem. Easy to do. What I can't figure out is a security thing. Depending who logs into the interface (my team or them) I'd like them to only see the things they are interested in. For example, I have network gear in a group, and servers in another. I want it so the network group can only see items in the network group. Short of having two instances of nagios running so each maintains it's own records and force a physical separation like that, is there a way to configure a single instance of Nagios/Apache so that certain users get access only to view certain hosts? Thanks Jason -------------- next part -------------- An HTML attachment was scrubbed... URL: From mmcclure at pneservices.com Fri Sep 26 23:29:57 2003 From: mmcclure at pneservices.com (Mike McClure) Date: Fri, 26 Sep 2003 16:29:57 -0500 (CDT) Subject: Can Nagios force status of Host? In-Reply-To: References: Message-ID: <4945.192.168.1.15.1064611797.squirrel@xyzzy.homeip.net> First of all, you normally would use a service check ("check_command") to determine if a host is up or down. Usually people use check-host-alive, which checks for a reponse to ICMP echo, a.k.a., PING. If that defined check_command test fails, the host is considered to be down. Second, just because none of the services that you check on the host are responding, does not mean that the host is "down". For example, a host might be running just fine, but the HTTP daemon isn't running because of a configuration problem. Does that mean the host is down? No. The service is, but not the host, since other services, like FTP or SSH or IMAP might be working just fine. If you really consider a host "down" if a particular service is not responding, then make a check for that service the "check_command" for that host. You can even have it check multiple services for that check_command (left as an example for the reader.) Try doing *that* in Big Brother. :) I am confused about your rationale for this. Unless they are responsible for the host platform itself, why would your co-workers care about a host being down anyway? It's been my experience that most users just care about services, not hosts. - Mike > I have a situation where a service has problems, (PING drops packets or server IP > address is actually changed) at which time Nagios correctly sets the Service status > to "Critical". It does not however, set the Host status to 'HOST DOWN". When the > server comes back up again, Nagios sets the Service status to "OK" but Host status > is not affected. > > Q: Shouldn't Nagios set the Host status to "HOST DOWN" when the services totally > fail and are set to a "CRITICAL" status? If not, any ideas on how I can force it? > I have looked at the documentation (and will continue to do so). This is > significant to us because we want to correctly alert co-workers about up and down of > hosts. > > Thanks > > Larry > > > ------------------------------------------------------------------------------ > This message may contain confidential information, and is intended only for the use > of the individual(s) to whom it is addressed. > > > ==========================================================================------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any > issue. > ::: Messages without supporting info will risk being sent to /dev/null > > -- Mike McClure, CCIE # 5125, CISSP # 30232 PNE Services, Inc. - http://www.pneservices.com mmcclure [at] pneservices [dot] com mobile: 913-636-5590 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Fri Sep 26 23:56:22 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Fri, 26 Sep 2003 14:56:22 -0700 Subject: Nagios + SMS = TRUE? In-Reply-To: <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> References: <20030925145937.GC52772@radix.cryptio.net> <000f01c383c9$6a3b9260$3201a8c0@iih.usyd.edu.au> Message-ID: <20030926215622.GB62844@radix.cryptio.net> James Turnbull said on Fri, Sep 26, 2003 at 10:59:18AM +1000: > >5 pages in 5 minutes; any more than that, we don't send them, and just send > a > ">Too many pages" page, which everyone understands to mean "Bad things have > >happened". > > This is a great idea - we have just started looking at this ourselves. > Would you be adverse to sharing the script? Not at all. You'll have to hack it into shape for your installation; it definately falls into the hack category. If I get a chance, I'm going to clean it up so that I can use it in other places, but that seems less likely with each day. :) M -------------- next part -------------- #!/usr/bin/python import getopt import smtplib import traceback import os import sys import re import time from types import * ##################################### # # send_mail_throttled.py # # # This script is a mailer script that "throttles" mail sent to devices # which we don't want to flood with mail, such as cell phones. # # Here's the design: # # If we get 5 pages in a one minute window: # - block all pages, accumulate to a web page # - send a page saying that we're stopping pages # - wait 5 minutes before clearing the history and restarting paging. # # We need to maintain a history on a per-e-mail level # # # class WriteLog: def __init__(self, stream): self.stream = stream self.mLogFile = open("/var/tmp/spt_log","a") def write(self, text): self.mLogFile.write(text) self.stream.write(text) def flush(self): self.stream.flush() sys.stdout = WriteLog(sys.stdout) gMaxMessages = 5 gMinTime = 300 gBlockedTimeout = 300 def main(): try: print "Time:",time.ctime(time.time()) to_addr = 'root at localhost' subj = 'No subject' mesg = 'No message' options = '' long_options = ['to=','subj=', 'mesg='] opts, args = getopt.getopt(sys.argv[1:], options, long_options) print str(sys.argv) for o, a in opts: if o == '--to': to_addr = a elif o == '--subj': subj = a elif o == '--mesg': mesg = a else: raise "Unknown argument " + o hist_filename = "/var/tmp/%s.mailhist" % to_addr # # Clean up the subject and message to get rid of excess verbiage # subj = subj.replace("ACKNOWLEDGEMENT","ACK") subj = subj.replace("CRITICAL","CRIT") subj = subj.replace("WARNING","WARN") mesg = mesg.replace("\\n","\n") mesg = mesg.replace("ACKNOWLEDGEMENT","ACK") mesg = mesg.replace("CRITICAL","CRIT") mesg = mesg.replace("WARNING","WARN") # Check and see if a mail file exists if not os.path.exists(hist_filename): # We don't have a history file # Create one, and then go and send print "No history file",hist_filename+"!" print "Sending page!" send_mail_log("nagios at localhost", to_addr, subj, mesg) return # We do have a history file # Read out the history... hist_file = open(hist_filename, 'r') lines = hist_file.readlines() mail_times = [] block_time = 0 time_re = re.compile("^(\d+)$") block_re = re.compile("^(\d+)Blocked") for line in lines: re_match = time_re.match(line) if re_match: mail_times.append(int(re_match.group(1))) else: # We've been blocked for pager volume re_match = block_re.match(line) if re_match: print "Blocked!" block_time = int(re_match.group(1)) hist_file.close() block_age = int(time.time()) - block_time if block_time: print "Blocked", block_age, "seconds ago!" if block_age > gBlockedTimeout: # It's been long enough, start sending pages again print "Clearing block, starting mail again" mail_times = [] else: # We need to store it on the web page print "Ignoring blocked message!" return mail_times.append(int(time.time())) mail_times = mail_times[-gMaxMessages:] print mail_times if len(mail_times) < gMaxMessages: print "Less than", gMaxMessages, "alerts, sending!" try: hist_file = open(hist_filename, 'w') except: hist_file = None if hist_file: for mail_time in mail_times[-gMaxMessages:-1]: time_str = "%d\n" % mail_time hist_file.write(time_str) hist_file.truncate() hist_file.close() send_mail_log("nagios at localhost", to_addr, subj, mesg) return end_time = mail_times[-1] start_time = mail_times[0] total_time = end_time - start_time print gMaxMessages, "messages in", total_time, "seconds!" if total_time > gMinTime: hist_file = open(hist_filename, 'w') for mail_time in mail_times[-gMaxMessages:-1]: time_str = "%d\n" % mail_time hist_file.write(time_str) hist_file.truncate() hist_file.close() send_mail_log("nagios at localhost", to_addr, subj, mesg) return # Uh oh, too many. Send out the warning alert and set # us into archive and wait mode. print "Too many messages!" hist_file = open(hist_filename, 'w') time_str = "%dBlocked\n" % int(time.time()) hist_file.write(time_str) hist_file.truncate() hist_file.close() send_mail_log("nagios at localhost", to_addr, "", "Too many pages, blocking for 5 minutes!") except: traceback.print_exc() fm_list = traceback.format_exception(sys.exc_type, sys.exc_value, sys.exc_traceback) def send_mail_log(from_addr, to_addr, subject, body): send_mail(from_addr, to_addr, subject, body) hist_filename = "/var/tmp/%s.mailhist" % to_addr try: hist_file = open(hist_filename, 'a') except: hist_file = None if hist_file: time_str = "%d\n" % time.time() hist_file.write(time_str) hist_file.close() def send_mail(from_addr, to_addrs, subject, body): """ Send mail using SMTP """ to_string = '' if type(to_addrs) is StringType: to_string = to_addrs elif type(to_addrs) is ListType: for count in range(0, len(to_addrs)): to_string += to_addrs[count] if count < len(to_addrs) - 1: to_string += ', ' msg = "From: %(from_addr)s\r\nTo: %(to_string)s\r\n"\ "Subject: %(subject)s\r\n\r\n" % vars() msg += body server = smtplib.SMTP('mail') server.sendmail(from_addr, to_addrs, msg) server.quit() main() -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From matt.pounsett at cira.ca Fri Sep 26 23:33:26 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Fri, 26 Sep 2003 17:33:26 -0400 (EDT) Subject: Debug output from plugins Message-ID: Is there any way to get Nagios to log more of what the plugins dump to stderr and stdout? I'm having an issue with a custom plugin of mine, which (according to Nagios) is /periodically/ existing with status UNKNOWN and no output (it does this maybe 1 execution in 100). It's a fairly simple perl script, and all instances of exit() are preceeded by output to stdout. So, the only reason I can think of for Nagios to report this is if perl completely failed to compile the script -- except then I should get some other exit value besides 3. I suspect it's Nagios that has the problem, not the script, but I'd like to absolutely rule out problems with the script first. I would try dumping some debug output from the script, except that I can't find a way to get Nagios to capture that information... anyone have any ideas? -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Fri Sep 26 23:10:43 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Fri, 26 Sep 2003 18:10:43 -0300 Subject: RES: Multi-user nagios Message-ID: It?s possible do do so. You have to configure 2 contact group?s. One for your tean and the other for them. Then in the hostgroups definition, you set the contact_groups to the right people. Like this define hostgroup{ hostgroup_name Your servers alias This_is_your_group_to_view contact_groups Your_contact_name_here members x,y,z,w } define hostgroup{ hostgroup_name Theirs servers alias This_is_Their_group_to_view contact_groups Their_contact_group_here members a,b,c,d } Hope it help?s Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Jason Ahrens [SMTP:Jason.Ahrens at TELUS.COM] > Enviada em: sexta-feira, 26 de setembro de 2003 16:43 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] Multi-user nagios > > I've been trying to figure out the best way to do this, with no luck yet. > > I have a Nagios implementation used by my group here. We have another > group that has asked us to monitor some of their things for them, sending > alerts to them. That's no problem. Easy to do. > > What I can't figure out is a security thing. Depending who logs into the > interface (my team or them) I'd like them to only see the things they are > interested in. For example, I have network gear in a group, and servers in > another. I want it so the network group can only see items in the network > group. > > Short of having two instances of nagios running so each maintains it's own > records and force a physical separation like that, is there a way to > configure a single instance of Nagios/Apache so that certain users get > access only to view certain hosts? > > Thanks > > Jason > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From solomolo90 at hotmail.com Sat Sep 27 01:01:10 2003 From: solomolo90 at hotmail.com (solo molo) Date: Fri, 26 Sep 2003 23:01:10 +0000 Subject: process numbers Message-ID: This used to happen to me when a large number of service checks would execute at the same time. I set the max_concurrent_checks=50 in nagios.cfg. Now I never have more than 50 nagios processes at one time. These processes exit when the service checks are completed, so you'll only see the maximum number of proccesses when nagios is busy or getting behind. >From: Terry >To: nagios-users at lists.sourceforge.net >Subject: [Nagios-users] process numbers >Date: Thu, 18 Sep 2003 12:55:41 -0700 (PDT) > >I am seeing, on a consistent basis, the number of >nagios processes increases to around 100 to 150. A >restart of nagios of course knocks this down and it >takes a while for it to get back up to those high >numbers, days that is. > >What causes this and how can I stop it? > >Thanks. > >===== >Terry > >__________________________________ >Do you Yahoo!? >Yahoo! SiteBuilder - Free, easy-to-use web site design software >http://sitebuilder.yahoo.com > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >Nagios-users mailing list >Nagios-users at lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/nagios-users >::: Please include Nagios version, plugin version (-v) and OS when >reporting any issue. >::: Messages without supporting info will risk being sent to /dev/null _________________________________________________________________ High-speed Internet access as low as $29.95/month (depending on the local service providers in your area). Click here. https://broadband.msn.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From skip at pobox.com Fri Sep 26 23:12:06 2003 From: skip at pobox.com (Skip Montanaro) Date: Fri, 26 Sep 2003 16:12:06 -0500 Subject: Multi-user nagios In-Reply-To: References: Message-ID: <16244.43942.934038.829130@montanaro.dyndns.org> Jason> What I can't figure out is a security thing. Depending who logs Jason> into the interface (my team or them) I'd like them to only see Jason> the things they are interested in. For example, I have network Jason> gear in a group, and servers in another. I want it so the network Jason> group can only see items in the network group. By default, if you don't add a user to authorized_for_all_hosts in cgi.cfg, they will only be able to see hosts for which they are contacts. Same for authorized_for_all_services I believe. We have a shared username in our group called "nagadmin" which can see everything. We have a couple clients (application types) who have individual usernames which only show them their hosts. Skip ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ib at onsitetech.com Sat Sep 27 01:28:45 2003 From: ib at onsitetech.com (Ian Burrell) Date: Fri, 26 Sep 2003 16:28:45 -0700 Subject: Monitoring virtual web sites Message-ID: <3F74CBAD.1070109@onsitetech.com> Hey all, I would like to monitor the web sites that we host using Nagios. We have lots of virtual hosts, with a mixture of IP-based and name-based. Machines have multiple IP addresses, and multiple hosts on some of the IP addresses. What is the best way to setup the monitoring in this situation? Does anyone have any suggestions on how to set this up? - Ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Sat Sep 27 01:31:01 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Fri, 26 Sep 2003 19:31:01 -0400 Subject: Multipul Host IP in Version 1.1 on redhat In-Reply-To: <3F74630C.3080208@pingtone.com> References: <3F72054C.9040307@pingtone.com> <1064444780.7253.1.camel@miles.debisschop.net> <3F74630C.3080208@pingtone.com> Message-ID: <1064619061.1099.4.camel@miles.debisschop.net> On Fri, 2003-09-26 at 12:02, Jeffrey Cady wrote: > Well I tried nagios-plugins-r1_3_0-200309261207 (the only one in the > nightly build directory). As I noted, 1.3.x will not work - it must be CVS head. Nightly snapshots are not building reliably - so you'll have to checkout the CVS tree. Sorry about that. Maybe we'll be able to get the snapshots going again this weekend. > I get this error: > > $ make all > make: *** No rule to make target `lib/getloadavg.m4', needed by > `aclocal.m4'. Stop. > > Hope that helps with getting the 1.4. 1.4 and 1.3 are very divergent at this point - I don't think it has any bearing. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msalists at gmx.net Sat Sep 27 02:38:52 2003 From: msalists at gmx.net (Mark Arnold) Date: Fri, 26 Sep 2003 17:38:52 -0700 Subject: Monitoring virtual web sites In-Reply-To: <3F74CBAD.1070109@onsitetech.com> References: <3F74CBAD.1070109@onsitetech.com> Message-ID: Since (for the outside world) they really are independent sites (at least logically), and different circumstances can cause only one of them to break but not the others, I would say you should setup a new Nagios host for each virtual host. Then setup a Nagios hostgroup called "virtual_web_hosts" (or whatever you want to name it), and setup an http_check service for this group - so you dont have to do it for each of the hosts. In addition, you can express the dependency of the server that physically hosts the virtual host by making the physical server's host record the parent of each virtual host's host record. I haven't done this myself (yet) but I think this is the logical way of doing it and I will probably go this way soon - unless this solution causes a configuration problem I am not aware of at the moment... MARK > -----Original Message----- > From: nagios-users-admin at lists.sourceforge.net > [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ian > Burrell > Sent: Friday, September 26, 2003 4:29 PM > To: nagios-users at lists.sourceforge.net > Subject: [Nagios-users] Monitoring virtual web sites > > > Hey all, > > I would like to monitor the web sites that we host using Nagios. We > have lots of virtual hosts, with a mixture of IP-based and name-based. > Machines have multiple IP addresses, and multiple hosts on some of the > IP addresses. What is the best way to setup the monitoring in this > situation? Does anyone have any suggestions on how to set this up? > > - Ian > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 Sun Sep 28 11:29:15 2003 From: teng at dataway.com (Tedman Eng) Date: Sun, 28 Sep 2003 02:29:15 -0700 Subject: APAN not displaying check disk results References: <3147432060r.ford@pindar.com> Message-ID: Looks like you have a typo in your apan.cfg for beagle (as seen in apancgi.debug): |INE2 isn't a proper rrd graph type: beagle;disk_usage;/usr/local/nagios/rrds/beagle_disk_usage.rrd;/|/export/hom e;root:lINE2 home:LINE2;Disk usage;%; Change it to LINE2 and it should work: beagle;disk_usage;/usr/local/nagios/rrds/beagle_disk_usage.rrd;/|/export/hom e;root:LINE2 home:LINE2;Disk usage;%; "Rob Ford" wrote in message news:3147432060r.ford at pindar.com... Hi All I'm having a few problems getting APAN to output disk data collected from nagios-stat. I have used the examples on the APAN site and so far I have the ping example working ...it shows correctly in the service detail screen and shows a selection of graphs when I click on the graph icon. I have again used the example in the APAN documentation and although it reports the disk usage as ok in the service screen, when I click on the graph icon it displays all the text but shows red crosses instead of the graphs. I have enclosed all the relevent files: apan.cfg #host ; service ; rrd-file ; args ; ds-names ; Comment ; Y-unit ; extra comm vanguard;Ping;/usr/local/nagios/rrds/vanguard-ping.rrd;ping;ping:LINE2;Ping round-trip time;Seconds beagle;disk_usage;/usr/local/nagios/rrds/beagle_disk_usage.rrd;/|/export/hom e;root:lINE2 home:LINE2;Disk usage;%; apan.defs #Base-directory for nagios: NAGIOSDIR=/usr/local/nagios #The directory where apan is installed APANDIR=$NAGIOSDIR/apan #The directory where Nagios plugins resides PLUGINSDIR=$NAGIOSDIR/libexec #The directory where Nagios .cfg-files resides ETCDIR=$NAGIOSDIR/etc # The directory where apans plugins resides PLUGSDIR=$APANDIR/plugs # The main config-file for apan CFGFILE=$APANDIR/apan.cfg # Path to rrdtool RRDTOOL=/usr/local/rrdtool/bin/rrdtool # Set DEBUG to 1 and define a DEBUGFILE to get debug-info from apan DEBUG=1 DEBUGFILE=/tmp/apan.debug # Set CGIDEBUG to 1 and define a CGIDEBUGFILE to get debug-info from the cgi's CGIDEBUG=1 CGIDEBUGFILE=/tmp/apancgi.debug # A list of colors that are used to draw the lines in the graphs. # Beware of the syntax!! COLS=("#ff0000" "#00ff00" "#0000ff" "#ffff00" "#ff00ff" "#00ffff" "#ff8080" "#808080" "#8080ff" ) # The type of image that is created. Valid values are PNG, GIF or GD IMGTYPE=PNG # #End Configuration checkcommands.cfg # 'apan' command definition define command{ command_name apan command_line /usr/local/nagios/apan/apan.sh $ARG1$ $HOSTNAME$ $SERVICEDESC$ $TIMET$ $ARG2$ $ARG3$ } services.cfg # Service definition for APAN ping define service { use generic-service host_name beagle service_description disk_usage name disk_usage check_command apan!disk!85!95 normal_check_interval 1 is_volatile 0 check_period 24x7 max_check_attempts 3 retry_check_interval 1 contact_groups unix-admins notification_interval 120 notification_period 24x7 notification_options c,r } serviceextinfo.cfg define serviceextinfo{ host_name vanguard service_description Ping notes_url /nagios/cgi-bin/apan.cgi?host=vanguard&service=Ping icon_image graph.png icon_image_alt View graphs } define serviceextinfo{ host_name beagle service_description disk_usage notes_url /nagios/cgi-bin/apan.cgi?host=beagle&service=disk_usage icon_image graph.png icon_image_alt View graphs } /tmp/apan.debug Fri Sep 26 14:30:28 BST 2003 Args: ping vanguard Ping 1064583028 100.0,20% 500.0,60% Inserting 'ping' , '1064583028:' into /usr/local/nagios/rrds/vanguard-ping.rrd Fri Sep 26 14:30:30 BST 2003 Args: disk beagle disk_usage 1064583030 85 95 Inserting 'root:home' , '1064583030:30:8' into /usr/local/nagios/rrds/beagle_disk_usage.rrd /tmp/apancgi.debug /usr/local/rrdtool/bin/rrdtool graph - -s -600 -a PNG -v % DEF:var0=/usr/local/nagios/rrds/beagle_disk_usage.rrd:root:AVERAGE lINE2:var0#ff0000:root: DEF:var1=/usr/local/nagios/rrds/beagle_disk_usage.rrd:home:AVERAGE LINE2:var1#00ff00:home: CONF: beagle;disk_usage;/usr/local/nagios/rrds/beagle_disk_usage.rrd;/|/export/hom e;root:lINE2 home:LINE2;Disk usage;%; I have checked through the mailing lists and changed the apan/generate.cgi's to use the #!/bin/bash shell. I can't see anything else wrong, so any help anybody can give me would great. Thanks Rob ********************************************************************** This email and its attachments are intended for the above named only and may be confidential. If they have come to you in error, you must take no action based on them, nor must you copy or show them to anyone; please reply to this email and highlight the error. Security Warning: Please note that this email has been created in the knowledge that the internet email is not a 100% secure communications medium. We advise that you understand and observe this lack of security when emailing us. Viruses: Although we have taken steps to ensure that this email and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free. If you have received this email in error please notify: postmaster at pindar.com ********************************************************************** ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Sun Sep 28 00:30:24 2003 From: visigoth at home.nl (R. F.) Date: Sun, 28 Sep 2003 00:30:24 +0200 Subject: Ping and FPing don't work? Message-ID: <000001c38546$f4a031d0$524178d9@cp132919a> I just can't get the Ping and Fping plugins to work and keep getting a host down msg. Fping's status stays 'Warning' (yellow) and says: FPING WARNING - 69.31.73.146 Ping's status is 'Unknown' (orange) and says: /bin/ping -n -U -c 5 69.31.73.146. I just can't figure out why. This is what I have in services.cfg: ----- define service{ use generic-service ; Name of service template to use host_name sv09 service_description PING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_ping!100.0,20%!500.0,60% } # Service definition define service{ use generic-service ; Name of service template to use host_name sv09 service_description FPING is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 5 retry_check_interval 1 contact_groups server-admins notification_interval 120 notification_period 24x7 notification_options c,r check_command check_fping!100.0,20%!500.0,60% } ----- And in checkcommands.cfg: ----- # 'check_ping' command definition define command{ command_name check_ping command_line $USER1$/check_ping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -p 5 } # 'check_fping' command definition define command{ command_name check_fping command_line $USER1$/check_fping -H $HOSTADDRESS$ -w $ARG1$ -c $ARG2$ -n 3 } ----- It works ok and I get a result if I manually run these commands like: ./check_ping -H 69.31.73.146 -w 300.0,80% -c 500.0,100% -p 5 or ./check_fping -H 69.31.73.146 -w 300.0,80% -c 500.0,100% -n 3 Why doesn't it work in Nagios? Please help me, thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Fred.Albrecht at za.tiscali.com Sat Sep 27 10:05:41 2003 From: Fred.Albrecht at za.tiscali.com (Fred Albrecht) Date: Sat, 27 Sep 2003 10:05:41 +0200 Subject: use Message-ID: Hi Quicky. Does nagios allow more than one "use" statement per service? :\ fred ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 yahoo.com Mon Sep 29 05:49:54 2003 From: td3201 at yahoo.com (Terry) Date: Sun, 28 Sep 2003 20:49:54 -0700 (PDT) Subject: notification problem Message-ID: <20030929034954.71344.qmail@web60310.mail.yahoo.com> I am seeing some weird behavior with notifications. I see that there was an alert issued several times for a service but no notification was sent out: [2003-09-28 15:44:52] SERVICE ALERT: foo;SLS-Non-Maintenence;OK;HARD;1;OK. foo is up. [2003-09-28 15:44:06] SERVICE ALERT: foo;SLS-Non-Maintenence;CRITICAL;HARD;1;(Service Check Timed Out) [2003-09-28 08:49:42] SERVICE ALERT: foo;SLS-Non-Maintenence;OK;HARD;1;OK. foo is up. [2003-09-28 08:43:23] SERVICE ALERT: foo;SLS-Non-Maintenence;CRITICAL;HARD;1;(Service Check Timed Out) >From this you can see that it went down once and came back up a few times. Here is what the service cfg looks like: define service{ use generic-service host_name foo service_description SLS-Non-Maintenence is_volatile 0 check_period nonmaintenence max_check_attempts 1 contact_groups warning,critical notification_interval 5 notification_period nonmaintenence notification_options w,u,c,r check_command check_sls!foo } >From this you can see that I have max_check_attempts set to 1. Shouldnt I get a notification for every alert for this service? Thanks! ===== Terry __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Mon Sep 29 06:51:16 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Mon, 29 Sep 2003 00:51:16 -0400 Subject: Ping and FPing don't work? In-Reply-To: <000001c38546$f4a031d0$524178d9@cp132919a> References: <000001c38546$f4a031d0$524178d9@cp132919a> Message-ID: <1064811076.1485.46.camel@miles.debisschop.net> On Sat, 2003-09-27 at 18:30, R. F. wrote: > I just can't get the Ping and Fping plugins to work and keep getting a > host down msg. Fping's status stays 'Warning' (yellow) and says: FPING > WARNING - 69.31.73.146 > Ping's status is 'Unknown' (orange) and says: /bin/ping -n -U -c 5 > 69.31.73.146. > It works ok and I get a result if I manually run these commands like: > ./check_ping -H 69.31.73.146 -w 300.0,80% -c 500.0,100% -p 5 > or ./check_fping -H 69.31.73.146 -w 300.0,80% -c 500.0,100% -n 3 > > Why doesn't it work in Nagios? Please help me, thanks. When you get the ping syntax as output from check_ping, that means that for wahtever reason, the invocation of /bin/ping failed badly. Since you can run it by hand, it is likely not the path. My next guess is that your OS has been hardened and does not allow unpriveleged users to run the ping command (Mandrake has a secure mode that will do this, bastille can make this change if you run redhat, I'm sure there are others). Of course, since you did not mention what OS you use, I can only speculate. check_fping may have a similar problem, if it is not installed setuid root, you must take on root priveleges to run it. (I am inferring here that you are in a priveleged group, or that whe you ran these successfully, you did so as root.) -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From visigoth at home.nl Mon Sep 29 16:48:55 2003 From: visigoth at home.nl (R. F.) Date: Mon, 29 Sep 2003 16:48:55 +0200 Subject: Ping and FPing don't work? In-Reply-To: <1064811076.1485.46.camel@miles.debisschop.net> References: <1064811076.1485.46.camel@miles.debisschop.net> Message-ID: <000001c38698$cf244ec0$524178d9@cp132919a> Thanks Karl, I know now a little more about the problem. So maybe someone else can help me out now, I want to get either Ping or Fping to work because right now neither do: > When you get the ping syntax as output from check_ping, that means that > for wahtever reason, the invocation of /bin/ping failed badly. You are right! I just ran check_ping and check_fping with sudo -u nagios as user nagios and it gave me exactly the same replies (plus: Error: Could not interpret output from ping command). > My next guess is that your OS has been hardened and does not allow > unpriveleged users to run the ping command. I'm running RedHat 8 so I don't think so. > check_fping may have a similar problem, if it is not installed setuid > root, you must take on root priveleges to run it. (I am inferring here > that you are in a priveleged group, or that whe you ran these > successfully, you did so as root.) Nagios runs as user Nagios. I also chowned /usr/local/sbin/fping to 'nagios' but no luck. How do I install it setuid root? I just want to be able to use either ping or fping. Thanks. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From anders.holm at criticalpath.net Mon Sep 29 17:31:36 2003 From: anders.holm at criticalpath.net (Anders Holm) Date: Mon, 29 Sep 2003 16:31:36 +0100 Subject: Ping and FPing don't work? In-Reply-To: <000001c38698$cf244ec0$524178d9@cp132919a> References: <000001c38698$cf244ec0$524178d9@cp132919a> Message-ID: <1064849496.3730.41.camel@aholm.support.cpth.ie> R.F. is the nagios user able to read the *directory* where fping resides? I.e. what is the permissions on the directory and the binary itself? An ls -ltr would be great to have for those two. More than likel;y this is a problem with permissions for this user to read. Sorry, haven't followed the thread, so I may be asking the same questions that might have been asked already... ;) //Anders// On Mon, 2003-09-29 at 15:48, R. F. wrote: > Thanks Karl, I know now a little more about the problem. So maybe > someone else can help me out now, I want to get either Ping or Fping to > work because right now neither do: > > > When you get the ping syntax as output from check_ping, that means > that > > for wahtever reason, the invocation of /bin/ping failed badly. > > You are right! I just ran check_ping and check_fping with sudo -u nagios > as user nagios and it gave me exactly the same replies (plus: Error: > Could not interpret output from ping command). > > > My next guess is that your OS has been hardened and does not allow > > unpriveleged users to run the ping command. > > I'm running RedHat 8 so I don't think so. > > > check_fping may have a similar problem, if it is not installed setuid > > root, you must take on root priveleges to run it. (I am inferring here > > that you are in a priveleged group, or that whe you ran these > > successfully, you did so as root.) > > Nagios runs as user Nagios. I also chowned /usr/local/sbin/fping to > 'nagios' but no luck. How do I install it setuid root? I just want to be > able to use either ping or fping. > > Thanks. > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Anders Holm - Critical Path Technical Support Contact Details: http://support.criticalpath.net/contact.jsp New Issues: technical.support at criticalpath.net Ongoing Issues: messaging.support at criticalpath.net Support Site: http://support.criticalpath.net/ Corporate Site: http://www.criticalpath.net/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From crsurf at terra.com.br Mon Sep 29 17:33:19 2003 From: crsurf at terra.com.br (=?iso-8859-1?Q?crsurf?=) Date: Mon, 29 Sep 2003 12:33:19 -0300 Subject: =?iso-8859-1?Q?Nagios_with_MySQL?= Message-ID: Hello All I'm using nagios with mysql to store status on database for create custom reports, the problem is that I only found in my database the latest data. I have 84 services registered at my nagios server and when i make a select * from servicestatus; or select * from serviceretention; this return only 84 rows. How can I obtain the historical data from my services in MySQL? It's possible? Or nagios only register the latest status on MySQL? Tks Cristiano ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From marcioqueiroz at vicom.com.br Mon Sep 29 17:09:54 2003 From: marcioqueiroz at vicom.com.br (Marcio Queiroz) Date: Mon, 29 Sep 2003 12:09:54 -0300 Subject: RES: use Message-ID: yes, it does bye Marcio Q. Dall Agnol phone : 55-21-3873-5826 Fax : 55-21-3873-5845 marcioqueiroz at vicom.com.br VICOM Net Servi?os de Comunica??o S/A Visite nossas p?ginas: Redes Corporativas: Internet Banda Larga: TV por Assinatura : Institucional: http://www.netservicos.com > ----- Mensagem original ----- > De: Fred Albrecht [SMTP:Fred.Albrecht at za.tiscali.com] > Enviada em: s?bado, 27 de setembro de 2003 05:06 > Para: nagios-users at lists.sourceforge.net > Assunto: [Nagios-users] use > > Hi > > Quicky. Does nagios allow more than one "use" statement per service? > > :\ > fred > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From mpowell at ena.com Mon Sep 29 18:03:28 2003 From: mpowell at ena.com (Marc Powell) Date: Mon, 29 Sep 2003 11:03:28 -0500 Subject: Nagios with MySQL Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EECA@mismail.ena.com> Nagios only maintains current data in the database. All historical data is kept in nagios.log and the archives of nagios.log. I don't know if mysql supports triggers but you could write a procedure to copy the data to a history table on insert or update (we've done this with postgresql). -- Marc > -----Original Message----- > From: crsurf [mailto:crsurf at terra.com.br] > Sent: Monday, September 29, 2003 10:33 AM > To: nagios-users > > Hello All > > I'm using nagios with mysql to store status on database for create > custom reports, the problem is that I only found in my database the > latest data. I have 84 services registered at my nagios server and > when i make a select * from servicestatus; or select * from > serviceretention; this return only 84 rows. > How can I obtain the historical data from my services in MySQL? > It's possible? Or nagios only register the latest status on MySQL? > > Tks > > Cristiano > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Mon Sep 29 18:40:46 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 29 Sep 2003 11:40:46 -0500 Subject: Nagios with MySQL In-Reply-To: References: Message-ID: <1064853646.2558.79.camel@localhost> You are probably looking for something like APAN http://apan.sourceforge.net/ On Mon, 2003-09-29 at 10:33, crsurf wrote: > Hello All > > I'm using nagios with mysql to store status on database for create > custom reports, the problem is that I only found in my database the > latest data. I have 84 services registered at my nagios server and > when i make a select * from servicestatus; or select * from > serviceretention; this return only 84 rows. > How can I obtain the historical data from my services in MySQL? > It's possible? Or nagios only register the latest status on MySQL? > > Tks > > Cristiano > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Weinberg at tudor.com Mon Sep 29 22:09:28 2003 From: Keith.Weinberg at tudor.com (Keith Weinberg) Date: Mon, 29 Sep 2003 16:09:28 -0400 Subject: Locking problems?: Nagios 1.1 on Redhat Enterprise ES 2.1 Message-ID: I've recently built the latest nagios for deployment on Redhat Enterprise ES 2.1 and our testing has shown two serious problems: 1) a simple-to-fix html rendering problem 2) a perplexing lock-contention issue HTML rendering problem The first was easy to fix. There seems to be a problem with with the html generation in "tac.cgi" where a few lines are incorrectly commented out using (/* */) which breaks the html. . You can easily take out those comment lines by deleting lines 1223 and 1226 (/* and */) from tac.cgi - removing those fixed the broken HTML for us. Onto the more serious problem. . . Lock Contention? After running the daemon for a while it looks like we get a number process stuck in some wait loop: nagios 22304 1 0 16:01 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/n nagios 22311 1 0 16:01 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/n nagios 22315 1 0 16:01 ? 00:00:00 /usr/bin/nagios -d /etc/nagios/n [etc. etc. into the hundreds over time] Doing an strace of one of these processes, I see that ease of the processes is hanging on a write: strace -p 22075 write(6, "\0\0\0"..., 504 (Of course the "hostname deleted" is really one of our hostnames) It seems that write contention is causing terrific problems for us and will mean that we can't roll out this version. . . It would be very hard to blame the hardware for this. . . the disk is very fast and we are using ext3 (both of which are 'better' than our old test machine running 1.0 which didn't have these issues). . . Is anyone aware of a quick fix for this? Is anyone else seeing this process build-up? Thanks in advance, Keith -------------- next part -------------- An HTML attachment was scrubbed... URL: From Ned at geneva.com Fri Sep 26 20:00:25 2003 From: Ned at geneva.com (Ned Hanks) Date: Fri, 26 Sep 2003 12:00:25 -0600 Subject: Monitoring R/3 SAP Message-ID: <6E2F5D19CB27D4118E1900B0D02220D501BA024E@nt2.geneva.com> I was going to try and use Perl. There is a SAP::Rfc module. I am running R/3 3.1I on HPUX 11.00 and Oracle 8i. Don't know when we are going to upgrade. Thanks Ned -----Original Message----- From: Schimpke, Dr. Thomas / bhn [mailto:Schimpke at Lenze.de] Sent: Friday, September 26, 2003 9:09 AM To: 'Ned Hanks'; 'Lonny Selinger'; Nagios-Users (E-mail) Subject: RE: [Nagios-users] Monitoring R/3 SAP Hi Ned, I looked into the SAP plugins for nagios today. As far as I can see, at least check_sap works as one would expect. So, in principle, it should be possible to read out any value of the the whole CCMS tree (if one knows the name of the MTE). It's not so nice, that you have to use a special nagios version -- but the additional functionality could be worth it: at least there is the chance, that you manage the all SAP Systems/CCMS from one place. I haven't found the appropriate nagios version yet -- I'll take a closer look on Monday. If everything fails, I'll go ahead and patch the plugins -- the important point (in my opinion) of monitoring is the notification in case of an alert, not "click here and change values somewhere"...But as I said: it's a nice feature We are reunning SAP 4.6c on HP/UX 11.11 with an Orcale Database (fairly standard). I'll go ahead and set up the solution manager/web application server as a central monitoring instance next week. So it's possible to get the alerts from all systems by simply querying the CCMS on the Web application server. A while ago, we've decided to monitor the following (the list is not at hand -- sorry -- but it was very short, anyway): - tablespaces (no more extentts...) - aborted jobs (you'll need only a small fraction of all jobs...but it seems, that a couple of jobs is really important) - mean dialog response time - There are some slog messages, that also need to be monitored (Sorry...cannot remember the Codes...) - If you haven't already done it: you'll have to monitor the filesystem space at least of the saparch filesystem ! No space left on device -> SAP halted ! Bye Thomas > -----Original Message----- > From: Ned Hanks [mailto:Ned at geneva.com] > Sent: Friday, September 26, 2003 3:54 PM > To: 'Lonny Selinger'; Nagios-Users (E-mail) > Subject: RE: [Nagios-users] Monitoring R/3 SAP > > > I'm the Basis Admin at my company. I would like to monitor > R/3 also. I > have not started on that project yet, but want to in the next > month or so. > I would be glad to share information on how and what to > monitor. I use > HP-UX systems and am monitoring the servers with Nagios currently. > > Thanks > Ned > > -----Original Message----- > From: Lonny Selinger [mailto:lonny at bangtherockstogether.net] > Sent: Thursday, September 25, 2003 8:40 AM > To: Noah Leaman > Cc: nagios-users at lists.sourceforge.net > Subject: Re: [Nagios-users] Monitoring R/3 SAP > > > > Anyone out there use nagios to monitor their R/3 SAP on AIX > instances? > > My primary requirement is focused around job monitoring - > aborted jobs, > > job max run time thresholds, jobs starting late, and the like - but > > performance and instance status monitoring are also needed. > > > > Just wondering if there is anyone out there whose doing > this or wanting > > to. > > I looked into this a couple years ago using a perl module for > R/3 but it was > decided to roll it in to different monitoring. Time permitting I'd be > interested in helping get something going however. I'm not > actually part of > a > basis team but I might be able to get an account in R/3 which > would give me > read access to the needed data. As far as I ever got (quite a > while ago) I > was > able to make connections to SAP ... just never got as far as > *checking* > anything. > > -- > Lonny Selinger > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Mon Sep 29 22:47:55 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Mon, 29 Sep 2003 13:47:55 -0700 Subject: Locking problems?: Nagios 1.1 on Redhat Enterprise ES 2.1 In-Reply-To: References: Message-ID: <20030929204755.GE65049@radix.cryptio.net> Keith Weinberg said on Mon, Sep 29, 2003 at 04:09:28PM -0400: > Lock Contention? > After running the daemon for a while it looks like we get a number process > stuck in some wait loop: > nagios 22304 1 0 16:01 ? 00:00:00 /usr/bin/nagios -d > /etc/nagios/n > nagios 22311 1 0 16:01 ? 00:00:00 /usr/bin/nagios -d > /etc/nagios/n > nagios 22315 1 0 16:01 ? 00:00:00 /usr/bin/nagios -d > /etc/nagios/n > > [etc. etc. into the hundreds over time] > > Doing an strace of one of these processes, I see that ease of the processes > is hanging on a write: > strace -p 22075 > write(6, "\0\0\0"..., 504 > (Of course the "hostname deleted" is really one of our hostnames) What's your server_reaper_frequency set to? Sounds like it's set too high. I think the default is 10 seconds; I ended up dropping it to 2, and that pretty much cleared up the problem. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From jeff.vier at tradingtechnologies.com Mon Sep 29 22:52:20 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 29 Sep 2003 15:52:20 -0500 Subject: Locking problems?: Nagios 1.1 on Redhat Enterprise ES 2.1 In-Reply-To: References: Message-ID: <1064868740.2704.98.camel@localhost> On Mon, 2003-09-29 at 15:09, Keith Weinberg wrote: > Lock Contention? > After running the daemon for a while it looks like we get a number > process stuck in some wait loop: > Is anyone aware of a quick fix for this? Is anyone else seeing this > process build-up? I don't mean to speak for everyone, but I think the general consensus is "that's how it is" (though I wish I knew of a fix, too). ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dvn at campana.com Fri Sep 26 19:24:25 2003 From: dvn at campana.com (Dave van Nierop) Date: Fri, 26 Sep 2003 13:24:25 -0400 Subject: HP JetDirect status Message-ID: Jean-Louis, You need to install Net::snmp from http://net-snmp.sourceforge.net on the server that is running the NRPE daemon. The NRPE daemon runs the /usr/local/nagios/libexec/check_hpjd command which needs the snmp-get functionality. You can also get this level of advice/information when you first run the "configure" script as you build nrpe.x from source code (check configure.log in the build directory for more info). - Dave -----Original Message----- From: LeTortorec, Jean-Louis [mailto:JLeTortorec at healthcore.com] Sent: Friday, September 26, 2003 11:49 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] HP JetDirect status Hello everyone, Is there anyone who has already setup a HP Jet Direct service, through check_hpjd? When I do so, I got a time out. Thanks. Jean-Louis ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From kirk at kaybee.org Fri Sep 26 17:40:40 2003 From: kirk at kaybee.org (Kirk Bauer) Date: Fri, 26 Sep 2003 08:40:40 -0700 (MST) Subject: Book: Automating UNIX and Linux Administration Message-ID: This message is a shameless plug for my new book: Automating UNIX and Linux Administration. I feel this message is appropriate both because many users of this program are interested in automation and NetSaint is discussed in the book. I'm sorry I did not cover Nagios, but when I started writing the book (June 2002) NetSaint was the stable solution. I did not have an opportunity to rewrite that section now that Nagios seems to be more widely used. But, if the publisher decides a second edition is worth it, Nagios will definitely be covered. You can buy the book from Amazon here: http://www.amazon.com/exec/obidos/ASIN/1590592123/kaybee-20 You can find the list of chapters and brief summaries here: http://kaybee.org:81/kirk/aua.html All source code from the book will be available from www.apress.com shortly. -- Kirk Bauer http://linux.kaybee.org | www.autorpm.org | www.logwatch.org ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Mon Sep 29 23:28:31 2003 From: jason at teklabs.net (Jason Lancaster) Date: Mon, 29 Sep 2003 17:28:31 -0400 Subject: Locking problems?: Nagios 1.1 on Redhat Enterprise ES 2.1 In-Reply-To: <1064868740.2704.98.camel@localhost> References: <1064868740.2704.98.camel@localhost> Message-ID: <3F78A3FF.7080402@teklabs.net> As a previous email stated, it has to do with the reaper frequency and other tweaking of configuration options. You don't necessarily have to have a queue of checks waiting to go. Jason jeff vier wrote: > On Mon, 2003-09-29 at 15:09, Keith Weinberg wrote: > >>Lock Contention? >>After running the daemon for a while it looks like we get a number >>process stuck in some wait loop: >>Is anyone aware of a quick fix for this? Is anyone else seeing this >>process build-up? > > > I don't mean to speak for everyone, but I think the general consensus is > "that's how it is" (though I wish I knew of a fix, too). > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Mon Sep 29 23:46:20 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 29 Sep 2003 16:46:20 -0500 Subject: Locking problems?: Nagios 1.1 on Redhat Enterp rise ES 2.1 In-Reply-To: <20030929204755.GE65049@radix.cryptio.net> References: <20030929204755.GE65049@radix.cryptio.net> Message-ID: <1064871980.2558.115.camel@localhost> On Mon, 2003-09-29 at 15:47, Mark Ferlatte wrote: > What's your server_reaper_frequency set to? Sounds like it's set too > high. I assume you meant service_reaper_frequency > I think the default is 10 seconds; I ended up dropping it to 2, and that > pretty > much cleared up the problem. Are there any problems with such a low setting? this isn't going to "lose" any check process results, is it? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From agupta at yahoo-inc.com Sat Sep 27 01:58:08 2003 From: agupta at yahoo-inc.com (Anurag Gupta) Date: Fri, 26 Sep 2003 16:58:08 -0700 Subject: Monitoring virtual web sites In-Reply-To: <3F74CBAD.1070109@onsitetech.com> References: <3F74CBAD.1070109@onsitetech.com> Message-ID: For the 1st case: Say a machine name is: m1. It has IPs ip1, ip2. I defined 2 hosts: 1) hostname: ip1, alias: m1-ip1 2) hostname: ip2, alias: m1-ip2 And I monitor both ip1 and ip2 hosts for any services it is running. For the 2nd case: Say a machine is m1. It has 2 hosts h1 and h2. I simply define 2 hosts h1 and h2. -----Original Message----- From: nagios-users-admin at lists.sourceforge.net [mailto:nagios-users-admin at lists.sourceforge.net]On Behalf Of Ian Burrell Sent: Friday, September 26, 2003 4:29 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Monitoring virtual web sites Hey all, I would like to monitor the web sites that we host using Nagios. We have lots of virtual hosts, with a mixture of IP-based and name-based. Machines have multiple IP addresses, and multiple hosts on some of the IP addresses. What is the best way to setup the monitoring in this situation? Does anyone have any suggestions on how to set this up? - Ian ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Mon Sep 29 23:58:30 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Mon, 29 Sep 2003 16:58:30 -0500 Subject: Locking problems?: Nagios 1.1 on Redhat Enterprise ES 2.1 In-Reply-To: <3F78A3FF.7080402@teklabs.net> References: <1064868740.2704.98.camel@localhost> <3F78A3FF.7080402@teklabs.net> Message-ID: <1064872710.2558.118.camel@localhost> On Mon, 2003-09-29 at 16:28, Jason Lancaster wrote: > As a previous email stated, it has to do with the reaper frequency and > other tweaking of configuration options. You don't necessarily have to > have a queue of checks waiting to go. It's not a queue of checks waiting to process, rather a bunch of spawned children doing "something". having a few hundred is completely normal in my world, here. I'm experimenting with the service reaper frequency now... ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Weinberg at tudor.com Tue Sep 30 00:31:58 2003 From: Keith.Weinberg at tudor.com (Keith Weinberg) Date: Mon, 29 Sep 2003 18:31:58 -0400 Subject: Write contention workaround in 1.1 forbroken aggregate_status Message-ID: I've found a work-around to the write-contention problems that I was having with 1.1 I've disabled aggregate_status (in nagios.conf, setting it to 0). It seems that there is a bug in this function, that causes write contention and significantly slows down the system (and even may cause deadlock) - Something about the aggregator seems to be broken (I haven't gotten to peruse the code yet, but there is certainly some issue) In order to keep my filesystem (ext3) humming along fast enough to keep up with the non-aggregated updates, I now mount it with "noatime" so that there is less work for the filesystem to do. Now my "nagios-owned" process queue ( ps auxww | grep nagios | wc -l) hovers between 4-20 as opposed to being in the 200-500 range and my nagios-schedule is only minutes behind (as opposed to hours). Anyone else have similar experiences? /< -------------- next part -------------- An HTML attachment was scrubbed... URL: From paul.clayton at intec.co.za Mon Sep 29 18:47:21 2003 From: paul.clayton at intec.co.za (Paul Clayton) Date: Mon, 29 Sep 2003 18:47:21 +0200 Subject: Check_disk problems Message-ID: <9290BC9741D67F43BDAAC84144FF870D0183FC6C@intecserver007.intec.co.za> I seem to recall this problem having been discussed in length some time back, but have not been able to pick up the thread. So here goes. Check_disk of many of my systems, returns a message "Unable to return output" No looking at the df -Pk, I get the follwoing, which I beleive is the issue. ---------------------------------------------------------------------------- -------------------------------------------- # df -Pk Filesystem 1024-blocks Used Available Capacity Mounted on galaxy:/vol/vol0 50119928 237784 49882144 1% /galaxy galaxy-e10:/vol/uta03/archivelog 372766952 237134016 135632936 64% /archivelog galaxy-e10:/vol/uta03/backup 372766952 237134016 135632936 64% /export/uta ---------------------------------------------------------------------------- -------------------------------------------- The above entries are not inline and check_disk gets lost. Does anyone have a work around. It is typical that the most critical machine cannot be monitor due to this problem. Regards Unix like Teepee, no windows no gates Apache inside Paul Clayton Global Unix Co-ordinator Intec Telecom Systems PH +27(0)21 4309000 Direct +27 (0)21 4309048 Mobile +27(0) 832853403 Fax +27(0) 4309025 ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ferlatte at cryptio.net Tue Sep 30 00:48:42 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Mon, 29 Sep 2003 15:48:42 -0700 Subject: Locking problems?: Nagios 1.1 on Redhat Enterp rise ES 2.1 In-Reply-To: <1064871980.2558.115.camel@localhost> References: <20030929204755.GE65049@radix.cryptio.net> <1064871980.2558.115.camel@localhost> Message-ID: <20030929224842.GG65049@radix.cryptio.net> jeff vier said on Mon, Sep 29, 2003 at 04:46:20PM -0500: > On Mon, 2003-09-29 at 15:47, Mark Ferlatte wrote: > > What's your server_reaper_frequency set to? Sounds like it's set too > > high. > > I assume you meant service_reaper_frequency Yes, sorry. Thinking faster than typing. > > I think the default is 10 seconds; I ended up dropping it to 2, and that > > pretty much cleared up the problem. > > Are there any problems with such a low setting? this isn't going to "lose" > any check process results, is it? None so far; I've got ~2500 service checks. It does increase the load on your monitoring host slightly (since the master nagios process is waking up more often to collect results), but it certainly doesn't seem to be that big of a deal. Since Nagios is using a FIFO for the communication from the children to the parent, it shouldn't "lose" anything. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From ferlatte at cryptio.net Tue Sep 30 00:50:41 2003 From: ferlatte at cryptio.net (Mark Ferlatte) Date: Mon, 29 Sep 2003 15:50:41 -0700 Subject: Locking problems?: Nagios 1.1 on Redhat Enterprise ES 2.1 In-Reply-To: <1064872710.2558.118.camel@localhost> References: <1064868740.2704.98.camel@localhost> <3F78A3FF.7080402@teklabs.net> <1064872710.2558.118.camel@localhost> Message-ID: <20030929225041.GH65049@radix.cryptio.net> jeff vier said on Mon, Sep 29, 2003 at 04:58:30PM -0500: > On Mon, 2003-09-29 at 16:28, Jason Lancaster wrote: > > As a previous email stated, it has to do with the reaper frequency and > > other tweaking of configuration options. You don't necessarily have to > > have a queue of checks waiting to go. > > It's not a queue of checks waiting to process, rather a bunch of spawned > children doing "something". having a few hundred is completely normal > in my world, here. The spawned children are attempting to write to the rw FIFO. Since the FIFO queue gets full (it's not very large, maybe 8K max), they block until the reaper reads from the FIFO, and thereby emptying the queue. That's all the children are doing, AFAIK. I'm not sure that having many nagios children is bad, though; it's not like they are doing much. M -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: From Phu at uui.com Tue Sep 30 00:55:31 2003 From: Phu at uui.com (Phu Nguyen) Date: Mon, 29 Sep 2003 15:55:31 -0700 Subject: check_oracle plugin Message-ID: <004201c386dc$c94ba1d0$140a0a0a@phu> Hi Friends, Have any one use check_oracle plug-in that came with nagios plug-in? I think this plug-in is not doing a good job checking oracle database. Have any one has any experience with this plug-in? I tried check_oracle -login then it return "OK - dummy login connected". This doesn't make any sense to me. Can any one help me? Best regards, Phu Nguyen -------------- next part -------------- An HTML attachment was scrubbed... URL: From msalists at gmx.net Tue Sep 30 03:29:55 2003 From: msalists at gmx.net (Mark Arnold) Date: Mon, 29 Sep 2003 18:29:55 -0700 Subject: Compiling nagios with libgd under Redhat 9 In-Reply-To: <004201c386dc$c94ba1d0$140a0a0a@phu> References: <004201c386dc$c94ba1d0$140a0a0a@phu> Message-ID: I found some related articles in the archive, but none of them really had a solution... Did anybody find one in the meantime? I am trying to compile Nagios 1.1 with libgd support but Nagios claims it can't find the libraries. I'm running a RedHat 9 installation with libgd, lib-png and lib-jpeg pre-installed in /usr/lib Part of the reason why Nagios can not find the gd-libraries is (I think) that the include files are missing. So I installed lib-png and lib-jpeg from scratch (compiled from source) into /usr/local/libpng and /usr/local/libjpeg The 2 directories each have a lib and a src subdirectory with the respective files in there. Then I compiled the libgd from the source ditstribution into /usr/local/lib-gd, now also with a lib and inc subdirectory. During compilation, libgd says that it found the png and jpeg libraries and that it has png and jpeg support enabled. Then I add all 3 lib subdirectories into /etc/ld.so.conf and run ldconfig. Running "ldconfig -v" shows all the libraries in all the 3 newly compiled lib directories as expected. Then I go back to the nagios source tree, type "make clean" and rerun the configure command with the appropriate --with-gd-lib and --with-gd-inc parameter, but it still says it can't find the library. I use --with-gd-lib=/usr/local/lib-gd/lib and it says /usr/local/lib-gd/lib does not exist. The directory DOES exist, and the directory and all the files are accessable for all users - but Nagios insists it can't find it. Is there anything I am missing? Thanks, MARK ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From chammond at cox.net Tue Sep 30 03:57:52 2003 From: chammond at cox.net (Chris Hammond) Date: Mon, 29 Sep 2003 21:57:52 -0400 Subject: Nagios & Orca Message-ID: <1064887072.23547.19.camel@MandrakeWS> Could someone that is using Orca with Nagios please givce me some guidance? I Any assitance would be greatly appreciated? Thanks Chris -- Chris Hammond ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbarratt at serialized.net Tue Sep 30 04:43:00 2003 From: jbarratt at serialized.net (Joshua Barratt) Date: Mon, 29 Sep 2003 19:43:00 -0700 Subject: service alert aggregation? Message-ID: <3F78EDB4.6020408@serialized.net> I just spent a very interesting afternoon reading through the last few months of list archives, but was unable to come up with an answer to my question. I apoligize if this has been dealt with to death. Basically, quite often if there is a problem with a host, many of it's services will be down, but it will still be pingable. (The TCP/IP stack is a hardy beast.) Possible causes: disk filling up, ram+swap filling up, very heavy load, etc (even some kernel panics!) -- all of these can cause more than one service to become unreachable, and in many cases, *all* services unreachable -- but still the host check will not fail. This causes the admins to get a flurry of service down alerts, and, when the problem is corrected, a flurry of service up alerts. I tried doing the service dependency route, but the basic problem is still that because of the nagios scheduler, it may decide that the SMTP server is critical, say, 2 minutes before deciding that the service that SMTP depends on is critical, and thus you get paged for both. Is it possible to configure things so you don't have that problem? I understand escalations, but that still doesn't really solve things, unless I'm missing something. I'll still get individual pages for every individual service that is experiencing a problem. My idea (if simple configuration is not the solution) is to do something like this: When a service alert is generated, instead of being emailed directly, it is emailed (or piped) to a script. That script then communicates with the nagios daemon and shedules immediate checks for all the services on the affected server. It waits some suitable time period, and then packages all the alerts received within that window into a single message which it then sends to the admins. (The same process would happen with the service up alerts.) This might not be foolproof, but I think it would cut down on a lot of spurious paging. Has anyone else solved this problem? Thanks for any input, Joshua Barratt ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From karl at debisschop.net Tue Sep 30 05:34:34 2003 From: karl at debisschop.net (Karl DeBisschop) Date: Mon, 29 Sep 2003 23:34:34 -0400 Subject: Check_disk problems In-Reply-To: <9290BC9741D67F43BDAAC84144FF870D0183FC6C@intecserver007.intec.co.za> References: <9290BC9741D67F43BDAAC84144FF870D0183FC6C@intecserver007.intec.co.za> Message-ID: <1064892874.2744.0.camel@miles.debisschop.net> On Mon, 2003-09-29 at 12:47, Paul Clayton wrote: > I seem to recall this problem having been discussed in length some time > back, but have not been able to pick up the thread. So here goes. > > Check_disk of many of my systems, returns a message "Unable to return > output" > > No looking at the df -Pk, I get the follwoing, which I beleive is the issue. > ---------------------------------------------------------------------------- > -------------------------------------------- > # df -Pk > Filesystem 1024-blocks Used Available Capacity Mounted on > galaxy:/vol/vol0 50119928 237784 49882144 1% /galaxy > galaxy-e10:/vol/uta03/archivelog > 372766952 237134016 135632936 64% /archivelog > galaxy-e10:/vol/uta03/backup > 372766952 237134016 135632936 64% /export/uta > ---------------------------------------------------------------------------- > -------------------------------------------- > > The above entries are not inline and check_disk gets lost. > Does anyone have a work around. It is typical that the most critical machine > cannot be monitor due to this problem. Compile CVS head - there is a complete reimplementation of check_disk which does not have this problem. -- Karl ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dmourati at cm.math.uiuc.edu Tue Sep 30 07:04:17 2003 From: dmourati at cm.math.uiuc.edu (Demetri Mouratis) Date: Tue, 30 Sep 2003 00:04:17 -0500 (CDT) Subject: service alert aggregation? In-Reply-To: <3F78EDB4.6020408@serialized.net> References: <3F78EDB4.6020408@serialized.net> Message-ID: On Mon, 29 Sep 2003, Joshua Barratt wrote: > Basically, quite often if there is a problem with a host, many of it's > services will be down, but it will still be pingable. (The TCP/IP stack > is a hardy beast.) Possible causes: disk filling up, ram+swap filling > up, very heavy load, etc (even some kernel panics!) -- all of these can > cause more than one service to become unreachable, and in many cases, > *all* services unreachable -- but still the host check will not fail. > This causes the admins to get a flurry of service down alerts, and, when > the problem is corrected, a flurry of service up alerts. Well, by what you desribe you have a series of service critical events taking place and do *not* want to be notified about them. You can solve this any number of ways: 1. Increase max_check_attempts for service checks 2. Remove critical notifications for service checks 3. Remove recovery notifications for service checks 4. Increase notification_interval for service checks 5. Use a global event handler (you mentioned this one) 6. Use service dependencies (you mentioned this one) I would argue you *do* want to be notified about situations where your servers are failing multiple service checks. After all, isn't that the point of monitoring? Moreover, you want to be notified when these services reach a warning state so things don't reach the critical point. In any event, you can reduce the notifications, or turn them off to your heart's content. Just be sure you don't go to far and miss something because you wanted to reduce the number of pages/emails. --------------------------------------------------------------------- Demetri Mouratis dmourati at linfactory.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbarratt at serialized.net Tue Sep 30 07:27:45 2003 From: jbarratt at serialized.net (Joshua Barratt) Date: Mon, 29 Sep 2003 22:27:45 -0700 Subject: service alert aggregation? In-Reply-To: References: Message-ID: <3F791451.5080902@serialized.net> >I would argue you *do* want to be notified about situations where your >servers are failing multiple service checks. After all, isn't that the >point of monitoring? Moreover, you want to be notified when these >services reach a warning state so things don't reach the critical point. Ah. I'm afraid I've been unclear. I very much do want to know about cases in which I have multiple services failing! However, assuming I have a sudden-onset catastrophic failure, such as what happened last night (the system started swapping at an insane rate), this is the alert sequence that was generated: 4:09 AM "HTTP is CRITICAL" 4:09 AM "IMAP is CRITICAL" 4:10 AM "FTP is CRITICAL" 4:12 AM "SMTP is CRITICAL" ... and then the 4 corresponding "... is OK" pages. I'm fairly certain that, in this case, the services all went critical at about the same time; it's just that the way the checks were scheduled, nagios wasn't sure (3/3) until :10 and :12 that FTP and SMTP were actually down. What I would much rather have is 2 pages instead of 8: 4:10 AM "HTTP,IMAP,FTP,SMTP are CRITICAL" ... 4:21 AM "HTTP,IMAP,FTP,SMTP are OK" So if a script simply trapped the first alert that would have been generated (HTTP is CRITICAL) and, because of that, scheduled service checks for "now" on that host, then waited (say 30 seconds) for any further alerts to come through for that host, an alert like the above could be created, instead of the flurry we otherwise have been getting. My goal is not to reduce the amount of information flowing to the admins, just to turn the volume down. Legitimate pages need to get through, and as soon as the problem is known about, but the fewer the better! Sorry for my initial lack of clarity, and thanks for the response... Josh ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 egg.com Tue Sep 30 09:56:01 2003 From: Ton.Voon at egg.com (Voon, Ton) Date: Tue, 30 Sep 2003 08:56:01 +0100 Subject: check_oracle plugin Message-ID: Phu, You've got it working! The OK - dummy login connected means that Oracle is available (hence return code 0). Try shutting the database down and retry the command. Should give a return code 2 and a descriptive error message. Ton -----Original Message----- From: Phu Nguyen [mailto:Phu at uui.com] Sent: Monday, September 29, 2003 11:56 PM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] check_oracle plugin Hi Friends, Have any one use check_oracle plug-in that came with nagios plug-in? I think this plug-in is not doing a good job checking oracle database. Have any one has any experience with this plug-in? I tried check_oracle -login then it return "OK - dummy login connected". This doesn't make any sense to me. Can any one help me? Best regards, Phu Nguyen This private and confidential e-mail has been sent to you by Egg. The Egg group of companies includes Egg Banking plc (registered no. 2999842), Egg Financial Products Ltd (registered no. 3319027) and Egg Investments Ltd (registered no. 3403963) which carries out investment business on behalf of Egg and is regulated by the Financial Services Authority. Registered in England and Wales. Registered offices: 1 Waterhouse Square, 138-142 Holborn, London EC1N 2NA. If you are not the intended recipient of this e-mail and have received it in error, please notify the sender by replying with 'received in error' as the subject and then delete it from your mailbox. -------------- next part -------------- An HTML attachment was scrubbed... URL: From tvilliers at lastminute.com Tue Sep 30 10:26:04 2003 From: tvilliers at lastminute.com (Tielman de Villiers) Date: Tue, 30 Sep 2003 09:26:04 +0100 Subject: Compiling nagios with libgd under Redhat 9 In-Reply-To: References: Message-ID: <1064910363.19064.59.camel@lmn10631.lastminute.com> Try export LD_RUN_PATH=/usr/local/lib-gd/lib before you do configure I had the same problems with ldconfig recognizing the new custom location, but not nagios. (PS if you wanted to use the stock standard rpms, remember to install the *-devel rpms, which contains the headers) On Tue, 2003-09-30 at 02:29, Mark Arnold wrote: > I found some related articles in the archive, but none of them really had a solution... Did anybody find one in the meantime? > > I am trying to compile Nagios 1.1 with libgd support but Nagios claims it can't find the libraries. > I'm running a RedHat 9 installation with libgd, lib-png and lib-jpeg pre-installed in /usr/lib > Part of the reason why Nagios can not find the gd-libraries is (I think) that the include files are missing. > So I installed lib-png and lib-jpeg from scratch (compiled from source) into /usr/local/libpng and /usr/local/libjpeg > The 2 directories each have a lib and a src subdirectory with the respective files in there. > Then I compiled the libgd from the source ditstribution into /usr/local/lib-gd, now also with a lib and inc subdirectory. > During compilation, libgd says that it found the png and jpeg libraries and that it has png and jpeg support enabled. > Then I add all 3 lib subdirectories into /etc/ld.so.conf and run ldconfig. > Running "ldconfig -v" shows all the libraries in all the 3 newly compiled lib directories as expected. > Then I go back to the nagios source tree, type "make clean" and rerun the configure command with the appropriate --with-gd-lib > and --with-gd-inc parameter, but it still says it can't find the library. > I use --with-gd-lib=/usr/local/lib-gd/lib and it says /usr/local/lib-gd/lib does not exist. > The directory DOES exist, and the directory and all the files are accessable for all users - but Nagios insists it can't find it. > Is there anything I am missing? > > Thanks, > > MARK > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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 has been scanned for all viruses by Star Internet. The > service is powered by MessageLabs. For more information on a proactive > anti-virus service working around the clock, around the globe, visit: > http://www.star.net.uk > ________________________________________________________________________ -- Tielman de Villiers Perl Developer: Post Sales lastminute.com Address: 4 Buckingham Gate, London SW1E 6JP Tel: +44(0)20.7802.4393 Fax: +44(0)20.7802.9302 email: tvilliers at lastminute.com ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Tue Sep 30 10:33:06 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: 30 Sep 2003 10:33:06 +0200 Subject: Nagios & Orca In-Reply-To: <1064887072.23547.19.camel@MandrakeWS> References: <1064887072.23547.19.camel@MandrakeWS> Message-ID: <1064910786.6300.38.camel@roy-sin> > Could someone that is using Orca with Nagios please givce me some > guidance? I Any assitance would be greatly appreciated? Orca? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From roy at karlsbakk.net Tue Sep 30 10:37:21 2003 From: roy at karlsbakk.net (Roy Sigurd Karlsbakk) Date: 30 Sep 2003 10:37:21 +0200 Subject: service alert aggregation? In-Reply-To: <3F78EDB4.6020408@serialized.net> References: <3F78EDB4.6020408@serialized.net> Message-ID: <1064911041.6301.41.camel@roy-sin> Change misccommands.conf to pipe to a script, and you're in :) On Tue, 2003-09-30 at 04:43, Joshua Barratt wrote: > I just spent a very interesting afternoon reading through the last few > months of list archives, but was unable to come up with an answer to my > question. I apoligize if this has been dealt with to death. > > Basically, quite often if there is a problem with a host, many of it's > services will be down, but it will still be pingable. (The TCP/IP stack > is a hardy beast.) Possible causes: disk filling up, ram+swap filling > up, very heavy load, etc (even some kernel panics!) -- all of these can > cause more than one service to become unreachable, and in many cases, > *all* services unreachable -- but still the host check will not fail. > This causes the admins to get a flurry of service down alerts, and, when > the problem is corrected, a flurry of service up alerts. > > I tried doing the service dependency route, but the basic problem is > still that because of the nagios scheduler, it may decide that the SMTP > server is critical, say, 2 minutes before deciding that the service that > SMTP depends on is critical, and thus you get paged for both. > > Is it possible to configure things so you don't have that problem? I > understand escalations, but that still doesn't really solve things, > unless I'm missing something. I'll still get individual pages for every > individual service that is experiencing a problem. > > My idea (if simple configuration is not the solution) is to do something > like this: > When a service alert is generated, instead of being emailed directly, it > is emailed (or piped) to a script. That script then communicates with > the nagios daemon and shedules immediate checks for all the services on > the affected server. It waits some suitable time period, and then > packages all the alerts received within that window into a single > message which it then sends to the admins. (The same process would > happen with the service up alerts.) > > This might not be foolproof, but I think it would cut down on a lot of > spurious paging. > > Has anyone else solved this problem? > > Thanks for any input, > > Joshua Barratt > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Alexis.chauvin at courtsplc.com Tue Sep 30 11:49:08 2003 From: Alexis.chauvin at courtsplc.com (Alexis Chauvin) Date: Tue, 30 Sep 2003 10:49:08 +0100 Subject: nagios + ISA Server Message-ID: <9CE577193CB1344E9F9315263C7172DE2815BE@perceval.london.courtsplc.com> Hi everybody, I have a little problem. I try to monitor our connection to internet via ISA proxy server. I defined a command : define command{ command_name check_proxy command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } where $ARG1$ is the http proxy port. The answer I get is : HTTP WARNING: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). Of course, I tried a check_http -help, and it said that with the option -a or -authorization I could provide a username / password to connect. When I try to use this option, it doesn't work, still the same response, or I get a connection refused. So, for this service, the notifications are only on critical, not warning. Hoping that if the state is critical, that would mean the proxy server is down I would prefer to use squid, but there's no way. Any ideas ? Thanks alexis -------------- next part -------------- An HTML attachment was scrubbed... URL: From prandal at herefordshire.gov.uk Tue Sep 30 12:30:11 2003 From: prandal at herefordshire.gov.uk (Randal, Phil) Date: Tue, 30 Sep 2003 11:30:11 +0100 Subject: nagios + ISA Server Message-ID: <0EBC45FCABFC95428EBFC3A51B368C95513907@jessica.herefordshire.gov.uk> The simplest solution would be to configure your ISA server to allow your Nagios box access without authentication. Phil --------------------------------------------- Phil Randal Network Engineer Herefordshire Council Hereford, UK -----Original Message----- From: Alexis Chauvin [mailto:Alexis.chauvin at courtsplc.com] Sent: 30 September 2003 10:49 To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] nagios + ISA Server Hi everybody, I have a little problem. I try to monitor our connection to internet via ISA proxy server. I defined a command : define command{ command_name check_proxy command_line $USER1$/check_http -H $HOSTADDRESS$ -p $ARG1$ } where $ARG1$ is the http proxy port. The answer I get is : HTTP WARNING: HTTP/1.1 407 Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy service is denied. ). Of course, I tried a check_http -help, and it said that with the option -a or -authorization I could provide a username / password to connect. When I try to use this option, it doesn't work, still the same response, or I get a connection refused. So, for this service, the notifications are only on critical, not warning. Hoping that if the state is critical, that would mean the proxy server is down I would prefer to use squid, but there's no way. Any ideas ? Thanks alexis -------------- next part -------------- An HTML attachment was scrubbed... URL: From chammond at cox.net Tue Sep 30 12:41:20 2003 From: chammond at cox.net (Chris Hammond) Date: Tue, 30 Sep 2003 06:41:20 -0400 Subject: Nagios & Orca In-Reply-To: <1064910786.6300.38.camel@roy-sin> References: <1064887072.23547.19.camel@MandrakeWS> <1064910786.6300.38.camel@roy-sin> Message-ID: <1064918479.3196.4.camel@MandrakeWS> On Tue, 2003-09-30 at 04:33, Roy Sigurd Karlsbakk wrote: > > Could someone that is using Orca with Nagios please givce me some > > guidance? I Any assitance would be greatly appreciated? > > Orca? -- Chris Hammond >From the website; Orca is a tool useful for plotting arbitrary data from text files onto a directory on a Web server. http://www.orcaware.com/orca/ I have seen messages on the list refering to it's use but no real info on how. Chris ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From rob at capband.net Tue Sep 30 15:14:57 2003 From: rob at capband.net (Rob Nelson) Date: Tue, 30 Sep 2003 09:14:57 -0400 Subject: nagios + ISA Server In-Reply-To: <9CE577193CB1344E9F9315263C7172DE2815BE@perceval.london.cou rtsplc.com> References: <9CE577193CB1344E9F9315263C7172DE2815BE@perceval.london.cou rtsplc.com> Message-ID: <5.2.1.1.0.20030930091310.01a21a88@mail.capband.net> >Of course, I tried a check_http help, and it said that with the option -a >or -authorization I could provide a username / password to connect. I've not used ISA, but with IIS there is Windows NTLM authentication and there is password authentication (I forget the specific name, but it implies passing a user/pass combo via http or https, rather than being pulled via NTLM). I'd make sure that's enabled, and possibly check the ISA logs to see what error it's generating. Rob Nelson Network Administrator, Capitol Broadband C: 919-369-1874 rob at capband.net ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jbautista at icnet.com.ve Tue Sep 30 15:48:00 2003 From: jbautista at icnet.com.ve (Jeyri Bautista) Date: Tue, 30 Sep 2003 09:48:00 -0400 Subject: Question about logs in Distributed Monitoring Message-ID: <015201c38759$76880290$2605020a@prueba.com> Hi, I want to know if when I configure my nagios in a schema distributed, the logs nagios.log (var/archives/) in the central server have the same logs that when I have only a nagios server. Thanks Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From mpowell at ena.com Tue Sep 30 16:05:40 2003 From: mpowell at ena.com (Marc Powell) Date: Tue, 30 Sep 2003 09:05:40 -0500 Subject: Question about logs in Distributed Monitoring Message-ID: <5DB017510818EC468B05BD7BD9EACF8303E7EEEF@mismail.ena.com> Yes, nagios.log will contain accurate aggregate information from all the collectors for use in trending and reporting, etc... marc ________________________________________ From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Tuesday, September 30, 2003 8:48 AM To: nagios-users at lists.sourceforge.net Hi, ? I want to know if when I configure my nagios in a schema distributed, the logs nagios.log (var/archives/) in the central server have the?same logs that when I have only a nagios server. ? Thanks ? Jeyri Bautista ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From bibsen at bibsen.dk Tue Sep 30 17:25:51 2003 From: bibsen at bibsen.dk (Brian Ibsen) Date: Tue, 30 Sep 2003 17:25:51 +0200 Subject: check_procs: Unable to read output Message-ID: <003601c38767$21ed58d0$0601a8c0@bart> Hi all. I'm trying to check the number of proccesses running on the box which runs the Nagios. In checkcommands.cfg i have made the following: # 'check_local_procs' command definition define command{ command_name check_local_procs command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ } and I'm trying to use this from services.cfg with: define service{ use generic-service ; Name of service template to use host_name parkserver service_description Procs is_volatile 0 check_period 24x7 max_check_attempts 3 normal_check_interval 3 retry_check_interval 1 contact_groups bibsen-admins,bibsen-admins-sms notification_interval 120 notification_period 24x7 notification_options w,u,c,r check_command check_local_procs!10!50 } The problem is that Nagios displays "Unable to read output" as the result What am I doing wrong ??? Bg Brian Ibsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From teng at dataway.com Tue Sep 30 17:47:56 2003 From: teng at dataway.com (Tedman Eng) Date: Tue, 30 Sep 2003 08:47:56 -0700 Subject: service alert aggregation? References: <3F791451.5080902@serialized.net> Message-ID: Perhaps you can clump the services into a cluster using the service cluster plugin. http://nagios.sourceforge.net/docs/1_0/clusters.html Set the threshold to 1 or more, and you'll get paged if any of the services fail. Multiple individual notifications will be eliminated, since alerts are only sent according to notify/renotify settings of the cluster definition. Once your admins know that "One or more of HTTP, FTP, SMTP, or IMAP" has failed, they can look at the nagios screen to find out exactly which one it is. HTH "Joshua Barratt" wrote in message news:3F791451.5080902 at serialized.net... > > Ah. I'm afraid I've been unclear. I very much do want to know about > cases in which I have multiple services failing! > > However, assuming I have a sudden-onset catastrophic failure, such as > what happened last night (the system started swapping at an insane > rate), this is the alert sequence that was generated: > 4:09 AM "HTTP is CRITICAL" > 4:09 AM "IMAP is CRITICAL" > 4:10 AM "FTP is CRITICAL" > 4:12 AM "SMTP is CRITICAL" > ... > and then the 4 corresponding "... is OK" pages. > > I'm fairly certain that, in this case, the services all went critical at > about the same time; it's just that the way the checks were scheduled, > nagios wasn't sure (3/3) until :10 and :12 that FTP and SMTP were > actually down. > > What I would much rather have is 2 pages instead of 8: > > 4:10 AM "HTTP,IMAP,FTP,SMTP are CRITICAL" > ... > 4:21 AM "HTTP,IMAP,FTP,SMTP are OK" > > So if a script simply trapped the first alert that would have been > generated (HTTP is CRITICAL) and, because of that, scheduled service > checks for "now" on that host, then waited (say 30 seconds) for any > further alerts to come through for that host, an alert like the above > could be created, instead of the flurry we otherwise have been getting. > > My goal is not to reduce the amount of information flowing to the > admins, just to turn the volume down. Legitimate pages need to get > through, and as soon as the problem is known about, but the fewer the > better! > > Sorry for my initial lack of clarity, and thanks for the response... > Josh > > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.pounsett at cira.ca Tue Sep 30 17:45:49 2003 From: matt.pounsett at cira.ca (Matt Pounsett) Date: Tue, 30 Sep 2003 11:45:49 -0400 (EDT) Subject: Debug output from plugins In-Reply-To: References: Message-ID: I'm bringing this up again because the problem seems to be getting worse. I dropped my reaper frequency from 5 to 2 seconds and set a max process limit of 21 (suggested by nagios -s), and the frequency of "No output!" errors from this plugin jumped from 25% to 52%. This would seem to suggest that it has something to do with Nagios' internal processing.. but I have no idea what. I'm going to make an official feature request here.. hopefully this is the right place.. I'd like to see an error.log file added, which grabs *all* lines of stderr when plugins output data to stderr. I'm thinking this could be analogous to the way Apache handles stderr output from CGIs. For Nagios, I'd recommend writing a timestamp (which matches the corresponding timestamp in nagios.log), some detail about which service check generated the output, and then all lines of output to stderr. It could be made configurable to optionally also capture all lines to stdout, for some extreme debugging cases. Would anyone else find this useful? On Fri, 26 Sep 2003, Matt Pounsett wrote: > > Is there any way to get Nagios to log more of what the plugins dump to > stderr and stdout? > > I'm having an issue with a custom plugin of mine, which (according to Nagios) > is /periodically/ existing with status UNKNOWN and no output (it does this > maybe 1 execution in 100). It's a fairly simple perl script, and all > instances of exit() are preceeded by output to stdout. So, the only reason I > can think of for Nagios to report this is if perl completely failed to compile > the script -- except then I should get some other exit value besides 3. > > I suspect it's Nagios that has the problem, not the script, but I'd like to > absolutely rule out problems with the script first. I would try dumping some > debug output from the script, except that I can't find a way to get Nagios to > capture that information... anyone have any ideas? > > -- Matt Pounsett CIRA - Canadian Internet Registration Authority Technical Support Programmer 350 Sparks Street, Suite 1110 matt.pounsett at cira.ca Ottawa, Ontario, Canada 613.237.5335 ext. 231 http://www.cira.ca ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jalbr at groupwise.umn.edu Tue Sep 30 18:10:14 2003 From: jalbr at groupwise.umn.edu (James M. Albright) Date: Tue, 30 Sep 2003 11:10:14 -0500 Subject: Help with NRPE 2.0 Message-ID: I just installed Nagios on a RedHat 7.3 and have everything running great with monitoring NT boxes for disk space and process. Now I want to monitor Solaris boxes. So I added NRPE to the remote host following the instruction step by step. After getting everything started I get CHECK_NRPE: Error - Could not complete SSL handshake on the Nagios. I reconfigured with out SSL and still get the same error. I have done a lot of searches and have not been able to find any solution to my problem any help would be great Thanks Jim Albright This e-mail and its attachments have been scanned for viruses. OIT/NDIS - University of Minnesota ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From msalists at gmx.net Tue Sep 30 18:15:44 2003 From: msalists at gmx.net (Mark Arnold) Date: Tue, 30 Sep 2003 09:15:44 -0700 Subject: Compiling nagios with libgd under Redhat 9 In-Reply-To: <1064910363.19064.59.camel@lmn10631.lastminute.com> References: <1064910363.19064.59.camel@lmn10631.lastminute.com> Message-ID: Tielman, thanks for the reply, I will try this tonight. I had a problem with my X window client not working any more after putting the new directories into the ldconfig. I guess that will be solved too if I do it your way. Do I only need to have this variable during configure, or do I also need to somehow tell Nagios during runtime where the libraries are, so it finds them? Thanks, MARK > -----Original Message----- > From: Tielman de Villiers [mailto:tvilliers at lastminute.com] > Sent: Tuesday, September 30, 2003 1:26 AM > To: Mark Arnold > Cc: nagios-users > Subject: Re: [Nagios-users] Compiling nagios with libgd under Redhat 9 > > > Try > > export LD_RUN_PATH=/usr/local/lib-gd/lib > > before you do configure > > I had the same problems with ldconfig recognizing the new custom > location, but not nagios. > > (PS if you wanted to use the stock standard rpms, remember to install > the *-devel rpms, which contains the headers) > > > > On Tue, 2003-09-30 at 02:29, Mark Arnold wrote: > > I found some related articles in the archive, but none of them really had a solution... Did anybody find one in the meantime? > > > > I am trying to compile Nagios 1.1 with libgd support but Nagios claims it can't find the libraries. > > I'm running a RedHat 9 installation with libgd, lib-png and lib-jpeg pre-installed in /usr/lib > > Part of the reason why Nagios can not find the gd-libraries is (I think) that the include files are missing. > > So I installed lib-png and lib-jpeg from scratch (compiled from source) into /usr/local/libpng and /usr/local/libjpeg > > The 2 directories each have a lib and a src subdirectory with the respective files in there. > > Then I compiled the libgd from the source ditstribution into /usr/local/lib-gd, now also with a lib and inc subdirectory. > > During compilation, libgd says that it found the png and jpeg libraries and that it has png and jpeg support enabled. > > Then I add all 3 lib subdirectories into /etc/ld.so.conf and run ldconfig. > > Running "ldconfig -v" shows all the libraries in all the 3 newly compiled lib directories as expected. > > Then I go back to the nagios source tree, type "make clean" and rerun the configure command with the appropriate --with-gd-lib > > and --with-gd-inc parameter, but it still says it can't find the library. > > I use --with-gd-lib=/usr/local/lib-gd/lib and it says /usr/local/lib-gd/lib does not exist. > > The directory DOES exist, and the directory and all the files are accessable for all users - but Nagios insists it > can't find it. > > Is there anything I am missing? > > > > Thanks, > > > > MARK > > > > > > > > ------------------------------------------------------- > > This sf.net email is sponsored by:ThinkGeek > > Welcome to geek heaven. > > http://thinkgeek.com/sf > > _______________________________________________ > > Nagios-users mailing list > > Nagios-users at lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/nagios-users > > ::: 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 has been scanned for all viruses by Star Internet. The > > service is powered by MessageLabs. For more information on a proactive > > anti-virus service working around the clock, around the globe, visit: > > http://www.star.net.uk > > ________________________________________________________________________ > -- > Tielman de Villiers > Perl Developer: Post Sales > lastminute.com > > Address: 4 Buckingham Gate, London SW1E 6JP > Tel: +44(0)20.7802.4393 > Fax: +44(0)20.7802.9302 > email: tvilliers at lastminute.com > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dvn at campana.com Tue Sep 30 18:33:51 2003 From: dvn at campana.com (Dave van Nierop) Date: Tue, 30 Sep 2003 12:33:51 -0400 Subject: Help with NRPE 2.0 Message-ID: Check out the FAQ. Ethan updated this ..... http://www.nagios.org/faqs/viewfaq.php?faq_id=191&expand=false&showdesc= true -----Original Message----- From: James M. Albright [mailto:jalbr at groupwise.umn.edu] Sent: Tuesday, September 30, 2003 11:10 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Help with NRPE 2.0 I just installed Nagios on a RedHat 7.3 and have everything running great with monitoring NT boxes for disk space and process. Now I want to monitor Solaris boxes. So I added NRPE to the remote host following the instruction step by step. After getting everything started I get CHECK_NRPE: Error - Could not complete SSL handshake on the Nagios. I reconfigured with out SSL and still get the same error. I have done a lot of searches and have not been able to find any solution to my problem any help would be great Thanks Jim Albright This e-mail and its attachments have been scanned for viruses. OIT/NDIS - University of Minnesota ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From ghaygood at brightlane.com Tue Sep 30 18:38:39 2003 From: ghaygood at brightlane.com (Greg Haygood) Date: Tue, 30 Sep 2003 12:38:39 -0400 Subject: Help with NRPE 2.0 In-Reply-To: References: Message-ID: <3F79B18F.7090901@brightlane.com> If you're getting the same error, then you must not have really disabled SSL. As per http://www.nagios.org/faqs/viewfaq.php?faq_id=191, make sure /dev/*random are readable by your nagios user. James M. Albright wrote: > I just installed Nagios on a RedHat 7.3 and have everything running > great with monitoring NT boxes for disk space and process. Now I want > to monitor Solaris boxes. So I added NRPE to the remote host following > the instruction step by step. After getting everything started I get > CHECK_NRPE: Error - Could not complete SSL handshake on the Nagios. I > reconfigured with out SSL and still get the same error. I have done a > lot of searches and have not been able to find any solution to my > problem any help would be great > Thanks > Jim Albright > > > This e-mail and its attachments have been scanned for viruses. > OIT/NDIS - University of Minnesota > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. > ::: Messages without supporting info will risk being sent to /dev/null -- Greg Haygood ghaygood at brightlane.com v) 678.385.2837 Director of Operations BrightLane, a TeamStaff, Inc. Company ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 30 18:51:28 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Sep 2003 11:51:28 -0500 Subject: check_nagios isn't very smart. Message-ID: <1064940687.2558.148.camel@localhost> Okay, I tuned our nagios system, here. With an increase in efficiency and "intelligence" there's a lot less false alerts. However, that in itself is causing another problem. Since check_nagios depends on the log being updated to figure out if nagios is running, it often thinks it's dead. We can easily go an hour without an update to the log file. I fixed this by setting log_service_retries=1, but that seems ridiculous. Turning on what amounts to debugging to trick another element of nagios. So, my question is, is there another way to watch nagios that doesn't cause me to have to pile tons of garbage into my filesystem? Some things I was considering, and the reasons I haven't [yet?]: option 1 - cron once per 1 min (and have a 2 min nagios_check max): if [ "`ps -ef |grep nagios|grep -v grep|wc`" -gt 2 ]; then echo "[`date +%s`] Heartbeat">> nagios.log; fi problem - What about zombied processes? I'm falsely assuming 1 or more nagios processes means it's okay. option 2 - change the nagios_check_command in cgi.cfg to use a script with a bunch more logic, but basically use 'lynx -head -dump -auth=user:pwd \ "http://localhost/nagios/cgi-bin/extinfo.cgi?type=1&host=hostname"' problem - I'm depending on http, which I guess is okay, since if http is failing, I'd be updating the nagios.log anyway with that error and sending out alerts. also, I have to re-invent the process with, so far, unknown feasibility, and I don't have much time to waste if it turns out this is a bad idea for reasons I didn't think of (hence my asking). Thoughts? If I do end up figuring out a new way to do it, I'll certainly post it. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From jason at teklabs.net Tue Sep 30 19:57:17 2003 From: jason at teklabs.net (Jason Lancaster) Date: Tue, 30 Sep 2003 13:57:17 -0400 Subject: check_nagios isn't very smart. In-Reply-To: <1064940687.2558.148.camel@localhost> References: <1064940687.2558.148.camel@localhost> Message-ID: <3F79C3FD.9080201@teklabs.net> If nagios runs but does not update the status log, the only way to even know it is running would be to check for the process in a ps or to see if the web interface works (because when nagios is not running you get that can't read status.log error) so: Why don't you eliminate the idea of using check_nagios and use check_proc and check_http to monitor your nagios installation. Yeah, it's not quite as accurate for those of us who are expecting constant updates but for someone like you, this will work perfectly. This is not the only solution, I just don't see why you're using check_nagios if it does not work for you ;) Jason jeff vier wrote: > Okay, I tuned our nagios system, here. > > With an increase in efficiency and "intelligence" there's a lot less > false alerts. > > However, that in itself is causing another problem. > > Since check_nagios depends on the log being updated to figure out if > nagios is running, it often thinks it's dead. We can easily go an hour > without an update to the log file. > > I fixed this by setting log_service_retries=1, but that seems > ridiculous. Turning on what amounts to debugging to trick another > element of nagios. > > So, my question is, is there another way to watch nagios that doesn't > cause me to have to pile tons of garbage into my filesystem? > > Some things I was considering, and the reasons I haven't [yet?]: > > option 1 - cron once per 1 min (and have a 2 min nagios_check max): > if [ "`ps -ef |grep nagios|grep -v grep|wc`" -gt 2 ]; then echo "[`date > +%s`] Heartbeat">> nagios.log; fi > > problem - What about zombied processes? I'm falsely assuming 1 or > more nagios processes means it's okay. > > option 2 - change the nagios_check_command in cgi.cfg to use a script > with a bunch more logic, but basically use > 'lynx -head -dump -auth=user:pwd \ > "http://localhost/nagios/cgi-bin/extinfo.cgi?type=1&host=hostname"' > > problem - I'm depending on http, which I guess is okay, since if http > is failing, I'd be updating the nagios.log anyway with that error and > sending out alerts. also, I have to re-invent the process with, so far, > unknown feasibility, and I don't have much time to waste if it turns out > this is a bad idea for reasons I didn't think of (hence my asking). > > Thoughts? If I do end up figuring out a new way to do it, I'll > certainly post it. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 30 19:59:11 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Sep 2003 12:59:11 -0500 Subject: check_nagios isn't very smart. In-Reply-To: References: Message-ID: <1064944751.2684.154.camel@localhost> that ignores the possibility of zombies. Same as my first point from the original message. If check_procs had an arg that would look for the pid (not the ppid), then it would be useful because I could cat in the nagios.lock. But it doesn't. On Tue, 2003-09-30 at 12:41, Williams, P. Lane wrote: > use one of the check_procs plugins. > > -----Original Message----- > From: jeff vier [mailto:jeff.vier at tradingtechnologies.com] > Sent: Tuesday, September 30, 2003 12:51 PM > To: nagios-users > Subject: [Nagios-users] check_nagios isn't very smart. > > > Okay, I tuned our nagios system, here. > > With an increase in efficiency and "intelligence" there's a lot less > false alerts. > > However, that in itself is causing another problem. > > Since check_nagios depends on the log being updated to figure out if > nagios is running, it often thinks it's dead. We can easily go an hour > without an update to the log file. > > I fixed this by setting log_service_retries=1, but that seems > ridiculous. Turning on what amounts to debugging to trick another > element of nagios. > > So, my question is, is there another way to watch nagios that doesn't > cause me to have to pile tons of garbage into my filesystem? > > Some things I was considering, and the reasons I haven't [yet?]: > > option 1 - cron once per 1 min (and have a 2 min nagios_check max): > if [ "`ps -ef |grep nagios|grep -v grep|wc`" -gt 2 ]; then echo > "[`date > +%s`] Heartbeat">> nagios.log; fi > > problem - What about zombied processes? I'm falsely assuming 1 or > more nagios processes means it's okay. > > option 2 - change the nagios_check_command in cgi.cfg to use a script > with a bunch more logic, but basically use > 'lynx -head -dump -auth=user:pwd \ > "http://localhost/nagios/cgi-bin/extinfo.cgi?type=1&host=hostname"' > > problem - I'm depending on http, which I guess is okay, since if http > is failing, I'd be updating the nagios.log anyway with that error and > sending out alerts. also, I have to re-invent the process with, so far, > unknown feasibility, and I don't have much time to waste if it turns out > this is a bad idea for reasons I didn't think of (hence my asking). > > Thoughts? If I do end up figuring out a new way to do it, I'll > certainly post it. > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 30 20:12:40 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Sep 2003 13:12:40 -0500 Subject: check_nagios isn't very smart. In-Reply-To: <3F79C3FD.9080201@teklabs.net> References: <1064940687.2558.148.camel@localhost> <3F79C3FD.9080201@teklabs.net> Message-ID: <1064945560.2558.169.camel@localhost> On Tue, 2003-09-30 at 12:57, Jason Lancaster wrote: > This is not the only solution, I just don't see why you're using > check_nagios if it does not work for you ;) Well, it DOES work, in that it does what I say. But it only does what I *want* if I turn on log_service_retries, as I said (which, as far as I'm concerned, is a waste of space). I did think of something, though. How could nagios know if nagios is off? If it's off, it's not checking things. Or am I missing something? So, what is the function of "checking" nagios with nagios. Why shouldn't I just set check_nagios to -e 9999999999999 and just let it tell me when the log was updated as information, as opposed to determining the state of the daemon? or is my brain hiccuping on this? ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 30 20:15:34 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Sep 2003 13:15:34 -0500 Subject: check_nagios isn't very smart. In-Reply-To: <3F79C3FD.9080201@teklabs.net> References: <1064940687.2558.148.camel@localhost> <3F79C3FD.9080201@teklabs.net> Message-ID: <1064945734.2704.171.camel@localhost> Oh, duh. the cgi checks nagios, nagios doesn't check nagios. nevermind. I obviously need to eat lunch. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From dwarner at ctinetworks.com Tue Sep 30 20:35:41 2003 From: dwarner at ctinetworks.com (Douglas E. Warner) Date: Tue, 30 Sep 2003 14:35:41 -0400 Subject: Passive checks and retry_check_interval Message-ID: <200309301435.41497.dwarner@ctinetworks.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I have a question about how retry_check_interval is used when active and passive checks are being used for a service. When a passive check is submitted in a Critical state, is the next scheduled active check the normal check, or the retry check? I think I have a unique setup; I have a ton of interfaces I check on my network and generally use traps to trip when they go up or down (Passive check). I wanted to decrease the noise this caused and do active checks periodically as well to make sure things are okay, and to recheck the passive result to make sure it lasted, so I have active checks set to run every 60 minutes, and rechecks at 3 minutes. The problem I'm seeing is that an interface that was marked critical by a passive check was not scheduled to be checked for another 43 minutes; where I thought it should be 3 min or less. My execution latency is reported as 5 sec, and check latency as 9 seconds, so I don't think that my server is overloaded. If I need to setup an event handler to reschedule the check to happen now (or 3 minutes from now), I can do that, but I just need to know if this is intended or expected behavior. - -Doug - -- Douglas E. Warner Network Engineer CTI/PAdotNET http://ctinetworks.com +1 717 975 9000 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQE/ecz9JV36su0A0xIRAqSFAKD35ibJCgT2LW3hzdvMZ96EZQG7wwCgqO85 WUTlRub8Uwa+A+klYe71jlU= =sb8R -----END PGP SIGNATURE----- ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 30 20:35:59 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Sep 2003 13:35:59 -0500 Subject: check_nagios isn't very smart. In-Reply-To: <3F79C3FD.9080201@teklabs.net> References: <1064940687.2558.148.camel@localhost> <3F79C3FD.9080201@teklabs.net> Message-ID: <1064946958.2704.175.camel@localhost> Okay - I think I have a solution. I set retention_update_interval=14 and check_nagios -e 15. retention_update_interval updates the log and depends on the nagios daemon to do so, so, mission accomplished, I think. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From amen at oreilly.com Tue Sep 30 22:01:36 2003 From: amen at oreilly.com (Bob Amen) Date: Tue, 30 Sep 2003 13:01:36 -0700 Subject: check_nagios isn't very smart. References: <1064940687.2558.148.camel@localhost> <3F79C3FD.9080201@teklabs.net> <1064945560.2558.169.camel@localhost> Message-ID: <3F79E120.5000609@oreilly.com> jeff vier wrote: > How could nagios know if nagios is off? If it's off, it's not checking > things. Or am I missing something? > > So, what is the function of "checking" nagios with nagios. You should be checking it from another machine running another instance of nagios. Then they should each check the other. Bob -- Bob Amen O'Reilly & Associates, Inc. http://www.ora.com/ http://www.oreilly.com/ ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From damian at sentex.net Tue Sep 30 22:25:03 2003 From: damian at sentex.net (Damian Gerow) Date: Tue, 30 Sep 2003 16:25:03 -0400 Subject: check_nagios isn't very smart. In-Reply-To: <1064940687.2558.148.camel@localhost> References: <1064940687.2558.148.camel@localhost> Message-ID: <20030930202503.GJ15256@sentex.net> Thus spake jeff vier (jeff.vier at tradingtechnologies.com) [30/09/03 12:55]: > So, my question is, is there another way to watch nagios that doesn't > cause me to have to pile tons of garbage into my filesystem? Run snmpd. Configure it to watch for the nagios process. Every minute or so, from another machine, check to make sure that the process is running. Send an alert if it's not. Send an alert if the connection is refused. Send an alert if too many processes are running. You can also monitor server load this way, to make sure that nagios is running smoothly. Simple. Doesn't require another nagios installation. Should take five minutes of shell scripting time. And accomplishes what you want it to. But this begs the question: what happens when your snmp monitoring fails? You should update a logfile every time you check, whether successful or not. Run another process to monitor this logfile. To be thorough, send an alert every time this second monitoring process runs. Use some script on another machine to differentiate between a 'nagios monitoring process working' and a 'nagios monitoring process broken'. If it gets a 'broken' update, send a notice. If it doesn't get an update, send a notice. And so on and so forth. Stop wherever you feel that your system/network/SLA requirements are met. This can go on forever, until you effectively run out of machines, and start having nagios (after a long, long chain) monitor itself. Alternatively, and this is just a thought, run nagios under daemontools. If it dies, it will start back up again. - Damian -- I can't decide if it's sad or funny what a combination of complete lack of sleep and excessive caffeine do to a persons thought process. ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Mark.Snyder at worldgaming.com Tue Sep 30 22:26:09 2003 From: Mark.Snyder at worldgaming.com (Mark Snyder) Date: Tue, 30 Sep 2003 16:26:09 -0400 Subject: Stale log files Message-ID: <44DEF9C222BF4A47B3A361765EC1733717600E@anakin.worldgaming.local> Is there a pluggin to check for stale log files? What I mean is if a log file has not been updated in x amount of time an error should be generated. I saw the check_log file and it could be modified to check for this. I just thought I should check and see if there was something to do this already. Mark Snyder ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 30 22:56:24 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Sep 2003 15:56:24 -0500 Subject: Stale log files In-Reply-To: <44DEF9C222BF4A47B3A361765EC1733717600E@anakin.worldgaming.local> References: <44DEF9C222BF4A47B3A361765EC1733717600E@anakin.worldgaming.local> Message-ID: <1064955384.2558.177.camel@localhost> check_nagios could very easily be adapted to that. it checks how old the logfile is and how many processes there are. it may not even need modification. On Tue, 2003-09-30 at 15:26, Mark Snyder wrote: > Is there a pluggin to check for stale log files? > > What I mean is if a log file has not been updated in x amount of time an error should be generated. > > I saw the check_log file and it could be modified to check for this. > > I just thought I should check and see if there was something to do this already. > > > Mark Snyder > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Nagios-users mailing list > Nagios-users at lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nagios-users > ::: 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:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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.vier at tradingtechnologies.com Tue Sep 30 23:18:11 2003 From: jeff.vier at tradingtechnologies.com (jeff vier) Date: Tue, 30 Sep 2003 16:18:11 -0500 Subject: check_nagios isn't very smart. In-Reply-To: <20030930202503.GJ15256@sentex.net> References: <1064940687.2558.148.camel@localhost> <20030930202503.GJ15256@sentex.net> Message-ID: <1064956691.2704.179.camel@localhost> On Tue, 2003-09-30 at 15:25, Damian Gerow wrote: > Alternatively, and this is just a thought, run nagios under daemontools. If > it dies, it will start back up again. It already does, of course :) ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null From Keith.Hochberg at mtvi.com Tue Sep 30 23:29:54 2003 From: Keith.Hochberg at mtvi.com (Hochberg, Keith) Date: Tue, 30 Sep 2003 17:29:54 -0400 Subject: Question about logs in Distributed Monitoring Message-ID: <5F29693503507B4FB4032686ADF862673B5A54@mtviny25.mtvi.com> Yes... nagios.log will contain all of the data on the central server... -Keith -----Original Message----- From: Jeyri Bautista [mailto:jbautista at icnet.com.ve] Sent: Tuesday, September 30, 2003 9:48 AM To: nagios-users at lists.sourceforge.net Subject: [Nagios-users] Question about logs in Distributed Monitoring Hi, I want to know if when I configure my nagios in a schema distributed, the logs nagios.log (var/archives/) in the central server have the same logs that when I have only a nagios server. Thanks Jeyri Bautista -------------- next part -------------- An HTML attachment was scrubbed... URL: From thorstengiese at gmx.de Tue Sep 30 14:15:22 2003 From: thorstengiese at gmx.de (Thorsten Giese) Date: Tue, 30 Sep 2003 14:15:22 +0200 Subject: different views for the webinterface Message-ID: <200309301415.22759@tg> Hello there. I am currently working on a system for different view to the webinterace. To the situation: We have many interal machines, monitored by nagios. Works very well. Thanks for the nice piece of Software. No, we want to offer monitoring as a service to our "customers". BUT, they are not allowed to view our internal machines, because of ... uhm ... *cough* ... they are not allowed. ;) Email should be no problem here. Is there a easy way to manage that with the webinterface, without patching huge amounts of the original sources? I thought of a wrapper script, which polls nagios and displays the results on after authentication. I would like to hear the thoughts of this list about this or any other method to manage this situation. Any clues welcome, any help greatly appreciated. -- regards Thorsten Giese ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please 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 bauchi.de Thu Sep 25 10:39:44 2003 From: lists at bauchi.de (bauchi) Date: Thu, 25 Sep 2003 10:39:44 +0200 Subject: Nagios + SMS = TRUE? In-Reply-To: References: Message-ID: <667417856.20030925103944@bauchi.de> SJ> Hello all! SJ> We are in the process of setting up an SMS-gateway for our customers, SJ> and I want to know if and how you can get Nagios to use that for alerting SJ> us during "non-work" hours? SJ> I assume that since the SMS-gateway accepts e-mails as source I can just set SJ> up a new contactgroup for off-hours and have the mail posted to the SJ> SMS-gateway instead? SJ> Anyone have experience in setting up this kind of function and ready to SJ> share some experiences? SJ> Regards, SJ> Stefan Jakobsson hi stefan, i've set up a similar solution for our nagios, execpt that the machine running nagios is also the sms *gateway*. i've created a notification command that invokes yaps (yet another pager software) and sends the sms directly via a dedicated isdn line. a second contact is notified via sms within the non-workhours with the notify_by_sms command. our second monitoring system (runs on z/OS) can only send emails, so it send's it's mails to the nagios machine where a perl script takes the mail and calls once again yaps to send the mail ... i know that this is not exactly what you want, but it might help you -- "In god we trust, the rest we monitor" mailto:lists at bauchi.de ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Nagios-users mailing list Nagios-users at lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null