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